Commit Graph

1259 Commits

Author SHA1 Message Date
Bharat Mediratta
ef7f1d07b2 Center the "all done" dialog. Use Jquery and externalize the CSS (I was being
too conservative before).  Fixes ticket #413.
2009-06-20 12:09:49 -07:00
Bharat Mediratta
acd54fefda Fix a bug in gallery_installer where on an initial install we were
only implementing schema version 1.  This caused install.sql to be
populated from version 1 which meant that after install you'd have to
run the upgrader.  No harm done, and the pattern is fixed for the
future.

Alphabetize the tables so it's easier to find stuff.
2009-06-20 01:24:21 -07:00
Bharat Mediratta
b72d0db7be More minor facelift for the admin/g2_import page. 2009-06-19 15:56:55 -07:00
Bharat Mediratta
feab9cfc34 Give the admin/g2_import page a facelift. 2009-06-19 13:47:38 -07:00
Bharat Mediratta
b3226d7cbb 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.
2009-06-19 13:25:42 -07:00
Bharat Mediratta
6029c2bf7a Catch exceptions from tag::add() that can be caused by character
encoding issues resulting from embedded keywords in encodings we can't
decipher.  This can lead to weird truncation issues which in turn can
lead to multiple tags getting truncated to the same value in MySQL
which leads to mysql complaining that we're adding a duplicate tag.
2009-06-19 12:03:35 -07:00
Bharat Mediratta
b999b35d24 Swap the order of two lines to make the debug output have the right data. 2009-06-19 10:30:59 -07:00
Bharat Mediratta
cdb4052b52 Add an id to the exif link anchor. 2009-06-19 09:58:36 -07:00
Andy Staudacher
b6290b45cf Fix format of source message in l10n client (adding a newline between plural forms) 2009-06-18 12:44:05 -07:00
Andy Staudacher
5ef6db85fb Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-18 12:36:06 -07:00
Andy Staudacher
926eab7168 Fix plural messages in l10n scanner - Bad typo lead to basically breaking all plural ("other") forms. 2009-06-18 12:35:07 -07:00
Bharat Mediratta
d54900032f Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-18 12:25:20 -07:00
Bharat Mediratta
cdb02c10a4 Make an attempt to catch all situations where loading an item from G2
returns an error, and log them appropriately.  This should fix a slew
of import failures from corrupt G2 installs.
2009-06-18 12:24:33 -07:00
Andy Staudacher
d7e6c71ede Fix l10n messages (malformed html) 2009-06-18 01:47:29 -07:00
Andy Staudacher
06f37b5a53 Fix/remove unnecessary escaping of double quotes in l10n scanner. 2009-06-18 01:42:59 -07:00
Bharat Mediratta
34dd08e150 Merge branch 'master' of git://github.com/unostar/gallery3 2009-06-17 21:52:00 -07:00
Tim Almdal
a6a9b256ae Correct the "inappropriate intimacy" smell that bharat's refined senses pick up 2009-06-17 13:34:18 -07:00
Tim Almdal
5b767b6443 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
2009-06-17 06:42:31 -07:00
Tim Almdal
fbefdd5556 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
2009-06-17 06:14:36 -07:00
unostar
753ce3e025 Add "custom_translations" instruction to captcha form builder to add possibility to localize and customize form. 2009-06-17 01:26:47 -07:00
Bharat Mediratta
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
2531f67990 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-16 23:51:39 -07:00
Bharat Mediratta
5eeb6296a1 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
2009-06-16 23:51:18 -07:00
Tim Almdal
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
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
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
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
04853f1996 Swap Jakob's placeholder in for mine.
Signed-off-by:  <unostar@danalan.info>
2009-06-17 13:51:27 +08:00
Bharat Mediratta
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
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
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
Andy Staudacher
b48c4300d4 Fix html bug in l10n message
Signed-off-by:  <unostar@danalan.info>
2009-06-17 13:51:15 +08:00
Tim Almdal
1dccc0286f Change the page.html file so that if the type of page is login, the sidebar contents are are not shown 2009-06-16 22:09:02 -07:00
Andy Staudacher
452402293e Beautify "Show All" link, and only show when it's not already showing all strings 2009-06-16 20:33:44 -07:00
Andy Staudacher
06ed45f0cb Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-16 20:26:49 -07:00
Andy Staudacher
be226b9baa 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)
2009-06-16 20:25:01 -07:00
Bharat Mediratta
baea5e3a1b Add support for uploading .jpeg files (in addition to .jpg)
Fix for ticket #428
2009-06-16 20:10:25 -07:00
Bharat Mediratta
b5582b1d63 Swap Jakob's placeholder in for mine. 2009-06-16 19:50:26 -07:00
Bharat Mediratta
b4ef00c8d4 Use a placeholder image if ffmpeg is missing instead of throwing an
exception which would get silently swallowed by swfUpload.
2009-06-16 19:47:52 -07:00
Bharat Mediratta
f6e8f34bef 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.
2009-06-16 17:57:24 -07:00
Bharat Mediratta
51b9873041 Move all the fullsize code into the theme to make it less confusing.
Partial fix for ticket #427.
2009-06-16 17:20:30 -07:00
Andy Staudacher
40b107dd64 Fix html bug in l10n message 2009-06-16 14:12:40 -07:00
Bharat Mediratta
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
ab38c92771 Refactor common xxx_menu() code into private _menu() helper. 2009-06-16 13:34:42 -07:00
Bharat Mediratta
a405e69dbb Refactor the comment_rss::feed() method to eliminate code duplication.
Signed-off-by:  <unostar@danalan.info>
2009-06-16 18:27:43 +08:00
Bharat Mediratta
0b05383c45 Don't try to require GalleryCommentHelper.class if the module is not
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-16 18:27:36 +08:00
Bharat Mediratta
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
ce2fde5d37 Refactor the comment_rss::feed() method to eliminate code duplication. 2009-06-15 21:35:14 -07:00
Bharat Mediratta
b8c68ce2f9 Don't try to require GalleryCommentHelper.class if the module is not
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-15 19:59:46 -07:00
Bharat Mediratta
79582ee5bf 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.
2009-06-15 18:15:41 -07:00