Serve htmx, EasyMDE and oat from vTodo; editor toolbar uses vJournal's icons #115
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
CrowderSoup/vTodo!115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/self-host-assets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
vTodo loaded four things from other people's CDNs on every page:
They're now pinned copies in
static/vendor/, the way vJournal serves its own. The page makes no third-party requests now (checked in the browser's network log).The notes and comment editors drop Font Awesome and use vJournal's toolbar: bold, italic, heading, bullets, checkbox, link, code, with the icons from vJournal's
packages/theme/icons.svg. That gives the two apps' editors the same buttons and the same look. The preview, side-by-side, fullscreen, quote, numbered list, image and guide buttons are gone.Browser tests used a stand-in for unpkg's htmx. They now load the real files from static, EasyMDE included. All 15 browser tests pass, and so does the full suite (735).
Found along the way, not changed here:
CONTENT_SECURITY_POLICYis set in settings, but Django's CSP middleware isn't inMIDDLEWARE, so production sends no CSP header. With everything self-hosted, it could now be turned on with'self'only. That's a separate change.🤖 Generated with Claude Code