Commit Graph

4505 Commits

Author SHA1 Message Date
Bharat Mediratta
2e420522ec Preliminary work to cut over to Kohana 2.4
- Kohana::log() -> Kohana_Log::add()
- Kohana::config_XXX -> Kohana_Config::instance()->XXX
- Implement View::set_global in MY_View
- Updated Cache_Database_Driver to latest APIs
- ORM::$loaded -> ORM::loaded()
- Updated item::viewable() to use K2.4 parenthesization
2009-11-25 13:22:24 -08:00
Bharat Mediratta
e201536d82 K24 has separate log sinks, this configures the file based log sink 2009-11-24 19:25:14 -08:00
Bharat Mediratta
7dbb84bb54 Bootstrap has moved in K24 2009-11-24 19:24:51 -08:00
Bharat Mediratta
01e10d1708 K2.4 has its own parentheses support 2009-11-24 19:24:38 -08:00
Bharat Mediratta
3ed7a5af46 Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4 2009-11-24 19:24:02 -08:00
Bharat Mediratta
9b6663f87a Update to Kohana r4684 which is now Kohana 2.4 and has substantial
changes.
2009-11-24 19:20:36 -08:00
Bharat Mediratta
82ee5f9d33 Make get_add_form private and use it non-statically. 2009-11-24 16:37:59 -08:00
Bharat Mediratta
52b12725ea Updated. 2009-11-24 16:35:50 -08:00
Bharat Mediratta
38233c67a2 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-21 11:36:27 -08:00
Bharat Mediratta
d6695e83e2 Make email a required field. We're using the Kohana default error
messages when this fails, not the Gallery translation system so this
is not a great solution.  However, it's the same as the other
model-based rules we have currently so it's no worse.

