Maurício Meneghini Fauth
5cb2daea60
Extract event export action into Events\ExportController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br >
2026-10-12 17:39:00 -03:00
Maurício Meneghini Fauth
2b5b66989b
Rename route /database/events to /events
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br >
2026-10-12 12:06:30 -03:00
Maurício Meneghini Fauth
fc3c643dc8
Move Database\EventsController to Events\IndexController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br >
2026-10-12 11:46:51 -03:00
Maurício Meneghini Fauth
2dabc839b3
Extract Config dependency from Template class
...
Uses DI instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2026-02-11 22:51:02 -03:00
Maurício Meneghini Fauth
1e334d53c6
Reorder expected routes in RoutesTest
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2025-07-11 21:17:06 -03:00
Maurício Meneghini Fauth
783a7c66e8
Collect route info from Route attributes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2025-07-11 21:11:58 -03:00
Maurício Meneghini Fauth
a8b338cb40
Add the Route attribute to controllers classes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net >
2025-07-11 19:47:12 -03:00
Maurício Meneghini Fauth
a2a7c9c859
Merge pull request #19495 from kamil-tekiela/Config-refactoring
...
Config refactoring
2025-01-24 14:44:58 -03:00
Kamil Tekiela
9798216e6f
Convert environment to use $config
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com >
2025-01-24 17:13:52 +00:00
Kamil Tekiela
de3f7bc1dc
Create a new controller
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com >
2025-01-16 22:14:46 +00:00
Maurício Meneghini Fauth
90ee00efd5
Create the 'pma' global variable for Twig templates
...
Creates the Twig\PmaGlobalVariable class to handle the 'pma' Twig global
variable.
The idea of this global variable is to automatically inject in all
templates some useful information.
For now it only includes `pma.version` to get the phpMyAdmin version
and `pma.text_dir` to get the text direction ('ltr' or 'rtl').
Adding new variables to the `pma` global variable should be done with
caution.
- https://twig.symfony.com/doc/3.x/advanced.html#globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-07-09 20:30:48 -03:00
Maurício Meneghini Fauth
1db76c69f1
Merge branch 'QA_5_2'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-06-03 22:04:18 -03:00
Maurício Meneghini Fauth
ae625702f1
Refactor Routing::callSetupController() to use ContainerBuilder
...
Uses the ContainerBuilder to factory the setup controllers.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-05-10 14:20:44 -03:00
Maurício Meneghini Fauth
9b25d12e01
Extract recent table handling from Header into a middleware
...
This removes the recent visited table handling from the Header class and
moves it to a new middleware.
This also removes a duplicated update via front-end.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-04-14 17:19:26 -03:00
Maurício Meneghini Fauth
adc834f1ae
Move SetConfigController to Controller\Navigation namespace
...
Changes the route to /navigation/update-width.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-03-31 10:37:40 -03:00
Maurício Meneghini Fauth
7547341bee
Remove GetConfigController class
...
This is only used to get the NavigationWidth config value, and the same
value is stored in a data attribute. So this removes an unnecessary HTTP
request.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-03-31 10:37:39 -03:00
Maurício Meneghini Fauth
65c6f18f9a
Create a dedicated controller to update Console config
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-03-28 21:13:32 -03:00
Maurício Meneghini Fauth
606f66b5df
Rename tests/classes to tests/unit
...
This directory is for unit tests only, so let's rename it to unit to be
more clear.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2024-02-23 13:29:07 -03:00