Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-32002: Move system information UI to be a part of ez-support-tools #1569

Merged
merged 11 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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