aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/views.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
* Made changes according to http://bugs.foocorp.net/issues/271#note-7Joar Wandborg2011-05-081-19/+29
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Added functionality to send out verification email upon successful registrationJoar Wandborg2011-05-071-3/+23
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Added functionality to support user email verification, email = TBD, ↵Joar Wandborg2011-05-031-0/+23
| | | | | | verification = done. Signed-off-by: Joar Wandborg <git@wandborg.com>
* Probably better to request.POST.get?Christopher Allan Webber2011-04-231-1/+1
|
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-2/+2
|
* We should use one instead of find_one to really make sure there's onlyChristopher Allan Webber2011-04-031-1/+1
| | | | one such user in the database
* Also handle when there is no such userChristopher Allan Webber2011-04-031-2/+1
|
* Working logout functionChristopher Allan Webber2011-04-031-5/+5
|
* Logins seem to work.Christopher Allan Webber2011-04-031-4/+17
|
* starting to write login codeChristopher Allan Webber2011-04-031-2/+36
|
* Return an HTTPFound, not HTTPTemporaryRedirectChristopher Allan Webber2011-04-031-1/+1
|
* Registering almost works right :)Christopher Allan Webber2011-04-031-0/+72