A campaign's export carries handout files and maps (export schema 18) (#991) #1076
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/991-files-schema-18"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #991. The last part of D273 (the owner's answer to Q145).
Summary
wiki_bin.atlassection carries atlases, maps, markers, links and the trail, with each map's original image. Tiles are cut again on the new server.tableandpartyare kept; anything else becomes GM-only, and a marker narrowed to GM loses its "revealed". A missing audience in the atlas section is GM-only.What is left out and listed
The import's answer gains
files_left_out: [{kind, name, reason, size_bytes}], shown on the result screen. The export's README lists what it left out.export/limittoo_largepixelscountA lying, corrupt, encrypted or wrongly-compressed entry still refuses the whole import. So does a file that is not an allowed type, and an entry named by more than one file.
Calls the plan did not cover
Independent review
A read-only review of
605872e8found no audience widening, no cross-campaign reference, no archive name reaching the filesystem and no stored-XSS route. It made eight findings; all are fixed in25f13fbf, each with a test. Run against the earlier commit, the new tests gave23 failed, 2 passed(the two are controls).Changelog
changelog.d/991-files-schema-18.added.mdTest plan
605872e8, before the review fixes:7272 passed, 14 skipped, 107 deselected.tests/export, both reader audits, the maps, tiles, files, handouts and pictures tests:647 passed. The stuck-task watchdog:10 passed. Lint clean. Version and changelog checks OK. The four touched frontend files:63 passed, eslint 0 errors. All 16 coverage scripts exit 0.count, all 200 ready after 108 s;pixels;Known and left for follow-ups
🤖 Generated with Claude Code