layerindex-web/layerindex
Paul Eggleton 23194fc5d4 Add CAPTCHA to registration/password reset forms
Extend and override the default views so we can extend and override the
default forms to add a CAPTCHA field. This should prevent the automated
account creation requests we've been seeing on layers.openembedded.org
(luckily failing anyway due to bad domain names), but in any case this
also improves security by making it harder to do user enumeration.

For the registration page in particular, because Django's forms logic
tries to be helpful by showing all errors at once, we need to change it
so that if there's an error for the CAPTCHA then you only see that error
and no other - in particular you won't see "that username already
exists" if that is the case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-11-06 11:31:07 +13:00
..
migrations Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
static Replace nvd3 with Chart.js 2018-11-06 10:33:39 +13:00
templatetags Show update task output more smoothly 2018-09-20 16:04:49 +12:00
tools Auto-determine web/file/tree/commit URLs for gitlab.com 2018-10-01 15:42:59 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
auth_forms.py Add CAPTCHA to registration/password reset forms 2018-11-06 11:31:07 +13:00
auth_views.py Add CAPTCHA to registration/password reset forms 2018-11-06 11:31:07 +13:00
bulkchange.py update: fix error on LAYERRECOMMENDS failure 2018-10-01 11:43:52 +13:00
context_processors.py Add support for other distro comparisons 2018-08-07 14:44:27 +02:00
forms.py forms: fix validation of repository URLs in layer edit form 2018-10-01 15:06:41 +13:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Properly show update task success/failure 2018-09-20 16:04:49 +12:00
update_layer.py Track and enable reporting on duplicate inc files 2018-11-06 10:33:39 +13:00
update.py update: handle if there is no origin/master branch in bitbake repo 2018-11-06 10:33:39 +13:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add an email test function 2018-10-01 17:04:44 +13:00
utils.py update: use lists for git clone/checkout command parameters 2018-10-01 15:06:41 +13:00
views.py views: fix incorrect class usage in ClassSearchView 2018-11-06 10:37:31 +13:00