532 Commits

Author SHA1 Message Date
Daniel Quinn
3d6289e4e1 Preparing for 0.5.0
I hadn't realised that I hadn't released 0.5.0 yet, so I've amended the version numbers
0.5.0
2017-05-27 13:23:25 +01:00
Daniel Quinn
5e55b971a8 Update changelog for 0.5.1 2017-05-27 13:21:04 +01:00
Daniel Quinn
0a43b84a96 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
Daniel Quinn
dc74cc2db5 Merge pull request #230 from ddddavidmartin/webserver_paperless_titles
Refer to Paperless in Django webserver titles and update Django documentation URLs
2017-05-27 13:00:46 +01:00
Daniel Quinn
fc00a09318 Merge pull request #229 from ddddavidmartin/clarify_systemd_instructions
Copy Paperless service files to systemd directory before enabling them.
2017-05-27 12:59:00 +01:00
Daniel Quinn
19cf9d0b9a Merge pull request #227 from ddddavidmartin/fix_forms_typos
Fix clened_data typos in forms.py.
2017-05-27 12:57:43 +01:00
Daniel Quinn
f81780cf88 Merge pull request #226 from ddddavidmartin/bump_pyocr_requirement_for_tesseract_4_support
Bump pyocr requirement to version 0.4.7 to support tesseract 4.0.0alpha.
2017-05-27 12:56:54 +01:00
David Martin
c3a55c91dc Update version of remaining weblinks to Django documentation.
We are using Django 1.10 as per requirements.txt and should refer to its
documentation as well.
2017-05-27 08:49:03 +10:00
David Martin
482f02fbaa Update link to Django documentation in urls.py.
As per requirements.txt we are using Django version 1.10. It makes sense
to link to the documentation for that version as well.
Also, the documentation for the previous version has a notice on the top
that informs about the version being unsafe which is a bit disconcerting
when seeing it.
2017-05-25 20:22:05 +10:00
David Martin
6bf7429ef6 Refer to Paperless instead of Django in webserver pages.
It looks better to have the page titles refer to Paperless rather than
Django. The same with the login. Setting it in urls.py is based on this
stackoverflow response [0]. The proper documentation for the admin page
is under [1].

[0] https://stackoverflow.com/a/24983231
[1] https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#adminsite-attributes
2017-05-25 20:16:59 +10:00
David Martin
4198de604f Copy Paperless service files to systemd directory before enabling them.
The problem with the original instruction is that systemd creates a
symlink pointing to the service file in the paperless directory. A user
is unlikely to leave the changes in the service files committed
(especially not on a master branch checkout) and they are easily lost and
the services fail to start without obvious reason.

To avoid this we simply copy the service files to the systemd directory
directly and use the files in the repository only as an example.
2017-05-24 22:48:35 +10:00
David Martin
8c06dc2dd1 Mention safe characters for email titles in documentation.
This makes it clear that only a specific set of characters is allowed to
be used for email titles. It is worth mentioning this in the
documentation as it otherwise needs to be figured out from the Paperless
sources [0].

[0] SAFE_REGEX in src/documents/models.py
2017-05-23 11:16:38 +10:00
David Martin
13b4610c1d Clarify consumption documentation to match the current Paperless behaviour.
The configuration does not have to be hardcoded in settings.py anymore,
and instead happens in the config file. Also, we added that the emails
are checked at startup [0].

[0] see commit 3153bbd6a8d674362eccb4d48b8458b33298f6a9
2017-05-23 11:15:33 +10:00
David Martin
0090128249 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
3153bbd6a8 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
7b1812a9be Capitalise Paperless in example config.
This is in line with how it is spelled in the rest of the config file.
2017-05-21 08:44:41 +10:00
David Martin
c647daace2 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
David Martin
70dceb3b37 Allow to configure the email inbox via config file.
Same as all the other parameters it makes sense to set it in the config
file as well.
2017-05-20 16:48:40 +10:00
David Martin
72b1ce5fe6 Bump pyocr requirement to version 0.4.7 to support tesseract 4.0.0alpha.
The latest pyocr version now allows running it with the latest tesseract
version. Hopefully this means better OCR results.

