Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 8514706407e81e5fdd26046fe8e049f4301e0ef5
https://github.com/phpmyadmin/phpmyadmin/commit/8514706407e81e5fdd26046fe8e…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-21 (Mon, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Controllers/Export/ExportController.php
Log Message:
-----------
Fix an exception when downloading an exported file
The output buffering is disabled causing the SapiEmitter to throw an
exception and the exception message is appended to the file.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 78a33f1ff124d102b067e21d1b9b58f31a16c166
https://github.com/phpmyadmin/phpmyadmin/commit/78a33f1ff124d102b067e21d1b9…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-20 (Sun, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Config.php
M libraries/classes/Middleware/Authentication.php
M libraries/classes/Middleware/DatabaseServerVersionChecking.php
M libraries/classes/Middleware/LoginCookieValiditySetting.php
M libraries/classes/Middleware/ResponseRendererLoading.php
M libraries/classes/Middleware/SqlDelimiterSetting.php
M test/classes/ConfigTest.php
Log Message:
-----------
Add the Config::hasSelectedServer() method
Avoids the need of checking if $GLOBALS['cfg']['Server'] is empty.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 0f31d662742fb3c45e93d924874e015e9b5e2d8d
https://github.com/phpmyadmin/phpmyadmin/commit/0f31d662742fb3c45e93d924874…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-20 (Sun, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Config.php
M libraries/classes/Config/Settings/Server.php
M libraries/classes/ConfigStorage/Relation.php
M libraries/classes/Console.php
M libraries/classes/Controllers/Console/Bookmark/AddController.php
M libraries/classes/Controllers/Database/ImportController.php
M libraries/classes/Controllers/Database/OperationsController.php
M libraries/classes/Controllers/Database/RoutinesController.php
M libraries/classes/Controllers/Database/Structure/FavoriteTableController.php
M libraries/classes/Controllers/Database/StructureController.php
M libraries/classes/Controllers/Database/TrackingController.php
M libraries/classes/Controllers/Export/Template/CreateController.php
M libraries/classes/Controllers/Export/Template/DeleteController.php
M libraries/classes/Controllers/Export/Template/LoadController.php
M libraries/classes/Controllers/Export/Template/UpdateController.php
M libraries/classes/Controllers/HomeController.php
M libraries/classes/Controllers/Import/ImportController.php
M libraries/classes/Controllers/Preferences/ExportController.php
M libraries/classes/Controllers/Preferences/FeaturesController.php
M libraries/classes/Controllers/Preferences/ImportController.php
M libraries/classes/Controllers/Preferences/MainPanelController.php
M libraries/classes/Controllers/Preferences/NavigationController.php
M libraries/classes/Controllers/Preferences/SqlController.php
M libraries/classes/Controllers/Preferences/TwoFactorController.php
M libraries/classes/Controllers/Server/CollationsController.php
M libraries/classes/Controllers/Server/Databases/CreateController.php
M libraries/classes/Controllers/Server/DatabasesController.php
M libraries/classes/Controllers/Server/ImportController.php
M libraries/classes/Controllers/Table/ImportController.php
M libraries/classes/Controllers/Table/OperationsController.php
M libraries/classes/Controllers/Table/StructureController.php
M libraries/classes/Controllers/UserPasswordController.php
M libraries/classes/Database/CentralColumns.php
M libraries/classes/Database/Designer.php
M libraries/classes/Database/Designer/Common.php
M libraries/classes/Database/Events.php
M libraries/classes/Database/Routines.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/Export/Options.php
M libraries/classes/Footer.php
M libraries/classes/Header.php
M libraries/classes/Html/Generator.php
M libraries/classes/Import/Import.php
M libraries/classes/IpAllowDeny.php
M libraries/classes/ListDatabase.php
M libraries/classes/Menu.php
M libraries/classes/Middleware/Authentication.php
M libraries/classes/Navigation/Navigation.php
M libraries/classes/Navigation/NavigationTree.php
M libraries/classes/Navigation/Nodes/Node.php
M libraries/classes/Navigation/Nodes/NodeDatabase.php
M libraries/classes/Navigation/Nodes/NodeTable.php
M libraries/classes/Normalization.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/Auth/AuthenticationHttp.php
M libraries/classes/Plugins/Auth/AuthenticationSignon.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/AuthenticationPluginFactory.php
M libraries/classes/Plugins/Export/ExportLatex.php
M libraries/classes/Plugins/Export/ExportSql.php
M libraries/classes/Plugins/Export/ExportXml.php
M libraries/classes/RecentFavoriteTable.php
M libraries/classes/Server/Plugins.php
M libraries/classes/Server/Status/Data.php
M libraries/classes/Sql.php
M libraries/classes/SqlQueryForm.php
M libraries/classes/Table.php
M libraries/classes/Table/ColumnsDefinition.php
M libraries/classes/Tracking/Tracker.php
M libraries/classes/Tracking/Tracking.php
M libraries/classes/Triggers/Triggers.php
M libraries/classes/UserPreferences.php
M libraries/classes/Util.php
M libraries/classes/Utils/SessionCache.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/BookmarkTest.php
M test/classes/CheckUserPrivilegesTest.php
M test/classes/Config/PageSettingsTest.php
M test/classes/Config/Settings/ServerTest.php
M test/classes/ConfigStorage/RelationTest.php
M test/classes/ConfigTest.php
M test/classes/Controllers/BrowseForeignersControllerTest.php
M test/classes/Controllers/Console/Bookmark/AddControllerTest.php
M test/classes/Controllers/Database/EventsControllerTest.php
M test/classes/Controllers/Database/PrivilegesControllerTest.php
M test/classes/Controllers/Database/RoutinesControllerTest.php
M test/classes/Controllers/Database/Structure/RealRowCountControllerTest.php
M test/classes/Controllers/Database/StructureControllerTest.php
M test/classes/Controllers/Export/Template/CreateControllerTest.php
M test/classes/Controllers/Export/Template/DeleteControllerTest.php
M test/classes/Controllers/Export/Template/LoadControllerTest.php
M test/classes/Controllers/Export/Template/UpdateControllerTest.php
M test/classes/Controllers/Import/ImportControllerTest.php
M test/classes/Controllers/NavigationControllerTest.php
M test/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php
M test/classes/Controllers/Normalization/CreateNewColumnControllerTest.php
M test/classes/Controllers/Server/BinlogControllerTest.php
M test/classes/Controllers/Server/CollationsControllerTest.php
M test/classes/Controllers/Server/Databases/CreateControllerTest.php
M test/classes/Controllers/Server/DatabasesControllerTest.php
M test/classes/Controllers/Server/EnginesControllerTest.php
M test/classes/Controllers/Server/PluginsControllerTest.php
M test/classes/Controllers/Server/PrivilegesControllerTest.php
M test/classes/Controllers/Server/ShowEngineControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/Controllers/Server/VariablesControllerTest.php
M test/classes/Controllers/Table/AddFieldControllerTest.php
M test/classes/Controllers/Table/CreateControllerTest.php
M test/classes/Controllers/Table/DeleteRowsControllerTest.php
M test/classes/Controllers/Table/ExportControllerTest.php
M test/classes/Controllers/Table/FindReplaceControllerTest.php
M test/classes/Controllers/Table/ImportControllerTest.php
M test/classes/Controllers/Table/IndexesControllerTest.php
M test/classes/Controllers/Table/PrivilegesControllerTest.php
M test/classes/Controllers/Table/RelationControllerTest.php
M test/classes/Controllers/Table/ReplaceControllerTest.php
M test/classes/Controllers/Table/SearchControllerTest.php
M test/classes/Controllers/Table/SqlControllerTest.php
M test/classes/Controllers/Table/Structure/ChangeControllerTest.php
M test/classes/Controllers/Table/StructureControllerTest.php
M test/classes/Controllers/Table/TrackingControllerTest.php
M test/classes/Controllers/Table/ZoomSearchControllerTest.php
M test/classes/Controllers/Triggers/IndexControllerTest.php
M test/classes/Database/CentralColumnsTest.php
M test/classes/Database/Designer/CommonTest.php
M test/classes/Database/EventsTest.php
M test/classes/Database/RoutinesTest.php
M test/classes/DatabaseInterfaceTest.php
M test/classes/Display/ResultsTest.php
M test/classes/Export/ExportTest.php
M test/classes/Export/OptionsTest.php
M test/classes/FooterTest.php
M test/classes/HeaderTest.php
M test/classes/Html/GeneratorTest.php
M test/classes/IpAllowDenyTest.php
M test/classes/ListDatabaseTest.php
M test/classes/MenuTest.php
M test/classes/Navigation/NavigationTest.php
M test/classes/Navigation/NavigationTreeTest.php
M test/classes/Navigation/Nodes/NodeDatabaseTest.php
M test/classes/Navigation/Nodes/NodeTest.php
M test/classes/NormalizationTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/Plugins/Auth/AuthenticationHttpTest.php
M test/classes/Plugins/Auth/AuthenticationSignonTest.php
M test/classes/Plugins/AuthenticationPluginFactoryTest.php
M test/classes/Plugins/Export/ExportHtmlwordTest.php
M test/classes/Plugins/Export/ExportLatexTest.php
M test/classes/Plugins/Export/ExportOdtTest.php
M test/classes/Plugins/Export/ExportSqlTest.php
M test/classes/Plugins/Export/ExportTexytextTest.php
M test/classes/Plugins/Export/ExportXmlTest.php
M test/classes/Plugins/Import/ImportCsvTest.php
M test/classes/Plugins/Import/ImportLdiTest.php
M test/classes/Plugins/Import/ImportMediawikiTest.php
M test/classes/Plugins/Import/ImportOdsTest.php
M test/classes/Plugins/Import/ImportShpTest.php
M test/classes/Plugins/Import/ImportSqlTest.php
M test/classes/Plugins/Import/ImportXmlTest.php
M test/classes/Plugins/Schema/DiaRelationSchemaTest.php
M test/classes/Plugins/Schema/EpsRelationSchemaTest.php
M test/classes/Plugins/Schema/PdfRelationSchemaTest.php
M test/classes/Plugins/Schema/SvgRelationSchemaTest.php
M test/classes/Server/PluginsTest.php
M test/classes/Server/PrivilegesTest.php
M test/classes/SqlQueryFormTest.php
M test/classes/SqlTest.php
M test/classes/SystemDatabaseTest.php
M test/classes/Table/ColumnsDefinitionTest.php
M test/classes/Table/IndexesTest.php
M test/classes/TableTest.php
M test/classes/Tracking/TrackerTest.php
M test/classes/Tracking/TrackingTest.php
M test/classes/TransformationsTest.php
M test/classes/Triggers/TriggersTest.php
M test/classes/TwoFactorTest.php
M test/classes/UserPreferencesTest.php
M test/classes/UtilTest.php
M test/classes/Utils/SessionCacheTest.php
Log Message:
-----------
Replace $GLOBALS['cfg']['Server'] with Config::$selectedServer
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 719ec0aafd827ce2d704155d57925d828a945102
https://github.com/phpmyadmin/phpmyadmin/commit/719ec0aafd827ce2d704155d579…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-20 (Sun, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Config.php
M libraries/classes/Config/Settings/Server.php
M libraries/classes/ConfigStorage/Relation.php
M libraries/classes/Console.php
M libraries/classes/Controllers/Console/Bookmark/AddController.php
M libraries/classes/Controllers/Database/ImportController.php
M libraries/classes/Controllers/Database/OperationsController.php
M libraries/classes/Controllers/Database/RoutinesController.php
M libraries/classes/Controllers/Database/Structure/FavoriteTableController.php
M libraries/classes/Controllers/Database/StructureController.php
M libraries/classes/Controllers/Database/TrackingController.php
M libraries/classes/Controllers/Export/Template/CreateController.php
M libraries/classes/Controllers/Export/Template/DeleteController.php
M libraries/classes/Controllers/Export/Template/LoadController.php
M libraries/classes/Controllers/Export/Template/UpdateController.php
M libraries/classes/Controllers/HomeController.php
M libraries/classes/Controllers/Import/ImportController.php
M libraries/classes/Controllers/Preferences/ExportController.php
M libraries/classes/Controllers/Preferences/FeaturesController.php
M libraries/classes/Controllers/Preferences/ImportController.php
M libraries/classes/Controllers/Preferences/MainPanelController.php
M libraries/classes/Controllers/Preferences/NavigationController.php
M libraries/classes/Controllers/Preferences/SqlController.php
M libraries/classes/Controllers/Preferences/TwoFactorController.php
M libraries/classes/Controllers/Server/CollationsController.php
M libraries/classes/Controllers/Server/Databases/CreateController.php
M libraries/classes/Controllers/Server/DatabasesController.php
M libraries/classes/Controllers/Server/ImportController.php
M libraries/classes/Controllers/Table/ImportController.php
M libraries/classes/Controllers/Table/OperationsController.php
M libraries/classes/Controllers/Table/StructureController.php
M libraries/classes/Controllers/UserPasswordController.php
M libraries/classes/Database/CentralColumns.php
M libraries/classes/Database/Designer.php
M libraries/classes/Database/Designer/Common.php
M libraries/classes/Database/Events.php
M libraries/classes/Database/Routines.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/Export/Options.php
M libraries/classes/Footer.php
M libraries/classes/Header.php
M libraries/classes/Html/Generator.php
M libraries/classes/Import/Import.php
M libraries/classes/IpAllowDeny.php
M libraries/classes/ListDatabase.php
M libraries/classes/Menu.php
M libraries/classes/Middleware/Authentication.php
M libraries/classes/Middleware/DatabaseServerVersionChecking.php
M libraries/classes/Middleware/LoginCookieValiditySetting.php
M libraries/classes/Middleware/ResponseRendererLoading.php
M libraries/classes/Middleware/SqlDelimiterSetting.php
M libraries/classes/Navigation/Navigation.php
M libraries/classes/Navigation/NavigationTree.php
M libraries/classes/Navigation/Nodes/Node.php
M libraries/classes/Navigation/Nodes/NodeDatabase.php
M libraries/classes/Navigation/Nodes/NodeTable.php
M libraries/classes/Normalization.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/Auth/AuthenticationHttp.php
M libraries/classes/Plugins/Auth/AuthenticationSignon.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/AuthenticationPluginFactory.php
M libraries/classes/Plugins/Export/ExportLatex.php
M libraries/classes/Plugins/Export/ExportSql.php
M libraries/classes/Plugins/Export/ExportXml.php
M libraries/classes/RecentFavoriteTable.php
M libraries/classes/Server/Plugins.php
M libraries/classes/Server/Status/Data.php
M libraries/classes/Sql.php
M libraries/classes/SqlQueryForm.php
M libraries/classes/Table.php
M libraries/classes/Table/ColumnsDefinition.php
M libraries/classes/Tracking/Tracker.php
M libraries/classes/Tracking/Tracking.php
M libraries/classes/Triggers/Triggers.php
M libraries/classes/UserPreferences.php
M libraries/classes/Util.php
M libraries/classes/Utils/SessionCache.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/BookmarkTest.php
M test/classes/CheckUserPrivilegesTest.php
M test/classes/Config/PageSettingsTest.php
M test/classes/Config/Settings/ServerTest.php
M test/classes/ConfigStorage/RelationTest.php
M test/classes/ConfigTest.php
M test/classes/Controllers/BrowseForeignersControllerTest.php
M test/classes/Controllers/Console/Bookmark/AddControllerTest.php
M test/classes/Controllers/Database/EventsControllerTest.php
M test/classes/Controllers/Database/PrivilegesControllerTest.php
M test/classes/Controllers/Database/RoutinesControllerTest.php
M test/classes/Controllers/Database/Structure/RealRowCountControllerTest.php
M test/classes/Controllers/Database/StructureControllerTest.php
M test/classes/Controllers/Export/Template/CreateControllerTest.php
M test/classes/Controllers/Export/Template/DeleteControllerTest.php
M test/classes/Controllers/Export/Template/LoadControllerTest.php
M test/classes/Controllers/Export/Template/UpdateControllerTest.php
M test/classes/Controllers/Import/ImportControllerTest.php
M test/classes/Controllers/NavigationControllerTest.php
M test/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php
M test/classes/Controllers/Normalization/CreateNewColumnControllerTest.php
M test/classes/Controllers/Server/BinlogControllerTest.php
M test/classes/Controllers/Server/CollationsControllerTest.php
M test/classes/Controllers/Server/Databases/CreateControllerTest.php
M test/classes/Controllers/Server/DatabasesControllerTest.php
M test/classes/Controllers/Server/EnginesControllerTest.php
M test/classes/Controllers/Server/PluginsControllerTest.php
M test/classes/Controllers/Server/PrivilegesControllerTest.php
M test/classes/Controllers/Server/ShowEngineControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/Controllers/Server/VariablesControllerTest.php
M test/classes/Controllers/Table/AddFieldControllerTest.php
M test/classes/Controllers/Table/CreateControllerTest.php
M test/classes/Controllers/Table/DeleteRowsControllerTest.php
M test/classes/Controllers/Table/ExportControllerTest.php
M test/classes/Controllers/Table/FindReplaceControllerTest.php
M test/classes/Controllers/Table/ImportControllerTest.php
M test/classes/Controllers/Table/IndexesControllerTest.php
M test/classes/Controllers/Table/PrivilegesControllerTest.php
M test/classes/Controllers/Table/RelationControllerTest.php
M test/classes/Controllers/Table/ReplaceControllerTest.php
M test/classes/Controllers/Table/SearchControllerTest.php
M test/classes/Controllers/Table/SqlControllerTest.php
M test/classes/Controllers/Table/Structure/ChangeControllerTest.php
M test/classes/Controllers/Table/StructureControllerTest.php
M test/classes/Controllers/Table/TrackingControllerTest.php
M test/classes/Controllers/Table/ZoomSearchControllerTest.php
M test/classes/Controllers/Triggers/IndexControllerTest.php
M test/classes/Database/CentralColumnsTest.php
M test/classes/Database/Designer/CommonTest.php
M test/classes/Database/EventsTest.php
M test/classes/Database/RoutinesTest.php
M test/classes/DatabaseInterfaceTest.php
M test/classes/Display/ResultsTest.php
M test/classes/Export/ExportTest.php
M test/classes/Export/OptionsTest.php
M test/classes/FooterTest.php
M test/classes/HeaderTest.php
M test/classes/Html/GeneratorTest.php
M test/classes/IpAllowDenyTest.php
M test/classes/ListDatabaseTest.php
M test/classes/MenuTest.php
M test/classes/Navigation/NavigationTest.php
M test/classes/Navigation/NavigationTreeTest.php
M test/classes/Navigation/Nodes/NodeDatabaseTest.php
M test/classes/Navigation/Nodes/NodeTest.php
M test/classes/NormalizationTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/Plugins/Auth/AuthenticationHttpTest.php
M test/classes/Plugins/Auth/AuthenticationSignonTest.php
M test/classes/Plugins/AuthenticationPluginFactoryTest.php
M test/classes/Plugins/Export/ExportHtmlwordTest.php
M test/classes/Plugins/Export/ExportLatexTest.php
M test/classes/Plugins/Export/ExportOdtTest.php
M test/classes/Plugins/Export/ExportSqlTest.php
M test/classes/Plugins/Export/ExportTexytextTest.php
M test/classes/Plugins/Export/ExportXmlTest.php
M test/classes/Plugins/Import/ImportCsvTest.php
M test/classes/Plugins/Import/ImportLdiTest.php
M test/classes/Plugins/Import/ImportMediawikiTest.php
M test/classes/Plugins/Import/ImportOdsTest.php
M test/classes/Plugins/Import/ImportShpTest.php
M test/classes/Plugins/Import/ImportSqlTest.php
M test/classes/Plugins/Import/ImportXmlTest.php
M test/classes/Plugins/Schema/DiaRelationSchemaTest.php
M test/classes/Plugins/Schema/EpsRelationSchemaTest.php
M test/classes/Plugins/Schema/PdfRelationSchemaTest.php
M test/classes/Plugins/Schema/SvgRelationSchemaTest.php
M test/classes/Server/PluginsTest.php
M test/classes/Server/PrivilegesTest.php
M test/classes/SqlQueryFormTest.php
M test/classes/SqlTest.php
M test/classes/SystemDatabaseTest.php
M test/classes/Table/ColumnsDefinitionTest.php
M test/classes/Table/IndexesTest.php
M test/classes/TableTest.php
M test/classes/Tracking/TrackerTest.php
M test/classes/Tracking/TrackingTest.php
M test/classes/TransformationsTest.php
M test/classes/Triggers/TriggersTest.php
M test/classes/TwoFactorTest.php
M test/classes/UserPreferencesTest.php
M test/classes/UtilTest.php
M test/classes/Utils/SessionCacheTest.php
Log Message:
-----------
Merge pull request #18638 from MauricioFauth/selected-server-config
Replace `$GLOBALS['cfg']['Server']` with `Config::$selectedServer`
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 5e00948db646898c09b63b01a7f89f17e6fa7e6a
https://github.com/phpmyadmin/phpmyadmin/commit/5e00948db646898c09b63b01a7f…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-18 (Fri, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Controllers/Server/ShowEngineController.php
M libraries/classes/Controllers/Server/Status/Processes/KillController.php
M libraries/classes/Controllers/Server/Variables/GetVariableController.php
M libraries/classes/Controllers/Server/Variables/SetVariableController.php
M libraries/classes/Routing/Routing.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/Controllers/Server/ShowEngineControllerTest.php
Log Message:
-----------
Pass route variables as a ServerRequest attribute
Instead of an optional controller parameter.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: d2a52029c97c714c9d4e5d15156e04d76e4c0a46
https://github.com/phpmyadmin/phpmyadmin/commit/d2a52029c97c714c9d4e5d15156…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-18 (Fri, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Controllers/Server/ShowEngineController.php
M libraries/classes/Controllers/Server/Status/Processes/KillController.php
M libraries/classes/Controllers/Server/Variables/GetVariableController.php
M libraries/classes/Controllers/Server/Variables/SetVariableController.php
M libraries/classes/Routing/Routing.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/Controllers/Server/ShowEngineControllerTest.php
Log Message:
-----------
Merge pull request #18636 from MauricioFauth/route-variables
Pass route variables as a ServerRequest attribute
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 678a829f5f7c668ff91ad797f10d82243cd66887
https://github.com/phpmyadmin/phpmyadmin/commit/678a829f5f7c668ff91ad797f10…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-17 (Thu, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Application.php
M libraries/classes/Core.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Footer.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/ResponseRenderer.php
M libraries/services.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/ApplicationTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/FooterTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
Log Message:
-----------
Replace ErrorHandler global var with a singleton object
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 2d750385c06d8e2202f176d6d8b885256b36a258
https://github.com/phpmyadmin/phpmyadmin/commit/2d750385c06d8e2202f176d6d8b…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-17 (Thu, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Application.php
M libraries/classes/Core.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Footer.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/ResponseRenderer.php
M libraries/services.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/ApplicationTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/FooterTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
Log Message:
-----------
Merge pull request #18634 from MauricioFauth/error-handler-singleton
Replace ErrorHandler global var with a singleton object
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 2dd24efbe6000484548c06de57e6f3a8fec685d0
https://github.com/phpmyadmin/phpmyadmin/commit/2dd24efbe6000484548c06de57e…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-17 (Thu, 08 August 2023) -03:00
Changed paths:
A test/classes/Middleware/TokenRequestParamCheckingTest.php
M libraries/classes/Application.php
M libraries/classes/Middleware/DatabaseAndTableSetting.php
M libraries/classes/Middleware/PhpExtensionsChecking.php
M libraries/classes/Middleware/TokenRequestParamChecking.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/ApplicationTest.php
Log Message:
-----------
Extract Application methods to their respective middleware
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/website
Commit: 1d62c4eb245510bd1f7cdb119eb0cb79df3c08c5
https://github.com/phpmyadmin/website/commit/1d62c4eb245510bd1f7cdb119eb0cb…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-10 (Thu, 08 August 2023) -03:00
Changed paths:
A security/migrations/0008_auto_20230810_1748.py
M pmaweb/fixtures/test_data.json
Log Message:
-----------
Add migration and update test_data fixture
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: b1dd19f63df94a2f5d8a18a6767c60b34214c609
https://github.com/phpmyadmin/website/commit/b1dd19f63df94a2f5d8a18a6767c60…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-10 (Thu, 08 August 2023) -03:00
Changed paths:
M .github/workflows/tests.yml
M README.rst
M pmaweb/context_processors.py
M pmaweb/tests.py
M pmaweb/views.py
M requirements.txt
Log Message:
-----------
Upgrade to Django 2.2
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 8495090b74e9310b2e6a719abd4f7fecd0eb7181
https://github.com/phpmyadmin/website/commit/8495090b74e9310b2e6a719abd4f7f…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-10 (Thu, 08 August 2023) -03:00
Changed paths:
A demo/migrations/0003_alter_demo_id.py
A files/migrations/0008_auto_20230810_2019.py
A news/migrations/0005_auto_20230810_2019.py
A security/migrations/0009_alter_pmasa_id.py
A translations/migrations/0002_alter_translation_id.py
M pmaweb/fixtures/test_data.json
M pmaweb/settings.py
M pmaweb/templates/15-years.html
M pmaweb/templates/404.html
M pmaweb/templates/_sponsors.html
M pmaweb/templates/about-website.html
M pmaweb/templates/about.html
M pmaweb/templates/awards.html
M pmaweb/templates/base.html
M pmaweb/templates/contest.html
M pmaweb/templates/contractor.html
M pmaweb/templates/contribute.html
M pmaweb/templates/develop.html
M pmaweb/templates/docs.html
M pmaweb/templates/donate.html
M pmaweb/templates/downloads.html
M pmaweb/templates/index.html
M pmaweb/templates/license.html
M pmaweb/templates/news/post_archive.html
M pmaweb/templates/news/post_detail.html
M pmaweb/templates/security/index.html
M pmaweb/templates/security/pmasa_detail.html
M pmaweb/templates/sponsors-subscribe.html
M pmaweb/templates/sponsors.html
M pmaweb/templates/support.html
M pmaweb/templates/team.html
M pmaweb/templates/themes.html
M pmaweb/templates/translate.html
M pmaweb/templates/translations.html
M pmaweb/templates/try.html
M requirements.txt
Log Message:
-----------
Bump Django version to 3.2
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 6e275714a3d9dfe8cb1e8146fe4c811d4d27704f
https://github.com/phpmyadmin/website/commit/6e275714a3d9dfe8cb1e8146fe4c81…
Author: William Desportes <williamdes(a)wdes.fr>
Date: 2023-08-15 (Tue, 08 August 2023) +02:00
Changed paths:
A demo/migrations/0003_alter_demo_id.py
A files/migrations/0008_auto_20230810_2019.py
A news/migrations/0005_auto_20230810_2019.py
A security/migrations/0008_auto_20230810_1748.py
A security/migrations/0009_alter_pmasa_id.py
A translations/migrations/0002_alter_translation_id.py
M .github/workflows/tests.yml
M README.rst
M pmaweb/context_processors.py
M pmaweb/fixtures/test_data.json
M pmaweb/settings.py
M pmaweb/templates/15-years.html
M pmaweb/templates/404.html
M pmaweb/templates/_sponsors.html
M pmaweb/templates/about-website.html
M pmaweb/templates/about.html
M pmaweb/templates/awards.html
M pmaweb/templates/base.html
M pmaweb/templates/contest.html
M pmaweb/templates/contractor.html
M pmaweb/templates/contribute.html
M pmaweb/templates/develop.html
M pmaweb/templates/docs.html
M pmaweb/templates/donate.html
M pmaweb/templates/downloads.html
M pmaweb/templates/index.html
M pmaweb/templates/license.html
M pmaweb/templates/news/post_archive.html
M pmaweb/templates/news/post_detail.html
M pmaweb/templates/security/index.html
M pmaweb/templates/security/pmasa_detail.html
M pmaweb/templates/sponsors-subscribe.html
M pmaweb/templates/sponsors.html
M pmaweb/templates/support.html
M pmaweb/templates/team.html
M pmaweb/templates/themes.html
M pmaweb/templates/translate.html
M pmaweb/templates/translations.html
M pmaweb/templates/try.html
M pmaweb/tests.py
M pmaweb/views.py
M requirements.txt
Log Message:
-----------
Merge #159 - Bump Django version to 3.2
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 9e9611d1622785e9ff6135da897ce0849b2ce726
https://github.com/phpmyadmin/phpmyadmin/commit/9e9611d1622785e9ff6135da897…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-15 (Tue, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Application.php
M libraries/classes/Command/CacheWarmupCommand.php
M libraries/classes/Config.php
M libraries/classes/Config/FormDisplay.php
M libraries/classes/Config/PageSettings.php
M libraries/classes/Config/Validator.php
M libraries/classes/Controllers/Database/ImportController.php
M libraries/classes/Controllers/Preferences/ManageController.php
M libraries/classes/Controllers/Server/ImportController.php
M libraries/classes/Controllers/Setup/HomeController.php
M libraries/classes/Controllers/Table/ChangeController.php
M libraries/classes/Controllers/Table/ImportController.php
M libraries/classes/Core.php
M libraries/classes/Crypto/Crypto.php
M libraries/classes/Encoding.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Export/Export.php
M libraries/classes/Export/Options.php
M libraries/classes/File.php
M libraries/classes/Header.php
M libraries/classes/InsertEdit.php
M libraries/classes/LanguageManager.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/Import/ImportShp.php
M libraries/classes/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
M libraries/classes/Plugins/TwoFactor/Key.php
M libraries/classes/Plugins/TwoFactorPlugin.php
M libraries/classes/ResponseRenderer.php
M libraries/classes/Sanitize.php
M libraries/classes/SqlQueryForm.php
M libraries/classes/Template.php
M libraries/classes/Theme/ThemeManager.php
M libraries/classes/Url.php
M libraries/services.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/AbstractTestCase.php
M test/classes/ApplicationTest.php
M test/classes/Command/TwigLintCommandTest.php
M test/classes/Config/FormDisplayTest.php
M test/classes/Config/Forms/FormListTest.php
M test/classes/ConfigTest.php
M test/classes/Controllers/BrowseForeignersControllerTest.php
M test/classes/Controllers/Export/ExportControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/Controllers/Table/AddFieldControllerTest.php
M test/classes/Controllers/Table/CreateControllerTest.php
M test/classes/Controllers/Table/DeleteRowsControllerTest.php
M test/classes/Controllers/Table/ExportControllerTest.php
M test/classes/Controllers/Table/ImportControllerTest.php
M test/classes/Controllers/Table/OperationsControllerTest.php
M test/classes/Controllers/Table/SqlControllerTest.php
M test/classes/Controllers/Table/StructureControllerTest.php
M test/classes/CoreTest.php
M test/classes/Crypto/CryptoTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/ErrorReportTest.php
M test/classes/Export/OptionsTest.php
M test/classes/InsertEditTest.php
M test/classes/LanguageTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/TwoFactorTest.php
M test/classes/UrlTest.php
M test/classes/UserPreferencesTest.php
Log Message:
-----------
Replace config global with Config singleton
This is as bad as the global variable, however at least will have better
static analysis of it.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 1fc7f7f807af7bca5b66c7c1a231309fd183dbce
https://github.com/phpmyadmin/phpmyadmin/commit/1fc7f7f807af7bca5b66c7c1a23…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-08-15 (Tue, 08 August 2023) -03:00
Changed paths:
M libraries/classes/Application.php
M libraries/classes/Command/CacheWarmupCommand.php
M libraries/classes/Config.php
M libraries/classes/Config/FormDisplay.php
M libraries/classes/Config/PageSettings.php
M libraries/classes/Config/Validator.php
M libraries/classes/Controllers/Database/ImportController.php
M libraries/classes/Controllers/Preferences/ManageController.php
M libraries/classes/Controllers/Server/ImportController.php
M libraries/classes/Controllers/Setup/HomeController.php
M libraries/classes/Controllers/Table/ChangeController.php
M libraries/classes/Controllers/Table/ImportController.php
M libraries/classes/Core.php
M libraries/classes/Crypto/Crypto.php
M libraries/classes/Encoding.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Export/Export.php
M libraries/classes/Export/Options.php
M libraries/classes/File.php
M libraries/classes/Header.php
M libraries/classes/InsertEdit.php
M libraries/classes/LanguageManager.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/Import/ImportShp.php
M libraries/classes/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
M libraries/classes/Plugins/TwoFactor/Key.php
M libraries/classes/Plugins/TwoFactorPlugin.php
M libraries/classes/ResponseRenderer.php
M libraries/classes/Sanitize.php
M libraries/classes/SqlQueryForm.php
M libraries/classes/Template.php
M libraries/classes/Theme/ThemeManager.php
M libraries/classes/Url.php
M libraries/services.php
M phpstan-baseline.neon
M psalm-baseline.xml
M psalm.xml
M test/classes/AbstractTestCase.php
M test/classes/ApplicationTest.php
M test/classes/Command/TwigLintCommandTest.php
M test/classes/Config/FormDisplayTest.php
M test/classes/Config/Forms/FormListTest.php
M test/classes/ConfigTest.php
M test/classes/Controllers/BrowseForeignersControllerTest.php
M test/classes/Controllers/Export/ExportControllerTest.php
M test/classes/Controllers/Server/Status/AdvisorControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
M test/classes/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
M test/classes/Controllers/Server/Status/MonitorControllerTest.php
M test/classes/Controllers/Server/Status/Processes/RefreshControllerTest.php
M test/classes/Controllers/Server/Status/ProcessesControllerTest.php
M test/classes/Controllers/Server/Status/QueriesControllerTest.php
M test/classes/Controllers/Server/Status/StatusControllerTest.php
M test/classes/Controllers/Server/Status/VariablesControllerTest.php
M test/classes/Controllers/Table/AddFieldControllerTest.php
M test/classes/Controllers/Table/CreateControllerTest.php
M test/classes/Controllers/Table/DeleteRowsControllerTest.php
M test/classes/Controllers/Table/ExportControllerTest.php
M test/classes/Controllers/Table/ImportControllerTest.php
M test/classes/Controllers/Table/OperationsControllerTest.php
M test/classes/Controllers/Table/SqlControllerTest.php
M test/classes/Controllers/Table/StructureControllerTest.php
M test/classes/CoreTest.php
M test/classes/Crypto/CryptoTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/ErrorReportTest.php
M test/classes/Export/OptionsTest.php
M test/classes/InsertEditTest.php
M test/classes/LanguageTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/TwoFactorTest.php
M test/classes/UrlTest.php
M test/classes/UserPreferencesTest.php
Log Message:
-----------
Merge pull request #18626 from MauricioFauth/config-global
Replace config global with Config singleton