summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-17Refactor common xxx_menu() code into private _menu() helper.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-16Warn the end user not to run test or package targets.Bharat Mediratta
2009-06-16Refactor common xxx_menu() code into private _menu() helper.Bharat Mediratta
2009-06-16Refactor the comment_rss::feed() method to eliminate code duplication.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-16Fix the bug introduced by r79582ee, where we try to set the title of the tag ↵Tim Almdal
album to tag->title. which doesn't exist. Signed-off-by: <unostar@danalan.info>
2009-06-16Don't try to require GalleryCommentHelper.class if the module is notBharat Mediratta
active, since the code may not even be present. This assumes that if the G2 comment module *is* active that the code is present, but that's part of the assumption that the G2 we're importing from is healthy. Fixes ticket #409 Signed-off-by: <unostar@danalan.info>
2009-06-16Fix up the titles in the default theme. They've been broken for aBharat Mediratta
while. This fixes ticket #342. The bug is that we were using $item instead of $theme->item(). But we were also not special casing tags properly, and they are effectively first class citizens (at least for now) so treat them properly. Also, set page_title by default in the theme so that we don't have to do an empty() check on it (makes the theme easier to read) and move the title out of Tags_Controller so that the theme has more control over it. Signed-off-by: <unostar@danalan.info>
2009-06-15Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-15Refactor the comment_rss::feed() method to eliminate code duplication.Bharat Mediratta
2009-06-15Fix the bug introduced by r79582ee, where we try to set the title of the tag ↵Tim Almdal
album to tag->title. which doesn't exist.
2009-06-15Don't try to require GalleryCommentHelper.class if the module is notBharat Mediratta
active, since the code may not even be present. This assumes that if the G2 comment module *is* active that the code is present, but that's part of the assumption that the G2 we're importing from is healthy. Fixes ticket #409
2009-06-15Fix up the titles in the default theme. They've been broken for aBharat Mediratta
while. This fixes ticket #342. The bug is that we were using $item instead of $theme->item(). But we were also not special casing tags properly, and they are effectively first class citizens (at least for now) so treat them properly. Also, set page_title by default in the theme so that we don't have to do an empty() check on it (makes the theme easier to read) and move the title out of Tags_Controller so that the theme has more control over it.
2009-06-15Added "cutom_translations" instruction to Recaptcha to localize & cutomize ↵unostar
recaptcha message.
2009-06-15Create 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 Signed-off-by: <unostar@danalan.info>
2009-06-15Refactor 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. Signed-off-by: <unostar@danalan.info>
2009-06-15Move jquery local scroll module from default theme to lib, only load it if ↵Chad Kieffer
viewing photo view. White space cleanup, removed debug print from template. Signed-off-by: <unostar@danalan.info>
2009-06-15Move jquery local scroll module from default theme to lib, only load it if ↵Chad Kieffer
viewing photo view. White space cleanup, removed debug print from template. Signed-off-by: <unostar@danalan.info>
2009-06-15Refactor 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. Signed-off-by: <unostar@danalan.info>
2009-06-15Trap gallery2 errors when we try to load an invalid user id and abort ↵Bharat Mediratta
loading that user. Signed-off-by: <unostar@danalan.info>
2009-06-15Add string to localizerunostar
2009-06-14Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
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-06-14Move jquery local scroll module from default theme to lib, only load it if ↵Chad Kieffer
viewing photo view. White space cleanup, removed debug print from template.
2009-06-14Move jquery local scroll module from default theme to lib, only load it if ↵Chad Kieffer
viewing photo view. White space cleanup, removed debug print from template.
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-14Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-15Don't use stdClass to return the feed data. Just use an array.Tim Almdal
Signed-off-by: <unostar@danalan.info>
2009-06-15Remove 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. Signed-off-by: <unostar@danalan.info>
2009-06-15Remove 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. Signed-off-by: <unostar@danalan.info>
2009-06-15Rename:Tim Almdal
rss::get_feeds() -> rss::available_feeds() rss::process_feed() -> rss::feed_data() Signed-off-by: <unostar@danalan.info>
2009-06-15Rename 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. Signed-off-by: <unostar@danalan.info>
2009-06-15Get rid of the word "items" in the delete confirmation dialog.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-15Add a warning about eAccelerator interfering with g2_import.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-14Trap gallery2 errors when we try to load an invalid user id and abort ↵Bharat Mediratta
loading that user.
2009-06-14Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-06-14Don't use stdClass to return the feed data. Just use an array.Tim Almdal
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-14Merge branch 'master' of git://github.com/dkm/gallery3Bharat Mediratta
2009-06-14Merge branch 'master' of git://github.com/unostar/gallery3Bharat Mediratta
2009-06-14Get rid of the word "items" in the delete confirmation dialog.Bharat Mediratta
2009-06-14Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
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-15Switch quick delete from JS confirm to jQuery UI dialog, closes ticket #355.Chad Kieffer
Signed-off-by: <unostar@danalan.info>
2009-06-15Remap mysql_xx() functions to their mysqli counterparts if the mysqlBharat Mediratta
extension is unavailable. Fixes ticket #393. Signed-off-by: <unostar@danalan.info>
2009-06-14Switch quick delete from JS confirm to jQuery UI dialog, closes ticket #355.Chad Kieffer
2009-06-13Add a warning about eAccelerator interfering with g2_import.Bharat Mediratta
2009-06-13Remap mysql_xx() functions to their mysqli counterparts if the mysqlBharat Mediratta
extension is unavailable. Fixes ticket #393.