Bharat Mediratta and
fb888c7598
Improve the task dialog
...
1) Put a "starting up..." message before there's any feedback from the server
2) show the title of the task in the dialog.
Signed-off-by: <unostar@danalan.info >
2009-06-20 09:41:04 +08:00
Andy Staudacher and
2d54edc50e
Fix format of source message in l10n client (adding a newline between plural forms)
...
Signed-off-by: <unostar@danalan.info >
2009-06-20 09:40:57 +08:00
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
a179d6bdf8
Correct the "inappropriate intimacy" smell that bharat's refined senses pick up
...
Signed-off-by: <unostar@danalan.info >
2009-06-18 16:29:43 +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
Tim Almdal and
e2863cf1c5
Fix for ticket #366
...
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-18 16:29:39 +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
Tim Almdal and
f83a080bf1
Change the page.html file so that if the type of page is login, the sidebar contents are are not shown
...
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:35 +08:00
Andy Staudacher and
cbeee943b1
Beautify "Show All" link, and only show when it's not already showing all strings
...
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:32 +08:00
Andy Staudacher and
022d12cb86
Add option to list *all* l10n messages (that have been indexed) in l10n UI
...
TODO: The "Show All" link is almost invisible (link color ~= background)
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:31 +08:00
Bharat Mediratta and
236d5ff76d
Add support for uploading .jpeg files (in addition to .jpg)
...
Fix for ticket #428
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:28 +08:00
Bharat Mediratta and
04853f1996
Swap Jakob's placeholder in for mine.
...
Signed-off-by: <unostar@danalan.info >
2009-06-17 13:51:27 +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
821918cb65
Refactor common xxx_menu() code into private _menu() helper.
...
Signed-off-by: <unostar@danalan.info >
2009-06-17 04:56:52 +08:00
Bharat Mediratta and
4797f5b0cf
Fix up the titles in the default theme. They've been broken for a
...
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-16 18:27:34 +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
Bharat Mediratta and
fda706f55c
Get rid of the word "items" in the delete confirmation dialog.
...
Signed-off-by: <unostar@danalan.info >
2009-06-15 04:25:41 +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
2afa437aa9
Add a closing </b> to the warning.
...
Signed-off-by: <unostar@danalan.info >
2009-06-13 20:10:26 +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
unostar
8645473df0
Corrected my mistake.
2009-06-13 05:06:37 -07: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
unostar
9e348c51c1
Adding string to localizer
2009-06-11 17:38:54 -07:00
unostar
62a19227b2
Add string to localizer
2009-06-11 17:18:51 -07: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
Bharat Mediratta and
b0ae9c02d9
Rename theme_details to theme_options everywhere.
...
Fixes ticket #317
Signed-off-by: <unostar@danalan.info >
2009-06-11 15:51:11 +08:00
Bharat Mediratta and
5f2dca7a51
Provide a way for non-admins to authenticate and use the upgrader,
...
without using our regular code paths.
Signed-off-by: <unostar@danalan.info >
2009-06-11 15:51:06 +08:00
Bharat Mediratta and
8d4567f4cc
Fix log links. html::anchor() implicitly calls url::site(), calling
...
it a second time mangles the urls.
Fixes ticket #360 .
Signed-off-by: <unostar@danalan.info >
2009-06-11 15:51:03 +08:00
Bharat Mediratta and
323b1e6077
Improve our warning message to also mention that you need to have mod_rewrite installed.
...
Signed-off-by: <unostar@danalan.info >
2009-06-11 15:51:01 +08:00
unostar
c7770140ae
adding string to localizer
2009-06-10 14:12:40 -07:00
Bharat Mediratta
8c0d48b001
Add CLI sapi support
2009-06-10 01:23:44 -07:00
Bharat Mediratta
73de6eedd9
Rename package -> packager (it's a noun which has verbs on it).
...
Force a HTTP_HOST so that url::base() works.
2009-06-10 01:23:18 -07:00
Bharat Mediratta
f20bf46868
Consider the CLI sapi the equivalent of an admin
2009-06-10 01:21:57 -07:00
Bharat Mediratta
fc64a55f2e
Golden file update
2009-06-10 00:14:55 -07:00
Bharat Mediratta
f41a232730
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-09 21:28:08 -07:00