aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | moved send_verification_email to auth/toolsRodney Ewing2013-05-243-39/+41
| | |
| * | removed unused importRodney Ewing2013-05-241-1/+0
| | |
| * | changed User model pw_hash field to nullable and added migrationsRodney Ewing2013-05-242-1/+12
| |/
* | moving forgot_password views back to gmg/auth and cleanupRodney Ewing2013-05-2415-477/+144
| |
* | fixed failing tests after rebaseRodney Ewing2013-05-245-19/+18
| |
* | added gen_password_hash and check_password functions to auth/__init__Rodney Ewing2013-05-243-3/+13
| |
* | added focus to form inputRodney Ewing2013-05-245-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 firstRodney Ewing2013-05-241-3/+4
| |
* | changed occurances of form.data['whatever'] to form.whatever.dataRodney Ewing2013-05-242-11/+12
| | | | | | | | | | | | Conflicts: mediagoblin/plugins/basic_auth/__init__.py mediagoblin/plugins/openid/__init__.py
* | check if password field present in basic_auth create_userRodney Ewing2013-05-241-1/+1
| |
* | added a register_user function to be able to use in a plugin's register ↵Rodney Ewing2013-05-242-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 Ewing2013-05-242-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 Ewing2013-05-243-96/+74
| | | | | | | | auth/lib.py. And added a basic_extra_verification function that all plugins will use.
* | removed check_login from db mixinRodney Ewing2013-05-243-9/+4
| |
* | added Copyright header to basic_auth/forms.pyRodney Ewing2013-05-241-0/+15
| |
* | moved fake_login_attempt to pluginsRodney Ewing2013-05-246-27/+166
| |
* | log a previously logged in user when switched to no_auth modeRodney Ewing2013-05-242-1/+10
| |
* | made basic_auth a default pluginRodney Ewing2013-05-241-0/+1
| |
* | added tests for no_auth featureRodney Ewing2013-05-246-4/+138
| |
* | changed from sys.exit() to raise AuthError for handling no_auth=false in ↵Rodney Ewing2013-05-241-4/+10
| | | | | | | | config and no auth plugin present
* | existing test all passing nowRodney Ewing2013-05-243-121/+194
| |
* | modified test .ini files and changed tests to use basic_auth bcryptRodney Ewing2013-05-245-3/+11
| |
* | renamed hook as to no conflict with existing hook namesRodney Ewing2013-05-242-2/+2
| |
* | renamed basic_auth/tools to basic_auth/libRodney Ewing2013-05-242-4/+103
| |
* | modified check_login function to return None instead of False to be able to ↵Rodney Ewing2013-05-242-2/+8
| | | | | | | | have multiple plugins check_login
* | moved bcrypt_gen_password_hash to basic_auth/tools and added ↵Rodney Ewing2013-05-245-22/+13
| | | | | | | | gen_password_hash function to auth/__init__
* | moved bcrypt_check_password to basic_auth/tools from auth/libRodney Ewing2013-05-246-40/+9
| |
* | add a check for authentication plugin on startup and respond according to ↵Rodney Ewing2013-05-249-19/+70
| | | | | | | | no_auth config option. allows instance to be run w/o authentication
* | changed User model pw_hash field to nullable and added migrationsRodney Ewing2013-05-242-1/+10
| |
* | moved normalize_user_or_email_field to auth/tools.py from auth/forms.pyRodney Ewing2013-05-241-1/+1
| |
* | moved forgot pw views to basic_auth pluginRodney Ewing2013-05-249-152/+272
| |
* | added login.html template hook and basic_auth login templateRodney Ewing2013-05-241-3/+0
| |
* | reset mediagoblin.iniRodney Ewing2013-05-241-1/+0
| |
* | basic_auth v0 plugin workingRodney Ewing2013-05-246-58/+162
|/
* No more of this find_packages nonsense.Christopher Allan Webber2013-05-241-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 docsJoar Wandborg2013-05-241-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.pyRodney Ewing2013-05-232-27/+51
|
* Moving statcdirect automodule doc reference to autoclass per Elrond's ↵Christopher Allan Webber2013-05-231-2/+1
| | | | | | suggestion. Cleaner!
* Cleaned up EXIF viewJoar Wandborg2013-05-233-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 stuffChristopher Allan Webber2013-05-234-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 Webber2013-05-231-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.joinChristopher Allan Webber2013-05-231-2/+2
|
* docstring update: link theme... and plugins!Christopher Allan Webber2013-05-231-1/+1
|
* Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and ↵Christopher Allan Webber2013-05-232-52/+29
| | | | | | | | | plugins We've moved the module... probably I'll re-add theme just to give a warning that this is deprecated. This commit sponsored by Kevin Williams. Thank you!
* test_plugin_staticdirect now works and passes.Christopher Allan Webber2013-05-232-1/+35
| | | | This commit sponsored by Samuel Vale. Thank you!
* Simple "staticstuff" plugin for writing unit tests on plugin static asset ↵Christopher Allan Webber2013-05-234-0/+94
| | | | | | | | | | | | | | | | linking. It doesn't do much... it just has a static directory with a "bunnify" CSS file and has a unit test that returns a json encoded set of a staticdirect with both this plugin enabled and also with (theoretically) a file distributed with MediaGoblin (it isn't really, but in our case that doesn't matter.) Also set up the static_setup hook / PluginStatic object for this plugin; testing that with `./bin/gmg theme assetlink` seemed to work. (And argh, need to update that command name, I know.) This commit sponsored by Bradley Kuhn. Thanks bkuhn!
* Various fixes to plugin assetlinking command.Christopher Allan Webber2013-05-232-7/+7
| | | | | | | Actually trying to run the command helps figure out what needs to be fixed :) This commit sponsored by Justin Nichol. Thank you!
* Moving test_user_dev->user_dev in plugin app configs & adding plugin static ↵Christopher Allan Webber2013-05-235-26/+25
| | | | | | | | | | | | | | | | serving The test_user_dev (as opposed to user_dev) was a legacy before we had each application running in its own directory (as they now do in pytest). Move that name to just user_dev... this is more consistent with the rest of our naming and will make writing these config files easier. (If we want to test that changing these still works, that should be a separate unit test with special config files.) Additionally, add plugin static serving to the common test paste config file. This commit sponsored by Juan Jose Marin Martinez. Thank you!
* Document assetlink and staticdirect usage for plugins.Christopher Allan Webber2013-05-231-0/+31
| | | | | | | Still a bit to clean up around what the command to be run actually is, since that will likely change. This commit sponsored by David Decker. Thank you!
* Oh right, actually mount /plugin_static/ :)Christopher Allan Webber2013-05-231-0/+1
|