Commit Graph

15 Commits

Author SHA1 Message Date
Bharat Mediratta
00513a71d2 Report the number of photos/albums 2008-11-05 06:17:35 +00:00
Tim Almdal
f7560a7e8b Don't overwrite the version number of installed modules when searching for uninstalled modules. 2008-11-05 04:32:58 +00:00
Bharat Mediratta
f011971ade Further simplify the code. 2008-11-05 01:08:16 +00:00
Bharat Mediratta
667d79c705 _readModules -> _readModules
Simplify the installer-detection code.
2008-11-05 01:05:21 +00:00
Tim Almdal
da286fbf6b Clean up camel humped names and move private function to bottom of file 2008-11-05 00:07:16 +00:00
Tim Almdal
d0629584b5 Have the scaffolding code see what what modules are available and list whether they need to be installed or uninstalled. 2008-11-04 22:18:00 +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
Bharat Mediratta
7d2c828a4c Put info about installed modules directly into the scaffolding page,
and create methods to install/uninstall modules.
2008-11-03 00:27:35 +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
Bharat Mediratta
231117b4a3 Change this to be inline instead of an iframe, and fix it up so that
it walks you through creating the database also.
2008-11-02 21:12:15 +00:00
Bharat Mediratta
d742de4e11 Improve welcome scaffolding to walk you through getting the var
directory set up correctly and a database config file in place.
2008-11-02 19:56:57 +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
146f34dc07 Improve the welcome page to be a bit more explanatory about the product. 2008-11-01 03:58:08 +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