889 Commits

Author SHA1 Message Date
Daniel Quinn
f0ad1d8a73 Update changelog with #303 2018-02-18 16:06:10 +00:00
Daniel Quinn
4f726e1991 Monitor return codes of calls to convert and unpaper
...and handle the failures nicely.  Addresses #303.
2018-02-18 16:02:27 +00:00
Daniel Quinn
e53033d1b3 Rename .TEXT_CACHE to .text
Properties should use snake_case, and only constants should be ALL_CAPS.
This change also makes use of the convention of "private" properties
being prefixed with `_`.
2018-02-18 16:00:43 +00:00
Daniel Quinn
3302ee2a78 Make isort happy 2018-02-18 16:00:03 +00:00
Daniel Quinn
caf44146db Style and removal of Python 2.7 stuff 2018-02-18 15:55:55 +00:00
Wolf-Bastian Pöttner
5fed7ba6d4 Improved regular expression to only match for (unicode) characters in month names + parsed one regex match after another until one gave a parsable date 2018-02-14 21:41:04 +01:00
Wolf-Bastian Pöttner
fc81feb32e Add more (fast-running) unit tests 2018-02-14 21:41:01 +01:00
Wolf-Bastian Pöttner
3e65054e39 Extended exception handling 2018-02-12 22:43:16 +01:00
Wolf-Bastian Pöttner
c0c20f99e9 Added log output for date detected in document 2018-02-12 22:41:19 +01:00
Wolf-Bastian Pöttner
3899763261 Extends the regex to find dates in documents as reported by @isaacsando 2018-02-12 22:41:15 +01:00
Daniel Quinn
997a869124 Merge branch 'rhaamo-add_retagger_correspondents' 2018-02-08 20:03:51 +00:00
Daniel Quinn
345bc97c8c Updated for style and to add a --use-first option 2018-02-08 20:03:29 +00:00
Dashie
3df9ea3b26 Fix line length 2018-02-08 19:34:48 +00:00
Dashie
73a9a23860 Add manager command to re-tag documents without correspondent 2018-02-08 19:34:48 +00:00
Matt
98034ad6c5 Rejiggering for more pycodestyle issues... 2018-02-08 09:01:10 -05:00
Matt
1ca62e5fa1 Moving auto-auth logic to more Django-flavored locations and correcting some readability/stylistic considerations requested by the upstream maintainer 2018-02-08 08:46:33 -05:00
Matt
b20161df25 Making paperless.conf DISABLE_LOGIN default explicitly to "false" for clarity 2018-02-06 10:03:50 -05:00
Georgi Todorov
0f6ff6ad53 Add a dependency link between two containers and change the way Django migrations are done. Provide example for auto-starting the containers 2018-02-05 18:23:35 -05:00
Matt
21f786a46e Merge branch 'master' of https://github.com/danielquinn/paperless into disable_login 2018-02-05 11:48:15 -05:00
Daniel Quinn
36366ab5a1 Fix docs to better reflect reality of extensions 2018-02-04 13:33:08 +00:00
Daniel Quinn
e89d1a428e Remove superfluous code 2018-02-04 13:27:26 +00:00
Daniel Quinn
196ae8df90 Add section for extending 2018-02-03 15:31:20 +00:00
Daniel Quinn
c6e671f2fa No need to extend object 2018-02-03 15:26:28 +00:00
Daniel Quinn
62e9c8390a Conform to an 80-character limit 2018-02-03 15:26:09 +00:00
Daniel Quinn
4c0b908a41 Rework tests to write to /tmp
Originally the test wrote scratch data inside the repo dir, which meant
manual cleanup.  Now it writes to `/tmp/paperless-tests-<random-string>`
and cleans up after itself.
2018-02-03 14:49:48 +00:00
Daniel Quinn
5cc10a282b Use paperless- instead of paperless for tempdir name
This is purely aesthetic.
2018-02-03 14:49:17 +00:00
Daniel Quinn
648e7b6d4f No need to explicitly extend object 2018-02-03 14:49:01 +00:00
Daniel Quinn
910a08f8c9 Fix DeprecationWarning as-per ishirav's advice 2018-02-03 14:48:14 +00:00
Daniel Quinn
7f253cfb20 Move the Docker method up 2018-02-03 14:22:10 +00:00
Daniel Quinn
3b5d1bb637 Update the release notes for 1.2.0 2018-02-03 14:21:55 +00:00
Daniel Quinn
fd2753d6c4 Reorganise the sections. 2018-02-03 14:11:43 +00:00
Daniel Quinn
37604b20a0 Reformat README to be Docker Hub-friendly
For some reason, Docker Hub doesn't follow the Markdown spec correctly, and inserts `<br />` tags on single newlines, meaning that this file can't use hard wraps.
2018-02-03 14:06:11 +00:00
Daniel Quinn
6e7938e775 Try to get Docker Hub liking the README 2018-02-03 14:02:21 +00:00
Daniel Quinn
7ffccaddca Switch from README.rst to README.md
This is to work around a shortcoming in Docker Hub that requires that we
use markdown.
2018-02-03 13:40:27 +00:00
Daniel Quinn
466eb2a798 Re-order requirements.txt 2018-02-03 13:28:22 +00:00
Daniel Quinn
2e7c370d38 Merge pull request #291 from BastianPoe/feature/heuristically-extract-date-from-document-text
Add support for a heuristic that extracts the document date from its text
2018-02-03 14:13:14 +01:00
Wolf-Bastian Pöttner
3a4626a3e2 Add tesseract and unpaper to travis-ci for automated tests 2018-02-03 00:28:52 +01:00
Wolf-Bastian Pöttner
acfacaac4f Added a text cache to optimize performance of date detection 2018-02-03 00:28:52 +01:00
Wolf-Bastian Pöttner
4f725cf4d2 Add test cases for date parsing 2018-02-03 00:28:49 +01:00
Wolf-Bastian Pöttner
73d261484a Merge branch 'master' of https://github.com/danielquinn/paperless into feature/heuristically-extract-date-from-document-text 2018-02-02 22:44:03 +01:00
Daniel Quinn
0c9c25cf6b Fix text formatting 2018-02-02 22:38:07 +01:00
Wolf-Bastian Pöttner
3dc730808e Add support for using pre-existing text from PDFs 2018-02-02 22:37:58 +01:00
Daniel Quinn
f0bbb2550e Clean up grammar & remove VersionEye 2018-02-02 22:37:36 +01:00
Daniel Quinn
5c878fb739 Update docs to reflect Docker changes 2018-02-02 22:37:36 +01:00
Guy
b0afcfbca2 fixing typos and rst syntax 2018-02-02 22:37:36 +01:00
Guy
d1ece4a128 Updated Dockerfile with maintainer and contributors
Updated setup.rst with information on upgrade path if coming from an
earlier version of docker-compose images
2018-02-02 22:37:36 +01:00
Guy
4c60d718e5 adapted docker-entrypoint script for alpine docker image (mainly how to
install additional OCR languages)
2018-02-02 22:37:36 +01:00
Guy
917954d6eb changed docker-comppse.yml example to build the docker image instead of
pull the previously used debian based image from docker hub
2018-02-02 22:37:36 +01:00
Guy Addadi
d6743d7082 removed ENV WORKDIR layers, reorg the commands in groups with comments
and black lines when possible. Removed redundant mkdir command
2018-02-02 22:37:36 +01:00
Guy Addadi
54fb8665e9 moved to alpine:3.7 removed RUN layers to save image space, removed
redundant mkdir commands
2018-02-02 22:37:35 +01:00