shamoon
4e2bda3a35
Merge branch 'dev' into feature/ocr-templates
2026-11-18 16:30:55 -08:00
stumpylog
409539d4d1
Chore: render zone OCR pages through the shared pdftoppm helper
...
pdftoppm was called in three places with different options. Missing-binary handling is dropped since pdftoppm and tesseract are required at startup.
2026-11-18 14:51:40 -08:00
stumpylog
c1bb327f1f
Fix: keep OCR values intact when combining zones into one field
...
Separator cleanup ran over the extracted values too, so a negative amount lost its sign. A zone failing validation also no longer lets a partial value through.
2026-11-18 14:20:11 -08:00
stumpylog
0e6d06c255
Feature: find dates after a label in OCR zones
...
A crop may include a label, such as "Datum: 13.04.2026", and those dates never parsed unless they were ISO.
2026-11-18 13:56:25 -08:00
stumpylog
acf7ba346c
Fix: parse OCR zone dates strictly using the zone's language
...
Dates ignored the document's day/month order, and words like "now" or a bare "5" were accepted as dates.
2026-11-18 13:46:21 -08:00
stumpylog
63a87dd11b
Fix: parse OCR numbers with Babel using the zone's language
...
Separators were guessed from the text, so "12.50" became 1250 for integer fields and the thousands and decimal separators were often swapped.
2026-11-18 13:34:26 -08:00
stumpylog
1f41e63af1
Chore: share compile and timeout handling across the safe regex helpers
2026-11-18 13:09:37 -08:00
stumpylog
dc16714e19
Chore: align zone OCR test naming, URLs and docstrings
2026-11-18 13:03:41 -08:00
stumpylog
044da9a627
Chore: move misplaced zone OCR tests
2026-11-18 12:55:53 -08:00
stumpylog
093c18e68b
Chore: parametrize near-duplicate zone OCR tests
2026-11-18 12:52:03 -08:00
stumpylog
d706904a18
Chore: remove duplicate zone OCR tests and assert on untested ones
2026-11-18 12:48:20 -08:00
stumpylog
1c6742723f
Chore: use shared user and client fixtures in zone OCR tests
2026-11-18 12:45:11 -08:00
stumpylog
e03faab730
Chore: share zone OCR mock fixtures and helpers
2026-11-18 12:41:46 -08:00
stumpylog
9ff48ecfce
Chore: add CustomFieldFactory
2026-11-18 12:35:38 -08:00
stumpylog
65fdfcdea7
Chore: default OcrTemplateFactory to MATCH_ANY and drop redundant test arguments
...
Match the model's default matching, so tests stop restating it along with other factory defaults.
2026-11-18 12:33:49 -08:00
stumpylog
bb78373ad1
Chore: move zone OCR bulk edit API tests to a pytest class
2026-11-18 08:35:33 -08:00
stumpylog
73e0390a84
Chore: group zone OCR signal tests
2026-11-18 08:33:13 -08:00
stumpylog
6009027bf7
Chore: group zone OCR bulk operation tests and use mocker
2026-11-18 08:31:24 -08:00
stumpylog
17cdcda76b
Chore: convert OCR template preview API tests to pytest
2026-11-18 08:28:50 -08:00
stumpylog
88d0f30c1a
Chore: convert run zone OCR API tests to pytest
2026-11-18 08:23:48 -08:00
stumpylog
e3904fe376
Chore: convert OCR template CRUD API tests to pytest
2026-11-18 08:19:10 -08:00
stumpylog
9d5c7abfaa
Chore: convert zone OCR database tests to pytest
...
TestRunZoneExtraction used the real scratch dir, so it failed when run on its own.
2026-11-18 08:10:27 -08:00
stumpylog
1c685eb85a
Chore: convert zone OCR extraction and render tests to pytest
2026-11-18 08:02:23 -08:00
stumpylog
44bbfd8932
Chore: convert zone OCR value function tests to pytest
2026-11-18 07:57:14 -08:00
stumpylog
4788ac602b
Fix: limit manually run OCR templates to those the requester can view
...
A user editing someone else's document could run the owner's private
templates and see their names. Manual runs now use templates both can view.
2026-11-18 07:55:52 -08:00
stumpylog
0c90c57e3e
Fix: include OCR templates in the document exporter
...
Templates and their zones were missing from the export manifest, so an
import lost them.
2026-11-18 07:55:52 -08:00
shamoon
35b0439195
Bump version to 3.5.1
2026-11-17 21:05:28 -08:00
github-actions[bot] and Crowdin Bot
f21f6b9795
New Crowdin translations by GitHub Action ( #14798 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-18 04:15:05 +00:00
shamoon
855b161407
Move run_zone_ocr to the new bulk operations pathway
2026-11-17 13:43:13 -08:00
shamoon
3153b118bd
Merge branch 'dev' into feature/ocr-templates
2026-11-17 13:30:29 -08:00
shamoon
237521ec4b
Fix: skip dont use set_actor if audit log disabled ( #14808 )
2026-11-17 21:02:16 +00:00
GitHub Actions
0596579d4b
Auto translate strings
2026-11-17 20:49:24 +00:00
Trenton H
199d1a88e9
Fix: stream AI chat answers under ASGI ( #14803 )
2026-11-17 20:47:55 +00:00
shamoon
bfd0d7fe36
Bump version to 3.5.0
2026-11-16 19:20:01 -08:00
github-actions[bot] and Crowdin Bot
48c7a11195
New Crowdin translations by GitHub Action ( #14761 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-17 03:11:47 +00:00
GitHub Actions
9ba98d1cb3
Auto translate strings
2026-11-17 00:25:18 +00:00
shamoon
de75249e51
Chorehancement: move all bulk operations to async hand-off ( #14773 )
2026-11-17 00:23:44 +00:00
GitHub Actions
28bb63824f
Auto translate strings
2026-11-16 15:29:38 +00:00
Trenton H
64bf7f8457
Fix: use a constant password mask and consolidate the no-change check ( #14784 )
...
Return a constant 10 character mask instead.
Move ObfuscatedPasswordField into paperless/fields.py so core no longer
imports it from paperless_mail, and add is_obfuscated_password() to
replace the five checks
2026-11-16 15:28:13 +00:00
Trenton H
c177c13acf
Fix: use a PostgreSQL-compatible regex for scheduled workflow filename filters ( #14783 )
...
* Fix: use a PostgreSQL-compatible regex for scheduled workflow filename filters
* Tests for the translation layer
2026-11-16 06:42:34 -08:00
shamoon
d31110278b
Fix: ensure ownership for manual WF runs ( #14762 )
2026-11-13 21:13:34 +00:00
github-actions[bot] and Crowdin Bot
1f2faaec86
New Crowdin translations by GitHub Action ( #14683 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-13 09:36:19 -08:00
shamoon
30e95a6d28
Fix migration
2026-11-13 09:20:47 -08:00
GitHub Actions
6b15d625ed
Auto translate strings
2026-11-13 17:10:14 +00:00
shamoon
8c50a5ee7b
Merge branch 'dev' into feature/ocr-templates
2026-11-13 09:09:39 -08:00
Johannes Hager and shamoon
b63ea77543
Enhancement: render document notes as markdown ( #14626 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-11-13 09:08:20 -08:00
GitHub Actions
bfd5628dcc
Auto translate strings
2026-11-12 21:29:27 +00:00
shamoon
3dbeca603e
Feature: manual workflow trigger ( #14704 )
2026-11-12 13:28:10 -08:00
Trenton H
62d729e301
Fix: Allow AI chat filters over more than 32700 documents ( #14754 )
2026-11-12 12:08:59 -08:00
Trenton H
a1d76f3a19
Fix: Enforce CRLF when writing an email message to the file ( #14745 )
2026-11-12 00:18:43 +00:00