summaryrefslogtreecommitdiffstats
path: root/modules/repofiles/action_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix various documentation, user-facing, and source comment typos (#16367)luzpaz2021-07-081-1/+1
| | | | | * Fix various doc, user-facing, and source comment typos Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
* Move all push update operations to a queue (#10133)Lunny Xiao2020-09-111-121/+0
| | | | | | | | | | | | | | | | | | | | * Fix test * Add no queue for test only * improve code * Auto watch whatever branch operation * Fix lint * Rename noqueue to immediate * Remove old PushUpdate function * Fix tests Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Detect full references to issues and pulls in commit messages (#12399)zeripath2020-08-061-0/+78
| | | | | Fix #10269 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Improve push update options (#10105)Lunny Xiao2020-02-021-15/+23
| | | | | | | | | | | | | | * Improve push update options * fix test * More refactor and fix lint * fix lint * Fix lint Co-authored-by: Lauris BH <lauris@nix.lv>
* Move push commits from models to modules/repository (#9370)Lunny Xiao2020-01-101-11/+12
| | | | | | | | | | | | | | | | * Move push commits from models to modules/repository * fix test * fix test * fix test * fix test * fix test Co-authored-by: zeripath <art27@cantab.net>
* Batch hook pre- and post-receive calls (#8602)zeripath2019-12-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make notifyWatchers work on multiple actions * more efficient multiple notifyWatchers * Make CommitRepoAction take advantage of multiple actions * Batch post and pre-receive results * Set batch to 30 * Auto adjust timeout & add logging * adjust processing message * Add some messages to pre-receive * Make any non-200 status code from pre-receive an error * Add missing hookPrintResults * Remove shortcut for single action * mistaken merge fix * oops * Move master branch to the front * If repo was empty and the master branch is pushed ensure that that is set as the default branch * fixup * fixup * Missed HookOptions in setdefaultbranch * Batch PushUpdateAddTag and PushUpdateDelTag Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Move UpdateIssuesCommit from models to repofiles (#9276)Lunny Xiao2019-12-071-0/+205
|
* Add file status on API (#7671)Lunny Xiao2019-08-211-10/+10
| | | | | | | | | | * add file status on API * fix tests * fix tests * fix tests
* Move commit repo action from models to repofiles package (#7645)Lunny Xiao2019-07-301-0/+126
* move commit repo action from models to repofiles package * fix unit tests