yap-blog/tests
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
..
e2e Build yap-blog platform 2026-07-02 21:32:33 -04:00
helpers Build yap-blog platform 2026-07-02 21:32:33 -04:00
integration Add JSON import/export backup on the settings page 2026-07-04 20:53:38 -04:00
unit Build yap-blog platform 2026-07-02 21:32:33 -04:00
global-setup.ts Build yap-blog platform 2026-07-02 21:32:33 -04:00
setup-env.ts Build yap-blog platform 2026-07-02 21:32:33 -04:00