Commit Graph
955 Commits
Author SHA1 Message Date
Bharat Mediratta 892e46368b Set the queue limit to 1000. 2009-04-03 08:17:58 +00:00
Bharat Mediratta 6883762238 Completely task-ify the localization scanning code and restore the
incoming_translation key cache.  The only part of this that is not
broken down is the l10n_client::fetch_updates() part.
2009-04-02 23:56:00 +00:00
Tim Almdal b05b89798a Continuation of r20518. Remove all the cases were the csrf values in
views were being manually set.  Also removed it from the Admin_View.
2009-04-02 21:41:10 +00:00
Tim Almdal 160b54760f Fix the issue identified in
http://gallery.menalto.com/gallery_3.0_alpha_3_released?page=1#comment-304581
ticket #195
2009-04-02 13:01:16 +00:00
Bharat Mediratta 96aa486060 Add missing 2nd argument for Theme_View() 2009-03-31 20:34:12 +00:00
Chad Kieffer a57d0d93a8 Add quick edit pane to resize images, ticket #189 2009-03-31 05:14:40 +00:00
Tim Almdal 066854424a Add a method to create a micro_thumb that is centered vertically in
its container (initially used for organize album view)
2009-03-27 17:36:14 +00:00
Bharat Mediratta c96544ff34 Add missing csrf value. 2009-03-27 15:39:22 +00:00
Bharat Mediratta 921f3a2eee Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
2009-03-27 03:43:21 +00:00
Bharat Mediratta 9f8393c9d5 Rename $block_id to $id to fix ticket #192 2009-03-26 19:51:15 +00:00
Tim Almdal 9d35437167 Update comments to reflect that the results of item::children or
item::descendants uses the specified sort order
2009-03-26 17:42:17 +00:00
Bharat Mediratta a142aee609 Convert language updates over to task form. It's still very rough,
the task only has one step from zero to 100.
2009-03-26 07:10:47 +00:00
Bharat Mediratta 9f784818da Set csrf into the global theme for convenience. 2009-03-26 06:56:29 +00:00
Bharat Mediratta 15eb1a9c8d Replace iterators with stack based scanner, which we can serialize into the task context. 2009-03-26 06:32:48 +00:00
Bharat Mediratta 09243aa72e Normalize code style. 2009-03-26 04:44:12 +00:00
Bharat Mediratta 78943402b2 Convert the L10n scanner from a library to a helper.
In order to make the class static, I had to remove the index cache.
I'll restore that and cache the index keys in the task context in a
subsequent change.  For now, I've put in a @todo to add the caching
back in.
2009-03-26 04:36:00 +00:00
Tim Almdal 96df4419f4 Revert r20492 2009-03-26 03:17:11 +00:00
Bharat Mediratta a28deb8674 Use pathinfo() instead of substr/strchr/etc to get the file extension. 2009-03-26 03:09:23 +00:00
Bharat Mediratta 11bfacba08 Normalize exception format. 2009-03-26 03:02:18 +00:00
Bharat Mediratta b438af3027 Optimize the way we lookup incoming translations.
Undo last commit (accidentally committed benchmarking code)
2009-03-26 03:01:25 +00:00
Bharat Mediratta d311aa7107 Normalize exception format. 2009-03-26 02:54:35 +00:00
Bharat Mediratta 2152baa65c Normalize exception string format. 2009-03-26 02:53:42 +00:00
Bharat Mediratta e3aab08f8d Fix typo, whitespace. 2009-03-26 02:50:50 +00:00
Tim Almdal 944276fdfe Fix for ticket #184. Set the default album sort order to "Title" 2009-03-25 17:21:11 +00:00
Tim Almdal 961d5e11cf Fix unit tests where the albums, resizes and thumbs directory were
being deleted.
Fix for ticket #182
2009-03-25 15:22:23 +00:00
Bharat Mediratta 0a4bce3f67 Remove debug line. 2009-03-25 02:13:01 +00:00
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 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
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
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
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