652 Commits

Author SHA1 Message Date
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
Daniel Quinn
7d03ad0198 Merge pull request #277 from ishirav/multi-word-match
Add multi-word match
2017-12-27 11:21:27 +01: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
a5d4a15be6 Add documentation about multi-word search terms 2017-12-23 06:44:06 +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
Guy
febf6799ef adapted docker-entrypoint script for alpine docker image (mainly how to
install additional OCR languages)
2017-12-20 16:17:58 +02:00
Guy
01bb912972 changed docker-comppse.yml example to build the docker image instead of
pull the previously used debian based image from docker hub
2017-12-19 22:34:22 +02:00
Guy Addadi
98d4e102bf removed ENV WORKDIR layers, reorg the commands in groups with comments
and black lines when possible. Removed redundant mkdir command
2017-12-12 23:12:34 +02:00
Guy Addadi
a825c54634 moved to alpine:3.7 removed RUN layers to save image space, removed
redundant mkdir commands
2017-12-11 22:03:51 +02:00
Guy Addadi
c40b6fbd4e added bash and moved all dev packages to be with virtual alpine env that
is removed after python libraries installation
2017-12-11 00:41:36 +02:00
Guy Addadi
54872c1298 adapted Dockerfile for alpine image 2017-12-09 23:08:56 +02:00
Daniel Quinn
d3a8a072c4 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
7b98652b06 Merge pull request #269 from dev-rke/patch-1
Change default /consume volume
2017-11-05 20:42:08 +00:00
dev-rke
4f1461d046 #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
fac72723d7 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
d5e9905b2f 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
e39c1a726d Move all scanner recommendations to new doc page 2017-11-01 11:24:11 +00:00
Daniel Quinn
cc1808075e Add a new page for scanner recommendations 2017-11-01 11:15:37 +00:00
Daniel Quinn
965279be03 Strip whitespace 2017-11-01 11:15:22 +00:00
Pit Kleyersburg
6739c46662 Set g+w on the consumption/export directories
This should fix issue #267.
2017-10-31 15:30:33 +01: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
Daniel Quinn
f6eefa7b79 Update changelog for 0.8.0 2017-09-10 12:51:00 +01:00
Daniel Quinn
a2de96142d Ignore .virtualenv 2017-09-09 12:22:03 +03:00
Daniel Quinn
dae63e11cc Add documentation for the new FORCE_SCRIPT_NAME feature 2017-09-09 12:21:31 +03:00
Daniel Quinn
064ea6ba47 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
6d558cb8fb Bump gunicorn 2017-08-30 00:44:13 +03:00
Daniel Quinn
8a456b24b0 Patch requirements to keep up with Django versions 2017-08-30 00:27:54 +03: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
maphy-psd
e9167e5187 getenv has "None" as default
@MasterofJOKers in PR#255
2017-08-20 14:13:23 +02:00
maphy-psd
9a2e5fd28b def thumbnail uses FORCE_SCRIPT_NAME
with this edit the tumbnails are show up..
2017-08-19 18:37:17 +02:00
maphy-psd
da23ee93f5 add FORCE_SCRIPT_NAME setting 2017-08-19 12:39:25 +02:00
maphy-psd
f547de7dd5 add PAPERLESS_FORCE_SCRIPT_NAME 2017-08-19 12:38:45 +02:00
Daniel Quinn
667b73f6cc Merge pull request #250 from brightdroid/master
create documents subfolder folder if they do not exist
2017-08-12 14:39:22 +01:00
Christoph Roeder
182637f6f6 create documents subfolder folder if they do not exist 2017-07-31 21:35:41 +02:00
Daniel Quinn
0ceac9ac61 Merge pull request #247 from danielquinn/issue/235
Allow correspondents to be deleted without deleting their documents
2017-07-15 19:41:33 +01:00
Daniel Quinn
fb4407fe65 Allow correspondents to be deleted without deleting their documents
Fixes #235
2017-07-15 19:13:10 +01:00