Skip to content

Commit

Permalink
Merge pull request #38 from mehrwert/bugfix-37-and-cleanup
Browse files Browse the repository at this point in the history
[BUGFIX] Start vendor name with capital letter
  • Loading branch information
abeutel authored Feb 10, 2020
2 parents 822549c + 5eb9008 commit c43e741
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
7 changes: 5 additions & 2 deletions Classes/Backend/PmaModule.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace mehrwert\Phpmyadmin\Backend;
namespace Mehrwert\Phpmyadmin\Backend;

/*
* This file is part of the TYPO3 CMS project.
Expand Down Expand Up @@ -75,7 +75,10 @@ public function main()
$this->MCONF = $MCONF;

// Get config
$extensionConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['phpmyadmin']);
$extensionConfiguration = unserialize(
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['phpmyadmin'],
['allowed_classes' => false]
);

// IP-based Access restrictions
$devIPmask = trim($GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask']);
Expand Down
4 changes: 2 additions & 2 deletions Classes/Controller/PhpmyadminController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace mehrwert\Phpmyadmin\Controller;
namespace Mehrwert\Phpmyadmin\Controller;

/*
* This file is part of the TYPO3 CMS project.
Expand Down Expand Up @@ -27,6 +27,6 @@ class PhpmyadminController extends ActionController
*/
public function indexAction()
{
return GeneralUtility::makeInstance(\mehrwert\Phpmyadmin\Backend\PmaModule::class);
return GeneralUtility::makeInstance(\Mehrwert\Phpmyadmin\Backend\PmaModule::class);
}
}
2 changes: 1 addition & 1 deletion Classes/Hooks/BeUserAuthLogOffHook.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace mehrwert\Phpmyadmin\Hooks;
namespace Mehrwert\Phpmyadmin\Hooks;

/*
* This file is part of the TYPO3 CMS project.
Expand Down
7 changes: 6 additions & 1 deletion Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ Change Log

The following is an overview of the changes in this extension. For more details `read the online log <https://github.com/mehrwert/TYPO3-phpMyAdmin>`_.

2020-02-10 Andreas Beutel - Version 5.6.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- [BUGFIX] Vendor name must begin with Capital letter - GH#37 (thanks to ashupatel1990 for reporting this)
- [TASK] Update release notes of 5.5.0 release to include reference to PMASA-2019-5 fixed in 4.9.2

2020-02-08 Andreas Beutel - Version 5.5.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- [FEATURE] Updated pMA to the latest stable 4.9.x release (4.9.4)
- [SECURITY] Includes serious vendor security fix
- `PMASA-2020-1 <https://www.phpmyadmin.net/security/PMASA-2020-1/>`_: SQL injection in user accounts page

- `PMASA-2019-5 <https://www.phpmyadmin.net/security/PMASA-2019-5/>`_: SQL injection in Designer feature

2019-08-03 Andreas Beutel - Version 5.4.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

project = phpMyAdmin for TYPO3
version = 5.5
release = 5.5.0
release = 5.6.0
t3author = mehrwert intermediale kommunikation GmbH
copyright = since 2002 by the authors

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"autoload": {
"psr-4": {
"mehrwert\\Phpmyadmin\\": "Classes"
"Mehrwert\\Phpmyadmin\\": "Classes"
}
}
}
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'description' => 'Third party \'phpMyAdmin\' administration module. Access to admin-users only.',
'category' => 'module',
'shy' => 0,
'version' => '5.5.0',
'version' => '5.6.0',
'dependencies' => '',
'conflicts' => '',
'priority' => '',
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
// Do not load post processing class if TYPO3 is in CLI mode
if (!defined('TYPO3_cliMode') || TYPO3_cliMode !== true) {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][] =
'mehrwert\\Phpmyadmin\\Hooks\\BeUserAuthLogOffHook->pmaLogOff';
'Mehrwert\\Phpmyadmin\\Hooks\\BeUserAuthLogOffHook->pmaLogOff';
}

0 comments on commit c43e741

Please sign in to comment.