aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* A bit of pep8 and small typo fix.Elrond2013-05-202-3/+3
|
* Only calculate aperture if fnumber is providedJoar Wandborg2013-05-201-7/+6
|
* Take into account incomplete EXIF dataJoar Wandborg2013-05-201-9/+18
|
* Fixed EXIF testsJoar Wandborg2013-05-201-57/+318
|
* Modifies EXIF section with Camera Info, display toggle and template stylingGabriel Saldana2013-05-203-3/+139
|
* Changes to display all EXIF informationGabriel Saldana2013-05-202-6/+4
|
* Added upload processing to the piwigo/addSimpleJoar Wandborg2013-05-191-3/+58
|
* Just word-wrapping the recent changes to the deployment docs.Christopher Allan Webber2013-05-171-6/+11
|
* Merge remote-tracking branch 'refs/remotes/merge-requests/58'Christopher Allan Webber2013-05-171-4/+23
|\
| * Added info about editing mediagoblin.iniSam Tuke2013-05-061-4/+23
| | | | | | | | Added link to Apache deployment instructions
* | Noting why we don't have an email uniqueness constraint in the db.Christopher Allan Webber2013-05-171-0/+4
| | | | | | | | This commit sponsored by Guido Günther. Thanks!
* | Merge remote-tracking branch 'refs/remotes/elrond/misc/pytest_enable_testing'Christopher Allan Webber2013-05-172-2/+28
|\ \
| * | Always activate testing using pytest fixture.Elrond2013-05-172-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is possibly the cleaner approach to the problem solved in the previous commit. The previous commit makes sure, that testing is enabled at import time. While this one enables it just before the individual test is run. So this one takes a bit more CPU. Maybe revert the previous commit? References: 0536306048daa0970d2e43411ba2a9bf073e570e
* | | Reverting "Always activate testing in every test module ever."Christopher Allan Webber2013-05-1726-89/+1
|/ / | | | | | | | | | | Revert "Always activate testing in every test module ever." This reverts commit 0536306048daa0970d2e43411ba2a9bf073e570e.
* | Always activate testing in every test module ever.Christopher Allan Webber2013-05-1626-1/+89
| | | | | | | | Kind of a dorky way to implement this, but...
* | Fixing bug in dbupdate where it would explode on plugin that is missing ↵Christopher Allan Webber2013-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | MODELS or MIGRATIONS The reason it blew up was because in the latter caught exception, it wouldn't set models/migrations to an empty set, so it would actually use the previous run's models/migrations! That's what we get for "leaky" variables on python for loops :) This commit sponsored by Pascal Diogo Antunes. Thank you!
* | Merge branch '623_context_hooks'Christopher Allan Webber2013-05-159-1/+259
|\ \
| * | Testing the template_context_prerender hookChristopher Allan Webber2013-05-155-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for modifying any context *right before render*, including access to the variables that are passed in. This test takes advantage of that and takes one of the variables, "doubleme", and modifies it (doubles it!) In our case it turns "happy" and "joy" into "happyhappy" and "joyjoy". This commit sponsored by Mark Holmquist. Thank you!
| * | Simple tyop, view->test... I was writing too many tests at the time :)Christopher Allan Webber2013-05-151-1/+1
| | |
| * | Oh right, actually add that hook we just documented, ↵Christopher Allan Webber2013-05-151-0/+7
| | | | | | | | | | | | | | | | | | "template_context_prerender" :) This commit sponsored by William Goudie. Thanks Bill! :)
| * | Hook->hooks since there's more than one of them :)Christopher Allan Webber2013-05-151-2/+2
| | |
| * | Adding global context hooks & fixing method names->symbolic view names in docsChristopher Allan Webber2013-05-151-3/+18
| | | | | | | | | | | | This commit sponsored by Sheila Miguez. Thanks Sheila!
| * | Added documentation on view specific hooksChristopher Allan Webber2013-05-141-0/+62
| | | | | | | | | | | | This commit sponsored by Matthew Woodward. Thank you!
| * | Documenting the test_modify_context and context_modified_app methodsChristopher Allan Webber2013-05-141-0/+7
| | |
| * | Fully working context hooks, both template/view and global level, with testsChristopher Allan Webber2013-05-147-7/+114
| | | | | | | | | | | | | | | | | | Needs documentation though... that's coming next :) This commit sponsored by Luca Tius. Thanks Luca!
| * | Merge branch 'master' into 623_context_hooksChristopher Allan Webber2013-05-1212-81/+69
| |\ \
| * | | Use the controller's symbolic/lookup name as part of the key for context hooksChristopher Allan Webber2013-05-102-3/+3
| | | | | | | | | | | | | | | | This commit sponsored by David Collins. Thank you!
| * | | Merge branch 'master' into 623_context_hooksChristopher Allan Webber2013-05-1011-35/+138
| |\ \ \
| * | | | Ah right, and here's the config we intend to use for these context modified ↵Christopher Allan Webber2013-05-081-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests :) This commit sponsored by Xavier Gulliot. Thanks Xavier!