Commit Graph
19 Commits
Author SHA1 Message Date
Tim Almdal 772239206b Rename logon_name to name, name to display_name and remove the external id field 2008-11-05 06:16:47 +00:00
Bharat Mediratta fd3e21e2fd Move Google Maps block off into its own gmaps module. 2008-11-05 05:41:19 +00:00
Bharat Mediratta 8e880b4c41 Item Info block is now off into the info module. Yay! 2008-11-05 05:35:47 +00:00
Tim Almdal 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). 2008-11-05 05:32:47 +00:00
Bharat Mediratta a60944e07d Tags are now off in their own module, hooray! 2008-11-05 05:28:20 +00:00
Bharat Mediratta 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!
2008-11-05 05:20:20 +00:00
Bharat Mediratta 605d2de336 Lots of new stuff!
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 21:24:42 +00:00
Bharat Mediratta ade1650846 Add a test to detect tabs in our code, and convert all tabs to spaces
so that the test passes.
2008-11-04 05:22:06 +00:00
Tim Almdal 8709c1965f White space correction 2008-11-04 02:19:46 +00:00
Bharat Mediratta 33e9cdad15 Uninstall/reinstall core on every test run (for now). 2008-11-03 02:05:59 +00:00
Bharat Mediratta df36d28b8a Make the unit_test database config the default so that our test runs don't
mess up the real database.
2008-11-03 00:07:38 +00:00
Bharat Mediratta 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.

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 23:55:09 +00:00
Tim Almdal a38752607e replace a tab with the appropriate number of spaces 2008-11-02 21:39:10 +00:00
Bharat Mediratta bd8cd9364c Fix all our preambles to make the preamble test pass. 2008-11-01 22:43:28 +00:00
Bharat Mediratta 3757b39dfe Improve formatting 2008-11-01 22:41:09 +00:00
Bharat Mediratta 5a3731d0c6 Remove all html::specialchars(); we're not getting rendered in a
browser.
2008-11-01 10:45:51 +00:00
Bharat Mediratta 08f9822b72 Exclude demo tests 2008-11-01 09:02:24 +00:00
Bharat Mediratta 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.
2008-11-01 07:55:48 +00:00
Bharat Mediratta eba717f95f Merge over vendor code.
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595
2008-10-31 22:12:14 +00:00