summaryrefslogtreecommitdiff
path: root/installer/installer.php
AgeCommit message (Collapse)Author
2009-06-13Remap mysql_xx() functions to their mysqli counterparts if the mysqlBharat Mediratta
extension is unavailable. Fixes ticket #393.
2009-06-01Fix a warningbharat
2009-05-29Fix the code to specify which columns its inserting into. WithoutBharat Mediratta
that it's fragile, and I broke it when I sorted the columns alphabetically a day or two ago.
2009-05-27Update all references to the core application to now point to theBharat Mediratta
gallery module. This type of mass update is prone to some small bugs.
2009-05-13Suppress some warningsBharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Warn the user if they're attemping to reinstall into a database thatBharat Mediratta
already has Gallery 3 tables. Otherwise, permit it to continue. We key this off of the existence of the g3_items table. Theoretically it's possible that the g3_items table is gone but other tables are still there, which could mess things up. I'm not going to worry about that for now. Fixes ticket #175
2009-03-09Instead of putting after_install in the url, put it in the session.Bharat Mediratta
This helps us to make sure that we only see the welcome message once.
2009-03-08Log the user in as admin after running the web installer, and giveBharat Mediratta
them a nice "Welcome to Gallery 3" dialog. The text in there needs a little work but it's a start. In the process, re-build the install.sql using the scaffolding code.
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27Both the command line and web installer installer now supportsTim Almdal
creating tables with a table prefix. There are still some queries that haven't been converted, so don't start using prefixes yet. However, if you do, you can login and modify the user profile.
2009-02-17Move private key generation into the installer so that we're notBharat Mediratta
generating it lazily.
2009-02-15Get rid of InstallException and handle exceptions from create_admin()Bharat Mediratta
properly.
2009-01-20Deal gracefully with bad mysql connection and database information.Bharat Mediratta
2009-01-20Web based installer. It's still got some rough edges, but you can nowBharat Mediratta
do a complete CLI or web based install.
2009-01-19Pull the environment check out into a separate web page to simplifyBharat Mediratta
the CLI installer. Put a link to it in the footer of every web install page. Don't allow users to run it if Gallery 3 is already installed.
2009-01-19Incremental additions to the web installer. This is getting messy,Bharat Mediratta
going to pause here and do some refactoring.
2009-01-19Replace mysql_create_db with a mysql_query() call as recommended by the PHP ↵Bharat Mediratta
manual.
2009-01-19Stub of the web based installer.Bharat Mediratta
2009-01-19implement already_installed()Bharat Mediratta
2009-01-19setup_varpath() -> setup_var()Bharat 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-19Use mysqli_init() instead of mysqli() as our detector.Bharat Mediratta
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