wrolpi/modules
lrnselfreliance 851b12b060
A Zim's Search toggle is saved in zims.yaml so a rebuilt database or a newer Zim keeps it (#931)
The toggle was only the zim.auto_search column, which defaults to on.  The
database is rebuilt from files and configs, and a Zim's newer version is a new
row, so every rebuild and every subscription update turned search back on for
every Zim.  On a large library the global search then searched all of them.

zims.yaml records auto_search for each Zim, keyed by the Zim's name without
its date, so a newer version of a Zim is the same Zim.  A Zim the file does not
name is searched (the default stays on).  The config is imported on startup
with the usual version gating, saved when the toggle changes, and a newly
modeled Zim takes its setting from it.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-01 13:09:52 -07:00
..
archive A download records the sha256 of its files in the wrolpi section (#904) 2026-10-30 19:34:49 -06:00
docs An author or subject beginning with a non-ASCII capital finds its collection (#902) 2026-10-30 18:37:50 -06:00
flasher Configs without database rows read and validate only; imports run off the event loop (#874) 2026-10-25 15:17:31 -06:00
inventory Format inventory expiration dates instead of epoch timestamps (#901) 2026-10-31 12:27:21 -06:00
map Map files are never downloaded without a signed hash (#930) 2026-11-01 13:03:16 -07:00
repos A malformed entry stops a backup preview or merge with an error naming it (#896) 2026-10-27 20:59:49 -06:00
videos A transcode or remux refreshes the sha256 sums a download recorded (#906) 2026-10-30 19:41:29 -06:00
zim A Zim's Search toggle is saved in zims.yaml so a rebuilt database or a newer Zim keeps it (#931) 2026-11-01 13:09:52 -07:00
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00