Commit Graph

1204 Commits

Author SHA1 Message Date
Adam Piontek 3084fa02bb bumping gunicorn version requirement to 20.0.4 2020-04-28 13:05:30 -04:00
JOKer da3edbb1b0 Merge pull request #614 from lawtancool/master
Add timezone variable to Docker containers
2020-04-04 19:12:59 +02:00
David Martin 5e849a85a5 Merge pull request #597 from bauerj/pdf-preview
Add PDF preview next to edit form
2020-04-02 00:01:00 +10:00
ahyear b741f1e504 Merge pull request #599 from ljm42/patch-1
Allow non-unique GIDs
2020-03-15 04:43:09 +01:00
JOKer 222acb8c13 Merge pull request #612 from languitar/tesseract-4.1
Upgrade Docker image to Alpine 3.11
2020-03-01 20:01:26 +01:00
Johannes Wienke 19b9b2a396 Upgrade Docker image to Alpine 3.11
This make tesseract 4.1 avaialbe, which fixes some things like infinite
processing loops on some documents: tesseract-ocr/tesseract#2288
2020-03-01 10:59:59 +01:00
Johannes Wienke cf4836ad07 Bump dependency versions
Not all dependencies work well on Alpine 3.11. Thus, bump dependencies and lock
again.

Due to also updating the CORS packages while dependency locking, the
CORS_ORIGIN_WHITELIST had to be changed to valid URIs, which are now required
by the respective packages.
2020-03-01 10:59:59 +01:00
JOKer 745ac22eef Merge pull request #601 from Tooa/fix_doc_build
Fix warnings in bash code blocks
2020-02-28 23:16:28 +01:00
JOKer 65c19999e8 Merge pull request #581 from nxnjz/patch-1
added dependency on network.target so that paperless-webserver can cleanly shutdown before the network goes down (during reboots, etc.)

network-online.target is not required when accessing paperless on localhost, so having a dependency on it is not necessary.
2020-02-28 23:12:26 +01:00
nxnjz 56c686da1e Update paperless-webserver.service 2020-02-27 20:05:50 +02:00
Johann Bauer a4573a8de8 Add PDF preview next to edit form 2020-02-23 20:19:45 +01:00
lawtancool 177929e58b add TZ variable to docker-compose.env.example 2020-02-17 21:48:39 -08:00
lawtancool 6d87bce905 add tzdata apk install to Dockerfile 2020-02-17 21:46:21 -08:00
Uli 91272029ab fix highlighting skipped warning
* refs https://github.com/sphinx-doc/sphinx/issues/4098
2020-01-11 01:14:06 +01:00
ljm42 ad42e7fabe Allow non-unique GIDs
Need to allow non-unique group ids, so paperless can map to an existing GID.

The comment says the map_uidgid() function came from docker-gitlab, the same fix was applied there too:
  https://github.com/sameersbn/docker-gitlab/commit/c80bd876628d0c04f8ef2a3ffb46fe899bf63d23
2020-01-05 18:20:03 -08:00
Pit e0da952e64 Merge pull request #539 from bauerj/subdirectories
Warn if consume directory contains subdirectories
2020-01-04 13:39:28 +01:00
Johann Bauer 22c7f309a7 Warn if consume directory contains subdirectories
.
2020-01-04 01:09:54 +01:00
ahyear 5317019d71 Merge pull request #579 from fdw/feature/ssl
Support SSL for web interface
2020-01-03 11:35:29 +01:00
nxnjz 2cb172b4aa added dependency on network.target 2019-11-19 22:16:53 +02:00
Fabian Winter 9c1fcbcc98 Address comments 2019-11-03 20:14:17 +01:00
Fabian Winter 9b2b435c5b Support SSL for web interface
Thanks to @MasterofJOKers, here is basic support for SSL:
You need to create your key and certificate and copy them to the `data`
directory, named `ssl.cert` and `ssl.key`.
Then, set `PAPERLESS_USE_SSL` in `docker-compose.env` to `true`.

