1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/services
Gusted 5f769ef20d [GITEA] Show manual cron run's last time
- Currently in the cron tasks, the 'Previous Time' only displays the
previous time of when the cron library executes the function, but not
any of the manual executions of the task.
- Store the last run's time in memory in the Task struct and use that,
when that time is later than time that the cron library has executed this
task.
- This ensures that if an instance admin manually starts a task, there's
feedback that this task is/has been run, because the task might be run
that quick, that the status icon already has been changed to an
checkmark,
- Tasks that are executed at startup now reflect this as well, as the
time of the execution of that task on startup is now being shown as
'Previous Time'.
- Added integration tests for the API part, which is easier to test
because querying the HTML table of cron tasks is non-trivial.
- Resolves https://codeberg.org/forgejo/forgejo/issues/949
- Backport #1087
2023-07-31 18:34:14 +00:00
..
actions For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
agit Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
asymkey Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Fix SSPI auth panic (#25955) (#25969) 2023-07-24 07:58:56 +02:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
convert For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
cron [GITEA] Show manual cron run's last time 2023-07-31 18:34:14 +00:00
externalaccount Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
forms Use "utf8mb4" for MySQL by default (#25432) 2023-06-22 07:38:23 +02:00
gitdiff Show outdated comments in files changed tab (#24936) (#25428) 2023-06-22 08:34:42 +00:00
issue [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
lfs Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mailer [BRANDING] add X-Forgejo-* headers 2023-07-17 00:25:55 +02:00
markup Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
migrations Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mirror Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
org Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
packages Fix version in rpm repodata/primary.xml.gz (#26009) (#26048) 2023-07-24 07:59:10 +02:00
pull Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
release Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
repository Fix bugs in LFS meta garbage collection (#26122) (#26157) 2023-07-30 07:43:05 +02:00
task Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
user [MODERATION] organization blocking a user (#802) 2023-07-17 00:26:42 +02:00
webhook Warn instead of reporting an error when a webhook cannot be found (#26039) (#26211) 2023-07-30 07:46:19 +02:00
wiki Improve wiki user title test (#24559) 2023-05-06 11:24:18 +00:00