Daniel Quinn
00cc5c49d1
Merge pull request #320 from ovv/detected-document-date-log-iso
...
Log detected document date with isoformat
2018-03-05 12:37:28 +01:00
Martin Arendtsen
79d2152ce1
Added support for paperless.conf in /usr/local/etc
2018-03-04 21:37:04 +01:00
Ovv
32c440cbd9
Log detected document date with isoformat
2018-03-04 13:10:49 +01:00
Daniel Quinn
19209ba5af
Run a --oneshot loop twice
...
This was necessary since the first loop only ever collects file
statistics so that the second run can be sure about "readiness".
2018-03-03 18:43:20 +00:00
Daniel Quinn
13452ba33b
Clean up docstring to be properly rst
2018-03-03 18:43:20 +00:00
Ovv
340855cd87
Help & documentation
2018-03-03 18:43:20 +00:00
Ovv
cc5dd576e0
remove consume env var from pytest.ini
2018-03-03 18:43:20 +00:00
Ovv
2262a6ec28
use tmp dir
2018-03-03 18:43:20 +00:00
Ovv
b10c2c770c
style & test
2018-03-03 18:43:20 +00:00
Ovv
d89dbbe537
Configuration cli argument for document_consumer
2018-03-03 18:43:20 +00:00
Ovv
3c07199b4f
Add documentation testing
2018-02-27 13:30:02 +01:00
Ovv
68ae634c1f
Add back tox
2018-02-27 12:27:21 +01:00
Daniel Quinn
149aaf0bae
Have pytest generate the coverage files
2018-02-25 16:42:15 +00:00
Daniel Quinn
f2796ab408
Consolidate CI tools into setup.cfg and drop tox
2018-02-25 15:51:59 +00:00
Daniel Quinn
d4e4861078
Merge pull request #309 from danielquinn/mysql-hack
...
Add another db_index hack for MySQL.
Fixes #308 .
2018-02-25 12:53:38 +01:00
Daniel Quinn
e1894aeeeb
Update for 1.3.0
2018-02-25 11:47:39 +00:00
Daniel Quinn
3570896620
Add another db_index hack for MySQL
2018-02-20 11:17:11 +00:00
Wolf-Bastian Pöttner
328330eb08
Increase testcoverage by testing two more date detection cases
2018-02-19 21:36:48 +01:00
Daniel Quinn
fc6d2d5e0c
Fix formatting
2018-02-18 18:00:34 +00:00
Daniel Quinn
9e26e7b39e
Fix tests to use _text instead of TEXT_CACHE
2018-02-18 18:00:22 +00:00
Daniel Quinn
7c5ca5f505
Merge pull request #302 from BastianPoe/bugfix/extend_regex_to_find_more_dates
...
Extends the regex to find dates in documents as reported by @isaacsando
2018-02-18 17:23:49 +01:00
Daniel Quinn
48328e19a2
Merge pull request #295 from matthewmoto/disable_login
...
Disable login with a creative hack
2018-02-18 17:15:51 +01: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
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
21f786a46e
Merge branch 'master' of https://github.com/danielquinn/paperless into disable_login
2018-02-05 11:48:15 -05:00
Daniel Quinn
e89d1a428e
Remove superfluous code
2018-02-04 13:27:26 +00:00
Daniel Quinn
c6e671f2fa
No need to extend object
2018-02-03 15:26:28 +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
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
Wolf-Bastian Pöttner
3dc730808e
Add support for using pre-existing text from PDFs
2018-02-02 22:37:58 +01:00
Matt
d0427cd4f1
Rejiggering code style to make upstream pycodestyle checks happy
2018-02-02 09:50:43 -05:00
Matt
c059804a87
Fixing formatting to be compatible with upstream repo for login disabling patch
2018-02-01 17:32:08 -05:00
Matt Meno
8fb0cd0cdd
Updating changes to allow for disabling login
2018-02-01 17:28:19 -05:00