Limit comparisons per kind of account; let the env file set storage quotas
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Comparisons were capped at eight timelines for everyone. COMPARE_TIMELINES_GUEST, _USER and _ADMIN (2 to 8; defaults 4, 8 and 8) now cap them per kind of account: sessions report the limit, the editor's comparison dialog, comparison links and the dashboard's selection follow it, and a saved comparison holds at most as many sources as its owner may compare (#86). DEFAULT_USER_STORAGE_BYTES only seeded the default quota once. Set, it now applies at every start and /admin shows it rather than changing it; unset or empty, /admin sets it as before. Quotas take sizes with units (500MiB, 2GB) in the env file and in /admin, and an invalid one stops startup with a message. The templates leave it unset, so /admin keeps managing existing installations (#87). Closes #86 Closes #87 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/3e48c02dd8731bcc2883ac0be99d5820ad02970a
Related
Open Limit comparisons per kind of account; let the env file set storage quotas in the timeline