summaryrefslogtreecommitdiff
path: root/installer
AgeCommit message (Collapse)Author
2009-09-27This path requires the upgrader to be run and applies the following changes:Tim Almdal
* moves the composite method back into core * requires that the operation be fully qualified i.e. gallery_graphics::resize * caches the graphics rules on each request
2009-09-27Fix one more place in the installer where we referring to the old defaultBharat Mediratta
theme names. Update installer.sql
2009-09-17Move 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-16Changed the search module installer to explicitly specify MyISAM as the ↵Tim Almdal
database type. Changed the packager to not remove the engine specification if the table is search_records. Fixes Ticket #774
2009-09-10Trim the input line to get rid of carriage returns on Windows. FixesBharat Mediratta
ticket #740. Thanks to jankoprowski!
2009-09-10Rename "after_installer" to "welcome_message" in the code to make itBharat Mediratta
clearer what its purpose is. Add some spacing in the theme for it so that it's less cramped.
2009-09-08Update to gallery module v12.Bharat Mediratta
2009-09-01Updated for modules/gallery version 11.Bharat Mediratta
2009-09-01Escape backslashes (\) in the $salt in create_admin() as they willBharat Mediratta
interfere with our hand rolled UPDATE statement. Big thanks to paulepanter.
2009-08-31Escape single quotes in the password so that we don't break our configBharat Mediratta
syntax. Related to (but unclear that it fixes) ticket #650.
2009-08-31Suppress errors to mysql_connect(). We had this before, but itBharat Mediratta
appears to have been accidentally removed in 177a854d
2009-08-30Add back mysql_fetch_object() call that I accidentally removed in myBharat Mediratta
rush to catch a plane.
2009-08-30Remove unnecessary cleverness in stripping off the hyphen for mysqlBharat Mediratta
version checks that was causing problems in the case where there's no hyphen. version_compare handles hypens fine.
2009-08-30Print out the version of MySQL that we found along with our errorBharat Mediratta
message, which should resolve http://gallery.menalto.com/node/90646
2009-08-28Fix 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-08-27Remove 'ENGINE=InnoDB' specification from tables that we create. UseBharat Mediratta
the system's default table specification. Fixes ticket #597.
2009-08-04Check for the SimpleXML module, thanks to geekonek.Bharat Mediratta
Fixes ticket #599.
2009-07-29Updated for gallery v10Bharat Mediratta
2009-07-26Updating install.sql with the packaging script, basically re-adding the ↵Andy Staudacher
charset (utf8) expressions that were removed by merging in rledisez's left/right -> left_ptr/right_ptr changes.
2009-07-25Rename columns that use reserved SQL words : items.left and items.rightRomain LE DISEZ
2009-07-23Updated version of installer sql:Bharat Mediratta
- gallery_version is gone - access related columns are now binary (Postgres) - for some reason we've reverted back to the /*!40101*/ style settings in mysqldump.
2009-07-23Use BOOLEAN instead of integer to describe the permissions :Romain LE DISEZ
- DENY = false - ALLOW = true - UNKNOW = null (for intent only) - INHERIT = null (for cache) Upgrade is not included for now. (cherry picked from commit 719c59e0402464a0e2b14915f6d10218ff5d4729)
2009-07-15Simpler solution for #545. Just don't show the form if the storage dir ↵Bharat Mediratta
isn't set up yet
2009-07-15Revert "Fix for ticket #545."Bharat Mediratta
This reverts commit d192f2f1bc1227938d3144381ef311c7e07b47b0.
2009-07-15Revert "Fix for ticket #544."Bharat Mediratta
This reverts commit f6973431b7f8df24c081a03c7c989f621ab2a708.
2009-07-15Fix for ticket #544.Tim Almdal
* Separate the portion of get_db_info.html.php that displays the status of the var directory into a separate view var_dir_status.html.php * Change the processing to always generate the database information request screen unless there is an environment error, the var directory is not writable and the install was successful Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-15Fix for ticket #545.Tim Almdal
Changed get_db_info.html.php to not display the database information request form until the var directory is successfully tested as writable. This prevents users from thinking they can enter the database information prior to successfully accessing the var directory. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-11Turn off extended inserts when creating install.sql so that it'sBharat Mediratta
easier to see what's changed.
2009-07-11MySQL 5 generates backwards compatible code-containing comments so:Bharat Mediratta
SET character_set_client = @saved_cs_client; becomes: /*!40101 SET character_set_client = @saved_cs_client */; for MySQL 4.0.1-01 and newer.
2009-07-07Change references to Gallery 2 and Gallery 3 to consistently refer toTim Almdal
Gallery n as opposed any variants of this.
2009-06-28Get rid of references to vestigial check.html.php page.Bharat Mediratta
2009-06-28Move the mysql_xxx() override function definitions insideBharat 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-28Set the gallery module version to 6 in install() (missed this in my last ↵Bharat Mediratta
change). Refresh the install.sql.
2009-06-27Updated for module upgrades:Bharat Mediratta
gallery 2 -> 3 comment 1 -> 2
2009-06-24"the the" -> "the"Bharat Mediratta
2009-06-23Refactor the install/upgrade code to be more flexible.Bharat Mediratta
Add xxx_installer::upgrade($version) method so that upgrade stanzas are separate from install stanzas. In the old code, to do an upgrade meant that you had to re-evolve everything from the initial install because we'd step through each version's changes. But what we really want is for the initial install to start off in the perfect initial state, and the upgrades to do the work behind the scenes. So now the install() function gets things set up properly the first time, and the upgrade() function does any work to catch you up to the latest code. See gallery_installer.php for a good example.
2009-06-20Fix a bug in gallery_installer where on an initial install we wereBharat Mediratta
only implementing schema version 1. This caused install.sql to be populated from version 1 which meant that after install you'd have to run the upgrader. No harm done, and the pattern is fixed for the future. Alphabetize the tables so it's easier to find stuff.
2009-06-13Remap mysql_xx() functions to their mysqli counterparts if the mysqlBharat Mediratta
extension is unavailable. Fixes ticket #393.
2009-06-05Update version to beta 1Bharat Mediratta
2009-06-01use PHP_SAPI instead of php_sapi_name()Bharat Mediratta
2009-06-01Normalize the random values used in the blocks_dashboard_xxx vars soBharat Mediratta
that install.sql is more stable.
2009-05-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-05-31Move the sql packaging code from installer into the gallery module. It must ↵Tim Almdal
be run from the command line and will throw a 404 if it is run as a web request.
2009-06-01Fix a warningbharat
2009-05-29Move the code that was in the scaffolding to package the initial mySql ↵tim almdal
database and var directory to a seperate standalone file in the installer. This will save the current database environment and restore it when the packaging is complete
2009-05-29Move credits message into a variable, which can be changed in Admin >Bharat Mediratta
Settings > Advanced. It's stored in the variable as an internationalized string and localized at output time.
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-27Normalize root update time in the installerBharat Mediratta
Rebuild install.sql
2009-05-27Manually updated to change 'core' to 'gallery'Bharat Mediratta
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.