| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Fix rendering of wiki page list if wiki repo contains other files
* Improve wiki filename tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable caching on assets and avatars
Fixes #3323
* Only set avatar in user BeforeUpdate when there is no avatar set
* add error checking after stat
* gofmt
* Change cache time for avatars to an hour
|
|
|
|
|
|
|
| |
* Add HeaderWithSensitiveCase methods to respect casing
* Update webhook.go
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fix #3378
|
|
|
|
|
|
|
|
|
|
| |
* Fix SSH auth LFS locks
* Activate SSH/lock test
* Remove debug
* Follow @lunny recommendation for AfterLoad method
|
|
|
| |
In #3377, I put check inside all write key function. This one is useless no.
|
|
|
|
|
|
|
|
|
|
|
| |
* Force-push to base repo's ref/pull/#/head
Fixes force-pushing to pull request branches, otherwise failing with:
[...gitea/models/pull.go:1022 AddTestPullRequestTask()] [E] PushToBaseRepo: Push: exit status 1 - To /path/to/gitea-repositories/org/repo.git
! [rejected] issue-fix -> refs/pull/20/head (non-fast-forward)
* format
|
|
|
|
|
|
|
|
|
|
| |
* Change how merged PR commits and diff are made
* Update code.gitea.io/git dependency
* Fix typo
* Remove unneeded local variable
|
|
|
|
| |
* comment
|
|
|
|
|
|
|
|
|
|
|
| |
* test: integration add git cli tests
Extracted form for easing review process and debug #3152
* test: integration add git cli big file commit
* fix: Don't rewrite key if internal server
|
| |
|
|
|
|
|
|
|
|
| |
* Populate repo indexer in background
* Check if no repos exist
* race cond
|
| |
|
| |
|
|
|
|
|
|
| |
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
|
|
|
|
|
|
| |
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
|
| |
|
|
|
|
|
|
| |
* Add missing indexer doc in configuration
* Unify MAX_FILE_SIZE to 1024 * 1024
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the API calls, the issue objects retrieved by
/repos/{owner}/{repo}/issues
contains the wrong value in the "url" field:
it uses the "id" value instead of the "number" value.
For instance, in a new repo in try.gitea.io with just one issue:
[{
"id": 896,
"url": "https://try.gitea.io/api/v1/repos/AlbertoGP/uno/issues/896",
"number": 1,
...
}]
The given URL does not work, but if you replace the "896" by "1" it
does.
|
|
|
|
|
| |
last blank to be a valid task. (#3296)
Signed-off-by: modmew8 <modmew8@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added progressbar for issues (#1146).
* Updated the generated index.css.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed unnecessary blanks.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Formatted the files correctly, fmt-check terminates now without errors.
Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed variables, made computing the tasks on demand with precompiled regexp.
Signed-off-by: modmew8 <modmew8@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add repo-sync-releases admin command
Will help recovering corrupted database, see #3247
* Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo
* Fix debug output about num releases
* Introduce RepositoryListDefaultPageSize constant, set to 64
Use it from the new admin command
* Use RepositoryListDefaultPageSize in more places
* Document RepositoryListDefaultPageSize
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Small improve on deleting attachements
* improve the sequence of deletion
|
|
|
|
|
|
| |
* Improve makefile + Add benchs
* Apply recommendations of @ethantkoenig
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* improvements for supporting UI Location
* improved the comment
|
|
|
|
|
|
|
|
| |
* Reorder migrations, skip errors if running migration again
* Rename migration file names to match migration version
* Add note about ingored error
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|