Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no need for user might be email kwarg in check_login_simple | Rodney Ewing | 2013-05-27 | 2 | -2/+2 |
| | |||||
* | Merge branch 'pre-auth' into basic_auth | Rodney Ewing | 2013-05-27 | 3 | -40/+61 |
|\ | | | | | | | | | | | | | Conflicts: mediagoblin/auth/tools.py mediagoblin/auth/views.py mediagoblin/plugins/basic_auth/tools.py | ||||
| * | moved fp_verification_email to auth/tools | Rodney Ewing | 2013-05-27 | 2 | -34/+30 |
| | | |||||
| * | created a check_login_simple function | Rodney Ewing | 2013-05-27 | 5 | -33/+32 |
| | | |||||
| * | added a register_user function | Rodney Ewing | 2013-05-27 | 2 | -33/+55 |
| | | |||||
| * | moved email_debug_message to gmg/tools/mail | Rodney Ewing | 2013-05-27 | 2 | -13/+15 |
| | | |||||
| * | moved send_verification_email to auth/tools | Rodney Ewing | 2013-05-27 | 3 | -39/+41 |
| | | |||||
| * | removed unused import | Rodney Ewing | 2013-05-27 | 1 | -1/+0 |
| | | |||||
| * | changed User model pw_hash field to nullable and added migrations | Rodney Ewing | 2013-05-27 | 2 | -1/+12 |
| | | |||||
| * | Extract footer into bits/base_footer.html. | Elrond | 2013-05-26 | 2 | -10/+29 |
| | | |||||
* | | no need for check_login with the new check_login_simple function | Rodney Ewing | 2013-05-27 | 4 | -22/+6 |
| | | |||||
* | | renamed lib to tools | Rodney Ewing | 2013-05-27 | 4 | -17/+16 |
| | | |||||
* | | cleanup after merge | Rodney Ewing | 2013-05-27 | 4 | -20/+14 |
| | | |||||
* | | Merge branch 'pre-auth' into basic_auth | Rodney Ewing | 2013-05-27 | 6 | -73/+90 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/auth/tools.py mediagoblin/auth/views.py mediagoblin/db/migrations.py mediagoblin/plugins/basic_auth/lib.py mediagoblin/plugins/httpapiauth/__init__.py mediagoblin/plugins/piwigo/views.py | ||||
| * | | created a check_login_simple function | Rodney Ewing | 2013-05-25 | 5 | -33/+32 |
| | | | |||||
| * | | added a register_user function | Rodney Ewing | 2013-05-24 | 2 | -33/+55 |
| | | | |||||
| * | | moved email_debug_message to gmg/tools/mail | Rodney Ewing | 2013-05-24 | 2 | -13/+15 |
| | | | |||||
| * | | moved send_verification_email to auth/tools | Rodney Ewing | 2013-05-24 | 3 | -39/+41 |
| | | | |||||
| * | | removed unused import | Rodney Ewing | 2013-05-24 | 1 | -1/+0 |
| | | | |||||
| * | | changed User model pw_hash field to nullable and added migrations | Rodney Ewing | 2013-05-24 | 2 | -1/+12 |
| |/ | |||||
* | | moving forgot_password views back to gmg/auth and cleanup | Rodney Ewing | 2013-05-24 | 15 | -477/+144 |
| | | |||||
* | | fixed failing tests after rebase | Rodney Ewing | 2013-05-24 | 5 | -19/+18 |
| | | |||||
* | | added gen_password_hash and check_password functions to auth/__init__ | Rodney Ewing | 2013-05-24 | 3 | -3/+13 |
| | | |||||
* | | added focus to form input | Rodney Ewing | 2013-05-24 | 5 | -4/+13 |
| | | | | | | | | | | | | Conflicts: mediagoblin/auth/views.py mediagoblin/plugins/openid/views.py | ||||
* | | modified basic_auth.check_login to check that the user has a pw_hash first | Rodney Ewing | 2013-05-24 | 1 | -3/+4 |
| | | |||||
* | | changed occurances of form.data['whatever'] to form.whatever.data | Rodney Ewing | 2013-05-24 | 2 | -11/+12 |
| | | | | | | | | | | | | Conflicts: mediagoblin/plugins/basic_auth/__init__.py mediagoblin/plugins/openid/__init__.py | ||||
* | | check if password field present in basic_auth create_user | Rodney Ewing | 2013-05-24 | 1 | -1/+1 |
| | | |||||
* | | added a register_user function to be able to use in a plugin's register ↵ | Rodney Ewing | 2013-05-24 | 2 | -28/+47 |
| | | | | | | | | view, and modified auth/views.register to redirect to openid/register if appropriate. | ||||
* | | Modified basic_auth plugin to work with modified auth plugin hooks. Added ↵ | Rodney Ewing | 2013-05-24 | 2 | -32/+27 |
| | | | | | | | | context variables. Removed basic_auth/tools which was previously renamed to basic_auth/lib. | ||||
* | | modified auth/__init__ hooks to work better with multiple plugins. Removed ↵ | Rodney Ewing | 2013-05-24 | 3 | -96/+74 |
| | | | | | | | | auth/lib.py. And added a basic_extra_verification function that all plugins will use. | ||||
* | | removed check_login from db mixin | Rodney Ewing | 2013-05-24 | 3 | -9/+4 |
| | | |||||
* | | added Copyright header to basic_auth/forms.py | Rodney Ewing | 2013-05-24 | 1 | -0/+15 |
| | | |||||
* | | moved fake_login_attempt to plugins | Rodney Ewing | 2013-05-24 | 6 | -27/+166 |
| | | |||||
* | | log a previously logged in user when switched to no_auth mode | Rodney Ewing | 2013-05-24 | 2 | -1/+10 |
| | | |||||
* | | made basic_auth a default plugin | Rodney Ewing | 2013-05-24 | 1 | -0/+1 |
| | | |||||
* | | added tests for no_auth feature | Rodney Ewing | 2013-05-24 | 6 | -4/+138 |
| | | |||||
* | | changed from sys.exit() to raise AuthError for handling no_auth=false in ↵ | Rodney Ewing | 2013-05-24 | 1 | -4/+10 |
| | | | | | | | | config and no auth plugin present | ||||
* | | existing test all passing now | Rodney Ewing | 2013-05-24 | 3 | -121/+194 |
| | | |||||
* | | modified test .ini files and changed tests to use basic_auth bcrypt | Rodney Ewing | 2013-05-24 | 5 | -3/+11 |
| | | |||||
* | | renamed hook as to no conflict with existing hook names | Rodney Ewing | 2013-05-24 | 2 | -2/+2 |
| | | |||||
* | | renamed basic_auth/tools to basic_auth/lib | Rodney Ewing | 2013-05-24 | 2 | -4/+103 |
| | | |||||
* | | modified check_login function to return None instead of False to be able to ↵ | Rodney Ewing | 2013-05-24 | 2 | -2/+8 |
| | | | | | | | | have multiple plugins check_login | ||||
* | | moved bcrypt_gen_password_hash to basic_auth/tools and added ↵ | Rodney Ewing | 2013-05-24 | 5 | -22/+13 |
| | | | | | | | | gen_password_hash function to auth/__init__ | ||||
* | | moved bcrypt_check_password to basic_auth/tools from auth/lib | Rodney Ewing | 2013-05-24 | 6 | -40/+9 |
| | | |||||
* | | add a check for authentication plugin on startup and respond according to ↵ | Rodney Ewing | 2013-05-24 | 9 | -19/+70 |
| | | | | | | | | no_auth config option. allows instance to be run w/o authentication | ||||
* | | changed User model pw_hash field to nullable and added migrations | Rodney Ewing | 2013-05-24 | 2 | -1/+10 |
| | | |||||
* | | moved normalize_user_or_email_field to auth/tools.py from auth/forms.py | Rodney Ewing | 2013-05-24 | 1 | -1/+1 |
| | | |||||
* | | moved forgot pw views to basic_auth plugin | Rodney Ewing | 2013-05-24 | 9 | -152/+272 |
| | | |||||
* | | added login.html template hook and basic_auth login template | Rodney Ewing | 2013-05-24 | 1 | -3/+0 |
| | | |||||
* | | reset mediagoblin.ini | Rodney Ewing | 2013-05-24 | 1 | -1/+0 |
| | |