fixes and improvements for new server settings menu

This commit is contained in:
onysd 2026-08-26 00:37:25 +03:00
parent 902f3606c2
commit 66f9c0bc1e
27 changed files with 2244 additions and 40 deletions

View file

@ -410,6 +410,10 @@ TELESRV_DEFAULT_STICKER_SET_ID=0
# imported once (matched by filename); renaming a file re-imports it as a new
# entry. Missing directory is skipped, not an error.
TELESRV_GIF_SEED_DIR=data/gifs
# Admin-editable server name/description/icon (Server Settings in the admin
# panel), served over /owpengram/server-info + /owpengram/server-icon and
# read fresh on every request -- editing them takes effect with no restart.
TELESRV_IDENTITY_DIR=data/identity
# Storage low-space guard thresholds (master toggle is TELESRV_STORAGE_LOW_SPACE_GUARD_ENABLE above).
# localfs: reject new uploads once real free disk bytes fall below this; <=0 disables.