Andy Staudacher and
1d9f9138fb
Fix plural messages in l10n scanner - Bad typo lead to basically breaking all plural ("other") forms.
...
Signed-off-by: <unostar@danalan.info >
2009-06-20 09:40:55 +08:00
Andy Staudacher and
4ec997ee74
Fix/remove unnecessary escaping of double quotes in l10n scanner.
...
Signed-off-by: <unostar@danalan.info >
2009-06-18 23:23:56 +08:00
Tim Almdal and
9af8027cf3
Fix for ticket #366
...
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-18 16:29:41 +08:00
Bharat Mediratta and
1a911d4b5c
Fix a bug that was overwriting the quick-pane HTML causing the quick
...
panes not to appear. Oops. Bug was introduced in the rss refactor:
1b656be713
Signed-off-by: <unostar@danalan.info >
2009-06-17 15:26:33 +08:00
Bharat Mediratta and
18a313c454
Use a placeholder image if ffmpeg is missing instead of throwing an
...
exception which would get silently swallowed by swfUpload.
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:26 +08:00
Bharat Mediratta and
15f3d58b02
Add the real image url to the anchor elements for our full size links
...
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-17 13:51:21 +08:00
Bharat Mediratta and
8af66822e2
Move all the fullsize code into the theme to make it less confusing.
...
Partial fix for ticket #427 .
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:20 +08:00
Bharat Mediratta and
2a5ffaae7e
Create a sidebar for tag pages
...
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-15 17:31:24 +08:00
Bharat Mediratta and
0051c2c89b
Refactor the way that the rss module works so that we're not allowing
...
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-15 17:31:22 +08:00
Bharat Mediratta and
3b684655e2
Refactor feed code to use stdClass everywhere. Fix bugs in the
...
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-15 17:31:17 +08:00
Tim Almdal and
83d1b15c1e
Don't use stdClass to return the feed data. Just use an array.
...
Signed-off-by: <unostar@danalan.info >
2009-06-15 04:26:07 +08:00
Tim Almdal and
6007843c4a
Remove the sidebar flag from the feed definition returned by available_feeds and
...
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-15 04:26:03 +08:00
Tim Almdal and
fdbffc870d
Remove rss:item_feed, rss::tag_fead and rss_theme::head and move that
...
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-15 04:26:01 +08:00
Chad Kieffer and
b86e657194
Switch quick delete from JS confirm to jQuery UI dialog, closes ticket #355 .
...
Signed-off-by: <unostar@danalan.info >
2009-06-15 01:10:13 +08:00
Bharat Mediratta and
db321863a6
Move date/time format strings into a setting and bump the gallery
...
module to version 2. First test of our upgrade code!
Signed-off-by: <unostar@danalan.info >
2009-06-13 20:10:27 +08:00
Bharat Mediratta and
3d89951c77
Create gallery::date_time(), gallery::date() and gallery::time()
...
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-13 20:10:24 +08:00
Bharat Mediratta and
96b533f1b2
Don't count the root as an album in the stats block. It'll just confuse our users.
...
Fixes ticket #369
Signed-off-by: <unostar@danalan.info >
2009-06-13 20:10:23 +08:00
Tim Almdal and
5f3d33b58e
Continue refactoring the rss module and distribute the creation of album and
...
tag feeds to the gallery and tag modules respectively. This chould close
ticket #388
Signed-off-by: <unostar@danalan.info >
2009-06-13 04:22:28 +08:00
Tim Almdal and
fd3a81f1ee
Move the processing of rss feeds from the rss controller to callbacks in the
...
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-13 04:22:26 +08:00
Tim Almdal and
94dc6baa49
Change from an event driven model to a call driven model similiar to the task
...
api.
Signed-off-by: <unostar@danalan.info >
2009-06-13 04:22:25 +08:00
Tim Almdal and
0da812fdb0
Change the "request_feed_links" eventing handling so that individual modules
...
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-13 04:22:22 +08:00
Tim Almdal and
4bd82c1167
Changed rss_theme::sidebar_blocks to fire the event "request_feed_links" to
...
allow modules to contribute rss feed links to the rss sidebar block.
Ticket #388 .
Signed-off-by: <unostar@danalan.info >
2009-06-12 21:21:55 +08:00
Bharat Mediratta and
35e5a7d69b
Add /usr/local/bin to PATH before trying to detect binaries.
...
Signed-off-by: <unostar@danalan.info >
2009-06-12 21:21:00 +08:00
Bharat Mediratta and
24bd873c4f
Rename theme_details to theme_options. These changes got left out of
...
68fd196d66 leaving us in a temporarily
broken state.
Signed-off-by: <unostar@danalan.info >
2009-06-12 06:55:21 +08:00
unostar
c7770140ae
adding string to localizer
2009-06-10 14:12:40 -07:00
Bharat Mediratta
accce788d9
Fix a bug in set_version() where we were always forcing the value to 1. Oops!
2009-06-09 21:26:28 -07:00
Bharat Mediratta
f55686c7ef
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-09 20:33:31 -07:00
Bharat Mediratta
00b528afac
Cache the available module list in module::$available.
2009-06-09 20:32:37 -07:00
Bharat Mediratta
5e6c8894e2
Use a reference in available() to avoid crappy looking dereferencing.
2009-06-09 20:08:48 -07:00
Andy Staudacher
86a32d412f
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-09 19:49:58 -07:00
Andy Staudacher
7ccb65ea9e
Fix for fetching l10n plural messages. Need to cast from stdclass to array(), as I18n expects all messages to be either string or array.
2009-06-09 19:49:06 -07:00
Bharat Mediratta
e5d273e929
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-09 19:00:22 -07:00
Bharat Mediratta
d0b2544511
Check in /usr/local/bin for ffmpeg, and create the setting even if its
...
empty (to make it easier for folks to change it in Admin > Settings >
Advanced)
2009-06-09 18:59:53 -07:00
Tim Almdal
8189c1fc6b
Removed extra whitespace
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-09 21:45:57 +08:00
Tim Almdal
f0ea6d532c
Create a new method in MY_url.php "get_item_from_uri" which loads the item
...
based on the uri. Then use this helper method in logout.php to insure that
the guest user has access to the "continue" uri. If they don't redirect to
the root album and let it deal with access issues.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-09 21:45:43 +08:00
Bharat Mediratta
1ecdb5ef0c
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-08 21:32:03 -07:00
Bharat Mediratta
c7aafef852
Improve error handling support for corrupt images and report them
...
appropriately in g2_import.
2009-06-07 17:48:42 -07:00
Andy Staudacher
b9ee6f7d18
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-06 15:24:49 -07:00
Andy Staudacher
0e415dae9b
Preliminary BiDi support (needs *a lot* of tweaking)
2009-06-06 15:24:14 -07:00
Chad Kieffer
7cdcb5179f
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-06 00:35:39 -06:00
Chad Kieffer
c5425f42a4
Remove album view icon link, added album link to info module. This and breadcrumb should suffice.
2009-06-06 00:35:30 -06:00
Bharat Mediratta
3275401f69
change the version to beta 1
2009-06-05 17:44:36 -07:00
Bharat Mediratta
275c25eb56
Add the exception message to the trace string when there's a graphics
...
failure.
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-06 08:39:07 +08:00
unostar and Bharat Mediratta
710d13aece
Correct locale and local translation
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-06 01:26:41 +08:00
Bharat Mediratta
62a63676d4
Add Belarusian to the language list.
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-06 01:26:24 +08:00
Bharat Mediratta
7612c8d404
Localize the 'Advanced' menu item
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-06 01:26:22 +08:00
Bharat Mediratta
c7f49fd1ec
Skip over busted images when rebuilding. Change graphics::generate()
...
to return true/false on whether or not it could rebuild the image
properly, then track the broke images in the task and ignore them.
Fixes ticket #344 .
2009-06-04 23:20:54 -07:00
Bharat Mediratta
12ef4272ae
Work around a problem with the CGI sapi on urls that don't contain
...
index.php (ie, /gallery3 instead of /gallery3/index.php) that causes
is to mis-route.
2009-06-04 18:40:38 -07:00
Bharat Mediratta
e5a0104769
Make sure the item is loaded in parse_url() before we use it.
2009-06-04 18:19:49 -07:00
Bharat Mediratta
5158a6f433
Add MY_num containing num::convert_to_bytes() which supports PHP's
...
size shorthand, and convert the simple_uploader code to use it.
2009-06-04 17:53:40 -07:00