Skip to content

Commit

Permalink
[Task] Remove adminer as Database Explorer (pimcore#13921)
Browse files Browse the repository at this point in the history
* Task: remove adminer

* Update doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md

Co-authored-by: Sebastian Blank <[email protected]>

* Update doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md

Co-authored-by: Sebastian Blank <[email protected]>

Co-authored-by: Sebastian Blank <[email protected]>
  • Loading branch information
kingjia90 and blankse authored Jan 3, 2023
1 parent 006b3c0 commit 4e55d6e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 306 deletions.
19 changes: 2 additions & 17 deletions bundles/AdminBundle/public/js/pimcore/layout/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,18 +442,7 @@
}
);
}

if (perspectiveCfg.inToolbar("extras.systemtools.database")) {
systemItems.push(
{
text: t("database_administration"),
iconCls: "pimcore_nav_icon_mysql",
itemId: 'pimcore_menu_extras_system_info_database_administration',
handler: this.showAdminer
}
);
}


if (perspectiveCfg.inToolbar("extras.systemtools.fileexplorer")) {
systemItems.push(
{
Expand Down Expand Up @@ -1654,11 +1643,7 @@
showSystemRequirementsCheck: function () {
pimcore.helpers.openGenericIframeWindow("systemrequirementscheck", Routing.generate('pimcore_admin_install_check'), "pimcore_icon_systemrequirements", "System-Requirements Check");
},

showAdminer: function () {
pimcore.helpers.openGenericIframeWindow("adminer", Routing.generate('pimcore_admin_external_adminer_adminer'), "pimcore_icon_mysql", "Database Admin");
},


showElementHistory: function() {
try {
pimcore.globalmanager.get("element_history").activate();
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ public function handleRequest(RequestEvent $event)

// external applications
'pimcore_admin_external_opcache_index',
'pimcore_admin_external_adminer_adminer', 'pimcore_admin_external_adminer_proxy',
'pimcore_admin_external_adminer_proxy_1', 'pimcore_admin_external_adminer_proxy_2',
];

$route = $request->attributes->get('_route');
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
"twig/string-extra": "^3.0.4",
"rybakit/twig-deferred-extension": "^3.0",
"umpirsky/country-list": "^2.0.6",
"vrana/adminer": "^4.8.0",
"vrana/jush": "~2.0.2",
"scheb/2fa-bundle": "^6.0",
"scheb/2fa-google-authenticator": "^6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ server {
}
# Some Admin Modules need this:
# Database Admin, Server Info
location ~* ^/admin/(adminer|external) {
# Server Info, Opcache
location ~* ^/admin/external {
rewrite .* /index.php$is_args$args last;
}
Expand Down Expand Up @@ -392,8 +392,8 @@ server {
}
# Some Admin Modules need this:
# Database Admin, Server Info
location ~* ^/admin/(adminer|external) {
# Server Info, Opcache
location ~* ^/admin/external {
rewrite .* /index.php$is_args$args last;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ Please make sure to set your preferred storage location ***before*** migration.
- [Ecommerce] Elasticsearch 7 support was removed
- [Ecommerce] Config option `es_client_params` in `index_service` was removed
- [ClassSavedInterface] Removed `method_exists` bc layer. Please add the corresponding `ClassSavedInterface` interface to your custom field definitions. For more details check the 10.6.0 patch notes.

- [Admin] Removed `adminer` as built-in database management tool.

## 10.6.0
- [Session] The `getHandler`, `setHandler`, `useSession`, `getSessionId`, `getSessionName`, `invalidate`, `regenerateId`, `requestHasSessionId`, `getSessionIdFromRequest`, `get`, `getReadOnly` and `writeClose` methods of `Pimcore\Tool\Session` and class `PreAuthenticatedAdminSessionFactory` are deprecated and get removed with Pimcore 11. Session Management will be handled by Symfony in Pimcore 11.
- [AreabrickManagerInterface] The `enable`, `disable`, `isEnabled` and `getState` methods of `Pimcore\Extension\Document\Areabrick\AreabrickManagerInterface` are deprecated as maintaining state of extensions is deprecated. This impacts `\Pimcore\Document\Editable\EditableHandler::isBrickEnabled()` method which is also deprecated.
Expand Down
1 change: 0 additions & 1 deletion phpstan-parameters.neon
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ parameters:
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml

excludePaths:
- '**/External/AdminerController.php'
- '**/Processor/PdfReactor.php'
- '**/PDFreactor.class.php'

Expand Down

0 comments on commit 4e55d6e

Please sign in to comment.