dangerzone/tests
deeplow 0a099540c8
Stream pages in containers: merge isolation providers
Merge Qubes and Containers isolation providers core code into the class
parent IsolationProviders abstract class.

This is done by streaming pages in containers for exclusively in first
conversion process. The commit is rather large due to the multiple
interdependencies of the code, making it difficult to split into various
commits.

The main conversion method (_convert) now in the superclass simply calls
two methods:
  - doc_to_pixels()
  - pixels_to_pdf()

Critically, doc_to_pixels is implemented in the superclass, diverging
only in a specialized method called "start_doc_to_pixels_proc()". This
method obtains the process responsible that communicates with the
isolation provider (container / disp VM) via `podman/docker` and qrexec
on Containers and Qubes respectively.

Known regressions:
  - progress reports stopped working on containers

Fixes #443
2024-02-06 19:42:33 +00:00
..
gui Use more descriptive button labels in update check prompt 2023-10-31 12:52:34 +00:00
isolation_provider Stream pages in containers: merge isolation providers 2024-02-06 19:42:33 +00:00
test_docs Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
test_docs_compressed Add page limit of 10000 2023-09-28 11:01:14 +01:00
test_docs_external Add test files for hwp/hwpx (base64 encoded) 2023-08-01 14:37:14 +01:00
test_docs_large@0068ffcb67 Replace armor guards that indicate isolated output 2023-08-22 16:11:41 +01:00
__init__.py Add limit and test to max width and height of docs 2023-09-28 11:08:47 +01:00
conftest.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
test_cli.py Stream pages in containers: merge isolation providers 2024-02-06 19:42:33 +00:00
test_document.py remove number from test_doc2 variable 2023-07-25 15:00:31 +01:00
test_large_set.py Adapt code so it works for reporting script 2023-08-22 16:11:36 +01:00
test_ocr.py Remove Dockerfile dependencies replaced by PyMuPDF 2024-01-03 12:58:36 +00:00
test_util.py Add non-blocking read utility 2023-09-20 17:14:24 +03:00