1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 00:04:25 +00:00
gitea/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_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
admin.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2023-07-26 03:53:37 +00:00
applications.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
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 Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
emails.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
hooks.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notice.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
orgs.go Sort users and orgs on explore by recency by default (#24279) 2023-05-06 22:04:55 +08:00
packages.go Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
queue_tester.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
queue.go Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
repos.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
runners.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
stacktrace.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
users_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
users.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00