mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-03-27 03:12:45 +00:00
- Add @override_settings(ARCHIVE_FILE_GENERATION="always") to tests that
expect archive files to always be produced (test_handle_document,
test_naming_priorities, test_update_content_maybe_archive_file)
- Add test_archive_preference.py with 14 unit tests covering
resolve_archive_preference() and _should_produce_archive_for_pdf()
- Update tesseract parser: add PriorOcrFoundError retry path and split
InputFileError handling (tagged PDF -> skip_text retry vs force-OCR
fallback for other input errors)
- Update checks.py: validate ARCHIVE_FILE_GENERATION, update OCR_MODE
valid set to {auto, force, redo, off}
- Update docs: PAPERLESS_OCR_MODE and PAPERLESS_ARCHIVE_FILE_GENERATION
docs and migration guide for v3
- Update tesseract parser tests, consumer tests, and parsers tests to
reflect new settings and behaviour