Commit Graph

96 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
64723d90da Rename the multi-table query route
Renames the route name from /database/multi_table_query to
/database/multi-table-query.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-12 17:04:59 -03:00
Maurício Meneghini Fauth
f6bbecc0c2 Create Preferences\ImportController class
Extracts the controller from the FormsController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 18:13:46 -03:00
Maurício Meneghini Fauth
7bfaffa283 Create Preferences\ExportController class
Extracts the controller from the FormsController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 17:52:20 -03:00
Maurício Meneghini Fauth
53cb7f6273 Create Preferences\MainPanelController class
Extracts the controller the from the FormsController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 17:07:53 -03:00
Maurício Meneghini Fauth
73a238e51e Create Preferences\NavigationController class
Extracts the controller from the FormsController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 15:39:20 -03:00
Maurício Meneghini Fauth
3db59bab5b Create Preferences\SqlController class
Extracts the controller from the FormsController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 15:15:29 -03:00
Maurício Meneghini Fauth
95e0c251ae Create Preferences\FeaturesController class
Extracts the controller from the FormController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-02-05 13:54:32 -03:00
Maurício Meneghini Fauth
6b7af13f8f Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-23 00:33:24 -03:00
Maurício Meneghini Fauth
676f48349a Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-21 22:13:36 -03:00
Maurício Meneghini Fauth
f80d3e3bd4 Remove unnecessary annotations
@package, @subpackage and others.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 17:35:56 -03:00
Maurício Meneghini Fauth
6283caaabf Use one line for comments with a single line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 16:04:09 -03:00
Maurício Meneghini Fauth
5f36cd8aec Refactor top_menu.twig
Simplifies the navigation bar tab loop by removing the
get_html_tab function.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-08 19:42:29 -03:00
Maurício Meneghini Fauth
36730b33bd Create Table\ZoomSearchController controller
Moves the table zoom search entry point to the ZoomSearchController,
removes the entry point file and extracts the zoom search logic from the
SearchController class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-28 00:18:26 -03:00
Maurício Meneghini Fauth
ee8951ea74 Create Table\FindReplaceController controller
Moves the table find-replace entry point logic to the
FindReplaceController, removes the entry point file and extracts the
find-replace logic from the Table\SearchController class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-27 17:54:19 -03:00
Maurício Meneghini Fauth
693bf67b1c Refactor Database\CentralColumnsController class
Moves the central columns entry point logic to the controller and
removes the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-26 12:51:35 -03:00
Maurício Meneghini Fauth
5461f6e476 Create Preferences\TwoFactorController controller
Moves the two factor entry point logic to the controller and removes the
entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-23 19:25:08 -03:00
Maurício Meneghini Fauth
b1328c7ad6 Create Server\UserGroupsController controller
Moves the user groups entry point logic to the controller and removes
the entry point file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-22 11:54:34 -03:00
Maurício Meneghini Fauth
77518d341e Remove unused use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-11 21:20:58 -03:00
Maurício Meneghini Fauth
dd06cd38f8 Defines rules for double quote usage
Makes sure that any use of double quotes strings are warranted.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-01 14:10:07 -03:00
Maurício Meneghini Fauth
70609066ce Extract HTML from Menu::_getBreadcrumbs method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-11-29 12:00:45 -03:00
Maurício Meneghini Fauth
6ad85eb546 Extract HTML from Generator::getHtmlTabs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-11-26 22:50:03 -03:00
Hugues Peccatte
3255e4ad7b Split Util class regarding the responsabilities (#15567)
PhpMyAdmin\Util is a very huge class with a lot of responsabilities.

There is a lot of work to split it, but this may be just a small start, waiting for a more normalized code.

* Split Util class regarding the responsabilities
* Split the buttonOrImage function

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-11-21 20:20:05 -03:00
Maurício Meneghini Fauth
1a14b3e4d3 Remove vim modelines
These settings are no longer required as they are guaranteed through
other coding standard tools.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00
Maurício Meneghini Fauth
d01e1c26b9 Fix active page on navigation bar
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-26 15:14:17 -03:00
Maurício Meneghini Fauth
60f4c5651a Use the router for view_operations.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-21 00:11:04 -03:00
Maurício Meneghini Fauth
1de76c66dd Use the router for prefs_twofactor.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-20 00:21:19 -03:00
Maurício Meneghini Fauth
bf975c68fd Use the router for prefs_manage.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-20 00:15:09 -03:00
Maurício Meneghini Fauth
5a83fd36b9 Use the router for prefs_forms.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-20 00:01:26 -03:00
Maurício Meneghini Fauth
87c16c569c Use the router for the table import page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-19 18:36:32 -03:00
Maurício Meneghini Fauth
8d6a1de954 Use the router for the server import page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-19 18:05:11 -03:00
Maurício Meneghini Fauth
4e773c7fd2 Use the router for the database import page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-19 14:41:03 -03:00
Maurício Meneghini Fauth
fb6fcec5f5 Use the router for the table export page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-17 12:10:17 -03:00
Maurício Meneghini Fauth
86d78c547f Use the router for server export page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-17 11:50:06 -03:00
Maurício Meneghini Fauth
ef81c86830 Use the router for the database export page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-17 11:38:55 -03:00
Maurício Meneghini Fauth
23b084c259 Use the router for table relation page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-16 00:12:52 -03:00
Maurício Meneghini Fauth
d29e6d5728 Use the router for the table find and replace page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-14 18:07:42 -03:00
Maurício Meneghini Fauth
60e9a55021 Use the router for the table zoom search page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-14 15:48:59 -03:00
Maurício Meneghini Fauth
ea3599194e Use the router for table operations page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-14 13:57:33 -03:00
Maurício Meneghini Fauth
542059eca0 Use the router for the user groups page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-12 18:26:07 -03:00
Maurício Meneghini Fauth
59f411639f Use the router for the server status variables page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-12 17:06:16 -03:00
Maurício Meneghini Fauth
31db3b7e42 Use the router for the server status processes page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-12 14:26:06 -03:00
Maurício Meneghini Fauth
74659abe8b Use the router for the server status monitor page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-10 19:20:38 -03:00
Maurício Meneghini Fauth
e761ab440e Use the router for the server status advisor page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-10 18:39:49 -03:00
Maurício Meneghini Fauth
9a09477bf2 Use the router for the server replication page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-10 17:10:18 -03:00
Maurício Meneghini Fauth
5500f9b170 Use the router for the server binlog page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-08 02:39:15 -03:00
Maurício Meneghini Fauth
c3c58e6cd4 Use the router for the database QBE page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-07 23:43:44 -03:00
Maurício Meneghini Fauth
18a9d4f9db Use the router for the multi table query page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-07 23:00:18 -03:00
Maurício Meneghini Fauth
616cc8d901 Use the router for the triggers page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-07 16:08:46 -03:00
Maurício Meneghini Fauth
74f8246fd5 Use the router for the database routines page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-07 01:53:31 -03:00
Maurício Meneghini Fauth
1b39e5e346 Use the router for the database events page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-06 00:57:08 -03:00