31 Commits

Author SHA1 Message Date
dadosch
91eee0b84a improved codestyle, go back to == in requirements 2018-08-24 21:52:27 +02:00
dadosch
218e43fdf8 django v2 compatible: tests needed 2018-08-24 21:31:43 +02:00
Daniel Quinn
a808d5b483 Fix redirect for subpaths (hopefully) 2018-05-28 12:56:20 +01:00
Daniel Quinn
56e3bcefb2 Revert root redirection 2018-04-16 09:53:31 +01:00
Daniel Quinn
8f229fa98b Use a URL name for the redirect instead of a hard-coding 2018-04-13 19:45:14 +01:00
Daniel Quinn
80ec72731e Fix redirect bug #283 2018-01-21 17:33:04 +00:00
Daniel Quinn
1af7152fa8 Add catch-all redirect for /admin/ 2018-01-06 18:51:16 +00:00
Daniel Quinn
276d2965af isort 2018-01-06 18:51:10 +00: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
5509918524 Remove unused imports & comments 2017-06-11 01:23:08 +01:00
David Martin
b4c2e1b385 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
344543b73c 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
Daniel Quinn
bae7284d34 feat: add the new reminders app 2017-03-25 16:21:46 +00:00
Daniel Quinn
e9fbeb27ff refactor: code cleanup
I hate single quotes.
2017-03-25 16:20:59 +00:00
Daniel Quinn
52f15b4de1 The first stages of getting thumbnails back 2016-03-05 01:57:49 +00:00
Daniel Quinn
5c41e717f0 Missed on case of 'sender' 2016-03-05 00:23:14 +00:00
Daniel Quinn
070463b85a s/Sender/Correspondent & reworked the (im|ex)porter 2016-03-03 20:52:42 +00:00
Daniel Quinn
55dcbcc47f Forgot a slash 2016-03-03 18:18:38 +00:00
Daniel Quinn
b8be20b565 Preparing for a proper UI 2016-03-03 18:09:10 +00:00
Daniel Quinn
26c3781350 #44: Harmonise environment variables with constant names 2016-03-01 22:37:42 +00:00
Daniel Quinn
7d1aa1175f pep8 2016-03-01 19:03:28 +00:00
Daniel Quinn
26fc27da9b Setting appropriate permissions 2016-03-01 18:57:12 +00:00
Daniel Quinn
1aecb1e63a Compensate for case and format of jpg vs. jpeg 2016-02-23 20:15:13 +00:00
Daniel Quinn
17d3a44952 A crude API is in place 2016-02-21 00:55:38 +00:00
Daniel Quinn
422ae9303a pep8 2016-02-21 00:14:50 +00:00
Daniel Quinn
cebc44f2c9 API is halfway there 2016-02-16 09:28:34 +00:00
Daniel Quinn
0eaed36420 The 'API' is written but untested 2016-02-08 23:46:16 +00:00
Daniel Quinn
f72c515742 Added GPG encryption for the PDFs 2016-01-01 16:13:59 +00:00
Daniel Quinn
cb0f7393d6 Prettied up the admin 2015-12-26 13:21:19 +00:00
Daniel Quinn
855ee64097 It works! 2015-12-20 19:23:33 +00:00