summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers
AgeCommit message (Collapse)Author
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-09-22Use alternate path to the CoolIris slideshow that fixes the problemBharat Mediratta
with Adobe not properly signing TextLayout.swz. Fixes #1390.
2010-08-29Don't concatenate two strings together as an argument for t() or t2();Bharat Mediratta
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
2010-06-18Use request::protocol().Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-22Change the check_environment method in the module helper and the module ↵Tim Almdal
installers to can_activate to reflect that it is doing more than just checking the environment.
2010-01-21Convert the slideshow module to use the new check environment and ↵Tim Almdal
pre_deactivate api methods.
2010-01-08Fix for ticket #933. Move the inclusion of the piclens script from the ↵Tim Almdal
theme::header callback to the theme::page_bottom callback.
2009-12-27Allow users to upscale images in the slideshow by making the maxScaleBharat Mediratta
parameter configurable in Admin > Settings > Advanced. You specify the scaling factor. Normally, images fill the stage; 0 -> never scale up; any other positive number S --> scale up to S times the original size of the photo (but never bigger than the stage)
2009-12-26Roll forward to the new CoolIris slideshow -- it appears to be readyBharat Mediratta
now.
2009-12-26Reuse $theme->item() for our descendants_count() call.Bharat Mediratta
2009-11-26Fix the arguments to Item_Model::descendants_count()Bharat Mediratta
2009-11-15Revert "Switch to new CoolIris slideshow. It doesn't fix the problems, but it"Bharat Mediratta
This reverts commit 2d7693b2f32464f74f2343c15f22290a190c3dbc. The new slideshow is not ready yet (sorry Belboz99!)
2009-11-10Switch to new CoolIris slideshow. It doesn't fix the problems, but itBharat Mediratta
gets us onto their latest codebase so as soon as they fix it on their side it'll work for our users.
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-09-05Change the module installer so that you don't need to provide your ownBharat Mediratta
install() function if all you're going to do is to set the version of the module from module.info into the database. This means that for some simple modules, you don't need an install.php file at all.
2009-09-01Allow the RSS feed page size to be customizeable, up to 100 items (toBharat Mediratta
mitigate DoS attacks). Have PicLens request a 100-item page to mitigate the bug where it refuses to load the 2nd page. Mitigates #23.
2009-08-31XSS review fixes (mostly adding missing html::mark_clean()) calls.Andy Staudacher
2009-08-27Don't display the slideshow icon if there are no descendants. ticket #660Tim Almdal
2009-07-28Use events to generate menus, instead of having xxx_menu helpers.Bharat Mediratta
This is the first step towards having a simple, lightweight and unified API for module interaction.
2009-07-19Html validation fix, ticket 572Andy Staudacher
2009-06-23Refactor the install/upgrade code to be more flexible.Bharat Mediratta
Add xxx_installer::upgrade($version) method so that upgrade stanzas are separate from install stanzas. In the old code, to do an upgrade meant that you had to re-evolve everything from the initial install because we'd step through each version's changes. But what we really want is for the initial install to start off in the perfect initial state, and the upgrades to do the work behind the scenes. So now the install() function gets things set up properly the first time, and the upgrade() function does any work to catch you up to the latest code. See gallery_installer.php for a good example.
2009-06-14Create a sidebar for tag pagesBharat Mediratta
Move the <link> for the container feed (either gallery/album/<id> or tag/tag/<id>) back into gallery_theme
2009-06-14Refactor the way that the rss module works so that we're not allowingBharat Mediratta
the url to dictate arbitrary static method calls. * Each xxx_rss helper has a single feed() call which takes an id as the argument * xxx_rss::available_feedS() only returns feeds when they're applicable (ie if you're viewing a tag, it won't show you an item feed). * Feed urls are now in the module/feed_id form so that we can bind a feed id to a given module * Tightened up the Rss_Controller by using url::merge and some other tricks. * Made the slideshow module express its own feed.
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-12Use the module_change event to figure out if the rss module isBharat Mediratta
inactive. If it is, we need to alert the admin user.
2009-04-23Use https if it's appropriateBharat Mediratta
2009-04-05Use the optimized version of PicLens to reduce download times ftw!Bharat Mediratta
2009-04-05Change the way we launch PicLensLite so that it doesn't upscale small images.Bharat Mediratta
This resolves ticket #205.
2009-01-18Rename theme callback helpers from xxx_block to xxx_theme to make roomBharat Mediratta
for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard.
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-04Move slideshow link from sidebar_top() into the photo and album menus.Bharat Mediratta
2008-12-13Layout cleanup and simplification. Move view-mode buttons into sidebar, ↵Chad Kieffer
search to header_top. Reduced borders. Started album grid improvements. Minor white space improvements. Still need to handle text/photo alignment in album grid, improve placement of search.
2008-12-09Checked in jQuery superfish menu plugin, applied to item options menu. ↵Chad Kieffer
Updated album/item view icons.
2008-12-07Added title attribute.Chad Kieffer
2008-12-06Switch the slideshow link from text to icon. Chad Kieffer
2008-11-28Re-enable the slideshow for tag views, since now we have a MediaRSS feed for ↵Bharat Mediratta
them
2008-11-27Reverted r18930. This is because in the media_rss module we don't generate ↵Tim Almdal
a media rss feed link if we don't have an item. So if we go an throw a slideshow on there, it doesn't do anything because piclens can't find the feed to produce a slideshow. You can put it back if you really want to. It will probably make more sense when we have an alternative slide show taht can work with the children collection.
2008-11-27Add tag_top() buttonBharat Mediratta
2008-11-27Centralize logging around installing/uninstalling modules.Bharat Mediratta
2008-11-22Move all block callbacks from View::block_type() toBharat Mediratta
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
2008-11-21Be consistent in naming the album_top blockTim Almdal
2008-11-212nd attempt at inserting html by modules.Tim Almdal
2008-11-21Revert module block approachTim Almdal
2008-11-20A look at away to allow modules to define html head contents (links and js) ↵Tim Almdal
and also allow modules to contribute blocks to the layout.