Commit Graph
10 Commits
Author SHA1 Message Date
thomas 5d09e7a780 feat(config): add frDate helper for French natural-language dates
Go date layouts only know English month names, so date(value, layout)
cannot parse "le 19 janvier 2026". frDate(text) extracts and parses such
dates (day optional, abbreviated months, accents optional) into a native
date; no match is a rule error routing the document to pending/.

Documented in arch.md §5, covered by unit tests.
2026-11-03 22:56:47 +01:00
thomas 09d0c9b99b fix(pipeline): skip rule evaluation when PDF extraction fails (US-13)
An unreadable PDF was still passed to cfg.Evaluate with nil pages, producing
a cascade of spurious errors (index out of range on pages[0], missing
mandatory fields) in the imported event. Route straight to pending/ with the
extraction failure as the single error.
2026-11-03 22:53:16 +01:00
thomas 02f7fd99bb Corrections after first run 2026-11-03 22:36:27 +01:00
thomas 6f94674fc9 archivist: migrate to PocketBase v0.41.1 (module ganigeorgiev.com/pocketbase/pocketbase); dbx moved to ganigeorgiev.com/pocketbase/dbx; go 1.27 and golang:1.27-alpine builder 2026-11-03 21:01:00 +01:00
thomas 233c153072 archivist: single-file E2E regression gate (Garage + image under test); superuser-only poll route; ARCHIVIST_S3_REGION 2026-11-02 12:28:58 +01:00
thomas 67c337eb14 archivist: runtime logs through PocketBase logger (Dashboard > Logs); stderr kept for pre-bootstrap fatals 2026-11-02 11:27:00 +01:00
thomas 61586a670a archivist: clarify Remove() comment re optional versioning 2026-11-02 11:13:02 +01:00
thomas 3bba6a82db archivist: versioning check becomes a startup warning in code 2026-11-02 11:12:31 +01:00
thomas 24b22c5815 archivist: render template from stored fields when recovering interrupted filings 2026-11-01 23:02:52 +01:00
thomas a9b4fa5eca archivist: initial Go implementation of the written user stories (US-01..US-23) 2026-11-01 23:02:24 +01:00