[FEATURE] Enable SQLite in installation process 63/55563/12
authorBenni Mack <benni@typo3.org>
Mon, 5 Feb 2018 12:26:50 +0000 (13:26 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 14 Jun 2018 08:06:15 +0000 (10:06 +0200)
commit0b00b42451ecef354aae414ad228c790716a9597
tree9c9744c20cac5be960087147b2065384fac1da18
parent7dd7146691ffac1c943f6107370e6f929a9302b9
[FEATURE] Enable SQLite in installation process

The patch adds SQLite as new DBMS platform to the TYPO3
instance installer if pdo_sqlite is available.

* sqlite has no database name and user / password restriction
  but stores the database in a single file.

* the filename contains a random string so it can't be easily
  guessed if the config directory is within web document root
  and the web server is configured to deliver .sqlite files.

* the feature .rst file mentions possible security risks comes
  with having a database within document root and documents
  how to prevent those.

* similar to mysql and postgres, an acceptance test verifies
  the system can be successfully installed using a blank
  installation and using the introduction package.

* bamboo plan spec is adapted to execute the sqlite installer suite

* testing-framework is raised to 3.8.1 supporting the ac test:
  composer update typo3/testing-framework

Resolves: #85256
Releases: master
Change-Id: I91a8c98f868b5e29bee4ad7dedd3cc8c50346452
Reviewed-on: https://review.typo3.org/55563
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
12 files changed:
Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Build/bamboo/src/main/java/core/NightlySpec.java
Build/bamboo/src/main/java/core/PreMergeSpec.java
composer.lock
typo3/sysext/core/Documentation/Changelog/master/Feature-85256-InstallTYPO3OnSQLite.rst [new file with mode: 0644]
typo3/sysext/core/Tests/AcceptanceInstallMysql/InstallWithMysqlIntroductionPackageCest.php
typo3/sysext/core/Tests/AcceptanceInstallPgsql/InstallWithPgsqlIntroductionPackageCest.php
typo3/sysext/core/Tests/AcceptanceInstallSqlite.suite.yml [new file with mode: 0644]
typo3/sysext/core/Tests/AcceptanceInstallSqlite/InstallWithSqliteBlankPageCest.php [new file with mode: 0644]
typo3/sysext/core/Tests/AcceptanceInstallSqlite/InstallWithSqliteIntroductionPackageCest.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/InstallerController.php
typo3/sysext/install/Resources/Private/Templates/Installer/ShowDatabaseConnect.html