Commit Graph

1161 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
e09a1f7b15
Fix server selection icon alignment in home page
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-21 16:45:09 -03:00
William Desportes
6f66b76c5d
Merge #20105 - Fix #19891 - invalid $cfg['Export']['format'] or $cfg['Import']['format'] defaulting to sql in dropdown
Pull-request: #20105
Fixes: #19891
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 13:08:45 +01:00
William Desportes
1b0b27fc2b
Remove properties_num_columns from templates, not needed after #20227
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 12:43:10 +01:00
GS
706ae28602
Fix #20171 - Refactor default engine retrieval logic
Signed-off-by: Guido Selva <guido.selva@gmail.com>
2026-03-17 12:37:10 +01:00
Maximilian Krög
5d83255758
Don't show invalid Gis download options
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-03-03 23:57:18 +01:00
William Desportes
f40043aeaa
Merge #20196 - Fix #20195 - error when generating charts for columns with int column names
Pull-request: #20196
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-28 22:20:29 +01:00
Kamil Tekiela
0ade0ba751 Fix #20195
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-02-28 20:02:20 +00:00
William Desportes
16d6380805
Fix a coding standard warning
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 10:23:55 +01:00
William Desportes
f6c2088e81
Merge #20119 - Fix #20116 - Check also for WebKit
Pull-request: #20119
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 09:39:01 +01:00
William Desportes
2dad295106
Merge #20092 - Add warning message if URLQueryEncryptionSecretKey is not valid
Pull-request: #20092
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-24 09:33:52 +01:00
Liviu-Mihail Concioiu
53bade798e Make string translatable
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-02-18 22:07:59 +01:00
Liviu-Mihail Concioiu
c0e99fcaa0 Improve message
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-02-18 15:17:10 +01:00
William Desportes
5993dae0e4
Merge #20117 - Fix #20116 - Make sure fullscreen is enabled
Pull-request: #20117
Fixes: #20116
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-02-17 13:34:42 +01:00
Liviu-Mihail Concioiu
6b1978e08b Make sure fullscreen is enabled
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-02-17 12:53:58 +01:00
Liviu-Mihail Concioiu
fe50147755 Add warning message if URLQueryEncryptionSecretKey is not valid
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-02-08 21:30:03 +01:00
Liviu-Mihail Concioiu
81f550c693 Fix syntax error
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-09-22 17:35:23 +02:00
Liviu-Mihail Concioiu
b5fb37b939
Fix #19570 - Check for HTTP_HOST and document the issue in FAQ (#19858)
Fixes #19570

* Check for HTTP_HOST and document the issue in FAQ

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Remove whitespace

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Update libraries/classes/Controllers/HomeController.php

Co-authored-by: William Desportes <williamdes@wdes.fr>

