72 Commits

Author SHA1 Message Date
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