1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
27f5a8aaf5 Remove ResponseRenderer::disable from ChangeLogController
Creates a new Response object instead of using the
response from ResponseRenderer class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-05-03 16:11: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
137283f909 Remove unused constructor params from controllers
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-04-08 15:59:34 -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
Kamil Tekiela
2f3c4d3830 Refactor Operations::getWarningMessagesArray
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2024-03-23 14:39:05 +01:00
Maurício Meneghini Fauth
55d922c313 Add tests for app/services* files
Fixes error introduced by
https://github.com/phpmyadmin/phpmyadmin/pull/18625.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-03-09 17:02:07 -03:00
Maurício Meneghini Fauth
2427890069 Use DI for UserPrivilegesFactory class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-10 20:04:39 -03:00
Maurício Meneghini Fauth
20364c92fc Rename CheckUserPrivileges class to UserPrivilegesFactory
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-10 19:26:52 -03:00
Maurício Meneghini Fauth
c96439d15d Remove unused CheckUserPrivileges::getPrivileges() calls
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-09 18:26:31 -03:00
Maurício Meneghini Fauth
f78781d949 Add unit test for DatabaseController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-01-05 11:23:01 -03:00
Maurício Meneghini Fauth
e41f3110fe Add unit test for ChangeLogController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-01-04 12:46:03 -03:00
Maurício Meneghini Fauth
e53c76d179 Merge pull request #18857 from kamil-tekiela/SqlAutoCompleteController
New implementation for SqlAutoCompleteController
2023-12-24 03:06:39 -03:00
Kamil Tekiela
5ef643c3ff Use DbTableExists in WrapperController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-12-20 21:07:02 +01:00
Kamil Tekiela
3225c6d704 New implementation for SqlAutoCompleteController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-12-20 18:18:55 +01:00
Maurício Meneghini Fauth
c6bdede0de Move operations controllers to Operations namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-26 14:31:42 -03:00
Maurício Meneghini Fauth
550673b775 Remove container builder from ReplaceController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-03 18:28:16 -03:00
Maurício Meneghini Fauth
65aa64f1c3 Move insert rows from ReplaceController to ChangeController
Refactors ChangeController to inject the Config dependency.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-03 17:02:13 -03:00
Maurício Meneghini Fauth
87c494fa5f Rename ./libraries directory to ./app
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-10-24 16:58:48 -03:00