Repository navigation
v3.5.0 — Django Auth Migration
What's changed
Replaces the custom /data/passwd + bcrypt authentication with Django's built-in contrib.auth backed by SQLite, following Anil Madhavapeddy's security review.
Highlights
- Django admin UI at
/admin/for managing users and quotas - Automatic passwd migration — existing
/data/passwdfiles are imported on first container boot (no manual steps) - Management commands:
tee_adduser,tee_removeuser,tee_listusers,tee_setquota,migrate_passwd - PBKDF2 password hashing (default) with BCrypt support for migrated hashes
- Session fixation protection via
session.cycle_key()on login - No frontend changes — API response shapes are identical
Upgrade
On the host VM:
sudo ./manage.sh # option 5 (Update container)
The container auto-runs migrate, collectstatic, and migrate_passwd --auto on startup.
Improved error messages
process_viewport.pynow shows friendlier retry/failure messages