Commit Graph

136269 Commits

Author SHA1 Message Date
Satyam
a5f73eb951
Merge branch 'phpmyadmin:master' into master 2026-04-22 11:01:01 +05:30
Satyam
a2d68167a1 Add Psalm baseline for CopyStructureController
Record PossiblyUnusedReturnValue for Response on both copy-structure
controllers, consistent with other InvocableController routes.

Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-22 10:41:24 +05:30
Nicolai
e3a1824fe4
Fix #19627 - Reset UNSIGNED attribute when changing to non-numeric co… (#20280)
* Fix #19627 - Reset UNSIGNED attribute when changing to non-numeric column type
* Fix eslint array-element-newline violations
* Trigger CI re-run
* Update resources/js/modules/functions.ts

---------

Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
Co-authored-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-04-21 15:58:17 -03:00
Satyam
372ab219ef Fix PHPStan issues in CopyStructureController tests
Remove redundant Response assertions; narrow JSON values with PHPUnit
assertions instead of casting mixed to string.

Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-21 16:02:45 +05:30
Satyam
dafce8a1aa
Merge branch 'phpmyadmin:master' into master 2026-04-21 15:04:06 +05:30
Satyam
120715b142 Use request database/table names in CopyStructureController
Stop relying on Current::$database for copy-structure SQL; use validated
DatabaseName. Remove redundant selectDb from table copy controller and
align unit tests with response handling and DBI expectations.

Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-21 15:01:03 +05:30
Maurício Meneghini Fauth
ea951ef2a8
Merge pull request #20265 from predictor2718/fix/routines-duplicate-on-edit
Fix #20063 - Fix routine, event and trigger duplication when editing
2026-04-20 17:03:59 -03:00
Andrei Stepanov
4fc7e94933
Translated using Weblate (Russian)
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ru/
Signed-off-by: Andrei Stepanov <adem4ik@gmail.com>
2026-04-20 17:09:49 +02:00
Hosted Weblate
fc8c2d7b59
Merge branch 'origin/master' into Weblate.
[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/
2026-04-19 02:47:21 +02:00
ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
479cab0201
Translated using Weblate (Latvian)
Currently translated at 22.1% (757 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/lv/
Signed-off-by: "ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)" <coool@mail.lv>
2026-04-19 02:47:16 +02:00
phpMyAdmin bot
3f40b82265 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2026-04-19 00:47:06 +00:00
Andi Chandler
26bcf2d71e
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/en_GB/
Signed-off-by: Andi Chandler <andi@gowling.com>
2026-04-17 02:09:59 +02:00
ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
7030b12dce
Translated using Weblate (Latvian)
Currently translated at 21.9% (753 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/lv/
Signed-off-by: "ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)" <coool@mail.lv>
2026-04-17 02:09:58 +02:00
Iaroslav K
0354120221
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/uk/
Signed-off-by: Iaroslav K <yarkm13@gmail.com>
2026-04-17 02:09:58 +02:00
Milo Ivir
b26a32d105
Translated using Weblate (Croatian)
Currently translated at 24.8% (850 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/hr/
Signed-off-by: Milo Ivir <mail@milotype.de>
2026-04-15 18:09:51 +00:00
Satyam
fd5e5b84a7 Add tests for CopyStructureController and fix HTML fixture
Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-15 15:26:26 +05:30
William Desportes
ad78a577c0
Merge #20283 - Upgrading phpstan/phpstan (2.1.41 => 2.1.47)
Pull-request: #20283
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-13 21:34:31 +02: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
Zahid Rizky Fakhri
95058f70ff
Translated using Weblate (Indonesian)
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/id/
Signed-off-by: Zahid Rizky Fakhri <zahidrizkyfakhri@gmail.com>
2026-04-13 03:11:16 +02:00
Hotripak
eff7266df3
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/uk/
Signed-off-by: Hotripak <hotr1pak@gmail.com>
2026-04-13 03:11:15 +02:00
Burak Yavuz
8f4d865b0a
Translated using Weblate (Turkish)
Currently translated at 100.0% (3425 of 3425 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Burak Yavuz <hitowerdigit@hotmail.com>
2026-04-13 03:11:15 +02:00
phpMyAdmin bot
9edf12e957 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2026-04-12 00:44:51 +00:00
ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
e2d74342d3
Translated using Weblate (Latvian)
Currently translated at 21.8% (747 of 3426 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/lv/
Signed-off-by: "ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)" <coool@mail.lv>
2026-04-11 22:09:51 +02:00
Rodrigo Del Bem
c93ea048e3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.1% (3364 of 3426 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt_BR/
Signed-off-by: Rodrigo Del Bem <rodrigodelbem@gmail.com>
2026-04-11 22:09:49 +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
Satyam
3d7ad3e477 Rename database structure button label to Copy DB Structure
Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-10 13:54:21 +05:30
Satyam
c5e158233f Relocate copy table structure button and remove duplicate
Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-10 13:50:57 +05:30
Satyam
7a8a184f87 Add CopyStructureController for database structure copying
Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-10 13:50:57 +05:30
Satyam
f8e914075b Add copy structure controller and clipboard functionality
Signed-off-by: Satyam <satyam.gupta756@gmail.com>
2026-04-10 13:50:57 +05:30
Maurício Meneghini Fauth
e18b197a11
Merge pull request #20274 from MauricioFauth/var-let-const
Replace var with let or const in TypeScript files
2026-04-09 20:50:21 -03:00
Maurício Meneghini Fauth
0d843e68fe
Replace var with let or const in TypeScript files
Most of the changes were done by PhpStorm.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-09 20:48:22 -03:00
ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
dbb116703b
Translated using Weblate (Latvian)
Currently translated at 21.1% (724 of 3426 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/lv/
Signed-off-by: "ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)" <coool@mail.lv>
2026-04-09 18:09:52 +00:00
William Desportes
900480ebd1
Merge #20268 - Fix #20110 - Skip locale directory assertion when folder is missing
Pull-request: #20268
Fixes: #20110
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 17:30:56 +02:00
William Desportes
7ba1db3daf
Add a missing new line for drag drop 2026-04-09 17:28:05 +02:00
William Desportes
43fd19b79e
Fix #20275 - TOON export should use the normal user
Pull-request: #20175

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 17:06:28 +02:00
William Desportes
2c03905eea
Merge #19802 - Fix #19381 - Implement csv empty to null
Pull-request: #19802
Fixes: #19381

Co-Authored-By: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 16:59:10 +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
fa168ab7a3
Add tests for #20262
Pull-request: #20262
Ref: #18204

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 14:36:01 +02:00
William Desportes
03ef236b57
Improve: Specifically allow application/x-moz-file as a drag and drop valid case
The original logic was a bit hard to understand, I changed everything to compare with -1
This is quite easier to read

Pull-request: #20189
Ref: #18557

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 14:27:39 +02:00
William Desportes
be412170f7
Merge branch 'QA_5_2' 2026-04-09 14:20:01 +02:00
William Desportes
84c971aaa3
Fixup of: Specifically allow application/x-moz-file as a drag and drop valid case
I did a mistake in my logic

Pull-request: #20189
Ref: #18557

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 14:19:36 +02:00
William Desportes
559d94d7aa
Specifically allow application/x-moz-file as a drag and drop valid case
If this was not added on 6.0 I could not drag and drop a file into phpMyAdmin.
I have no idea why on 5.2 it still worked.

Pull-request: #20189
Ref: #18557

Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 14:05:40 +02:00
William Desportes
aad16a108c
Merge branch 'QA_5_2' 2026-04-09 13:44:37 +02:00
William Desportes
10fc2a46b2
Merge #20259 - Fix #19842 - skip user link for non-real users in processes list
Pull-request: #20259
Fixes: #19842
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 13:38:48 +02:00
William Desportes
2e1b85ae52
Merge #20189 - Fixes #18557 - Drag & drop difference between Firefox & Chromium browsers
Pull-request: #20189
Fixes: #18557
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 13:36:40 +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
William Desportes
2cb227f125
Merge #20267 - Fix #19338 - Add missing length validation when changing column type
Pull-request: #20267
Fixes: #19338
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 12:06:40 +02:00
William Desportes
c6a7f7f9e9
Merge #20269 - Fix #20064 - Fix sliding message container overlapping page content
Pull-request: #20269
Fixes: #20064
Fixes: #18923
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 12:04:19 +02:00
William Desportes
0eab757cba
Merge #20266 - Fix #20041 - Fix export for raw queries without table reference
Pull-request: #20266
Fixes: #20041
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-04-09 12:01:05 +02:00