NGU-Web/server/src/routes
Aidan Dona a6c66d4607 Drafts of every record, previewed on the real page
Migration 077 keeps one draft per record of any entity. Saving a draft
checks it by applying it in a transaction that is rolled back; Preview
opens the record's page in a tab that sends X-Draft-Preview, and the
server answers those reads from a second connection holding the applied
draft, then rolls back, so nobody else sees it. Publish is the ordinary
save, which drops the draft. tx() now nests as a savepoint.

Also commits TODO.md: the answered questions, and parts 1 to 3 moved to
Done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:21:53 -05:00
..
account.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
admin-entities.js Drafts of every record, previewed on the real page 2026-10-16 18:21:53 -05:00
admin.js People directories, ministries, organization contacts (migrations 062 to 064) 2026-10-03 22:57:34 -05:00
auth.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
blog.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
clips.js Media: name files when saving, and rename them in the library (file and references) 2026-10-08 15:47:30 -05:00
content.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
countdown.js Newsletter: social bar and event countdown parts, full-width builder 2026-10-02 00:43:28 -05:00
directory.js People directories, ministries, organization contacts (migrations 062 to 064) 2026-10-03 22:57:34 -05:00
feedback.js Write the site in US English 2026-09-30 13:24:11 -05:00
files.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
history.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
home.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
import.js Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
media.js Media: name files when saving, and rename them in the library (file and references) 2026-10-08 15:47:30 -05:00
pages.js Navigation in the admin: header and footer links, page titles, hidden pages, Shop 2026-10-16 18:01:02 -05:00
panel.js Let Google Workspace groups grant admin access 2026-09-29 17:44:04 -05:00
people.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
profiles.js Profile accounts: invites, any-Google sign-in, claiming People, visibility, Discord 2026-10-16 18:14:30 -05:00
redirects.js Redirects: still redirect when site.json can't be read 2026-10-05 02:03:14 -05:00
requests.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
sitePages.js Navigation in the admin: header and footer links, page titles, hidden pages, Shop 2026-10-16 18:01:02 -05:00