aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* removed unused import reAndrás Veres-Szentkirályi2013-02-221-1/+0
|
* Restructure ForgotPassword viewSebastian Spaeth2013-01-211-14/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Remove mongo limitations (no 'or' when querying for either username or email). 2) Lost password function revealed if an user name or email address is registered, which can be considered a data leak. Leaking user names is OK, they are public anyway, but don't reveal lookup success in case the lookup happened by email address. Simply respond: "If you have an account here, we have send you your email"? 3) username and email search was case sensitive. Made username search case insensitive (they are always stored lowercase in the db). Keep email-address search case sensitive for now. This might need further discussion 4) Remove a whole bunch of indention in the style of: if no error: ... if no error: ... if no error: actually do something in the regular case by restructuring the function. 5) Outsource the sanity checking for username and email fields into the validator function. This way, we get automatic case sanity checking and sanitizing for all required fields. 6) Require 5-char password and fix tests Originally, the Change password form required a password between 6-30 chars while the registration and login form did not require anything special. This commit introduces a common minimum limit for all forms which breaks the test suite which uses a 5 char password by default. :-). As 5 chars seem sensible enough to enforce (people should be picking much longer ones anyway), just reduce the limit to 5 chars, thereby making all tests pass. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* use _ function on some now untranslatable stringsJakob Kramer2012-04-191-2/+2
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Isolate JavaScript; add new show_password.js to forgot-password-page as wellJef van Schendel2011-12-291-7/+1
|
* Add show-password checkbox and make it workJef van Schendel2011-12-021-9/+1
|
* Merge remote-tracking branch 'remotes/nyergler/pep8-ification'Christopher Allan Webber2011-11-131-4/+4
|\ | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py
| * Whitespace and formatting cleanup.Nathan Yergler2011-10-011-4/+4
| | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* | Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-011-1/+1
|/ | | | tools/[file].py
* Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'Christopher Allan Webber2011-09-081-0/+32
|\ | | | | | | | | Conflicts: mediagoblin/auth/routing.py
| * Adding fotgot password functionalityAlejandro Villanueva2011-08-281-0/+32
| |
* | Removing description field cruft that mostly existed for testing purposes. :)Christopher Allan Webber2011-09-041-9/+3
| |
* | 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
| |
* | Giving schendje some auth registration descriptions so he can style them!Christopher Allan Webber2011-08-291-4/+12
|/
* Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-101-1/+1
| | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :)
* Marked relevant strings in python views/forms for translation via ugettextChristopher Allan Webber2011-08-081-7/+9
|
* New password check error messageChristopher Allan Webber2011-06-051-1/+3
|
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-1/+1
|
* Logins seem to work.Christopher Allan Webber2011-04-031-0/+10
|
* Use the passwordfield for password fields, obviously ;oChristopher Allan Webber2011-04-031-3/+3
|
* Registering almost works right :)Christopher Allan Webber2011-04-031-0/+37