Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 8ee44a377ec8ffa673f48d149d227c0ecd421af4 https://github.com/phpmyadmin/phpmyadmin/commit/8ee44a377ec8ffa673f48d149d22... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-02-09 (Fri, 02 February 2024) -03:00
Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/CheckUserPrivileges.php M src/Controllers/Database/RoutinesController.php M src/Controllers/Database/Structure/CopyTableController.php M src/Controllers/Normalization/AddNewPrimaryController.php M src/Controllers/Normalization/CreateNewColumnController.php M src/Controllers/Operations/DatabaseController.php M src/Controllers/Operations/TableController.php M src/Controllers/Server/Databases/DestroyController.php M src/Controllers/Server/DatabasesController.php M src/Controllers/Server/PrivilegesController.php M src/Controllers/Table/AddFieldController.php M src/Controllers/Table/CreateController.php M src/Controllers/Table/Structure/ChangeController.php M src/Controllers/Table/Structure/SaveController.php M src/Database/Routines.php M src/ListDatabase.php M src/Navigation/Navigation.php M src/Navigation/NavigationTree.php M src/Navigation/Nodes/Node.php M src/Navigation/Nodes/NodeDatabase.php M src/Navigation/Nodes/NodeDatabaseContainer.php M src/Navigation/Nodes/NodeTable.php M src/Normalization.php M src/Operations.php M src/Server/Privileges.php M src/Table/ColumnsDefinition.php M src/UserPrivileges.php M tests/classes/AbstractTestCase.php M tests/classes/CheckUserPrivilegesTest.php M tests/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php M tests/classes/Controllers/Normalization/CreateNewColumnControllerTest.php M tests/classes/Controllers/Server/DatabasesControllerTest.php M tests/classes/Controllers/Table/Structure/SaveControllerTest.php M tests/classes/Database/RoutinesTest.php M tests/classes/Navigation/NavigationTreeTest.php M tests/classes/Navigation/Nodes/NodeDatabaseTest.php M tests/classes/Navigation/Nodes/NodeTest.php M tests/classes/NormalizationTest.php M tests/classes/Server/PrivilegesTest.php M tests/classes/Table/ColumnsDefinitionTest.php
Log Message: ----------- Refactor UserPrivileges to use instance instead of static props
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: c96439d15de5c3455a1bb1d20d1d66f0dce3a309 https://github.com/phpmyadmin/phpmyadmin/commit/c96439d15de5c3455a1bb1d20d1d... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-02-09 (Fri, 02 February 2024) -03:00
Changed paths: M app/services_controllers.php M psalm-baseline.xml M src/Controllers/Database/PrivilegesController.php M src/Controllers/Database/StructureController.php M src/Controllers/Database/TrackingController.php M src/Controllers/HomeController.php M src/Controllers/Server/UserGroupsFormController.php M src/Controllers/Sql/ColumnPreferencesController.php M src/Controllers/Sql/DefaultForeignKeyCheckValueController.php M src/Controllers/Sql/EnumValuesController.php M src/Controllers/Sql/RelationalValuesController.php M src/Controllers/Sql/SetValuesController.php M src/Controllers/Sql/SqlController.php M src/Controllers/Table/PrivilegesController.php M src/Controllers/Table/StructureController.php M src/Import/Import.php M tests/classes/Controllers/Sql/EnumValuesControllerTest.php M tests/classes/Controllers/Sql/SetValuesControllerTest.php M tests/classes/Controllers/Table/ReplaceControllerTest.php
Log Message: ----------- Remove unused CheckUserPrivileges::getPrivileges() calls
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 20364c92fc0c408942319dee4520e276a3bd7b26 https://github.com/phpmyadmin/phpmyadmin/commit/20364c92fc0c408942319dee4520... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-02-10 (Sat, 02 February 2024) -03:00
Changed paths: A src/UserPrivilegesFactory.php A tests/classes/UserPrivilegesFactoryTest.php M app/services.php M app/services_controllers.php M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Database/RoutinesController.php M src/Controllers/Database/Structure/CopyTableController.php M src/Controllers/Normalization/AddNewPrimaryController.php M src/Controllers/Normalization/CreateNewColumnController.php M src/Controllers/Operations/DatabaseController.php M src/Controllers/Operations/TableController.php M src/Controllers/Server/Databases/DestroyController.php M src/Controllers/Server/DatabasesController.php M src/Controllers/Server/PrivilegesController.php M src/Controllers/Table/AddFieldController.php M src/Controllers/Table/CreateController.php M src/Controllers/Table/Structure/ChangeController.php M src/Controllers/Table/Structure/SaveController.php M src/DatabaseInterface.php M src/ListDatabase.php M src/Navigation/Navigation.php M src/Navigation/NavigationTree.php M src/Navigation/Nodes/NodeDatabaseContainer.php M tests/classes/Controllers/Database/RoutinesControllerTest.php M tests/classes/Controllers/Operations/TableControllerTest.php M tests/classes/ListDatabaseTest.php D src/CheckUserPrivileges.php D tests/classes/CheckUserPrivilegesTest.php
Log Message: ----------- Rename CheckUserPrivileges class to UserPrivilegesFactory
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 2427890069e050783b294dacdee624be7fb81793 https://github.com/phpmyadmin/phpmyadmin/commit/2427890069e050783b294dacdee6... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-02-10 (Sat, 02 February 2024) -03:00
Changed paths: M app/services_controllers.php M psalm-baseline.xml M src/Controllers/Database/Structure/CopyTableController.php M src/Controllers/Normalization/AddNewPrimaryController.php M src/Controllers/Normalization/CreateNewColumnController.php M src/Controllers/Server/Databases/DestroyController.php M src/Controllers/Server/DatabasesController.php M src/Controllers/Server/PrivilegesController.php M src/Controllers/Table/AddFieldController.php M src/Controllers/Table/CreateController.php M src/Controllers/Table/Structure/ChangeController.php M src/Controllers/Table/Structure/SaveController.php M src/Navigation/Navigation.php M tests/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php M tests/classes/Controllers/Normalization/CreateNewColumnControllerTest.php M tests/classes/Controllers/Server/Databases/DestroyControllerTest.php M tests/classes/Controllers/Server/DatabasesControllerTest.php M tests/classes/Controllers/Server/PrivilegesControllerTest.php M tests/classes/Controllers/Table/AddFieldControllerTest.php M tests/classes/Controllers/Table/CreateControllerTest.php M tests/classes/Controllers/Table/Structure/ChangeControllerTest.php M tests/classes/Controllers/Table/Structure/SaveControllerTest.php
Log Message: ----------- Use DI for UserPrivilegesFactory class
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 048c51f4f07a4cb1b1b7e601fc6a4771059a3821 https://github.com/phpmyadmin/phpmyadmin/commit/048c51f4f07a4cb1b1b7e601fc6a... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-02-12 (Mon, 02 February 2024) -03:00
Changed paths: A src/UserPrivilegesFactory.php A tests/classes/UserPrivilegesFactoryTest.php M app/services.php M app/services_controllers.php M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Database/PrivilegesController.php M src/Controllers/Database/RoutinesController.php M src/Controllers/Database/Structure/CopyTableController.php M src/Controllers/Database/StructureController.php M src/Controllers/Database/TrackingController.php M src/Controllers/HomeController.php M src/Controllers/Normalization/AddNewPrimaryController.php M src/Controllers/Normalization/CreateNewColumnController.php M src/Controllers/Operations/DatabaseController.php M src/Controllers/Operations/TableController.php M src/Controllers/Server/Databases/DestroyController.php M src/Controllers/Server/DatabasesController.php M src/Controllers/Server/PrivilegesController.php M src/Controllers/Server/UserGroupsFormController.php M src/Controllers/Sql/ColumnPreferencesController.php M src/Controllers/Sql/DefaultForeignKeyCheckValueController.php M src/Controllers/Sql/EnumValuesController.php M src/Controllers/Sql/RelationalValuesController.php M src/Controllers/Sql/SetValuesController.php M src/Controllers/Sql/SqlController.php M src/Controllers/Table/AddFieldController.php M src/Controllers/Table/CreateController.php M src/Controllers/Table/PrivilegesController.php M src/Controllers/Table/Structure/ChangeController.php M src/Controllers/Table/Structure/SaveController.php M src/Controllers/Table/StructureController.php M src/Database/Routines.php M src/DatabaseInterface.php M src/Import/Import.php M src/ListDatabase.php M src/Navigation/Navigation.php M src/Navigation/NavigationTree.php M src/Navigation/Nodes/Node.php M src/Navigation/Nodes/NodeDatabase.php M src/Navigation/Nodes/NodeDatabaseContainer.php M src/Navigation/Nodes/NodeTable.php M src/Normalization.php M src/Operations.php M src/Server/Privileges.php M src/Table/ColumnsDefinition.php M src/UserPrivileges.php M tests/classes/AbstractTestCase.php M tests/classes/Controllers/Database/RoutinesControllerTest.php M tests/classes/Controllers/Normalization/AddNewPrimaryControllerTest.php M tests/classes/Controllers/Normalization/CreateNewColumnControllerTest.php M tests/classes/Controllers/Operations/TableControllerTest.php M tests/classes/Controllers/Server/Databases/DestroyControllerTest.php M tests/classes/Controllers/Server/DatabasesControllerTest.php M tests/classes/Controllers/Server/PrivilegesControllerTest.php M tests/classes/Controllers/Sql/EnumValuesControllerTest.php M tests/classes/Controllers/Sql/SetValuesControllerTest.php M tests/classes/Controllers/Table/AddFieldControllerTest.php M tests/classes/Controllers/Table/CreateControllerTest.php M tests/classes/Controllers/Table/ReplaceControllerTest.php M tests/classes/Controllers/Table/Structure/ChangeControllerTest.php M tests/classes/Controllers/Table/Structure/SaveControllerTest.php M tests/classes/Database/RoutinesTest.php M tests/classes/ListDatabaseTest.php M tests/classes/Navigation/NavigationTreeTest.php M tests/classes/Navigation/Nodes/NodeDatabaseTest.php M tests/classes/Navigation/Nodes/NodeTest.php M tests/classes/NormalizationTest.php M tests/classes/Server/PrivilegesTest.php M tests/classes/Table/ColumnsDefinitionTest.php D src/CheckUserPrivileges.php D tests/classes/CheckUserPrivilegesTest.php
Log Message: ----------- Merge pull request #18977 from MauricioFauth/user-privileges
Refactor UserPrivileges to use instance instead of static props