Repository navigation
Tags
Tags
feat(cli): view a note or book by uuid (#780) `dnote view <uuid>` shows a note or lists a book's notes. Book names that look like a uuid are now invalid, and CLI and server migrations rename existing ones by appending "_1". Claude-Session: https://claude.ai/code/session_01YWAszHvFNe7v47HuF71Pjd Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(cli): view a note or book by uuid (#780) `dnote view <uuid>` shows a note or lists a book's notes. Book names that look like a uuid are now invalid, and CLI and server migrations rename existing ones by appending "_1". Claude-Session: https://claude.ai/code/session_01YWAszHvFNe7v47HuF71Pjd Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(cli): show raw JSON on notes in dnote view --browser (#777) Note pages show the note's `dnote view --json` output below the raw markdown. The About link is now only on the home page. Claude-Session: https://claude.ai/code/session_01YWAszGuZRTbZcHrjs1uRXc Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(server): add API tokens with scopes (#756) * feat(server): add API tokens with scopes API tokens let scripts and other apps use the API without a password. Each token has scopes such as read:note or remove:book, and works only on API routes. - Create, list, and revoke tokens in Settings, from Home, or with dnote-server token - Store only a hash of each token and show its value once, only to the user who created it - Let a token expire after a number of days - Limit a user to 50 tokens, and reject control characters in names - Ask to confirm before revoking a token - Delete a user's sessions and tokens when the user is removed - Mark the session and new token cookies Secure over HTTPS - Clear a shown alert on every page, not only on the home page - Wait for other writers instead of failing with "database is locked": set the busy timeout on every connection and use immediate transactions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * test(server): add Playwright browser tests for login, logout, and API tokens make test-web builds the server, starts it with an empty database, and runs the tests in Chromium. CI runs it after the other tests. HEADED=true shows the browser, and UI=true opens Playwright's UI mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(server): refresh web UI and add home and docs pages (#755) * feat(server): refresh web UI and add home and docs pages - Replace the legacy Bootstrap-based styles with a smaller stylesheet that supports dark mode, and restyle the auth, settings, and error pages. - Show note and book stats on the home page and move account settings to /settings. - Add a /docs page for signed-in users that covers setting up the CLI with this server, common commands, and running the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(server): keep style partials split by page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
feat(cli): show raw JSON on notes in dnote view --browser (#777) Note pages show the note's `dnote view --json` output below the raw markdown. The About link is now only on the home page. Claude-Session: https://claude.ai/code/session_01YWAszGuZRTbZcHrjs1uRXc Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
fix(cli): keep existing config values during migrations (#730) Local migrations run once per database but edit the shared config file. Using a new database reset enableUpgradeCheck to true and rewrote the file. Change the file only when a value is missing. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
PreviousNext