Commit Graph
2758 Commits
Author SHA1 Message Date
Bharat Mediratta d5ee5741f2 Don't allow renaming of the root album. 2009-06-23 14:08:07 -07:00
Bharat Mediratta 107431f246 Revert "Remove unsued <span> element"
This reverts commit 65a7967a04.

Turns out, the span really is in use.
2009-06-23 13:51:41 -07:00
Bharat Mediratta 3b0baa8271 Replay change from Romain DE LISEZ to change the state column to be a varchar 2009-06-23 13:45:16 -07:00
Bharat Mediratta 29de41db25 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-23 13:40:37 -07:00
Bharat Mediratta e49c4a2459 Upgrade to version 2 and change the state column to a varchar for
Postgres compatibility.
2009-06-23 13:40:23 -07:00
Tim Almdal 65a7967a04 Remove unsued <span> element
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-23 13:40:23 -07:00
Bharat Mediratta da45f12a08 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-23 12:05:11 -07:00
Bharat Mediratta bfca0c7903 Refactor the install/upgrade code to be more flexible.
Add xxx_installer::upgrade($version) method so that upgrade stanzas
are separate from install stanzas.  In the old code, to do an upgrade
meant that you had to re-evolve everything from the initial install
because we'd step through each version's changes.  But what we really
want is for the initial install to start off in the perfect initial
state, and the upgrades to do the work behind the scenes.  So now the
install() function gets things set up properly the first time, and the
upgrade() function does any work to catch you up to the latest code.
See gallery_installer.php for a good example.
2009-06-23 12:00:49 -07:00
Bharat Mediratta 342d5e1186 Order log entries by id as well so that multiple events in the same
second are still shown in descending order.
2009-06-23 11:53:38 -07:00
Tim Almdal e13cf758b6 Remove unsued <span> element
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-23 12:20:01 +08:00
Bharat Mediratta ec61cd5031 Fix css indentation 2009-06-22 14:20:28 -07:00
Bharat Mediratta d8fe96d70b Update version comparison to match latest gallery module version 2009-06-22 13:48:19 -07:00
Bharat Mediratta 18a2ba8b87 Strip carriage returns 2009-06-22 13:42:36 -07:00
Bharat Mediratta fa7adb76b5 Strip carriage returns 2009-06-22 13:37:08 -07:00
Bharat Mediratta 9bdeb726ac Fix indentation 2009-06-22 13:25:55 -07:00
Bharat Mediratta a5eb5e3e80 Updated 2009-06-22 13:25:46 -07:00
Tim Almdal e3457f8dba Remove debugging output that was overlooked
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-22 21:27:47 +08:00
Tim Almdal fa4bb5b7ac Change the quick pan from static to dynamic. This allows modules to add buttons to the
quick pane.  The quick pane is now divided into 4 sections: left, center, right and
additional.  Additional items appear in the drop down box.  Buttons are not sorted
within the groupings.

In addition, the quick pane will overflow onto the "additional" dropdown if there is not
enough room to display all the buttons.

The use case is the digibug printing module needed to add a button to the quick pane, and
I don't like putting code into core that says if module is active... That's another one
of those code smells :-)

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-22 21:08:35 +08:00
Bharat Mediratta 49975f10b9 Add width/height to the logo <img> 2009-06-21 15:15:07 -07:00
Bharat Mediratta 06f066164f Add Session::abort_save() to Kohana.
Filed upstream as: http://dev.kohanaphp.com/issues/1801
2009-06-21 15:09:32 -07:00
Bharat Mediratta 1fa05d2f39 Updated to Exifer r4107 2009-06-20 21:41:09 -07:00
Bharat Mediratta 6c6259c6c9 Update jquery-ui to 1.7.2 2009-06-20 21:00:17 -07:00
Bharat Mediratta 4378dc460e Merge branch 'master' of git://github.com/unostar/gallery3 2009-06-20 20:43:21 -07:00
Bharat Mediratta f91c92c883 Update to 1.4.2 2009-06-20 20:41:17 -07:00
Bharat Mediratta 595f48440a Update to 1.2.7 2009-06-20 20:41:00 -07:00
Bharat Mediratta 433995941d Reapply the change from aaac244124 where
we comment out the code that prevents the file uploader code from
aborting when there are input elements named "submit".
2009-06-20 17:48:44 -07:00
Bharat Mediratta aef6c1e750 Updated jquery.form to a9c8862544aa3dde81c0aa1554edce148b31742d (2.28) 2009-06-20 17:47:13 -07:00
Bharat Mediratta 8383ea9827 Keywords in G2 are free form. So we don't know what our user used as a separator. Try to
be smart about it.  If we see a comma or a semicolon, expect the keywords to be separated
by that delimeter.  Otherwise, use space as the delimiter.

Fixes ticket #446
2009-06-20 16:55:09 -07:00
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 2103c02326 More minor facelift for the admin/g2_import page.
Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:41:09 +08:00
Bharat Mediratta caa5c39ae2 Give the admin/g2_import page a facelift.
Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:41:07 +08:00
Bharat Mediratta 4e676c8d0b Move 'Permissions' above 'STUFF THAT NEEDS A HOME' since I think that
the stuff that needs a home is a catch all and should be at the
bottom.

Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:41:06 +08:00
Bharat Mediratta 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
Bharat Mediratta acadb3623b 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.

Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:41:01 +08:00
Bharat Mediratta 4e1e429fbf Swap the order of two lines to make the debug output have the right data.
Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:41:00 +08:00
Bharat Mediratta 73a34bdff3 Fix a javascript error that was breaking IE, and localize
ADD_A_COMMENT otherwise ui.init.js bombs.

Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:40:58 +08:00
Bharat Mediratta 99c780fd76 Add an id to the exif link anchor.
Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:40:58 +08:00
Andy Staudacher 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 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
Bharat Mediratta 39b12cb432 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.

Signed-off-by:  <unostar@danalan.info>
2009-06-20 09:40:53 +08: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 c2faf5f8c8 Move 'Permissions' above 'STUFF THAT NEEDS A HOME' since I think that
the stuff that needs a home is a catch all and should be at the
bottom.
2009-06-19 13:35:53 -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 d54afb71d4 Fix a javascript error that was breaking IE, and localize
ADD_A_COMMENT otherwise ui.init.js bombs.
2009-06-19 10:14:27 -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