diff --git a/TODO.md b/TODO.md index bf5ee99..68f727a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,21 +1,21 @@ # TODO ## Security -- [ ] Encrypt Gitea tokens at rest in SQLite (use app-level AES with MH_SECRET) -- [ ] Add `Secure` flag to auth cookie when behind HTTPS (detect via X-Forwarded-Proto) -- [ ] Password complexity requirements (min length, etc.) -- [ ] TOTP: don't persist secret until verified (currently saves on setup) -- [ ] Audit log (who did what, when) +- [x] Encrypt Gitea tokens at rest in SQLite (use app-level AES with MH_SECRET) +- [x] Add `Secure` flag to auth cookie when behind HTTPS (detect via X-Forwarded-Proto) +- [x] Password complexity requirements (min 8 chars) +- [x] TOTP: don't persist secret until verified (uses totp_pending column) +- [x] Audit log (who did what, when) ## Features -- [ ] Rename files/folders (currently only move) +- [x] Rename files/folders (double-click in tree) - [ ] Image upload (drag-drop into editor, store in assets folder) -- [ ] Browser `beforeunload` warning with unsaved changes -- [ ] Mobile hamburger menu to toggle sidebar -- [ ] PWA icons (icon-192.png, icon-512.png) -- [ ] Session expiry / logout button in UI -- [ ] Max file size enforcement on upload -- [ ] Shared file read access (cross-user file serving) +- [x] Browser `beforeunload` warning with unsaved changes +- [x] Mobile hamburger menu to toggle sidebar +- [x] PWA icons (icon-192.png, icon-512.png) +- [x] Session expiry / logout button in UI +- [x] Max file size enforcement on upload (10MB) +- [x] Shared file read access (cross-user file serving) ## Testing - [ ] End-to-end: WYSIWYG mode (Milkdown) @@ -27,9 +27,9 @@ - [ ] End-to-end: offline edit → reconnect sync ## Polish -- [ ] Error toasts instead of alert() +- [x] Error toasts instead of alert() - [ ] Loading spinners on API calls -- [ ] Keyboard shortcut help overlay (Ctrl+?) -- [ ] File rename inline in tree (double-click) +- [x] Keyboard shortcut help overlay (Ctrl+/) +- [x] File rename inline in tree (double-click) - [ ] Drag files to trash - [ ] Sort files (name, date, size) diff --git a/frontend/public/icon-192.png b/frontend/public/icon-192.png new file mode 100644 index 0000000..3885e1a Binary files /dev/null and b/frontend/public/icon-192.png differ diff --git a/frontend/public/icon-512.png b/frontend/public/icon-512.png new file mode 100644 index 0000000..a2931c9 Binary files /dev/null and b/frontend/public/icon-512.png differ diff --git a/frontend/src/App.vue b/frontend/src/App.vue index dcdae28..55d63bb 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,6 +1,11 @@