382 Commits

Author SHA1 Message Date
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
Daniel Quinn
964b8ddb82 Add encoding declaration 2018-01-06 17:23:07 +00:00
Daniel Quinn
17d46d83db Use double quotes by default 2018-01-06 17:22:57 +00:00
Daniel Quinn
89445315a3 Add warnings to the test runner 2018-01-06 17:22:40 +00:00
Daniel Quinn
36359a7334 Clean up CSS for #272 2018-01-06 15:57:25 +00:00
ishirav
a3492fdc87 break long lines (pep8) 2017-12-23 07:39:40 +02:00
ishirav
9af7a00f82 break long lines (pep8) 2017-12-23 06:59:48 +02:00
ishirav
d6baea871b Add tests and improve whitespace handling 2017-12-23 06:37:00 +02:00
ishirav
e89cb0d6e0 Support search terms that contain multiple words in ANY/ALL matching modes, by surrounding the terms with double quotes. 2017-12-23 06:05:48 +02:00
Daniel Quinn
67844dff0c Update test for #259 fix 2017-10-16 10:53:18 +01:00
Daniel Quinn
2820767f29 Support .jpeg as well as .jpg 2017-10-16 09:00:38 +01:00
David Martin
a0c054a5f6 Determine the start of the financial only for wrapping years.
If the financial year is from Jan to Dec there we do not need to
determine the start to see which year it falls into.
2017-08-26 19:50:57 +10:00
David Martin
82852cc01e Store whether financial year wraps instead of re-determining it.
It either wraps or it does not depending on how it is set in the config.
There is no point in determining it again for each document. Instead we
simply store it as a member variable the first time we check.
2017-08-26 19:45:39 +10:00
David Martin
cef4aaab45 Take non-wrapping financial years into account.
The German financial year for example goes from January to December. In
those cases we simply only show the year in the overview.
2017-08-25 20:27:39 +10:00
David Martin
164efe902d Return no filter results if financial year dates are not set.
This is a lot cleaner than trying to hack around whether or not the
FinancialYearFilter is part of the available filters. This way it will
show up if there are result for it and the dates are set, and it will
not if any of those conditions is not set.
2017-08-25 17:36:09 +10:00
David Martin
a82fb87e82 Add config settings to set the start and the end of the financial year.
Now we allow to filter for any financial year dates. Note that we also
only show the financial year filter if the dates are actually set.
2017-08-24 20:51:09 +10:00
David Martin
44f2a71f74 Add a basic financial year filter for the document overview.
For now we simply hardcode the dates for the AU financial years. We
simply show a list of financial years and filter the documents
accordingly.
2017-08-24 20:20:00 +10:00
maphy-psd
cf767bdd03 fix travis ci E510
E501 line too long (85 > 79 characters)
2017-08-20 16:18:39 +02:00
maphy-psd
fec0ff2e79 white spacing and remove var's prefix 2017-08-20 14:29:51 +02:00