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
Matt
550d99f1b4
Testing auth disabling mods
2018-02-01 17:28:04 -05:00
Matt
bc5c45a705
Fixing error sentinel for pdftotext when the PDF has no text (scanned images). It was causing a crash previously.
2018-02-01 10:08:57 -05:00
Daniel Quinn
c20ea417ee
Merge branch 'master' of github.com:danielquinn/paperless
2018-02-01 12:37:29 +00:00
Daniel Quinn
79ef7779da
Version bump in anticipation of release later this week
2018-02-01 12:37:21 +00:00
Daniel Quinn
269c32ce6a
Add support for using pre-existing text from PDFs
2018-01-30 20:13:35 +00:00
Wolf-Bastian Pöttner
21fc51c09a
Add support for a heuristic that extracts the document date from its text
2018-01-28 19:37:10 +01:00
Daniel Quinn
c16c9a1325
Update changelog & version bump
2018-01-21 17:39:00 +00:00
Daniel Quinn
80ec72731e
Fix redirect bug #283
2018-01-21 17:33:04 +00:00
Daniel Quinn
24ddc681cd
Merge pull request #256 from ddddavidmartin/add_financial_year_filter
...
Add financial year documents filter
2018-01-21 18:23:45 +01:00
pzl
7a01005989
small typo in exporter thumbnail filename
2018-01-19 14:28:46 -05:00
Daniel Quinn
8932c29d5e
Bump to v1.0.0!
2018-01-06 19:25:33 +00:00
Daniel Quinn
d70d38aef6
Change date fields to actual date fields #278
2018-01-06 19:21:49 +00:00
Daniel Quinn
60be15e260
Switch from pep8 to pycodestyle
2018-01-06 18:56:37 +00:00
Daniel Quinn
1af7152fa8
Add catch-all redirect for /admin/
2018-01-06 18:51:16 +00:00
Daniel Quinn
276d2965af
isort
2018-01-06 18:51:10 +00:00
Daniel Quinn
b30b112b8b
Add a smarter work-around for the change-list-results hack
2018-01-06 18:47:01 +00:00
Daniel Quinn
17bdfa0f49
Add a note for future development
2018-01-06 18:30:33 +00:00
Daniel Quinn
0d9d7460c6
Fix tests to run on boxes with post-consume-scripts set
2018-01-06 17:23:24 +00:00