Retoor software development Projects Research SearchXNG
Register Sign In

29 lines
359 B
Python
Raw Normal View History

feat: add admin panel with session auth, user management, and billing dashboard Implement a full-featured admin backend at `/manage/` with login authentication using signed cookies and constant-time credential verification. The panel includes a dashboard showing total/active users, storage usage, monthly revenue, and pending invoices, plus user management, payment overview, and pricing configuration pages. New environment variables `ADMIN_USERNAME`, `ADMIN_PASSWORD`, `ADMIN_SESSION_SECRET`, and `ADMIN_SESSION_EXPIRE_HOURS` control access. The admin router is registered in main.py and all new templates, auth module, and router files are added.
2026-01-05 21:50:41 +01:00
# retoor <retoor@molodetz.nl>
from . import (
admin,
admin_billing,
auth,
billing,
files,
folders,
manage,
search,
shares,
starred,
users,
)
__all__ = [
"admin",
"admin_billing",
"auth",
"billing",
"files",
"folders",
"manage",
"search",
"shares",
"starred",
"users",
]
Reference in New Issue Copy Permalink
1848660317
rbox/mywebdav/routers/__init__.py
Response time: 39ms
Mail Licenses API