trails/e2e
Ullrich Schäfer e61179ab27 Implement notifications + supporting fixes
Adds the notifications system end-to-end (4 types, payload-versioned
JSONB, SSE-based live unread badge, /notifications page, mark-read API,
fan-out job for activity_published, daily 90-day retention purge).
Bell icon in the navbar with unread badge.

Side-findings from exercising the change:
- Add 6-digit magic code to registration (mirrors login UX, mobile
  paste-friendly), with `[Register Magic Link]` console line in dev so
  the code is reachable without a real email transport.
- Manual passkey/magic-link toggle on the register form (login already
  had it).
- Restrict ALPN to http/1.1 in HTTPS dev so React Router's
  singleFetchAction CSRF check (Origin vs. Host) passes — Node doesn't
  synthesize Host from h2's :authority. Plain HTTP dev unaffected.
- Followers/Following routes now use the locked-account rule from the
  profile route (owner + accepted followers see the list; others 404).
  Profile page renders the count chips as plain spans for viewers who
  can't see the lists, so private profiles don't surface dead links.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 01:28:55 +02:00
..
fixtures Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
auth.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
demo-bot.test.ts Fix e2e fallout from default-private profile_visibility 2026-04-25 23:46:56 +02:00
integration.test.ts Session-bind /api/route and /api/overpass 2026-04-21 22:18:45 +02:00
journal.test.ts Rebuild the Journal home around a public feed and flagship marketing 2026-04-24 20:00:23 +02:00
notifications.test.ts Implement notifications + supporting fixes 2026-04-26 01:28:55 +02:00
planner.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
public-content.test.ts Fix profile-visibility radio selector in e2e (strict-mode collision) 2026-04-25 23:51:19 +02:00
settings.test.ts Block unmocked external requests in E2E tests 2026-04-19 22:42:29 +02:00
social.test.ts Fix profile-visibility radio selector in e2e (strict-mode collision) 2026-04-25 23:51:19 +02:00