Add revision diff endpoint and progressive enhancement export/wiki UI.

Diff: GET /api/v1/revisions/{id}/diff/{other_id} — unified diff between two revisions.
UI: <details>-based export menus on thread and node views (works without JS).
UI: Revision history link for wiki-mode namespaces.
This commit is contained in:
russell@unturf.com 2026-03-10 11:13:39 -04:00
parent 75bec564b2
commit 46bdf3a217
8 changed files with 258 additions and 0 deletions

View file

@ -191,6 +191,12 @@ curl -s "$REMARKBOX/api/v1/nodes/$NODE_ID/revisions" | python3 -m json.tool
curl -s "$REMARKBOX/api/v1/revisions/$REVISION_ID" | python3 -m json.tool
```
### Diff Revisions
```bash
curl -s "$REMARKBOX/api/v1/revisions/$REVISION_ID/diff/$OTHER_REVISION_ID" | python3 -m json.tool
```
## Themes
### Get Namespace Theme CSS