History of commits
4473 commits
refactor(news): reach collections through published contracts
Move post-commit callbacks, file registration, search rebuilds and declaration synchronization into the collections API and enforce the boundary in ArchitectureTest. The comment feed reads its addresses in one batch.
fix(news): isolate availability from other modules and batch addresses
Update state and pending migrations are asked per module, so the failed update of an unrelated module no longer takes news or collections down. Section paths are read once per list, removing a query per record from news lists, the sitemap and the admin list.
fix(collections): keep lapsed upload contexts and pasted files
A form saves after its context lapsed or was removed, takes over the files that are still there and renews the context when shown again. Records that show a file in their text now hold it, so deleting the record it was uploaded for no longer breaks them.
fix(collections): let partial writes and retained relations through
A partial write answers only for what it changes, so old values of other fields and unavailable files no longer stop bulk actions. Relation access is checked for new references only: an editor of the source can save a record whose target they cannot open.