Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswinkler committed Dec 31, 2020
2 parents 57da323 + 70f052c commit 9c8b43f
Show file tree
Hide file tree
Showing 123 changed files with 3,677 additions and 1,060 deletions.
2 changes: 1 addition & 1 deletion docker/gunicorn.conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bind = '127.0.0.1:8000'
bind = ['[::]:8000', 'localhost:8000']
backlog = 2048
workers = 3
worker_class = 'sync'
Expand Down
2 changes: 1 addition & 1 deletion docker/hub/docker-compose.postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
POSTGRES_PASSWORD: paperless

webserver:
image: jonaswinkler/paperless-ng:0.9.9
image: jonaswinkler/paperless-ng:0.9.10
restart: always
depends_on:
- db
Expand Down
2 changes: 1 addition & 1 deletion docker/hub/docker-compose.sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
restart: always

webserver:
image: jonaswinkler/paperless-ng:0.9.9
image: jonaswinkler/paperless-ng:0.9.10
restart: always
depends_on:
- broker
Expand Down
4 changes: 4 additions & 0 deletions docker/local/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN apt-get update \
&& apt-get -y --no-install-recommends install \
build-essential \
curl \
file \
fonts-liberation \
ghostscript \
gnupg \
icc-profiles-free \
Expand All @@ -20,6 +22,7 @@ RUN apt-get update \
libpq-dev \
libqpdf-dev \
libxml2 \
libxslt1-dev \
optipng \
pngquant \
qpdf \
Expand Down Expand Up @@ -62,6 +65,7 @@ RUN sudo -HEu paperless python3 manage.py collectstatic --clear --no-input

VOLUME ["/usr/src/paperless/data", "/usr/src/paperless/media", "/usr/src/paperless/consume", "/usr/src/paperless/export"]
ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
EXPOSE 8000
CMD ["/usr/local/bin/supervisord", "-c", "/etc/supervisord.conf"]

LABEL maintainer="Jonas Winkler <[email protected]>"
2 changes: 1 addition & 1 deletion docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loglevel=info ; log level; default info; others: debug,warn,trace
user=root

[program:gunicorn]
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py -b 0.0.0.0:8000 paperless.wsgi
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py paperless.wsgi
user=paperless

stdout_logfile=/dev/stdout
Expand Down
31 changes: 31 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@
Changelog
*********

paperless-ng 0.9.10
###################

* Bulk editing

* Thanks to `Michael Shamoon`_, we've got a new interface for the bulk editor.
* There are some configuration options in the settings to alter the behavior.

* Other changes and additions

* The Paperless-ng logo now navigates to the dashboard.
* Filter for documents that don't have any correspondents, types or tags assigned.
* Tags, types and correspondents are now sorted case insensitive.
* Lots of preparation work for localization support.

* Fixes

* Added missing dependencies for Raspberry Pi builds.
* Fixed an issue with plain text file consumption: Thumbnail generation failed due to missing fonts.
* An issue with the search index reporting missing documents after bulk deletes was fixed.
* Issue with the tag selector not clearing input correctly.
* The consumer used to stop working when encountering an incomplete classifier model file.

.. note::

The bulk delete operations did not update the search index. Therefore, documents that you deleted remained in the index and
caused the search to return messages about missing documents when searching. Further bulk operations will properly update
the index.

However, this change is not retroactive: If you used the delete method of the bulk editor, you need to reindex your search index
by :ref:`running the management command document_index with the argument reindex <administration-index>`.

paperless-ng 0.9.9
##################
Expand Down
9 changes: 9 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,15 @@ PAPERLESS_FILENAME_DATE_ORDER=<format>

Defaults to none, which disables this feature.

PAPERLESS_THUMBNAIL_FONT_NAME=<filename>
Paperless creates thumbnails for plain text files by rendering the content
of the file on an image and uses a predefined font for that. This
font can be changed here.

Note that this won't have any effect on already generated thumbnails.

Defaults to ``/usr/share/fonts/liberation/LiberationSerif-Regular.ttf``.


Binaries
########
Expand Down
6 changes: 3 additions & 3 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ writing. Windows is not and will never be supported.
* ``python3-pip``, optionally ``pipenv`` for package installation
* ``python3-dev``

* ``fonts-liberation`` for generating thumbnails for plain text files
* ``imagemagick`` >= 6 for PDF conversion
* ``optipng`` for optimising thumbnails
* ``optipng`` for optimizing thumbnails
* ``gnupg`` for handling encrypted documents
* ``libpoppler-cpp-dev`` for PDF to text conversion
* ``libmagic-dev`` for mime type detection
Expand All @@ -242,8 +243,7 @@ writing. Windows is not and will never be supported.
* ``tesseract-ocr`` language packs (``tesseract-ocr-eng``, ``tesseract-ocr-deu``, etc)

You will also need ``build-essential``, ``python3-setuptools`` and ``python3-wheel``
for installing some of the python dependencies. You can remove that
again after installation.
for installing some of the python dependencies.

2. Install ``redis`` >= 5.0 and configure it to start automatically.

Expand Down
1 change: 1 addition & 0 deletions paperless.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
#PAPERLESS_FILENAME_DATE_ORDER=YMD
#PAPERLESS_FILENAME_PARSE_TRANSFORMS=[]
#PAPERLESS_THUMBNAIL_FONT_NAME=

# Binaries

Expand Down
13 changes: 9 additions & 4 deletions src-ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.webmanifest"
],
"styles": [
"src/styles.scss"
],
"scripts": []
"scripts": [],
"allowedCommonJsDependencies": [
"ng2-pdf-viewer"
]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -90,7 +94,8 @@
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.webmanifest"
],
"styles": [
"src/styles.scss"
Expand Down Expand Up @@ -127,4 +132,4 @@
}
},
"defaultProject": "paperless-ui"
}
}
Loading

0 comments on commit 9c8b43f

Please sign in to comment.