A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore(deps-dev): Bump the development group across 1 directory with 2 updates (#6851)
dependabot[bot]ce3d5b006574
diff --git a/.codespellrc b/.codespellrcindex 5e7cb2b2e..9b2cf624d 100644--- a/.codespellrc+++ b/.codespellrc@@ -1,3 +1,3 @@[codespell]write-changes = True-ignore-words-list = criterias,afterall,valeu,ureue,equest,ure+ignore-words-list = criterias,afterall,valeu,ureue,equest,ure,assertIndiff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 87780b056..026344a2e 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -29,7 +29,7 @@ repos:- id: check-case-conflict- id: detect-private-key- repo: https://github.com/codespell-project/codespell- rev: v2.2.6+ rev: v2.3.0hooks:- id: codespellexclude: "(^src-ui/src/locale/)|(^src-ui/e2e/)|(^src/paperless_mail/tests/samples/)"@@ -47,7 +47,7 @@ repos:exclude: "(^Pipfile\\.lock$)"# Python hooks- repo: https://github.com/astral-sh/ruff-pre-commit- rev: 'v0.4.4'+ rev: 'v0.4.6'hooks:- id: ruff- id: ruff-formatdiff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdindex a0c3bb8ee..5debd43b3 100644--- a/CODE_OF_CONDUCT.md+++ b/CODE_OF_CONDUCT.md@@ -5,7 +5,7 @@We as members, contributors, and leaders pledge to make participation in ourcommunity a harassment-free experience for everyone, regardless of age, bodysize, visible or invisible disability, ethnicity, sex characteristics, gender-identity and expression, level of experience, education, socio-economic status,+identity and expression, level of experience, education, socioeconomic status,nationality, personal appearance, race, religion, or sexual identityand orientation.diff --git a/Pipfile.lock b/Pipfile.lockindex c99c57fae..6232585de 100644--- a/Pipfile.lock+++ b/Pipfile.lock@@ -3064,12 +3064,12 @@},"mkdocs-material": {"hashes": [- "sha256:02d5aaba0ee755e707c3ef6e748f9acb7b3011187c0ea766db31af8905078a34",- "sha256:e12cd75954c535b61e716f359cf2a5056bf4514889d17161fdebd5df4b0153c6"+ "sha256:68fdab047a0b9bfbefe79ce267e8a7daaf5128bcf7867065fcd201ee335fece1",+ "sha256:d0662561efb725b712207e0ee01f035ca15633f29a64628e24f01ec99d7078f4"],"index": "pypi","markers": "python_version >= '3.8'",- "version": "==9.5.24"+ "version": "==9.5.25"},"mkdocs-material-extensions": {"hashes": [@@ -3568,35 +3568,35 @@},"requests": {"hashes": [- "sha256:21ac9465cdf8c1650fe1ecde8a71669a93d4e6f147550483a2967d08396a56a5",- "sha256:eb97e87e64c79e64e5b8ac75cee9dd1f97f49e289b083ee6be96268930725685"+ "sha256:dd951ff5ecf3e3b3aa26b40703ba77495dab41da839ae72ef3c8e5d8e2433289",+ "sha256:fc06670dd0ed212426dfeb94fc1b983d917c4f9847c863f313c9dfaaffb7c23c"],"markers": "python_version >= '3.8'",- "version": "==2.32.1"+ "version": "==2.32.2"},"ruff": {"hashes": [- "sha256:1aecced1269481ef2894cc495647392a34b0bf3e28ff53ed95a385b13aa45768",- "sha256:29d44ef5bb6a08e235c8249294fa8d431adc1426bfda99ed493119e6f9ea1bf6",- "sha256:39df0537b47d3b597293edbb95baf54ff5b49589eb7ff41926d8243caa995ea6",- "sha256:424e5b72597482543b684c11def82669cc6b395aa8cc69acc1858b5ef3e5daae",- "sha256:4c8e2f1e8fc12d07ab521a9005d68a969e167b589cbcaee354cb61e9d9de9c15",- "sha256:60ed88b636a463214905c002fa3eaab19795679ed55529f91e488db3fe8976ab",- "sha256:8e7e6ebc10ef16dcdc77fd5557ee60647512b400e4a60bdc4849468f076f6eef",- "sha256:958b4ea5589706a81065e2a776237de2ecc3e763342e5cc8e02a4a4d8a5e6f95",- "sha256:9da73eb616b3241a307b837f32756dc20a0b07e2bcb694fec73699c93d04a69e",- "sha256:b1867ee9bf3acc21778dcb293db504692eda5f7a11a6e6cc40890182a9f9e595",- "sha256:b5eb0a4bfd6400b7d07c09a7725e1a98c3b838be557fee229ac0f84d9aa49c36",- "sha256:b90fc5e170fc71c712cc4d9ab0e24ea505c6a9e4ebf346787a67e691dfb72e85",- "sha256:b9ddb2c494fb79fc208cd15ffe08f32b7682519e067413dbaf5f4b01a6087bcd",- "sha256:c4efe62b5bbb24178c950732ddd40712b878a9b96b1d02b0ff0b08a090cbd891",- "sha256:c51c928a14f9f0a871082603e25a1588059b7e08a920f2f9fa7157b5bf08cfe9",- "sha256:cb53473849f011bca6e754f2cdf47cafc9c4f4ff4570003a0dad0b9b6890e876",- "sha256:f87ea42d5cdebdc6a69761a9d0bc83ae9b3b30d0ad78952005ba6568d6c022af"+ "sha256:04a80acfc862e0e1630c8b738e70dcca03f350bad9e106968a8108379e12b31f",+ "sha256:0cf5cc02d3ae52dfb0c8a946eb7a1d6ffe4d91846ffc8ce388baa8f627e3bd50",+ "sha256:1fa8561489fadf483ffbb091ea94b9c39a00ed63efacd426aae2f197a45e67fc",+ "sha256:1ff930d6e05f444090a0139e4e13e1e2e1f02bd51bb4547734823c760c621e79",+ "sha256:3a6a0a4f4b5f54fff7c860010ab3dd81425445e37d35701a965c0248819dde7a",+ "sha256:3f9ced5cbb7510fd7525448eeb204e0a22cabb6e99a3cb160272262817d49786",+ "sha256:4d5b914818d8047270308fe3e85d9d7f4a31ec86c6475c9f418fbd1624d198e0",+ "sha256:4f02284335c766678778475e7698b7ab83abaf2f9ff0554a07b6f28df3b5c259",+ "sha256:602ebd7ad909eab6e7da65d3c091547781bb06f5f826974a53dbe563d357e53c",+ "sha256:735a16407a1a8f58e4c5b913ad6102722e80b562dd17acb88887685ff6f20cf6",+ "sha256:9018bf59b3aa8ad4fba2b1dc0299a6e4e60a4c3bc62bbeaea222679865453062",+ "sha256:a769ae07ac74ff1a019d6bd529426427c3e30d75bdf1e08bb3d46ac8f417326a",+ "sha256:a797a87da50603f71e6d0765282098245aca6e3b94b7c17473115167d8dfb0b7",+ "sha256:be47700ecb004dfa3fd4dcdddf7322d4e632de3c06cd05329d69c45c0280e618",+ "sha256:ea3424793c29906407e3cf417f28fc33f689dacbbadfb52b7e9a809dd535dcef",+ "sha256:ef995583a038cd4a7edf1422c9e19118e2511b8ba0b015861b4abd26ec5367c5",+ "sha256:f13410aabd3b5776f9c5699f42b37a3a348d65498c4310589bc6e5c548dc8a2f"],"index": "pypi","markers": "python_version >= '3.7'",- "version": "==0.4.4"+ "version": "==0.4.6"},"scipy": {"hashes": [@@ -3721,46 +3721,49 @@},"watchdog": {"hashes": [- "sha256:11e12fafb13372e18ca1bbf12d50f593e7280646687463dd47730fd4f4d5d257",- "sha256:2895bf0518361a9728773083908801a376743bcc37dfa252b801af8fd281b1ca",- "sha256:39cb34b1f1afbf23e9562501673e7146777efe95da24fab5707b88f7fb11649b",- "sha256:45cc09cc4c3b43fb10b59ef4d07318d9a3ecdbff03abd2e36e77b6dd9f9a5c85",- "sha256:4986db5e8880b0e6b7cd52ba36255d4793bf5cdc95bd6264806c233173b1ec0b",- "sha256:5369136a6474678e02426bd984466343924d1df8e2fd94a9b443cb7e3aa20d19",- "sha256:557ba04c816d23ce98a06e70af6abaa0485f6d94994ec78a42b05d1c03dcbd50",- "sha256:6a4db54edea37d1058b08947c789a2354ee02972ed5d1e0dca9b0b820f4c7f92",- "sha256:6a80d5cae8c265842c7419c560b9961561556c4361b297b4c431903f8c33b269",- "sha256:6a9c71a0b02985b4b0b6d14b875a6c86ddea2fdbebd0c9a720a806a8bbffc69f",- "sha256:6c47bdd680009b11c9ac382163e05ca43baf4127954c5f6d0250e7d772d2b80c",- "sha256:6e949a8a94186bced05b6508faa61b7adacc911115664ccb1923b9ad1f1ccf7b",- "sha256:73c7a935e62033bd5e8f0da33a4dcb763da2361921a69a5a95aaf6c93aa03a87",- "sha256:76ad8484379695f3fe46228962017a7e1337e9acadafed67eb20aabb175df98b",- "sha256:8350d4055505412a426b6ad8c521bc7d367d1637a762c70fdd93a3a0d595990b",- "sha256:87e9df830022488e235dd601478c15ad73a0389628588ba0b028cb74eb72fed8",- "sha256:8f9a542c979df62098ae9c58b19e03ad3df1c9d8c6895d96c0d51da17b243b1c",- "sha256:8fec441f5adcf81dd240a5fe78e3d83767999771630b5ddfc5867827a34fa3d3",- "sha256:9a03e16e55465177d416699331b0f3564138f1807ecc5f2de9d55d8f188d08c7",- "sha256:ba30a896166f0fee83183cec913298151b73164160d965af2e93a20bbd2ab605",- "sha256:c17d98799f32e3f55f181f19dd2021d762eb38fdd381b4a748b9f5a36738e935",- "sha256:c522392acc5e962bcac3b22b9592493ffd06d1fc5d755954e6be9f4990de932b",- "sha256:d0f9bd1fd919134d459d8abf954f63886745f4660ef66480b9d753a7c9d40927",- "sha256:d18d7f18a47de6863cd480734613502904611730f8def45fc52a5d97503e5101",- "sha256:d31481ccf4694a8416b681544c23bd271f5a123162ab603c7d7d2dd7dd901a07",- "sha256:e3e7065cbdabe6183ab82199d7a4f6b3ba0a438c5a512a68559846ccb76a78ec",- "sha256:eed82cdf79cd7f0232e2fdc1ad05b06a5e102a43e331f7d041e5f0e0a34a51c4",- "sha256:f970663fa4f7e80401a7b0cbeec00fa801bf0287d93d48368fc3e6fa32716245",- "sha256:f9b2fdca47dc855516b2d66eef3c39f2672cbf7e7a42e7e67ad2cbfcd6ba107d"+ "sha256:0144c0ea9997b92615af1d94afc0c217e07ce2c14912c7b1a5731776329fcfc7",+ "sha256:03e70d2df2258fb6cb0e95bbdbe06c16e608af94a3ffbd2b90c3f1e83eb10767",+ "sha256:093b23e6906a8b97051191a4a0c73a77ecc958121d42346274c6af6520dec175",+ "sha256:123587af84260c991dc5f62a6e7ef3d1c57dfddc99faacee508c71d287248459",+ "sha256:17e32f147d8bf9657e0922c0940bcde863b894cd871dbb694beb6704cfbd2fb5",+ "sha256:206afc3d964f9a233e6ad34618ec60b9837d0582b500b63687e34011e15bb429",+ "sha256:4107ac5ab936a63952dea2a46a734a23230aa2f6f9db1291bf171dac3ebd53c6",+ "sha256:4513ec234c68b14d4161440e07f995f231be21a09329051e67a2118a7a612d2d",+ "sha256:611be3904f9843f0529c35a3ff3fd617449463cb4b73b1633950b3d97fa4bfb7",+ "sha256:62c613ad689ddcb11707f030e722fa929f322ef7e4f18f5335d2b73c61a85c28",+ "sha256:667f3c579e813fcbad1b784db7a1aaa96524bed53437e119f6a2f5de4db04235",+ "sha256:6e8c70d2cd745daec2a08734d9f63092b793ad97612470a0ee4cbb8f5f705c57",+ "sha256:7577b3c43e5909623149f76b099ac49a1a01ca4e167d1785c76eb52fa585745a",+ "sha256:998d2be6976a0ee3a81fb8e2777900c28641fb5bfbd0c84717d89bca0addcdc5",+ "sha256:a3c2c317a8fb53e5b3d25790553796105501a235343f5d2bf23bb8649c2c8709",+ "sha256:ab998f567ebdf6b1da7dc1e5accfaa7c6992244629c0fdaef062f43249bd8dee",+ "sha256:ac7041b385f04c047fcc2951dc001671dee1b7e0615cde772e84b01fbf68ee84",+ "sha256:bca36be5707e81b9e6ce3208d92d95540d4ca244c006b61511753583c81c70dd",+ "sha256:c9904904b6564d4ee8a1ed820db76185a3c96e05560c776c79a6ce5ab71888ba",+ "sha256:cad0bbd66cd59fc474b4a4376bc5ac3fc698723510cbb64091c2a793b18654db",+ "sha256:d10a681c9a1d5a77e75c48a3b8e1a9f2ae2928eda463e8d33660437705659682",+ "sha256:d4925e4bf7b9bddd1c3de13c9b8a2cdb89a468f640e66fbfabaf735bd85b3e35",+ "sha256:d7b9f5f3299e8dd230880b6c55504a1f69cf1e4316275d1b215ebdd8187ec88d",+ "sha256:da2dfdaa8006eb6a71051795856bedd97e5b03e57da96f98e375682c48850645",+ "sha256:dddba7ca1c807045323b6af4ff80f5ddc4d654c8bce8317dde1bd96b128ed253",+ "sha256:e7921319fe4430b11278d924ef66d4daa469fafb1da679a2e48c935fa27af193",+ "sha256:e93f451f2dfa433d97765ca2634628b789b49ba8b504fdde5837cdcf25fdb53b",+ "sha256:eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44",+ "sha256:ef0107bbb6a55f5be727cfc2ef945d5676b97bffb8425650dadbb184be9f9a2b",+ "sha256:f0de0f284248ab40188f23380b03b59126d1479cd59940f2a34f8852db710625",+ "sha256:f27279d060e2ab24c0aa98363ff906d2386aa6c4dc2f1a374655d4e02a6c5e5e",+ "sha256:f8affdf3c0f0466e69f5b3917cdd042f89c8c63aebdb9f7c078996f607cdb0f5"],"markers": "python_version >= '3.8'",- "version": "==4.0.0"+ "version": "==4.0.1"},"zipp": {"hashes": [- "sha256:6278d9ddbcfb1f1089a88fde84481528b07b0e10474e09dcfe53dad4069fa059",- "sha256:dce197b859eb796242b0622af1b8beb0a722d52aa2f57133ead08edd5bf5374e"+ "sha256:952df858fb3164426c976d9338d3961e8e8b3758e2e059e0f754b8c4262625ee",+ "sha256:96dc6ad62f1441bcaccef23b274ec471518daf4fbbc580341204936a5a3dddec"],"markers": "python_version >= '3.8'",- "version": "==3.18.2"+ "version": "==3.19.0"},"zope-interface": {"hashes": [diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex 36563485c..edec5cef0 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -503,33 +503,6 @@<context context-type="linenumber">4</context></context-group></trans-unit>- <trans-unit id="187187500641108332" datatype="html">- <source><x id="INTERPOLATION" equiv-text="ategory}}"/></source>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/admin/config/config.component.html</context>- <context context-type="linenumber">14,15</context>- </context-group>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/custom-field-display/custom-field-display.component.html</context>- <context context-type="linenumber">32</context>- </context-group>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/input/drag-drop-select/drag-drop-select.component.html</context>- <context context-type="linenumber">12</context>- </context-group>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/input/tags/tags.component.html</context>- <context context-type="linenumber">4</context>- </context-group>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/common/permissions-select/permissions-select.component.html</context>- <context context-type="linenumber">22</context>- </context-group>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/document-history/document-history.component.html</context>- <context context-type="linenumber">35</context>- </context-group>- </trans-unit><trans-unit id="7991430199894172363" datatype="html"><source>Read the documentation about this setting</source><context-group purpose="location">@@ -3045,6 +3018,29 @@<context context-type="linenumber">62</context></context-group></trans-unit>+ <trans-unit id="187187500641108332" datatype="html">+ <source><x id="INTERPOLATION" equiv-text="{{field.name}}"/></source>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/custom-field-display/custom-field-display.component.html</context>+ <context context-type="linenumber">32</context>+ </context-group>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/input/drag-drop-select/drag-drop-select.component.html</context>+ <context context-type="linenumber">12</context>+ </context-group>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/input/tags/tags.component.html</context>+ <context context-type="linenumber">4</context>+ </context-group>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/common/permissions-select/permissions-select.component.html</context>+ <context context-type="linenumber">22</context>+ </context-group>+ <context-group purpose="location">+ <context context-type="sourcefile">src/app/components/document-history/document-history.component.html</context>+ <context context-type="linenumber">35</context>+ </context-group>+ </trans-unit><trans-unit id="9195188695728229921" datatype="html"><source>Search fields</source><context-group purpose="location">diff --git a/src-ui/src/app/components/admin/config/config.component.html b/src-ui/src/app/components/admin/config/config.component.htmlindex 03ca04b7b..0f74339fb 100644--- a/src-ui/src/app/components/admin/config/config.component.html+++ b/src-ui/src/app/components/admin/config/config.component.html@@ -11,7 +11,7 @@<ul ngbNav #nav="ngbNav" class="nav-tabs">@for (category of optionCategories; track category) {<li [ngbNavItem]="category">- <a ngbNavLink i18n>{{category}}</a>+ <a ngbNavLink>{{category}}</a><ng-template ngbNavContent><div class="p-3"><div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-2">diff --git a/src/paperless_tesseract/parsers.py b/src/paperless_tesseract/parsers.pyindex 44d421edc..4e92990f1 100644--- a/src/paperless_tesseract/parsers.py+++ b/src/paperless_tesseract/parsers.py@@ -258,7 +258,7 @@ class RasterisedDocumentParser(DocumentParser):ocrmypdf_args["sidecar"] = sidecar_fileif self.is_image(mime_type):- # This may be required, depending on the known imformation+ # This may be required, depending on the known informationmaybe_override_pixel_limit()dpi = self.get_dpi(input_file)