Commit graph

7 commits

Author SHA1 Message Date
zeripath
e770c2b850
Detect full references to issues and pulls in commit messages ()
Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-06 20:20:05 +01:00
Lunny Xiao
bf1970d0bd
Improve push update options ()
* Improve push update options

* fix test

* More refactor and fix lint

* fix lint

* Fix lint

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-02 15:27:34 -05:00
Lunny Xiao
99d869fa63
Move push commits from models to modules/repository ()
* 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>
2020-01-10 17:34:21 +08:00
zeripath
7bfb83e064 Batch hook pre- and post-receive calls ()
* 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>
2019-12-26 13:29:45 +02:00
Lunny Xiao
ef98b168f7
Move UpdateIssuesCommit from models to repofiles () 2019-12-07 23:52:36 +08:00
Lunny Xiao
09ca391230
Add file status on API ()
* add file status on API

* fix tests

* fix tests

* fix tests
2019-08-21 13:16:22 +08:00
Lunny Xiao
e7d4895732
Move commit repo action from models to repofiles package ()
* move commit repo action from models to repofiles package

* fix unit tests
2019-07-30 09:59:10 +08:00