diff --git a/README.md b/README.md index e59535af4..45c71ab67 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![ci](https://github.com/jonaswinkler/paperless-ng/workflows/ci/badge.svg)](https://github.com/jonaswinkler/paperless-ng/actions) ![Ansible Role](https://github.com/jonaswinkler/paperless-ng/workflows/Ansible%20Role/badge.svg) +[![Crowdin](https://badges.crowdin.net/paperless-ng/localized.svg)](https://crowdin.com/project/paperless-ng) [![Documentation Status](https://readthedocs.org/projects/paperless-ng/badge/?version=latest)](https://paperless-ng.readthedocs.io/en/latest/?badge=latest) [![Gitter](https://badges.gitter.im/paperless-ng/community.svg)](https://gitter.im/paperless-ng/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Docker Hub Pulls](https://img.shields.io/docker/pulls/jonaswinkler/paperless-ng.svg)](https://hub.docker.com/r/jonaswinkler/paperless-ng) @@ -77,9 +78,9 @@ The documentation for Paperless-ng is available on [ReadTheDocs](https://paperle # Translation -Paperless is currently available in English, German, Dutch, French, and Portuguese. +Paperless is currently available in English, German, Dutch, French, Portuguese, Italian, and Romanian. -There's an active translation project at transifex! If you want to help out by translating paperless into your language, please head over to https://github.com/jonaswinkler/paperless-ng/issues/212 for details. +There's an active translation project at crowdin! If you want to help out by translating paperless into your language, please head over to https://github.com/jonaswinkler/paperless-ng/issues/212 for details. # Feature Requests diff --git a/docs/changelog.rst b/docs/changelog.rst index 11223265d..bf083e8b7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,31 @@ Changelog ********* +paperless-ng 1.3.1 +################## + +* Added translation into Spanish and Russian. + +* Other changes + + * ISO-8601 date format will now always show years with 4 digits. + + * Added the ability to search for a document with a specific ASN. + + * The document cards now display ASN, types and dates in a more organized way. + + * Added document previews when hovering over the preview button. + +* Fixes + + * The startup check for write permissions now works properly on NFS shares. + + * Fixed an issue with the search results score indicator. + + * Paperless was unable to generate thumbnails for encrypted PDF files and failed. Paperless will now generate a default thumbnail for these files. + + * Fixed ``AUTO_LOGIN_USERNAME``: Unable to perform POST/PUT/DELETE requests and unable to receive WebSocket messages. + paperless-ng 1.3.0 ################## diff --git a/install-paperless-ng.sh b/install-paperless-ng.sh index 8fb44e222..c550d253c 100755 --- a/install-paperless-ng.sh +++ b/install-paperless-ng.sh @@ -1,7 +1,5 @@ #!/bin/bash -set -e - ask() { while true ; do if [[ -z $3 ]] ; then @@ -64,6 +62,19 @@ if [[ -z $(which docker-compose) ]] ; then exit 1 fi +# Check if user has permissions to run Docker by trying to get the status of Docker (docker status). +# If this fails, the user probably does not have permissions for Docker. +docker stats --no-stream 2>/dev/null 1>&2 +if [ $? -ne 0 ] ; then + echo "" + echo "WARN: It look like the current user does not have Docker permissions." + echo "WARN: Use 'sudo usermod -aG docker $USER' to assign Docker permissions to the user." + echo "" + sleep 3 +fi + +set -e + echo "" echo "############################################" echo "### Paperless-ng docker installation ###" diff --git a/src-ui/angular.json b/src-ui/angular.json index 12c84bc1b..1e4403f79 100644 --- a/src-ui/angular.json +++ b/src-ui/angular.json @@ -23,7 +23,8 @@ "pt-BR": "src/locale/messages.pt_BR.xlf", "it-IT": "src/locale/messages.it_IT.xlf", "ro-RO": "src/locale/messages.ro_RO.xlf", - "ru-RU": "src/locale/messages.ru_RU.xlf" + "ru-RU": "src/locale/messages.ru_RU.xlf", + "es-ES": "src/locale/messages.es_ES.xlf" } }, "architect": { @@ -105,7 +106,8 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "paperless-ui:build" + "browserTarget": "paperless-ui:build", + "ivy": true } }, "test": { diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 06f65fca1..b0c64256a 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -926,32 +926,32 @@ 4 - - Showing documents similar to + + Showing documents similar to src/app/components/search/search.component.html - 7 + 6 Search query: src/app/components/search/search.component.html - 11 + 9 Did you mean ""? src/app/components/search/search.component.html - 13 + 11 {VAR_PLURAL, plural, =0 {No results} =1 {One result} other { results}} src/app/components/search/search.component.html - 18 + 16 @@ -1043,63 +1043,77 @@ Title src/app/components/document-list/filter-editor/filter-editor.component.ts - 73 + 77 Title & content src/app/components/document-list/filter-editor/filter-editor.component.ts - 74 + 78 + + + + ASN + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 79 Correspondent: src/app/components/document-list/filter-editor/filter-editor.component.ts - 32 + 33 Without correspondent src/app/components/document-list/filter-editor/filter-editor.component.ts - 34 + 35 Type: src/app/components/document-list/filter-editor/filter-editor.component.ts - 39 + 40 Without document type src/app/components/document-list/filter-editor/filter-editor.component.ts - 41 + 42 Tag: src/app/components/document-list/filter-editor/filter-editor.component.ts - 45 + 46 Without any tag src/app/components/document-list/filter-editor/filter-editor.component.ts - 49 + 50 Title: src/app/components/document-list/filter-editor/filter-editor.component.ts - 53 + 54 + + + + ASN: + + src/app/components/document-list/filter-editor/filter-editor.component.ts + 57 @@ -1198,14 +1212,14 @@ View src/app/components/document-list/document-card-large/document-card-large.component.html - 50 + 52 Created: src/app/components/document-list/document-card-large/document-card-large.component.html - 67 + 71 @@ -1226,14 +1240,7 @@ Score: src/app/components/document-list/document-card-large/document-card-large.component.html - 62 - - - - View in browser - - src/app/components/document-list/document-card-small/document-card-small.component.html - 40 + 66 @@ -1710,11 +1717,18 @@ 98 + + Spanish + + src/app/services/settings.service.ts + 99 + + ISO 8601 src/app/services/settings.service.ts - 103 + 105 @@ -1826,13 +1840,6 @@ 39 - - ASN - - src/app/services/rest/document.service.ts - 17 - - Correspondent diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index ebf24a327..c364424ad 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -74,6 +74,7 @@ import localeIt from '@angular/common/locales/it'; import localeEnGb from '@angular/common/locales/en-GB'; import localeRo from '@angular/common/locales/ro'; import localeRu from '@angular/common/locales/ru'; +import localeEs from '@angular/common/locales/es'; registerLocaleData(localeFr) @@ -84,6 +85,7 @@ registerLocaleData(localeIt) registerLocaleData(localeEnGb) registerLocaleData(localeRo) registerLocaleData(localeRu) +registerLocaleData(localeEs) @NgModule({ declarations: [ 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 e17e21e03..96ca1382c 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 @@ -31,7 +31,7 @@