kanban-dev-webapp/src
Dave c11d378483 fix(intake-links): three PocketBase quirks the schema shipped with
The schema the plan specified had three places where a PocketBase
quirk blocked normal use of intake_links / activity rows. None of
them surfaced in Task 1 because the unit-level test there only
checked rule application, not inserts.

1. intake_links.submission_count and submission_count_today were
   required: true with min: 0. PocketBase treats 0 as blank for
   required number fields, so every insert 400'd. Made optional.
2. intake_links.active was required: true, which rejects false as
   blank (the same quirk). The owner can mint an already-revoked
   link (the test exercises this); made optional.
3. activity.actor was a required relation. The public route writes
   a card_submitted_anonymously row for a submitter who has no user
   account; empty string is not a valid relation. Made optional and
   dropped actor: '' from the route.
2026-09-21 06:30:49 +02:00
..
app fix(intake-links): three PocketBase quirks the schema shipped with 2026-09-21 06:30:49 +02:00
components feat(admin): intake links panel with mint, copy, rotate, revoke 2026-09-21 02:28:49 +02:00
lib feat(intake-links): token resolver and daily-cap helpers 2026-09-21 01:59:28 +02:00
middleware.ts feat(middleware): carve out /intake/:path* from auth redirect 2026-09-21 01:59:56 +02:00