aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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!
| * | | The beginning of context hooks.Christopher Allan Webber2013-05-083-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not the working solution, but getting there conceptually. Basically we'll have a key with the view and the template as a tuple which is the context hook that anyone can attach to. However, some changes have still to be made: - The unit test doesn't work yet and contains a set_trace ;) - We'll probably switch the "view" component from being the callable to the "urlgen"'able name per Elrond's suggestion - Found a bug in unit tests related to running custom apps for different configs... hm. I need to fix this! Nonetheless, making progress. This commit sponsored by... wait a minute... Christopher Webber?!
* | | | Normalizing indentation a bit in media.htmlChristopher Allan Webber2013-05-141-9/+9
| | | | | | | | | | | | | | | | This commit sponsored by Christian Frank. Thank you!
* | | | fix for bug when comments are disabled, link attribute is never closedRodney Ewing2013-05-141-2/+2
| | | |
* | | | piwigo: Start first tests.Elrond2013-05-122-1/+70
| | | | | | | | | | | | | | | | | | | | This first test checks the session logic of the piwigo plugin. login, logout, getStatus.
* | | | piwigo: Fix validator usage.Elrond2013-05-121-1/+1
| |_|/ |/| | | | | | | | | | | wtforms.validators.Optional doesn't take an argument. I don't know, why I gave it one.
* | | Removing reference to nose (thanks for catching, Elrond!)Christopher Allan Webber2013-05-121-3/+1
| | | | | | | | | | | | This commit sponsored by Kevin McCarthy. Thank you!
* | | Tests should no longer use the environment-variable-related-setup and set up ↵Christopher Allan Webber2013-05-125-72/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | in app instead This should remove a bunch of confusing cruft. I hate using that environment variable! Also that old code was fragile. This commit sponsored by Stephen Milton. Thanks!
* | | Making the uncomment-able db string match the one that we use in the install ↵Christopher Allan Webber2013-05-121-1/+1
| | | | | | | | | | | | | | | | | | docs This commit sponsored by Denise Merkel. Thanks, Mom! Happy Mother's Day!
* | | Moving the get_original_date method over to the MediaManager.Christopher Allan Webber2013-05-113-18/+24
| | | | | | | | | | | | | | | | | | | | | This fixes a bug so that it doesn't explode if the media_data doesn't exist. This commit sponsored by Ole-Morten Duesund. Thank you!
* | | Updated "created on" feature to reflect new "hover for real time" toolingChristopher Allan Webber2013-05-111-6/+10
| | |
* | | Merge remote-tracking branch 'refs/remotes/tryggvib/532-exif-creation-date'Christopher Allan Webber2013-05-113-0/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/templates/mediagoblin/user_pages/media.html
| * | | Documented the get_original_date methodTryggvi Björgvinsson2012-11-251-0/+5
| | | |
| * | | Moved exif date transformation logic from template to image data model (as a ↵Tryggvi Björgvinsson2012-11-252-7/+20
| | | | | | | | | | | | | | | | function)
| * | | A template fix to show the EXIF DateTimeOriginal (as creation date). Added ↵Tryggvi Björgvinsson2012-11-082-0/+9
| | | | | | | | | | | | | | | | as a configurable option 'original_date_visible' (default false). Since the EXIF tag is a string with the date formatted as 'YYYY:MM:DD HH:MM:SS' the fix slices the string to give only the date and then replaces : by - to conform with the 'Added on' date.
* | | | Merge remote-tracking branch 'gabithume/146_debug_message'Christopher Allan Webber2013-05-112-4/+26
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fixing ticket #146 - Make messaging system testableGabi Thume2013-04-292-4/+26
| | | |
* | | | Merge remote-tracking branch 'refs/remotes/dthompson/453_disable_comments'Christopher Allan Webber2013-05-103-7/+18
|\ \ \ \
| * | | | Do not allow comments to be posted when they are disabled.David Thompson2013-04-131-1/+7
| | | | |
| * | | | Do not render 'Add a comment' button if comments are disabled.David Thompson2013-04-131-6/+8
| | | | |
| * | | | Add allow_comments configuration setting.David Thompson2013-04-131-0/+3
| | | | |
* | | | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2013-05-104-24/+102
|\ \ \ \ \
| * | | | | piwigo: Better logging for login.Elrond2013-05-091-1/+4
| | | | | |
| * | | | | piwigo: Let getStatus return the current user.Elrond2013-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | If there is a user logged in, show his name.
| * | | | | Create new session system for piwigo plugin.Elrond2013-05-093-7/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the brand new itsdangerous sessions to power the sessions for piwigo. The real point is: Clients want to have the session in a "pwg_id" cookie and don't accept any other cookie name.
| * | | | | piwigo: Add .images.add including form handling.Elrond2013-05-093-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make things a bit easier, switch to WTForms for validating the received data.
| * | | | | piwigo: Remove possibly_add_cookie.Elrond2013-05-091-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one was a fake thing to make clients happy. Real sessions coming sonn.
* | | | | | Merge remote-tracking branch 'refs/remotes/merge-requests/47'Christopher Allan Webber2013-05-102-1/+15
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | actual upgrade instructionsMike Linksvayer2012-12-201-1/+13
| | | | | |
| * | | | | Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblinMike Linksvayer2012-12-20157-5434/+13082
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/source/siteadmin/media-types.rst
| * | | | | | mention dependencies, dbupdate, refer to docsMike Linksvayer2012-10-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://issues.mediagoblin.org/ticket/470
| * | | | | | Mention necessary operation per ↵Mike Linksvayer2012-10-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://lists.mediagoblin.org/pipermail/devel/2012-April/000173.html
* | | | | | | Fix the new config "plugin spec" loading code so it doesn't break on no ↵Christopher Allan Webber2013-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | plugins section
* | | | | | | Fixing API setup with new plugin "config spec" worldChristopher Allan Webber2013-05-081-2/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | It shouldn't reference the config until in the setup_plugin() method, else there's a race condition.
* | | | | | Documenting plugin configurationChristopher Allan Webber2013-05-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by David Krupicz. Thanks, David!
* | | | | | Unit tests for plugins defining their own config_spec.ini!Christopher Allan Webber2013-05-084-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by David Ahmed. Thank you!
* | | | | | Allow plugins to install their own config_spec.ini if they like.Christopher Allan Webber2013-05-081-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by Timothy Vollmer. Thanks Tim!