Commit Graph

396 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
acd214c9b7
Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:58:18 -03:00
Maurício Meneghini Fauth
0ed9c23c1e
Fix uncaught TypeError when editing partitioning
When the partition has subpartitions.
https://github.com/phpmyadmin/phpmyadmin/issues/14494

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:50:18 -03:00
Maurício Meneghini Fauth
3a25c96543
Create truncate table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:36:05 -03:00
Maurício Meneghini Fauth
f419ce4f2e
Create repair table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:32:34 -03:00
Maurício Meneghini Fauth
905f48184f
Create rebuild table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:29:01 -03:00
Maurício Meneghini Fauth
42cf71d8aa
Create optimize table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:22:19 -03:00
Maurício Meneghini Fauth
0c38913c15
Create drop table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 22:16:46 -03:00
Maurício Meneghini Fauth
b64be69dd8
Create analyze table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 21:29:27 -03:00
Maurício Meneghini Fauth
f8df25487f
Create check table partition page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 21:09:32 -03:00
Maurício Meneghini Fauth
73f21d6950
Extract drop partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 15:01:41 -03:00
Maurício Meneghini Fauth
194c8372cc
Extract truncate partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 17:02:03 -03:00
Maurício Meneghini Fauth
1d4dea8e47
Extract repair partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 16:44:32 -03:00
Maurício Meneghini Fauth
1c0218aff7
Extract rebuild partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 16:12:34 -03:00
Maurício Meneghini Fauth
5577d9ecb7
Extract optimize partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 15:26:37 -03:00
Maurício Meneghini Fauth
6e4a9e82a0
Extract check partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 14:20:38 -03:00
Maurício Meneghini Fauth
aeac7177da
Extract analyze partition action to a new route
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-29 12:21:21 -03:00
William Desportes
3dad3b5e5d
Merge #15912 - Fix #14953 - Added Rename Button to use RENAME INDEX syntax of MySQL
Issue: #14953
Pull-request: #15912
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-11-13 23:47:33 +01:00
Maurício Meneghini Fauth
b268491bd8 Replace exit with return in GetFieldController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-13 19:28:21 -03:00
Kartik Kathuria
b2039444bf
Fixes #14953 - Added Rename Button to use RENAME INDEX syntax of MySQL
Co-Authored-By: William Desportes <williamdes@wdes.fr>

Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
2020-11-05 15:22:16 +01:00
Maurício Meneghini Fauth
c11e8d5f64 Remove Common::database method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:56:58 -03:00
Maurício Meneghini Fauth
ef62d7a9f5 Remove is_system_schema PHP global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:48:23 -03:00
Maurício Meneghini Fauth
71c2f2d99a Remove is_show_stats PHP global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:48:23 -03:00
Maurício Meneghini Fauth
36d93cf2f9 Remove Common::table method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:48:23 -03:00
Maurício Meneghini Fauth
6b81080127 Remove Common::server method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-02 18:48:23 -03:00
Maurício Meneghini Fauth
a83ec78ebf Make DatabaseInterface::isUserType method private
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-24 00:40:03 -03:00
Maurício Meneghini Fauth
71d9a8f760 Remove is_grantuser and is_createuser PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-23 22:58:49 -03:00
Maurício Meneghini Fauth
94483dd4b9 Extract the HTML from Table\TrackingController::index
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-14 17:13:34 -03:00
Maurício Meneghini Fauth
601ed4649e Remove DBI dep from Table\AbstractController
Moves the DatabaseInterface class dependency to the classes that use it.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-12 12:53:03 -03:00
Maurício Meneghini Fauth
e6ec9df84e Remove DBI dep from Controllers/AbstractController
Moves the DatabaseInterface class dependency to the classes that use it.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-11 22:48:44 -03:00
Maurício Meneghini Fauth
405b6277e7 Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-10 14:16:25 -03:00
Isaac Bennetch
93c93bc9ee Fix merge conflicts
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2020-10-09 22:14:49 -04:00
Maurício Meneghini Fauth
e66be179ca Use camel case naming for class members
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-05 10:37:07 -03:00
Maurício Meneghini Fauth
bb32ba6d9c Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-04 12:31:43 -03:00
William Desportes
aecdfc80cb
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-10-04 00:29:04 +02:00
Petr Duda
661af18061 Fix #16377 Uncaught ReferenceError: Stickyfill is not defined
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-10-01 21:39:49 +02:00
Maurício Meneghini Fauth
f2e49a92c6 Fix some type errors detected by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-30 19:23:01 -03:00
Maurício Meneghini Fauth
ea163ffcae Move CentralColumns to the Database namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-30 10:14:22 -03:00
Petr Duda
1086b2a6ee Fix #12961 Indexes shown at both tbl_structure and tbl_relation
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-09-13 19:31:59 +02:00
Maurício Meneghini Fauth
5aa2856f7f Remove Util::buildActionTitles and the titles global
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-12 22:50:08 -03:00
Maurício Meneghini Fauth
3c21cf1853 Remove url_query PHP global
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-08 13:32:25 -03:00
Maurício Meneghini Fauth
37289a57b2 Remove url_query and url_params from Table/StructureController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-07 14:24:41 -03:00
Maurício Meneghini Fauth
c57dda7315 Use DI for Sql class constructor
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-05 15:31:39 -03:00
Maurício Meneghini Fauth
ceac762e09 Remove pmaThemePath and pmaThemeImage PHP globals
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-09-02 10:57:57 -03:00
Maurício Meneghini Fauth
bade581161 Check if multi table maintenance is disabled
Checks if $cfg['DisableMultiTableMaintenance'] is true.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 16:07:35 -03:00
Maurício Meneghini Fauth
7936909dbd Move Operations::getMaintenanceActions to the view
Uses Table\MaintenanceController to handle the maintenance actions in
the table operations page.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 15:25:14 -03:00
Maurício Meneghini Fauth
3b02872cd3 Create the Table\Maintenance class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-28 00:35:13 -03:00
Maurício Meneghini Fauth
46f28b42c9 Extract the Table\MaintenanceController class
Extracts the table maintenance action methods from
the Database\StructureController class to the
new Table\MaintenanceController class and adjust templates
and routes names.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 23:33:43 -03:00
Maurício Meneghini Fauth
c112bfd6d6 Create a new page for Check Table
Instead of only showing the query results.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-27 14:22:22 -03:00
Maurício Meneghini Fauth
55c5c80d37 Rename Display\ImportAjax class
Renames to Import\Ajax.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-20 12:07:54 -03:00
Maurício Meneghini Fauth
fa67657b1a Remove Display\Import class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-08-20 00:21:26 -03:00