[TASK] Add button to reload static database data of an extension 64/51864/2
authorNicole Cordes <typo3@cordes.co>
Fri, 13 Jan 2017 19:16:20 +0000 (20:16 +0100)
committerNicole Cordes <typo3@cordes.co>
Sun, 26 Feb 2017 20:19:06 +0000 (21:19 +0100)
commit94d50701676c156b72b173142ff61caae0be5263
treef8df80335a03762909d50c69896d84ed447931f3
parent83160cef71748268c2c5caa51c598a7f2a4f1fe4
[TASK] Add button to reload static database data of an extension

This patch re-adds the possibility to manually trigger a reload of
static database data an extension might ships. In the EM list view, an
inconspicuous button is added for each extension which has an own
ext_tables_static+adt.sql file. Furthermore the import is changed, so
that a md5 hash of the file content is stored in the database. If the
extension is updated and the content if the file changes, a more visible
button is shown to indicate an update should be considered.

Resolves: #60748
Releases: master, 7.6
Change-Id: I8ccb01d7e1f98a4adfc70a4d1aa80db4e76bbc9d
Reviewed-on: https://review.typo3.org/51864
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/extensionmanager/Classes/Controller/ActionController.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/ReloadSqlDataViewHelper.php [new file with mode: 0644]
typo3/sysext/extensionmanager/Resources/Private/Language/locallang.xlf
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
typo3/sysext/extensionmanager/ext_tables.php