Daniel Quinn
6e1f2b3f03
Drop STORAGE_TYPE in favour of just using PAPERLESS_PASSPHRASE
2018-05-28 12:58:28 +01:00
Daniel Quinn
b79caa64d0
Remove checks we weren't using
2018-05-28 12:58:28 +01:00
Daniel Quinn
cdc07cf153
Move the encrypt/decrypt decision out of db and into the view
2018-05-28 12:58:28 +01:00
Daniel Quinn
885dbf67d5
Set STORAGE_TYPE instead of ENABLE_ENCRYPTION boolean
...
This allows for future decisions around the types of encryption used (if any). Ideally, I want to replace GPG one day with something elegant out of the cryptography module.
2018-05-28 12:58:28 +01:00
Daniel Quinn
02b40a54e0
Try to be more pep8 in the settings file
2018-05-28 12:58:28 +01:00
Mike Cronce
3b6a3219f5
src/paperless/db.py: If encryption is disabled, just directly read the file contents
2018-05-28 12:58:28 +01:00
Mike Cronce
6cedbb3307
src/paperless/settings.py: Added DISABLE_ENCRYPTION environment variable
2018-05-28 12:58:28 +01:00
Daniel Quinn
4585308e7f
Fix redirect for subpaths (hopefully)
2018-05-28 12:56:20 +01:00
Daniel Quinn
4386b09eb1
Code clean up
2018-05-28 12:56:06 +01:00
Erik Arvstedt
7e1d59377a
Add inotify support
2018-05-11 14:14:50 +02:00
Daniel Quinn
4ba9514007
Revert root redirection
2018-04-16 09:53:31 +01:00
Daniel Quinn
72af13e4e4
Allow STATIC_URL and MEDIA_URL to be configurable via env
2018-04-13 20:18:00 +01:00
Daniel Quinn
6c8ef8f044
Use a named URL for the LOGIN_URL value
2018-04-13 20:17:31 +01:00
Daniel Quinn
101b7bb9bf
Use a URL name for the redirect instead of a hard-coding
2018-04-13 19:45:14 +01:00
Martin Arendtsen
b7f1561217
Added support for paperless.conf in /usr/local/etc
2018-03-04 21:37:04 +01:00
Daniel Quinn
8ea1cc24a7
Update for 1.3.0
2018-02-25 11:47:39 +00:00
Matt
4bde14368c
Rejiggering for more pycodestyle issues...
2018-02-08 09:01:10 -05:00
Matt
151d85f2be
Moving auto-auth logic to more Django-flavored locations and correcting some readability/stylistic considerations requested by the upstream maintainer
2018-02-08 08:46:33 -05:00
Matt
998c3ef51b
Merge branch 'master' of https://github.com/danielquinn/paperless into disable_login
2018-02-05 11:48:15 -05:00
Wolf-Bastian Pöttner
f39c7654a0
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
87e466c47c
Add support for using pre-existing text from PDFs
2018-02-02 22:37:58 +01:00
Matt
96c517d65c
Rejiggering code style to make upstream pycodestyle checks happy
2018-02-02 09:50:43 -05:00
Matt
e70ad3d493
Fixing formatting to be compatible with upstream repo for login disabling patch
2018-02-01 17:32:08 -05:00
Matt Meno
516bc48a33
Updating changes to allow for disabling login
2018-02-01 17:28:19 -05:00
Matt
7f97716ae9
Testing auth disabling mods
2018-02-01 17:28:04 -05:00
Daniel Quinn
5c59120c57
Merge branch 'master' of github.com:danielquinn/paperless
2018-02-01 12:37:29 +00:00
Daniel Quinn
88736ff867
Version bump in anticipation of release later this week
2018-02-01 12:37:21 +00:00
Daniel Quinn
cd92c005e3
Add support for using pre-existing text from PDFs
2018-01-30 20:13:35 +00:00
Wolf-Bastian Pöttner
b140935843
Add support for a heuristic that extracts the document date from its text
2018-01-28 19:37:10 +01:00
Daniel Quinn
9faf0a102e
Update changelog & version bump
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
3ca215e4dc
Bump to v1.0.0!
2018-01-06 19:25:33 +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
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
maphy-psd
73af9552ec
getenv has "None" as default
...
@MasterofJOKers in PR#255
2017-08-20 14:13:23 +02:00
maphy-psd
6f5c1ac4e1
add FORCE_SCRIPT_NAME setting
2017-08-19 12:39:25 +02:00
Daniel Quinn
b30629dd60
Remove debugging info
2017-06-19 09:22:26 +01:00
Daniel Quinn
f66d7e1c2d
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
6f635c74fc
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
c82d45689c
Remove unused imports & comments
2017-06-11 01:23:08 +01:00
Lucas Kolstad
fde0276d65
Add django_filters to INSTALLED_APPS
2017-05-30 15:05:34 -07:00
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
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
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
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