Commit Graph
28 Commits
Author SHA1 Message Date
Bharat Mediratta 99f131d9ae Create module::load_themes() to load the correct theme after we do
routing and know whether we're going to an /admin page or a regular
one.
2008-12-20 00:50:37 +00:00
Bharat Mediratta 8bd7afeb5b TEST_MODE always exists now, so check its value, don't rely on its existence to know that we're in test mode. 2008-12-16 05:13:04 +00:00
Bharat Mediratta 2812f34732 Rename default_admin to admin_default. 2008-12-15 01:55:07 +00:00
Felix Rabinovich 13ad40ab5c Created admin controller and made admin obey admin theme settings 2008-12-14 02:23:37 +00:00
Bharat Mediratta 1094501251 Only add the unit_test and gallery_unit_test modules if we're in TEST_MODE 2008-12-08 08:27:17 +00:00
Tim Almdal 6a76d6f747 Dynamically create the list of available modules. This permits new modules to be added without having to update the config.php file 2008-11-28 21:22:34 +00:00
Tim Almdal 8b52d9cde4 Revert the site_title change 2008-11-24 05:58:38 +00:00
Tim Almdal 7491e3c44a Add a site-config parameter to the config.php file. Created a core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value. 2008-11-23 16:51:06 +00:00
Bharat Mediratta 51ada4c2e2 Move search out into its own module and have it display its link at
the header_bottom() insertion point.
2008-11-23 08:08:12 +00:00
Jozef Selesi 6028447993 An Atom library prototype. Its purpose is to explore the cost of us supporting Atom as the default input and output format of RESTful controllers. Only the constructs necessary for representing comment feeds and entries have been implemented. Its output are valid Atom 1.0 documents. The test contains examples of how to make feeds and entries. 2008-11-22 18:22:53 +00:00
Tim Almdal 693080669a fix a few minor issues 2008-11-19 02:50:11 +00:00
Tim Almdal 4bf486955c The start of the slideshow module. Mostly framework stuff, no real implementation yet 2008-11-18 19:09:24 +00:00
Bharat Mediratta e87a37b855 Rename 'tags' module to 'tag' for consistency of pluralization 2008-11-16 07:17:29 +00:00
Jozef Selesi 24decb7fa4 Beginnings of the comment module. Install and uninstall. 2008-11-09 22:57:55 +00:00
Tim Almdal d025155314 The start of an authentication module. This provides the installation and a basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module. 2008-11-08 01:56:59 +00:00
Bharat Mediratta c526a9cd25 Move default theme up above modules so that it can override module views 2008-11-07 05:04:15 +00:00
Bharat Mediratta 3fe8cd7135 Drop the ? from the base url; we're going to count on Apache PathInfo for navigation. 2008-11-06 04:55:22 +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 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.
2008-11-03 05:55:34 +00:00
Bharat Mediratta 3ec437029b Add mptt and forge modules to the module load list
disable logging if the log dir is not writable.
2008-11-02 18:57:50 +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 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 a69515ecb3 Placeholder app for Gallery3, along with a customized index.php and a README
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18409 57fcd75e-5312-0410-8df3-f5eb6fbb1595
2008-10-31 22:38:54 +00:00