summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-12-01Fix a typo that was breaking the home page (doh!)Bharat Mediratta
$this->_show() -> $this->show()
2009-11-30Clean up item routing a bit.Bharat Mediratta
1) The new default route is "albums", and Albums_Controller::index() does the right thing 2) Items_Controller redirects to the appropriate specific controller 3) All item controllers now have show() instead of _show(), so that the routing code in url::parse_url() can get to it. But that code is protected against receiving bogus requests.
2009-11-30Don't allow the extra "/?" sequence (ie: "/index.php/?kohana_uri=...") in ↵Bharat Mediratta
the generated .htaccess files.
2009-11-29Don't use PathInfo based urls to reroute access protection. FixesBharat Mediratta
ticket #922.
2009-11-29Publish theme_edit_form and theme_edit_form_completed events so that themes ↵Bharat Mediratta
can piggyback on the regular Admin > Appearance > Theme Options page.
2009-11-29Update a few more occurrences of ORM/Database -> Database_BuilderBharat Mediratta
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-26utf8::clean() is now Input::clean()Bharat 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-26Fix the arguments to Item_Model::descendants_count()Bharat Mediratta
2009-11-26Convert Database::instance() -> db::build()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-26Add kohana23_compat module to bring along functionality that gotBharat Mediratta
deleted, but we still want. Start off with the Pagination library.
2009-11-26Convert another Database::instance() query over to using db::build()Bharat Mediratta
2009-11-26Modify the expiration code to work with db::build()Bharat Mediratta
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-26Update ORM::where() calls to take 3 args.Bharat Mediratta
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-25Update hidden field format to match Kohana 2.4's form::open() API.Bharat Mediratta
2009-11-25ORM::orderby -> ORM::order_byBharat Mediratta
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-25form::close() went away in Kohana 2.4Bharat Mediratta
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-25Merge branch 'master' into talmdal_devTim Almdal