Ovv
d89dbbe537
Configuration cli argument for document_consumer
2018-03-03 18:43:20 +00:00
Daniel Quinn
3570896620
Add another db_index hack for MySQL
2018-02-20 11:17:11 +00: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
caf44146db
Style and removal of Python 2.7 stuff
2018-02-18 15:55:55 +00: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
Daniel Quinn
e89d1a428e
Remove superfluous code
2018-02-04 13:27:26 +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
21fc51c09a
Add support for a heuristic that extracts the document date from its text
2018-01-28 19:37:10 +01: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
d70d38aef6
Change date fields to actual date fields #278
2018-01-06 19:21:49 +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
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
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
9a2e5fd28b
def thumbnail uses FORCE_SCRIPT_NAME
...
with this edit the tumbnails are show up..
2017-08-19 18:37:17 +02:00
Christoph Roeder
182637f6f6
create documents subfolder folder if they do not exist
2017-07-31 21:35:41 +02:00
Daniel Quinn
fb4407fe65
Allow correspondents to be deleted without deleting their documents
...
Fixes #235
2017-07-15 19:13:10 +01:00
Daniel Quinn
cd21c9c451
Detect .tif files properly
...
Fixes #232
2017-07-15 19:02:11 +01:00
Daniel Quinn
215e4b4556
Remove debugging info
2017-06-19 09:22:26 +01:00
Daniel Quinn
2d83a2f013
Drop SHARED_SECRET in favour of EMAIL_SECRET
...
Originally we used SHARED secret both for email and for the API. That
was a bad idea, and now that we're only using this value for one case,
I've renamed it to reflect its actual use.
2017-06-18 22:08:42 +01:00
Daniel Quinn
14c3e9d509
Fix HTTP POST of documents
...
After tinkering with this for about 2 hours, I'm reasonably sure this
ever worked. This feature was added by me in haste and poked by by the
occasional contributor, and it suffered from neglect.
* Removed the requirement for signature generation in favour of simply
requiring BasicAuth or a valid session id.
* Fixed a number of bugs in the form itself that would have ensured that
the form never accepted anything.
* Documented it all properly so now (hopefully) people will have less
trouble figuring it out in the future.
2017-06-11 01:23:37 +01:00
Daniel Quinn
becf316e8e
Merge pull request #228 from ddddavidmartin/extend_email_handling
...
Set email inbox in config file, fetch email at consumer startup and bring documentation up to date
2017-05-27 13:07:17 +01:00
David Martin
00c30e362d
Fix clened_data typos in forms.py.
...
This is where linters shine. Either pylint or pyflake discovered these
typos and even suggested the correct name.
2017-05-21 17:05:49 +10:00
David Martin
91cebb5567
Fetch emails right at startup instead of waiting for 10 minutes.
...
Especially when first setting up the configuration for consuming
documents from emails it makes sense to quickly test the changes. Having
to wait for 10 minutes is not acceptable.
There are two ways around it that come to my mind: the simple approach
is to always fetch the emails when Paperless first starts. This way the
fetching of emails can be tested straight away.
The alternative would be to have a configuration option that allows to
set the interval in which emails are checked. The user could then reduce
it to test the setup and increase it again later on. This seems
needlessly complicated though, so fetching at startup it is.
2017-05-21 14:23:46 +10:00
David Martin
a9425b5e97
Connect to configured inbox instead of hardcoded one.
...
Now the retrieving of emails from the inbox set in the config file works
as expected.
2017-05-21 08:34:49 +10:00
Daniel Quinn
700b7fe257
add: migration for fuzzy matching
2017-05-11 22:09:30 -07:00
CkuT
706ce09797
PEP8
2017-05-08 15:48:37 +02:00
CkuT
cabb9b5096
Use relatives paths instead of absolutes paths for document export/import
2017-05-08 15:23:35 +02:00
CkuT
a4f389de36
Refactor to get the document time once
2017-05-08 15:02:59 +02:00
CkuT
909fa3579c
Use constants for manifest
2017-05-08 14:54:48 +02:00
CkuT
4c4255172f
Add thumbnail export
2017-05-06 15:14:36 +02:00