Maurício Meneghini Fauth
560fb6ff8e
Refactor Table\Maintenance controllers to use ServerRequest
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-10-05 16:35:26 -03:00
Maurício Meneghini Fauth
c68b6a01a7
Merge pull request #17119 from shucontech/enum_editor_modal
...
Replace ENUM/SET editor dialog with modal
2021-10-01 14:00:39 -03:00
Maurício Meneghini Fauth
0c781c9335
Rename TableName|DatabaseName create method to fromString
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-30 22:14:51 -03:00
Maurício Meneghini Fauth
88b48c810d
Use ServerRequest for Table\Partition controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-30 16:56:34 -03:00
Maurício Meneghini Fauth
3e0856c77b
Remove useless string concatenations
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-27 21:40:22 -03:00
Maurício Meneghini Fauth
7955f7d96d
Replace pow function with the ** operator
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-27 19:12:11 -03:00
Saksham Gupta
6a963080b3
Replace ENUM/SET editor dialog with modal
...
Signed-off-by: Saksham Gupta <shucontech@gmail.com>
2021-09-20 22:51:30 +05:30
Maurício Meneghini Fauth
f00d70cccb
Remove useless whitespaces
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-15 17:05:40 -03:00
Maurício Meneghini Fauth
9f3510d11a
Add bool return type where possible
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-14 20:11:51 -03:00
Maurício Meneghini Fauth
03b9016b7d
Merge pull request #17103 from shucontech/nav_modal
...
Replace hidden navigation items dialog with modal
2021-09-14 17:21:09 -03:00
Shucon Tech
c003c3add8
Replace Range Search dialog with a modal ( #17073 )
...
* Replace Range Search dialog with a modal
Signed-off-by: Saksham Gupta <shucontech@gmail.com>
2021-09-14 15:53:00 -03:00
Maurício Meneghini Fauth
7f6472b2c2
Add void return type where possible
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-13 15:29:11 -03:00
Maurício Meneghini Fauth
3531775b7c
Add type declarations to the controllers contructors
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-11 17:32:22 -03:00
Maurício Meneghini Fauth
bfaf16f56b
Use only callable controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-11 15:20:46 -03:00
Maurício Meneghini Fauth
00cb1b3668
Extract IndexesController::doSaveData method
...
Creates the Table\Indexes class.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-11 14:38:44 -03:00
Maurício Meneghini Fauth
83091680cc
Extract actions from controllers to new controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-10 17:55:05 -03:00
Saksham Gupta
8f04e1a26d
Replace hidden navigation items dialog with modal
...
Signed-off-by: Saksham Gupta <shucontech@gmail.com>
Fix line end
Signed-off-by: Saksham Gupta <shucontech@gmail.com>
2021-09-11 01:37:15 +05:30
Maurício Meneghini Fauth
38fda677bd
Extract Processes class from ProcessesController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-10 15:52:48 -03:00
Maurício Meneghini Fauth
94e714a49b
Extract the Server\ShowEngineController class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-09 17:58:00 -03:00
Maurício Meneghini Fauth
fb257e5922
Extract actions from Table\StructureController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-09 13:48:07 -03:00
Maurício Meneghini Fauth
e3554879ef
Extract actions from controllers to new controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-07 21:19:43 -03:00
Maurício Meneghini Fauth
96adfe37f4
Extract actions from controllers to new ctrls
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-06 18:30:21 -03:00
Maurício Meneghini Fauth
322dc72621
Merge branch 'QA_5_1'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-05 00:51:20 -03:00
Maurício Meneghini Fauth
9adce40034
Extract controllers from HomeController
...
Extracts CollationConnectionController, GitInfoController and
RecentTablesListController controllers from HomeController.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-05 00:40:18 -03:00
Maurício Meneghini Fauth
5f4fd07483
Remove some assignments to the $_POST global
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-03 15:49:39 -03:00
William Desportes
68206dbac7
Merge #17089 - Fix #16693 , Fix #12753 - Show the new column query and the table structure on the same page
...
Fixes : #16693
Fixes : #12753
Pull-request: #17089
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-09-03 01:01:47 +02:00
Maurício Meneghini Fauth
8f2f3eff40
Remove the Core::isValid method
...
This improves the type checking and simplifies the code.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-02 13:20:50 -03:00
Maurício Meneghini Fauth
5725516656
Inline Core::ifSetOr method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-01 13:29:05 -03:00
Maurício Meneghini Fauth
e5e7bd2f95
Access POST params from the ServerRequest class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-09-01 12:52:59 -03:00
William Desportes
4c6061a04e
Merge #17075 - Use int as srid type
...
Pull-request: #17075
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-31 01:36:18 +02:00
William Desportes
2d307ed062
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-31 00:18:17 +02:00
William Desportes
f7a328842d
Fix #16906 - Fix the caching effect on the feature list
...
Before this fix you needed to click twice on create tables to see a full list of green checks.
As part of the values where fetched by a global and the feature list values by this $cfgRelation passed as a parameter.
This was visible when the pmadb existed but had no tables in it.
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-31 00:08:00 +02:00
Maurício Meneghini Fauth
bd2ef2b8ee
Get post params from ServerRequest class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-30 17:45:28 -03:00
Maurício Meneghini Fauth
a2ed4dfe68
Make controllers callable
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-30 13:16:29 -03:00
William Desportes
806e2740ba
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27 22:09:55 +02:00
Maurício Meneghini Fauth
86798ec45e
Refactor PhpMyAdmin\Plugins::getChoice method
...
Extracts the getDefault method from the getChoice method and adds a
getName method to the Plugin interface.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-27 13:38:01 -03:00
William Desportes
cdb027c119
Ref #16906 - Allow to create the pma storage db using a different name than "phpmyadmin"
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27 17:06:45 +02:00
Maurício Meneghini Fauth
84d175b282
Extract HTML from Plugins::getChoice method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-25 15:29:43 -03:00
William Desportes
157c072c3c
Fix #16693 - Show the new column and the table structure on the same page
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-25 17:47:33 +02:00
Maurício Meneghini Fauth
7a4536d4d6
Remove PhpMyAdmin\Twig\PluginsExtension class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-25 11:00:21 -03:00
William Desportes
b72f941167
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-23 20:35:42 +02:00
William Desportes
84de4a672d
Fix #16942 - Table Import with CSV using LOAD DATA LOCAL causes error "LOAD DATA LOCAL INFILE is forbidden"
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-23 20:15:21 +02:00
Maurício Meneghini Fauth
78c266d98f
Move partition classes to the Partitioning namespace
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-21 14:01:25 -03:00
Maurício Meneghini Fauth
f7fc4177af
Add support for account locking
...
- https://dev.mysql.com/doc/refman/en/account-locking.html
- https://mariadb.com/kb/en/account-locking/
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-21 00:55:33 -03:00
William Desportes
1c9c4b183a
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-20 02:45:54 +02:00
Maximilian Krög
93c8a9e505
Fix inserting spatial data
...
Fix inserting geometries with MySQL < 5.6
Fix wkb functions for inserting
Fix selecting default function in insert form
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-08-14 20:12:14 +02:00
Maximilian Krög
c8ddcf4adc
Use int as srid type
...
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-08-13 00:12:16 +02:00
William Desportes
fa88ce2f00
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-10 15:39:23 +02:00
William Desportes
6c2083e207
Merge #17049 - Fix gis visualization save file
...
Pull-request: #17049
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-10 15:12:21 +02:00
William Desportes
e74ac3c93b
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-09 23:18:27 +02:00