summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-06-20Swap the order of two lines to make the debug output have the right data.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-20Add an id to the exif link anchor.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-20Fix format of source message in l10n client (adding a newline between plural ↵Andy Staudacher
forms) Signed-off-by: <unostar@danalan.info>
2009-06-20Fix plural messages in l10n scanner - Bad typo lead to basically breaking ↵Andy Staudacher
all plural ("other") forms. Signed-off-by: <unostar@danalan.info>
2009-06-20Make an attempt to catch all situations where loading an item from G2Bharat Mediratta
returns an error, and log them appropriately. This should fix a slew of import failures from corrupt G2 installs. Signed-off-by: <unostar@danalan.info>
2009-06-18Fix l10n messages (malformed html)Andy Staudacher
Signed-off-by: <unostar@danalan.info>
2009-06-18Fix/remove unnecessary escaping of double quotes in l10n scanner.Andy Staudacher
Signed-off-by: <unostar@danalan.info>
2009-06-18Correct the "inappropriate intimacy" smell that bharat's refined senses pick upTim Almdal
Signed-off-by: <unostar@danalan.info>
2009-06-18Fix for ticket #366Tim Almdal
Move the creation of the setting menu back to gallery_menu::admin, now that there is a mechanism to remove empty menu items Signed-off-by: <unostar@danalan.info>
2009-06-18Fix for ticket #366Tim Almdal
1) Stored the menu element type in the menu element 2) Scanned the menu before display removing any empty sub menus. Went with the removal approach because there will more users than developers Signed-off-by: <unostar@danalan.info>
2009-06-17Add "custom_translations" instruction to captcha form builder to add ↵unostar
possibility to localize and customize form.
2009-06-17Fix a bug that was overwriting the quick-pane HTML causing the quickBharat Mediratta
panes not to appear. Oops. Bug was introduced in the rss refactor: 1b656be7135efe51ba0eb34d6ac76c2632ec193a Signed-off-by: <unostar@danalan.info>
2009-06-17Change the page.html file so that if the type of page is login, the sidebar ↵Tim Almdal
contents are are not shown Signed-off-by: <unostar@danalan.info>
2009-06-17Beautify "Show All" link, and only show when it's not already showing all ↵Andy Staudacher
strings Signed-off-by: <unostar@danalan.info>
2009-06-17Add option to list *all* l10n messages (that have been indexed) in l10n UIAndy Staudacher
TODO: The "Show All" link is almost invisible (link color ~= background) Signed-off-by: <unostar@danalan.info>
2009-06-17Add support for uploading .jpeg files (in addition to .jpg)Bharat Mediratta
Fix for ticket #428 Signed-off-by: <unostar@danalan.info>
2009-06-17Swap Jakob's placeholder in for mine.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-17Use a placeholder image if ffmpeg is missing instead of throwing anBharat Mediratta
exception which would get silently swallowed by swfUpload. Signed-off-by: <unostar@danalan.info>
2009-06-17Add the real image url to the anchor elements for our full size linksBharat Mediratta
so that right clicking works. Turn the full size rendering code into a function and call it with arguments, instead of creating a hacky named data structure to hold the info. Further partial fixes for ticket #427. Signed-off-by: <unostar@danalan.info>
2009-06-17Move all the fullsize code into the theme to make it less confusing.Bharat Mediratta
Partial fix for ticket #427. Signed-off-by: <unostar@danalan.info>
2009-06-17Fix html bug in l10n messageAndy Staudacher
Signed-off-by: <unostar@danalan.info>
2009-06-17Refactor common xxx_menu() code into private _menu() helper.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-16Refactor the comment_rss::feed() method to eliminate code duplication.Bharat Mediratta
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-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-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-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-15Switch quick delete from JS confirm to jQuery UI dialog, closes ticket #355.Chad Kieffer
Signed-off-by: <unostar@danalan.info>
2009-06-13Move date/time format strings into a setting and bump the galleryBharat Mediratta
module to version 2. First test of our upgrade code! Signed-off-by: <unostar@danalan.info>
2009-06-13Add a closing </b> to the warning.Bharat Mediratta
Signed-off-by: <unostar@danalan.info>
2009-06-13Create gallery::date_time(), gallery::date() and gallery::time()Bharat Mediratta
functions that format a unix timestamp into a date+time/date/time string. Partial fix for ticket #347. Signed-off-by: <unostar@danalan.info>
2009-06-13Don't count the root as an album in the stats block. It'll just confuse our ↵Bharat Mediratta
users. Fixes ticket #369 Signed-off-by: <unostar@danalan.info>
2009-06-13Corrected my mistake.unostar
2009-06-13Continue refactoring the rss module and distribute the creation of album andTim Almdal
tag feeds to the gallery and tag modules respectively. This chould close ticket #388 Signed-off-by: <unostar@danalan.info>
2009-06-13Move 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. Signed-off-by: <unostar@danalan.info>
2009-06-13Change from an event driven model to a call driven model similiar to the taskTim Almdal
api. Signed-off-by: <unostar@danalan.info>
2009-06-13Change 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. Signed-off-by: <unostar@danalan.info>
2009-06-12Multi-byte safe function to support all other languages.unostar
2009-06-12Rearrange the code in sidebar_block to logically group the code for readability.Tim Almdal
Signed-off-by: <unostar@danalan.info>