aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed OAuth access_token duplicate routeJoar Wandborg2012-10-151-2/+0
| | | | Changed route name to "[...]list_connections"
* Added rudimentary route "mounting" w/ werkzeug routes; fixed auth routesChristopher Allan Webber2012-10-141-32/+18
| | | | | | auth routes fixes: - mounted the auth routes at /auth/ - removed crufty old verification email route
* Fixed 404 page under werkzeug.routingJoar Wandborg2012-10-141-2/+2
| | | | | - Removed ?lang=<langcode> feature due to incompatibility with werkzeug routes in the current state of the architecture.
* Switched most stuff over from RoutesJoar Wandborg2012-10-141-22/+33
| | | | | | | | | | Removed the Routes routing functionality and replaced it with werkzeug.routes. Most views are functional. Known issues: - Translation integration with the request object is not yet figured out. This breaks 404 pages.
* Replaced all request.POST with request.form, ...Joar Wandborg2012-09-291-15/+15
| | | | | - Fixed error handling in OAuth plugin - Changed request.POST file fields to request.files
* Fix problems from pyflakes outputWill Kahn-Greene2012-06-031-1/+0
|
* use _ function on some now untranslatable stringsJakob Kramer2012-04-191-2/+2
|
* set username default server-sideJakob Kramer2012-03-251-1/+2
|
* Merge remote-tracking branch 'derek-moore/bug293_non_ascii_password'Christopher Allan Webber2012-03-121-2/+3
|\
| * Changes for 293. Tests pass, encode UTF8 on password on registration (and ↵Derek Moore2012-03-121-2/+3
| | | | | | | | also for subsequent logins once the user is created) is working.
* | Change user search from .one to .fine_one.Elrond2012-03-121-1/+1
|/ | | | | | | | | | | | | | | | | | When searching for a user by username, there can either be no result or one result. There is a unique constraint on the db. .one in mongokit raises an error for more than one result. But that can't happen anyway. So no problem. .one in sqlalchemy raises an error for more than one, but that's not a problem anyway. It also raises an error for no result. But no result is handled by the code anyway, so no need to raise an exception. .find_one doesn't raise an exception for more than one result (no problem anyway) and just returns None for no result. The later is handled by the code.
* 47: Only lowercase host part of emailElrond2012-02-131-1/+3
| | | | | | | | | According to most documentation it seems that the local part of an email adress is/can be case sensitive. While the host part is not. So we lowercase only the host part of the given adress. See: http://issues.mediagoblin.org/ticket/47
* It's 2012 all up in hereChristopher Allan Webber2012-02-025-5/+5
|
* Dot-Notation: Some random placesElrond2012-01-111-1/+1
|
* Remove fp_changed_success.html, use log in page + notification message insteadJef van Schendel2012-01-012-6/+6
|
* Remove fp_email_sent.html and refs to itJef van Schendel2012-01-011-4/+0
|
* Change forgotten password process: different redirect, added/changed messagesJef van Schendel2011-12-301-8/+16
|
* Isolate JavaScript; add new show_password.js to forgot-password-page as wellJef van Schendel2011-12-291-7/+1
|
* 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!
* Merge jQuery branch, resolve conflictsJef van Schendel2011-12-131-9/+1
|\
| * Add show-password checkbox and make it workJef van Schendel2011-12-021-9/+1
| |
* | Dot-Notation for Users.fp_token_expireElrond2011-12-051-3/+3
| |
* | Dot-Notation for Users.fp_verification_keyElrond2011-12-052-5/+5
| |
* | Dot-Notation for Users.verification_keyElrond2011-12-052-4/+4
| |
* | 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-052-3/+3
| |
* | Dot-Notation for Users.usernameElrond2011-12-052-7/+7
|/
* 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-033-4/+5
| |\
| * | 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-152-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-134-10/+11
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 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-014-8/+9
| | | | | | | | | | | | | | | | | | | | | * 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-012-2/+2
| |
* | Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-013-3/+4
|/ | | | tools/[file].py
* Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'Christopher Allan Webber2011-09-084-11/+212
|\ | | | | | | | | 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
| |