Commit Graph

701 Commits

Author SHA1 Message Date
ischommer
68e5af940f MINOR Reverted accidental commit from r111054
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@111056 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:55 +13:00
ischommer
2ba37d3af0 ENHANCEMENT Added phpunit.xml.dist to avoid setting bootstrap includes and other SilverStripe specific configuration as CLI parameters and test-level includes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@111055 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:55 +13:00
ischommer
ae493a3e0e ENHANCEMENT: Created a phpunit wrapper class to ensure that Sapphire's test framework is capable of running unit tests, coverage report and retrieve clover-statistics for PHPUnit 3.4 and PHPUnit 3.5
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@111054 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
a870ea1aa3 #5870 Block web requests to silverstripe-cache directory via htaccess RedirectMatch rule or web.config hiddenSegments functionality if using IIS 7.x
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@110241 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
apiening
4002bdfd55 MINOR: repair installer for sqlite
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@109788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
f5245c7b0f ENHANCEMENT ErrorDocument in default .htaccess so Apache serves default 404 and 500 server error pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108663 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
a917b59230 MINOR Changed unknown web server text
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108571 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
b4bc50d9cc MINOR Allow checking for a specific IIS version (parameter to InstallRequirements::isIIS())
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
e03e0c1d60 MINOR Removed double up of similar logic in InstallRequirements
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108569 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
48a301266a MINOR Simplified discovery of webserver during install
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108568 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
e5ce99f4ad MINOR Removed unncessary isset() check
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sharvey
2878aae297 MINOR Removed command line functionality from installer which is no longer used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108546 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
ischommer
17bbc63786 MINOR Disallowing more potentially active file extensions in mysite/.htaccess
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108208 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sminnee
9b1c783bf4 BUGFIX: Fixed CLI installation.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108032 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sminnee
c19aa49412 BUGFIX: Don't set any dev servers by default, host-based dev-server selection is unreliable.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108031 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sminnee
edfdf48bee BUGFIX: Don't allow reinstalling without first making the user manually delete mysite/_config.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108030 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:54 +13:00
sminnee
943336b1af BUGFIX: Don't allow direct access to PHP files in mysite module.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108029 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
6de2e4fbd3 MINOR Tweaking of installer text to avoid misleading information about "exists" when there's actually an error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@107366 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
mstephens
719b56e137 BUGFIX: Undo commit to wrong place
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@107116 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
mstephens
fdcac0d629 BUGFIX: Undo incorrect commit
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@107115 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
mstephens
41b9d06bf5 MINOR: Added initial docs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@107104 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
3c6213cf49 BUGFIX If database version can't be determined, just use the database adapter class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
8869240b5a BUGFIX Install now supports sending database version if available from the helper
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105711 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
1e0e4758f4 BUGFIX ss2stat URL not generated correctly (has NULL values)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105705 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
00b4c68ce5 MINOR Installer should not repeat "Could not determine your database version" twice in slightly varied words
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
b47f1cd593 ENHANCEMENT Added variable for the server configuration file so the config-form can display it for the installation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105028 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
55c9f8e42a BUGFIX Installer now checks the database version AFTER it has determined a connection can be established, which some databases require first
BUGFIX Database version check failures are now a warning, so a user can install at their own risk


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
445c0cea21 BUGFIX Fixed installation problem where version error didn't show
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
sharvey
55fcfb7470 MINOR Installing screen now has a page title called "Installing SilverStripe..." instead of "PHP 5 is required"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:53 +13:00
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
apiening
461c753a53 MINOR: remove accidentially commited module
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
hfried
fb1696494e FEATURE: initial commit
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@104515 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
ischommer
593dba641c MINOR Added querystring option to Makefile
MINOR Reordered 'make getallmodules' alphabetically in Makefile

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@103746 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
phalkunz
e8db5c30c1 MINOR: revert -r102275
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@102276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:52 +13:00
phalkunz
a04df99154 MINOR: remove unnecessary expression
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@102275 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
sminnee
40520e1127 API CHANGE: Removed default search controls; use MySQLFulltextSearchable::enable() instead.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101813 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
sharvey
958d75869f MINOR Reverted r101354 and r101356 (see #3826)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101404 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
934fbf9a88 MINOR Added comment to empty .htaccess file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101356 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
008267b299 BUGFIX #3826 Removed initial .htaccess contents to make installation of SS easier - the installer doesn't need any rewriting available initially
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101354 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:51 +13:00
sharvey
80b4d24e18 MINOR Removed rewritetest.php, it's not being used and doesn't need to be bundled with the installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101352 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