Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 352c465640bb561069bbf6916f5a5195cc7bdf99 https://github.com/phpmyadmin/phpmyadmin/commit/352c465640bb561069bbf6916f5a... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts M resources/templates/console/display.twig M src/Console.php
Log Message: ----------- Initialize Console settings at server side
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 775a9a4537fd03cd784fda116c10b375d106e814 https://github.com/phpmyadmin/phpmyadmin/commit/775a9a4537fd03cd784fda116c10... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts M resources/js/src/modules/console/config.ts M resources/templates/console/display.twig
Log Message: ----------- Remove getConfigValue() call from Console.initialize()
Uses data attributes to store the config values. That removes the need to do a HTTP request to get the values.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 65c6f18f9a62729e85c766cd72e54931b907c7f2 https://github.com/phpmyadmin/phpmyadmin/commit/65c6f18f9a62729e85c766cd72e5... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: A src/Controllers/Console/UpdateConfigController.php M app/services_controllers.php M psalm-baseline.xml M resources/js/src/modules/console/config.ts M src/Routing/Routes.php M tests/unit/Routing/RoutesTest.php
Log Message: ----------- Create a dedicated controller to update Console config
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: f9600ddcd8fc85b47a34d9932dcaf7c26311b5f6 https://github.com/phpmyadmin/phpmyadmin/commit/f9600ddcd8fc85b47a34d9932dca... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts
Log Message: ----------- Add event listeners for each console setting
This reduces the number of HTTP requests from 5 to 1.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: e299aef4b47913635de22e341ea2ce0ae968d6b3 https://github.com/phpmyadmin/phpmyadmin/commit/e299aef4b47913635de22e341ea2... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts M resources/js/src/modules/console/config.ts M resources/templates/console/display.twig
Log Message: ----------- Restore console config values only when necessary
This reduces the need of unnecessary HTTP requests.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: db5b230ae54c205e072551e3be2ec30a66cfa09c https://github.com/phpmyadmin/phpmyadmin/commit/db5b230ae54c205e072551e3be2e... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts M resources/js/src/modules/console/config.ts
Log Message: ----------- Split Console's Config.set() for each property
This allows for better type handling.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 0e7ea9cb8990d0a65b470e9301bca20240f87226 https://github.com/phpmyadmin/phpmyadmin/commit/0e7ea9cb8990d0a65b470e9301bc... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M resources/js/src/modules/console.ts M resources/js/src/modules/console/config.ts
Log Message: ----------- Convert Console's Config object into a class
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 2c32a6c58332af7f429613ec2a13f6f2ddfc38da https://github.com/phpmyadmin/phpmyadmin/commit/2c32a6c58332af7f429613ec2a13... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: A tests/unit/Controllers/Console/UpdateConfigControllerTest.php M psalm-baseline.xml M resources/js/src/modules/console/config.ts M src/Controllers/Console/UpdateConfigController.php
Log Message: ----------- Change Console\UpdateConfigController to validade params
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 774ec8259e755060892f87a2944be8776c1a046b https://github.com/phpmyadmin/phpmyadmin/commit/774ec8259e755060892f87a2944b... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-28 (Thu, 03 March 2024) -03:00
Changed paths: M psalm-baseline.xml M resources/js/src/modules/ajax.ts M resources/js/src/modules/console/config.ts M src/Controllers/Console/UpdateConfigController.php M tests/unit/Controllers/Console/UpdateConfigControllerTest.php M tests/unit/Stubs/ResponseRenderer.php
Log Message: ----------- Change Console\UpdateConfigController to return a Response object
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 913e7d4b17f660a707cc09de294ace3d8e1db4bf https://github.com/phpmyadmin/phpmyadmin/commit/913e7d4b17f660a707cc09de294a... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2024-03-29 (Fri, 03 March 2024) -03:00
Changed paths: A src/Controllers/Console/UpdateConfigController.php A tests/unit/Controllers/Console/UpdateConfigControllerTest.php M app/services_controllers.php M psalm-baseline.xml M resources/js/src/modules/ajax.ts M resources/js/src/modules/console.ts M resources/js/src/modules/console/config.ts M resources/templates/console/display.twig M src/Console.php M src/Routing/Routes.php M tests/unit/Routing/RoutesTest.php M tests/unit/Stubs/ResponseRenderer.php
Log Message: ----------- Merge pull request #19068 from MauricioFauth/console-settings
Refactor Console settings handling