diff --git a/.github/DISCUSSION_TEMPLATE/support.yml b/.github/DISCUSSION_TEMPLATE/support.yml index 18c0812f2..311aaf7f3 100644 --- a/.github/DISCUSSION_TEMPLATE/support.yml +++ b/.github/DISCUSSION_TEMPLATE/support.yml @@ -51,5 +51,5 @@ body: id: logs attributes: label: Relevant logs or output - description: If you have logs, errors that might help, paste it here. + description: If you have logs, errors that might help, paste it here. For example other containers or services (database, redis, etc). render: bash diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 07e9e4690..b6baf49bf 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -6,8 +6,8 @@ body: - type: markdown attributes: value: | - ### ⚠️ Please remember: issues are for *bugs* - That is, something you believe affects every single user of Paperless-ngx, not just you. If you're not sure, start with one of the other options below. + ### ⚠️ Please remember: issues are for *bugs* only! ⚠️ + That is, something you believe affects every single user of Paperless-ngx (and the demo, for example), not just you. If you are not sure, start with one of the other options below. Also, note that **Paperless-ngx does not perform OCR or archive file creation itself**, those are handled by other tools. Problems with OCR or archive versions of specific files should likely be raised 'upstream', see https://github.com/ocrmypdf/OCRmyPDF/issues or https://github.com/tesseract-ocr/tesseract/issues - type: markdown @@ -59,6 +59,12 @@ body: label: Browser logs description: Logs from the web browser related to your issue, if needed render: bash + - type: textarea + id: logs_services + attributes: + label: Services logs + description: Logs from other services (or containers) related to your issue, if needed. For example, the database or redis logs. + render: bash - type: input id: version attributes: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a560c506e..17e9a4109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -181,10 +181,11 @@ jobs: pytest - name: Upload backend test results to Codecov if: always() - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: flags: backend-python-${{ matrix.python-version }} files: junit.xml + report_type: test_results - name: Upload backend coverage to Codecov uses: codecov/codecov-action@v5 with: @@ -260,11 +261,12 @@ jobs: - name: Run Jest unit tests run: cd src-ui && pnpm run test --max-workers=2 --shard=${{ matrix.shard-index }}/${{ matrix.shard-count }} - name: Upload frontend test results to Codecov - uses: codecov/test-results-action@v1 if: always() + uses: codecov/codecov-action@v5 with: flags: frontend-node-${{ matrix.node-version }} directory: src-ui/ + report_type: test_results - name: Upload frontend coverage to Codecov uses: codecov/codecov-action@v5 with: diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 8eb325858..cf79d162f 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -585,7 +585,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 114 + 116 src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html @@ -1299,19 +1299,19 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 276 + 278 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 295 + 297 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 362 + 364 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 381 + 383 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1334,19 +1334,19 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 284 + 286 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 303 + 305 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 370 + 372 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 389 + 391 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1372,11 +1372,11 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 309 + 311 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 395 + 397 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1484,7 +1484,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 113 + 115 src/app/components/common/permissions-dialog/permissions-dialog.component.html @@ -2107,11 +2107,11 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 87 + 89 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 240 + 242 src/app/components/common/permissions-select/permissions-select.component.html @@ -2241,7 +2241,7 @@ src/app/components/manage/management-list/management-list.component.ts - 356 + 362 @@ -2283,7 +2283,7 @@ src/app/components/manage/management-list/management-list.component.ts - 358 + 364 src/app/components/manage/workflows/workflows.component.ts @@ -2610,7 +2610,7 @@ src/app/components/manage/management-list/management-list.component.ts - 360 + 366 src/app/components/manage/workflows/workflows.component.ts @@ -3669,7 +3669,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 171 + 173 @@ -4086,7 +4086,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 263 + 265 @@ -4104,7 +4104,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 264 + 266 @@ -4115,7 +4115,7 @@ src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 111 + 113 src/app/components/common/system-status-dialog/system-status-dialog.component.html @@ -4539,32 +4539,32 @@ Create new user account src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts - 70 + 72 Edit user account src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts - 74 + 76 Totp deactivated src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts - 130 + 132 Totp deactivation failed src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts - 133 + 135 src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts - 138 + 140 @@ -4621,409 +4621,409 @@ Trigger type src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 121 + 123 Set scheduled trigger offset and which date field to use. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 123 + 125 Offset days src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 128 + 130 Positive values will trigger after the date, negative values before. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 132 + 134 Relative to src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 137 + 139 Custom field src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 141 + 143 Custom field to use for date. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 141 + 143 Recurring src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 147 + 149 Trigger is recurring. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 147 + 149 Recurring interval days src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 151 + 153 Repeat the trigger every n days. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 151 + 153 Trigger for documents that match all filters specified below. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 156 + 158 Filter filename src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 159 + 161 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 - 159 + 161 Filter sources src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 161 + 163 Filter path src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 162 + 164 Apply to documents that match this path. Wildcards specified as * are allowed. Case-normalized.</a> src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 162 + 164 Filter mail rule src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 163 + 165 Apply to documents consumed via this mail rule. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 163 + 165 Content matching algorithm src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 166 + 168 Content matching pattern src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 168 + 170 Advanced Filters src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 181 + 183 Add filter src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 188 + 190 No advanced workflow filters defined. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 193 + 195 Complete the custom field query configuration. src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 222,224 + 224,226 Action type src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 256 + 258 Assign title src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 261 + 263 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 - 261 + 263 Assign tags src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 262 + 264 Assign storage path src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 265 + 267 Assign custom fields src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 266 + 268 Assign owner src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 270 + 272 Assign view permissions src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 272 + 274 Assign edit permissions src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 291 + 293 Remove tags src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 318 + 320 Remove all src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 319 + 321 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 325 + 327 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 331 + 333 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 337 + 339 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 343 + 345 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 350 + 352 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 356 + 358 Remove correspondents src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 324 + 326 Remove document types src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 330 + 332 Remove storage paths src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 336 + 338 Remove custom fields src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 342 + 344 Remove owners src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 349 + 351 Remove permissions src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 355 + 357 View permissions src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 358 + 360 Edit permissions src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 377 + 379 Email subject src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 405 + 407 Email body src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 406 + 408 Email recipients src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 407 + 409 Attach document src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 408 + 410 Webhook url src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 416 + 418 Use parameters for webhook body src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 418 + 420 Send webhook payload as JSON src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 419 + 421 Webhook params src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 422 + 424 Webhook body src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 424 + 426 Webhook headers src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 426 + 428 Include document src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html - 427 + 429 @@ -5338,7 +5338,7 @@ Not assigned src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts - 82 + 90 Filter drop down element to filter for documents with no correspondent/type/tag assigned @@ -5346,7 +5346,7 @@ Open filter src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts - 562 + 748 @@ -8843,7 +8843,7 @@ src/app/components/manage/management-list/management-list.component.ts - 343 + 349 @@ -9014,28 +9014,28 @@ Permissions updated successfully src/app/components/manage/management-list/management-list.component.ts - 336 + 342 This operation will permanently delete all objects. src/app/components/manage/management-list/management-list.component.ts - 357 + 363 Objects deleted successfully src/app/components/manage/management-list/management-list.component.ts - 371 + 377 Error deleting objects src/app/components/manage/management-list/management-list.component.ts - 377 + 383 diff --git a/src-ui/src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts index 86e60151b..1c87a4308 100644 --- a/src-ui/src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.ts @@ -14,6 +14,7 @@ import { GroupService } from 'src/app/services/rest/group.service' import { UserService } from 'src/app/services/rest/user.service' import { SettingsService } from 'src/app/services/settings.service' import { ToastService } from 'src/app/services/toast.service' +import { ConfirmButtonComponent } from '../../confirm-button/confirm-button.component' import { PasswordComponent } from '../../input/password/password.component' import { SelectComponent } from '../../input/select/select.component' import { TextComponent } from '../../input/text/text.component' @@ -28,6 +29,7 @@ import { PermissionsSelectComponent } from '../../permissions-select/permissions SelectComponent, TextComponent, PasswordComponent, + ConfirmButtonComponent, FormsModule, ReactiveFormsModule, ], diff --git a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html index 61daa1fa2..fab644baa 100644 --- a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -77,9 +77,11 @@
@for (action of object?.actions; track action; let i = $index){ -
-
-