Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-21 | Update copyright to 2013. Fixes #1953. | Bharat Mediratta | |
2012-05-15 | Harden installer against bad characters in the database name or prefix. ↵ | Bharat Mediratta | |
Fixes #1866. | |||
2012-02-27 | Update copyright to 2012. #1822 | Bharat Mediratta | |
2011-05-05 | Fix for ticket 1275. Do the same checking as Kohana uses and don't worry ↵ | Tim Almdal | |
about calling the utf8_encode routine. Corrected the error messages and also added a check to insure the XML Parser extension is loaded as we still need the utf8_encode function from it. | |||
2011-01-21 | Update copyright to 2011. | Bharat Mediratta | |
2010-12-16 | Detect safe_mode and abort the install. Fixes #1534. | Bharat Mediratta | |
2010-12-15 | Use mt_rand() instead of rand() since it provides better portability. | Bharat Mediratta | |
Fixes #1527. | |||
2010-11-08 | Check for the PHP Ctype extension. Fixes ticket #1474. | Bharat Mediratta | |
2010-06-06 | Add a check for short_open_tag | Bharat Mediratta | |
2010-06-06 | Whitespace fixes | Bharat Mediratta | |
2010-03-03 | Update the copyright to 2010. It's only 3 months into the year :-) | Bharat Mediratta | |
2010-02-14 | Avoid PHP warnings when the DB host string has no port. | Andy Staudacher | |
2010-01-06 | Provide an error message when the sql in installer::empty_db fails. Also ↵ | Tim Almdal | |
change the show tables not to specify a database as it will use the database in the active connection. Fixes ticket #963. | |||
2009-12-29 | Make sure that we have the mbstring extension. | Bharat Mediratta | |
2009-11-12 | Initialize the database config with the port number if it is specified. Also ↵ | Tim Almdal | |
set it up so the mysqli constructor will split it into host and port for the call to the mysqli constructor. Fixes ticket: #780 | |||
2009-09-17 | Move the check_environment into the installer helper and call it from the ↵ | Tim Almdal | |
command line installer as well as the web installer. | |||
2009-09-10 | Trim the input line to get rid of carriage returns on Windows. Fixes | Bharat Mediratta | |
ticket #740. Thanks to jankoprowski! | |||
2009-09-10 | Rename "after_installer" to "welcome_message" in the code to make it | Bharat Mediratta | |
clearer what its purpose is. Add some spacing in the theme for it so that it's less cramped. | |||
2009-09-01 | Escape backslashes (\) in the $salt in create_admin() as they will | Bharat Mediratta | |
interfere with our hand rolled UPDATE statement. Big thanks to paulepanter. | |||
2009-08-31 | Suppress errors to mysql_connect(). We had this before, but it | Bharat Mediratta | |
appears to have been accidentally removed in 177a854d | |||
2009-08-30 | Add back mysql_fetch_object() call that I accidentally removed in my | Bharat Mediratta | |
rush to catch a plane. | |||
2009-08-30 | Remove unnecessary cleverness in stripping off the hyphen for mysql | Bharat Mediratta | |
version checks that was causing problems in the case where there's no hyphen. version_compare handles hypens fine. | |||
2009-08-30 | Print out the version of MySQL that we found along with our error | Bharat Mediratta | |
message, which should resolve http://gallery.menalto.com/node/90646 | |||
2009-08-28 | Fix for #440. Basically add a check that the mysql version is > 5.0.0. | Tim Almdal | |
It was felt that actually listing the requirements might be overwhelming to novice users. | |||
2009-06-28 | Move the mysql_xxx() override function definitions inside | Bharat Mediratta | |
installer::connect(), otherwise they're defined before we call check_environment, then we think we have mysql_query when we really don't. | |||
2009-06-13 | Remap mysql_xx() functions to their mysqli counterparts if the mysql | Bharat Mediratta | |
extension is unavailable. Fixes ticket #393. | |||
2009-06-01 | Fix a warning | bharat | |
2009-05-29 | Fix the code to specify which columns its inserting into. Without | Bharat Mediratta | |
that it's fragile, and I broke it when I sorted the columns alphabetically a day or two ago. | |||
2009-05-27 | Update all references to the core application to now point to the | Bharat Mediratta | |
gallery module. This type of mass update is prone to some small bugs. | |||
2009-05-13 | Suppress some warnings | Bharat Mediratta | |
2009-05-13 | Gee it's May already. Update copyright to 2009. | Bharat Mediratta | |
2009-05-13 | Warn the user if they're attemping to reinstall into a database that | Bharat 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-09 | Instead 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-08 | Log the user in as admin after running the web installer, and give | Bharat 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-28 | Change the pattern to identify tables that need prefix substitution to | Tim Almdal | |
mirror the drupal pattern of using braces {}. | |||
2009-02-27 | Both the command line and web installer installer now supports | Tim 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-17 | Move private key generation into the installer so that we're not | Bharat Mediratta | |
generating it lazily. | |||
2009-02-15 | Get rid of InstallException and handle exceptions from create_admin() | Bharat Mediratta | |
properly. | |||
2009-01-20 | Deal gracefully with bad mysql connection and database information. | Bharat Mediratta | |
2009-01-20 | Web based installer. It's still got some rough edges, but you can now | Bharat Mediratta | |
do a complete CLI or web based install. | |||
2009-01-19 | Pull the environment check out into a separate web page to simplify | Bharat 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-19 | Incremental additions to the web installer. This is getting messy, | Bharat Mediratta | |
going to pause here and do some refactoring. | |||
2009-01-19 | Replace mysql_create_db with a mysql_query() call as recommended by the PHP ↵ | Bharat Mediratta | |
manual. | |||
2009-01-19 | Stub of the web based installer. | Bharat Mediratta | |
2009-01-19 | implement already_installed() | Bharat Mediratta | |
2009-01-19 | setup_varpath() -> setup_var() | Bharat Mediratta | |
2009-01-19 | Remove the prefix arg, we don't support it yet. | Bharat Mediratta | |
2009-01-19 | mysql_create_db() might not exist | Bharat Mediratta | |
2009-01-19 | Use mysqli_init() instead of mysqli() as our detector. | Bharat Mediratta | |
2009-01-19 | Simplification 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 |