stumpylog
ef4e3d31ef
feat(tasks): replace PaperlessTask model with structured redesign
...
Drop the old string-based PaperlessTask table and recreate it with
Status/TaskType/TriggerSource enums, JSONField result storage, and
duration tracking fields. Update all call sites to use the new API.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-15 18:34:34 -07:00
shamoon
8f036c9521
Merge branch 'main' into dev
...
# Conflicts:
# docs/usage.md
# src/documents/signals/handlers.py
# src/documents/tests/test_api_documents.py
# src/documents/views.py
2026-04-14 15:11:23 -07:00
Trenton H
aed9abe48c
Feature: Replace Whoosh with tantivy search backend ( #12471 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
Co-authored-by: Antoine Mérino <3023499+Merinorus@users.noreply.github.com >
2026-04-02 12:38:22 -07:00
shamoon
2f5bcdf66e
Fix: dont defer tag change application in workflows ( #12478 )
2026-04-02 11:54:37 -07:00
shamoon
0f84af27d0
Merge branch 'main' into dev
...
# Conflicts:
# docs/setup.md
# src-ui/src/main.ts
# src/documents/tests/test_api_bulk_edit.py
# src/documents/tests/test_api_custom_fields.py
# src/documents/tests/test_api_search.py
# src/documents/tests/test_api_status.py
# src/documents/tests/test_workflows.py
# src/paperless_mail/tests/test_api.py
2026-03-21 02:12:19 -07:00
Trenton H
0f7c02de5e
Fix: test: add regression test for workflow save clobbering filename ( #12390 )
...
Add test_workflow_document_updated_does_not_overwrite_filename to
verify that run_workflows (DOCUMENT_UPDATED path) does not revert a
DB filename that was updated by a concurrent bulk_update_documents
task's update_filename_and_move_files call.
The test replicates the race window by:
- Updating the DB filename directly (simulating BUD-1 completing)
- Mocking refresh_from_db so the stale in-memory filename persists
- Asserting the DB filename is not clobbered after run_workflows
Relates to: https://github.com/paperless-ngx/paperless-ngx/issues/12386
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-18 13:31:09 -07:00
shamoon
b6501b0c47
Fix: avoid moving files if already moved ( #12389 )
2026-03-18 09:51:48 -07:00
shamoon
48cd1cce6a
Merge branch 'main' into dev
2026-03-15 18:50:42 -07:00
shamoon
60319c6d37
Fix: prevent stale db filename during workflow actions ( #12289 )
2026-03-09 19:32:46 -07:00
shamoon
df03207eef
Fix: correct doc version filename handling ( #12223 )
2026-03-04 23:28:07 +00:00
shamoon
d51a118aac
Merge branch 'main' into dev
2026-03-04 13:31:20 -08:00
shamoon
299dac21ee
Enhancement: “live” document updates ( #12141 )
2026-03-04 00:27:07 +00:00
shamoon
8b8307571a
Fix: enforce path limit for db filename fields ( #12235 )
2026-03-03 13:19:56 -08:00
Trenton H
43406f44f2
Feature: Improve the retagger output using rich ( #12194 )
2026-03-03 07:14:59 -08:00
shamoon
96ac7b2336
Tweak: Ignore version docs for workflows ( #12217 )
2026-03-02 08:21:14 -08:00
shamoon
ceee769e26
Feature: document file versions ( #12061 )
2026-02-26 16:46:54 +00:00
Jan Kleine
c4ea332c61
Feature: move to trash action for workflows ( #11176 )
...
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-02-23 16:42:50 -08:00
Trenton H
6a87c3f4dd
Fixes handling the case where there is no status reported from celery (due to external termination of the worker) ( #12040 )
2026-02-08 17:26:35 -08:00
shamoon
e45fca475a
Feature: password removal workflow action ( #11665 )
2026-02-03 17:10:07 +00:00
Sebastian Steinbeißer
3b5ffbf9fa
Chore(mypy): Annotate None returns for typing improvements ( #11213 )
2026-02-02 08:44:12 -08:00
shamoon
742c136773
Fix: use explicit order field for workflow actions ( #11781 )
2026-01-16 07:39:00 -08:00
shamoon
055ce9172c
Fix: use explicit order field for workflow actions ( #11781 )
2026-01-15 22:49:21 +00:00
shamoon
9c0de249a6
Merge branch 'main' into dev
2026-01-13 11:53:40 -08:00
shamoon
7c457466b7
Security: prevent path traversal in storage paths
2026-01-13 09:29:48 -08:00
shamoon
e940764fe0
Feature: Paperless AI ( #10319 )
2026-01-13 16:24:42 +00:00
shamoon
3b4d958b97
Performance: avoid unnecessary filename operations on bulk custom field updates ( #11558 )
2025-12-12 07:50:51 -08:00
shamoon
66d363bdc5
Chore: refactor workflows code ( #11563 )
2025-12-11 12:13:10 -08:00
shamoon
0c43b50f01
Fix: change async handling of select custom field updates ( #11490 )
2025-11-30 03:54:15 +00:00
shamoon
cf5ac596ed
Performance: make move files after select custom field change async ( #11391 )
2025-11-19 15:21:33 +00:00
shamoon
b3d6359afc
Chore: set signal receivers with weak=False
2025-11-17 10:02:32 -08:00
Ed Bardsley
c5ad148dc7
Fix: include BASE_URL when constructing doc_url for workflows ( #11360 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2025-11-14 17:45:13 +00:00
shamoon
b12f1e757c
Fixhancement: refactor email attachment logic ( #11336 )
2025-11-14 17:28:46 +00:00
shamoon
a9dfe8f3f7
Fix: use original_file when attaching docs to workflow emails with added trigger ( #11266 )
2025-11-03 08:42:29 -08:00
Jan Kleine
340754d865
Enhancement: use friendly file names when emailing documents ( #11055 )
2025-10-15 17:10:25 +00:00
Jan Kleine
f0d1c75fac
Feature: add support for emailing multiple documents ( #10666 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2025-10-13 13:16:43 -07:00
shamoon
4cff907ba0
Feature: Nested Tags ( #10833 )
...
---------
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com >
2025-09-17 21:41:39 +00:00
shamoon
6730896894
Enhancement: support webhook restrictions ( #10555 )
2025-08-11 10:15:30 -07:00
Sebastian Steinbeißer
6dca4daea5
Chore: switch from os.path to pathlib.Path ( #10397 )
2025-08-06 10:50:42 -07:00
Antoine Mérino
0ea159683d
Performance: add setting to enable DB connection pooling for PostgreSQL ( #10354 )
...
---------
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com >
2025-08-02 12:54:13 +00:00
shamoon
f214440d2e
Fix: correct PAPERLESS_EMPTY_TRASH_DIR to Path ( #10227 )
2025-06-19 11:50:23 -07:00
shamoon
60ebdc0ad6
Fix: use hard delete for custom fields with workflow removal ( #10191 )
2025-06-16 07:09:22 -07:00
shamoon
15b1b83c66
Chore/fix: cleanup user or group references in settings upon deletion ( #10049 )
2025-05-29 19:05:48 +00:00
shamoon
1a6f32534c
Change: treat created as date not datetime ( #9793 )
2025-05-16 14:23:04 +00:00
shamoon
a57a3dbb30
Fix: do not try deleting original that was moved to trash dir ( #9684 )
2025-04-19 15:11:29 -07:00
shamoon
df5af5c8ad
Fix: correctly handle dict data with webhook ( #9674 )
2025-04-16 00:07:08 -07:00
shamoon
b9f7428f2f
Fix: include matching check for scheduled workflows ( #9594 )
2025-04-09 02:12:42 -07:00
shamoon
358db10fe3
Fix: ensure only matched scheduled workflows are applied ( #9580 )
2025-04-08 08:55:03 -07:00
shamoon
a8de26f88a
Fix: only overwrite existing cf values in workflow if set ( #9459 )
2025-03-23 17:25:15 -07:00
shamoon
7146a5f4fc
Fix: use correct filename with webhook ( #9392 )
2025-03-14 07:44:40 -07:00
shamoon
edc7181843
Enhancement: support assigning custom field values in workflows ( #9272 )
2025-03-05 12:30:19 -08:00