3x-ui/internal/web/service/panel
MHSanaei 878d37c2fc
fix(panel): bound the sponsor logo cache and evict logos that left the list
The logo cache was keyed by whatever names the sponsors list named and
never pruned, so a list naming thousands of logos made the public logo
route pin hundreds of megabytes, and every hourly refresh with new
names added more.

Only the first 32 distinct logo names of the active list are kept,
surplus sponsors render with their initial as a bad logo name already
does, and each store drops cached logos no longer on the list.
2026-11-01 09:03:42 +01:00
..
api_token.go perf(auth): look up api tokens by their hash index (#6915) 2026-10-24 05:06:49 +02:00
api_token_scope_test.go fix(auth): add node-admin token scope for panel updates (#6666) 2026-10-17 23:45:26 +02:00
api_token_test.go perf(auth): look up api tokens by their hash index (#6915) 2026-10-24 05:06:49 +02:00
panel.go refactor(util): move panel version comparison into a shared package 2026-10-02 23:56:52 +02:00
panel_other.go fix: make all self-managed file downloads/installs atomic, with real completion status (#5711) 2026-07-02 18:19:33 +02:00
panel_test.go refactor(util): move panel version comparison into a shared package 2026-10-02 23:56:52 +02:00
panel_unix.go fix: make all self-managed file downloads/installs atomic, with real completion status (#5711) 2026-07-02 18:19:33 +02:00
sponsor.go fix(panel): bound the sponsor logo cache and evict logos that left the list 2026-11-01 09:03:42 +01:00
sponsor_test.go fix(panel): bound the sponsor logo cache and evict logos that left the list 2026-11-01 09:03:42 +01:00
user.go fix(web): refuse oversized login usernames before recording them 2026-10-31 09:04:27 +00:00
user_test.go fix(web): refuse oversized login usernames before recording them 2026-10-31 09:04:27 +00:00
websocket.go style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00