yap-blog/drizzle/meta/_journal.json
matt bb3ab4561d Add moderated threaded comments
Visitors comment with just a name and email; a checkbox controls
whether the email is shown publicly (default private — only the admin
sees it). Every comment lands as pending and is invisible until
approved on the new /admin/comments page (approve / unapprove /
delete, with a pending-count badge in the admin nav and a dashboard
stat). Replies nest under their parent; a reply is only accepted on an
approved comment of the same post, and replies stay hidden while their
parent is unapproved so threads never render out of context. A hidden
honeypot field silently drops naive bots. Comment bodies are plain
text, rendered escaped.

The backup format gains a comments section (export version 2; v1 files
still import) with parent links remapped through file-local ids.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 21:08:08 -04:00

41 lines
756 B
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1782951442209,
"tag": "0000_init",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1782954277640,
"tag": "0001_theme",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1783037024442,
"tag": "0002_themes-and-fonts",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1783037839786,
"tag": "0003_more-themes-fonts",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1783213112664,
"tag": "0004_comments",
"breakpoints": true
}
]
}