diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 0f28ee783..2512e7d8e 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -346,8 +346,8 @@ 172 - - Consumption templates give you finer control over the document ingestion process. + + Workflows give you more control over the document pipeline. src/app/app.component.ts 180 @@ -852,12 +852,12 @@ 236 - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 47 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 112 - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 66 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 131 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -879,12 +879,12 @@ 246 - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 55 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 120 - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 74 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 139 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -909,8 +909,8 @@ 255 - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 80 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 145 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1013,10 +1013,6 @@ src/app/components/admin/users-groups/users-groups.component.html 63 - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 10 - src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html 9 @@ -1050,12 +1046,12 @@ 8 - src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html - 8 + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 10 - src/app/components/manage/consumption-templates/consumption-templates.component.html - 14 + src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html + 8 src/app/components/manage/custom-fields/custom-fields.component.html @@ -1101,6 +1097,10 @@ src/app/components/manage/management-list/management-list.component.html 41 + + src/app/components/manage/workflows/workflows.component.html + 14 +  Appears on @@ -1149,6 +1149,10 @@ src/app/components/admin/users-groups/users-groups.component.html 66 + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 64 + src/app/components/document-detail/document-detail.component.html 49 @@ -1157,10 +1161,6 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html 86 - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 17 - src/app/components/manage/custom-fields/custom-fields.component.html 16 @@ -1189,6 +1189,10 @@ src/app/components/manage/management-list/management-list.component.html 47 + + src/app/components/manage/workflows/workflows.component.html + 18 + Delete @@ -1208,6 +1212,14 @@ src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts 53 + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 46 + + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 88 + src/app/components/common/permissions-select/permissions-select.component.html 9 @@ -1224,10 +1236,6 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.html 142 - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 37 - src/app/components/manage/custom-fields/custom-fields.component.html 35 @@ -1276,6 +1284,10 @@ src/app/components/manage/management-list/management-list.component.ts 205 + + src/app/components/manage/workflows/workflows.component.html + 39 + No saved views defined. @@ -1290,10 +1302,6 @@ src/app/components/admin/settings/settings.component.html 337 - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 93 - src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html 25 @@ -1330,6 +1338,10 @@ src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.html 36 + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 167 + src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html 58 @@ -1716,10 +1728,6 @@ src/app/components/document-list/document-card-small/document-card-small.component.html 105 - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 32 - src/app/components/manage/custom-fields/custom-fields.component.html 30 @@ -1764,6 +1772,10 @@ src/app/components/manage/management-list/management-list.component.html 103 + + src/app/components/manage/workflows/workflows.component.html + 34 + Add Group @@ -1840,10 +1852,6 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.ts 500 - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 91 - src/app/components/manage/custom-fields/custom-fields.component.ts 73 @@ -1856,6 +1864,10 @@ src/app/components/manage/mail/mail.component.ts 173 + + src/app/components/manage/workflows/workflows.component.ts + 97 + Proceed @@ -1875,10 +1887,6 @@ src/app/components/document-list/bulk-editor/bulk-editor.component.ts 502 - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 93 - src/app/components/manage/custom-fields/custom-fields.component.ts 75 @@ -1891,6 +1899,10 @@ src/app/components/manage/mail/mail.component.ts 175 + + src/app/components/manage/workflows/workflows.component.ts + 99 + Deleted user @@ -2165,19 +2177,20 @@ 1 - - Consumption templates + + Workflows src/app/components/app-frame/app-frame.component.html 241 - - - Templates src/app/components/app-frame/app-frame.component.html 245 + + src/app/components/manage/workflows/workflows.component.html + 1 + Mail @@ -2426,278 +2439,6 @@ 57 - - Sort order - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 13 - - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 15 - - - - Filters - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 18 - - - - Process documents that match all filters specified below. - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 19 - - - - Filter sources - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 20 - - - - Filter filename - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 21 - - - - Apply to documents that match this filename. Wildcards such as *.pdf or *invoice* are allowed. Case insensitive. - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 21 - - - - Filter path - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 22 - - - - Apply to documents that match this path. Wildcards specified as * are allowed. Case insensitive.</a> - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 22 - - - - Filter mail rule - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 23 - - - - Apply to documents consumed via this mail rule. - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 23 - - - - Assignments - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 28 - - - - Assign title - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 33 - - - - Can include some placeholders, see <a target='_blank' href='https://docs.paperless-ngx.com/usage/#consumption-templates'>documentation</a>. - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 33 - - - - Assign tags - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 34 - - - - Assign document type - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 35 - - - src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html - 35 - - - - Assign correspondent - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 36 - - - src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html - 38 - - - - Assign storage path - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 37 - - - - Assign custom fields - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 38 - - - - Assign owner - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 41 - - - - Assign view permissions - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 43 - - - - Assign edit permissions - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 62 - - - - Error - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 90 - - - src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html - 46 - - - src/app/components/common/toasts/toasts.component.html - 30 - - - - Cancel - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html - 92 - - - src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html - 24 - - - src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 15 - - - src/app/components/common/edit-dialog/document-type-edit-dialog/document-type-edit-dialog.component.html - 26 - - - src/app/components/common/edit-dialog/group-edit-dialog/group-edit-dialog.component.html - 16 - - - src/app/components/common/edit-dialog/mail-account-edit-dialog/mail-account-edit-dialog.component.html - 36 - - - src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html - 48 - - - src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html - 25 - - - src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html - 27 - - - src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.html - 35 - - - src/app/components/common/permissions-dialog/permissions-dialog.component.html - 22 - - - src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html - 57 - - - src/app/components/common/select-dialog/select-dialog.component.html - 12 - - - src/app/components/document-list/bulk-editor/bulk-editor.component.html - 6 - - - src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html - 20 - - - - Consume Folder - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.ts - 27 - - - - API Upload - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.ts - 31 - - - - Mail Fetch - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.ts - 35 - - - - Create new consumption template - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.ts - 92 - - - - Edit consumption template - - src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.ts - 96 - - Matching algorithm @@ -2755,6 +2496,69 @@ 18 + + Cancel + + src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html + 24 + + + src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html + 15 + + + src/app/components/common/edit-dialog/document-type-edit-dialog/document-type-edit-dialog.component.html + 26 + + + src/app/components/common/edit-dialog/group-edit-dialog/group-edit-dialog.component.html + 16 + + + src/app/components/common/edit-dialog/mail-account-edit-dialog/mail-account-edit-dialog.component.html + 36 + + + src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html + 48 + + + src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html + 25 + + + src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html + 27 + + + src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.html + 35 + + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 166 + + + src/app/components/common/permissions-dialog/permissions-dialog.component.html + 22 + + + src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html + 57 + + + src/app/components/common/select-dialog/select-dialog.component.html + 12 + + + src/app/components/document-list/bulk-editor/bulk-editor.component.html + 6 + + + src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html + 20 + + Create new correspondent @@ -3081,6 +2885,10 @@ src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html 28 + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 82 + Action is only performed when documents are consumed from the mail. Mails without attachments remain entirely untouched. @@ -3110,6 +2918,17 @@ 33 + + Assign document type + + src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html + 35 + + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 100 + + Assign correspondent from @@ -3117,6 +2936,17 @@ 36 + + Assign correspondent + + src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html + 38 + + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 101 + + Assign owner from rule @@ -3124,6 +2954,21 @@ 40 + + Error + + src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html + 46 + + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 164 + + + src/app/components/common/toasts/toasts.component.html + 30 + + Only process attachments @@ -3400,6 +3245,277 @@ 48 + + Sort order + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 13 + + + src/app/components/manage/workflows/workflows.component.html + 15 + + + + Enabled + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 16 + + + src/app/components/manage/workflows/workflows.component.html + 27 + + + + Triggers + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 22 + + + src/app/components/manage/workflows/workflows.component.html + 17 + + + + Trigger Workflow On: + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 28 + + + + Add Trigger + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 33 + + + + Apply Actions: + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 70 + + + + Add Action + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 75 + + + + Action type + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 94 + + + + Assign title + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 98 + + + + Can include some placeholders, see <a target='_blank' href='https://docs.paperless-ngx.com/usage/#workflows'>documentation</a>. + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 98 + + + + Assign tags + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 99 + + + + Assign storage path + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 102 + + + + Assign custom fields + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 103 + + + + Assign owner + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 106 + + + + Assign view permissions + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 108 + + + + Assign edit permissions + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 127 + + + + Trigger type + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 174 + + + + Trigger for documents that match all filters specified below. + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 175 + + + + Filter filename + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 178 + + + + Apply to documents that match this filename. Wildcards such as *.pdf or *invoice* are allowed. Case insensitive. + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 178 + + + + Filter sources + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 180 + + + + Filter path + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 181 + + + + Apply to documents that match this path. Wildcards specified as * are allowed. Case insensitive.</a> + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 181 + + + + Filter mail rule + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 182 + + + + Apply to documents consumed via this mail rule. + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 182 + + + + Has tags + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 187 + + + + Has correspondent + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 188 + + + + Has document type + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html + 189 + + + + Consume Folder + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 33 + + + + API Upload + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 37 + + + + Mail Fetch + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 41 + + + + Consumption + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 48 + + + + Document Added + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 52 + + + + Document Updated + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 56 + + + + Assignment + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 63 + + + + Create new workflow + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 127 + + + + Edit workflow + + src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts + 131 + + All @@ -3488,6 +3604,10 @@ src/app/components/common/input/select/select.component.html 11 + + src/app/components/common/input/switch/switch.component.html + 11 + src/app/components/common/input/text/text.component.html 9 @@ -3949,6 +4069,10 @@ src/app/components/common/toasts/toasts.component.html 28 + + src/app/components/manage/workflows/workflows.component.html + 16 + Copy Raw Error @@ -5505,76 +5629,6 @@ 88 - - Consumption Templates - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 1 - - - - Add Template - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 6 - - - - Document Sources - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 16 - - - - No templates defined. - - src/app/components/manage/consumption-templates/consumption-templates.component.html - 45 - - - - Saved template "". - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 73 - - - - Error saving template. - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 81 - - - - Confirm delete template - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 89 - - - - This operation will permanently delete this template. - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 90 - - - - Deleted template - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 99 - - - - Error deleting template. - - src/app/components/manage/consumption-templates/consumption-templates.component.ts - 104 - - correspondent @@ -6072,6 +6126,69 @@ 53 + + Add Workflow + + src/app/components/manage/workflows/workflows.component.html + 6 + + + + Disabled + + src/app/components/manage/workflows/workflows.component.html + 27 + + + + No workflows defined. + + src/app/components/manage/workflows/workflows.component.html + 47 + + + + Saved workflow "". + + src/app/components/manage/workflows/workflows.component.ts + 79 + + + + Error saving workflow. + + src/app/components/manage/workflows/workflows.component.ts + 87 + + + + Confirm delete workflow + + src/app/components/manage/workflows/workflows.component.ts + 95 + + + + This operation will permanently delete this workflow. + + src/app/components/manage/workflows/workflows.component.ts + 96 + + + + Deleted workflow + + src/app/components/manage/workflows/workflows.component.ts + 105 + + + + Error deleting workflow. + + src/app/components/manage/workflows/workflows.component.ts + 110 + + Not Found diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.html b/src-ui/src/app/components/manage/workflows/workflows.component.html index be5afa693..f4fb3b328 100644 --- a/src-ui/src/app/components/manage/workflows/workflows.component.html +++ b/src-ui/src/app/components/manage/workflows/workflows.component.html @@ -13,7 +13,7 @@
Name
Sort order
-
Enabled
+
Status
Triggers
Actions