Commit Graph

29 Commits

Author SHA1 Message Date
Bharat Mediratta
12fe58d997 Rename 'kohana' to 'system' to conform to the Kohana filesystem layout. I'm comfortable with us not clearly drawing the distinction about the fact that it's Kohana. 2009-05-27 15:11:53 -07:00
Bharat Mediratta
28b41056e3 Restructure things so that the application is now just another module.
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.

Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)

There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00
Bharat Mediratta
0a6249ec21 Add support for index.local.php where you can override any existing settings (useful for developers). This might be a bad idea; trying it out for now. 2009-05-24 06:10:09 +00:00
Bharat Mediratta
fdf7ce24f5 Set the error level to E_NONE for production. 2009-05-21 06:27:21 +00:00
Bharat Mediratta
b5ff14df33 Set display_errors to false for security. 2009-05-21 03:42:24 +00:00
Bharat Mediratta
ad16488643 Turn on IN_PRODUCTION mode now across the board. Create our own error
page where we'll show whatever information is useful.  Get rid of the
IN_PRODUCTION hack in MY_View.php that we no longer need.
2009-05-18 06:30:32 +00:00
Bharat Mediratta
59b0e40f65 Define KOHANA as the front controller .php file. 2009-05-18 00:28:20 +00:00
Bharat Mediratta
bd3dd786e7 Define TMPPATH 2009-05-17 04:55:12 +00:00
Bharat Mediratta
5495037a3d Gee it's May already. Update copyright to 2009. 2009-05-13 20:04:58 +00:00
Bharat Mediratta
2a7d4b4365 Remove the redirect to the installer; if we don't have a var dir this results in an infinite redirect. Let's put this back in when the installer works. 2009-01-14 05:07:52 +00:00
Tim Almdal
02af2d8b76 The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions 2009-01-14 03:38:51 +00:00
Bharat Mediratta
1fb620ff87 Redirect to the installer if we don't have a var dir. This way the
installer gets a fresh request and doesn't carry anything forward from
the production environment.
2009-01-13 01:14:31 +00:00
Tim Almdal
144f8c342b Change the format of the internal error messages and pretty print the installation parameters 2009-01-10 22:00:14 +00:00
Tim Almdal
4c330e5a99 Continuing baby steps to a batch installer. At this point you can run the installer and it will parse the command line arguments.
currently the following arguments are accepted -h(database host) -u(database user) -p(database password) -d(database name) -t(table prefex) or -f(a response file).

The order of processing, defaults are set. if the response file is provided, the contained values are merged and finally any command line parameters are merged.
2009-01-10 20:47:38 +00:00
Tim Almdal
22ee012720 Stage 1 of the installer. basically check that we can start as far as Kohana correctly 2009-01-09 18:33:48 +00:00
Andy Staudacher
fd081159f1 Windows fixes: Use mkdir($path, 0777, true) instead of the unportable system("mkdir -p $path") 2009-01-08 06:57:04 +00:00
Bharat Mediratta
52a7607336 Define TEST_MODE 0 when we're in production 2008-12-16 04:31:33 +00:00
Bharat Mediratta
80a7db61c9 Fix up the test framework to work now that we're only loading installed modules
via the autoloader.
2008-12-04 08:17:57 +00:00
Bharat Mediratta
53664787d4 Add a filter to unit tests. Now you can do 'php index.php Album_Helper_Test Photo_Helper_Test' to just run those two 2008-12-03 06:00:30 +00:00
Bharat Mediratta
6f959deed9 Rename generic test.php to gallery_unit_test.php to make navigation to this file a little easier 2008-12-03 03:23:30 +00:00
Bharat Mediratta
3024d2313b Turn IN_PRODUCTION to false while we work on G3 2008-11-11 23:10:39 +00:00
Andy Staudacher
71f8a0e8fe Fix config paths for MS Windows (kohana's URL router depends on normalized directory separators) 2008-11-11 10:06:38 +00:00
Bharat Mediratta
92b1ae14f9 Require short_open_tag to be enabled, or die. 2008-11-10 16:36:08 +00:00
Chris Kelly
c389e22982 doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess 2008-11-05 22:37:48 +00:00
Chris Kelly
3d20abcdf0 move short_open_tag setting from .htaccess to ini_set because it works more often and fails more gracefully 2008-11-05 22:20:58 +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
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