Commit Graph

612 Commits

Author SHA1 Message Date
Daniel Quinn fd5b831979 Fix pytest to 3.3.2 2018-02-01 12:18:01 +00:00
Daniel Quinn 9faf0a102e Update changelog & version bump 1.1.0 2018-01-21 17:39:00 +00:00
Daniel Quinn b747dd58c3 Fix redirect bug #283 2018-01-21 17:33:04 +00:00
Daniel Quinn 09e1b505e1 Merge pull request #256 from ddddavidmartin/add_financial_year_filter
Add financial year documents filter
2018-01-21 18:23:45 +01:00
Daniel Quinn a6babffed8 Merge pull request #285 from pzl/master
small typo in exporter thumbnail filename
2018-01-21 18:18:31 +01:00
pzl 0256e2dfbb small typo in exporter thumbnail filename 2018-01-19 14:28:46 -05:00
Daniel Quinn 7afa90b769 Fix travis reference to pycodestyle 2018-01-06 19:32:51 +00:00
Daniel Quinn 5796956235 Fix typo 2018-01-06 19:30:08 +00:00
Daniel Quinn 3ca215e4dc Bump to v1.0.0! 1.0.0 2018-01-06 19:25:33 +00:00
Daniel Quinn 16c4183333 Upgrade to Django 1.11.x 2018-01-06 19:24:10 +00:00
Daniel Quinn 6fe37678f2 Change date fields to actual date fields #278 2018-01-06 19:21:49 +00:00
Daniel Quinn b58188f805 Switch from pep8 to pycodestyle 2018-01-06 18:56:37 +00:00
Daniel Quinn f2a42ab6fe Add catch-all redirect for /admin/ 2018-01-06 18:51:16 +00:00
Daniel Quinn e236b7bf7b isort 2018-01-06 18:51:10 +00:00
Daniel Quinn 35004f434b Add a smarter work-around for the change-list-results hack 2018-01-06 18:47:01 +00:00
Daniel Quinn 75251ad694 Add a note for future development 2018-01-06 18:30:33 +00:00
Daniel Quinn 870357968a Fix tests to run on boxes with post-consume-scripts set 2018-01-06 17:23:24 +00:00
Daniel Quinn a593798b4b Add encoding declaration 2018-01-06 17:23:07 +00:00
Daniel Quinn 4f070ba162 Use double quotes by default 2018-01-06 17:22:57 +00:00
Daniel Quinn 9517d27f40 Add warnings to the test runner 2018-01-06 17:22:40 +00:00
Daniel Quinn 35bb3dbcc2 Clean up CSS for #272 2018-01-06 15:57:25 +00:00
Daniel Quinn 06117929bb Merge pull request #277 from ishirav/multi-word-match
Add multi-word match
2017-12-27 11:21:27 +01:00
ishirav d1c8241947 break long lines (pep8) 2017-12-23 07:39:40 +02:00
ishirav 4c38b28469 break long lines (pep8) 2017-12-23 06:59:48 +02:00
ishirav ad0f0a0b5d Add documentation about multi-word search terms 2017-12-23 06:44:06 +02:00
ishirav 83746a9aeb Add tests and improve whitespace handling 2017-12-23 06:37:00 +02:00
ishirav 6a36a4ec97 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 af4623e605 Merge pull request #270 from dev-rke/patch-2
#248: fix missing CSS
I'm not thrilled about this and would much rather have Nginx running to do the job, but I just don't have the time to do that right now.  As Pit says, this is better than leaving DEBUG on.
2017-11-05 20:45:28 +00:00
Daniel Quinn db8e116681 Merge pull request #269 from dev-rke/patch-1
Change default /consume volume
2017-11-05 20:42:08 +00:00
dev-rke a8616ebfe2 #248: fix missing CSS
Force the server to use --insecure flag to also provide static contents like CSS files.
See #248 and #167 for more details.
2017-11-04 16:02:29 +01:00
dev-rke a38d3bf7f8 Change default /consume volume
Change default /consume volume to ./consume on your host, so that no unexpected folder will be generated on the host machine.
2017-11-04 15:57:21 +01:00
Daniel Quinn 1cb5bbd07d Merge pull request #268 from pitkley/267-dir-permissions
Set `g+w` on the consumption/export directories
2017-11-01 11:30:16 +00:00
Daniel Quinn 6edb5b912f Move all scanner recommendations to new doc page 2017-11-01 11:24:11 +00:00
Daniel Quinn ec20c7577e Add a new page for scanner recommendations 2017-11-01 11:15:37 +00:00
Daniel Quinn d6df9b3656 Strip whitespace 2017-11-01 11:15:22 +00:00
Pit Kleyersburg 80a849fef7 Set g+w on the consumption/export directories
This should fix issue #267.
2017-10-31 15:30:33 +01:00
Daniel Quinn bd67b53d50 Update test for #259 fix 2017-10-16 10:53:18 +01:00
Daniel Quinn e32ed09da3 Support .jpeg as well as .jpg 2017-10-16 09:00:38 +01:00
Daniel Quinn c5632e5c04 Update changelog for 0.8.0 2017-09-10 12:51:00 +01:00
Daniel Quinn 4d2b71454d Ignore .virtualenv 0.8.0 2017-09-09 12:22:03 +03:00
Daniel Quinn 5cbb33b02b Add documentation for the new FORCE_SCRIPT_NAME feature 2017-09-09 12:21:31 +03:00
Daniel Quinn 2c55aad6c0 Merge pull request #255 from maphy-psd/master
add FORCE_SCRIPT_NAME to host paperless on a subpath url
2017-09-06 15:56:44 +01:00
Daniel Quinn 1e039dcb32 Bump gunicorn 2017-08-30 00:44:13 +03:00
Daniel Quinn 6ca8da4858 Patch requirements to keep up with Django versions 2017-08-30 00:27:54 +03:00
David Martin 67b492bcb7 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 360d1e2802 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 1cd76634a3 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 c65c5009e4 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 24fb6cefb9 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 d80e272b75 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