[FEATURE] ext:install Core update 96/24396/12
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 5 Oct 2013 09:45:24 +0000 (11:45 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 7 Oct 2013 22:14:17 +0000 (00:14 +0200)
commit710b44e58cc2354464f1e7e1e089c67f2c321a5d
treef34e1a7cd07df4888bbc53bc024eb574c31a0825
parent1dcb94c3e2344ccd226b75e67ffc9cd6b81c144b
[FEATURE] ext:install Core update

The patch provides the code infrastructure to test for possible
core updates using information from get.typo3.org and implements
a "one-click" update within "important actions".

The update itself is implemented as a list of ajax calls performed
after each other to have minimal impact and side effects to current
core code.

The service classes "CoreVersionService" and "CoreUpdateService"
contain the main business logic and may be used in a reports module
or scheduler task later on.

Change-Id: I5947252ca805b237b513fdafcf2696e9da586fc0
Resolves: #52547
Releases: 6.2
Reviewed-on: https://review.typo3.org/24396
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
25 files changed:
typo3/sysext/core/Classes/Utility/VersionNumberUtility.php
typo3/sysext/install/Classes/Controller/Action/AbstractAction.php
typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateActivate.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateCheckPreConditions.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateDownload.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateIsUpdateAvailable.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateMove.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateUnpack.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Ajax/CoreUpdateUpdateVersionMatrix.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/AjaxController.php
typo3/sysext/install/Classes/Service/CoreUpdateService.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/CoreVersionService.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/Exception.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/Exception/CoreVersionServiceException.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/Exception/RemoteFetchException.php [new file with mode: 0644]
typo3/sysext/install/Classes/View/JsonView.php [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/CoreUpdateButton.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Templates/Action/Tool/ImportantActions.html
typo3/sysext/install/Resources/Public/Javascript/Install.js
typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/Service/Fixtures/VersionMatrixFixture.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/Status/StatusUtilityTest.php
typo3/sysext/install/Tests/Unit/View/JsonViewTest.php [new file with mode: 0644]