wrolpi/modules/zim
lrnselfreliance 5be899bf1f
Saving zims.yaml keeps the entries of Zims the database does not have yet (#935)
A rebuilt database imports zims.yaml before the refresh has modeled a single
Zim.  That import has no database version to compare with, so it saves the
config afterward, and the save wrote only the Zims in the database: none.  The
file's choices were erased and every Zim was then modeled with the default.

The dump now starts from the file's entries and overlays the database's, so a
choice survives until its Zim is modeled again, and a Zim in the database still
decides its own line.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 11:11:41 -07:00
..
test Saving zims.yaml keeps the entries of Zims the database does not have yet (#935) 2026-11-02 11:11:41 -07:00
__init__.py Zim/Kiwix (Wikipedia) feature 2023-07-10 21:30:40 -06:00
api.py Zim estimates and searches run in a libzim worker process so a cold Zim cannot stall the API worker (#928) 2026-11-01 13:02:26 -07:00
conftest.py Using aria2c to download files. Removing custom file download functions. 2025-01-10 11:32:37 -07:00
downloader.py Migrating Kiwix downloaders. 2026-05-07 15:54:53 -06:00
errors.py Adding toggle to Channel page to stop downloading comments for certain channels. 2025-03-01 18:23:29 -07:00
kiwix.py Adding Khan Academy to zim subscriptions. Updating some kiwix catalog sizes. 2025-03-03 16:32:35 -07:00
lib.py Saving zims.yaml keeps the entries of Zims the database does not have yet (#935) 2026-11-02 11:11:41 -07:00
libzim_worker.py Zim estimates and searches run in a libzim worker process so a cold Zim cannot stall the API worker (#928) 2026-11-01 13:02:26 -07:00
models.py Zim estimates and searches run in a libzim worker process so a cold Zim cannot stall the API worker (#928) 2026-11-01 13:02:26 -07:00
schema.py Adding feature which adds toggles to Zim files to enable/disable auto search. 2025-02-02 12:43:04 -07:00