summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't just rely on random for UserPersonConfirmation keysJeremy Kerr2008-09-111-0/+4
| | | | | | | | | | | It looks like we're getting identical keys generated for confirmation keys. Problem has been reported to django, but in the meantime, salt with the user and email details, then sha1 to give the final key. This requires an increase in the field size for key, migration script included. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use hex strings for hash valuesJeremy Kerr2008-09-101-0/+8
| | | | | | | | | | Binary strings a too hard to manage in DB queries and XMLRPC methods, as we get all kinds of encoding issues. Change HashField to use a hex string, and add a migration script for db updates. The patches should be rehashed after migration. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Pass Authorization headers in fastcgi applicationJeremy Kerr2008-09-091-1/+1
| | | | | | | | By default, mod_fcgi doens't allow the Authorization header, so enable -pass-header, and handle the different header name in the xmlrpc view Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* mod_python example configuration fixesNate Case2008-09-081-4/+4
| | | | | | | | | | | | | | | | | | | These fixes correct the example patchwork.mod_python.conf file to actually work properly: * Patchwork base directory needs to be in PythonPath so that things like "apps.urls" will import * Set DJANGO_SETTINGS_MODULE to "settings" instead of "patchwork.settings" so that it can find the settings file to import * Use LocationMatch instead of Location in order for the pattern matching to work (this was causing none of the images/stylesheets to be found when using mod_python) Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Exclude packages tree from separate .gitignore fileJeremy Kerr2008-09-051-0/+1
| | | | | | | | | 'cos it says so in the top-level .gitignore. Also, this means that the lib/packages/ dir will be included in a git checkout, which is helpful. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add DB permissions for registration appJeremy Kerr2008-08-221-4/+4
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Get parsemail scripts goingJeremy Kerr2008-08-211-1/+2
| | | | | | A couple of fixes, plus required permissions in the grant-all script. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Inital commitJeremy Kerr2008-08-213-0/+107
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>