735 Commits

Author SHA1 Message Date
Daniel Quinn
fb1da4834c Style and removal of Python 2.7 stuff 2018-02-18 15:55:55 +00:00
Wolf-Bastian Pöttner
96c7222269 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
1737e27b34 Add more (fast-running) unit tests 2018-02-14 21:41:01 +01:00
Wolf-Bastian Pöttner
39f198138a Extended exception handling 2018-02-12 22:43:16 +01:00
Wolf-Bastian Pöttner
c74bb84c83 Added log output for date detected in document 2018-02-12 22:41:19 +01:00
Wolf-Bastian Pöttner
07d06d9aee Extends the regex to find dates in documents as reported by @isaacsando 2018-02-12 22:41:15 +01:00
Daniel Quinn
9cef689106 Merge branch 'rhaamo-add_retagger_correspondents' 2018-02-08 20:03:51 +00:00
Daniel Quinn
11a9c756b3 Updated for style and to add a --use-first option 2018-02-08 20:03:29 +00:00
Dashie
11accaff7f Fix line length 2018-02-08 19:34:48 +00:00
Dashie
77aee832e4 Add manager command to re-tag documents without correspondent 2018-02-08 19:34:48 +00:00
Matt
4bde14368c Rejiggering for more pycodestyle issues... 2018-02-08 09:01:10 -05:00
Matt
151d85f2be 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
e7c23cfb92 Making paperless.conf DISABLE_LOGIN default explicitly to "false" for clarity 2018-02-06 10:03:50 -05:00
Georgi Todorov
3f9ea7b971 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
998c3ef51b Merge branch 'master' of https://github.com/danielquinn/paperless into disable_login 2018-02-05 11:48:15 -05:00
Daniel Quinn
c85b6b425d Fix docs to better reflect reality of extensions 2018-02-04 13:33:08 +00:00
Daniel Quinn
273916973c Remove superfluous code 2018-02-04 13:27:26 +00:00
Daniel Quinn
5009bd022f Add section for extending 1.2.0 2018-02-03 15:31:20 +00:00
Daniel Quinn
73163d893f No need to extend object 2018-02-03 15:26:28 +00:00
Daniel Quinn
506af7c9c2 Conform to an 80-character limit 2018-02-03 15:26:09 +00:00
Daniel Quinn
c90ed2da1d 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
cebb8b9fa2 Use paperless- instead of paperless for tempdir name
This is purely aesthetic.
2018-02-03 14:49:17 +00:00
Daniel Quinn
46aca10a72 No need to explicitly extend object 2018-02-03 14:49:01 +00:00
Daniel Quinn
6384c698ad Fix DeprecationWarning as-per ishirav's advice 2018-02-03 14:48:14 +00:00
Daniel Quinn
abf01be889 Move the Docker method up 2018-02-03 14:22:10 +00:00
Daniel Quinn
1e4928d2a0 Update the release notes for 1.2.0 2018-02-03 14:21:55 +00:00
Daniel Quinn
503be90932 Reorganise the sections. 2018-02-03 14:11:43 +00:00
Daniel Quinn
b5d6a82cc3 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
c073ba5272 Try to get Docker Hub liking the README 2018-02-03 14:02:21 +00:00
Daniel Quinn
d1e317ce21 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
d4abeafb34 Re-order requirements.txt 2018-02-03 13:28:22 +00:00
Daniel Quinn
4d96551619
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
178361b247 Add tesseract and unpaper to travis-ci for automated tests 2018-02-03 00:28:52 +01:00
Wolf-Bastian Pöttner
40f8ba23a4 Added a text cache to optimize performance of date detection 2018-02-03 00:28:52 +01:00
Wolf-Bastian Pöttner
bef2d94374 Add test cases for date parsing 2018-02-03 00:28:49 +01:00
Wolf-Bastian Pöttner
f39c7654a0 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
e9fff764cb Fix text formatting 2018-02-02 22:38:07 +01:00
Wolf-Bastian Pöttner
87e466c47c Add support for using pre-existing text from PDFs 2018-02-02 22:37:58 +01:00
Daniel Quinn
bd0b593c4a Clean up grammar & remove VersionEye 2018-02-02 22:37:36 +01:00
Daniel Quinn
7a8142df2b Update docs to reflect Docker changes 2018-02-02 22:37:36 +01:00
Guy
bbe3084eda fixing typos and rst syntax 2018-02-02 22:37:36 +01:00
Guy
89d42bd078 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
93efaf7a38 adapted docker-entrypoint script for alpine docker image (mainly how to
install additional OCR languages)
2018-02-02 22:37:36 +01:00
Guy
398575c70c 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
4e21fa4830 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
d2d2d9edaf moved to alpine:3.7 removed RUN layers to save image space, removed
redundant mkdir commands
2018-02-02 22:37:35 +01:00
Guy Addadi
771c8bbbe4 added bash and moved all dev packages to be with virtual alpine env that
is removed after python libraries installation
2018-02-02 22:37:35 +01:00
Guy Addadi
20eeda19b8 adapted Dockerfile for alpine image 2018-02-02 22:37:35 +01:00
Matt
96c517d65c Rejiggering code style to make upstream pycodestyle checks happy 2018-02-02 09:50:43 -05:00
Matt
e70ad3d493 Fixing formatting to be compatible with upstream repo for login disabling patch 2018-02-01 17:32:08 -05:00