summaryrefslogtreecommitdiff
path: root/modules/rss/helpers
AgeCommit message (Collapse)Author
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-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2009-11-25Remove the REST_Controller and assorted baggage. Completes ticket #917Tim Almdal
2009-10-28Normalize capitalization ticket #596Tim Almdal
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-30Use the block_manager to manage site sidebar panels. Fixes ticket #110.Tim Almdal
* Extend block_manager to handle sidebar blocks. get_available has become get_available_admin_blocks, get_list becomes get_admin_list. * Create new functions get_available_site_blocks which will look for gallery_block get_available_site_blocks. * Refactor sidebar_blocks into a separate function and then call block_manager::get_html(site.sidebar). Convert image_block to use block management instead of theme::sidebar_blocks * Change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach * Convert the user module to use the new sidebar block structure. remove the installers for info and image_block modules. * Convert tag and rss modules to the new sidebar framework. reset the version number to 1 for info and image_block modules. * Change the get_html method to ignore empty blocks and change the individual handlers to return an empty string if no block is generated * Add a warning message if no sidebar blocks are active and provide a link to the admin page that configures the sidebar.
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-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-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-06-14Refactor feed code to use stdClass everywhere. Fix bugs in theBharat Mediratta
max-pages calculation code. Move feed related data into the $feed variable and only pass that to the view.
2009-06-14Remove the sidebar flag from the feed definition returned by available_feeds andTim Almdal
replace with a type field with one of two values (head and block). We need to do this to determine what fields go in the rss block so we can ignore the definitions that are related to the page head when creating the rss block that goes into the sidebar.
2009-06-14Remove rss:item_feed, rss::tag_fead and rss_theme::head and move thatTim Almdal
functionality in the <module_name>_theme::head function. Created rss::feed_link to wrap the module supplied uri in the html link element.
2009-06-14Rename:Tim Almdal
rss::get_feeds() -> rss::available_feeds() rss::process_feed() -> rss::feed_data()
2009-06-14Rename Rss_Controller::__call to Rss_Controller::feed, which changes the feedTim Almdal
url to rss/feed/<feed name>/[<id>] Where feed name is the name of the feed (i.e. albums, updates, comments, tags etc.) and id is the optional element id that the feed applies to.
2009-06-12Move the processing of rss feeds from the rss controller to callbacks in theTim Almdal
modules that are supplying the feed. The rss controller becomes a router. In this change the comment and updates fields are distributed.
2009-06-12Change from an event driven model to a call driven model similiar to the taskTim Almdal
api.
2009-06-12Change the "request_feed_links" eventing handling so that individual modulesTim Almdal
provide the part of the url (the suffix) that they are interested in and the rss module will format the rest of the url.
2009-06-11Rearrange the code in sidebar_block to logically group the code for readability.Tim Almdal
2009-06-11Changed rss_theme::sidebar_blocks to fire the event "request_feed_links" toTim Almdal
allow modules to contribute rss feed links to the rss sidebar block. Ticket #388.
2009-06-10Only add the comment rss feeds if the comment module is active. fix for #365Tim Almdal
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-04-05Remove obsolete code.Bharat Mediratta
2009-03-16Set $item and $tag in the Theme_View so that calls like $theme->item()Bharat Mediratta
which fall through to calling &View::__get() have an lvalue to return, else you can't return them by reference. Also, don't show sidebar blocks for pages that don't have an item so that the rss and tag modules don't break the search page.
2009-03-14Use relative urls for the feed links.Bharat Mediratta
2009-02-24Added a block to the siebar that lists the available feedsTim Almdal
2009-02-191) Rename the module media_rss to rssTim Almdal
2) Protect the fullsize image with a permission check 3) Added a content:encoded element to each item which allows the image to show up in the body of the feed.