0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/routers/web
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 Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
auth Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
devtest
events
explore Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
feed Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
healthcheck Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
misc Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2023-07-21 12:14:20 +00:00
org Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
repo Fix nil pointer dereference error when open link with invalid pull index (#26353) 2023-08-07 11:43:18 +08:00
shared Do not show Profile README when repository is private (#26295) 2023-08-04 14:45:33 +00:00
user Use more IssueList instead of []*Issue (#26369) 2023-08-07 19:26:40 +00:00
auth_windows.go
auth.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
web.go Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
webfinger.go Add a link to OpenID Issuer URL in WebFinger response (#26000) 2023-07-20 16:02:45 +08:00