sharvey
fcbec87d30
MINOR Removed double returns in installer (redundant code)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
61cc59d267
MINOR Renamed checkdatabase method to checkDatabase to be consistent
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
9a2a058048
ENHANCEMENT Installer now supports requireDatabaseVersion() on each database configuration helper implementation, e.g. MySQLDatabaseConfigurationHelper. If it's not defined, the test is skipped.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104707 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
sharvey
0c30376519
BUGFIX Installer should check for DOMDocument (DOM/XML extension for PHP), as it's required to be there for sapphire to operate correctly
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@103471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
sminnee
62810d39c2
BUGFIX #5326 : Fix installation when using _ss_environment.php
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@102087 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
sharvey
89d4cf8161
BUGFIX Fixed case where $_SERVER['SERVER_SIGNATURE'] was an empty string, use empty() instead of checking if it's set (which it is, but has an empty string)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
sharvey
8efa9b3e41
BUGFIX Fixed InstallerRequirements::isApache() which didn't work if $_SERVER['SERVER_SIGNATURE'] is available for Apache
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101733 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
wrossiter
f8b806f7df
ENHANCEMENT: tidied up installer process to streamline process. Moved requirements to top and button to bottom and added visual seperation of the individual steps
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
wrossiter
43f99930df
ENHANCEMENT: refactored requirements section to hide successful tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101382 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
befa638192
BUGFIX Installer bug where apache_get_modules() doesn't exist (installing from IIS)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101357 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
ad0d9f279e
MINOR Changed text "mod_rewrite enabled" to "URL rewriting support" which makes more sense as a requirement
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101348 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
3da85b7bcc
MINOR Removed whitespace in writing of htaccess file for output
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101344 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
682a141d7c
ENHANCEMENT #5080 SilverStripe can now be installed successfully on servers that do not have any rewrite capability
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
07ddefe9f7
MINOR Removed traces of "firstname" and "surname" from installer (these were removed in config-form in r101314)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101315 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
7d152f0c33
BUGFIX Fixed installer breaking if stats checkbox unchecked
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
f679e398f7
MINOR Added todo for exception handling done with default admin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
1d2b125748
MINOR Temporary fix for exception thrown in installer when existing admin account exists, temp fix just leaves existing admin account intact
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101085 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
81feae40fc
MINOR Fixed incorrect name "FileSystem" replacing with "Filesystem"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101084 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
ischommer
1670071825
MINOR Additional fixes for install.php (see r101063)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101067 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
ischommer
af217502fd
MINOR Fixed install.php to accept "typed" database configuration (see r101054)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101063 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
412b26a30c
MINOR Installer generated mysite/_config.php file now has consistent code formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100984 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
a85ccf4482
MINOR Removed registered databases from installer, these are autodiscovered from sapphire/_register_database.php now
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100903 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
b8463cf917
MINOR Updated registered databases in installer from changes to DatabaseRegistry in r100898
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100899 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
0c8b63b929
BUGFIX Installer now looks in DatabaseRegistry for adapter when checking database requirements
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100894 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
ee3bbe3c95
MINOR Installer gets default locale from i18n::get_locale() before trying to autodiscover by USER_AGENT string
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100877 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
ce381845d5
MINOR Fixed improper quoting in locale setting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
c3918595fd
MINOR Code formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
apiening
897a3b49af
MINOR: added sqlite to the installer
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
trix
625de452f7
ENHANCEMENT you can now choose your site locale at install time
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
trix
745816f612
MINOR remove the sqlite databases from the installer list.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
trix
2196f2cffc
ENHANCEMENT show all database systems we support, along with messages if the user cannot use them. Also allow 3rd parties to register their own database classes to appear in this list.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100696 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:50 +13:00
sharvey
4cee5df735
BUGFIX Installer now checks for 5.1.0 PHP version at minimum. Anything less than 5.1.0 will probably have issues with SilverStripe
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
d9628e9f1c
MINOR Show "Unknown web server" if server couldn't be determined
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100636 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
c783f7e62a
MINOR Fixed place where IIS was used instead of checking for 7
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100635 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
9589478330
MINOR Check for IIS/7 specifically, as IIS 6 has a completely different way of installing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
3379a20bfc
BUGFIX Webserver should be encoded properly when sending server stats to ss2stat during SS installation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100554 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
549867149c
ENHANCEMENT IIS 7.x no longer throws a server error if the rewrite module isn't installed when first opening the SS installer - instead, the web.config file is written with rules during installation
...
MINOR Tidied up installer, removing unused methods and clearly defining the web server support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100553 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
73152494c1
MINOR Made the database types clearer by setting the minimum version required alongside the name - e.g. "MySQL 4.1+"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100381 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
f40740c382
ENHANCEMENT #5024 Installer now checks that the user has entered a username and password correctly for the default admin, an additional button for re-checking requirements is now found at the bottom of the admin configuration section
...
ENHANCEMENT Error messages for database AND admin configuration are now in the same place at the top of the installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@99841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:49 +13:00
sharvey
1e935bbc14
BUGFIX If SS_DATABASE_CLASS is set to a database that doesn't exist, don't break the installer but fallback to MySQL
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@99598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
22357a1602
MINOR Removed unused method in installer
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@99006 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
6bd62df00a
ENHANCEMENT If the database type to install with doesn't allow creation of databases, allow for this case and inform the user they need to create it manually
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@99001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
2bdc91e594
MINOR Removed unnecessary check for conflicting classes Query and HTTPResponse in installer, these are now namespaced as SS_Query and SS_HTTPResponse
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
26a6db9682
MINOR Removed unncessary ?> tag in generated _config.php file
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98894 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
83853cb4c4
BUGFIX Installer should generate MySQLDatabase::set_connection_charset('utf8') in the _config.php to allow for better encoding in MySQL
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98893 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
8bc6a375de
MINOR Removed unnecessary end tag which the original _config.php doesn't have anyway
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98891 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:48 +13:00
sharvey
46424744af
MINOR Deny access to web.config file when installer generates .htaccess file
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98890 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00
sharvey
02dc0f4518
MINOR Removed MySQL specific checking from the installer until we can figure out how to do it well across different databases. The only remaining MySQL specifics in the installer is the sending of the server information to ss2stats
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98877 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00
sharvey
c4f1e42a8d
MINOR Removed check for MySQL function in the main PHP configuration - this is done separately by database helper classes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98875 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00
sharvey
3a33b40431
MINOR Reverted r98850 which broke the installer on Windows
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98862 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00