diff options
Diffstat (limited to 'deskutils/py-paperless-ngx')
-rw-r--r-- | deskutils/py-paperless-ngx/Makefile | 4 | ||||
-rw-r--r-- | deskutils/py-paperless-ngx/distinfo | 10 | ||||
-rw-r--r-- | deskutils/py-paperless-ngx/files/patch-paperless.conf.example | 10 | ||||
-rw-r--r-- | deskutils/py-paperless-ngx/files/patch-src_paperless__mail_mail.py | 20 | ||||
-rw-r--r-- | deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py | 25 | ||||
-rw-r--r-- | deskutils/py-paperless-ngx/pkg-plist | 62 |
6 files changed, 86 insertions, 45 deletions
diff --git a/deskutils/py-paperless-ngx/Makefile b/deskutils/py-paperless-ngx/Makefile index 543abc7e87a3..0a133caa05b8 100644 --- a/deskutils/py-paperless-ngx/Makefile +++ b/deskutils/py-paperless-ngx/Makefile @@ -1,6 +1,6 @@ PORTNAME= paperless-ngx DISTVERSIONPREFIX= v -DISTVERSION= 2.17.1 +DISTVERSION= 2.18.2 CATEGORIES= deskutils python MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/:webui \ GH:gh @@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6:devel/py-Jinja2@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}concurrent-log-handler>=0.9.19:sysutils/py-concurrent-log-handler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateparser>=1.2.2:devel/py-dateparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-channels-redis>=4.3.0:www/py-dj51-channels-redis@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj51-django-allauth>=65.10.0:www/py-dj51-django-allauth@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj51-django-allauth>=65.11.0:www/py-dj51-django-allauth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-auditlog>=3.0.0:www/py-dj51-django-auditlog@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-celery-results>=2.6.0:www/py-dj51-django-celery-results@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-django-compression-middleware>=0.5.0:www/py-dj51-django-compression-middleware@${PY_FLAVOR} \ diff --git a/deskutils/py-paperless-ngx/distinfo b/deskutils/py-paperless-ngx/distinfo index 65c7da79fb33..3e1cea9d52a1 100644 --- a/deskutils/py-paperless-ngx/distinfo +++ b/deskutils/py-paperless-ngx/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1751359329 -SHA256 (paperless-ngx-v2.17.1.tar.xz) = b70bd19d4af4e41984b1d5637dd7f032351c0d7eadd4bd2e49ab21579e4ab09a -SIZE (paperless-ngx-v2.17.1.tar.xz) = 78780336 -SHA256 (paperless-ngx-paperless-ngx-v2.17.1_GH0.tar.gz) = ab6c356a4485c5f3cb6b9c463c4468e9c9eaef538332396dafbcdb2cb63d2b88 -SIZE (paperless-ngx-paperless-ngx-v2.17.1_GH0.tar.gz) = 49844317 +TIMESTAMP = 1756049099 +SHA256 (paperless-ngx-v2.18.2.tar.xz) = a4150eb880fcc0e3e5c3e42f602ab317c91ebf8c53a7f5d2ae076d3537fc3f94 +SIZE (paperless-ngx-v2.18.2.tar.xz) = 81206704 +SHA256 (paperless-ngx-paperless-ngx-v2.18.2_GH0.tar.gz) = 20672668d988f69d52e536b6d33e3e881cfe820c5cf54221a3f5a94f31393be5 +SIZE (paperless-ngx-paperless-ngx-v2.18.2_GH0.tar.gz) = 49919387 diff --git a/deskutils/py-paperless-ngx/files/patch-paperless.conf.example b/deskutils/py-paperless-ngx/files/patch-paperless.conf.example index fe40bb7b43a4..35e184176393 100644 --- a/deskutils/py-paperless-ngx/files/patch-paperless.conf.example +++ b/deskutils/py-paperless-ngx/files/patch-paperless.conf.example @@ -1,6 +1,6 @@ ---- paperless.conf.example.orig 2024-04-08 01:44:14 UTC +--- paperless.conf.example.orig 2025-08-17 20:46:35 UTC +++ paperless.conf.example -@@ -17,17 +17,29 @@ +@@ -13,17 +13,29 @@ # Paths and folders @@ -34,7 +34,7 @@ #PAPERLESS_URL=https://example.com #PAPERLESS_CSRF_TRUSTED_ORIGINS=https://example.com # can be set using PAPERLESS_URL #PAPERLESS_ALLOWED_HOSTS=example.com,www.example.com # can be set using PAPERLESS_URL -@@ -40,6 +52,7 @@ +@@ -36,6 +48,7 @@ # OCR settings @@ -42,7 +42,7 @@ #PAPERLESS_OCR_LANGUAGE=eng #PAPERLESS_OCR_MODE=skip #PAPERLESS_OCR_SKIP_ARCHIVE_FILE=never -@@ -56,6 +69,7 @@ +@@ -52,6 +65,7 @@ # Software tweaks @@ -50,7 +50,7 @@ #PAPERLESS_TASK_WORKERS=1 #PAPERLESS_THREADS_PER_WORKER=1 #PAPERLESS_TIME_ZONE=UTC -@@ -92,3 +106,7 @@ +@@ -88,3 +102,7 @@ #PAPERLESS_CONVERT_BINARY=/usr/bin/convert #PAPERLESS_GS_BINARY=/usr/bin/gs diff --git a/deskutils/py-paperless-ngx/files/patch-src_paperless__mail_mail.py b/deskutils/py-paperless-ngx/files/patch-src_paperless__mail_mail.py deleted file mode 100644 index 948e6f5f4e98..000000000000 --- a/deskutils/py-paperless-ngx/files/patch-src_paperless__mail_mail.py +++ /dev/null @@ -1,20 +0,0 @@ ---- src/paperless_mail/mail.py.orig 2025-06-19 19:07:49 UTC -+++ src/paperless_mail/mail.py -@@ -29,7 +29,7 @@ from imap_tools import MailBoxUnencrypted - from imap_tools import MailMessage - from imap_tools import MailMessageFlags - from imap_tools import errors --from imap_tools.mailbox import MailBoxTls -+from imap_tools.mailbox import MailBoxStartTls - from imap_tools.query import LogicOperator - - from documents.data_models import ConsumableDocument -@@ -419,7 +419,7 @@ def get_mailbox(server, port, security) -> MailBox: - if security == MailAccount.ImapSecurity.NONE: - mailbox = MailBoxUnencrypted(server, port) - elif security == MailAccount.ImapSecurity.STARTTLS: -- mailbox = MailBoxTls(server, port, ssl_context=ssl_context) -+ mailbox = MailBoxStartTls(server, port, ssl_context=ssl_context) - elif security == MailAccount.ImapSecurity.SSL: - mailbox = MailBox(server, port, ssl_context=ssl_context) - else: diff --git a/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py b/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py index 0631a458caf6..c29b74ddd28c 100644 --- a/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py +++ b/deskutils/py-paperless-ngx/files/patch-src_paperless_settings.py @@ -1,15 +1,14 @@ ---- src/paperless/settings.py.orig 2025-04-19 22:34:42 UTC +--- src/paperless/settings.py.orig 2025-08-17 20:46:35 UTC +++ src/paperless/settings.py -@@ -21,8 +21,6 @@ if configuration_path and os.path.exists(configuration - load_dotenv(configuration_path) - elif os.path.exists("../paperless.conf"): - load_dotenv("../paperless.conf") --elif os.path.exists("/etc/paperless.conf"): -- load_dotenv("/etc/paperless.conf") - elif os.path.exists("/usr/local/etc/paperless.conf"): - load_dotenv("/usr/local/etc/paperless.conf") - -@@ -267,7 +265,7 @@ THUMBNAIL_DIR = MEDIA_ROOT / "documents" / "thumbnails +@@ -25,7 +25,6 @@ logger = logging.getLogger("paperless.settings") + for path in [ + os.getenv("PAPERLESS_CONFIGURATION_PATH"), + "../paperless.conf", +- "/etc/paperless.conf", + "/usr/local/etc/paperless.conf", + ]: + if path and Path(path).exists(): +@@ -273,7 +272,7 @@ THUMBNAIL_DIR = MEDIA_ROOT / "documents" / "thumbnails DATA_DIR = __get_path("PAPERLESS_DATA_DIR", BASE_DIR.parent / "data") @@ -17,8 +16,8 @@ +NLTK_DIR = __get_path("PAPERLESS_NLTK_DIR", "/usr/local/share/nltk_data") # Check deprecated setting first - EMPTY_TRASH_DIR = os.getenv( -@@ -1106,7 +1104,7 @@ FILENAME_FORMAT_REMOVE_NONE = __get_boolean( + EMPTY_TRASH_DIR = ( +@@ -1279,7 +1278,7 @@ FILENAME_FORMAT_REMOVE_NONE = __get_boolean( THUMBNAIL_FONT_NAME = os.getenv( "PAPERLESS_THUMBNAIL_FONT_NAME", diff --git a/deskutils/py-paperless-ngx/pkg-plist b/deskutils/py-paperless-ngx/pkg-plist index a3aaee6580cb..718317ed8afd 100644 --- a/deskutils/py-paperless-ngx/pkg-plist +++ b/deskutils/py-paperless-ngx/pkg-plist @@ -526,6 +526,7 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/barcodes/several-patcht-codes.pdf %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/barcodes/split-by-asn-1.pdf %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/barcodes/split-by-asn-2.pdf +%%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/content.txt %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/documents/archive/0000001.pdf %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/documents/originals/0000001.pdf %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/documents/originals/0000002.pdf @@ -541,7 +542,10 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/double-sided-odd.pdf %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/eml_with_umlaut.eml %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/invalid_pdf.pdf +%%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/malicious.svg %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/password-is-test.pdf +%%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/preprocessed_content.txt +%%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/preprocessed_content_advanced.txt %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/simple-noalpha.png %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/simple.jpg %%PYTHON_SITELIBDIR%%/paperless/documents/tests/samples/simple.pdf @@ -570,6 +574,7 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_api_workflows.py %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_barcodes.py %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_bulk_edit.py +%%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_caching.py %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_checks.py %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_classifier.py %%PYTHON_SITELIBDIR%%/paperless/documents/tests/test_consumer.py @@ -684,6 +689,8 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/consumers%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/db%%PYTHON_TAG%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/db%%PYTHON_TAG%%.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/db_cache%%PYTHON_TAG%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/db_cache%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/filters%%PYTHON_TAG%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/filters%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/middleware%%PYTHON_TAG%%.opt-1.pyc @@ -698,6 +705,10 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/signals%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/urls%%PYTHON_TAG%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/urls%%PYTHON_TAG%%.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/utils%%PYTHON_TAG%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/utils%%PYTHON_TAG%%.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/validators%%PYTHON_TAG%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/validators%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/version%%PYTHON_TAG%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/version%%PYTHON_TAG%%.pyc %%PYTHON_SITELIBDIR%%/paperless/paperless/__pycache__/views%%PYTHON_TAG%%.opt-1.pyc @@ -714,6 +725,7 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/paperless/config.py %%PYTHON_SITELIBDIR%%/paperless/paperless/consumers.py %%PYTHON_SITELIBDIR%%/paperless/paperless/db.py +%%PYTHON_SITELIBDIR%%/paperless/paperless/db_cache.py %%PYTHON_SITELIBDIR%%/paperless/paperless/filters.py %%PYTHON_SITELIBDIR%%/paperless/paperless/middleware.py %%PYTHON_SITELIBDIR%%/paperless/paperless/migrations/0001_initial.py @@ -742,12 +754,15 @@ bin/paperless %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/__init__.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_adapter.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_checks.py +%%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_db_cache.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_remote_user.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_settings.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_signals.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_views.py %%PYTHON_SITELIBDIR%%/paperless/paperless/tests/test_websockets.py %%PYTHON_SITELIBDIR%%/paperless/paperless/urls.py +%%PYTHON_SITELIBDIR%%/paperless/paperless/utils.py +%%PYTHON_SITELIBDIR%%/paperless/paperless/validators.py %%PYTHON_SITELIBDIR%%/paperless/paperless/version.py %%PYTHON_SITELIBDIR%%/paperless/paperless/views.py %%PYTHON_SITELIBDIR%%/paperless/paperless/wsgi.py @@ -3010,6 +3025,53 @@ share/man/man7/paperless-ngx.7.gz %%WWWDIR%%/static/frontend/uk-UA/styles.css %%WWWDIR%%/static/frontend/uk-UA/styles.css.br %%WWWDIR%%/static/frontend/uk-UA/styles.css.gz +%%WWWDIR%%/static/frontend/vi-VN/3rdpartylicenses.txt +%%WWWDIR%%/static/frontend/vi-VN/3rdpartylicenses.txt.br +%%WWWDIR%%/static/frontend/vi-VN/3rdpartylicenses.txt.gz +%%WWWDIR%%/static/frontend/vi-VN/apple-touch-icon.png +%%WWWDIR%%/static/frontend/vi-VN/assets/document.png +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.min.mjs +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.min.mjs.br +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.min.mjs.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.worker.min.mjs +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.worker.min.mjs.br +%%WWWDIR%%/static/frontend/vi-VN/assets/js/pdf.worker.min.mjs.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark-notext.svg +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark-notext.svg.br +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark-notext.svg.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark.svg +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark.svg.br +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-dark.svg.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-notext.svg +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-notext.svg.br +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-notext.svg.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-white-notext.svg +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-white-notext.svg.br +%%WWWDIR%%/static/frontend/vi-VN/assets/logo-white-notext.svg.gz +%%WWWDIR%%/static/frontend/vi-VN/assets/logo.svg +%%WWWDIR%%/static/frontend/vi-VN/assets/logo.svg.br +%%WWWDIR%%/static/frontend/vi-VN/assets/logo.svg.gz +%%WWWDIR%%/static/frontend/vi-VN/favicon.ico +%%WWWDIR%%/static/frontend/vi-VN/favicon.ico.br +%%WWWDIR%%/static/frontend/vi-VN/favicon.ico.gz +%%WWWDIR%%/static/frontend/vi-VN/index.html +%%WWWDIR%%/static/frontend/vi-VN/index.html.br +%%WWWDIR%%/static/frontend/vi-VN/index.html.gz +%%WWWDIR%%/static/frontend/vi-VN/main.js +%%WWWDIR%%/static/frontend/vi-VN/main.js.br +%%WWWDIR%%/static/frontend/vi-VN/main.js.gz +%%WWWDIR%%/static/frontend/vi-VN/manifest.webmanifest +%%WWWDIR%%/static/frontend/vi-VN/manifest.webmanifest.br +%%WWWDIR%%/static/frontend/vi-VN/manifest.webmanifest.gz +%%WWWDIR%%/static/frontend/vi-VN/polyfills.js +%%WWWDIR%%/static/frontend/vi-VN/polyfills.js.br +%%WWWDIR%%/static/frontend/vi-VN/polyfills.js.gz +%%WWWDIR%%/static/frontend/vi-VN/runtime.js +%%WWWDIR%%/static/frontend/vi-VN/runtime.js.br +%%WWWDIR%%/static/frontend/vi-VN/runtime.js.gz +%%WWWDIR%%/static/frontend/vi-VN/styles.css +%%WWWDIR%%/static/frontend/vi-VN/styles.css.br +%%WWWDIR%%/static/frontend/vi-VN/styles.css.gz %%WWWDIR%%/static/frontend/zh-CN/3rdpartylicenses.txt %%WWWDIR%%/static/frontend/zh-CN/3rdpartylicenses.txt.br %%WWWDIR%%/static/frontend/zh-CN/3rdpartylicenses.txt.gz |