aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Move verification key generation to viewElrond2011-12-271-0/+1
| | | | | | | | Instead of creating the email verication key on the db model as a default for the field, create it in the registration view. Now all verification key generation is only in auth/views.py!
* Dot-Notation for Users.fp_token_expireElrond2011-12-051-3/+3
|
* Dot-Notation for Users.fp_verification_keyElrond2011-12-051-4/+4
|
* Dot-Notation for Users.verification_keyElrond2011-12-051-3/+3
|
* Dot-Notation for Users.statusElrond2011-12-051-3/+3
|
* Dot-Notation for Users.email_verifiedElrond2011-12-051-3/+3
|
* Dot-Notation for Users.pw_hashElrond2011-12-051-2/+2
|
* Dot-Notation for Users.emailElrond2011-12-051-1/+1
|
* Dot-Notation for Users.usernameElrond2011-12-051-5/+5
|
* Fix redirect to logical pathElrond2011-11-201-1/+1
| | | | | | redirects should in nearly all cases go to a logical path like 'mediagoblin.auth.login' and not to an absolute path like "/auth/login".
* Merge remote branch 'remotes/aaronw/bug614_verification_crash'Elrond2011-11-201-1/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | * remotes/aaronw/bug614_verification_crash: Update english translation file. Reverse order of sanity checks: check email_verified after making sure there's a user in the request. Make sure user isn't already verified before resending verification. Check request.user to determine if user is logged in. Regenerated English .po file to include new string. Display and error and redirect to login page if unauthenticated user tries to access resend_verification. Conflicts: mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
| * Reverse order of sanity checks: check email_verified after making sure ↵Aaron Williamson2011-10-031-6/+6
| | | | | | | | there's a user in the request.
| * Make sure user isn't already verified before resending verification.Aaron Williamson2011-10-031-0/+8
| |
| * Fixed conflict in /auth/views.py.Aaron Williamson2011-10-031-2/+2
| |\
| * | Check request.user to determine if user is logged in.Aaron Williamson2011-10-031-1/+1
| | |
| * | Display and error and redirect to login page if unauthenticated user tries ↵Aaron Williamson2011-10-011-2/+11
| | | | | | | | | | | | to access resend_verification.
* | | Slight change to error wordingJef van Schendel2011-11-201-1/+1
| | |
* | | Dot-Notation for "_id"Elrond2011-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Note: Migrations can't use "Dot Notation"! Migrations run on pymongo, not mongokit. So they can't use the "Dot Notation". This isn't really a big issue, as migrations are anyway quite mongo specific.
* | | Merge remote-tracking branch 'remotes/nyergler/pep8-ification'Christopher Allan Webber2011-11-131-4/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py
| * | has_key is deprecated, converting uses to use "in" operator.Nathan Yergler2011-10-011-2/+2
| | |
| * | Whitespace and formatting cleanup.Nathan Yergler2011-10-011-2/+1
| | | | | | | | | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* | | Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_reduxAaron Williamson2011-10-011-0/+20
|\ \ \ | | |/ | |/|
| * | Give debug message in email debug modeElrond2011-09-301-0/+20
| |/ | | | | | | | | | | If the server is running in email debug mode (current default), users have often asked where the mail is. So tell them in the web browser that their mail is on the console.
* | Finished splitting util.py into separate files.Aaron Williamson2011-10-011-1/+1
| |
* | 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-5/+128
|\ | | | | | | | | Conflicts: mediagoblin/auth/routing.py
| * Renaming request.[GET|POST] as formdata instead of session; that's more ↵Christopher Allan Webber2011-09-081-19/+19
| | | | | | | | accurate.
| * Adding a small docstringChristopher Allan Webber2011-09-071-0/+4
| |
| * Keys in mongodb should be unicode, here...Christopher Allan Webber2011-09-071-8/+8
| |
| * Also nullify verification key after verifying in the email confirmation stepChristopher Allan Webber2011-09-071-0/+3
| |
| * If the user hasn't verified their email or account inactive give a special ↵Christopher Allan Webber2011-09-071-6/+22
| | | | | | | | warning
| * Adding additional check that verification key exists, and updating indentationChristopher Allan Webber2011-09-071-5/+9
| |
| * Adjusting indentation a bitChristopher Allan Webber2011-09-071-6/+8
| |
| * Avoiding using '$or' query modifier since that's newer-mongo only.Christopher Allan Webber2011-09-071-3/+6
| |
| * for readability, and adds unit test for expired tokenCaleb Forbes Davis V2011-09-051-2/+2
| |
| * refactors verify_forgot_passwordCaleb Forbes Davis V2011-09-051-58/+55
| |
| * Generalizes error model for change password verificationCaleb Forbes Davis V2011-08-291-7/+11
| | | | | | | | | | | | | | - 404s instead of 'user not found' will limit leaking user profile information to the browser. - Also fixed the wording on the login page to make it clear you are changing the password, not sending yourself your old one!
| * Avoids informing browser whether the username or email is a matchCaleb Forbes Davis V2011-08-291-5/+3
| | | | | | | | | | | | - pretends to have sent the email with the URL to change the password regardless of whether or not the email was actually sent. This avoids leaking user information to the browser
| * Adding fotgot password functionalityAlejandro Villanueva2011-08-281-2/+94
| |
* | 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
| |
* | + 'confirm' section for confirmation dialoguesMark Holmquist2011-08-221-5/+6
|/ | | | | + implemented delete functionality * fixed several instances of 'must be an instance of unicode, not str'
* Use render_404 EVERYWHERE!Christopher Allan Webber2011-08-201-2/+2
|
* PEP-8ing the keyword argument passing hereChristopher Allan Webber2011-08-111-1/+1
|
* Merge remote branch ↵Christopher Allan Webber2011-08-111-1/+1
|\ | | | | | | 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login'
| * Bug #488 - email validation assumes active loginCaleb Forbes Davis V2011-08-081-1/+1
| | | | | | | | | | - loads username from user object instead of session to remove dependency on active login
* | If both the username and the email checks fail, warn about both at the same timeChristopher Allan Webber2011-08-111-2/+6
| |
* | Also normalize user's emails to .lower() when we accept the user.Christopher Allan Webber2011-08-111-1/+1
| |
* | Checks if the email(lowercase) have been used before to register a userAlejandro Villanueva2011-08-111-0/+5
| |
* | Making the users_with_username function call in the register view slightly ↵Christopher Allan Webber2011-08-111-4/+2
| | | | | | | | cleaner
* | Marked relevant strings in python views/forms for translation via ugettextChristopher Allan Webber2011-08-081-8/+10
|/