Commit Graph

422 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
5d80594341 Remove jQuery SVG JS dependency
Removed by https://github.com/phpmyadmin/phpmyadmin/pull/17041.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-24 20:39:12 -03:00
Maurício Meneghini Fauth
1cac3baeab
Fix create index form accepting too many columns
- Fixes #16769

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-20 13:11:30 -03:00
Kamil Tekiela
83d950ed40 Bug fix: Fix triple HTML encoding
Some values were encoded into HTML entities thrice. This commit removes
unnecessary HTML escaping.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-14 12:21:36 +00: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
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
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
Lukas Bixen
bdc0ddb13b Do not show table in header while creating table
Signed-off-by: Lukas Bixen <lrb2_@outlook.com>
2021-08-09 12:25:30 -05:00
Maximilian Krög
cda569635b
Fix saving gis visualization with different label / column
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-07-30 21:08:57 +02:00
Maximilian Krög
315426324d
Respect pos and limit in gis visualization
Co-Authored-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-07-28 01:26:17 +02:00
William Desportes
a8d9f44f96
Fix #17016, Fix #17037 - Display the error after structure change errored
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-07-26 18:55:58 +02:00
William Desportes
d281dcc0bd
Fix #17026 - Handle possible invalid boolean values injected in SaveDir or UploadDir
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-07-22 12:59:54 +02:00
William Desportes
83053288c0
Ref #12586 - Remove un-expected message from Export table
The message was wrong and was now shown due to some code-base changes.
Before output buffering was catching it and destroying it before output was flushed

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-07-21 23:21:41 +02:00
William Desportes
f724f648e1
Fix #16976 - Wrong link when a table is moved from a database to another
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-07-15 02:13:03 +02:00
William Desportes
535b374163
Fix "Undefined index: clause_is_unique" on replace value in cell
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-27 18:27:38 +02:00
William Desportes
f09ead5e07
Fix code using relative path
if (chdir('/tmp') === false) {
    die('Could not change dir');
}

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-06-15 22:24:30 +02:00
William Desportes
45aeee579a
Fix #14773 - export raw query is not working
Ref: #15064 (issue to track the export raw query feature)
Yes, this issue was closed with #15064 but I will close it anyway because it made sense as the feature was broken once more
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-23 17:46:26 +02:00
liviuconcioiu
6dc79009f7
Fix #16810 - SQL query shown twice
Fix SQL query shown twice on PRIMARY, UNIQUE, INDEX, SPATIAL, FULLTEXT, add to central columns, remove from central columns

Signed-off-by: Liviu Concioiu <liviu.concioiu@gmail.com>
2021-04-23 03:05:46 +02:00
William Desportes
ec4df90ab6
Merge #16811 - Fix #16810 - Fix SQL query shown twice on drop
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-19 19:19:30 +02:00
William Desportes
deac7cffde
Fix not working export to PNG, SVG, PDF on GIS visialization
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-17 00:28:38 +02:00
William Desportes
b78f8a094c
Fix #16790 - Undefined index field_name
Unable to reproduce, adding a safety will make the code run properly.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-12 22:31:37 +02:00
Saksham Gupta
db5fc3fd7f Fix #16810 Fix SQL query shown twice on drop
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-04-12 23:20:48 +05:30
William Desportes
700108ba90
Add missing stickfill script on zoom search
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-04-01 18:31:53 +02:00
Saksham Gupta
04d72a8291 Fix #16703 No SQL option on Export of rows from a table
Signed-off-by: Saksham Gupta <shucon01@gmail.com>

Add null fallback

Signed-off-by: Saksham Gupta <shucon01@gmail.com>

Update yarn.lock
2021-03-22 22:34:06 +05:30
William Desportes
6be33c4eb6
Ref #16666 - Ref #16424 - Adjust the index like the zoom controller
Even if this is not needed, better that it is the same in the 2 controllers

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-19 00:42:01 +01:00
Saksham Gupta
4da866ed94 Fix #16424 - Numerical search in table and zoom
Signed-off-by: Saksham Gupta <shucon01@gmail.com>

Fixes #16667

Signed-off-by: Saksham Gupta <shucon01@gmail.com>

Add comment and change variable name

Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-02-19 00:33:10 +05:30
William Desportes
0a1d09b282
Add tests for #16595 - underscore structure edit
I removed the escape because it is already escaped afterwards.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-01-31 01:25:34 +01:00
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