stumpylog
5865e96a06
Handles a bad client sending malformed JSON or non-int primary keys
2026-08-25 14:26:33 -07:00
Trenton Holmes
172af8362d
Perf: avoid per-instance CustomField reload in DocumentMetadataOverrides
...
send_websocket_document_updated calls document.refresh_from_db()
before building overrides, which drops the custom_fields prefetch
(and its select_related("field")) set up by the view's queryset.
DocumentMetadataOverrides.from_document() then lazily reloads field
once per custom field instance. Since from_document() can't rely on
the caller having a prefetched document, select_related explicitly at
the point of use instead.
2026-08-25 14:26:33 -07:00
Trenton Holmes
e46163bfdf
Perf: reuse resolved CustomField objects across drf-writable-nested's per-item revalidation
...
drf-writable-nested's update_or_create_reverse_relations rebuilds a
fresh serializer -- and fresh field instances -- per custom_fields item
while matching existing vs. new instances during save(), so the
per-instance lookup cache alone only helped the first validation pass.
It passes the same context dict (by reference) to every one of those
serializers, so stash resolved CustomField objects there instead:
later passes reuse them for free rather than re-querying.
2026-08-25 14:26:33 -07:00
Trenton Holmes
f8e5aea8dd
Perf: batch CustomField lookups when validating a document's custom_fields
...
DocumentSerializer.custom_fields validates each item's field id via a
plain PrimaryKeyRelatedField, which issues one SELECT per custom field
per validation pass (discussion #13690 ). Batch-resolve all field ids in
one query and cache them on the field instance so per-item validation
is free instead of re-querying.
2026-08-25 14:26:33 -07:00
shamoon
e24db7023a
Tweak: adjust brand leaf opacity
2026-08-25 10:44:49 -07:00
shamoon
f5ddc14588
Fix: also check global change_mailaccount with test
2026-08-25 10:44:49 -07:00
GitHub Actions
492424f7f2
Auto translate strings
2026-08-25 00:07:03 +00:00
shamoon and GitHub
cd525819d7
Tweak: more misc UI tweaks ( #13783 )
2026-08-24 17:05:29 -07:00
GitHub Actions
2609327e9c
Auto translate strings
2026-08-24 21:44:25 +00:00
shamoon and GitHub
b90ccf910f
Finally, the remote ocr workflow ( #13637 )
...
* Ok! Backend stuff for the remote ocr workflow
* Frotnend workflow stuff
* And docs
* Fix dynamic action fields thing
* Actually, fix the action dropdown thing
* Fix this validation thing, and we have to check existing actions
* Fix migration
2026-08-24 14:43:05 -07:00
shamoon and GitHub
c93c996edf
Remote ocr reprocess ( #13636 )
...
* Backend stuff for remote ocr reprocess, add to bulk edit pass in from ui settings
* Ok, frontend reprocess remote option
* Docs
2026-08-24 14:43:05 -07:00
shamoon and GitHub
7f1609332a
Allow parsers to declare uses remote, and remote ocr_mode ( #13634 )
...
* uses_remote_service + allow_remote to allow opt-in / out of remote OCR
* Add to parser dev docs
* remote_ocr_mode config setting
* Checks for remote_ocr_mode and fix import
* Update config.component.spec.ts
* More tests for remote_ocr_mode
* Docs for remote_ocr_mode
* Ok, wire up the remote_ocr_mode with allow_remote for consumer
* Update consumer.py
* Format remote OCR mode check tests
* Use get_choice_from_env
2026-08-24 14:43:04 -07:00
GitHub Actions
a1f20c9fe7
Auto translate strings
2026-08-24 21:19:19 +00:00
shamoon and GitHub
4fd1c60731
Enhancement: support using remote OCR engines selectively ( #13633 )
...
* Backend changes and migration for remote OCR Config
* Backend tests
* Frontend stuff, with sections
* Docs
* Update test_tesseract_parser.py
* Actually we cant use this any more, in case settings are in app config
* Dont mark entire test file for db, use a mock for empty engine settings
2026-08-24 14:17:52 -07:00
GitHub Actions
ba83e5b39a
Auto translate strings
2026-08-24 18:28:51 +00:00
shamoon and GitHub
1497bd33a1
Fix: fix bottom mobile nav buttons on Android ( #13780 )
2026-08-24 11:27:26 -07:00
shamoon
01c40aa0bd
Tweak: subtler shadow, tweak against light color
2026-08-24 08:51:51 -07:00
shamoon
5f70b6eee7
Fix navbar button alignment + hover consistency
2026-08-24 08:47:27 -07:00
GitHub Actions
e3e4b26944
Auto translate strings
2026-08-24 15:16:51 +00:00
a0908f6b4a
Enhancement: websocket heartbeat ( #13739 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-08-24 15:15:21 +00:00
bab9129ff8
Fix: lazy import guardian modules to fix search language setting ( #13768 )
...
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com >
2026-08-24 13:46:20 +00:00
GitHub Actions
1e13f86174
Auto translate strings
2026-08-24 09:13:06 +00:00
shamoon and GitHub
22c57fb392
Enhancement: more v3 ui tweaks ( #13774 )
2026-08-24 02:11:34 -07:00
GitHub Actions
08a7f6ccc0
Auto translate strings
2026-08-24 04:56:30 +00:00
shamoon and GitHub
3f4d327f64
Chore: add some missing UI accessibility labels ( #13772 )
2026-08-23 21:55:07 -07:00
GitHub Actions
bd326540fa
Auto translate strings
2026-08-24 02:43:34 +00:00
shamoon and GitHub
33f9adb05a
Chore: refactor permission checkbox live changes ( #13771 )
2026-08-23 19:42:18 -07:00
shamoon and GitHub
d24606a03b
Tweak: better support long list of views in documents list ( #13769 )
2026-08-23 16:40:55 -07:00
shamoon and GitHub
294328f174
Fix: version indexing fixes ( #13737 )
2026-08-23 23:04:47 +00:00
shamoon and GitHub
0458bad5f2
Fix: append charset to file response for text files ( #13759 )
2026-08-22 06:15:53 -07:00
shamoon
a510d03c77
Merge branch 'main' into dev
2026-08-22 05:27:10 -07:00
shamoon and GitHub
d7b3612a41
Chore: pin Apache Tika images to 3.3.1 ( #13758 )
2026-08-22 05:25:37 -07:00
shamoon and GitHub
7e4a644714
Fix: align bulk edit perms with document model ( #13757 )
2026-08-22 05:24:16 -07:00
GitHub Actions
bbcd6af2fe
Auto translate strings
2026-08-21 15:25:24 +00:00
shamoon and GitHub
0431939f18
QoL: add count badge to versions dropdown ( #13753 )
2026-08-21 08:23:47 -07:00
shamoon and GitHub
bed95ea301
Tweakhancement: add jitter to IMAP polling schedule ( #13734 )
2026-08-20 17:19:47 +00:00
GitHub Actions
42034c3c77
Auto translate strings
2026-08-20 04:52:42 +00:00
shamoon and GitHub
705220fb5a
Fix: use selected version for doc detail emailing ( #13738 )
2026-08-19 21:51:13 -07:00
GitHub Actions
a424dace43
Auto translate strings
2026-08-19 18:20:04 +00:00
shamoon and GitHub
751299895e
Fix: hide version delete button without global perms ( #13735 )
2026-08-19 11:17:19 -07:00
Trenton H and GitHub
5f9bc5de88
Chore: Upgrade Docker image to Python 3.14 ( #13721 )
...
* Upgrades our base image to uv 0.12 branch and Python 3.14
* Upgrades our workflows to uv 0.12.x as well
* Updates these locked wheels too
2026-08-19 09:43:14 -07:00
f1c8a72f26
Enhancement: sync OIDC groups to superuser and staff roles ( #13060 )
...
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
Co-authored-by: SoleroTG <github-29h@solero.quietmail.eu >
Co-authored-by: stumpylog <797416+stumpylog@users.noreply.github.com >
2026-08-19 15:27:56 +00:00
GitHub Actions
fd3c525f03
Auto translate strings
2026-08-19 14:24:36 +00:00
shamoon and GitHub
e389298aab
Enhancement: merge documents as versions ( #13515 )
2026-08-19 07:20:14 -07:00
shamoon and GitHub
c5c5cc0b1d
Tweak: adjust modal proportions for small screens ( #13728 )
2026-08-18 19:34:18 -07:00
b17a512539
Refactor: render paperless_ai prompts via Jinja2 templates instead of f-strings ( #13698 )
...
* Refactor: render paperless_ai prompts via Jinja2 templates instead of f-strings
* Apply suggestions from code review
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-08-18 18:32:21 +00:00
shamoon
4cf027de40
Tweak: space out the side menu sub-nav a bit
2026-08-18 09:44:03 -07:00
shamoon
41953c7846
Chore: harden ImageMagick policy
2026-08-18 09:38:54 -07:00
e5abe5cf32
Chore(deps): Bump the uv group across 1 directory with 2 updates ( #13709 )
...
Bumps the uv group with 2 updates in the / directory: [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions ) and [sqlparse](https://github.com/andialbrecht/sqlparse ).
Updates `pymdown-extensions` from 11.0 to 11.0.1
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases )
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/11.0...11.0.1 )
Updates `sqlparse` from 0.5.5 to 0.6.0
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.5.5...0.6.0 )
---
updated-dependencies:
- dependency-name: pymdown-extensions
dependency-version: 11.0.1
dependency-type: indirect
- dependency-name: sqlparse
dependency-version: 0.6.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-18 15:11:24 +00:00
shamoon and GitHub
643d0205bc
Fix: dont re-render path template when checking collisions ( #13718 )
2026-08-18 07:19:51 -07:00