Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and ↵ | Christopher Allan Webber | 2013-05-23 | 2 | -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 Webber | 2013-05-23 | 2 | -1/+35 |
| | | | | This commit sponsored by Samuel Vale. Thank you! | ||||
* | Simple "staticstuff" plugin for writing unit tests on plugin static asset ↵ | Christopher Allan Webber | 2013-05-23 | 4 | -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 Webber | 2013-05-23 | 2 | -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 Webber | 2013-05-23 | 5 | -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 Webber | 2013-05-23 | 1 | -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 Webber | 2013-05-23 | 1 | -0/+1 |
| | |||||
* | Work towards getting plugin static linking/serving to work | Christopher Allan Webber | 2013-05-23 | 4 | -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 Webber | 2013-05-23 | 3 | -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 underscores | Christopher Allan Webber | 2013-05-22 | 5 | -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 Webber | 2013-05-22 | 2 | -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öberg | 2013-05-21 | 1 | -3/+3 |
| | |||||
* | Piwigo: some sanity checks before adding to collection as per Elrond's ↵ | Mats Sjöberg | 2013-05-21 | 1 | -1/+2 |
| | | | | suggestions. | ||||
* | Piwigo: return collections list only to logged in users. | Mats Sjöberg | 2013-05-21 | 1 | -6/+7 |
| | |||||
* | Rudimentary collections support for piwigo plugin. | Mats Sjöberg | 2013-05-21 | 1 | -2/+21 |
| | |||||
* | Fixed minor typo in piwigo logging. | Mats Sjöberg | 2013-05-21 | 1 | -1/+2 |
| | |||||
* | Merge remote-tracking branch 'rodney757/change_pass' | Elrond | 2013-05-21 | 6 | -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 Ewing | 2013-05-21 | 3 | -13/+14 |
| | | | | | | | | view their password as they're typing. | ||||
| * | modified change_pass tests | Rodney Ewing | 2013-05-20 | 1 | -7/+10 |
| | | |||||
| * | moved change pass to a seperate view and fixed issues 709 | Rodney Ewing | 2013-05-20 | 5 | -26/+108 |
| | | |||||
* | | Refactor submit util new_upload_entry | Elrond | 2013-05-21 | 4 | -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. | Elrond | 2013-05-20 | 3 | -8/+10 |
| | | | | And fix tests. | ||||
* | piwigo: Add PwgError class. | Elrond | 2013-05-20 | 1 | -2/+14 |
| | | | | | This allows to return piwigo xml errors. Those can also be matched into html error codes. |