Commit graph

5 commits

Author SHA1 Message Date
8b2d2649ac Add random password generation for new users
- Move GenerateRandomPassword to auth package for reuse
- Make password optional in user creation (generates 16-char if empty)
- Return generated password in response for user to copy
- Add Generate/Copy UI with show/hide toggle
2026-03-29 14:52:59 +02:00
dad96978e0 WIP: Migrate from GORM to sqlc - partial migration, build broken 2026-03-28 18:26:45 +01:00
560b40503a Migrate GORM to generics API, simplify user-domain relationship, refactor models 2026-03-28 17:21:00 +01:00
19ce2224b8 Add comments to virtual_* database files
Add human-readable comments explaining each function's purpose,
parameters, and return values for better documentation.
2026-03-28 14:58:11 +01:00
0e6fad65e2 Rename db files to match model names
- users.go -> virtual_users.go
- domains.go -> virtual_domains.go
- aliases.go -> virtual_aliases.go
2026-03-26 23:55:24 +01:00
Renamed from backend/internal/db/users.go (Browse further)