mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			a6e41b4145
			...
			feature-ma
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 7d74177c55 | 
| @@ -569,7 +569,7 @@ | |||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">76</context> |           <context context-type="linenumber">81</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html</context> | ||||||
| @@ -1453,7 +1453,7 @@ | |||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">75</context> |           <context context-type="linenumber">80</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html</context> | ||||||
| @@ -1736,7 +1736,7 @@ | |||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">83</context> |           <context context-type="linenumber">87</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context> |           <context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context> | ||||||
| @@ -3543,7 +3543,7 @@ | |||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">79</context> |           <context context-type="linenumber">83</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context> |           <context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context> | ||||||
| @@ -3890,18 +3890,11 @@ | |||||||
|           <context context-type="linenumber">113</context> |           <context context-type="linenumber">113</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="220550782947016929" datatype="html"> |  | ||||||
|         <source>Order</source> |  | ||||||
|         <context-group purpose="location"> |  | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |  | ||||||
|           <context context-type="linenumber">19</context> |  | ||||||
|         </context-group> |  | ||||||
|       </trans-unit> |  | ||||||
|       <trans-unit id="4816216590591222133" datatype="html"> |       <trans-unit id="4816216590591222133" datatype="html"> | ||||||
|         <source>Enabled</source> |         <source>Enabled</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">22</context> |           <context context-type="linenumber">19</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> | ||||||
| @@ -3916,155 +3909,176 @@ | |||||||
|           <context context-type="linenumber">41</context> |           <context context-type="linenumber">41</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|  |       <trans-unit id="220550782947016929" datatype="html"> | ||||||
|  |         <source>Order</source> | ||||||
|  |         <context-group purpose="location"> | ||||||
|  |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|  |           <context context-type="linenumber">24</context> | ||||||
|  |         </context-group> | ||||||
|  |       </trans-unit> | ||||||
|  |       <trans-unit id="1504364192557145528" datatype="html"> | ||||||
|  |         <source>Stop further processing</source> | ||||||
|  |         <context-group purpose="location"> | ||||||
|  |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|  |           <context context-type="linenumber">27</context> | ||||||
|  |         </context-group> | ||||||
|  |       </trans-unit> | ||||||
|  |       <trans-unit id="6164556674897067551" datatype="html"> | ||||||
|  |         <source>Stop processing further rules if this rule queues any document(s).</source> | ||||||
|  |         <context-group purpose="location"> | ||||||
|  |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|  |           <context context-type="linenumber">27</context> | ||||||
|  |         </context-group> | ||||||
|  |       </trans-unit> | ||||||
|       <trans-unit id="4348351765075925931" datatype="html"> |       <trans-unit id="4348351765075925931" datatype="html"> | ||||||
|         <source>Paperless will only process mails that match <x id="START_EMPHASISED_TEXT" ctype="x-em" equiv-text="<em>"/>all<x id="CLOSE_EMPHASISED_TEXT" ctype="x-em" equiv-text="</em>"/> of the criteria specified below.</source> |         <source>Paperless will only process mails that match <x id="START_EMPHASISED_TEXT" ctype="x-em" equiv-text="<em>"/>all<x id="CLOSE_EMPHASISED_TEXT" ctype="x-em" equiv-text="</em>"/> of the criteria specified below.</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">27</context> |           <context context-type="linenumber">32</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7046259383943324039" datatype="html"> |       <trans-unit id="7046259383943324039" datatype="html"> | ||||||
|         <source>Folder</source> |         <source>Folder</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">29</context> |           <context context-type="linenumber">34</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="1391527525114848695" datatype="html"> |       <trans-unit id="1391527525114848695" datatype="html"> | ||||||
|         <source>Subfolders must be separated by a delimiter, often a dot ('.') or slash ('/'), but it varies by mail server.</source> |         <source>Subfolders must be separated by a delimiter, often a dot ('.') or slash ('/'), but it varies by mail server.</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">29</context> |           <context context-type="linenumber">34</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="101686279614365671" datatype="html"> |       <trans-unit id="101686279614365671" datatype="html"> | ||||||
|         <source>Maximum age (days)</source> |         <source>Maximum age (days)</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">30</context> |           <context context-type="linenumber">35</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="6925928412364847639" datatype="html"> |       <trans-unit id="6925928412364847639" datatype="html"> | ||||||
|         <source>Filter from</source> |         <source>Filter from</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">33</context> |           <context context-type="linenumber">38</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="8977094263269822022" datatype="html"> |       <trans-unit id="8977094263269822022" datatype="html"> | ||||||
|         <source>Filter to</source> |         <source>Filter to</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">34</context> |           <context context-type="linenumber">39</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="8497813481090627874" datatype="html"> |       <trans-unit id="8497813481090627874" datatype="html"> | ||||||
|         <source>Filter subject</source> |         <source>Filter subject</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">35</context> |           <context context-type="linenumber">40</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7314357616097563149" datatype="html"> |       <trans-unit id="7314357616097563149" datatype="html"> | ||||||
|         <source>Filter body</source> |         <source>Filter body</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">36</context> |           <context context-type="linenumber">41</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="559099472394646919" datatype="html"> |       <trans-unit id="559099472394646919" datatype="html"> | ||||||
|         <source>Consumption scope</source> |         <source>Consumption scope</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">42</context> |           <context context-type="linenumber">47</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="56643687972548912" datatype="html"> |       <trans-unit id="56643687972548912" datatype="html"> | ||||||
|         <source>See docs for .eml processing requirements</source> |         <source>See docs for .eml processing requirements</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">42</context> |           <context context-type="linenumber">47</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7093509971705471817" datatype="html"> |       <trans-unit id="7093509971705471817" datatype="html"> | ||||||
|         <source>Attachment type</source> |         <source>Attachment type</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">43</context> |           <context context-type="linenumber">48</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="3842519365862452117" datatype="html"> |       <trans-unit id="3842519365862452117" datatype="html"> | ||||||
|         <source>PDF layout</source> |         <source>PDF layout</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">44</context> |           <context context-type="linenumber">49</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="2873939123535615966" datatype="html"> |       <trans-unit id="2873939123535615966" datatype="html"> | ||||||
|         <source>Include only files matching</source> |         <source>Include only files matching</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">47</context> |           <context context-type="linenumber">52</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7233407036155150477" datatype="html"> |       <trans-unit id="7233407036155150477" datatype="html"> | ||||||
|         <source>Optional. Wildcards e.g. *.pdf or *invoice* allowed. Can be comma-separated list. Case insensitive.</source> |         <source>Optional. Wildcards e.g. *.pdf or *invoice* allowed. Can be comma-separated list. Case insensitive.</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">47</context> |           <context context-type="linenumber">52</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">48</context> |           <context context-type="linenumber">53</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="1546332577833742677" datatype="html"> |       <trans-unit id="1546332577833742677" datatype="html"> | ||||||
|         <source>Exclude files matching</source> |         <source>Exclude files matching</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">48</context> |           <context context-type="linenumber">53</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="9216117865911519658" datatype="html"> |       <trans-unit id="9216117865911519658" datatype="html"> | ||||||
|         <source>Action</source> |         <source>Action</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">54</context> |           <context context-type="linenumber">59</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7841986067387421166" datatype="html"> |       <trans-unit id="7841986067387421166" datatype="html"> | ||||||
|         <source>Only performed if the mail is processed.</source> |         <source>Only performed if the mail is processed.</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">54</context> |           <context context-type="linenumber">59</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="1261794314435932203" datatype="html"> |       <trans-unit id="1261794314435932203" datatype="html"> | ||||||
|         <source>Action parameter</source> |         <source>Action parameter</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">56</context> |           <context context-type="linenumber">61</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="6093797930511670257" datatype="html"> |       <trans-unit id="6093797930511670257" datatype="html"> | ||||||
|         <source>Assign title from</source> |         <source>Assign title from</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">58</context> |           <context context-type="linenumber">63</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="5232720756589450549" datatype="html"> |       <trans-unit id="5232720756589450549" datatype="html"> | ||||||
|         <source>Assign owner from rule</source> |         <source>Assign owner from rule</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">59</context> |           <context context-type="linenumber">64</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="6695990587380209737" datatype="html"> |       <trans-unit id="6695990587380209737" datatype="html"> | ||||||
|         <source>Assign document type</source> |         <source>Assign document type</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">63</context> |           <context context-type="linenumber">68</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> | ||||||
| @@ -4075,14 +4089,14 @@ | |||||||
|         <source>Assign correspondent from</source> |         <source>Assign correspondent from</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">64</context> |           <context context-type="linenumber">69</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="4875491778188965469" datatype="html"> |       <trans-unit id="4875491778188965469" datatype="html"> | ||||||
|         <source>Assign correspondent</source> |         <source>Assign correspondent</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">66</context> |           <context context-type="linenumber">71</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> | ||||||
| @@ -4093,7 +4107,7 @@ | |||||||
|         <source>Error</source> |         <source>Error</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html</context> | ||||||
|           <context context-type="linenumber">73</context> |           <context context-type="linenumber">78</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context> | ||||||
| @@ -4384,7 +4398,7 @@ | |||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">125</context> |           <context context-type="linenumber">129</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html</context> |           <context context-type="sourcefile">src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html</context> | ||||||
| @@ -4984,11 +4998,18 @@ | |||||||
|           <context context-type="linenumber">72</context> |           <context context-type="linenumber">72</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|  |       <trans-unit id="235571817610183244" datatype="html"> | ||||||
|  |         <source>Web UI</source> | ||||||
|  |         <context-group purpose="location"> | ||||||
|  |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|  |           <context context-type="linenumber">76</context> | ||||||
|  |         </context-group> | ||||||
|  |       </trans-unit> | ||||||
|       <trans-unit id="3553216189604488439" datatype="html"> |       <trans-unit id="3553216189604488439" datatype="html"> | ||||||
|         <source>Modified</source> |         <source>Modified</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">87</context> |           <context context-type="linenumber">91</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/data/document.ts</context> |           <context context-type="sourcefile">src/app/data/document.ts</context> | ||||||
| @@ -4999,70 +5020,70 @@ | |||||||
|         <source>Custom Field</source> |         <source>Custom Field</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">91</context> |           <context context-type="linenumber">95</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="8696908693776094667" datatype="html"> |       <trans-unit id="8696908693776094667" datatype="html"> | ||||||
|         <source>Consumption Started</source> |         <source>Consumption Started</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">98</context> |           <context context-type="linenumber">102</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7858311467093621703" datatype="html"> |       <trans-unit id="7858311467093621703" datatype="html"> | ||||||
|         <source>Document Added</source> |         <source>Document Added</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">102</context> |           <context context-type="linenumber">106</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7955486237346046731" datatype="html"> |       <trans-unit id="7955486237346046731" datatype="html"> | ||||||
|         <source>Document Updated</source> |         <source>Document Updated</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">106</context> |           <context context-type="linenumber">110</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="9172233176401579786" datatype="html"> |       <trans-unit id="9172233176401579786" datatype="html"> | ||||||
|         <source>Scheduled</source> |         <source>Scheduled</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">110</context> |           <context context-type="linenumber">114</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="5502398334173581061" datatype="html"> |       <trans-unit id="5502398334173581061" datatype="html"> | ||||||
|         <source>Assignment</source> |         <source>Assignment</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">117</context> |           <context context-type="linenumber">121</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="6234812824772766804" datatype="html"> |       <trans-unit id="6234812824772766804" datatype="html"> | ||||||
|         <source>Removal</source> |         <source>Removal</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">121</context> |           <context context-type="linenumber">125</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="4206419737792796794" datatype="html"> |       <trans-unit id="4206419737792796794" datatype="html"> | ||||||
|         <source>Webhook</source> |         <source>Webhook</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">129</context> |           <context context-type="linenumber">133</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="3138206142174978019" datatype="html"> |       <trans-unit id="3138206142174978019" datatype="html"> | ||||||
|         <source>Create new workflow</source> |         <source>Create new workflow</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">225</context> |           <context context-type="linenumber">229</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="5996779210524133604" datatype="html"> |       <trans-unit id="5996779210524133604" datatype="html"> | ||||||
|         <source>Edit workflow</source> |         <source>Edit workflow</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> |           <context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts</context> | ||||||
|           <context context-type="linenumber">229</context> |           <context context-type="linenumber">233</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7376342558017986274" datatype="html"> |       <trans-unit id="7376342558017986274" datatype="html"> | ||||||
| @@ -9726,28 +9747,28 @@ | |||||||
|         <source>Connecting...</source> |         <source>Connecting...</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> |           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> | ||||||
|           <context context-type="linenumber">42</context> |           <context context-type="linenumber">43</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="1245343823699368872" datatype="html"> |       <trans-unit id="1245343823699368872" datatype="html"> | ||||||
|         <source>Uploading...</source> |         <source>Uploading...</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> |           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> | ||||||
|           <context context-type="linenumber">54</context> |           <context context-type="linenumber">55</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="7446520539098045935" datatype="html"> |       <trans-unit id="7446520539098045935" datatype="html"> | ||||||
|         <source>Upload complete, waiting...</source> |         <source>Upload complete, waiting...</source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> |           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> | ||||||
|           <context context-type="linenumber">57</context> |           <context context-type="linenumber">58</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="1405142710727603568" datatype="html"> |       <trans-unit id="1405142710727603568" datatype="html"> | ||||||
|         <source>HTTP error: <x id="PH" equiv-text="error.status"/> <x id="PH_1" equiv-text="error.statusText"/></source> |         <source>HTTP error: <x id="PH" equiv-text="error.status"/> <x id="PH_1" equiv-text="error.statusText"/></source> | ||||||
|         <context-group purpose="location"> |         <context-group purpose="location"> | ||||||
|           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> |           <context context-type="sourcefile">src/app/services/upload-documents.service.ts</context> | ||||||
|           <context context-type="linenumber">70</context> |           <context context-type="linenumber">71</context> | ||||||
|         </context-group> |         </context-group> | ||||||
|       </trans-unit> |       </trans-unit> | ||||||
|       <trans-unit id="2119857572761283468" datatype="html"> |       <trans-unit id="2119857572761283468" datatype="html"> | ||||||
|   | |||||||
| @@ -9,19 +9,24 @@ | |||||||
|   </div> |   </div> | ||||||
|   <div class="modal-body"> |   <div class="modal-body"> | ||||||
|     <div class="row"> |     <div class="row"> | ||||||
|       <div class="col-md-4"> |       <div class="col-md-6"> | ||||||
|         <pngx-input-text [horizontal]="true" i18n-title title="Name" formControlName="name" [error]="error?.name" autocomplete="off"></pngx-input-text> |         <pngx-input-text [horizontal]="true" i18n-title title="Name" formControlName="name" [error]="error?.name" autocomplete="off"></pngx-input-text> | ||||||
|       </div> |       </div> | ||||||
|       <div class="col-md-3"> |       <div class="col-md-4"> | ||||||
|         <pngx-input-select [horizontal]="true" i18n-title title="Account" [items]="accounts" formControlName="account"></pngx-input-select> |         <pngx-input-select [horizontal]="true" i18n-title title="Account" [items]="accounts" formControlName="account"></pngx-input-select> | ||||||
|       </div> |       </div> | ||||||
|       <div class="col-md-3"> |  | ||||||
|         <pngx-input-number [horizontal]="true" i18n-title title="Order" formControlName="order" [showAdd]="false" [error]="error?.order"></pngx-input-number> |  | ||||||
|       </div> |  | ||||||
|       <div class="col-md-2 pt-2"> |       <div class="col-md-2 pt-2"> | ||||||
|         <pngx-input-switch [horizontal]="true" i18n-title title="Enabled" formControlName="enabled"></pngx-input-switch> |         <pngx-input-switch [horizontal]="true" i18n-title title="Enabled" formControlName="enabled"></pngx-input-switch> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|  |     <div class="row"> | ||||||
|  |       <div class="col-md-6"> | ||||||
|  |         <pngx-input-number [horizontal]="true" i18n-title title="Order" formControlName="order" [showAdd]="false" [error]="error?.order"></pngx-input-number> | ||||||
|  |       </div> | ||||||
|  |       <div class="col-md-6"> | ||||||
|  |         <pngx-input-switch [horizontal]="true" i18n-title title="Stop further processing" formControlName="stop_processing" i18n-hint hint="Stop processing further rules if this rule queues any document(s)."></pngx-input-switch> | ||||||
|  |       </div> | ||||||
|  |     </div> | ||||||
|     <hr class="mt-0"/> |     <hr class="mt-0"/> | ||||||
|     <div class="row"> |     <div class="row"> | ||||||
|       <p class="small" i18n>Paperless will only process mails that match <em>all</em> of the criteria specified below.</p> |       <p class="small" i18n>Paperless will only process mails that match <em>all</em> of the criteria specified below.</p> | ||||||
|   | |||||||
| @@ -221,6 +221,7 @@ export class MailRuleEditDialogComponent extends EditDialogComponent<MailRule> { | |||||||
|       ), |       ), | ||||||
|       assign_correspondent: new FormControl(null), |       assign_correspondent: new FormControl(null), | ||||||
|       assign_owner_from_rule: new FormControl(true), |       assign_owner_from_rule: new FormControl(true), | ||||||
|  |       stop_processing: new FormControl(false), | ||||||
|     }) |     }) | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -84,4 +84,6 @@ export interface MailRule extends ObjectWithPermissions { | |||||||
|   assign_correspondent?: number // PaperlessCorrespondent.id |   assign_correspondent?: number // PaperlessCorrespondent.id | ||||||
|  |  | ||||||
|   assign_owner_from_rule: boolean |   assign_owner_from_rule: boolean | ||||||
|  |  | ||||||
|  |   stop_processing: boolean | ||||||
| } | } | ||||||
|   | |||||||
| @@ -33,6 +33,7 @@ const mail_rules = [ | |||||||
|     action: MailAction.MarkRead, |     action: MailAction.MarkRead, | ||||||
|     assign_title_from: MailMetadataTitleOption.FromSubject, |     assign_title_from: MailMetadataTitleOption.FromSubject, | ||||||
|     assign_owner_from_rule: true, |     assign_owner_from_rule: true, | ||||||
|  |     stop_processing: false, | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     name: 'Mail Rule 2', |     name: 'Mail Rule 2', | ||||||
| @@ -52,6 +53,7 @@ const mail_rules = [ | |||||||
|     action: MailAction.Delete, |     action: MailAction.Delete, | ||||||
|     assign_title_from: MailMetadataTitleOption.FromSubject, |     assign_title_from: MailMetadataTitleOption.FromSubject, | ||||||
|     assign_owner_from_rule: true, |     assign_owner_from_rule: true, | ||||||
|  |     stop_processing: false, | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     name: 'Mail Rule 3', |     name: 'Mail Rule 3', | ||||||
| @@ -71,6 +73,7 @@ const mail_rules = [ | |||||||
|     action: MailAction.Flag, |     action: MailAction.Flag, | ||||||
|     assign_title_from: MailMetadataTitleOption.FromSubject, |     assign_title_from: MailMetadataTitleOption.FromSubject, | ||||||
|     assign_owner_from_rule: false, |     assign_owner_from_rule: false, | ||||||
|  |     stop_processing: false, | ||||||
|   }, |   }, | ||||||
| ] | ] | ||||||
|  |  | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ class TestMigrateWorkflow(TestMigrations): | |||||||
|     dependencies = ( |     dependencies = ( | ||||||
|         ( |         ( | ||||||
|             "paperless_mail", |             "paperless_mail", | ||||||
|             "0029_mailrule_pdf_layout", |             "0030_mailrule_stop_processing", | ||||||
|         ), |         ), | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ msgid "" | |||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: paperless-ngx\n" | "Project-Id-Version: paperless-ngx\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2025-02-11 18:43-0800\n" | "POT-Creation-Date: 2025-02-24 09:00-0800\n" | ||||||
| "PO-Revision-Date: 2022-02-17 04:17\n" | "PO-Revision-Date: 2022-02-17 04:17\n" | ||||||
| "Last-Translator: \n" | "Last-Translator: \n" | ||||||
| "Language-Team: English\n" | "Language-Team: English\n" | ||||||
| @@ -89,20 +89,20 @@ msgstr "" | |||||||
| msgid "Automatic" | msgid "Automatic" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:67 documents/models.py:433 documents/models.py:1498 | #: documents/models.py:67 documents/models.py:433 documents/models.py:1502 | ||||||
| #: paperless_mail/models.py:23 paperless_mail/models.py:143 | #: paperless_mail/models.py:23 paperless_mail/models.py:143 | ||||||
| msgid "name" | msgid "name" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:69 documents/models.py:1085 | #: documents/models.py:69 documents/models.py:1086 | ||||||
| msgid "match" | msgid "match" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:72 documents/models.py:1088 | #: documents/models.py:72 documents/models.py:1089 | ||||||
| msgid "matching algorithm" | msgid "matching algorithm" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:77 documents/models.py:1093 | #: documents/models.py:77 documents/models.py:1094 | ||||||
| msgid "is insensitive" | msgid "is insensitive" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -256,7 +256,7 @@ msgid "The position of this document in your physical document archive." | |||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:295 documents/models.py:737 documents/models.py:791 | #: documents/models.py:295 documents/models.py:737 documents/models.py:791 | ||||||
| #: documents/models.py:1541 | #: documents/models.py:1545 | ||||||
| msgid "document" | msgid "document" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -276,7 +276,7 @@ msgstr "" | |||||||
| msgid "warning" | msgid "warning" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:387 paperless_mail/models.py:363 | #: documents/models.py:387 paperless_mail/models.py:371 | ||||||
| msgid "error" | msgid "error" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -320,11 +320,11 @@ msgstr "" | |||||||
| msgid "Title" | msgid "Title" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:420 documents/models.py:1037 | #: documents/models.py:420 documents/models.py:1038 | ||||||
| msgid "Created" | msgid "Created" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:421 documents/models.py:1036 | #: documents/models.py:421 documents/models.py:1037 | ||||||
| msgid "Added" | msgid "Added" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -812,377 +812,381 @@ msgstr "" | |||||||
| msgid "Mail Fetch" | msgid "Mail Fetch" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1038 | #: documents/models.py:1034 | ||||||
| msgid "Modified" | msgid "Web UI" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1039 | #: documents/models.py:1039 | ||||||
|  | msgid "Modified" | ||||||
|  | msgstr "" | ||||||
|  |  | ||||||
|  | #: documents/models.py:1040 | ||||||
| msgid "Custom Field" | msgid "Custom Field" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1042 | #: documents/models.py:1043 | ||||||
| msgid "Workflow Trigger Type" | msgid "Workflow Trigger Type" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1054 | #: documents/models.py:1055 | ||||||
| msgid "filter path" | msgid "filter path" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1059 | #: documents/models.py:1060 | ||||||
| msgid "" | msgid "" | ||||||
| "Only consume documents with a path that matches this if specified. Wildcards " | "Only consume documents with a path that matches this if specified. Wildcards " | ||||||
| "specified as * are allowed. Case insensitive." | "specified as * are allowed. Case insensitive." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1066 | #: documents/models.py:1067 | ||||||
| msgid "filter filename" | msgid "filter filename" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1071 paperless_mail/models.py:200 | #: documents/models.py:1072 paperless_mail/models.py:200 | ||||||
| msgid "" | msgid "" | ||||||
| "Only consume documents which entirely match this filename if specified. " | "Only consume documents which entirely match this filename if specified. " | ||||||
| "Wildcards such as *.pdf or *invoice* are allowed. Case insensitive." | "Wildcards such as *.pdf or *invoice* are allowed. Case insensitive." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1082 | #: documents/models.py:1083 | ||||||
| msgid "filter documents from this mail rule" | msgid "filter documents from this mail rule" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1098 | #: documents/models.py:1099 | ||||||
| msgid "has these tag(s)" | msgid "has these tag(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1106 | #: documents/models.py:1107 | ||||||
| msgid "has this document type" | msgid "has this document type" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1114 | #: documents/models.py:1115 | ||||||
| msgid "has this correspondent" | msgid "has this correspondent" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1118 | #: documents/models.py:1119 | ||||||
| msgid "schedule offset days" | msgid "schedule offset days" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1121 | #: documents/models.py:1122 | ||||||
| msgid "The number of days to offset the schedule trigger by." | msgid "The number of days to offset the schedule trigger by." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1126 | #: documents/models.py:1127 | ||||||
| msgid "schedule is recurring" | msgid "schedule is recurring" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1129 | #: documents/models.py:1130 | ||||||
| msgid "If the schedule should be recurring." | msgid "If the schedule should be recurring." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1134 | #: documents/models.py:1135 | ||||||
| msgid "schedule recurring delay in days" | msgid "schedule recurring delay in days" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1138 | #: documents/models.py:1139 | ||||||
| msgid "The number of days between recurring schedule triggers." | msgid "The number of days between recurring schedule triggers." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1143 | #: documents/models.py:1144 | ||||||
| msgid "schedule date field" | msgid "schedule date field" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1148 | #: documents/models.py:1149 | ||||||
| msgid "The field to check for a schedule trigger." | msgid "The field to check for a schedule trigger." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1157 | #: documents/models.py:1158 | ||||||
| msgid "schedule date custom field" | msgid "schedule date custom field" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1161 | #: documents/models.py:1162 | ||||||
| msgid "workflow trigger" | msgid "workflow trigger" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1162 | #: documents/models.py:1163 | ||||||
| msgid "workflow triggers" | msgid "workflow triggers" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1170 | #: documents/models.py:1171 | ||||||
| msgid "email subject" | msgid "email subject" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1174 | #: documents/models.py:1175 | ||||||
| msgid "" | msgid "" | ||||||
| "The subject of the email, can include some placeholders, see documentation." | "The subject of the email, can include some placeholders, see documentation." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1180 | #: documents/models.py:1181 | ||||||
| msgid "email body" | msgid "email body" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1183 | #: documents/models.py:1184 | ||||||
| msgid "" | msgid "" | ||||||
| "The body (message) of the email, can include some placeholders, see " | "The body (message) of the email, can include some placeholders, see " | ||||||
| "documentation." | "documentation." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1189 | #: documents/models.py:1190 | ||||||
| msgid "emails to" | msgid "emails to" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1192 | #: documents/models.py:1193 | ||||||
| msgid "The destination email addresses, comma separated." | msgid "The destination email addresses, comma separated." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1198 | #: documents/models.py:1199 | ||||||
| msgid "include document in email" | msgid "include document in email" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1207 | #: documents/models.py:1210 | ||||||
| msgid "webhook url" | msgid "webhook url" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1209 | #: documents/models.py:1213 | ||||||
| msgid "The destination URL for the notification." | msgid "The destination URL for the notification." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1214 | #: documents/models.py:1218 | ||||||
| msgid "use parameters" | msgid "use parameters" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1219 | #: documents/models.py:1223 | ||||||
| msgid "send as JSON" | msgid "send as JSON" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1223 | #: documents/models.py:1227 | ||||||
| msgid "webhook parameters" | msgid "webhook parameters" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1226 | #: documents/models.py:1230 | ||||||
| msgid "The parameters to send with the webhook URL if body not used." | msgid "The parameters to send with the webhook URL if body not used." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1230 | #: documents/models.py:1234 | ||||||
| msgid "webhook body" | msgid "webhook body" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1233 | #: documents/models.py:1237 | ||||||
| msgid "The body to send with the webhook URL if parameters not used." | msgid "The body to send with the webhook URL if parameters not used." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1237 | #: documents/models.py:1241 | ||||||
| msgid "webhook headers" | msgid "webhook headers" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1240 | #: documents/models.py:1244 | ||||||
| msgid "The headers to send with the webhook URL." | msgid "The headers to send with the webhook URL." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1245 | #: documents/models.py:1249 | ||||||
| msgid "include document in webhook" | msgid "include document in webhook" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1256 | #: documents/models.py:1260 | ||||||
| msgid "Assignment" | msgid "Assignment" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1260 | #: documents/models.py:1264 | ||||||
| msgid "Removal" | msgid "Removal" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1264 documents/templates/account/password_reset.html:15 | #: documents/models.py:1268 documents/templates/account/password_reset.html:15 | ||||||
| msgid "Email" | msgid "Email" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1268 | #: documents/models.py:1272 | ||||||
| msgid "Webhook" | msgid "Webhook" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1272 | #: documents/models.py:1276 | ||||||
| msgid "Workflow Action Type" | msgid "Workflow Action Type" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1278 | #: documents/models.py:1282 | ||||||
| msgid "assign title" | msgid "assign title" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1283 | #: documents/models.py:1287 | ||||||
| msgid "" | msgid "" | ||||||
| "Assign a document title, can include some placeholders, see documentation." | "Assign a document title, can include some placeholders, see documentation." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1292 paperless_mail/models.py:274 | #: documents/models.py:1296 paperless_mail/models.py:274 | ||||||
| msgid "assign this tag" | msgid "assign this tag" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1301 paperless_mail/models.py:282 | #: documents/models.py:1305 paperless_mail/models.py:282 | ||||||
| msgid "assign this document type" | msgid "assign this document type" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1310 paperless_mail/models.py:296 | #: documents/models.py:1314 paperless_mail/models.py:296 | ||||||
| msgid "assign this correspondent" | msgid "assign this correspondent" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1319 | #: documents/models.py:1323 | ||||||
| msgid "assign this storage path" | msgid "assign this storage path" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1328 | #: documents/models.py:1332 | ||||||
| msgid "assign this owner" | msgid "assign this owner" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1335 | #: documents/models.py:1339 | ||||||
| msgid "grant view permissions to these users" | msgid "grant view permissions to these users" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1342 | #: documents/models.py:1346 | ||||||
| msgid "grant view permissions to these groups" | msgid "grant view permissions to these groups" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1349 | #: documents/models.py:1353 | ||||||
| msgid "grant change permissions to these users" | msgid "grant change permissions to these users" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1356 | #: documents/models.py:1360 | ||||||
| msgid "grant change permissions to these groups" | msgid "grant change permissions to these groups" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1363 | #: documents/models.py:1367 | ||||||
| msgid "assign these custom fields" | msgid "assign these custom fields" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1370 | #: documents/models.py:1374 | ||||||
| msgid "remove these tag(s)" | msgid "remove these tag(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1375 | #: documents/models.py:1379 | ||||||
| msgid "remove all tags" | msgid "remove all tags" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1382 | #: documents/models.py:1386 | ||||||
| msgid "remove these document type(s)" | msgid "remove these document type(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1387 | #: documents/models.py:1391 | ||||||
| msgid "remove all document types" | msgid "remove all document types" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1394 | #: documents/models.py:1398 | ||||||
| msgid "remove these correspondent(s)" | msgid "remove these correspondent(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1399 | #: documents/models.py:1403 | ||||||
| msgid "remove all correspondents" | msgid "remove all correspondents" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1406 | #: documents/models.py:1410 | ||||||
| msgid "remove these storage path(s)" | msgid "remove these storage path(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1411 | #: documents/models.py:1415 | ||||||
| msgid "remove all storage paths" | msgid "remove all storage paths" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1418 | #: documents/models.py:1422 | ||||||
| msgid "remove these owner(s)" | msgid "remove these owner(s)" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1423 | #: documents/models.py:1427 | ||||||
| msgid "remove all owners" | msgid "remove all owners" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1430 | #: documents/models.py:1434 | ||||||
| msgid "remove view permissions for these users" | msgid "remove view permissions for these users" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1437 | #: documents/models.py:1441 | ||||||
| msgid "remove view permissions for these groups" | msgid "remove view permissions for these groups" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1444 | #: documents/models.py:1448 | ||||||
| msgid "remove change permissions for these users" | msgid "remove change permissions for these users" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1451 | #: documents/models.py:1455 | ||||||
| msgid "remove change permissions for these groups" | msgid "remove change permissions for these groups" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1456 | #: documents/models.py:1460 | ||||||
| msgid "remove all permissions" | msgid "remove all permissions" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1463 | #: documents/models.py:1467 | ||||||
| msgid "remove these custom fields" | msgid "remove these custom fields" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1468 | #: documents/models.py:1472 | ||||||
| msgid "remove all custom fields" | msgid "remove all custom fields" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1477 | #: documents/models.py:1481 | ||||||
| msgid "email" | msgid "email" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1486 | #: documents/models.py:1490 | ||||||
| msgid "webhook" | msgid "webhook" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1490 | #: documents/models.py:1494 | ||||||
| msgid "workflow action" | msgid "workflow action" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1491 | #: documents/models.py:1495 | ||||||
| msgid "workflow actions" | msgid "workflow actions" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1500 paperless_mail/models.py:145 | #: documents/models.py:1504 paperless_mail/models.py:145 | ||||||
| msgid "order" | msgid "order" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1506 | #: documents/models.py:1510 | ||||||
| msgid "triggers" | msgid "triggers" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1513 | #: documents/models.py:1517 | ||||||
| msgid "actions" | msgid "actions" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1516 paperless_mail/models.py:154 | #: documents/models.py:1520 paperless_mail/models.py:154 | ||||||
| msgid "enabled" | msgid "enabled" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1527 | #: documents/models.py:1531 | ||||||
| msgid "workflow" | msgid "workflow" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1531 | #: documents/models.py:1535 | ||||||
| msgid "workflow trigger type" | msgid "workflow trigger type" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1545 | #: documents/models.py:1549 | ||||||
| msgid "date run" | msgid "date run" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1551 | #: documents/models.py:1555 | ||||||
| msgid "workflow run" | msgid "workflow run" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/models.py:1552 | #: documents/models.py:1556 | ||||||
| msgid "workflow runs" | msgid "workflow runs" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/serialisers.py:127 | #: documents/serialisers.py:128 | ||||||
| #, python-format | #, python-format | ||||||
| msgid "Invalid regular expression: %(error)s" | msgid "Invalid regular expression: %(error)s" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/serialisers.py:553 | #: documents/serialisers.py:554 | ||||||
| msgid "Invalid color." | msgid "Invalid color." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/serialisers.py:1554 | #: documents/serialisers.py:1570 | ||||||
| #, python-format | #, python-format | ||||||
| msgid "File type %(type)s not supported" | msgid "File type %(type)s not supported" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/serialisers.py:1643 | #: documents/serialisers.py:1659 | ||||||
| msgid "Invalid variable detected." | msgid "Invalid variable detected." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -1402,17 +1406,23 @@ msgstr "" | |||||||
| msgid "As a final step, please complete the following form:" | msgid "As a final step, please complete the following form:" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/validators.py:17 | #: documents/validators.py:24 | ||||||
| #, python-brace-format | #, python-brace-format | ||||||
| msgid "Unable to parse URI {value}, missing scheme" | msgid "Unable to parse URI {value}, missing scheme" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/validators.py:22 | #: documents/validators.py:29 | ||||||
| #, python-brace-format | #, python-brace-format | ||||||
| msgid "Unable to parse URI {value}, missing net location or path" | msgid "Unable to parse URI {value}, missing net location or path" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: documents/validators.py:27 | #: documents/validators.py:36 | ||||||
|  | msgid "" | ||||||
|  | "URI scheme '{parts.scheme}' is not allowed. Allowed schemes: {', '." | ||||||
|  | "join(allowed_schemes)}" | ||||||
|  | msgstr "" | ||||||
|  |  | ||||||
|  | #: documents/validators.py:45 | ||||||
| #, python-brace-format | #, python-brace-format | ||||||
| msgid "Unable to parse URI {value}" | msgid "Unable to parse URI {value}" | ||||||
| msgstr "" | msgstr "" | ||||||
| @@ -1701,7 +1711,7 @@ msgstr "" | |||||||
| msgid "Chinese Traditional" | msgid "Chinese Traditional" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless/urls.py:364 | #: paperless/urls.py:369 | ||||||
| msgid "Paperless-ngx administration" | msgid "Paperless-ngx administration" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -1933,7 +1943,7 @@ msgstr "" | |||||||
| msgid "account" | msgid "account" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:157 paperless_mail/models.py:318 | #: paperless_mail/models.py:157 paperless_mail/models.py:326 | ||||||
| msgid "folder" | msgid "folder" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| @@ -2025,22 +2035,32 @@ msgstr "" | |||||||
| msgid "Assign the rule owner to documents" | msgid "Assign the rule owner to documents" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:326 | #: paperless_mail/models.py:305 | ||||||
| msgid "uid" | msgid "Stop processing further rules" | ||||||
|  | msgstr "" | ||||||
|  |  | ||||||
|  | #: paperless_mail/models.py:308 | ||||||
|  | msgid "" | ||||||
|  | "If True, no further rules will be processed after this one if any document " | ||||||
|  | "is queued." | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:334 | #: paperless_mail/models.py:334 | ||||||
| msgid "subject" | msgid "uid" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:342 | #: paperless_mail/models.py:342 | ||||||
|  | msgid "subject" | ||||||
|  | msgstr "" | ||||||
|  |  | ||||||
|  | #: paperless_mail/models.py:350 | ||||||
| msgid "received" | msgid "received" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:349 | #: paperless_mail/models.py:357 | ||||||
| msgid "processed" | msgid "processed" | ||||||
| msgstr "" | msgstr "" | ||||||
|  |  | ||||||
| #: paperless_mail/models.py:355 | #: paperless_mail/models.py:363 | ||||||
| msgid "status" | msgid "status" | ||||||
| msgstr "" | msgstr "" | ||||||
|   | |||||||
| @@ -571,6 +571,11 @@ class MailAccountHandler(LoggingMixin): | |||||||
|                             rule, |                             rule, | ||||||
|                             supports_gmail_labels=supports_gmail_labels, |                             supports_gmail_labels=supports_gmail_labels, | ||||||
|                         ) |                         ) | ||||||
|  |                         if total_processed_files > 0 and rule.stop_processing: | ||||||
|  |                             self.log.debug( | ||||||
|  |                                 f"Rule {rule}: Stopping processing rules due to stop_processing flag", | ||||||
|  |                             ) | ||||||
|  |                             break | ||||||
|                     except Exception as e: |                     except Exception as e: | ||||||
|                         self.log.exception( |                         self.log.exception( | ||||||
|                             f"Rule {rule}: Error while processing rule: {e}", |                             f"Rule {rule}: Error while processing rule: {e}", | ||||||
|   | |||||||
| @@ -0,0 +1,22 @@ | |||||||
|  | # Generated by Django 5.1.6 on 2025-02-24 16:07 | ||||||
|  |  | ||||||
|  | from django.db import migrations | ||||||
|  | from django.db import models | ||||||
|  |  | ||||||
|  |  | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  |     dependencies = [ | ||||||
|  |         ("paperless_mail", "0029_mailrule_pdf_layout"), | ||||||
|  |     ] | ||||||
|  |  | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name="mailrule", | ||||||
|  |             name="stop_processing", | ||||||
|  |             field=models.BooleanField( | ||||||
|  |                 default=False, | ||||||
|  |                 help_text="If True, no further rules will be processed after this one if any document is consumed.", | ||||||
|  |                 verbose_name="Stop processing further rules", | ||||||
|  |             ), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
| @@ -301,6 +301,14 @@ class MailRule(document_models.ModelWithOwner): | |||||||
|         default=True, |         default=True, | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|  |     stop_processing = models.BooleanField( | ||||||
|  |         _("Stop processing further rules"), | ||||||
|  |         default=False, | ||||||
|  |         help_text=_( | ||||||
|  |             "If True, no further rules will be processed after this one if any document is queued.", | ||||||
|  |         ), | ||||||
|  |     ) | ||||||
|  |  | ||||||
|     def __str__(self): |     def __str__(self): | ||||||
|         return f"{self.account.name}.{self.name}" |         return f"{self.account.name}.{self.name}" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -101,6 +101,7 @@ class MailRuleSerializer(OwnedObjectSerializer): | |||||||
|             "user_can_change", |             "user_can_change", | ||||||
|             "permissions", |             "permissions", | ||||||
|             "set_permissions", |             "set_permissions", | ||||||
|  |             "stop_processing", | ||||||
|         ] |         ] | ||||||
|  |  | ||||||
|     def update(self, instance, validated_data): |     def update(self, instance, validated_data): | ||||||
|   | |||||||
| @@ -1671,6 +1671,39 @@ class TestTasks(TestCase): | |||||||
|         result = tasks.process_mail_accounts(account_ids=[account_b.id]) |         result = tasks.process_mail_accounts(account_ids=[account_b.id]) | ||||||
|         self.assertIn("No new", result) |         self.assertIn("No new", result) | ||||||
|  |  | ||||||
|  |     @mock.patch("paperless_mail.tasks.MailAccountHandler.handle_mail_account") | ||||||
|  |     def test_rule_with_stop_processing(self, m): | ||||||
|  |         """ | ||||||
|  |         GIVEN: | ||||||
|  |             - Mail account with a rule with stop_processing=True | ||||||
|  |         WHEN: | ||||||
|  |             - Mail account is processed | ||||||
|  |         THEN: | ||||||
|  |             - Should only process the first rule | ||||||
|  |         """ | ||||||
|  |         m.side_effect = lambda account: 6 | ||||||
|  |  | ||||||
|  |         account = MailAccount.objects.create( | ||||||
|  |             name="A", | ||||||
|  |             imap_server="A", | ||||||
|  |             username="A", | ||||||
|  |             password="A", | ||||||
|  |         ) | ||||||
|  |         MailRule.objects.create( | ||||||
|  |             name="A", | ||||||
|  |             account=account, | ||||||
|  |             stop_processing=True, | ||||||
|  |         ) | ||||||
|  |         MailRule.objects.create( | ||||||
|  |             name="B", | ||||||
|  |             account=account, | ||||||
|  |         ) | ||||||
|  |  | ||||||
|  |         result = tasks.process_mail_accounts() | ||||||
|  |  | ||||||
|  |         self.assertEqual(m.call_count, 1) | ||||||
|  |         self.assertIn("Added 6", result) | ||||||
|  |  | ||||||
|  |  | ||||||
| class TestMailAccountTestView(APITestCase): | class TestMailAccountTestView(APITestCase): | ||||||
|     def setUp(self): |     def setUp(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user