Commit Graph

1941 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
6b57013203
Refactor Header::getMessage()
Replaces REQUEST with POST and GET.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-05-25 18:18:50 -03:00
Maurício Meneghini Fauth
f6d656b6a3
Fix bookmarks not being properly saved
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-05-22 19:32:03 -03:00
Maurício Meneghini Fauth
a8b64715d6
Update Composer dependencies
- Upgrading amphp/parallel (v2.3.3 => v2.4.0)
  - Upgrading amphp/pipeline (v1.2.3 => v1.2.4)
  - Upgrading composer/ca-bundle (1.5.11 => 1.5.12)
  - Upgrading dealerdirect/phpcodesniffer-composer-installer (v1.2.0 => v1.2.1)
  - Upgrading guzzlehttp/psr7 (2.9.0 => 2.10.1)
  - Upgrading phpstan/phpstan (2.1.52 => 2.1.55)
  - Upgrading phpstan/phpstan-strict-rules (2.0.10 => 2.0.11)
  - Upgrading revolt/event-loop (v1.0.8 => v1.0.9)
  - Upgrading symfony/cache (v7.4.8 => v7.4.12)
  - Upgrading symfony/cache-contracts (v3.6.0 => v3.7.0)
  - Upgrading symfony/config (v7.4.8 => v7.4.10)
  - Upgrading symfony/console (v7.4.8 => v7.4.11)
  - Upgrading symfony/dependency-injection (v7.4.8 => v7.4.10)
  - Upgrading symfony/deprecation-contracts (v3.6.0 => v3.7.0)
  - Upgrading symfony/filesystem (v7.4.8 => v7.4.11)
  - Upgrading symfony/polyfill-ctype (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-iconv (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-intl-grapheme (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-intl-normalizer (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-mbstring (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-php84 (v1.36.0 => v1.37.0)
  - Upgrading symfony/polyfill-uuid (v1.36.0 => v1.37.0)
  - Upgrading symfony/process (v7.4.8 => v7.4.11)
  - Upgrading symfony/service-contracts (v3.6.1 => v3.7.0)
  - Upgrading symfony/string (v7.4.8 => v7.4.11)
  - Upgrading symfony/uid (v7.4.8 => v7.4.9)
  - Upgrading symfony/var-exporter (v7.4.8 => v7.4.9)
  - Upgrading twig/twig (v3.24.0 => v3.26.0)
  - Upgrading web-auth/cose-lib (4.5.1 => 4.5.2)

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-05-21 13:43:35 -03:00
Maurício Meneghini Fauth
eb5f939582
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-05-09 15:34:12 -03:00
Eyüp Can Akman
ce12a87858
Fix #20284 - Preserve numeric strings in XML imports
When the XML file embeds the table structure, $analyses is null and
buildSql() falls back to is_numeric() to decide whether to quote. That
strips quotes from values like "01234", which silently drops the leading
zero on a varchar column and causes a duplicate-key error if the table
also contains "1234".

Add a roundtrip check: a value is still treated as numeric only when
casting it to int or float gives back the original string. "01234",
"1e10" and similar fail the roundtrip and stay quoted; plain integers
like 1 and 1234 keep their existing unquoted form.

Signed-off-by: Eyüp Can Akman <eyupcanakman@gmail.com>
2026-04-28 17:26:03 +03:00
Kamil Tekiela
61f9314720 Upgrading phpstan/phpstan (2.1.51 => 2.1.52)
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-04-28 14:59:51 +01:00
Maurício Meneghini Fauth
9b467fd4ef
Merge pull request #20282 from predictor2718/fix/19084-export-data-only-create-db
Fix #19084 - Skip CREATE DATABASE when exporting data only
2026-04-25 18:35:19 -03:00
Maurício Meneghini Fauth
a28a7f0154
Update Composer dependencies
- Upgrading amphp/serialization (v1.0.0 => v1.1.0)
  - Upgrading amphp/socket (v2.3.1 => v2.4.0)
  - Upgrading bacon/bacon-qr-code (v3.0.3 => v3.1.1)
  - Upgrading brick/math (0.14.5 => 0.17.1)
  - Upgrading composer/ca-bundle (1.5.10 => 1.5.11)
  - Upgrading doctrine/deprecations (1.1.5 => 1.1.6)
  - Upgrading guzzlehttp/psr7 (2.8.0 => 2.9.0)
  - Upgrading league/uri (7.8.0 => 7.8.1)
  - Upgrading league/uri-interfaces (7.8.0 => 7.8.1)
  - Upgrading netresearch/jsonmapper (v5.0.0 => v5.0.1)
  - Upgrading phpdocumentor/reflection-docblock (6.0.1 => 6.0.3)
  - Upgrading phpstan/phpstan (2.1.47 => 2.1.51)
  - Upgrading phpstan/phpstan-deprecation-rules (2.0.3 => 2.0.4)
  - Upgrading phpstan/phpstan-phpunit (2.0.12 => 2.0.16)
  - Upgrading phpstan/phpstan-strict-rules (2.0.8 => 2.0.10)
  - Upgrading phpunit/phpunit (11.5.50 => 11.5.55)
  - Upgrading psalm/plugin-phpunit (0.19.5 => 0.19.7)
  - Upgrading spomky-labs/cbor-php (3.2.2 => 3.2.3)
  - Upgrading spomky-labs/pki-framework (1.4.1 => 1.4.2)
  - Upgrading symfony/cache (v7.4.5 => v7.4.8)
  - Upgrading symfony/config (v7.4.4 => v7.4.8)
  - Upgrading symfony/console (v7.4.4 => v7.4.8)
  - Upgrading symfony/dependency-injection (v7.4.5 => v7.4.8)
  - Upgrading symfony/expression-language (v7.4.4 => v7.4.8)
  - Upgrading symfony/filesystem (v7.4.0 => v7.4.8)
  - Upgrading symfony/polyfill-ctype (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-iconv (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-intl-grapheme (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-intl-normalizer (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-mbstring (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-php84 (v1.33.0 => v1.36.0)
  - Upgrading symfony/polyfill-uuid (v1.33.0 => v1.36.0)
  - Upgrading symfony/process (v7.4.5 => v7.4.8)
  - Upgrading symfony/string (v7.4.4 => v7.4.8)
  - Upgrading symfony/uid (v7.4.4 => v7.4.8)
  - Upgrading symfony/var-exporter (v7.4.0 => v7.4.8)
  - Upgrading tecnickcom/tcpdf (6.10.1 => 6.11.3)
  - Upgrading twig/twig (v3.23.0 => v3.24.0)
  - Upgrading web-auth/cose-lib (4.5.0 => 4.5.1)
  - Upgrading web-auth/webauthn-lib (4.9.2 => 4.9.3)

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-24 14:13:07 -03:00
Kamil Tekiela
ce86769f34 Upgrading phpstan/phpstan (2.1.41 => 2.1.47)
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-04-13 17:15:06 +01:00
Nicolai Ehrhardt
9b8719f224 Update PHPStan baseline for ExportSql changes
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-11 11:54:34 +02:00
Nicolai Ehrhardt
a012644b37 Update PHPStan baseline for Import.php
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-11 11:20:06 +02:00
Kamil Tekiela
f708e074c9
Clean up config again (#20264)
* MaxTableList/MaxDbList/QueryHistoryMax
* UserprefsDisallow
* NaturalOrder
* Update TableTest.php
* MaxExactCountViews
* Update ReplicationGuiTest.php
* Update RoutinesTest.php
* Update StructureControllerTest.php
* Update ExportControllerTest.php
* Update StructureControllerTest.php
* Update BookmarkTest.php
* MaxCharactersInDisplayedSQL
* ActionLinksMode/ShowSQL/MysqlSslWarningSafeHosts
* Update TwoFactorTest.php
* ForeignKeyMaxLimit/ForeignKeyDropdownOrder
* QueryHistoryDB
* ZeroConf
* UseDbSearch
* MaxRoutineList
* NumFavoriteTables
* EnableAutocompleteForTablesAndColumns
* MaxExactCount/ShowStats
* InitialSlidersState
* Remove isset in Results
* Remove isset and fix tests
* PmaNoRelation_DisableWarning
* ShowCreateDb
* Update phpstan-baseline.neon
* Navigation
* Upgrading vimeo/psalm (6.15.0 => 6.16.1)

---------

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-04-10 16:33:08 -03:00
William Desportes
33c5a2293a
Merge #20238 - Fix #18941 - Reduce simulate-query memory
Pull-request: #20238
Fixes: #18941
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 17:12:43 +02:00
William Desportes
498a1a3353
Merge branch 'QA_5_2' 2026-04-09 15:21:25 +02:00
William Desportes
9d2f4c7247
Merge #20262 - Fix #18204 - Remove getInnodbPluginVersion() and refactor getInnodbFileFormat() for MariaDB compatibility
Pull-request: #20262
Co-Authored-By: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 15:03:51 +02:00
William Desportes
10093ffb2e
Merge #20167 - Fixes #19912 - remove the dead Suhosin warning
Pull-request: #20167
Fixes #19912
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 12:11:52 +02:00
Nicolai Ehrhardt
bcaf89c19f Fix #20041 - Fix export for raw queries without table reference
Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
2026-04-05 14:45:16 +02:00
Thomas Vincent
519193fedb
fix: resolve CI failures for phpcs header spacing and phpstan baseline count
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-04-03 02:19:25 -07:00
Thomas Vincent
d0de56088e
fix: remove SuhosinDisableWarning setting and all references
Remove the SuhosinDisableWarning configuration property, which warned about
Suhosin PHP extension conflicts. Suhosin is unmaintained and no longer relevant
to modern PHP environments.

- Remove SuhosinDisableWarning from Settings.php (type shape, property,
  constructor assignment, toArray, setSuhosinDisableWarning method)
- Remove from Descriptions.php, FeaturesForm.php, HomeController.php
- Remove testSuhosinDisableWarning() and related test assertions
- Update phpstan-baseline.neon and psalm-baseline.xml
- Remove FAQ 2.8 Suhosin bullet; add note that Suhosin is no longer relevant
- Add config.rst note that this option was removed

Closes #20167

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-04-03 02:19:24 -07:00
Maurício Meneghini Fauth
e0748802af
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-03-30 11:52:26 -03:00
Maurício Meneghini Fauth
cbc5186ebf
Improve unit tests for AvailableCharsets setting
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-03-26 16:28:38 -03:00
Maurício Meneghini Fauth
808b8eac33
Improve unit tests for MysqlSslWarningSafeHosts setting
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-03-25 17:49:49 -03:00
Maximilian Krög
6a6a70dc44
Update baselines
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
2026-03-23 10:34:38 +01:00
Maurício Meneghini Fauth
8f0fa8247d
Merge pull request #20147 from kamil-tekiela/Clean-up-setUserValue
Clean up setUserValue
2026-03-17 14:35:06 -03:00
William Desportes
d6ca244a18
Merge #20214 - Fix #20134 - Undefined array key 0 when there are no statements
Pull-request: #20214
Fixes: #20134
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 14:03:51 +01:00
Kamil Tekiela
839a7e7974 Fix ImportXML existence check
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-17 12:50:12 +00:00
William Desportes
e454326296
Update the phpstan and psalm baseline 2026-03-17 13:41:51 +01:00
William Desportes
ba3cfc7eb4
Merge #20154 - Fix gis export to pdf and svg
Pull-request: #20154
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 12:47:26 +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
William Desportes
ef79edfdac
Assert SQL queries for import XML
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-03-17 12:10:52 +01:00
Kamil Tekiela
ae203ed56d Change return type of detectCompression
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-16 23:17:15 +00:00
Kamil Tekiela
ccaa56b8ba Make name non-nullable and close class
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-16 23:17:12 +00:00
Kamil Tekiela
f4df04fcc3 Upgrading phpstan/phpstan (2.1.38 => 2.1.41)
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-16 20:29:10 +00:00
Kamil Tekiela
4acd79bd83 Fix some issues
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-16 20:29:10 +00:00
Maximilian Krög
827f371949
Reduce memory consumption of simulate query feature
Use a separate query to count changed rows.
Wrap select query with limit with a select * query which enables paging for
the displayed rows.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-03-15 21:45:36 +01:00
Maurício Meneghini Fauth
056dce74a9
Merge pull request #20208 from MoonE/gis-file-download
Rework GIS file export
2026-03-11 19:40:41 -03:00
Kamil Tekiela
2968e07e72 Use assert instead of docbloc
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-08 00:42:50 +00:00
Kamil Tekiela
7db0e7c682 Remove File::isError() method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-03-08 00:21:40 +00:00
Maurício Meneghini Fauth
7f8b16ed5c
Merge pull request #20179 from kamil-tekiela/Properties-3
Refactoring of Properties part 3 (final)
2026-03-07 11:44:41 -03:00
Maximilian Krög
7778e3afb0
Rework file export to avoid output buffer when possible
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2026-03-05 19:36:54 +01:00
Liviu-Mihail Concioiu
2cf8bd02c3 Check if ddlog is not empty
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
2026-03-05 00:01:32 +01:00
Maurício Meneghini Fauth
2a26c2c507
Merge pull request #20183 from MauricioFauth/ResponseRenderer-di-refactor
Extract ResponseRenderer dependency from some classes
2026-03-02 09:55:57 -03:00
Thomas Vincent
c3e2ecf80d
fix: update static analysis baselines for SearchController
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-02-28 22:32:30 -08:00
William Desportes
da22ca88f4
Update baselines 2026-02-28 22:24:26 +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
Maurício Meneghini Fauth
495a4d031e
Extract ResponseRenderer dependency from Privileges class
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-02-26 15:34:21 -03:00
Kamil Tekiela
788662ae0c Remove nullability from $name
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-02-26 00:23:03 +00:00
Kamil Tekiela
f23caa7308 Remove unneeded method_exists
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-02-26 00:21:46 +00:00
Kamil Tekiela
bb3855bbe4 Remove $pluginName . '_' .
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-02-26 00:21:46 +00:00