Commit Graph

6 Commits

Author SHA1 Message Date
Motoko
d15c823da2 feat: disable user registration via DISABLE_REGISTRATION env var
- Add DISABLE_REGISTRATION setting (default False) in app/config.py
- Return 403 when registration is disabled in POST /auth/register
- Add test_register_disabled test
2026-03-31 00:39:28 +00:00
Motoko
2884ba2e55 Fix: Make INITIAL_ADMIN_USERNAME and INITIAL_ADMIN_PASSWORD required env vars with validation 2026-03-30 17:47:49 +00:00
Motoko
957f9bee2a Fix: Restore admin auto-creation with defaults admin/admin123 2026-03-30 17:07:16 +00:00
Motoko
287bd17e04 Fix: Disable auto admin creation by default 2026-03-30 16:52:24 +00:00
Motoko
c97f02ef46 Fix database path resolution for Docker 2026-03-30 15:48:02 +00:00
Motoko
7f3e8a8f53 Phase 1 MVP - Complete implementation
- Auth: register, login, JWT with refresh tokens, blocklist
- Projects/Folders/Documents CRUD with soft deletes
- Tags CRUD and assignment
- FTS5 search with highlights and tag filtering
- ADR-001, ADR-002, ADR-003 compliant
- Security fixes applied (JWT_SECRET_KEY, exception handler, cookie secure)
- 25 tests passing
2026-03-30 15:17:27 +00:00