Trenton Holmes
0a466c9fcf
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-23 17:12:25 -07:00
Trenton Holmes
c9cc4f427d
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-23 14:53:46 -07: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
GitHub Actions
2865a095b0
Auto translate strings
2026-08-18 07:52:35 +00:00
shamoon and GitHub
f0eb77c405
Chore: update, reorg some npm deps ( #13716 )
2026-08-18 00:50:58 -07:00
shamoon and GitHub
e5cc7c6c40
Chore: complete pnpm 11 switch on ci ( #13713 )
2026-08-18 00:19:49 -07:00
shamoon and GitHub
f2806179a2
Fix: DocumentClassifierSchema bounds ( #13707 )
2026-08-17 09:58:35 -07:00
shamoon
36c736a9f9
Drop this
2026-08-16 20:13:35 -07:00
GitHub Actions
be35079d54
Auto translate strings
2026-08-16 23:06:11 +00:00
shamoon
a75465b734
Fix: fix trash double-bottom border
2026-08-16 16:04:27 -07:00
shamoon
0af1e41753
Fix: fix modal create closing open dropdown
2026-08-16 15:51:36 -07:00
GitHub Actions
d88b281eb2
Auto translate strings
2026-08-16 06:14:38 +00:00
shamoon and GitHub
8446036777
Tweak: small visual tweaks / improvements & fixes ( #13700 )
2026-08-15 23:12:51 -07:00
shamoon and GitHub
8ad5e8cca3
Fix: remove shadow around attribute pages ( #13696 )
2026-08-15 11:32:23 -07:00
shamoon and GitHub
1606a46b53
Zen: correct dropdown corner radius visual defect ( #13695 )
2026-08-15 10:41:54 -07:00
shamoon and GitHub
f647f304da
Fix: handle Android keyboard popper overlay ( #13694 )
2026-08-15 09:42:59 -07:00
GitHub Actions
31746371f4
Auto translate strings
2026-08-14 22:53:12 +00:00
Trenton H and GitHub
0e5fbc973a
Enhancement: prefer existing tags, types, correspondents, and storage paths in AI suggestions ( #13676 )
...
AI Suggestions previously invented near-duplicate metadata because the classification
prompt had no knowledge of the installation's own taxonomy. This surfaces
a small, ranked, permission-filtered set of existing tags/document
types/correspondents/storage paths - drawn from the document's RAG
neighbors plus its own already-assigned metadata - so the model prefers
reusing what already exists.
The LLM response schema now returns existing_ids (IDs of reused
candidates) separately from new_names (genuinely new suggestions).
Only new_names goes through localization and fuzzy name-matching;
existing_ids is resolved deterministically and never touched by the
localization pass, so exact matches can no longer be silently
corrupted by translation.
2026-08-14 15:51:34 -07:00
GitHub Actions
3322c92837
Auto translate strings
2026-08-14 18:46:35 +00:00
shamoon and GitHub
db15c82804
Fix: only show create when there is text, hide set values if no fields in cf bulk edit dropdown ( #13688 )
2026-08-14 11:43:45 -07:00
Trenton H and GitHub
fe5d09a123
Fix: reopen a fresh Tantivy index per write to prevent orphaned segment files ( #13682 )
2026-08-14 16:21:15 +00:00
GitHub Actions
a0feb827c9
Auto translate strings
2026-08-14 15:38:40 +00:00
shamoon and GitHub
b599b13f72
Tweak: tweak permissions menu labels for shared user-dependent views ( #13685 )
2026-08-14 08:37:09 -07:00
GitHub Actions
01c12d9ea4
Auto translate strings
2026-08-13 19:48:40 +00:00
Max Truxa and GitHub
f5c0d118f7
Fix: fix validation of workflow title assignment ( #13659 )
2026-08-13 12:46:57 -07:00
ff13847d0a
Feature: Allow selection of compression type and and level during export ( #13661 )
...
* Feature: Allow configuring the compression type and compression levels during export
Building on the zip export improvements, this now allows users to further configure the
zip to fit their needs. A simple stored zip for speed, or a high compression zstd for
the smallest archive. Full validation of the method and levels at the command line
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-08-13 18:29:33 +00:00
shamoon and GitHub
634f803872
Fix: dont clip search dropdown on mobile ( #13675 )
2026-08-13 10:57:16 -07:00
GitHub Actions
639d566a7c
Auto translate strings
2026-08-13 16:50:00 +00:00
shamoon and GitHub
0a94f8f0d4
Fix: use proper signal for modal buttonsEnabled ( #13672 )
2026-08-13 09:48:23 -07:00
shamoon and GitHub
2d084983c8
Documentation: clarify OCR mode changes in v3 ( #13666 )
2026-08-12 21:46:52 -07:00