Maurício Meneghini Fauth
525a436162
Fix some PHPStan errors
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-19 16:48:54 -03:00
Maurício Meneghini Fauth
e575d4a739
Merge branch 'QA_4_8'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-19 14:38:16 -03:00
Maurício Meneghini Fauth
75eb905727
Fix wrong property name on TableStructureController
...
Introduced by 963ace6ada
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-19 14:31:10 -03:00
Maurício Meneghini Fauth
4b61201899
Refactor index.php
...
Extracts actions to controller
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-16 18:07:31 -03:00
Maurício Meneghini Fauth
cedfe813b9
Create PhpMyAdmin\Controllers\HomeController
...
Extracts HTML from index.php to home/index template
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-15 21:20:44 -03:00
Maurício Meneghini Fauth
c9371d3a91
Rename Controller to AbstractController
...
Rename PhpMyAdmin\Controllers\Controller to
PhpMyAdmin\Controllers\AbstractController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-11 15:57:14 -03:00
Maurício Meneghini Fauth
35e6b43ba8
Rename Status\Controller to Status\AbstractController
...
Rename PhpMyAdmin\Controllers\Server\Status\Controller to
PhpMyAdmin\Controllers\Server\Status\AbstractController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-11 15:26:57 -03:00
Maurício Meneghini Fauth
5ea75f4144
Rename Table\Controller to Table\AbstractController
...
Rename PhpMyAdmin\Controllers\Table\Controller to
PhpMyAdmin\Controllers\Table\AbstractController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-11 15:15:31 -03:00
Maurício Meneghini Fauth
0305c0a2c2
Rename Database\Controller to Database\AbstractController
...
Rename PhpMyAdmin\Controllers\Database\Controller to PhpMyAdmin\Controllers\Database\AbstractController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-03-11 15:04:28 -03:00
Maurício Meneghini Fauth
30484fa5a5
Create BrowseForeignersController
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-08 21:05:58 -03:00
Maurício Meneghini Fauth
bdbf95f674
Create PhpMyAdmin\Controllers\AjaxController
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-07 23:27:57 -03:00
Maurício Meneghini Fauth
d2d65d5a7b
Create controllers for setup pages
...
- Create PhpMyAdmin\Controllers\Setup\HomeController
- Create PhpMyAdmin\Controllers\Setup\ConfigController
- Create PhpMyAdmin\Controllers\Setup\FormController
- Create PhpMyAdmin\Controllers\Setup\ServersController
- Remove setup/frames directory
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-06 17:04:58 -03:00
Maurício Meneghini Fauth
50ec2c0e2b
Create Controllers\Database\CentralColumnsController
...
Moves db_central_columns.php logic to the controller
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-05 02:12:12 -03:00
Maurício Meneghini Fauth
e700760685
Refactor Controllers\Database\StructureController
...
Move request and response handling to db_structure.php
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-03 23:20:48 -03:00
Maurício Meneghini Fauth
35fafd773a
Create Controllers\Database\DataDictionaryController
...
- Extracts db_datadict.php logic to the controller
- Extracts HTML to database/data_dictionary/index template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-03-01 23:06:13 -03:00
Maurício Meneghini Fauth
4c93203904
Rename DatabaseController and TableController
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-27 22:52:36 -03:00
Maurício Meneghini Fauth
7c828f7327
Remove PhpMyAdmin\Server\Status\Data::getHtmlForRefreshList()
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-25 20:42:44 -03:00
Maurício Meneghini Fauth
2074be7eab
Create Server\Status\VariablesController
...
Extracts server_status_variables.php and Server\Status\Variables logic
to the controller.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-25 19:02:54 -03:00
Maurício Meneghini Fauth
e149a6188f
Create Server\Status\QueriesController
...
Extracts server_status_queries.php and Server\Status\Queries logic to
the controller.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-25 00:53:57 -03:00
Maurício Meneghini Fauth
c485c311aa
Create Server\Status\ProcessesController
...
Extracts server_status_processes.php and Server\Status\Processes logic
to controller.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-21 23:25:30 -03:00
Maurício Meneghini Fauth
12ae5553a6
Create Server\Status\MonitorController
...
Moves server_status_monitor.php logic to controller
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-21 02:23:23 -03:00
Maurício Meneghini Fauth
c9a31450fa
Create server status abstract controller
...
Create PhpMyAdmin\Controllers\Server\Status\Controller abstract
controller.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-19 17:13:48 -03:00
Maurício Meneghini Fauth
5368c151b4
Create Server\Status\StatusController
...
- Extracts Server\Status and server_status.php logic to controller
- Extracts HTML to server/status/status/index template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-18 15:59:59 -03:00
Maurício Meneghini Fauth
fe931429f9
Extract HTML from Server\Status\Data::getMenuHtml()
...
Extracts to server/status/base template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-17 16:52:02 -03:00
Maurício Meneghini Fauth
4bf6ad1952
Create Server\Status\AdvisorController
...
- Moves PhpMyAdmin\Server\Status\Advisor and server_status_advisor.php
logic to the controller.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-17 16:03:09 -03:00
Maurício Meneghini Fauth
02a9fd371c
Refactor Server\VariablesController
...
- Moves request and response handling to server_variables.php
- Extracts and groups all HTML in server/variables/index template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-17 13:01:10 -03:00
Maurício Meneghini Fauth
20cccfd53b
Refactor Server\PluginsController
...
- Moves response handling to server_plugins.php
- Renames server/plugins/main to server/plugins/index
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-16 15:05:05 -02:00
Maurício Meneghini Fauth
d6dfb3eed6
Refactor Server\EnginesController
...
- Moves request and response handling back to server_engines.php
- Rename templates
- Refactor tests
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-15 20:35:00 -02:00
Maurício Meneghini Fauth
b97460a320
Rename TableStructureController to StructureController
...
Renames PhpMyAdmin\Controllers\Table\TableStructureController to
PhpMyAdmin\Controllers\Table\StructureController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 16:30:49 -02:00
Maurício Meneghini Fauth
505af51a1c
Rename TableSearchController to SearchController
...
Renames PhpMyAdmin\Controllers\Table\TableSearchController to
PhpMyAdmin\Controllers\Table\SearchController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 16:08:18 -02:00
Maurício Meneghini Fauth
6c29e58ef7
Rename TableRelationController to RelationController
...
Renames PhpMyAdmin\Controllers\Table\TableRelationController to
PhpMyAdmin\Controllers\Table\RelationController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 15:43:07 -02:00
Maurício Meneghini Fauth
a440e52541
Rename TableIndexesController to IndexesController
...
Renames PhpMyAdmin\Controllers\Table\TableIndexesController to
PhpMyAdmin\Controllers\Table\IndexesController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 14:45:57 -02:00
Maurício Meneghini Fauth
cb8060ef4b
Rename TableGisVisualizationController to GisVisualizationController
...
Renames PhpMyAdmin\Controllers\Table\TableGisVisualizationController to
PhpMyAdmin\Controllers\Table\GisVisualizationController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 14:04:10 -02:00
Maurício Meneghini Fauth
d93a4e7e51
Rename TableChartController to ChartController
...
Renames PhpMyAdmin\Controllers\Table\TableChartController to
PhpMyAdmin\Controllers\Table\ChartController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 13:51:42 -02:00
Maurício Meneghini Fauth
c29d4005b4
Rename ServerVariablesController to VariablesController
...
Renames PhpMyAdmin\Controllers\Server\ServerVariablesController to
PhpMyAdmin\Controllers\Server\VariablesController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 13:42:04 -02:00
Maurício Meneghini Fauth
798f76fdb0
Rename ServerPluginsController to PluginsController
...
Renames PhpMyAdmin\Controllers\Server\ServerPluginsController to
PhpMyAdmin\Controllers\Server\PluginsController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-14 13:26:28 -02:00
Maurício Meneghini Fauth
b51e6eebc0
Rename ServerEnginesController to EnginesController
...
Renames PhpMyAdmin\Controllers\Server\ServerEnginesController to
PhpMyAdmin\Controllers\Server\EnginesController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 22:34:28 -02:00
Maurício Meneghini Fauth
b80403b304
Rename ServerDatabasesController to DatabasesController
...
Renames PhpMyAdmin\Controllers\Server\ServerDatabasesController to PhpMyAdmin\Controllers\Server\DatabasesController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 22:20:14 -02:00
Maurício Meneghini Fauth
7235eb055d
Rename ServerCollationsController to CollationsController
...
Renames PhpMyAdmin\Controllers\Server\ServerCollationsController to
PhpMyAdmin\Controllers\Server\CollationsController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 22:14:27 -02:00
Maurício Meneghini Fauth
58c1805925
Rename ServerBinlogController to BinlogController
...
Renames PhpMyAdmin\Controllers\Server\ServerBinlogController to
PhpMyAdmin\Controllers\Server\BinlogController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 22:08:34 -02:00
Maurício Meneghini Fauth
067a6bfa0b
Rename DatabaseStructureController to StructureController
...
Renames PhpMyAdmin\Controllers\Database\DatabaseStructureController to
PhpMyAdmin\Controllers\Database\StructureController.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 21:58:47 -02:00
Maurício Meneghini Fauth
3bb1337e90
Refactor ServerBinlogController
...
Refactors PhpMyAdmin\Controllers\Server\ServerBinlogController.
- Moves request and response handling back to server_binlog.php
- Extracts and groups all HTML into server/binlog/index template
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-02-13 21:33:36 -02:00
Maurício Meneghini Fauth
8e7bd8cd3f
Create TransformationOverviewController
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-30 15:44:30 -02:00
Maurício Meneghini Fauth
b068a0d639
Refactor ServerCollationsController
...
Refactors PhpMyAdmin\Controllers\Server\ServerCollationsController.
- Moves response handling back to server_collations.php.
- Groups all HTML in templates/server/collations/index.twig.
- Improves unit tests.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-29 00:56:20 -02:00
Maurício Meneghini Fauth
32e83d9097
Refactor ServerDatabasesController
...
Refactors PhpMyAdmin\Controllers\Server\ServerDatabasesController.
- Renames variables and methods to camelCase format.
- Moves request and response handling back to server_databases.php.
- Groups all HTML into templates/server/databases/index.twig.
- Improves unit tests.
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-26 16:29:33 -02:00
Maurício Meneghini Fauth
7eb2bbc102
Remove libraries/check_user_privileges.inc.php
...
Replaces with CheckUserPrivileges::getPrivileges
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-22 18:18:21 -02:00
Hugues Peccatte
f06883d2a7
Remove useless parenthesis
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-01-20 01:23:53 +01:00
Maurício Meneghini Fauth
d4909c5198
Merge pull request #14857 from Tithugues/feature/remove-useless-proxies
...
Remove useless proxies
2019-01-16 02:20:08 -03:00
Maurício Meneghini Fauth
76fbe019da
Merge pull request #14856 from Tithugues/fix/escape-also-delimiter
...
Escape also delimiter
2019-01-16 02:19:24 -03:00
Maurício Meneghini Fauth
fedad552cc
Merge pull request #14849 from Tithugues/feature/replace-regexp-when-simple
...
Replace regular expressions when simple
2019-01-16 02:14:51 -03:00