summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2008-11-04Add a test to detect tabs in our code, and convert all tabs to spacesBharat Mediratta
so that the test passes.
2008-11-04Restructure 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-03Oops, injecting the function name caused an extra call in the callBharat Mediratta
stack. The test passed, but the actual code failed. Fixed now.
2008-11-03Create 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-03Theme helper. Right now it has one api method, theme::url whichBharat 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-03whitespace fixBharat Mediratta
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
2008-11-03Rename columns lft/rgt to left/right.Bharat Mediratta
2008-11-03Add some padding between paragraphs.Bharat Mediratta
2008-11-03Change styles a bit to make it a little more consistent.Bharat Mediratta
2008-11-03Put info about installed modules directly into the scaffolding page,Bharat Mediratta
and create methods to install/uninstall modules.
2008-11-03Change 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-02Create 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-02Ignore view files in no_trailing_closing_php_tag_test since they will ↵Bharat Mediratta
occasionally end in tags like <?= this ?>
2008-11-02Change this to be inline instead of an iframe, and fix it up so thatBharat Mediratta
it walks you through creating the database also.
2008-11-02Read local database config fileBharat Mediratta
2008-11-02Improve welcome scaffolding to walk you through getting the varBharat Mediratta
directory set up correctly and a database config file in place.
2008-11-02Add mptt and forge modules to the module load listBharat Mediratta
disable logging if the log dir is not writable.
2008-11-01Fix all our preambles to make the preamble test pass.Bharat Mediratta
2008-11-01Add a test to verify that we have the right preamble on files.Bharat Mediratta
2008-11-01Clean up tests a bit.Bharat Mediratta
2008-11-01Add a new test to verify that view files end in .html.phpBharat Mediratta
2008-11-01Add first test; this verifies that we leave the ?> off at the end of PHP files.Bharat Mediratta
2008-11-01Set up unit test framework. Tweak configuration so that it only runs inBharat Mediratta
command line mode, and expects to put data into test/var. Create a module to wrap it that generates a nice text-only view of the output.
2008-11-01Improve the welcome page to be a bit more explanatory about the product.Bharat Mediratta
2008-10-31Placeholder app for Gallery3, along with a customized index.php and a READMEBharat Mediratta
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18409 57fcd75e-5312-0410-8df3-f5eb6fbb1595