forgejo/services
FuXiaoHei 460a2b0edf
Artifacts retention and auto clean up ()
Currently, Artifact does not have an expiration and automatic cleanup
mechanism, and this feature needs to be added. It contains the following
key points:

- [x] add global artifact retention days option in config file. Default
value is 90 days.
- [x] add cron task to clean up expired artifacts. It should run once a
day.
- [x] support custom retention period from `retention-days: 5` in
`upload-artifact@v3`.
- [x] artifacts link in actions view should be non-clickable text when
expired.
2023-09-06 07:41:06 +00:00
..
actions Artifacts retention and auto clean up () 2023-09-06 07:41:06 +00:00
agit Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
asymkey Add context cache as a request level cache () 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments () 2023-03-12 03:48:07 -04:00
auth Improve LDAP group config documentation, fixes () 2023-09-05 13:18:53 -04:00
automerge Improve queue and logger context () 2023-05-26 07:31:55 +00:00
context Fix the display of org level badges () 2023-09-06 14:38:14 +08:00
convert add Upload URL to release API () 2023-08-24 10:36:10 +00:00
cron Artifacts retention and auto clean up () 2023-09-06 07:41:06 +00:00
externalaccount Replace interface{} with any () 2023-07-04 18:36:08 +00:00
feed Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
forms Check blocklist for emails when adding them to account () 2023-08-30 10:46:49 -05:00
gitdiff Use Go 1.21 and update dependencies () 2023-09-03 10:34:57 +00:00
indexer Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
issue Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
lfs Bump github.com/golang-jwt/jwt to v5 () 2023-07-19 09:57:10 +00:00
mailer Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
markup Move web/api context related testing function into a separate package () 2023-09-01 11:26:07 +00:00
migrations Use Set[Type] instead of map[Type]bool/struct{}. () 2023-08-30 06:55:25 +00:00
mirror Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
notify Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
org Refactor rename user and rename organization () 2023-05-21 23:13:47 +08:00
packages Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
pull Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
release Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
repository Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
secrets Refactor secrets modification logic () 2023-09-05 15:21:02 +00:00
task Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
uinotification Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
user add unit test for user renaming () 2023-08-03 09:38:51 +08:00
webhook Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
wiki Introduce ctx.PathParamRaw to avoid incorrect unescaping () 2023-08-09 14:57:45 +08:00