Commit graph

4 commits

Author SHA1 Message Date
matt 85dd16a564 Merge feature/import-export: JSON backup import/export
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 20:53:47 -04:00
matt 3175bd9172 Add JSON import/export backup on the settings page
Export downloads a versioned JSON snapshot of all posts, pages, tags,
navigation, and settings from GET /api/admin/export. Cross-references
are keyed by slug rather than database id, so a backup restores cleanly
into any database. Import (a new settings-page section) validates the
file and atomically replaces all content in one transaction, sanitizing
bodies at the trust boundary; users, sessions, and uploaded files are
untouched. Server-action body limit raised so backups fit in the
import upload.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 20:53:38 -04:00
matt 32177b33f5 Build yap-blog platform 2026-07-02 21:32:33 -04:00
matt ccdb0348c8 Initial commit from Create Next App 2026-07-01 20:11:08 -04:00