Commit Graph
5668 Commits
Author SHA1 Message Date
Bharat Mediratta 2067314186 untabify 2009-03-25 01:34:04 +00:00
Bharat Mediratta d432cba2cb change version from "3.0 Alpha 3" to "3.0 pre-beta svn" 2009-03-24 21:09:37 +00:00
Tim Almdal 3523bf5d90 Change the item model so it will actually delete all the file system
objects when an item is deleted.
2009-03-24 19:04:43 +00:00
Tim Almdal 414e58a427 Fix the problem I created by trying to run the task again after it was completed. 2009-03-24 18:03:32 +00:00
Tim Almdal 00ffb24eb0 Add a pause button to the server add dialog and if it is clicked then
the upload is paused.  If the dialog is closed and the task is not
complete then a warning message is displayed on the album.
2009-03-24 17:41:20 +00:00
Tim Almdal 520a4b41b3 Add a "form_closing" custom event to the dialog processing. This
allows the form in the dialog todo custom processing when the form
closes.

For example, the server_add dialog (next commit) uses this callback to
determine if the upload task was cancelled and display a warning
message when the page reloads.

Usage:
$("#gServerAdd form").bind("form_closing", function(target){...});
2009-03-24 17:30:06 +00:00
Tim Almdal fd58fe0ae0 Fix for ticket #168: Set a default value for extra_attrs on the Item_Model::thumb_tag() 2009-03-23 14:51:09 +00:00
Andy Staudacher ed7175092c Refactor all translation strings that have ambiguous placeholders.
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'.

Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with 
preserving CSS classes too...
2009-03-21 07:44:46 +00:00
Bharat Mediratta e1c53921d3 Don't divide by zero in thumb_tag if there's no thumbnail 2009-03-20 20:33:20 +00:00
Bharat Mediratta b942930c70 Add title string to this page. Doesn't show yet because its in a gPanel 2009-03-20 20:31:50 +00:00
Jakob Hilden 9a04156e36 background image for the "select photos ..." button in the uploader 2009-03-20 18:25:38 +00:00
Tim Almdal 537bd94453 This change checks that the active theme is available and if its not,
reverts to the default theme.
2009-03-20 18:19:27 +00:00
Jakob Hilden 6fc1952134 minor UI and CSS improvements
(the styling of the flash button is a not themable solution and I put the CSS in the file for now)
2009-03-20 17:22:12 +00:00
Tim Almdal 863e353911 rollback of r20469... see trac #161 2009-03-20 17:20:17 +00:00
Tim Almdal 48c022e8cb Rather than moving the themeroller and all of its associated files
into each theme.  I chose to create methods Theme_View::file($path)
and Admin_View::file($path).  These methods check for a theme override
file in the theme and return a link to it if it exists.  So to
override the themeroller files. just create a lib/themeroller in the
theme and the files will be picked up.
2009-03-20 14:59:55 +00:00
Bharat Mediratta acfb81d940 Oops, we need UNIX_TIMESTAMP() instead of NOW() 2009-03-20 08:25:33 +00:00
Bharat Mediratta 6df1dffed1 Do some data normalization so that the install files will have stable
ordering and known values.  This way subsequent packaging runs won't
have any differences unless there's a real data change.
2009-03-20 08:22:57 +00:00
Bharat Mediratta 06baa24dd6 Set our version to 3.0 Alpha 3 and add 'logs' as a dir we create at install time 2009-03-20 08:21:43 +00:00
Chad Kieffer 0695be1ccf Restore $extra_attrs in img tags. Roll back to using .gThumbnail in quick pane. 2009-03-20 04:39:27 +00:00
Chad Kieffer 3dbf9e1c82 Remove YUI grids hd and ft ids, we don't need and they're cluttering our HTML. 2009-03-19 16:01:41 +00:00
Bharat Mediratta 1004c58490 Update kohana to r4095 2009-03-19 09:10:58 +00:00
Bharat Mediratta b039f43851 Normalize whitespace inconsistencies with upstream code that probably snuck in during various edits. These files are now the same as the upstream code. 2009-03-19 08:38:35 +00:00
Bharat Mediratta 61d8a143ea Rejigger the way we do reinstalls while Kohana is running.
core_installer::install() now takes an $initial_install param that
allows us to enforce that we're doing a clean install.  Use this in
both the scaffolding and the unit test code.

