Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to Commonage. Versions follow [Semantic Versioning](https://semver.org/); before 1.0, a minor
version may change things that need attention when updating, and these notes say so.

## Unreleased

### For curators

- **Stories, first part.** Under "Stories" in the admin area, curators write a story: a title, a few words of summary, and
parts in order, each a text or one of the items of the archive with a caption. A story can be moved up and down in the
list, and its parts within it, with buttons that work without JavaScript and keep the place on the page. The preview shows
it as visitors will see it: a part with an item that is not public is left out. A story with parts that visitors cannot
see says so on the page, only here. Publishing a story changes nothing for visitors yet; the public pages come in a later
part. Helpers do not see stories.
- **Export format 9** has `stories` after `items`. An export of published items has only published stories and the parts
whose item is in it. An import counts the stories in the dry run and does not import them. The demo archive has a story.

## 0.6.0 (2026-11-23)

Updating needs no picture regeneration. Migrations run by themselves at start. **This update moves the database to
Expand Down
4 changes: 2 additions & 2 deletions docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ file is kept in `import-staging` on the media volume until the import is done, o
the spreadsheet import and runs inside one web request, so the reverse proxy needs the same long timeout. Limits: a ZIP of at most
4 GB; `archive.json` at most 256 MB when unpacked, counted as it is read; at most 20,000 items, 5,000 collections, 50,000 tags and
500 files per item and 100,000 files in all; at most 8 GB of files in all; at most 50 new collections per run; the dry run keeps
at most 10,000 lines and counts the rest. The format versions 4 to 8 are read. Every
at most 10,000 lines and counts the rest. The format versions 4 to 9 are read. Stories in an export are counted in the dry run and not imported. Every
item is a draft, and the activity log records the run ("Imported items from a Commonage export", with counts only) and each
new collection, never a title of the other archive's contributors or their details. The database is only added to: nothing is
changed or removed, so a run that breaks off can be run again. A file that cannot be stored (a full disk, a broken ZIP entry) is
Expand Down Expand Up @@ -281,7 +281,7 @@ none of them most, and null if never chosen), and `otherContentLanguages`, separ
`rejectedKeptMonths` are how long records are kept (null for always), and each item's `rejectedOrWithdrawnAt` is when that time
started for it.

`archive.json` has `"format": "commonage-export"` and `"version": 8`. Version 8 added `publicFrom` to each item (the day an embargo ends, or empty); an export of published items has no item that is still embargoed. Version 7 added `mediaLevel` to each item (`Everything` or `RecordOnly`). In an export of published items, the files of a record-only item are left out, because visitors never get them. Version 6 added `pageCount` to each file (for a PDF, how many pages have a preview; the page pictures and the text read from a PDF for search are left out, because they can be made again from the file). Version 5 added `helpWanted` to each item, also in an export of published items, because the page "Can you help?" shows it. Version 4 added `tags`, each with its `name` and `kind`
`archive.json` has `"format": "commonage-export"` and `"version": 9`. Version 9 added `stories`, after `items`: each story has its `title`, `summary`, `status`, `createdAt`, `publishedAt`, `position` and its `blocks` in order, and a block is a `Text` (with `text`) or an `Item` (with the `itemId` of an item under `items`, and a `caption`). An export of published items has only published stories, and in them only the blocks of items that are in that export. A copy of everything leaves out stories in the bin and the blocks of items in the bin. Version 8 added `publicFrom` to each item (the day an embargo ends, or empty); an export of published items has no item that is still embargoed. Version 7 added `mediaLevel` to each item (`Everything` or `RecordOnly`). In an export of published items, the files of a record-only item are left out, because visitors never get them. Version 6 added `pageCount` to each file (for a PDF, how many pages have a preview; the page pictures and the text read from a PDF for search are left out, because they can be made again from the file). Version 5 added `helpWanted` to each item, also in an export of published items, because the page "Can you help?" shows it. Version 4 added `tags`, each with its `name` and `kind`
(`Topic`, `Place` or `Person`); items still list their tags by name. Each collection also has its `position` among the others,
the `sort` of its items (`RecentlyAdded`, `OldestFirst` or `NewestFirst`) and `coverFileId`, the `id` of the file chosen as its
cover, or null when none is chosen or that file is not in the export. Items also have `notes`, the messages visitors sent through
Expand Down
Loading