Skip to content

Commit

Permalink
EZP-32002: Move system information UI to be a part of ez-support-tools (
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed Oct 13, 2020
1 parent 4dceaa6 commit ee8ca23
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 1,257 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"jms/translation-bundle": "^1.5",
"ezsystems/ezplatform-kernel": "^1.2@dev",
"ezsystems/ezplatform-content-forms": "^1.0@dev",
"ezsystems/ez-support-tools": "^2.0@dev",
"ezsystems/ezplatform-design-engine": "^3.0@dev",
"ezsystems/ezplatform-user": "^2.0@dev",
"ezsystems/ezplatform-richtext": "^2.0@dev",
Expand Down
57 changes: 0 additions & 57 deletions src/bundle/Controller/SystemInfoController.php

This file was deleted.

38 changes: 0 additions & 38 deletions src/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPass.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/bundle/EzPlatformAdminUiBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\LimitationFormMapperPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\LimitationValueMapperPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\SecurityLoginPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\SystemInfoTabGroupPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\TabPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\UiConfigProviderPass;
use EzSystems\EzPlatformAdminUiBundle\DependencyInjection\Compiler\ViewBuilderRegistryPass;
Expand Down Expand Up @@ -48,7 +47,6 @@ private function addCompilerPasses(ContainerBuilder $container)
{
$container->addCompilerPass(new TabPass());
$container->addCompilerPass(new UiConfigProviderPass());
$container->addCompilerPass(new SystemInfoTabGroupPass());
$container->addCompilerPass(new ComponentPass());
$container->addCompilerPass(new SecurityLoginPass());
$container->addCompilerPass(new ViewBuilderRegistryPass());
Expand Down
23 changes: 0 additions & 23 deletions src/bundle/Resources/config/default_parameters.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
parameters:
ezsettings.global.system_info_view:
pjax_tab:
composer:
template: '@@ezdesign/system_info/composer.html.twig'
match:
SystemInfo\Identifier: 'composer'
database:
template: '@@ezdesign/system_info/database.html.twig'
match:
SystemInfo\Identifier: 'database'
hardware:
template: '@@ezdesign/system_info/hardware.html.twig'
match:
SystemInfo\Identifier: 'hardware'
php:
template: '@@ezdesign/system_info/php.html.twig'
match:
SystemInfo\Identifier: 'php'
symfony_kernel:
template: '@@ezdesign/system_info/symfony_kernel.html.twig'
match:
SystemInfo\Identifier: 'symfony_kernel'

ezsettings.admin_group.content_type.about:
thumbnail: '/bundles/ezplatformadminui/img/ez-icons.svg#about'
ezsettings.admin_group.content_type.article:
Expand Down
14 changes: 0 additions & 14 deletions src/bundle/Resources/config/routing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ ezplatform.dashboard:
defaults:
_controller: 'EzSystems\EzPlatformAdminUiBundle\Controller\DashboardController::dashboardAction'

#
# System Information
#

ezplatform.systeminfo:
path: /systeminfo
defaults:
_controller: 'EzSystems\EzPlatformAdminUiBundle\Controller\SystemInfoController::infoAction'

ezplatform.systeminfo.php:
path: /systeminfo/phpinfo
defaults:
_controller: 'EzSystems\EzPlatformAdminUiBundle\Controller\SystemInfoController::phpinfoAction'

#
# Section
#
Expand Down
9 changes: 0 additions & 9 deletions src/bundle/Resources/config/services/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,3 @@ services:
$groupIdentifier: 'dashboard-everyone'
tags:
- { name: ezplatform.admin_ui.component, group: 'dashboard-all-tab-groups' }

EzSystems\EzPlatformAdminUi\Component\Dashboard\EzInfoTwigComponent:
autowire: true
arguments:
$template: '@@ezdesign/ui/dashboard/block/ez.html.twig'
$ezSystemInfo: "@=service('support_tools.system_info.collector.system.ez').collect()"
$urlList: '%support_tools.ez_url_list%'
tags:
- { name: ezplatform.admin_ui.component, group: 'dashboard-blocks', priority: 200 }
3 changes: 0 additions & 3 deletions src/bundle/Resources/config/services/service_aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ services:
# Repository Forms
EzSystems\EzPlatformAdminUi\Form\Type\Role\LimitationType: '@ezplatform.content_forms.policy.limitation.form'

# Support Tools
EzSystems\EzSupportToolsBundle\SystemInfo\SystemInfoCollectorRegistry: '@support_tools.system_info.collector_registry'

# Symfony
Symfony\Contracts\Translation\TranslatorInterface: '@translator'
1 change: 0 additions & 1 deletion src/bundle/Resources/config/services/tabs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
imports:
- { resource: tabs/locationview.yaml }
- { resource: tabs/content_type.yaml }
- { resource: tabs/systeminfo.yaml }
- { resource: tabs/url_management.yaml }

services:
Expand Down
20 changes: 0 additions & 20 deletions src/bundle/Resources/config/services/tabs/systeminfo.yaml

This file was deleted.

Loading

0 comments on commit ee8ca23

Please sign in to comment.