Branch: refs/heads/master
Home:
https://github.com/phpmyadmin/phpmyadmin
Commit: 74b1ffbf8cbf43c3d041118e5693ab9db1249c71
https://github.com/phpmyadmin/phpmyadmin/commit/74b1ffbf8cbf43c3d041118e569…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-25 (Thu, 05 May 2023) -03:00
Changed paths:
A js/src/triggers.ts
A libraries/classes/Controllers/Triggers/IndexController.php
A libraries/classes/Triggers/Triggers.php
A templates/triggers/editor_form.twig
A templates/triggers/export.twig
A templates/triggers/list.twig
A templates/triggers/row.twig
A test/classes/Controllers/Triggers/IndexControllerTest.php
A test/classes/Triggers/TriggersTest.php
A test/selenium/TriggersTest.php
M .github/workflows/test-selenium.yml
M libraries/classes/Menu.php
M libraries/classes/Navigation/Nodes/NodeTrigger.php
M libraries/classes/Navigation/Nodes/NodeTriggerContainer.php
M libraries/classes/Operations.php
M libraries/classes/Plugins/Export/ExportHtmlword.php
M libraries/classes/Plugins/Export/ExportOdt.php
M libraries/classes/Plugins/Export/ExportSql.php
M libraries/classes/Plugins/Export/ExportTexytext.php
M libraries/classes/Plugins/Export/ExportXml.php
M libraries/classes/Plugins/Export/Helpers/Pdf.php
M libraries/classes/Table.php
M libraries/routes.php
M libraries/services.php
M libraries/services_controllers.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/Navigation/Nodes/NodeTriggerContainerTest.php
M test/classes/Navigation/Nodes/NodeTriggerTest.php
M webpack.config.cjs
D js/src/database/triggers.ts
D libraries/classes/Controllers/Database/TriggersController.php
D libraries/classes/Controllers/Table/TriggersController.php
D libraries/classes/Database/Triggers.php
D templates/database/triggers/editor_form.twig
D templates/database/triggers/export.twig
D templates/database/triggers/list.twig
D templates/database/triggers/row.twig
D test/classes/Controllers/Table/TriggersControllerTest.php
D test/classes/Database/TriggersTest.php
D test/selenium/Database/TriggersTest.php
Log Message:
-----------
Merge the DB and table trigger controllers
They are equivalent in current form.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 81e988aac87f4e2e58694f6760ccb04ab0d53879
https://github.com/phpmyadmin/phpmyadmin/commit/81e988aac87f4e2e58694f6760c…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-25 (Thu, 05 May 2023) -03:00
Changed paths:
M libraries/classes/Controllers/Triggers/IndexController.php
M libraries/classes/Triggers/Triggers.php
M psalm-baseline.xml
M test/classes/Controllers/Triggers/IndexControllerTest.php
Log Message:
-----------
Inline Triggers::main() into the Triggers\IndexController
The main() method is handling the request/response, so it's better to
move this code to the controller.
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 5a344966a950bc29dd5e1f5c0627152191070a54
https://github.com/phpmyadmin/phpmyadmin/commit/5a344966a950bc29dd5e1f5c062…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-25 (Thu, 05 May 2023) -03:00
Changed paths:
M libraries/classes/Controllers/Triggers/IndexController.php
M psalm-baseline.xml
M templates/triggers/list.twig
M test/classes/Controllers/Triggers/IndexControllerTest.php
Log Message:
-----------
Move trigger row foreach loop into the list.twig template
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 84c4de778bdc277904e739bea814ff7f964ad277
https://github.com/phpmyadmin/phpmyadmin/commit/84c4de778bdc277904e739bea81…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-25 (Thu, 05 May 2023) -03:00
Changed paths:
M test/classes/Triggers/TriggersTest.php
Log Message:
-----------
Add unit tests for Triggers::getDetails() method
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 0d4b85552e5ad96726007cc5beb5b55d3fe3ef4b
https://github.com/phpmyadmin/phpmyadmin/commit/0d4b85552e5ad96726007cc5beb…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-26 (Fri, 05 May 2023) -03:00
Changed paths:
A libraries/classes/Triggers/Trigger.php
A test/classes/Triggers/TriggerTest.php
M libraries/classes/Query/Generator.php
M libraries/classes/Triggers/Triggers.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/Triggers/TriggersTest.php
Log Message:
-----------
Add Trigger value object
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: ff7fe4bfa0f9e706fe7be735952265a8ed1f6b2b
https://github.com/phpmyadmin/phpmyadmin/commit/ff7fe4bfa0f9e706fe7be735952…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-26 (Fri, 05 May 2023) -03:00
Changed paths:
M libraries/classes/Triggers/Triggers.php
M psalm-baseline.xml
Log Message:
-----------
Extract getTables() method from Triggers::getEditorForm()
Signed-off-by: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Commit: 210521bae8b9702f00c4e572b64accdcd14d81de
https://github.com/phpmyadmin/phpmyadmin/commit/210521bae8b9702f00c4e572b64…
Author: Maurício Meneghini Fauth <mauricio(a)fauth.dev>
Date: 2023-05-27 (Sat, 05 May 2023) -03:00
Changed paths:
A js/src/triggers.ts
A libraries/classes/Controllers/Triggers/IndexController.php
A libraries/classes/Triggers/Trigger.php
A libraries/classes/Triggers/Triggers.php
A templates/triggers/editor_form.twig
A templates/triggers/export.twig
A templates/triggers/list.twig
A templates/triggers/row.twig
A test/classes/Controllers/Triggers/IndexControllerTest.php
A test/classes/Triggers/TriggerTest.php
A test/classes/Triggers/TriggersTest.php
A test/selenium/TriggersTest.php
M .github/workflows/test-selenium.yml
M libraries/classes/Menu.php
M libraries/classes/Navigation/Nodes/NodeTrigger.php
M libraries/classes/Navigation/Nodes/NodeTriggerContainer.php
M libraries/classes/Operations.php
M libraries/classes/Plugins/Export/ExportHtmlword.php
M libraries/classes/Plugins/Export/ExportOdt.php
M libraries/classes/Plugins/Export/ExportSql.php
M libraries/classes/Plugins/Export/ExportTexytext.php
M libraries/classes/Plugins/Export/ExportXml.php
M libraries/classes/Plugins/Export/Helpers/Pdf.php
M libraries/classes/Query/Generator.php
M libraries/classes/Table.php
M libraries/routes.php
M libraries/services.php
M libraries/services_controllers.php
M phpstan-baseline.neon
M psalm-baseline.xml
M test/classes/Navigation/Nodes/NodeTriggerContainerTest.php
M test/classes/Navigation/Nodes/NodeTriggerTest.php
M webpack.config.cjs
D js/src/database/triggers.ts
D libraries/classes/Controllers/Database/TriggersController.php
D libraries/classes/Controllers/Table/TriggersController.php
D libraries/classes/Database/Triggers.php
D templates/database/triggers/editor_form.twig
D templates/database/triggers/export.twig
D templates/database/triggers/list.twig
D templates/database/triggers/row.twig
D test/classes/Controllers/Table/TriggersControllerTest.php
D test/classes/Database/TriggersTest.php
D test/selenium/Database/TriggersTest.php
Log Message:
-----------
Merge pull request #18456 from MauricioFauth/triggers
Refactor the Triggers page