136 Commits

Author SHA1 Message Date
shamoon
c4b53d3006
Try use celery task with retry for webhook 2024-12-01 17:47:10 -08:00
shamoon
3aac710a26
small refactor 2024-12-01 17:16:43 -08:00
shamoon
6b36ee7819
Use discreet model for email / webhook 2024-11-25 21:27:58 -08:00
shamoon
69a4331d99
setup placeholder vars once 2024-11-25 21:27:58 -08:00
shamoon
553eb54317
Pass mime_type with files 2024-11-25 21:27:57 -08:00
shamoon
02ff7bd55e
Allow webhook body 2024-11-25 21:27:57 -08:00
shamoon
6d4f102696
update param / header parsing 2024-11-25 21:27:56 -08:00
shamoon
76672b0760
Split actions into email + webhook 2024-11-25 21:27:49 -08:00
shamoon
93a58da426
Testing, for now 2024-11-25 21:27:49 -08:00
shamoon
e9e19235aa
Basic templating 2024-11-25 21:27:49 -08:00
shamoon
9066ac56f4
Basic append doc_url 2024-11-25 21:27:48 -08:00
shamoon
8d76654ff6
Support specify webhook headers 2024-11-25 21:27:48 -08:00
shamoon
c4d59e0e77
Messing around with notification action to start 2024-11-25 21:27:48 -08: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