Commit Graph

5 Commits

Author SHA1 Message Date
kamaji
2907efe6b5 Stack Add Site form inputs vertically for mobile
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
v1.1
2026-01-26 11:23:57 -06:00
kamaji
67e35c298a Make Nextcloud user and password mandatory for all sites
- NC User and NC Pass are now required fields when adding a site
- Auto-provision Nextcloud user on site creation
- Client-side validation enforces all fields in both Add and Edit forms
- Updated placeholder text to reflect required status
- Sites without NC creds now show Not set badge instead of Global

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 11:01:18 -06:00
kamaji
a719e528ed Add password generator, duplicate AP rejection, and input sanitization
- Add Gen button to admin panel that generates 13-char alphanumeric
  passwords for Nextcloud credentials (Add Site form and Edit modal)
- Reject duplicate AP numbers within the same site (409 response)
- Fix newline injection vulnerability in admin API that allowed
  creating backdoor site entries via sites.conf corruption
- Fix colon-in-PIN bug by rejecting colons in PIN and NC User fields
- Use maxsplit=3 in sites.conf parser so NC Pass can contain colons
- Add nc_change_password() to sync password edits to Nextcloud
- Clean up corrupted sites.conf entries from prior injection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 08:47:30 -06:00
kamaji
30fc55567c Add detailed inline comments to app.py, Dockerfile, and docker-compose.yml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 06:04:30 -06:00
kamaji
9f45ed3452 Initial commit 2026-01-26 04:46:56 -06:00