[!!!][FEATURE] Allow reloading of backend topbar 83/51183/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 7 Jan 2017 19:14:37 +0000 (20:14 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 9 Jan 2017 18:35:07 +0000 (19:35 +0100)
commitd038714421b225e9c7a69bca95244e051933117b
tree1f52f2d4fdfd158f7575854460d8d0af6681b62c
parent6e0aa6a57f5da8e12d2f057321ba4d487ce99cad
[!!!][FEATURE] Allow reloading of backend topbar

A new API is introduced that allows to reload the backend’s topbar.
The reload may be triggered via JavaScript and PHP.

As the registered events of the toolbar items within the topbar get lost
after reloading, the event registration for these toolbar items needs
some adoption.

The topbar is now reloaded in case of:
- updating the user's avatar
- after configuring an extension
- opening the EXT:belog module from the System Information menu

Resolves: #79196
Releases: master
Change-Id: Ib6b65d7327c9db2b818ad9ad549cb2f2f00d1595
Reviewed-on: https://review.typo3.org/51183
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
20 files changed:
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Configuration/Backend/AjaxRoutes.php
typo3/sysext/backend/Resources/Private/Partials/Backend/Topbar.html [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Templates/Backend/Main.html
typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js
typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ShortcutMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/SystemInformationMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js
typo3/sysext/core/Documentation/Changelog/master/Breaking-79196-ToolbarItemEventHandlingChanged.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-79196-AllowReloadOfTopbar.rst [new file with mode: 0644]
typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php
typo3/sysext/extensionmanager/Classes/Controller/ActionController.php
typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php
typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/Be/TriggerViewHelper.php
typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js
typo3/sysext/setup/Classes/Controller/SetupModuleController.php
typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js