aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|/
* We should redirect after verify_email to the user's homepageChristopher Allan Webber2011-07-311-7/+3
|
* Remove this superfluous "registration successful" messageChristopher Allan Webber2011-07-291-6/+2
|
* Log in user after regitrationChristopher Allan Webber2011-07-291-0/+6
|
* Redirect to the user's profile after registrationChristopher Allan Webber2011-07-291-9/+16
| | | | | | | - Updated the view - Updated the tests - Fixed a weirdness in the registration view where the 'user' variable used to be called 'entry'
* resend_activation should give the user a message and redirect them to their ↵Christopher Allan Webber2011-07-291-1/+7
| | | | user_home
* Removing trailing whitespace from this fileChristopher Allan Webber2011-07-091-8/+8
|
* Add a warning to the user that registrations are disabled.Christopher Allan Webber2011-07-091-1/+4
|
* Updated the loginpage to not show a link to register if registrations are ↵Rasmus Larsson2011-07-091-1/+2
| | | | disabled
* Added configuration variable to toggle registrations, if disabled the ↵Rasmus Larsson2011-07-091-0/+6
| | | | registration page redirects to index and no link to register is shown
* Also encourages editing your profile and submitting imagesChristopher Allan Webber2011-07-061-4/+5
|
* allows using messaging instead of verify_email.html to pass testsCaleb Forbes Davis V2011-07-041-1/+4
| | | | | * re-instated verification_successful flag * modified test_auth to verify nav to user_pages/user.html template
* uses the messaging system to notify user of result of verification checkCaleb Forbes Davis V2011-07-041-5/+10
| | | | | | Feature #424 - Use messaging system for email verifification check response * uses add_message in verify_email and routes to the user page, bypassing verify_email.html
* Made a simple template rendering view and switched a bunch of code over to ↵Christopher Allan Webber2011-06-051-22/+0
| | | | using it
* I have a strong preference for aligning all parameters in a function call.Christopher Allan Webber2011-06-051-8/+12
|
* Create redirect shortcut and use it aroundElrond2011-06-051-10/+5
| | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic.
* Reformat render_to_response callsElrond2011-06-051-20/+18
| | | | | Just a simple indentation and ordering change, no functional change.
* Create render_to_reponse and use it everywhere.Elrond2011-06-051-20/+14
| | | | Just a shortcut for Response(render_template(...))
* Moving all views over to using util.render_template()!Christopher Allan Webber2011-06-041-28/+16
|
* Refactored the sending of verification emails.Aleksandar Micovic2011-06-021-45/+5
|
* No reason for 'verification_successful = bool' here.Christopher Allan Webber2011-06-021-2/+0
|
* No need for a method for generating the verification key as a methodChristopher Allan Webber2011-06-021-2/+4
| | | | on the class, can just do that in the view
* Elrond put that ObjectId thing in the db.util module and wants us toChristopher Allan Webber2011-06-021-2/+2
| | | | use that one ;)
* If a user doesn't provide a userid and a token to the verify_email function, ↵Christopher Allan Webber2011-05-311-2/+6
| | | | might as well 404
* Moving import to outside of this functionChristopher Allan Webber2011-05-311-1/+1
|
* Give a "proper" view for resending verification emailChristopher Allan Webber2011-05-311-6/+9
|
* Added the ability to regenerate a verification key.Aleksandar Micovic2011-05-311-0/+41
|
* Added a temporary verification page informing the user they needAleksandar Micovic2011-05-301-0/+15
| | | | to authenticate.
* remove all 'username_repr' stuffJakob Kramer2011-05-291-2/+1
|
* don't import 're'Jakob Kramer2011-05-291-2/+0
|
* this should fix #354Jakob Kramer2011-05-291-4/+9
|
* [to_email] rather than list(to_email) which makes a nasty series like ↵Christopher Allan Webber2011-05-071-1/+1
| | | | ['e','m','a','i','l']
* Removed unused variableJoar Wandborg2011-05-081-3/+0
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>