From c028910cdd9f78a40aaa4c81d12a60a67944121f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 3 Nov 2024 06:27:10 -0800 Subject: [PATCH 01/38] Changelog v2.13.4 - GHA (#8170) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- docs/changelog.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 198640c60..6ddd44a58 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,21 @@ # Changelog +## paperless-ngx 2.13.4 + +### Bug Fixes + +- Fix: fix dark mode icon blend mode in 2.13.3 [@shamoon](https://github.com/shamoon) ([#8166](https://github.com/paperless-ngx/paperless-ngx/pull/8166)) +- Fix: fix clipped popup preview in 2.13.3 [@shamoon](https://github.com/shamoon) ([#8165](https://github.com/paperless-ngx/paperless-ngx/pull/8165)) + +### All App Changes + +
+2 changes + +- Fix: fix dark mode icon blend mode in 2.13.3 [@shamoon](https://github.com/shamoon) ([#8166](https://github.com/paperless-ngx/paperless-ngx/pull/8166)) +- Fix: fix clipped popup preview in 2.13.3 [@shamoon](https://github.com/shamoon) ([#8165](https://github.com/paperless-ngx/paperless-ngx/pull/8165)) +
+ ## paperless-ngx 2.13.3 ### Bug Fixes From 6c230f098ac71d26b23a0c9a21850949f710ce70 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 10 Nov 2024 08:25:10 -0800 Subject: [PATCH 02/38] Bump version to 2.13.5 --- src-ui/src/environments/environment.prod.ts | 2 +- src/paperless/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-ui/src/environments/environment.prod.ts b/src-ui/src/environments/environment.prod.ts index 9d9f22cb5..76ba37891 100644 --- a/src-ui/src/environments/environment.prod.ts +++ b/src-ui/src/environments/environment.prod.ts @@ -5,7 +5,7 @@ export const environment = { apiBaseUrl: document.baseURI + 'api/', apiVersion: '5', appTitle: 'Paperless-ngx', - version: '2.13.4', + version: '2.13.5', webSocketHost: window.location.host, webSocketProtocol: window.location.protocol == 'https:' ? 'wss:' : 'ws:', webSocketBaseUrl: base_url.pathname + 'ws/', diff --git a/src/paperless/version.py b/src/paperless/version.py index b37573570..8aafc810e 100644 --- a/src/paperless/version.py +++ b/src/paperless/version.py @@ -1,6 +1,6 @@ from typing import Final -__version__: Final[tuple[int, int, int]] = (2, 13, 4) +__version__: Final[tuple[int, int, int]] = (2, 13, 5) # Version string like X.Y.Z __full_version_str__: Final[str] = ".".join(map(str, __version__)) # Version string like X.Y From ceb834bdef96b957a9fb44c5cf7a61b736c75faf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 09:03:05 -0800 Subject: [PATCH 03/38] Documentation: Add v2.13.5 changelog (#8248) * Changelog v2.13.5 - GHA * Update changelog.md --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- docs/changelog.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 6ddd44a58..b9a01b61a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,42 @@ # Changelog +## paperless-ngx 2.13.5 + +### Bug Fixes + +- Fix: handle page count exception for pw-protected files [@shamoon](https://github.com/shamoon) ([#8240](https://github.com/paperless-ngx/paperless-ngx/pull/8240)) +- Fix: correctly track task id in list for change detection [@shamoon](https://github.com/shamoon) ([#8230](https://github.com/paperless-ngx/paperless-ngx/pull/8230)) +- Fix: Admin pages should show trashed documents [@stumpylog](https://github.com/stumpylog) ([#8068](https://github.com/paperless-ngx/paperless-ngx/pull/8068)) +- Fix: tag colors shouldn't change when selected in list [@shamoon](https://github.com/shamoon) ([#8225](https://github.com/paperless-ngx/paperless-ngx/pull/8225)) +- Fix: fix re-activation of save button when changing array items [@shamoon](https://github.com/shamoon) ([#8208](https://github.com/paperless-ngx/paperless-ngx/pull/8208)) +- Fix: fix thumbnail clipping, select inverted color in safari dark mode not system [@shamoon](https://github.com/shamoon) ([#8193](https://github.com/paperless-ngx/paperless-ngx/pull/8193)) +- Fix: select checkbox should remain visible [@shamoon](https://github.com/shamoon) ([#8185](https://github.com/paperless-ngx/paperless-ngx/pull/8185)) +- Fix: warn with proper error on ASN exists in trash [@shamoon](https://github.com/shamoon) ([#8176](https://github.com/paperless-ngx/paperless-ngx/pull/8176)) + +### Maintenance + +- Chore: Updates all runner images to use Ubuntu Noble [@stumpylog](https://github.com/stumpylog) ([#8213](https://github.com/paperless-ngx/paperless-ngx/pull/8213)) +- Chore(deps): Bump stumpylog/image-cleaner-action from 0.8.0 to 0.9.0 in the actions group [@dependabot](https://github.com/dependabot) ([#8142](https://github.com/paperless-ngx/paperless-ngx/pull/8142)) + +### Dependencies + +- Chore(deps): Bump stumpylog/image-cleaner-action from 0.8.0 to 0.9.0 in the actions group [@dependabot](https://github.com/dependabot) ([#8142](https://github.com/paperless-ngx/paperless-ngx/pull/8142)) + +### All App Changes + +
+7 changes + +- Fix: handle page count exception for pw-protected files [@shamoon](https://github.com/shamoon) ([#8240](https://github.com/paperless-ngx/paperless-ngx/pull/8240)) +- Fix: correctly track task id in list for change detection [@shamoon](https://github.com/shamoon) ([#8230](https://github.com/paperless-ngx/paperless-ngx/pull/8230)) +- Fix: Admin pages should show trashed documents [@stumpylog](https://github.com/stumpylog) ([#8068](https://github.com/paperless-ngx/paperless-ngx/pull/8068)) +- Fix: tag colors shouldn't change when selected in list [@shamoon](https://github.com/shamoon) ([#8225](https://github.com/paperless-ngx/paperless-ngx/pull/8225)) +- Fix: fix re-activation of save button when changing array items [@shamoon](https://github.com/shamoon) ([#8208](https://github.com/paperless-ngx/paperless-ngx/pull/8208)) +- Fix: fix thumbnail clipping, select inverted color in safari dark mode not system [@shamoon](https://github.com/shamoon) ([#8193](https://github.com/paperless-ngx/paperless-ngx/pull/8193)) +- Fix: select checkbox should remain visible [@shamoon](https://github.com/shamoon) ([#8185](https://github.com/paperless-ngx/paperless-ngx/pull/8185)) +- Fix: warn with proper error on ASN exists in trash [@shamoon](https://github.com/shamoon) ([#8176](https://github.com/paperless-ngx/paperless-ngx/pull/8176)) +
+ ## paperless-ngx 2.13.4 ### Bug Fixes From 22f29b36594ed17687fd57f7ce6fc72be4d24d48 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:25:05 -0800 Subject: [PATCH 04/38] Chore: add note about select options to edit dialog (#8267) --- src-ui/messages.xlf | 17 ++++++++++++----- .../custom-field-edit-dialog.component.html | 3 +++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 46686d5f6..b9aa4e03e 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -548,7 +548,7 @@ src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 41 + 44 src/app/components/common/edit-dialog/document-type-edit-dialog/document-type-edit-dialog.component.html @@ -1679,7 +1679,7 @@ src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 40 + 43 src/app/components/common/edit-dialog/document-type-edit-dialog/document-type-edit-dialog.component.html @@ -3603,25 +3603,32 @@ 20 + + Warning: existing instances of this field will retain their current value index (e.g. option #1, #2, #3) after editing the options here + + src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html + 31 + + Default Currency src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 33 + 36 3-character currency code src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 33 + 36 Use locale src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html - 33 + 36 diff --git a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html index 953f66659..d48c0788b 100644 --- a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html @@ -27,6 +27,9 @@ } + @if (object?.id) { + Warning: existing instances of this field will retain their current value index (e.g. option #1, #2, #3) after editing the options here + } } @case (CustomFieldDataType.Monetary) {
From 36ecb8587d418ba1c915dd857a94c162156c701a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 13 Nov 2024 07:18:21 -0800 Subject: [PATCH 05/38] Fix: prevent duplicate workflow runs (#8268) --- src/documents/signals/handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.py index 73aee2936..114654c64 100644 --- a/src/documents/signals/handlers.py +++ b/src/documents/signals/handlers.py @@ -886,6 +886,7 @@ def run_workflows( "triggers", ) .order_by("order") + .distinct() ) for workflow in workflows: From 56ef263540ea0418c48e6164cbce4a9d80b7eaa8 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:05:38 -0800 Subject: [PATCH 06/38] Fix: fix log line trackby function --- src-ui/src/app/components/admin/logs/logs.component.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src-ui/src/app/components/admin/logs/logs.component.html b/src-ui/src/app/components/admin/logs/logs.component.html index 9a0a71cd8..7d2c5f092 100644 --- a/src-ui/src/app/components/admin/logs/logs.component.html +++ b/src-ui/src/app/components/admin/logs/logs.component.html @@ -36,9 +36,7 @@ Loading...
} - @for (log of logs; track log) { -

{{log}}

+ @for (log of logs; track $index) { +

{{log}}

} From 2e6f85cc3a12ecd08dc31a58d6652d1d3dd9860c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:22:26 -0800 Subject: [PATCH 07/38] Tweak: use fixed position for navbar (#8279) --- .../src/app/components/app-frame/app-frame.component.html | 2 +- .../src/app/components/app-frame/app-frame.component.scss | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html index 51978c3e3..f69b5246a 100644 --- a/src-ui/src/app/components/app-frame/app-frame.component.html +++ b/src-ui/src/app/components/app-frame/app-frame.component.html @@ -1,4 +1,4 @@ -