├── .gitignore ├── LICENSE ├── Readme.md ├── api ├── pytest.ini ├── requirements │ ├── development.txt │ └── production.txt ├── scripts │ ├── build_plugin │ ├── check_style │ ├── check_types │ ├── reformat_code │ ├── select_theme │ └── serve_web ├── setup.py ├── src │ └── docleaner │ │ └── api │ │ ├── __init__.py │ │ ├── adapters │ │ ├── __init__.py │ │ ├── clock │ │ │ ├── dummy_clock.py │ │ │ └── system_clock.py │ │ ├── file_identifier │ │ │ └── magic_file_identifier.py │ │ ├── job_queue │ │ │ └── async_job_queue.py │ │ ├── logging │ │ │ └── syslog.py │ │ ├── repository │ │ │ ├── __init__.py │ │ │ ├── memory_repository.py │ │ │ └── mongodb_repository.py │ │ └── sandbox │ │ │ ├── __init__.py │ │ │ ├── containerized_sandbox.py │ │ │ └── dummy_sandbox.py │ │ ├── bootstrap.py │ │ ├── core │ │ ├── __init__.py │ │ ├── job.py │ │ ├── metadata.py │ │ ├── sandbox.py │ │ └── session.py │ │ ├── entrypoints │ │ ├── __init__.py │ │ ├── ctl │ │ │ ├── __init__.py │ │ │ ├── main.py │ │ │ └── utils.py │ │ └── web │ │ │ ├── __init__.py │ │ │ ├── dependencies.py │ │ │ ├── main.py │ │ │ ├── package.json │ │ │ ├── routers │ │ │ ├── __init__.py │ │ │ ├── rest.py │ │ │ └── web.py │ │ │ ├── static │ │ │ ├── dist │ │ │ │ └── .gitignore │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ └── main.js │ │ │ └── scss │ │ │ │ └── base.scss │ │ │ ├── templates │ │ │ ├── base.html │ │ │ ├── doc │ │ │ │ └── api.html │ │ │ ├── error.html │ │ │ ├── job_deleted.html │ │ │ ├── job_deleted_full.html │ │ │ ├── job_details.html │ │ │ ├── job_details_full.html │ │ │ ├── landing.html │ │ │ ├── landing_full.html │ │ │ ├── navbar_menu.html │ │ │ ├── session_details.html │ │ │ └── session_details_full.html │ │ │ ├── themes │ │ │ ├── default │ │ │ │ ├── colors.scss │ │ │ │ ├── footer.html │ │ │ │ ├── header.html │ │ │ │ ├── styles.scss │ │ │ │ └── theme.js │ │ │ └── tud │ │ │ │ ├── colors.scss │ │ │ │ ├── footer.html │ │ │ │ ├── header.html │ │ │ │ ├── logo.png │ │ │ │ ├── styles.scss │ │ │ │ └── theme.js │ │ │ └── webpack.config.js │ │ ├── plugins │ │ └── pdf │ │ │ ├── __init__.py │ │ │ ├── metadata.py │ │ │ └── sandbox │ │ │ ├── Containerfile │ │ │ ├── analyze │ │ │ ├── exiftool.cfg │ │ │ └── process │ │ ├── services │ │ ├── __init__.py │ │ ├── clock.py │ │ ├── file_identifier.py │ │ ├── job_queue.py │ │ ├── jobs.py │ │ ├── repository.py │ │ ├── sandbox.py │ │ └── sessions.py │ │ └── utils.py └── tests │ ├── __init__.py │ ├── conftest.py │ ├── integration │ ├── __init__.py │ ├── conftest.py │ ├── job_queue │ │ └── test_async_job_queue.py │ ├── plugins │ │ └── test_pdf_processing.py │ ├── repository │ │ └── test_repository.py │ ├── sandbox │ │ ├── __init__.py │ │ └── test_containerized_sandbox.py │ ├── test_imports.py │ ├── test_rest.py │ └── test_web.py │ ├── resources │ ├── pdf-a2b.pdf │ ├── pdf-a3u.pdf │ ├── pdf-e1.pdf │ ├── pdf-ua1.pdf │ ├── pdf-vt1.pdf │ ├── pdf-x1a.pdf │ ├── pdf-x4.pdf │ ├── sample.pdf │ ├── sample_signed.pdf │ └── sample_tagged.pdf │ └── unit │ ├── __init__.py │ ├── adapters │ ├── __init__.py │ ├── test_file_identifier.py │ ├── test_job_queue.py │ └── test_repository.py │ ├── plugins │ └── test_pdf.py │ └── services │ ├── __init__.py │ ├── test_jobs.py │ ├── test_sandbox.py │ └── test_sessions.py ├── deployment └── podman │ ├── Containerfile.api │ ├── Containerfile.api.dev │ ├── api.run.sh │ ├── containers.conf │ ├── dev.run.sh │ ├── development.yml │ ├── docleaner.conf │ ├── nginx.dev.conf │ ├── nginx.tls.conf │ ├── podman-socket.example.service │ └── production.yml ├── docs ├── architecture.md ├── plugins.md └── screenshots.png └── manage.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/Readme.md -------------------------------------------------------------------------------- /api/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/pytest.ini -------------------------------------------------------------------------------- /api/requirements/development.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/requirements/development.txt -------------------------------------------------------------------------------- /api/requirements/production.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/requirements/production.txt -------------------------------------------------------------------------------- /api/scripts/build_plugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/build_plugin -------------------------------------------------------------------------------- /api/scripts/check_style: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/check_style -------------------------------------------------------------------------------- /api/scripts/check_types: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/check_types -------------------------------------------------------------------------------- /api/scripts/reformat_code: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/reformat_code -------------------------------------------------------------------------------- /api/scripts/select_theme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/select_theme -------------------------------------------------------------------------------- /api/scripts/serve_web: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/scripts/serve_web -------------------------------------------------------------------------------- /api/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/setup.py -------------------------------------------------------------------------------- /api/src/docleaner/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/clock/dummy_clock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/clock/dummy_clock.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/clock/system_clock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/clock/system_clock.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/file_identifier/magic_file_identifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/file_identifier/magic_file_identifier.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/job_queue/async_job_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/job_queue/async_job_queue.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/logging/syslog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/logging/syslog.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/repository/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/repository/memory_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/repository/memory_repository.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/repository/mongodb_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/repository/mongodb_repository.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/sandbox/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/sandbox/containerized_sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/sandbox/containerized_sandbox.py -------------------------------------------------------------------------------- /api/src/docleaner/api/adapters/sandbox/dummy_sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/adapters/sandbox/dummy_sandbox.py -------------------------------------------------------------------------------- /api/src/docleaner/api/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/bootstrap.py -------------------------------------------------------------------------------- /api/src/docleaner/api/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/core/job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/core/job.py -------------------------------------------------------------------------------- /api/src/docleaner/api/core/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/core/metadata.py -------------------------------------------------------------------------------- /api/src/docleaner/api/core/sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/core/sandbox.py -------------------------------------------------------------------------------- /api/src/docleaner/api/core/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/core/session.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/ctl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/ctl/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/ctl/main.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/ctl/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/ctl/utils.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/dependencies.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/main.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/package.json -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/routers/rest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/routers/rest.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/routers/web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/routers/web.py -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/static/dist/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/static/dist/.gitignore -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/static/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/static/js/app.js -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/static/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/static/js/main.js -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/static/scss/base.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/static/scss/base.scss -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/base.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/doc/api.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/doc/api.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/error.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/job_deleted.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/job_deleted.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/job_deleted_full.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/job_deleted_full.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/job_details.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/job_details.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/job_details_full.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/job_details_full.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/landing.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/landing.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/landing_full.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/landing_full.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/navbar_menu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/navbar_menu.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/session_details.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/session_details.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/templates/session_details_full.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/templates/session_details_full.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/default/colors.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/default/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/default/footer.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/default/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/default/header.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/default/styles.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/default/theme.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/colors.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/tud/colors.scss -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/tud/footer.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/tud/header.html -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/themes/tud/logo.png -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/styles.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/themes/tud/theme.js: -------------------------------------------------------------------------------- 1 | import "./logo.png"; 2 | -------------------------------------------------------------------------------- /api/src/docleaner/api/entrypoints/web/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/entrypoints/web/webpack.config.js -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/__init__.py -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/metadata.py -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/sandbox/Containerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/sandbox/Containerfile -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/sandbox/analyze: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/sandbox/analyze -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/sandbox/exiftool.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/sandbox/exiftool.cfg -------------------------------------------------------------------------------- /api/src/docleaner/api/plugins/pdf/sandbox/process: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/plugins/pdf/sandbox/process -------------------------------------------------------------------------------- /api/src/docleaner/api/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/src/docleaner/api/services/clock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/clock.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/file_identifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/file_identifier.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/job_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/job_queue.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/jobs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/jobs.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/repository.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/sandbox.py -------------------------------------------------------------------------------- /api/src/docleaner/api/services/sessions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/services/sessions.py -------------------------------------------------------------------------------- /api/src/docleaner/api/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/src/docleaner/api/utils.py -------------------------------------------------------------------------------- /api/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/conftest.py -------------------------------------------------------------------------------- /api/tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/conftest.py -------------------------------------------------------------------------------- /api/tests/integration/job_queue/test_async_job_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/job_queue/test_async_job_queue.py -------------------------------------------------------------------------------- /api/tests/integration/plugins/test_pdf_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/plugins/test_pdf_processing.py -------------------------------------------------------------------------------- /api/tests/integration/repository/test_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/repository/test_repository.py -------------------------------------------------------------------------------- /api/tests/integration/sandbox/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/integration/sandbox/test_containerized_sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/sandbox/test_containerized_sandbox.py -------------------------------------------------------------------------------- /api/tests/integration/test_imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/test_imports.py -------------------------------------------------------------------------------- /api/tests/integration/test_rest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/test_rest.py -------------------------------------------------------------------------------- /api/tests/integration/test_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/integration/test_web.py -------------------------------------------------------------------------------- /api/tests/resources/pdf-a2b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-a2b.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-a3u.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-a3u.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-e1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-e1.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-ua1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-ua1.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-vt1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-vt1.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-x1a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-x1a.pdf -------------------------------------------------------------------------------- /api/tests/resources/pdf-x4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/pdf-x4.pdf -------------------------------------------------------------------------------- /api/tests/resources/sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/sample.pdf -------------------------------------------------------------------------------- /api/tests/resources/sample_signed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/sample_signed.pdf -------------------------------------------------------------------------------- /api/tests/resources/sample_tagged.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/resources/sample_tagged.pdf -------------------------------------------------------------------------------- /api/tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit/adapters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit/adapters/test_file_identifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/adapters/test_file_identifier.py -------------------------------------------------------------------------------- /api/tests/unit/adapters/test_job_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/adapters/test_job_queue.py -------------------------------------------------------------------------------- /api/tests/unit/adapters/test_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/adapters/test_repository.py -------------------------------------------------------------------------------- /api/tests/unit/plugins/test_pdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/plugins/test_pdf.py -------------------------------------------------------------------------------- /api/tests/unit/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/tests/unit/services/test_jobs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/services/test_jobs.py -------------------------------------------------------------------------------- /api/tests/unit/services/test_sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/services/test_sandbox.py -------------------------------------------------------------------------------- /api/tests/unit/services/test_sessions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/api/tests/unit/services/test_sessions.py -------------------------------------------------------------------------------- /deployment/podman/Containerfile.api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/Containerfile.api -------------------------------------------------------------------------------- /deployment/podman/Containerfile.api.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/Containerfile.api.dev -------------------------------------------------------------------------------- /deployment/podman/api.run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/api.run.sh -------------------------------------------------------------------------------- /deployment/podman/containers.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/containers.conf -------------------------------------------------------------------------------- /deployment/podman/dev.run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/dev.run.sh -------------------------------------------------------------------------------- /deployment/podman/development.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/development.yml -------------------------------------------------------------------------------- /deployment/podman/docleaner.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/docleaner.conf -------------------------------------------------------------------------------- /deployment/podman/nginx.dev.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/nginx.dev.conf -------------------------------------------------------------------------------- /deployment/podman/nginx.tls.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/nginx.tls.conf -------------------------------------------------------------------------------- /deployment/podman/podman-socket.example.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/podman-socket.example.service -------------------------------------------------------------------------------- /deployment/podman/production.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/deployment/podman/production.yml -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/docs/plugins.md -------------------------------------------------------------------------------- /docs/screenshots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/docs/screenshots.png -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TUD-CERT/docleaner/HEAD/manage.py --------------------------------------------------------------------------------