summaryrefslogtreecommitdiffstats
path: root/apps/settings.py
Commit message (Collapse)AuthorAgeFilesLines
* views: implement CSRF protectionJeremy Kerr2010-08-101-0/+1
| | | | | | | | | | | Since we've got the csrf token present, we may as well check it for requests. We're using RequestContext already (via PatchworkRequestContext), so we just need to switch it on in the settings, and add an exemption on the xmlrpc interface. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use psycopg2 as default DB engineJeremy Kerr2009-09-301-1/+1
| | | | | | | As the 'postgres' engine seems to have been deprecated, use the postgres_psycopg2 engine instead Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add 'update' method to pwclientJeremy Kerr2008-09-091-17/+0
| | | | | | | | This requires a new xmlrpc function, 'patch_set'. To do this, we need HTTP Authentication support, which means changing to a custom XMLRPC distpatcher that is aware of the Authorization: header. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add XML-RPC interface and command line clientNate Case2008-09-081-0/+20
| | | | | | | | | | | | | | | | | | | | Introduce a new XML-RPC Patchwork interface inspired by the SOAP interface from the old Patchwork. The interface itself is fairly lightweight and generic, and provides read-only access to a limited subset of the Patchwork database, along with server-side search and flexible filtering capabilities. The command line client is modeled after the old one with some additional filtering options. The XML-RPC interface is disabled by default. You can enable it by setting ENABLE_XMLRPC = True in local_settings.py This feature uses the django-xmlrpc package available from http://django-xmlrpc.googlecode.com. Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use local settings moduleJeremy Kerr2008-09-051-0/+10
| | | | | | This makes checkouts into a working patchwork site much easier. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use DEFAULT_FROM_EMAIL rather than PATCHWORK_FROM_EMAILJeremy Kerr2008-08-221-1/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use django-registration infrastructureJeremy Kerr2008-08-221-1/+5
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Implement confirmation emails.Jeremy Kerr2008-08-211-0/+1
| | | | | | | To do this, we need to allow sucessive requests for the same confirmation URL. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Inital commitJeremy Kerr2008-08-211-0/+94
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>