How dragon731012/ente-admin works
Ente Admin UI is a PHP admin panel for a self-hosted Ente instance. An administrator logs in, then views dashboard storage metrics, lists users and their usage, edits quotas or subscription expiry, and views captured verification codes. The graph separates authentication, user management, metrics, and OTP capture/display, with shared database access as an internal layer. Relationships are limited to calls, reads, and writes shown in excerpts or README; unsampled runtime wiring is not inferred.
Main entry points: auth.php Session checks · manage.php Quota and expiry · db.php Ente database access · login.php Admin login
Components 13
Admin access
- Admin login
login.php - Session checks
auth.php
User management
- User listing
users.php - Quota and expiry
manage.php - Panel interactions
app.js
Storage metrics
- Storage dashboard
index.php
Verification codes
- SMTP code capture
mail.py - Code viewer
otp.php - Code file
Shared infrastructure
- Security headers
headers.php - Ente database access
db.php - Ente PostgreSQL
Other components
- Administrator
Connections 20
- Administrator → Admin login: submits credentials
login.php - Admin login → Security headers: loads headers
login.php - Admin login → Session checks: starts session
- Administrator → Storage dashboard: opens panel
- Storage dashboard → Session checks: checks session
index.php - User listing → Session checks: checks session
users.php - Quota and expiry → Session checks: checks session
manage.php - Code viewer → Session checks: checks session
otp.php - Session checks → Security headers: loads headers
auth.php - Storage dashboard → Ente database access: queries metrics
index.php - User listing → Ente database access: queries users
users.php - Quota and expiry → Ente database access: reads and updates
manage.php - Ente database access → Ente PostgreSQL: reads and writes
db.php - Administrator → User listing: views users
- Panel interactions → Quota and expiry: submits changes
app.js - Administrator → Quota and expiry: edits user
- Administrator → Code viewer: views codes
- SMTP code capture → Code file: writes codes
mail.py - Code viewer → Code file: reads codes
otp.php - Administrator → SMTP code capture: configures Ente SMTP
README.md