summaryrefslogtreecommitdiff
path: root/installer
AgeCommit message (Collapse)Author
2009-01-19implement already_installed()Bharat Mediratta
2009-01-19setup_varpath() -> setup_var()Bharat Mediratta
2009-01-19Only run the installer from the CLI for nowBharat Mediratta
2009-01-19Remove the prefix arg, we don't support it yet.Bharat Mediratta
2009-01-19mysql_create_db() might not existBharat Mediratta
2009-01-19Fix up various little things to get File_Structure_Test to pass.Bharat Mediratta
2009-01-19Flush the access_intent cache after ALTER TABLE queries, fixes aBharat Mediratta
problem where the install.sql had the wrong view permissions.
2009-01-19Use mysqli_init() instead of mysqli() as our detector.Bharat Mediratta
2009-01-19Remove -m flag.Bharat Mediratta
2009-01-19Packager now does a clean reinstall of just the packages we want, thenBharat Mediratta
rebuilds the install.sql and init_var.php files accordingly.
2009-01-19Simplification pass over the installer:Bharat Mediratta
- Flattened the directory structure - Greatly simplified structure in installer; it now only reports environmental checks that fail. Simplified code that prints exceptions. Use only mysql calls for the installer, but select mysqli automatically if it's available. Drop the response file; that's easily replicated with flag support - Create a random password for the admin user - Delete unused controllers - Invert the form of the database config template to be mostly non-PHP with just a few PHP calls
2009-01-19Replace exec("mysql") call with directy mysql() calls.Bharat Mediratta
2009-01-19Get rid of the driver libaries. Use mysql calls directly in theBharat Mediratta
installer for now. If we detect mysqli, we can always use that as a driver instead, but we don't require it for the installer.
2009-01-18Move installer.php out of helpers and get rid of helpers.Bharat Mediratta
2009-01-18Remove access rights check; fix a bug in determining the path to ↵Bharat Mediratta
var/database.php
2009-01-18Remove the install.php file and move its contents intoTim Almdal
installer::command_line method. Create an index.php that is can be used to install Gallery3 from the web or command line. At this point all that works is the command line installer and if the web installer tries to run, it is redirected to the album main page.
2009-01-18Add a new line charater to the error message when the installer isTim Almdal
being run a 2nd time after the a successful installation.
2009-01-18Changes to the installer code to use init_var.php and install.sql filesTim Almdal
2009-01-18Correct the mkdir for the sub directories in varTim Almdal
2009-01-18Change the database unload to unload all the tables instead of foolingTim Almdal
around with individual tables.
2009-01-18Clean up the var directory creation scriptTim Almdal
2009-01-18Here's the rest of the change, new tool and forgot to add some files :-)Tim Almdal
2009-01-18(no commit message)Tim Almdal
2009-01-14define $arguments so that we don't have an error.Bharat Mediratta
2009-01-14Delete DIRECTORY_SEPARATOR fixups. We're not on Windows.Bharat Mediratta
2009-01-14priviledge -> privilegeBharat Mediratta
2009-01-14dir -> dieBharat Mediratta
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-14The installer. At this point, the core installs, the user module defines ↵Tim Almdal
groups and users, but dies when attempting to create default permissions
2009-01-13Delete Mysql_Driver.php as it is no longer usedTim Almdal
2009-01-13Fix preamblesBharat Mediratta
2009-01-12Add a check to (e|i)nsure that the database provided is emptyTim Almdal
2009-01-12Add a check that the installation directory is writable Tim Almdal
2009-01-12Check to insure that the supplied user had the required permissionsTim Almdal
2009-01-11Moving slowly forward on the batch installer. It now connects to the ↵Tim Almdal
database and checks that the supplied database is defined.
2009-01-11add a -i parameter that allows the specification of the database type ↵Tim Almdal
(defaults: mysqli)
2009-01-11allow modules to be installed to be specified as command line option or in ↵Tim Almdal
the response file
2009-01-11allow modules to be installed to be specified as command line option or in ↵Tim Almdal
the response file
2009-01-11Don't use short tags in installer until we know its same to do soTim Almdal
2009-01-11Fix all file structure issues (tabs, bad preambles, etc).Bharat Mediratta
Note: installer/install.php is now on the "direct access" list.
2009-01-10Change the format of the internal error messages and pretty print the ↵Tim Almdal
installation parameters
2009-01-10Continuing baby steps to a batch installer. At this point you can run the ↵Tim Almdal
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-09Forgot to delete a working copyTim Almdal
2009-01-09Stage 1 of the installer. basically check that we can start as far as Kohana ↵Tim Almdal
correctly