126 Commits

Author SHA1 Message Date
lufi
0406fca59b
Enhancement: include current filename placeholder in workflows (#8319)
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-12-03 03:09:27 +00:00
shamoon
1d65628132
Feature: email, webhook workflow actions (#8108) 2024-12-03 00:12:40 +00:00
shamoon
0fc1860d4c
Enhancement: use stable unique IDs for custom field select options (#8299) 2024-12-02 04:15:38 +00:00
shamoon
2b29233a1e
Feature: scheduled workflow trigger (#8036) 2024-11-24 18:22:31 +00:00
shamoon
8bfe68743d
Enhancement: support owner permissions for file tasks (#8195) 2024-11-20 20:25:53 +00:00
shamoon
36ecb8587d
Fix: prevent duplicate workflow runs (#8268) 2024-11-13 07:18:21 -08:00
Trenton H
335c6c3820
Fix: Update filename correctly if the document is in the trash (#8066)
* Fixes an issue where the filename is not updated if the document is in the trash (but the file is moved)
2024-10-28 02:45:31 +00:00
shamoon
0d96cd03d5
Fix: disable custom field signals during import in 2.13.0 (#8065) 2024-10-27 18:43:24 -07:00
shamoon
149d770ad1
Enhancement: auto-update document filenames with CF select fields (#8045) 2024-10-27 23:45:21 +00:00
shamoon
6292296876
Fix: trigger move and rename after custom fields saved (#7927) 2024-10-15 10:08:50 -07:00
shamoon
dcc8d4046a
Chore: Unify workflow logic (#7880) 2024-10-10 20:28:44 +00:00
Trenton H
e6f59472e4
Chore: Drop Python 3.9 support (#7774) 2024-09-26 12:22:24 -07:00
shamoon
0af2b967e4
Fix: wait to apply tag changes until other changes saved with multiple workflows (#7711) 2024-09-16 01:26:24 +00:00
shamoon
6defe24ae7
Fix: always update document modified property on bulk edit operations (#7079) 2024-06-23 12:11:24 -07:00
shamoon
a796e58a94
Feature: documents trash aka soft delete (#6944) 2024-06-17 08:07:08 -07:00
Trenton H
6d4897a1b8
Refresh the document instance before doing workflow work, in case some other process has updated it (#6849) 2024-05-28 12:56:40 -07:00
shamoon
4af8070450
Feature: PDF actions - merge, split & rotate (#6094) 2024-03-25 18:41:24 -07:00
shamoon
f07441a408
Feature: workflow removal action (#5928)
---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2024-03-04 17:37:42 +00:00
Trenton H
c57c1d5389
Fix: Clear metadata cache when the filename(s) change (#5957)
* Update doc modified time upon move and rename

* Clear the cached metadata if the filename(s) have been changed

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-02-29 10:34:15 -08:00
shamoon
6bd5c34b54
Fix: handle title placeholder for docs without original_filename (#5828) 2024-02-25 17:45:35 -08:00
Trenton H
b60e16fe33
Chore: Backend dependencies update (#5676) 2024-02-08 09:48:24 -08:00
Trenton H
4813a7bc70
Chore: Adds additional rules for Ruff linter (#5660) 2024-02-05 21:46:59 +00:00
shamoon
5881f05dbc
Change workflow permissions assignment to merge (#5496) 2024-01-22 16:34:16 -08:00
Trenton H
4dbf8d7969 Reapply #5304 fix 2024-01-12 13:19:24 -08:00
shamoon
6d5f4e92cc
Enhancement: title assignment placeholder error handling, fallback (#5282) 2024-01-10 10:18:55 -08:00
luzpaz
58bf9c552b
Documentation: Fix typos with automated tool (#5319)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-08 16:58:41 +00:00
shamoon
c64667d396
Fix: workflow assignment of customfield fails if field exists in v2.3.1 (#5302) 2024-01-07 22:27:57 +00:00
Trenton H
2b39697ffb
Fixes usages of UTC datetime instead of local datetime (#5304) 2024-01-07 13:57:40 -08:00
shamoon
3b6ce16f1c
Feature: Workflows (#5121) 2024-01-03 08:19:19 +00:00
Trenton H
612e6341a3
Ensures all old connections are closed in certain longer running locations (#4265) 2023-09-25 12:52:22 -07:00
Trenton Holmes
d376f9e7a3 Adding more typing around the classification and matching 2023-07-26 07:03:43 -07:00
Trenton H
70f3f98363 Let ruff autofix some things from the newest version 2023-06-13 20:15:18 -07:00
Trenton Holmes
b7577038a0 Replace usages of os.rename with shutil.move to properly handle cases where the source and dest arent't on the same filesystem 2023-05-01 07:28:52 -07:00
Moritz 'e1mo' Fromm
2674d4f034
Fix MixedContentTypeError in add_inbox_tags handler
The fact that Tags were fetched while the `view_documenttype` permission
was validated caused a MixedContentTypeError, thus the document
consumptio to fail because the list of available tags could not be
fetched.
2023-04-27 18:15:05 +02:00
shamoon
15fb3e5328 Remove debug line 2023-04-27 01:24:22 -07:00
Trenton H
6f163111ce Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
shamoon
de5689f5b2 Update paperlesstask on hard consumption failures 2023-04-09 20:40:16 -07:00
Trenton H
ce41ac9158 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
Trenton H
3c2bbf244d Creates a data model for the document consumption, allowing stronger typing of arguments and setting of some information about the file only once 2023-04-01 11:05:34 -07:00
Trenton H
abc58000b4 Moves the renaming ttask into the serialiser update instead of post_save. Feels more correct 2023-02-18 12:19:33 -08:00
Trenton H
5e3ef94697 Moves the renaming triggered from a storage path change to be a background task 2023-02-18 12:19:33 -08:00
Trenton H
857944aabe When a StoragePath is changed, check if related documents require a rename 2023-02-18 12:19:33 -08:00
Trenton Holmes
efaa1c4dd7 Fixes minor depracation I noticed 2023-01-11 07:52:58 -08:00
Trenton H
97d6503fef Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00
Trenton H
a1a802fc92 Don't silence an exception when trying to handle file naming 2022-11-28 13:44:17 -08:00
Trenton H
7e3e0a0fa6 Refresh the instance from the database before doing any file handling with it 2022-11-03 11:32:27 -07:00
Trenton H
a72cc5da83 Connects up the celery signals to support pending, started and success/failure, without relying on django-celery-results 2022-10-24 09:10:10 -07:00
Trenton H
fad1b03458 Finalizes what the PaperlessTask will look like to the frontend 2022-09-27 12:44:01 -07:00
Trenton Holmes
9247300230 Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
Trenton Holmes
c8e838e3a0 Adds the storage paths to the re-tagger command 2022-08-21 18:01:19 -07:00