Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-05 | Guard the module loading code against database errors (in case the database ↵ | Bharat Mediratta | |
isn't configured yet) | |||
2008-11-05 | replaced Feature URLs with new one | Chris Kelly | |
2008-11-05 | remove tabs | Bharat Mediratta | |
2008-11-05 | Add info section with MPTT graphs | Bharat Mediratta | |
2008-11-05 | * Add thumbnail and resize dimensions to the item table and use them | Bharat Mediratta | |
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. | |||
2008-11-05 | Style/doc cleanups. | Bharat Mediratta | |
2008-11-05 | ORM_MPTT::parents() should not include the node itself. | Bharat Mediratta | |
2008-11-05 | Add the photo controller, and tie it to the photo page in our theme. | Bharat Mediratta | |
Implement a real breadcrumb. | |||
2008-11-05 | Change 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-05 | Report the number of photos/albums | Bharat Mediratta | |
2008-11-05 | Move Google Maps block off into its own gmaps module. | Bharat Mediratta | |
2008-11-05 | Item Info block is now off into the info module. Yay! | Bharat Mediratta | |
2008-11-05 | The start of the user module. At this point, it shows up on the scaffolding ↵ | Tim Almdal | |
screen and you can install and uninstall it. Which creates the tables, defines 2 groups (adminstrator, registered) and one user (admin). | |||
2008-11-05 | Tags are now off in their own module, hooray! | Bharat Mediratta | |
2008-11-05 | The carousel block is now off into its own module. The | Bharat Mediratta | |
sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray! | |||
2008-11-05 | Don't overwrite the version number of installed modules when searching for ↵ | Tim Almdal | |
uninstalled modules. | |||
2008-11-05 | Use jQuery magic to make the scaffold look shiny. | Bharat Mediratta | |
2008-11-05 | Updated for new MPTT API | Bharat Mediratta | |
2008-11-05 | Order the children() | Bharat Mediratta | |
2008-11-05 | Moved MPTT related tests to ORM_MPTT_Test | Bharat Mediratta | |
2008-11-05 | Declare install/uninstall stat.c | Bharat Mediratta | |
2008-11-05 | Further simplify the code. | Bharat Mediratta | |
2008-11-05 | _readModules -> _readModules | Bharat Mediratta | |
Simplify the installer-detection code. | |||
2008-11-05 | Clean up camel humped names and move private function to bottom of file | Tim Almdal | |
2008-11-04 | New tests for the ORM_MPTT class. | Bharat Mediratta | |
2008-11-04 | Have the scaffolding code see what what modules are available and list ↵ | Tim Almdal | |
whether they need to be installed or uninstalled. | |||
2008-11-04 | Lots 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-04 | Add a test to detect tabs in our code, and convert all tabs to spaces | Bharat Mediratta | |
so that the test passes. | |||
2008-11-04 | Restructure the theme code to be more like WordPress / Habari. Now, | Bharat Mediratta | |
the controller initiates a request to a top level page (eg: album.html.php) which is then free to include whatever other page chunks it wants with calls like <?= $theme->display('header.html') ?> Variables like $item and $children are in the global space for all views. theme.php helper is now Theme.php library which lets us store the name of the theme inside the variable itself. This means that the theme does not have to know its own name because you can use $theme->url() for all urls to stuff inside the theme itself, which makes it possible to cline a theme without changing a single line. Still using the mock album UI. | |||
2008-11-03 | Oops, injecting the function name caused an extra call in the call | Bharat Mediratta | |
stack. The test passed, but the actual code failed. Fixed now. | |||
2008-11-03 | Create an initial attempt at the album controller, set it up with a default ↵ | Bharat Mediratta | |
route and add a link to it from the welcome page. | |||
2008-11-03 | Theme helper. Right now it has one api method, theme::url which | Bharat Mediratta | |
returns a url local to the theme that you're in. For example, if you're in themes/foo/views/page_header.html.php and you call theme::url("images/foo.png") then it'll create a url to: themes/foo/images/foo.png | |||
2008-11-03 | whitespace fix | Bharat Mediratta | |
2008-11-03 | More 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 | |||
2008-11-03 | Rename columns lft/rgt to left/right. | Bharat Mediratta | |
2008-11-03 | Add some padding between paragraphs. | Bharat Mediratta | |
2008-11-03 | Change styles a bit to make it a little more consistent. | Bharat Mediratta | |
2008-11-03 | Put info about installed modules directly into the scaffolding page, | Bharat Mediratta | |
and create methods to install/uninstall modules. | |||
2008-11-03 | Change structure of item table to match MPTT class (which is a little ↵ | Bharat Mediratta | |
different from ORM_MPTT which we used in gx | |||
2008-11-02 | Create some basic infrastructure: | Bharat Mediratta | |
* item model (contains basic item info, similar to the gx version) * module model (has info about each module and which version of it is installed) * added a very basic unit test to verify that we can create an instance of item * Updated our test controller to require a unit_test db config and call core::install if it hasn't been done already. New pattern: * core/helpers/core_installer.php creates core_installer helper. When we install a new module you call xxx_installer::install(), and when you want it to go away, you do xxx_installer::uninstall() Create | |||
2008-11-02 | Ignore view files in no_trailing_closing_php_tag_test since they will ↵ | Bharat Mediratta | |
occasionally end in tags like <?= this ?> | |||
2008-11-02 | Change this to be inline instead of an iframe, and fix it up so that | Bharat Mediratta | |
it walks you through creating the database also. | |||
2008-11-02 | Read local database config file | Bharat Mediratta | |
2008-11-02 | Improve welcome scaffolding to walk you through getting the var | Bharat Mediratta | |
directory set up correctly and a database config file in place. | |||
2008-11-02 | Add mptt and forge modules to the module load list | Bharat Mediratta | |
disable logging if the log dir is not writable. | |||
2008-11-01 | Fix all our preambles to make the preamble test pass. | Bharat Mediratta | |
2008-11-01 | Add a test to verify that we have the right preamble on files. | Bharat Mediratta | |
2008-11-01 | Clean up tests a bit. | Bharat Mediratta | |
2008-11-01 | Add a new test to verify that view files end in .html.php | Bharat Mediratta | |
2008-11-01 | Add first test; this verifies that we leave the ?> off at the end of PHP files. | Bharat Mediratta | |