Commit Graph

  • c389e22982 doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess Chris Kelly 2008-11-05 22:37:48 +00:00
  • 91a0236f8c Guard the module loading code against database errors (in case the database isn't configured yet) Bharat Mediratta 2008-11-05 22:29:42 +00:00
  • 3d20abcdf0 move short_open_tag setting from .htaccess to ini_set because it works more often and fails more gracefully Chris Kelly 2008-11-05 22:20:58 +00:00
  • 134bac46d0 add installation unit tests and corrected a problem where the groups_users pivot table was not populated. Tim Almdal 2008-11-05 22:10:35 +00:00
  • dbf0fda99b better instructions/error handling Chris Kelly 2008-11-05 21:52:22 +00:00
  • 74cefadb19 actually delete the same tables as we createad Tim Almdal 2008-11-05 20:42:15 +00:00
  • 0493cf4ecd replaced Feature URLs with new one Chris Kelly 2008-11-05 18:32:50 +00:00
  • 24787b5545 remove tabs Bharat Mediratta 2008-11-05 17:32:59 +00:00
  • dcfa725d6a Adjust gTags style since the <ul> is no longer gBlock, it's on a containing div Bharat Mediratta 2008-11-05 09:58:15 +00:00
  • 3feb0b288b Add info section with MPTT graphs Bharat Mediratta 2008-11-05 09:50:20 +00:00
  • ae00f73944 * Add thumbnail and resize dimensions to the item table and use them 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. Bharat Mediratta 2008-11-05 09:42:47 +00:00
  • e35c154414 Style/doc cleanups. Bharat Mediratta 2008-11-05 07:57:59 +00:00
  • e44ff9bb60 ORM_MPTT::parents() should not include the node itself. Bharat Mediratta 2008-11-05 07:47:19 +00:00
  • d21f3437e6 Add the photo controller, and tie it to the photo page in our theme. Bharat Mediratta 2008-11-05 07:42:52 +00:00
  • 581e931c43 Change the default theme to actually render what's in the Gallery. Currently only the album view works, albums have no thumbnails, and there's only 1 image in use. Bharat Mediratta 2008-11-05 07:13:46 +00:00
  • 00513a71d2 Report the number of photos/albums Bharat Mediratta 2008-11-05 06:17:35 +00:00
  • 772239206b Rename logon_name to name, name to display_name and remove the external id field Tim Almdal 2008-11-05 06:16:47 +00:00
  • fd3e21e2fd Move Google Maps block off into its own gmaps module. Bharat Mediratta 2008-11-05 05:41:19 +00:00
  • 8e880b4c41 Item Info block is now off into the info module. Yay! Bharat Mediratta 2008-11-05 05:35:47 +00:00
  • 3c65b68e1c The start of the user module. At this point, it shows up on the scaffolding screen and you can install and uninstall it. Which creates the tables, defines 2 groups (adminstrator, registered) and one user (admin). Tim Almdal 2008-11-05 05:32:47 +00:00
  • a60944e07d Tags are now off in their own module, hooray! Bharat Mediratta 2008-11-05 05:28:20 +00:00
  • b82332192a The carousel block is now off into its own module. The 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! Bharat Mediratta 2008-11-05 05:20:20 +00:00
  • f7560a7e8b Don't overwrite the version number of installed modules when searching for uninstalled modules. Tim Almdal 2008-11-05 04:32:58 +00:00
  • ffb426be45 Update to latest HTML/CSS Bharat Mediratta 2008-11-05 04:05:53 +00:00
  • 25bd62f906 Use jQuery magic to make the scaffold look shiny. Bharat Mediratta 2008-11-05 03:26:28 +00:00
  • 6e0b7f6be1 Add jQuery 1.2.6 Bharat Mediratta 2008-11-05 03:24:57 +00:00
  • 836874ba68 Updated for new MPTT API Bharat Mediratta 2008-11-05 03:24:09 +00:00
  • ef0bb33a95 Order the children() Bharat Mediratta 2008-11-05 01:40:41 +00:00
  • 190b439807 Moved MPTT related tests to ORM_MPTT_Test Bharat Mediratta 2008-11-05 01:39:21 +00:00
  • 04a738bc18 Declare install/uninstall stat.c Bharat Mediratta 2008-11-05 01:30:59 +00:00
  • f011971ade Further simplify the code. Bharat Mediratta 2008-11-05 01:08:16 +00:00
  • 667d79c705 _readModules -> _readModules Simplify the installer-detection code. Bharat Mediratta 2008-11-05 01:05:21 +00:00
  • da286fbf6b Clean up camel humped names and move private function to bottom of file Tim Almdal 2008-11-05 00:07:16 +00:00
  • 212e6a0778 New tests for the ORM_MPTT class. Bharat Mediratta 2008-11-04 23:16:42 +00:00
  • d0629584b5 Have the scaffolding code see what what modules are available and list whether they need to be installed or uninstalled. Tim Almdal 2008-11-04 22:18:00 +00:00
  • 605d2de336 Lots of new stuff! Bharat Mediratta 2008-11-04 21:24:42 +00:00
  • ade1650846 Add a test to detect tabs in our code, and convert all tabs to spaces so that the test passes. Bharat Mediratta 2008-11-04 05:22:06 +00:00
  • f8b22c5aa9 Updated README. Bharat Mediratta 2008-11-04 05:12:05 +00:00
  • 630b0f26fc Restructure the theme code to be more like WordPress / Habari. Now, 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') ?> Bharat Mediratta 2008-11-04 05:02:37 +00:00
  • 8709c1965f White space correction Tim Almdal 2008-11-04 02:19:46 +00:00
  • 57dd27fe57 Oops, left out the footer by accident. Bharat Mediratta 2008-11-03 06:50:23 +00:00
  • 8a4ab78bfb Oops, injecting the function name caused an extra call in the call stack. The test passed, but the actual code failed. Fixed now. Bharat Mediratta 2008-11-03 06:02:40 +00:00
  • fa9dda4c01 Create an initial attempt at the album controller, set it up with a default route and add a link to it from the welcome page. Bharat Mediratta 2008-11-03 05:55:34 +00:00
  • a089399e73 Default theme, built with YUI. A mock right now, not functional at all (except in some very minor ways). It's unclear if this is the best final structure. Right now the album controller knows a considerable amount about the layout of the page, which may not be the best way to do things. Bharat Mediratta 2008-11-03 05:53:20 +00:00
  • 6da6b8ed52 Theme helper. Right now it has one api method, theme::url which 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 Bharat Mediratta 2008-11-03 05:52:13 +00:00
  • 6c35abd30a whitespace fix Bharat Mediratta 2008-11-03 05:36:44 +00:00
  • 8831e89f40 More bootstrap code. * core_installer::install now creates the root album and the albums/thumbnails directories under VARPATH. * Add a test for core_installer Bharat Mediratta 2008-11-03 02:08:07 +00:00
  • 33e9cdad15 Uninstall/reinstall core on every test run (for now). Bharat Mediratta 2008-11-03 02:05:59 +00:00
  • 019ea9cd35 Rename columns lft/rgt to left/right. Bharat Mediratta 2008-11-03 02:05:11 +00:00
  • 8183289bb1 Add some padding between paragraphs. Bharat Mediratta 2008-11-03 01:20:45 +00:00
  • 2578b598dd Change styles a bit to make it a little more consistent. Bharat Mediratta 2008-11-03 01:13:51 +00:00
  • 7d2c828a4c Put info about installed modules directly into the scaffolding page, and create methods to install/uninstall modules. Bharat Mediratta 2008-11-03 00:27:35 +00:00
  • 7ae73fcd65 Change structure of item table to match MPTT class (which is a little different from ORM_MPTT which we used in gx Bharat Mediratta 2008-11-03 00:26:55 +00:00
  • df36d28b8a Make the unit_test database config the default so that our test runs don't mess up the real database. Bharat Mediratta 2008-11-03 00:07:38 +00:00
  • e173f36bcb Create some basic infrastructure: * 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. Bharat Mediratta 2008-11-02 23:55:09 +00:00
  • aff7048b1f Turn on short_open_tags Bharat Mediratta 2008-11-02 22:01:30 +00:00
  • 2f151cf39f Ignore view files in no_trailing_closing_php_tag_test since they will occasionally end in tags like <?= this ?> Bharat Mediratta 2008-11-02 21:56:14 +00:00
  • a38752607e replace a tab with the appropriate number of spaces Tim Almdal 2008-11-02 21:39:10 +00:00
  • 231117b4a3 Change this to be inline instead of an iframe, and fix it up so that it walks you through creating the database also. Bharat Mediratta 2008-11-02 21:12:15 +00:00
  • 3f21b08e5f Read local database config file Bharat Mediratta 2008-11-02 19:59:09 +00:00
  • d742de4e11 Improve welcome scaffolding to walk you through getting the var directory set up correctly and a database config file in place. Bharat Mediratta 2008-11-02 19:56:57 +00:00
  • 3ec437029b Add mptt and forge modules to the module load list disable logging if the log dir is not writable. Bharat Mediratta 2008-11-02 18:57:50 +00:00
  • bd8cd9364c Fix all our preambles to make the preamble test pass. Bharat Mediratta 2008-11-01 22:43:28 +00:00
  • 06174a4f74 Add a test to verify that we have the right preamble on files. Bharat Mediratta 2008-11-01 22:42:59 +00:00
  • 3757b39dfe Improve formatting Bharat Mediratta 2008-11-01 22:41:09 +00:00
  • 6f98bd445a Clean up tests a bit. Bharat Mediratta 2008-11-01 22:05:08 +00:00
  • a7f22994ed Add a new test to verify that view files end in .html.php Bharat Mediratta 2008-11-01 18:45:25 +00:00
  • 60fbea6fd0 Add first test; this verifies that we leave the ?> off at the end of PHP files. Bharat Mediratta 2008-11-01 10:47:00 +00:00
  • 5a3731d0c6 Remove all html::specialchars(); we're not getting rendered in a browser. Bharat Mediratta 2008-11-01 10:45:51 +00:00
  • 08f9822b72 Exclude demo tests Bharat Mediratta 2008-11-01 09:02:24 +00:00
  • f8b4c66906 Set up unit test framework. Tweak configuration so that it only runs in 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. Bharat Mediratta 2008-11-01 07:55:48 +00:00
  • 146f34dc07 Improve the welcome page to be a bit more explanatory about the product. Bharat Mediratta 2008-11-01 03:58:08 +00:00
  • 53ef67d000 Move gallery3 out of the eval branch and up to its real home. Note that I'm inverting the normal paradigm by putting trunk/vendor/tags/branches inside the gallery3 project. This is actually the recommended form when you have multiple projects inside a svn repository. Bharat Mediratta 2008-10-31 22:42:08 +00:00
  • a69515ecb3 Placeholder app for Gallery3, along with a customized index.php and a README Bharat Mediratta 2008-10-31 22:38:54 +00:00
  • eba717f95f Merge over vendor code. Bharat Mediratta 2008-10-31 22:12:14 +00:00
  • fff10f8b70 Welcome to Gallery 3 Bharat Mediratta 2008-10-31 19:48:16 +00:00