From 7f01ead374bec220dddf7dae4d909ef82ae4b6d1 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 10:25:24 +0000 Subject: [PATCH 01/49] Translate /src-ui/messages.xlf in nl_NL translation completed for the source file '/src-ui/messages.xlf' on the 'nl_NL' language. --- src-ui/src/locale/messages.nl_NL.xlf | 134 ++++++++++++++++----------- 1 file changed, 79 insertions(+), 55 deletions(-) diff --git a/src-ui/src/locale/messages.nl_NL.xlf b/src-ui/src/locale/messages.nl_NL.xlf index 2a2c1eaee..354b14391 100644 --- a/src-ui/src/locale/messages.nl_NL.xlf +++ b/src-ui/src/locale/messages.nl_NL.xlf @@ -590,7 +590,7 @@ Opgeslagen view "" verwijderd. src/app/components/manage/settings/settings.component.ts - 67 + 68 @@ -598,7 +598,7 @@ Instellingen succesvol opgeslagen. src/app/components/manage/settings/settings.component.ts - 87 + 89 @@ -606,7 +606,7 @@ Gebruik de systeemtaal src/app/components/manage/settings/settings.component.ts - 92 + 94 @@ -614,7 +614,7 @@ Datumopmaak van weergavetaal gebruiken src/app/components/manage/settings/settings.component.ts - 98 + 100 @@ -622,7 +622,7 @@ Fout bij het opslaan van de instellingen: src/app/components/manage/settings/settings.component.ts - 115 + 117 @@ -646,7 +646,7 @@ Meldingen src/app/components/manage/settings/settings.component.html - 115 + 116 @@ -654,7 +654,7 @@ Opgeslagen views src/app/components/manage/settings/settings.component.html - 133 + 134 @@ -777,12 +777,20 @@ 98 + + Invert thumbnails in dark mode + Toon negatief van previews in nachtmodus + + src/app/components/manage/settings/settings.component.html + 99 + + Bulk editing Massabewerking src/app/components/manage/settings/settings.component.html - 102 + 103 @@ -790,7 +798,7 @@ Toon dialoogvenster ter bevestiging src/app/components/manage/settings/settings.component.html - 106 + 107 @@ -798,7 +806,7 @@ Er zal altijd om bevestiging gevraagd worden voor het verwijderen van documenten. src/app/components/manage/settings/settings.component.html - 106 + 107 @@ -806,7 +814,7 @@ Toepassen bij het sluiten src/app/components/manage/settings/settings.component.html - 107 + 108 @@ -814,7 +822,7 @@ Verwerking van documenten src/app/components/manage/settings/settings.component.html - 118 + 119 @@ -822,7 +830,7 @@ Toon meldingen wanneer nieuwe documenten worden gedetecteerd src/app/components/manage/settings/settings.component.html - 122 + 123 @@ -830,7 +838,7 @@ Toon een melding wanneer documenten met succes zijn verwerkt src/app/components/manage/settings/settings.component.html - 123 + 124 @@ -838,7 +846,7 @@ Toon meldingen wanneer het verwerken van documenten faalt src/app/components/manage/settings/settings.component.html - 124 + 125 @@ -846,7 +854,7 @@ Onderdruk meldingen op het dashboard src/app/components/manage/settings/settings.component.html - 125 + 126 @@ -854,7 +862,7 @@ Dit verbergt alle statusberichten op het dashboard die met het verwerken van documenten te maken hebben. src/app/components/manage/settings/settings.component.html - 125 + 126 @@ -862,7 +870,7 @@ Komt voor bij src/app/components/manage/settings/settings.component.html - 145 + 146 @@ -870,7 +878,7 @@ Toon op het dashboard src/app/components/manage/settings/settings.component.html - 148 + 149 @@ -878,7 +886,7 @@ Toon in de zijbalk src/app/components/manage/settings/settings.component.html - 152 + 153 @@ -886,7 +894,7 @@ Geen opgeslagen views gedefinieerd. src/app/components/manage/settings/settings.component.html - 162 + 163 @@ -1111,7 +1119,7 @@ Beheren src/app/components/app-frame/app-frame.component.html - 107 + 112 @@ -1119,7 +1127,7 @@ Beheer src/app/components/app-frame/app-frame.component.html - 149 + 154 @@ -1127,7 +1135,7 @@ Informatie src/app/components/app-frame/app-frame.component.html - 155 + 160 @@ -1135,7 +1143,7 @@ Handleiding src/app/components/app-frame/app-frame.component.html - 162 + 167 @@ -1143,7 +1151,7 @@ GitHub src/app/components/app-frame/app-frame.component.html - 170 + 175 @@ -1151,7 +1159,7 @@ Ideeƫnbus src/app/components/app-frame/app-frame.component.html - 176 + 181 @@ -1175,7 +1183,23 @@ Alles sluiten src/app/components/app-frame/app-frame.component.html - 101 + 106 + + + + Title + Titel + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 73 + + + + Title & content + Titel en inhoud + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 74 @@ -1183,7 +1207,7 @@ Correspondent: src/app/components/document-list/filter-editor/filter-editor.component.ts - 29 + 32 @@ -1191,7 +1215,7 @@ Zonder correspondent src/app/components/document-list/filter-editor/filter-editor.component.ts - 31 + 34 @@ -1199,7 +1223,7 @@ Type: src/app/components/document-list/filter-editor/filter-editor.component.ts - 36 + 39 @@ -1207,7 +1231,7 @@ Zonder documenttype src/app/components/document-list/filter-editor/filter-editor.component.ts - 38 + 41 @@ -1215,7 +1239,7 @@ Etiket: src/app/components/document-list/filter-editor/filter-editor.component.ts - 42 + 45 @@ -1223,7 +1247,7 @@ Zonder enig etiket src/app/components/document-list/filter-editor/filter-editor.component.ts - 46 + 49 @@ -1231,7 +1255,7 @@ Titel: src/app/components/document-list/filter-editor/filter-editor.component.ts - 50 + 53 @@ -1239,7 +1263,7 @@ Etiketten filteren src/app/components/document-list/filter-editor/filter-editor.component.html - 12 + 20 @@ -1247,7 +1271,7 @@ Correspondenten filteren src/app/components/document-list/filter-editor/filter-editor.component.html - 20 + 28 @@ -1255,7 +1279,7 @@ Documenttypes filteren src/app/components/document-list/filter-editor/filter-editor.component.html - 27 + 35 @@ -1263,7 +1287,7 @@ Filters terug zetten src/app/components/document-list/filter-editor/filter-editor.component.html - 50 + 58 @@ -1861,7 +1885,7 @@ Engels (US) src/app/services/settings.service.ts - 88 + 90 @@ -1869,7 +1893,7 @@ Engels (Brits) src/app/services/settings.service.ts - 89 + 91 @@ -1877,7 +1901,7 @@ Duits src/app/services/settings.service.ts - 90 + 92 @@ -1885,7 +1909,7 @@ Nederlands src/app/services/settings.service.ts - 91 + 93 @@ -1893,7 +1917,7 @@ Frans src/app/services/settings.service.ts - 92 + 94 @@ -1901,7 +1925,7 @@ Portugees (Braziliƫ) src/app/services/settings.service.ts - 93 + 95 @@ -1909,7 +1933,15 @@ Italiaans src/app/services/settings.service.ts - 94 + 96 + + + + Romanian + Roemeens + + src/app/services/settings.service.ts + 97 @@ -1917,7 +1949,7 @@ ISO 8601 src/app/services/settings.service.ts - 99 + 102 @@ -2060,14 +2092,6 @@ 18 - - Title - Titel - - src/app/services/rest/document.service.ts - 19 - - Document type Documenttype From ede06f4fd4c8cf5806ed2c8be13b370758d679a8 Mon Sep 17 00:00:00 2001 From: Stelian Iancu Date: Thu, 4 Mar 2021 16:26:03 +0100 Subject: [PATCH 02/49] Postgres won't run without a password. --- scripts/start_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start_services.sh b/scripts/start_services.sh index cbab7ac9e..e2fc740a4 100755 --- a/scripts/start_services.sh +++ b/scripts/start_services.sh @@ -1,4 +1,4 @@ -docker run -p 5432:5432 -v paperless_pgdata:/var/lib/postgresql/data -d postgres:13 +docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -v paperless_pgdata:/var/lib/postgresql/data -d postgres:13 docker run -d -p 6379:6379 redis:latest docker run -p 3000:3000 -d thecodingmachine/gotenberg docker run -p 9998:9998 -d apache/tika From 80e0fc21cc5426ccce3e4e1287b4c9dfc6406b59 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Fri, 5 Mar 2021 08:36:30 +0000 Subject: [PATCH 03/49] Apply translations in en_GB translation completed for the source file '/src/locale/en_US/LC_MESSAGES/django.po' on the 'en_GB' language. --- src/locale/en_GB/LC_MESSAGES/django.po | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/locale/en_GB/LC_MESSAGES/django.po b/src/locale/en_GB/LC_MESSAGES/django.po index 7e775cc08..ee7f2800e 100644 --- a/src/locale/en_GB/LC_MESSAGES/django.po +++ b/src/locale/en_GB/LC_MESSAGES/django.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-26 12:56+0100\n" +"POT-Creation-Date: 2021-02-28 12:40+0100\n" "PO-Revision-Date: 2021-02-16 18:37+0000\n" "Last-Translator: Jonas Winkler, 2021\n" "Language-Team: English (United Kingdom) (https://www.transifex.com/paperless/teams/115905/en_GB/)\n" @@ -437,6 +437,10 @@ msgstr "Portuguese (Brazil)" msgid "Italian" msgstr "Italian" +#: paperless/settings.py:304 +msgid "Romanian" +msgstr "Romanian" + #: paperless/urls.py:118 msgid "Paperless-ng administration" msgstr "Paperless-ng administration" From 67754efd36297820d41ccc3cc5b7153b330589a6 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Fri, 5 Mar 2021 08:36:32 +0000 Subject: [PATCH 04/49] Translate /src-ui/messages.xlf in en_GB translation completed for the source file '/src-ui/messages.xlf' on the 'en_GB' language. --- src-ui/src/locale/messages.en_GB.xlf | 134 ++++++++++++++++----------- 1 file changed, 79 insertions(+), 55 deletions(-) diff --git a/src-ui/src/locale/messages.en_GB.xlf b/src-ui/src/locale/messages.en_GB.xlf index 4e3f0eccf..b4164555f 100644 --- a/src-ui/src/locale/messages.en_GB.xlf +++ b/src-ui/src/locale/messages.en_GB.xlf @@ -590,7 +590,7 @@ Saved view "" deleted. src/app/components/manage/settings/settings.component.ts - 67 + 68 @@ -598,7 +598,7 @@ Settings saved successfully. src/app/components/manage/settings/settings.component.ts - 87 + 89 @@ -606,7 +606,7 @@ Use system language src/app/components/manage/settings/settings.component.ts - 92 + 94 @@ -614,7 +614,7 @@ Use date format of display language src/app/components/manage/settings/settings.component.ts - 98 + 100 @@ -622,7 +622,7 @@ Error while storing settings on server: src/app/components/manage/settings/settings.component.ts - 115 + 117 @@ -646,7 +646,7 @@ Notifications src/app/components/manage/settings/settings.component.html - 115 + 116 @@ -654,7 +654,7 @@ Saved views src/app/components/manage/settings/settings.component.html - 133 + 134 @@ -777,12 +777,20 @@ 98 + + Invert thumbnails in dark mode + Invert thumbnails in dark mode + + src/app/components/manage/settings/settings.component.html + 99 + + Bulk editing Bulk editing src/app/components/manage/settings/settings.component.html - 102 + 103 @@ -790,7 +798,7 @@ Show confirmation dialogs src/app/components/manage/settings/settings.component.html - 106 + 107 @@ -798,7 +806,7 @@ Deleting documents will always ask for confirmation. src/app/components/manage/settings/settings.component.html - 106 + 107 @@ -806,7 +814,7 @@ Apply on close src/app/components/manage/settings/settings.component.html - 107 + 108 @@ -814,7 +822,7 @@ Document processing src/app/components/manage/settings/settings.component.html - 118 + 119 @@ -822,7 +830,7 @@ Show notifications when new documents are detected src/app/components/manage/settings/settings.component.html - 122 + 123 @@ -830,7 +838,7 @@ Show notifications when document processing completes successfully src/app/components/manage/settings/settings.component.html - 123 + 124 @@ -838,7 +846,7 @@ Show notifications when document processing fails src/app/components/manage/settings/settings.component.html - 124 + 125 @@ -846,7 +854,7 @@ Suppress notifications on dashboard src/app/components/manage/settings/settings.component.html - 125 + 126 @@ -854,7 +862,7 @@ This will suppress all messages about document processing status on the dashboard. src/app/components/manage/settings/settings.component.html - 125 + 126 @@ -862,7 +870,7 @@ Appears on src/app/components/manage/settings/settings.component.html - 145 + 146 @@ -870,7 +878,7 @@ Show on dashboard src/app/components/manage/settings/settings.component.html - 148 + 149 @@ -878,7 +886,7 @@ Show in sidebar src/app/components/manage/settings/settings.component.html - 152 + 153 @@ -886,7 +894,7 @@ No saved views defined. src/app/components/manage/settings/settings.component.html - 162 + 163 @@ -1111,7 +1119,7 @@ Manage src/app/components/app-frame/app-frame.component.html - 107 + 112 @@ -1119,7 +1127,7 @@ Admin src/app/components/app-frame/app-frame.component.html - 149 + 154 @@ -1127,7 +1135,7 @@ Info src/app/components/app-frame/app-frame.component.html - 155 + 160 @@ -1135,7 +1143,7 @@ Documentation src/app/components/app-frame/app-frame.component.html - 162 + 167 @@ -1143,7 +1151,7 @@ GitHub src/app/components/app-frame/app-frame.component.html - 170 + 175 @@ -1151,7 +1159,7 @@ Suggest an idea src/app/components/app-frame/app-frame.component.html - 176 + 181 @@ -1175,7 +1183,23 @@ Close all src/app/components/app-frame/app-frame.component.html - 101 + 106 + + + + Title + Title + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 73 + + + + Title & content + Title & content + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 74 @@ -1183,7 +1207,7 @@ Correspondent: src/app/components/document-list/filter-editor/filter-editor.component.ts - 29 + 32 @@ -1191,7 +1215,7 @@ Without correspondent src/app/components/document-list/filter-editor/filter-editor.component.ts - 31 + 34 @@ -1199,7 +1223,7 @@ Type: src/app/components/document-list/filter-editor/filter-editor.component.ts - 36 + 39 @@ -1207,7 +1231,7 @@ Without document type src/app/components/document-list/filter-editor/filter-editor.component.ts - 38 + 41 @@ -1215,7 +1239,7 @@ Tag: src/app/components/document-list/filter-editor/filter-editor.component.ts - 42 + 45 @@ -1223,7 +1247,7 @@ Without any tag src/app/components/document-list/filter-editor/filter-editor.component.ts - 46 + 49 @@ -1231,7 +1255,7 @@ Title: src/app/components/document-list/filter-editor/filter-editor.component.ts - 50 + 53 @@ -1239,7 +1263,7 @@ Filter tags src/app/components/document-list/filter-editor/filter-editor.component.html - 12 + 20 @@ -1247,7 +1271,7 @@ Filter correspondents src/app/components/document-list/filter-editor/filter-editor.component.html - 20 + 28 @@ -1255,7 +1279,7 @@ Filter document types src/app/components/document-list/filter-editor/filter-editor.component.html - 27 + 35 @@ -1263,7 +1287,7 @@ Reset filters src/app/components/document-list/filter-editor/filter-editor.component.html - 50 + 58 @@ -1861,7 +1885,7 @@ English (US) src/app/services/settings.service.ts - 88 + 90 @@ -1869,7 +1893,7 @@ English (GB) src/app/services/settings.service.ts - 89 + 91 @@ -1877,7 +1901,7 @@ German src/app/services/settings.service.ts - 90 + 92 @@ -1885,7 +1909,7 @@ Dutch src/app/services/settings.service.ts - 91 + 93 @@ -1893,7 +1917,7 @@ French src/app/services/settings.service.ts - 92 + 94 @@ -1901,7 +1925,7 @@ Portuguese (Brazil) src/app/services/settings.service.ts - 93 + 95 @@ -1909,7 +1933,15 @@ Italian src/app/services/settings.service.ts - 94 + 96 + + + + Romanian + Romanian + + src/app/services/settings.service.ts + 97 @@ -1917,7 +1949,7 @@ ISO 8601 src/app/services/settings.service.ts - 99 + 102 @@ -2060,14 +2092,6 @@ 18 - - Title - Title - - src/app/services/rest/document.service.ts - 19 - - Document type Document type From 9816efb81688c91cdb3d4e2a4188b7301bf76758 Mon Sep 17 00:00:00 2001 From: jonaswinkler <17569239+jonaswinkler@users.noreply.github.com> Date: Fri, 5 Mar 2021 23:19:44 +0100 Subject: [PATCH 05/49] Revert "Merge pull request #628 from shamoon/feature/popover-previews" This reverts commit 8da15215087e4b7d605dc7fd32985fb5a656ff5d, reversing changes made to a7846925b1892c7c1148723b559135bc0fd7e47d. --- src-ui/package.json | 1 + src-ui/src/app/app.module.ts | 2 + .../document-detail.component.html | 17 ++++++- .../document-detail.component.ts | 12 +++++ .../document-card-large.component.html | 15 ++---- .../document-card-large.component.ts | 47 ++---------------- .../document-card-small.component.html | 14 +----- .../document-card-small.component.ts | 48 ++----------------- .../document-list.component.html | 2 +- .../popover-preview/popover-preview.scss | 22 --------- .../manage/settings/settings.component.html | 15 +++++- .../manage/settings/settings.component.ts | 2 + src-ui/src/app/services/settings.service.ts | 2 + src-ui/src/theme_dark.scss | 23 --------- 14 files changed, 61 insertions(+), 161 deletions(-) delete mode 100644 src-ui/src/app/components/document-list/popover-preview/popover-preview.scss diff --git a/src-ui/package.json b/src-ui/package.json index b005d843a..595228501 100644 --- a/src-ui/package.json +++ b/src-ui/package.json @@ -25,6 +25,7 @@ "bootstrap": "^4.5.0", "file-saver": "^2.0.5", "ng-bootstrap": "^1.6.3", + "ng2-pdf-viewer": "^6.3.2", "ngx-color": "^6.2.0", "ngx-cookie-service": "^10.1.1", "ngx-file-drop": "^10.0.0", diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index dc8b185ea..be7ea2d0b 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -47,6 +47,7 @@ import { SavedViewWidgetComponent } from './components/dashboard/widgets/saved-v import { StatisticsWidgetComponent } from './components/dashboard/widgets/statistics-widget/statistics-widget.component'; import { UploadFileWidgetComponent } from './components/dashboard/widgets/upload-file-widget/upload-file-widget.component'; import { WidgetFrameComponent } from './components/dashboard/widgets/widget-frame/widget-frame.component'; +import { PdfViewerModule } from 'ng2-pdf-viewer'; import { WelcomeWidgetComponent } from './components/dashboard/widgets/welcome-widget/welcome-widget.component'; import { YesNoPipe } from './pipes/yes-no.pipe'; import { FileSizePipe } from './pipes/file-size.pipe'; @@ -143,6 +144,7 @@ registerLocaleData(localeRo) ReactiveFormsModule, NgxFileDropModule, InfiniteScrollModule, + PdfViewerModule, NgSelectModule, ColorSliderModule ], diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index 79215c51c..f9b87aee3 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -1,4 +1,14 @@ +
+
+
Page
+
+ +
+
of {{previewNumPages}}
+
+
+