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