Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | basic_auth v0 plugin working | Rodney Ewing | 2013-05-24 | 6 | -58/+162 |
|/ | |||||
* | No more of this find_packages nonsense. | Christopher Allan Webber | 2013-05-24 | 1 | -2/+2 |
| | | | | | | | Explicitly declare mediagoblin as the only package. find_packages has caused messes in the past :) This commit sponsored by Pedro Ângelo. Thanks! | ||||
* | Improved docs | Joar Wandborg | 2013-05-24 | 1 | -25/+39 |
| | | | | | | | - Fixed an outdated URL - Rewrote "Separate Celery" section - Changed literal blocks to bash code-blocks - Changed wording when referring to the MediaGoblin WSGI application | ||||
* | moved normalize_user_or_email_field to auth/tools.py from auth/forms.py | Rodney Ewing | 2013-05-23 | 2 | -27/+51 |
| | |||||
* | Moving statcdirect automodule doc reference to autoclass per Elrond's ↵ | Christopher Allan Webber | 2013-05-23 | 1 | -2/+1 |
| | | | | | | suggestion. Cleaner! | ||||
* | Cleaned up EXIF view | Joar Wandborg | 2013-05-23 | 3 | -57/+53 |
| | | | | | | The last update made the assumption that EXIF metadata is in some way consistent between camera models, images, manufacturers. This update takes into account that nothing is certain whenever EXIF is involved. | ||||
* | Documentation changes to reflect new plugin assetlink stuff | Christopher Allan Webber | 2013-05-23 | 4 | -4/+24 |
| | | | | | | | | | | | - updated old theme assetlink section to reflect new location of ./bin/gmg assetlink and removed comment about the plugin command being temporary. - Added a new section to the standard config file on where to put the plugin_static section - Added release notes about said section This commit sponsored by Thomas Webber. Thanks, Dad! | ||||
* | Full unit test for the plugin assetlink command. | Christopher Allan Webber | 2013-05-23 | 1 | -1/+73 |
| | | | | | | | | | | Tests: - if the link doesn't exist yet - if the link already exists - if it is a symlink to something else - if it exists but is not a symlink This commit sponsored by Lon Koenig. Thank you! | ||||
* | Cleaning a bit: os.path.sep.join -> os.path.join | Christopher Allan Webber | 2013-05-23 | 1 | -2/+2 |
| | |||||
* | docstring update: link theme... and plugins! | Christopher Allan Webber | 2013-05-23 | 1 | -1/+1 |
| |