mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
Enhancement: Allow excluding mail attachments by name (#4691)
* Adds new filtering to exclude attachments from processing * Frontend use include / exclude mail rule filename filters --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
1b69b89d2d
commit
6e371ac5ac
14 changed files with 189 additions and 45 deletions
|
|
@ -23,7 +23,8 @@ const mail_rules = [
|
|||
filter_to: null,
|
||||
filter_subject: null,
|
||||
filter_body: null,
|
||||
filter_attachment_filename: null,
|
||||
filter_attachment_filename_include: null,
|
||||
filter_attachment_filename_exclude: null,
|
||||
maximum_age: 30,
|
||||
attachment_type: MailFilterAttachmentType.Everything,
|
||||
action: MailAction.MarkRead,
|
||||
|
|
@ -40,7 +41,8 @@ const mail_rules = [
|
|||
filter_to: null,
|
||||
filter_subject: null,
|
||||
filter_body: null,
|
||||
filter_attachment_filename: null,
|
||||
filter_attachment_filename_include: null,
|
||||
filter_attachment_filename_exclude: null,
|
||||
maximum_age: 30,
|
||||
attachment_type: MailFilterAttachmentType.Everything,
|
||||
action: MailAction.Delete,
|
||||
|
|
@ -57,7 +59,8 @@ const mail_rules = [
|
|||
filter_to: null,
|
||||
filter_subject: null,
|
||||
filter_body: null,
|
||||
filter_attachment_filename: null,
|
||||
filter_attachment_filename_include: null,
|
||||
filter_attachment_filename_exclude: null,
|
||||
maximum_age: 30,
|
||||
attachment_type: MailFilterAttachmentType.Everything,
|
||||
action: MailAction.Flag,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue