aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Work towards getting plugin static linking/serving to workChristopher Allan Webber2013-05-234-8/+73
| | | | | | | | | - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you!
* Start of ability to have plugins provide static resources!Christopher Allan Webber2013-05-233-0/+64
| | | | | | | | | | Note I have not tested any of this yet ;) But we're already on our way: - We've got docs - The hook is there Lots to do still though. But, progress! :) This commit sponsored by Laura Arjona Reina. Thanks larjona!
* Move "bits" templates with dashes in them to underscoresChristopher Allan Webber2013-05-225-3/+19
| | | | | | Moved all references and also added a note to our release notes. This commit sponsored by Juan Rodriguez. Thank you!
* Moved frontpage "welcome" stuff into its own bits file.Christopher Allan Webber2013-05-222-17/+37
| | | | | | This should make it easier to override just that part of the page. This commit sponsored by David Rylander. Thank you!
* Piwigo minor fix in categories_getList.Mats Sjöberg2013-05-211-3/+3
|
* Piwigo: some sanity checks before adding to collection as per Elrond's ↵Mats Sjöberg2013-05-211-1/+2
| | | | suggestions.
* Piwigo: return collections list only to logged in users.Mats Sjöberg2013-05-211-6/+7
|
* Rudimentary collections support for piwigo plugin.Mats Sjöberg2013-05-211-2/+21
|
* Fixed minor typo in piwigo logging.Mats Sjöberg2013-05-211-1/+2
|
* Merge remote-tracking branch 'rodney757/change_pass'Elrond2013-05-216-33/+119
|\ | | | | | | | | | | | | * rodney757/change_pass: fixed translation, and changed tabs to spaces, and change it so the user can view their password as they're typing. modified change_pass tests moved change pass to a seperate view and fixed issues 709
| * fixed translation, and changed tabs to spaces, and change it so the user can ↵Rodney Ewing2013-05-213-13/+14
| | | | | | | | view their password as they're typing.
| * modified change_pass testsRodney Ewing2013-05-201-7/+10
| |
| * moved change pass to a seperate view and fixed issues 709Rodney Ewing2013-05-205-26/+108
| |
* | Refactor submit util new_upload_entryElrond2013-05-214-14/+17
|/ | | | | | This tool creates an initial media entry for a given user. No magic. It just prefills the license with the user's default license and adds the user as uploader.
* piwigo: Return proper error for wrong user/password.Elrond2013-05-203-8/+10
| | | | And fix tests.
* piwigo: Add PwgError class.Elrond2013-05-201-2/+14
| | | | | This allows to return piwigo xml errors. Those can also be matched into html error codes.