Commit Graph
6 Commits
Author SHA1 Message Date
bchanotandClaude f3712b2baa test(supabase): pgTAP 022 sheet-newer case on its own fixture
WK sequence restored (flag, dated, save, now). New SR fixture proves a sheet
row newer than its versions. Plan 73 to 74.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-16 14:32:01 +01:00
bchanotandClaude a76a54dbb7 test(supabase): pgTAP 022 covers a sheet row newer than its versions
Plan 72 to 73. Fails under coalesce(max(version), sheet), passes under greatest.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-16 14:30:34 +01:00
bchanotandClaude e3495df088 feat(supabase): last_modified_at in the admin sheet summary (M9)
Admin sheet summary answers last_modified_at: newest of the sheet row and
its versions' updated_at. Read change only, body otherwise identical to M7.
pgTAP 022: plan 60 to 72, 12 assertions added, none changed.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-16 01:15:49 +01:00
bchanot 51225cacf6 fix(app): grant expiry ends the chosen day in Paris; species order 0..9999 (V1-2.5 L2)
Owner checkpoint 2026-11-02: expiry 23:59:59.999 Europe/Paris (picker, validation, display), tests under non-Paris zones and DST days; M7 redefines create_species and update_inactive_species with the range check; pgTAP 015 and 022; « Relecteur ou relectrice »; object_conflict EN; setup key selectable, no Copy.
2026-11-02 21:29:33 +01:00
bchanot 9f7824dc08 fix(supabase): get_sheet_version returns a deprecated version's fingerprint
PreviewSheet checks the fingerprint of published and deprecated versions; M5 gave it for published only, so no withdrawn version opened in the catalogue. Redefined in M7 (owner decision, BDR-098); pgTAP 022 +3, suite 1941 on the sandbox; contract §10, §12.3, §17.10.
2026-11-02 17:18:26 +01:00
bchanot b0a4cbe588 feat(supabase): M7 admin read RPCs for official sheets (V1-2.5 B)
list_official_sheets_admin and get_official_sheet_admin: badges, version and round states, named actors; capability holders at aal2, one answer for unknown or forbidden ids, no write path. pgTAP 022 (40); sandbox fresh and upgrade from M6: 1938 pass, types match.
2026-11-02 16:19:48 +01:00