06/16 Phase 6 foundation: admin blueprint, audit log, user management

Adds the admin backend foundation: AuditLog + Setting models/migration,
an admin-only dashboard with KPI cards, and user management (search,
ban/suspend/activate, tier override, trust adjust) with audit logging
on every write action. Smoke suite extended to 64 checks.
This commit is contained in:
2026-06-16 11:45:00 -04:00
parent 62b04803ad
commit 2e9025fe55
18 changed files with 680 additions and 1 deletions
+3 -1
View File
@@ -9,8 +9,10 @@ from app.models.messaging import Conversation, Message
from app.models.favorite import Favorite
from app.models.payments import Subscription, Transaction, Boost
from app.models.ads import Ad, Sponsor, PromotedKeyword
from app.models.audit import AuditLog
from app.models.setting import Setting
__all__ = ["Plan", "User", "TrustEvent", "Category", "Listing",
"ListingImage", "ZipGeo", "Metro", "Conversation", "Message",
"Favorite", "Subscription", "Transaction", "Boost",
"Ad", "Sponsor", "PromotedKeyword"]
"Ad", "Sponsor", "PromotedKeyword", "AuditLog", "Setting"]