forgejo/modules
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
..
analyze
auth Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
avatar
base
cache
charset
context api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
convert Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
cron Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
emoji Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
eventsource Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
generate
git Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
gitgraph
graceful Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00
highlight
httplib
indexer
lfs Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
metrics
migrations Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
notification Add NotifySyncPushCommits to indexer notifier (#11309) 2020-05-08 15:58:40 +01:00
options
password
pprof
private
process
public
queue Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
recaptcha
references
repofiles Revert "Avoid 0 new commits messages to be send (#11082)" (#11397) 2020-05-13 10:50:56 +03:00
repository Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
secret
session
setting Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
ssh
structs API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
sync
task
templates Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00