| Age | Commit message (Collapse) | Author | 
 | 
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.
Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)
There's still considerable work left to be done here.
 | 
 | 
 | 
 | 
Fixes ticket #282
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
implementation agnostic.
 | 
 | 
the item model and always pass the orderby fields.  This insures that
all children or descendant calls will respect the album sort order.
 | 
 | 
Date, Update Date, Random Key, Title, Mime Type, Item Type & Number of views)
 | 
 | 
mirror the drupal pattern of using braces {}.
 | 
 | 
tag, search, comment and notification modules (Ticket #68)
 | 
 | 
Convert all item->type == "photo" to item->is_photo()
 | 
 | 
the target itself.
 | 
 | 
 | 
 | 
move an item into its own hierarchy, or into an album where you don't
have edit permission.
 | 
 | 
changed.
 | 
 | 
wasn't benefitting us, and it will get in the way when we want to add
implicit view protection to our queries.
 | 
 | 
o Add model_cache::get() which caches models avoiding duplicate lookups
o Stop using ORM relationships for Item_Model::owner so that we can use caching
o For Item_Model::xxx_edit fields, don't make them editable for guests
o Other minor stuff.
These optimizations reduce the number of queries for a 9-photos page from ~200
to ~45.  Still way too many!
 | 
 | 
Item_Model::move_to, unless it turns out that we really need to.
 | 
 | 
that it's consistent with ORM_MPTT::move_to()
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
preserve the left right pointers.
* changed _lock and _unlock to protected methods lock and lock respectively
* added a moveTo method on the Item_Model
* Corrected the hole closure  on delete.
* added moveTo on the ORM_MTPP class
* Changed the rearrange javascript to do moves with ajax
 | 
 | 
Inline ORM_MPTT::_grow() for now
Rewrite ORM_MPTT tests to be domain specific; they no longer use album/photo helpers.
 | 
 | 
Added a delete method to ORM_MPTT that contracts the tree when an item is deleted
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
* Media_RSS_Controller::$LIMIT is now self::$page_size
* We use ORM_MPTT descendant_counts()
* If the page is out of bounds, put it on a boundary
* Move pub_date into the controller to simplify the mrss file
* Put all the view assignment in one block for easier reading
* Removed stray ; from the end of lines in the mrss file
Clean up ORM_MPTT a bit:
* fix spelling: decendent -> descendant
* Remove unnecessary order_by() clauses
* Set the default for $type to null (not "all").
 | 
 | 
 | 
 | 
added descendants by type method to the item model to allow for the selection of children by type
 | 
 | 
 | 
 | 
properly in the theme.
* Move thumbnail and resize generation down into the model for
  consistency.
* Add a sample thumbnail for albums
* Fix a bug in the ORM to clear the cache when we reload an object.
* Add Kohana docs to the scaffold.
 | 
 | 
 | 
 | 
Implement a real breadcrumb.
 | 
 | 
 | 
 | 
Replace theme HTML with *almost* the latest stuff from the
mockups.  (it doesn't include r18467 yet).
Our theme format is now modelled after WordPress / Habari's style
where you have one entry point per type (eg: album.php) which can
load up whatever parts it needs (eg: $theme->display("header"))
Created album and photo helpers which have create() functions
that form the base of our new API, along with tests for them.
Created our own version of the ORM_MPTT since the existing
versions were too buggy and unsupported to depend upon.  Only has
a minimal implementation so far, and the tests are not yet
committed.
Added path(), thumbnail_path() and resize_path() to Item_Model
Extended the scaffolding to allow you to add lots of
photos/albums into your hierarchy.
Deleted modules/mptt -- we're not going to use this anymore.
 |