---------

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Co-authored-by: William Desportes <williamdes@wdes.fr>
2025-09-14 16:00:21 -03:00
Pin-Yi Song
5496edd11d
style: phpcs fix.
Signed-off-by: Pin-Yi Song <611077101@mail.nknu.edu.tw>
2025-08-05 22:57:50 +08:00
Pin-Yi Song
221ba2eeb3
fix: add the ignore condition.
Signed-off-by: Pin-Yi Song <611077101@mail.nknu.edu.tw>
2025-08-05 22:57:50 +08:00
Maximilian Krög
0c6d29358a
Fix move column for table with foreign key
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
2025-07-09 16:41:57 +02:00
Maximilian Krög
56beb41ac6
Make gis visualization work with huge tables
The query was executed without a limit clause but only the meta data
was read, so adding a 'limit 0' clause is a big improvement for big tables.

Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
2025-04-30 15:22:35 +02:00
Maurício Meneghini Fauth
92efecc7f6
Add SQL parse error message when simulating DML
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/18903

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-04-21 22:37:38 -03:00
Liviu-Mihail Concioiu
fc67cb4532
Implement getValuesForCsvTable for CSV table type (#19540)
* Implement getValuesForCsvTable

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Improve code

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Improve code

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Fix phpcs

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

---------

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-03-30 12:10:08 -03:00
Liviu-Mihail Concioiu
d7a52d6d44
Fix #19641 - Allow optional param for NOW (#19642)
* Allow optional param for NOW

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Fix phpcs

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Improve precision check

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

* Validate NOW precision

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>

---------

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2025-03-27 18:29:01 -03:00
Maurício Meneghini Fauth
e6f08a8682 Ignore ISO-2022-CN-EXT charset for iconv
Fixes possible glibc/iconv vulnerability (CVE-2024-2961).

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-01-20 14:14:17 -05:00
Maurício Meneghini Fauth
cf886df108 Ignore system databases when deleting using UI
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-01-20 13:08:55 -05:00
William Desportes
4d51855d67
Fix #18129 - PHP warning while editting a view definition
Signed-off-by: William Desportes <williamdes@wdes.fr>
2025-01-16 02:56:56 +01:00
Maurício Meneghini Fauth
8b38f49efa
Merge pull request #19520 from kamil-tekiela/Avoid-passing-null-to-synchronizeFavoriteTables
Avoid passing null to synchronizeFavoriteTables
2025-01-14 16:17:51 -03:00
Kamil Tekiela
5e1356f85f Avoid passing null to synchronizeFavoriteTables
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2025-01-14 17:22:39 +00:00
Liviu-Mihail Concioiu
de4a193fe6 Fix table detected as view
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2024-12-15 15:08:57 +01:00
Maurício Meneghini Fauth
f6ce169290
Fix issue when updating privs for various databases
The sql_query global variable should be a string, and it can be a string
in this case, which will cause an error as the string will not be
converted to array.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-11-05 15:09:21 -03:00
Maurício Meneghini Fauth
12efd0a0fe
Replace replication statements with new terminology
SHOW MASTER LOGS was removed in MySQL 8.4.0 and SHOW BINARY LOGS is
available since MySQL 4.1.1.

As of MySQL 8.2.0, SHOW BINARY LOG STATUS is available.
As of MariaDB 10.5.2, SHOW BINLOG STATUS is available.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-10-31 13:50:11 -03:00
Maurício Meneghini Fauth
587d185bb7
Validate *_structure_or_data param when exporting
- Fixes #19213

This is not the best fix, but will avoid generating an invalid file.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-07-18 16:07:46 -03:00
Maurício Meneghini Fauth
4f67631d48
Fix undefined variables in table/zoom_search/result_form.twig
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-06-22 17:34:21 -03:00
Maximilian Krög
3b84890770
Fix simulating query with -- comment
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-06-01 00:58:42 +02:00
Maximilian Krög
6d917b5b7f
Fix simulate multiple queries with ; in a string
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-06-01 00:16:35 +02:00
Faissal Wahabali
de7a96467f
Fix notification links (#18243)
* fix not working notification copy link

Signed-off-by: faissaloux <fwahabali@gmail.com>

* fix not working notification links

Signed-off-by: faissaloux <fwahabali@gmail.com>

* fix notification links tooltip messages

Signed-off-by: faissaloux <fwahabali@gmail.com>

* update Edit Query message

Signed-off-by: faissaloux <fwahabali@gmail.com>

* remove unused event param

Signed-off-by: faissaloux <fwahabali@gmail.com>

* refactor

Signed-off-by: faissaloux <fwahabali@gmail.com>

* revert Edit Query message

Signed-off-by: faissaloux <fwahabali@gmail.com>

* refactor

Signed-off-by: faissaloux <fwahabali@gmail.com>

* code style

Signed-off-by: faissaloux <fwahabali@gmail.com>

* refactor

Signed-off-by: faissaloux <fwahabali@gmail.com>

---------

Signed-off-by: faissaloux <fwahabali@gmail.com>



Fixes #18241

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-04-30 16:08:56 -03:00
Mattia Rizzolo
3dfaed3554
Fix inverted logic hide serverlist (#18021)
* Reflow lines to arguably better understand the logic

There are a bit too many branch in this single line..

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>

* Fix inverted logic in the serverlist in the home page

Here the server list was visible when it wasn't supposed to be, and
hidden when it was supposed to be visible.

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>

---------

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-04-29 21:21:36 -03:00
William Desportes
892dda0f04
Fix #19041 - footer.twig gets printed to Binary File Download
Signed-off-by: William Desportes <williamdes@wdes.fr>
2024-04-28 17:18:43 +02:00
William Desportes
0bcc3e402d
Merge #19105 - Fix #17920, Fix #18006, Fix #18962 - Preserve check constraint during column move
Pull-request: #19105
Fixes: #17920
Fixes: #18006
Fixes: #18962

Signed-off-by: William Desportes <williamdes@wdes.fr>
2024-04-28 10:46:15 +02:00
William Desportes
40d5b6dd57
Merge #19135 - Fix #18389, Fix #18487, Fix #18511 - Fix linter for sql query box with multiple statements
Pull-request: #19121
Fixes: #18389
Fixes: #18487
Fixes: #18511

Signed-off-by: William Desportes <williamdes@wdes.fr>
2024-04-28 10:37:57 +02:00
Maximilian Krög
d5e0d711bd
Fix linter annotations for special editors
When the sql string to lint isa changed, the result positions
need to be adjusted accordingly.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-04-22 21:42:36 +02:00
Maximilian Krög
02ebd6c5b0
Fix linting in sql editor with delimiter
Always setting the delimiter to $$ is not right in normal sql editor.
This breaks usage of the default delimiter ; and using DELIMITER in the sql.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-04-21 16:01:26 +02:00
Maximilian Krög
26fc8f1b9e
Fix editing column where only virtuality changed
Without this the column wasn't detected as changed and thus not
included in the alter statement.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-04-21 15:30:31 +02:00
Maximilian Krög
3b992e6a13
Preserve check constraint during column move
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2024-04-19 22:01:43 +02:00
Peter de Kraker
10a8943cfc
Add RocksDB support
Signed-off-by: Peter de Kraker <peterdekraker@umito.nl>
2024-03-15 20:13:58 -03:00
Maurício Meneghini Fauth
2b1f21ef07
Remove unused parameter from Table\StructureController::displayStructure
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-02-21 21:05:48 -03:00
Maurício Meneghini Fauth
4d20a8b7e3 Change error message link in ChangeLogController
Uses URL redirector instead of a direct link in the error message.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-01-04 19:00:27 -03:00
Kamil Tekiela
7652f018aa Fix #17538 Index Rename Button generated incorrect sql
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-12-28 00:25:10 +01:00
Maurício Meneghini Fauth
6503321278
Fix case where column hash is empty in table relation page
- Fixes #18834
- Related to #14305

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-12-08 16:57:12 -03:00