Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oh right, actually add that hook we just documented, ↵ | Christopher Allan Webber | 2013-05-15 | 1 | -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 Webber | 2013-05-15 | 1 | -2/+2 |
| | |||||
* | Adding global context hooks & fixing method names->symbolic view names in docs | Christopher Allan Webber | 2013-05-15 | 1 | -3/+18 |
| | | | | This commit sponsored by Sheila Miguez. Thanks Sheila! | ||||
* | Added documentation on view specific hooks | Christopher Allan Webber | 2013-05-14 | 1 | -0/+62 |
| | | | | This commit sponsored by Matthew Woodward. Thank you! | ||||
* | Documenting the test_modify_context and context_modified_app methods | Christopher Allan Webber | 2013-05-14 | 1 | -0/+7 |
| | |||||
* | Fully working context hooks, both template/view and global level, with tests | Christopher Allan Webber | 2013-05-14 | 7 | -7/+114 |
| | | | | | | Needs documentation though... that's coming next :) This commit sponsored by Luca Tius. Thanks Luca! | ||||
* | Merge branch 'master' into 623_context_hooks | Christopher Allan Webber | 2013-05-12 | 12 | -81/+69 |
|\ | |||||
| * | Removing reference to nose (thanks for catching, Elrond!) | Christopher Allan Webber | 2013-05-12 | 1 | -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 Webber | 2013-05-12 | 5 | -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 Webber | 2013-05-12 | 1 | -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 Webber | 2013-05-11 | 3 | -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" tooling | Christopher Allan Webber | 2013-05-11 | 1 | -6/+10 |
| | | |||||
| * | Merge remote-tracking branch 'refs/remotes/tryggvib/532-exif-creation-date' | Christopher Allan Webber | 2013-05-11 | 3 | -0/+29 |
| |\ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/templates/mediagoblin/user_pages/media.html | ||||
| | * | Documented the get_original_date method | Tryggvi Björgvinsson | 2012-11-25 | 1 | -0/+5 |
| | | | |||||
| | * | Moved exif date transformation logic from template to image data model (as a ↵ | Tryggvi Björgvinsson | 2012-11-25 | 2 | -7/+20 |
| | | | | | | | | | | | | function) | ||||
| | * | A template fix to show the EXIF DateTimeOriginal (as creation date). Added ↵ | Tryggvi Björgvinsson | 2012-11-08 | 2 | -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 Webber | 2013-05-11 | 2 | -4/+26 |
| |\ \ | |||||
| | * | | Fixing ticket #146 - Make messaging system testable | Gabi Thume | 2013-04-29 | 2 | -4/+26 |
| | | | | |||||
* | | | | Use the controller's symbolic/lookup name as part of the key for context hooks | Christopher Allan Webber | 2013-05-10 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | This commit sponsored by David Collins. Thank you! | ||||
* | | | | Merge branch 'master' into 623_context_hooks | Christopher Allan Webber | 2013-05-10 | 11 | -35/+138 |
|\| | | | |||||
| * | | | Merge remote-tracking branch 'refs/remotes/dthompson/453_disable_comments' | Christopher Allan Webber | 2013-05-10 | 3 | -7/+18 |
| |\ \ \ | |||||
| | * | | | Do not allow comments to be posted when they are disabled. | David Thompson | 2013-04-13 | 1 | -1/+7 |
| | | | | | |||||
| | * | | | Do not render 'Add a comment' button if comments are disabled. | David Thompson | 2013-04-13 | 1 | -6/+8 |
| | | | | | |||||
| | * | | | Add allow_comments configuration setting. | David Thompson | 2013-04-13 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2013-05-10 | 4 | -24/+102 |
| |\ \ \ \ | |||||
| | * | | | | piwigo: Better logging for login. | Elrond | 2013-05-09 | 1 | -1/+4 |
| | | | | | | |||||
| | * | | | | piwigo: Let getStatus return the current user. | Elrond | 2013-05-09 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | If there is a user logged in, show his name. | ||||
| | * | | | | Create new session system for piwigo plugin. | Elrond | 2013-05-09 | 3 | -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. | Elrond | 2013-05-09 | 3 | -3/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make things a bit easier, switch to WTForms for validating the received data. | ||||
| | * | | | | piwigo: Remove possibly_add_cookie. | Elrond | 2013-05-09 | 1 | -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 Webber | 2013-05-10 | 2 | -1/+15 |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | |||||
| | * | | | | actual upgrade instructions | Mike Linksvayer | 2012-12-20 | 1 | -1/+13 |
| | | | | | | |||||
| | * | | | | Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin | Mike Linksvayer | 2012-12-20 | 157 | -5434/+13082 |
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/source/siteadmin/media-types.rst | ||||
| | * | | | | | mention dependencies, dbupdate, refer to docs | Mike Linksvayer | 2012-10-12 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://issues.mediagoblin.org/ticket/470 | ||||
| | * | | | | | Mention necessary operation per ↵ | Mike Linksvayer | 2012-10-12 | 1 | -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 Webber | 2013-05-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | plugins section | ||||
| * | | | | | | Fixing API setup with new plugin "config spec" world | Christopher Allan Webber | 2013-05-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It shouldn't reference the config until in the setup_plugin() method, else there's a race condition. | ||||
* | | | | | | | Ah right, and here's the config we intend to use for these context modified ↵ | Christopher Allan Webber | 2013-05-08 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests :) This commit sponsored by Xavier Gulliot. Thanks Xavier! | ||||
* | | | | | | | The beginning of context hooks. | Christopher Allan Webber | 2013-05-08 | 3 | -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?! | ||||
* | | | | | | Documenting plugin configuration | Christopher Allan Webber | 2013-05-08 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by David Krupicz. Thanks, David! | ||||
* | | | | | | Unit tests for plugins defining their own config_spec.ini! | Christopher Allan Webber | 2013-05-08 | 4 | -0/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by David Ahmed. Thank you! | ||||
* | | | | | | Allow plugins to install their own config_spec.ini if they like. | Christopher Allan Webber | 2013-05-08 | 1 | -0/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by Timothy Vollmer. Thanks Tim! | ||||
* | | | | | | Removed unused imports in httpapiauth | Joar Wandborg | 2013-05-05 | 1 | -2/+1 |
| | | | | | | |||||
* | | | | | | Use collection.url_for_self more; Add missing /a. | Elrond | 2013-05-05 | 4 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using collection.url_for_self(request.urlgen) instead of request.urlgen(lengthy) is so much nicer, so using it around the place. Also added a few missing </a> in one template. | ||||
* | | | | | | Fix typo in new stl MEDIA_MANAGER. | Elrond | 2013-05-02 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Fix media manager reference in video. | Elrond | 2013-04-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An uninstantiated bare media manager doesn't any more support ["something"]. You need to do .something. Fixed for .source_type(). | ||||
* | | | | | | Make all media types use the new MediaManager classes. | Praveen Kumar | 2013-04-30 | 5 | -44/+59 |
| |_|_|/ / |/| | | | | |||||
* | | | | | Add warning about crypt/itsdangeroussecret.bin. | Elrond | 2013-04-30 | 2 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | You should not leak that file, really. | ||||
* | | | | | Create redir_obj and use it around. | Elrond | 2013-04-28 | 3 | -19/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a shortcut function to redirect to the main page for an object. Objects currently supported: media entries and collections. And go around and replace various places to use this. | ||||
* | | | | | Rewrite resize_image to use proc_state.store_public. | Elrond | 2013-04-27 | 1 | -10/+7 |
| | | | | | | | | | | | | | | | | | | | | This hopefully makes the code nicer and easier to change. |