forgejo/routers/web/admin
KN4CK3R 0c6ae61229
Allow package cleanup from admin page (#25307)
Until now expired package data gets deleted daily by a cronjob. The
admin page shows the size of all packages and the size of unreferenced
data. The users (#25035, #20631) expect the deletion of this data if
they run the cronjob from the admin page but the job only deletes data
older than 24h.

This PR adds a new button which deletes all expired data.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/b3e35d73-9496-4fa7-a20c-e5d30b1f6850)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-08-08 00:46:10 +00:00
..
admin.go
admin_test.go
applications.go
auths.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
config.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
diagnosis.go
emails.go
hooks.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
main_test.go
notice.go
orgs.go
packages.go Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
queue.go
queue_tester.go
repos.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
runners.go
stacktrace.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
users.go
users_test.go