| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
|
|
|
|
| |
* Fixes #3303
|
|
|
|
|
|
|
|
|
| |
* Serve .patch for pull requests
Closes #3259
Updates "git" module, for GetFormatPatch
* Handle io.Copy error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add is_writable checkbox to deploy keys interface
* Add writable key option to deploy key form
* Add support for writable ssh keys in the interface
* Rename IsWritable to ReadOnly
* Test: create read-only and read-write deploy keys via api
* Add DeployKey access mode migration
* Update gitea sdk via govendor
* Fix deploykey migration
* Add unittests for writable deploy keys
* Move template text to locale
* Remove implicit column update
* Remove duplicate locales
* Replace ReadOnly field with IsReadOnly method
* Fix deploy_keys related integration test
* Rename v54 migration with v55
* Fix migration hell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rebase, Squash merge (#3188)
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Serve pull request .diff files
Closes #3259
* Add test for pull request redirection and .diff access
* Typo
* There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
|
|
|
| |
Signed-off-by: Elouan Martinet <exa@elou.world>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* support default private when creating or migrating repository
* fix fmt
* use string constants on repository default private in app.ini
* fix fmt
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* new issue mention
* Mention completion on new issue and view issue page.
* Code format.
* Require tribute in pull request page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add failing test
* Fix urls
* Improve url in tests
* improve testing
* Remove debug code
* Add deps
* LFS corner-case : Search on lower but store with case
* Temporary comment of blocking action
* fix hooks
* Use temporary repo for git client test
* Use userPassword in place of hard-coded password
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Allow adding collaborators with (fullname)
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Refactor username suffix to utils pkg
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
|
|
|
|
|
|
| |
* Update macaron
* Various wiki bug fixes
|
| |
|
| |
|
|
|
|
|
|
| |
* Remove function that does nothing
* Remove unused import
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
|
| |
|
|
|
|
|
|
| |
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
|
|
|
|
|
|
|
|
|
|
| |
* Make URL scheme unambiguous
Redirect old routes to new routes
* Fix redirects to new URL scheme, and update template
* Fix branches/_new endpoints, and update integration test
|
|
|
| |
Indexed search of repository contents (for default branch only)
|
|
|
|
|
|
|
|
|
|
| |
* Add commit count caching
* Small refactoring
* Add different key prefix for refs and commits
* Add configuratuion option to allow to change caching time or disable it
|
|
|
|
|
|
|
|
| |
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
|
|
|
| |
Signed-off-by: Jonas Franz <info@jonasfranz.software>
|
|
|
|
|
|
|
|
|
|
| |
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user
* Fix multi-actions in PR page
* Change error message
* Fix comment update and delete functionality in PR
|
|
|
|
|
|
|
|
| |
* fix plain readme didn't render correctly on repo home page
* fix missing render
* remove unused template variables
|
|
|
|
|
|
|
|
| |
* Integration test for activity page
* Small code refactoring for acitvity page
* Move activity stats calculation logic to model
|
|
|
|
|
|
|
|
|
|
| |
* Create new branch from branch selection dropdown and rewrite it to VueJS
* Make updateLocalCopyToCommit as not exported
* Move branch name validation to model
* Fix possible race condition
|
|
|
|
|
|
| |
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(#2699)
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Activity page to repository
* Add request data for activity
* Add issue data for activity
* Add user unit right checks
* Add releases to activity
* Log repository unit loading error
|
|
|
|
|
|
|
|
|
|
| |
* fix panic on gogs webhook creation
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix panic in gogs webhook edit
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
|
|
|
|
|
|
| |
* Change pull description text
* move duplicated code into helper function
|
|
|
|
|
|
| |
* Remove repo unit index
* Fix sqlite
|
|
|
|
|
|
| |
* Fix implementation of repo Home func
* Make fixture changes for testing
|
|
|
|
|
|
| |
* fix go get subpackage bug
* merge the duplicated funtions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add init support of orgmode document type on file view and readme
* fix imports
* fix imports and readmeExist
* fix imports order
* fix format
* remove unnecessary convert
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit id
|