1
0
Fork 0
forgejo/routers
zeripath 9a2e47b23a
Refactor Cron and merge dashboard tasks (#10745)
* Refactor Cron and merge dashboard tasks

* Merge Cron and Dashboard tasks
* Make every cron task report a system notice on completion
* Refactor the creation of these tasks
* Ensure that execution counts of tasks is correct
* Allow cron tasks to be started from the cron page

* golangci-lint fixes

* Enforce that only one task with the same name can be registered

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix name check

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @guillep2k

* as per @lafriks

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add git.CommandContext variants

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-05-16 19:31:38 -04:00
..
admin Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
api/v1 Make API EditIssue and EditPullRequest issue notifications (#11123) 2020-05-17 00:05:19 +03:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
private Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
repo Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
routes Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
user Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
utils Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
home.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
init.go Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
install.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
metrics.go
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00