Greatly simplify the scaffolding uninstall/reinstall code.
2009-03-19 02:35:51 +00:00
Bharat Mediratta 0b721258f4 Fix syntax errors. 2009-03-19 01:47:42 +00:00
Bharat Mediratta 03877250f2 Updated kohana to r4091 2009-03-19 01:41:57 +00:00
Tim Almdal ccb02b001f Fix for ticket #155. Delete the item record before unlinking the
files.
2009-03-18 22:42:31 +00:00
Tim Almdal 6b5d395d59 Fix for ticket #153. The sort column was not not initialized for
movies or photos.  Turns out that when you go to delete, ORM tries to
check for children and apply the sort order.
2009-03-18 19:39:34 +00:00
Tim Almdal 4da37ecb23 Fix for ticket #152. Somewhere along the line we we stopped using
gThumbnail as a class.  Changed the selector to select the image from
".gThumbnail" to ".Quick img"
2009-03-18 18:55:48 +00:00
Tim Almdal b1ecf3ca4d This is the real fix to ticket #154 2009-03-18 17:02:21 +00:00
Tim Almdal 30cb537c31 Fix failed unit test: private methods are required to begin with an underscore(_) 2009-03-18 16:45:18 +00:00
Tim Almdal d2006069bb Remove trailing ?> 2009-03-18 16:36:57 +00:00
Tim Almdal e07c2dfcd5 Fix for ticket #154: Remove the raw count and use the ORM wrapper. 2009-03-18 16:33:16 +00:00
Chad Kieffer 591403d794 Added rotate cc and ccw icons to themeroller theme and css to default theme, applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this. 2009-03-18 06:15:37 +00:00
Chad Kieffer a20241f9ea Stop header height from collapsing when there's no breadcrumb present, as is the case with tag albums. Thanks to gadulia for reporting: http://gallery.menalto.com/gallery_3.0_alpha_1_released?page=1#comment-302916 2009-03-18 05:16:58 +00:00
Tim Almdal 9d65379160 Remove semi-colons from single sql statements and correct anoter
instance of {items` which won't get prefixed properly
2009-03-18 03:36:18 +00:00
Tim Almdal 938bca7601 Remove back ticks from sql 2009-03-18 03:35:08 +00:00
Tim Almdal 3a5de959b9 Fix for ticket #143 2009-03-18 02:49:04 +00:00
Andy Staudacher 4971db37d4 Fix for ticket 142: Choose plural form "other" for count == 0 (unless the locale has a specific plural form for zero) 2009-03-18 02:40:16 +00:00
Bharat Mediratta f8d49e8a09 Make sure that the SPL library is installed 2009-03-18 02:25:48 +00:00
Bharat Mediratta c1d7dc5f19 Resolve deviation from the kohana code left aronud by r20297 and
r20301 (which was an unclean rollback of r20297) by just rolling them
both back:

$ svn merge -c-20301 kohana/helpers/form.php
$ svn merge -c-20297 kohana/helpers/form.php
2009-03-18 02:12:07 +00:00
Tim Almdal 6e84c132a2 Fix for ticket #142. Valiant: u might want to check the implications
of this.
2009-03-18 01:58:59 +00:00
Tim Almdal 8082060434 Forgot to remove a back tick 2009-03-18 01:24:54 +00:00
Tim Almdal 8e1817d4e4 Couple of sql statements that had incorrect prefix handling or no
prefix handling.
2009-03-18 01:20:30 +00:00
Andy Staudacher 222f6e2e23 Functional l10n_client / server interaction:
- Get / verify API Key from l10n server
 - Submit translations
 - Fetch translations / updates

Reference: Tasks: 75, 76, 55

TODO: Move out of core (and a series of other tasks).
2009-03-18 00:53:44 +00:00
Tim Almdal 8c1f600611 Corrections based on feedback 2009-03-18 00:01:39 +00:00
Tim Almdal c92ef7aced Fix for ticket #101 2009-03-17 22:38:52 +00:00
Bharat Mediratta 7cf0313e7b Remove the in-place tag editing code from the default theme. It
should be implemented in the tags module for now, and then possibly
generalized out to lib later on.
2009-03-17 20:59:24 +00:00
Bharat Mediratta c81ee12411 Don't allow empty tag names 2009-03-17 20:57:51 +00:00
Bharat Mediratta 208fc9db68 Update Kohana to r4081.
This resolves ticket http://dev.kohanaphp.com/ticket/1156
1156: "Table prefix gets append to column name"

All tests pass.
2009-03-17 18:56:01 +00:00
Bharat Mediratta 3f87c16223 Fix missing preambles 2009-03-17 18:33:51 +00:00