Solves #576.
2019-11-03 18:30:43 +01:00
Pit a690b1cf24 Merge pull request #570 from mattelacchiato/master
fix: Documentation rendering leads to wrong commands #569
2019-10-06 16:23:04 +02:00
Pit b5f21550d0 Merge pull request #564 from diveflo/feat/webserver/gunicorn
Gunicorn webserver in Docker
2019-10-06 16:20:06 +02:00
Matthias Brandt 12f0df0f52 fix: Documentation rendering leads to wrong commands #569 2019-10-05 18:08:06 +02:00
Florian Gabsteiger da586fc90a Add bind-ip 0.0.0.0 to docker-compose command 2019-09-22 11:47:22 +02:00
Florian Gabsteiger d390005c5c Enable user-controlled gunicorn options in docker-compose file 2019-09-22 11:47:22 +02:00
Florian Gabsteiger bdeaf33462 Copy gunicorn.conf to docker container and use it in entrypoint 2019-09-22 11:47:22 +02:00
Florian Gabsteiger dcc959d4f7 Add gunicorn option to docker-entrypoint script 2019-09-22 11:47:22 +02:00
Daniel Quinn 1c956652f3 Merge pull request #542 from grembo/master
Allow configuring transformations to be applied to the filename before
2019-09-09 20:53:45 +01:00
Michael Gmelin 4f85d9ed9f Add unit test for PAPERLESS_FILENAME_PARSE_TRANSFORMS feature. 2019-09-08 20:58:13 +02:00
Pit ebd9f918d2 Merge pull request #543 from maur/master
lxc installation - small improvements
2019-09-08 19:13:03 +02:00
Michael Gmelin 3b88d6722a Address review comments by @danielquinn 2019-09-08 17:00:02 +02:00
Daniel Quinn 290051c1b3 Merge pull request #563 from diveflo/feat/docker/alpine
Upgrade docker base image to alpine v3.10
2019-09-08 12:25:33 +01:00
Daniel Quinn d9350315f5 Merge pull request #552 from diveflo/master
Use whitenoise and brotli for static file compression & caching
2019-09-08 12:18:48 +01:00
Florian Gabsteiger 3050ff1594 Upgrade docker base image to alpine v3.10 2019-09-04 23:00:34 +02:00
Michael Gmelin f0320fb72d Allow configuring transformations to be applied to the filename before
parsing. The motivation was that files produced by a Brother scanner
wouldn't match paperless' expectations. At most one transformation
is applied (first matching). It won't affect the filename on disk.

This is generic enough so that it is useful for various purposes.
In my case it allows me to use the different hardware buttons on
the scanner to use different profiles, feeding one instance of
paperless with documents of multiple entities and tagging them
accordingly.

Example:

PAPERLESS_FILENAME_PARSE_TRANSFORMS=[{"pattern":"^([a-z]+)_(\\d{8})_(\\d{6})_([0-9]+)\\.", "repl":"\\2\\3Z - \\4 - \\1."},{"pattern":"^([a-z]+)_([0-9]+)\\.", "repl":" - \\2 - \\1."}]
2019-08-31 15:01:25 +02:00
Florian Gabsteiger 6ca7322aee Move static file collection from docker entrypoint to Dockerfile to reduce superflous work 2019-08-30 22:38:38 +02:00
Daniel Quinn 5ce173c271 Merge pull request #561 from telent/master
Describe usage of `manage.py document_correspondents`
2019-08-30 13:37:47 +01:00
Daniel Barlow d0b513c18f fix title underline length 2019-08-30 12:52:03 +01:00
Daniel Barlow 712e904133 Describe usage of manage.py document_correspondents
Relates to  #347, without which I'd never have known it existed.
2019-08-30 12:37:04 +01:00
Florian Gabsteiger 82855f9d43 Adjust path in setup docs to python 3.6 as 3.4 is deprecated 2019-08-10 17:25:52 +02:00
Florian Gabsteiger dfe5f25f01 Remove python 3.4 from travis as it has reached end-of-life and does not support a lot of the dependencies newer versions 2019-08-08 01:01:53 +02:00
Florian Gabsteiger 5ae3433a6d Specify sys platform for inotify 2019-08-08 01:00:28 +02:00
Florian Gabsteiger 30b18df71c Adjust requirements 2019-08-07 21:38:54 +02:00
Florian Gabsteiger 2efd278ee9 Add http to cors origin whitelist as this is required with new version 2019-08-06 12:26:14 -09:00
Florian Gabsteiger ce02473edb Remove specific versions from Pipfile and adjust Pipfile.lock and requirements.txt accordingly 2019-08-06 12:25:37 -09:00
Florian Gabsteiger 2569067ac8 Remove exact versions from Pipfile: 2019-08-05 20:48:53 +02:00
Florian Gabsteiger 7e77c5ec31 Add static file collection instruction to bare-metal setup guide as it is necessary for whitenoise static file serving 2019-07-25 00:55:20 +02:00
Florian Gabsteiger 4107323a76 Enable static file collection in docker image 2019-07-25 00:43:24 +02:00
Florian Gabsteiger 528b4ac2f0 Activate whitenoise and static file compression and caching 2019-07-24 13:26:28 -09:00