summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2009-11-29Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/helpers/theme.php modules/gallery/libraries/Admin_View.php modules/gallery/libraries/Theme_View.php
2009-11-28Give the theme a chance to handle theme function callbacks as well.Bharat Mediratta
2009-11-28Rework the theme loading code to allow themes to be treated as GalleryBharat Mediratta
modules, and have an admin subdirectory that is treated like a Kohana module (as distinct from a Gallery module). The main advantage of creating the separate admin subdirectory is that we will not load an admin theme and a site theme at the same time. We'll only load a few specialized bits of the site theme while the admin theme is active. Concrete examples. A site theme named "xxx": - will receive events at themes/xxx/helpers/xxx_event.php - will have working controllers at themes/xxx/controllers/xxx.php If theme xxx has an admin subdir, then in admin mode it: - will receive events at themes/xxx/admin/helpers/xxx_event.php - will have working controllers at themes/xxx/admin/controllers/xxx.php
2009-11-28Expose theme::$is_adminBharat Mediratta
2009-11-27Move the theme fallback checking into theme::load_themes() so thatBharat Mediratta
we're calling it once per request.
2009-11-26Convert some more Database::instance() calls to db::build() form.Bharat Mediratta
2009-11-26Kohana::config_xxx() is now Kohana_Config::instance()->xxxBharat Mediratta
2009-11-26Database::orwhere() is now Database_Builder::or_where()Bharat Mediratta
2009-11-26Kohana::$user_agent moved to the request helper and is protected, soBharat Mediratta
instead set the user agent into $_SERVER.
2009-11-26ORM::find_all() now uses null as the default value for offset.Bharat Mediratta
2009-11-26Update all portable where clauses to the new Kohana 2.4 format.Bharat Mediratta
2009-11-26Overload Database_Builder to add merge_where() which takes predefinedBharat Mediratta
where clauses and adds them to the existing query. Update all existing queries that take an additional where clause to use it.
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-26ORM::$rules now has a special meaning. Use $form_rules for ourBharat Mediratta
internal rules code.
2009-11-25Move the CSRF initialization into the constructor, I don't see why weBharat Mediratta
need it also in render().
2009-11-25ORM::orderby -> ORM::order_byBharat Mediratta
2009-11-25Make globals work if you access the the variables directly withBharat Mediratta
$v->foo instead of doing it in a rendered template.
2009-11-25The html helpers no longer forces .js and .css suffixes to urls it generates ↵Bharat Mediratta
(yay!)
2009-11-25Fix set_global() to be more elegant and preserve local trumpingBharat Mediratta
2009-11-25Switch from stdClass to arrays for global data.Bharat Mediratta
2009-11-25Call execute() after upate() and insert().Bharat Mediratta
2009-11-25Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
2009-11-25Kohana::show_404() -> throw new Kohana_404_Exception()Bharat Mediratta
2009-11-25Forgot to remove the rest references from config/route.phpTim Almdal
2009-11-25Convert one more instance of ORM::$loaded to ORM::loaded()Bharat Mediratta
2009-11-25Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/controllers/rest.php
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- 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-25Remove the REST_Controller and assorted baggage. Completes ticket #917Tim Almdal
2009-11-25remove the photo::get_add_form method as its not usedTim Almdal
2009-11-25Refactor the album, movie and photo handling to remove the REST_Controller. ↵Tim Almdal
Partial fix for ticket #917
2009-11-25Remove a debugging statementTim Almdal
2009-11-25Refactor the tags to remove the REST_Controller. Partial fix for ticket #917Tim Almdal
2009-11-25Refactor the comment module as part of ticket: #917 "Remove Rest Controller"Tim Almdal
* Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment.
2009-11-24K24 has separate log sinks, this configures the file based log sinkBharat Mediratta
2009-11-24K2.4 has its own parentheses supportBharat Mediratta
2009-11-24Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4Bharat Mediratta
2009-11-24Make get_add_form private and use it non-statically.Bharat Mediratta
2009-11-24Updated.Bharat Mediratta
2009-11-21Correct inconsistent captialization. Fixes #906Tim Almdal
2009-11-21Don't use realpath when calculating the relative paths of embedded ↵Tim Almdal
references in css files. This fixes ticket #910
2009-11-20Don't call theme::get_info() on themes that don't have a theme.info. Fixes ↵Bharat Mediratta
#896.
2009-11-20Fixes #898Bharat Mediratta
2009-11-20Paginator: don't try to set the position for "other" page types.Bharat Mediratta
2009-11-20Convert the Simple Uploader form over to Forge, and use the eventBharat Mediratta
model to let the Tags module modify it. This brings it inline with our other module-extensible form based interactions.
2009-11-20Minor reformatting.Bharat Mediratta
2009-11-20Use "#g-add-photos-canvas object" instead of "#g-uploadifyUploader" soBharat Mediratta
that we're not mixing naming styles.
2009-11-20Move tag ui to the bottom of the form since it's a lower priorityBharat Mediratta
Internationalize and simplify our error strings.
2009-11-19Add the ability to add tags for files that are uploaded using the simple loader.Tim Almdal
2009-11-19Add a note to skip version 20.Bharat Mediratta
2009-11-19Revert "Currently Admin_Theme_Options controller assumes that all the themes ↵Tim Almdal
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 1692ee130887a6ad1ba68aa34a96ad36161600f9.