yap-blog/drizzle
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
..
meta Add moderated threaded comments 2026-07-04 21:08:08 -04:00
0000_init.sql Build yap-blog platform 2026-07-02 21:32:33 -04:00
0001_theme.sql Build yap-blog platform 2026-07-02 21:32:33 -04:00
0002_themes-and-fonts.sql Build yap-blog platform 2026-07-02 21:32:33 -04:00
0003_more-themes-fonts.sql Build yap-blog platform 2026-07-02 21:32:33 -04:00
0004_comments.sql Add moderated threaded comments 2026-07-04 21:08:08 -04:00