Commit Graph

22 Commits (d1e4068636caf4e4567545875f3205bef373eaa4)

Author SHA1 Message Date
mirivlad d1e4068636 fix(web): keep generated passwords out of page source 2026-07-17 07:04:46 +08:00
mirivlad e8605f15a2 feat(web): complete localized sync server console 2026-07-17 07:02:11 +08:00
mirivlad 0014910638 test(config): keep web settings inside data dir 2026-07-17 06:05:24 +08:00
mirivlad b3f8fb69a0 test(web): cover confirmation template escaping 2026-07-17 06:04:38 +08:00
mirivlad 6ca174b2d9 feat(web): add admin settings and vault detail 2026-07-17 06:01:40 +08:00
mirivlad 5ca030e5f9 feat(web): add bounded admin data views 2026-07-17 05:58:16 +08:00
mirivlad f82d3b0224 refactor(web): remove legacy sync server templates 2026-07-17 05:55:20 +08:00
mirivlad 4b78f30a61 feat(web): add embedded localized sync console 2026-07-17 05:44:27 +08:00
mirivlad b7f730cba9 Harden sync server transport and credentials 2026-07-17 05:09:28 +08:00
mirivlad 0d0ae92dec fix: hide internal server errors from clients 2026-07-14 22:00:24 +08:00
mirivlad 66bd53f835 fix: style SMTP security selector 2026-07-14 20:38:16 +08:00
mirivlad 31f18dade1 fix: escape server-rendered account data 2026-07-10 03:23:01 +08:00
mirivlad 657cc23e7a fix: enforce expiry for web password resets 2026-07-10 03:17:27 +08:00
mirivlad 086bc4ea4a fix: isolate sync operations by user and vault 2026-07-10 03:13:17 +08:00
mirivlad 2e6b451c3d Reject revoked legacy sync API keys 2026-06-27 13:39:00 +08:00
mirivlad fcf0a07fcc Document and test sync API contract 2026-06-27 12:36:31 +08:00
mirivlad c793084fa4 server: add SMTP config, user management web pages, install script
- SMTP configuration in admin panel with test button
- Admin web interface for user creation (/admin/create-user)
- REST API for user creation (/admin/api/users/create)
- Self-registration endpoint (/register)
- Systemd service file and install script
2026-06-20 19:21:25 +08:00
mirivlad c9b35295cb feat: add user creation with manual password in admin UI and API 2026-06-20 12:20:46 +08:00
mirivlad cec2305b15 feat: add admin panel (login, dashboard, users, devices) 2026-06-20 11:21:29 +08:00
mirivlad dc4507a7ab test: add server unit tests 2026-06-20 02:08:21 +08:00
mirivlad 81756e598f feat: add routes and API handlers
- routes.go: endpoint registration
- handlers_api.go: health, pair, auth test, revoke, me, device register, sync push/pull, blobs
- handlers_auth.go: register, confirm, login, forgot, reset
- middleware.go: requireAuth, requireAdmin, validatePassword
- tokens.go: genDeviceToken
- helpers.go: jsonOK, jsonErr, sha256Hex
- schema.go: add missing tables (email_tokens, revisions, blobs)
- server.go: add SetupRoutes()
2026-06-20 02:05:56 +08:00
mirivlad e0ae36998e feat: add server core (server, config, schema) 2026-06-20 02:01:23 +08:00