summaryrefslogtreecommitdiff
path: root/core/tests/Core_Installer_Test.php
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
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.
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-02-27Remove commented codeTim Almdal
Correct unbalanced brackets
2009-02-26Removed raw update sql and replaced it with Database::update(...)Tim Almdal
calls. (ticket #68)
2008-11-05Change the default theme to actually render what's in the Gallery.Bharat Mediratta
Currently only the album view works, albums have no thumbnails, and there's only 1 image in use. Improved Item_Model to have the following API methods file_path() -- returns the path to the source image or album dir thumbnail_path(), thumbnail_url() -- returns path/url to the thumbnail resize_path(), resize_url() -- returns path/url to the resize All tests updated.
2008-11-04Lots of new stuff!Bharat Mediratta
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.
2008-11-03More bootstrap code.Bharat Mediratta
* core_installer::install now creates the root album and the albums/thumbnails directories under VARPATH. * Add a test for core_installer