wrolpi/modules/zim
lrnselfreliance 479aa2254e
A Zim search without a search string or tag names is a 400, not a 500 (#944)
Both Zim search endpoints handed an empty request to the worker-job builder,
whose RuntimeError surfaced as a 500 "Unexpected error" with a traceback.  The
request is the client's mistake: the handlers now raise ValidationError, as the
other endpoints do, before any work is scheduled.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 19:55:47 -07:00
..
test A Zim search without a search string or tag names is a 400, not a 500 (#944) 2026-11-02 19:55:47 -07:00
__init__.py Zim/Kiwix (Wikipedia) feature 2023-07-10 21:30:40 -06:00
api.py A Zim search without a search string or tag names is a 400, not a 500 (#944) 2026-11-02 19:55:47 -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 Zim names with a re-release letter are parsed, and an undated Zim no longer warns at every start (#943) 2026-11-02 19:36:07 -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 The Zim list reads each Zim's metadata in the libzim worker instead of opening it in the API (#939) 2026-11-02 18:19:29 -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