I am not sure about whether there are binary packages for the latest
tesseract. But on my setup it was simply a case of checking out the
master branch [0] and compiling + installing from there. It seems to work
fine with paperless as well.

[0] https://github.com/tesseract-ocr/tesseract
2017-05-14 12:59:32 +10:00
Daniel Quinn
731942d855 add: migration for fuzzy matching 2017-05-11 22:09:30 -07:00
Daniel Quinn
058dad7ba7 Merge branch 'master' of github.com:danielquinn/paperless 2017-05-10 16:14:14 -07:00
Daniel Quinn
fe43e5a717 add: credit for ckut's import/export changes 2017-05-10 16:14:05 -07:00
Daniel Quinn
34bab04310 fix: formatting cleanup 2017-05-10 17:38:00 -07:00
Daniel Quinn
18f7c4f31f Merge pull request #224 from CkuT/exporter_improvements
WIP : Exporter improvements
2017-05-10 16:09:11 -07:00
Daniel Quinn
3477b96d87 Merge pull request #222 from tido-/master
little changes to reflect as much as possible
2017-05-10 15:25:35 -07:00
Tido-
ac850b64aa minor changes on documentation files 2017-05-10 22:25:59 +02:00
CkuT
279e421ad5 PEP8 2017-05-08 15:48:37 +02:00
CkuT
22c8049bed Use relatives paths instead of absolutes paths for document export/import 2017-05-08 15:23:35 +02:00
CkuT
3f1392769d Refactor to get the document time once 2017-05-08 15:02:59 +02:00
CkuT
da71eab0ae Use constants for manifest 2017-05-08 14:54:48 +02:00
CkuT
2e0e6bb8d2 Add thumbnail export 2017-05-06 15:14:36 +02:00
CkuT
1f145c6cba Fix the source file checking 2017-05-06 15:04:47 +02:00
Tido-
c4d48181ee find the error in line break 03 2017-05-04 19:39:58 +02:00
Tido-
0c4ecad4a7 find the error in line break 02 2017-05-04 19:36:55 +02:00
Tido-
d25de5592a find the error in line break 01 2017-05-04 19:35:58 +02:00
Tido-
88fc35d8ea find the error in line break 2017-05-04 19:31:17 +02:00
Tido-
02730be871 found some additional bits to yours 2017-05-03 22:20:13 +02:00
Daniel Quinn
c7876dbbe8 add: credit for #212 2017-05-03 12:01:04 -07:00
Daniel Quinn
85fcb5fedf Merge pull request #212 from Strubbl/docker-prepare-export
Docker: prepare export directory
2017-05-03 09:55:43 -07:00
Tido-
58cbfeb72a little changes to reflect as much as possible 2017-05-02 22:48:37 +02:00
Sven Fischer
b2b6cbe9c8 Docker: review refacorting for export directory preparation 2017-05-02 19:52:36 +02:00
Sven Fischer
4c05a511c2 Docker: review fix: if end-user host-mounts the export directory 2017-05-02 19:06:01 +02:00
Sven Fischer
b5bef13b46 Docker: prepare export directory 2017-05-02 13:01:09 +02:00
Daniel Quinn
bb47dc5e06 fix: spacing and typos 2017-05-01 13:25:07 -07:00
Daniel Quinn
511f154e16 Merge pull request #221 from tido-/master
adding sections, grouped what belongs together
2017-05-01 13:10:23 -07:00
Tido-
10ae2207df adding sections, grouped what belongs together 2017-05-01 21:18:34 +02:00
Daniel Quinn
71df99ffb6 add: note for new fuzzy match support 2017-04-30 19:40:58 -07:00
Daniel Quinn
5eb26102d4 Merge pull request #220 from jgysland/add-fuzzy-matching
fuzzy matching
2017-04-30 19:37:03 -07:00
jgysland
a7fa82a83f KISS fuzzy match help text 2017-04-30 16:56:50 -04:00
jgysland
6ce27d225d add fuzzy matching + tests 2017-04-29 17:13:04 -04:00