126 Commits

Author SHA1 Message Date
lufi
4d8c7a8f51 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
01a93f1908 Feature: email, webhook workflow actions (#8108) 2024-12-03 00:12:40 +00:00
shamoon
bdceefe3e9 Enhancement: use stable unique IDs for custom field select options (#8299) 2024-12-02 04:15:38 +00:00
shamoon
7f127475ca Feature: scheduled workflow trigger (#8036) 2024-11-24 18:22:31 +00:00
shamoon
91322724de Enhancement: support owner permissions for file tasks (#8195) 2024-11-20 20:25:53 +00:00
shamoon
b925d30a13 Fix: prevent duplicate workflow runs (#8268) 2024-11-13 07:18:21 -08:00
Trenton H
15db853c8a 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
417c33230d Fix: disable custom field signals during import in 2.13.0 (#8065) 2024-10-27 18:43:24 -07:00
shamoon
077afd0593 Enhancement: auto-update document filenames with CF select fields (#8045) 2024-10-27 23:45:21 +00:00
shamoon
808ba4cb68 Fix: trigger move and rename after custom fields saved (#7927) 2024-10-15 10:08:50 -07:00
shamoon
148b3a49e6 Chore: Unify workflow logic (#7880) 2024-10-10 20:28:44 +00:00
Trenton H
e3bc680bf1 Chore: Drop Python 3.9 support (#7774) 2024-09-26 12:22:24 -07:00
shamoon
a0c8caca4e Fix: wait to apply tag changes until other changes saved with multiple workflows (#7711) 2024-09-16 01:26:24 +00:00
shamoon
adc035148b Fix: always update document modified property on bulk edit operations (#7079) 2024-06-23 12:11:24 -07:00
shamoon
e9ba6de03e Feature: documents trash aka soft delete (#6944) 2024-06-17 08:07:08 -07:00
Trenton H
2cc5b7b766 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
17e53dd020 Feature: PDF actions - merge, split & rotate (#6094) 2024-03-25 18:41:24 -07:00
shamoon
5bfb03de59 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
4f00060197 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
9546574b44 Fix: handle title placeholder for docs without original_filename (#5828) 2024-02-25 17:45:35 -08:00
Trenton H
ec0b0d0de4 Chore: Backend dependencies update (#5676) 2024-02-08 09:48:24 -08:00
Trenton H
9943f36be3 Chore: Adds additional rules for Ruff linter (#5660) 2024-02-05 21:46:59 +00:00
shamoon
f175c1db25 Change workflow permissions assignment to merge (#5496) 2024-01-22 16:34:16 -08:00
Trenton H
7c0a98ae13 Reapply #5304 fix 2024-01-12 13:19:24 -08:00
shamoon
aabe4c48fc Enhancement: title assignment placeholder error handling, fallback (#5282) 2024-01-10 10:18:55 -08:00
luzpaz
97f4690236 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
a9b846fdc2 Fix: workflow assignment of customfield fails if field exists in v2.3.1 (#5302) 2024-01-07 22:27:57 +00:00
Trenton H
28fe4b760b Fixes usages of UTC datetime instead of local datetime (#5304) 2024-01-07 13:57:40 -08:00
shamoon
1141b767a0 Feature: Workflows (#5121) 2024-01-03 08:19:19 +00:00
Trenton H
7291f11be7 Ensures all old connections are closed in certain longer running locations (#4265) 2023-09-25 12:52:22 -07:00
Trenton Holmes
e01eb0768c Adding more typing around the classification and matching 2023-07-26 07:03:43 -07:00
Trenton H
4504668cb2 Let ruff autofix some things from the newest version 2023-06-13 20:15:18 -07:00
Trenton Holmes
e34b8c4b1f 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
7c18f2086e 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
d553b386dd Remove debug line 2023-04-27 01:24:22 -07:00
Trenton H
aabcc9a1c4 Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00
shamoon
a91afc4bbe Update paperlesstask on hard consumption failures 2023-04-09 20:40:16 -07:00
Trenton H
d2c02b9102 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
Trenton H
36a6df0bae 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
facec31bad 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
aea79a1e9a Moves the renaming triggered from a storage path change to be a background task 2023-02-18 12:19:33 -08:00
Trenton H
c5aa4e7cf6 When a StoragePath is changed, check if related documents require a rename 2023-02-18 12:19:33 -08:00
Trenton Holmes
f0773b9807 Fixes minor depracation I noticed 2023-01-11 07:52:58 -08:00
Trenton H
5030a5212e Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00
Trenton H
8638b893b3 Don't silence an exception when trying to handle file naming 2022-11-28 13:44:17 -08:00
Trenton H
cce0d363e4 Refresh the instance from the database before doing any file handling with it 2022-11-03 11:32:27 -07:00
Trenton H
20b7287dc2 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
e8d237ac7c Finalizes what the PaperlessTask will look like to the frontend 2022-09-27 12:44:01 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
Trenton Holmes
b6060ff990 Adds the storage paths to the re-tagger command 2022-08-21 18:01:19 -07:00