Fixes ticket #897.
2009-11-21 11:17:38 -08:00
Bharat Mediratta
17d89a9df1 Truncate the text of the title/description for results on the search page. Partial fix for ticket #580. 2009-11-21 10:58:26 -08:00
Tim Almdal
5e57346040 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-21 09:36:58 -08:00
Tim Almdal
6bdb8c3d55 Correct inconsistent captialization. Fixes #906 2009-11-21 09:36:19 -08:00
Tim Almdal
ee9c921397 Don't use realpath when calculating the relative paths of embedded references in css files. This fixes ticket #910 2009-11-21 09:36:12 -08:00
Tim Almdal
75998948fd Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-21 09:28:47 -08:00
Tim Almdal
48e5af8d73 Don't use realpath when calculating the relative paths of embedded references in css files. This fixes ticket #910 2009-11-21 09:28:30 -08:00
Bharat Mediratta
4c5e2000f6 Don't call theme::get_info() on themes that don't have a theme.info. Fixes #896. 2009-11-20 21:23:11 -08:00
Bharat Mediratta
befb824420 Fixes #898 2009-11-20 21:16:59 -08:00
Bharat Mediratta
b341b6b45d The search results page is a "collection" page type. 2009-11-20 20:30:12 -08:00
Bharat Mediratta
9d40f6fc00 Paginator: don't try to set the position for "other" page types. 2009-11-20 20:29:49 -08:00
Bharat Mediratta
005cf8e828 Duh. Really make the site menu invisible this time around. 2009-11-20 20:25:19 -08:00
Bharat Mediratta
abad4aae33 Hide the site menu and make it visible after the page has loaded, to minimize menu flicker 2009-11-20 20:22:08 -08:00
Bharat Mediratta
5e9bbbe490 Convert the Simple Uploader form over to Forge, and use the event
model to let the Tags module modify it.  This brings it inline with
our other module-extensible form based interactions.
2009-11-20 19:41:45 -08:00
Bharat Mediratta
144c2fb61e Minor reformatting. 2009-11-20 13:04:54 -08:00
Bharat Mediratta
ca9e4d5080 Use "#g-add-photos-canvas object" instead of "#g-uploadifyUploader" so
that we're not mixing naming styles.
2009-11-20 12:44:41 -08:00
Bharat Mediratta
fab0930d1f Move tag ui to the bottom of the form since it's a lower priority
Internationalize and simplify our error strings.
2009-11-20 12:42:40 -08:00
Chad Kieffer
1a9a4a09de Merge branch 'master' of github.com:gallery/gallery3 2009-11-19 21:51:20 -07:00
Chad Kieffer
9d9cc5382c Move white border from the left to the right in our Superfish menu for RTL. 2009-11-19 21:50:47 -07:00
Tim Almdal
eb34b301a7 Add the ability to add tags for files that are uploaded using the simple loader. 2009-11-19 18:08:32 -08:00
Bharat Mediratta
23befebd72 Add a note to skip version 20. 2009-11-19 11:49:35 -08:00
Tim Almdal
f5b0ce1f47 Revert "Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme."
This reverts commit 1692ee1308.
2009-11-19 11:44:09 -08:00
Tim Almdal
57adefc5ba Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
This reverts commit 26114972c3.
2009-11-19 11:44:01 -08:00
Tim Almdal
6fd1e2af1f Revert "Update the installer to reflect the new location of the theme related options."
This reverts commit 678e22996d.
2009-11-19 11:43:53 -08:00
Tim Almdal
4db92d53b0 Revert "Make sure that calls to the theme::get_var() have sane defaults in the event that the theme does not supply them."
This reverts commit 51f2b54767.
2009-11-19 11:43:44 -08:00
Tim Almdal
e1cc8a37b2 Revert "Use call_user_func instead of call_user_func_array as we don't need to pass the parameters by reference."
This reverts commit 75cc4962a2.
2009-11-19 11:43:34 -08:00
Tim Almdal
75cc4962a2 Use call_user_func instead of call_user_func_array as we don't need to pass the parameters by reference. 2009-11-19 10:03:39 -08:00
Tim Almdal
51f2b54767 Make sure that calls to the theme::get_var() have sane defaults in the event that the theme does not supply them. 2009-11-19 08:48:23 -08:00
Tim Almdal
8ce1d18806 Merge branch 'master' into talmdal_dev 2009-11-19 07:47:04 -08:00
Chad Kieffer
a4d5269db5 Apply g-first to the sole breadcrumb when viewing the root album. 2009-11-18 23:02:15 -07:00
Chad Kieffer
658a007c6b Remove right padding on li.g-error for RTL. Fixes #904. 2009-11-18 22:56:14 -07:00
Chad Kieffer
7f58752ab4 Flip paginator arrow icons for RTL. This will help for now, but jQuery UI themes really need to be updated to support RTL http://dev.jqueryui.com/ticket/4702. 2009-11-18 19:41:13 -07:00
Chad Kieffer
e232c39fe5 Rename g-pager to g-paginator after the recent pagination update. 2009-11-18 18:51:18 -07:00
Tim Almdal
678e22996d Update the installer to reflect the new location of the theme related options. 2009-11-18 15:37:51 -08:00
Tim Almdal
26114972c3 Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme. 2009-11-18 15:36:13 -08:00
Tim Almdal
1692ee1308 Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme. 2009-11-18 14:37:49 -08:00
Tim Almdal
372f589f66 Merge branch 'master' into talmdal_dev 2009-11-18 12:44:16 -08:00
Bharat Mediratta
350f6b5876 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-18 11:26:34 -08:00
Bharat Mediratta
670312ff10 For album pagination, don't let the last_visible_position exceed the
total.  Fixes ticket #903.
2009-11-18 11:26:19 -08:00
Tim Almdal
5b579ffdcb Remove the image_block_installer class as it does nothing, except erroneous set the version number to 2. 2009-11-18 11:14:50 -08:00
Tim Almdal
fc41d09134 Revert "Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file."
This reverts commit 4fe5801c88.
2009-11-18 10:54:01 -08:00