Commit Graph

123608 Commits

Author SHA1 Message Date
William Desportes
e5dcb1e33a
Fix #17543 - JS error on saving a new designer page
Uncaught TypeError: Cannot read properties of undefined (reading 'length')

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 17:18:55 +02:00
William Desportes
9361da6d22
Add ChangeLog entries for #17620, a9356e4d16, 2365ec78e2, d0093468d0, 8b99611988
Ref: a9356e4d16
Ref: 2365ec78e2
Ref: d0093468d0
Ref: 8b99611988

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 16:30:03 +02:00
William Desportes
8b99611988
Fix console toolbar render when bookmark feature is disabled and sql debug is enabled
It made the display weird because a empty div was added

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 13:21:27 +02:00
William Desportes
d0093468d0
Fix escaping of SQL query and errors for debug console
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 13:20:09 +02:00
William Desportes
2365ec78e2
Fix debug queries console broken query time and group count
There was no number displayed, I fixed the jquery expression and then fixed the formatting method to make the value appear in each display case

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 12:47:04 +02:00
William Desportes
a9356e4d16
Fix #17620 - Fix callbacks of Functions.configGet if there is an error and better handle error messages
Ref: https://github.com/phpmyadmin/phpmyadmin/issues/17585#issuecomment-1193770253
Closes: #17585
Fixes: #17620

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 12:06:29 +02:00
yangyangdaji
22b5102cae
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3418 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/zh_Hans/
Signed-off-by: yangyangdaji <1504305527@qq.com>
2022-08-15 09:20:59 +02:00
Maurício Meneghini Fauth
c78c5e320b
Add ChangeLog entry for #17673 #17658 #17663
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-12 20:59:56 -03:00
Maurício Meneghini Fauth
1ec5502ca7
Merge pull request #17673 from kamil-tekiela/unique
Allow empty values to be inserted into columns
2022-08-12 20:36:44 -03:00
Holiq Ibrahim
44fc9b18db
Translated using Weblate (Indonesian)
Currently translated at 76.3% (2610 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/id/
Signed-off-by: Holiq Ibrahim <holiq.ibrahim376@gmail.com>
2022-08-11 23:20:04 +02:00
William Desportes
7faf6a53ec
Fix Docker mount path for custom themes
Closes: https://github.com/phpmyadmin/docker/issues/379

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-10 00:35:25 +02:00
William Desportes
f714d97fb2
Update the documentation to use the Docker official repository
And use the same container name everywhere

Seems like I missed some entries

Ref: 249d02fddf
Ref: https://github.com/phpmyadmin/docker/issues/56
Ref: https://github.com/phpmyadmin/docker/issues/379

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-10 00:26:47 +02:00
William Desportes
5c4d86df39
Fix wrong link to download latest source on QA_5_2 documentation
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-10 00:24:02 +02:00
Kamil Tekiela
06d58c9662 Fix bug #17663
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-08 14:41:51 +01:00
yangyangdaji
e50401c5ba
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3418 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/zh_Hans/
Signed-off-by: yangyangdaji <1504305527@qq.com>
2022-08-07 14:15:53 +02:00
Kamil Tekiela
d075fa56a2 A table may be named "0"
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-04 21:40:18 +01:00
Holiq Ibrahim
1f190b07b8
Translated using Weblate (Indonesian)
Currently translated at 76.0% (2598 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/id/
Signed-off-by: Holiq Ibrahim <holiq.ibrahim376@gmail.com>
2022-08-03 17:15:21 +02:00
William Desportes
ebf4a09378
Document missing Docker ENVs PMA_CONTROL{HOST,PASS,PORT,USER} and PMA_PMADB
Fixes: https://github.com/phpmyadmin/docker/issues/378

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-01 10:38:36 +02:00
William Desportes
74958633c2
Document missing Docker ENVs PMA_QUERYHISTORYDB and PMA_QUERYHISTORYMAX
Fixes: https://github.com/phpmyadmin/docker/issues/378

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-01 10:38:26 +02:00
William Desportes
eaf60bc9d1
Document missing Docker ENV MAX_EXECUTION_TIME
Fixes: https://github.com/phpmyadmin/docker/issues/378

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-01 10:38:07 +02:00
William Desportes
ca294bcec9
Document missing Docker ENV MEMORY_LIMIT
Ref: https://github.com/phpmyadmin/docker/issues/378

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-01 09:54:18 +02:00
William Desportes
8ef83c070e
Update the documentation to use the Docker official repository
Seems like I missed some entries

Ref: 249d02fddf
Ref: https://github.com/phpmyadmin/docker/issues/56

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-31 23:05:27 +02:00
William Desportes
d749f090ab
Translated using Weblate (Berber)
Currently translated at 0.1% (1 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/ber/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-30 10:47:24 +02:00
zeecho
90ad5246ab
Translated using Weblate (Esperanto)
Currently translated at 12.4% (425 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/eo/
Signed-off-by: zeecho <lachose44@gmail.com>
2022-07-30 10:21:28 +02:00
Kristijan Fremen Velkovski
42aacdccd3
Translated using Weblate (Macedonian)
Currently translated at 17.8% (609 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/mk/
Signed-off-by: Kristijan Fremen Velkovski <me@krisfremen.com>
2022-07-25 23:22:02 +02:00
Kristijan Fremen Velkovski
327bb0a91f
Translated using Weblate (Macedonian)
Currently translated at 17.3% (592 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/mk/
Signed-off-by: Kristijan Fremen Velkovski <me@krisfremen.com>
2022-07-24 22:17:09 +02:00
Maurício Meneghini Fauth
e2c7aa8628
Fix error when a db group name is same as container name
Fixes #17659

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-23 18:38:22 -03:00
Maurício Meneghini Fauth
21c36a0c06
Fix PHPUnit deprecation in RoutingTest
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-23 14:23:55 -03:00
Kristijan Fremen Velkovski
9897d53803
Translated using Weblate (Macedonian)
Currently translated at 16.8% (577 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/mk/
Signed-off-by: Kristijan Fremen Velkovski <me@krisfremen.com>
2022-07-23 09:24:04 +02:00
Liviu-Mihail Concioiu
07ee57fe26
Fix translate in Chrome (#17655)
The previous commit happens to fix only on Edge. This PR is for Chrome too.
9f395c7ca3

Fixes #17652

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-22 13:49:57 -03:00
Eric P
85bb635361
Set data type should be an array in column_row.twig template (#17650)
The column_row.twig template that was introduced with version 5.2.0 seems to define set fields as single values rather than as array values. This causes any inserts to set fields to fail and result in a blank page.

The previous version had sets properly defined as arrays:
https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_1_4/libraries/classes/InsertEdit.php#L1307

Fixes: #17557

Signed-off-by: Eric Perrino <ericpp@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-22 13:44:22 -03:00
Liviu-Mihail Concioiu
9f395c7ca3
Disable translate options on Edge/Chrome browsers (#17653)
* Disable translate options on Edge/Chrome browsers

Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-21 22:57:31 -03:00
Maurício Meneghini Fauth
dbe3db564e
Fix Enum/Set editor error when creating a new column
Fixes #17551

https://github.com/phpmyadmin/phpmyadmin/issues/17551#issuecomment-1136074722

Co-authored-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-20 20:54:07 -03:00
Maurício Meneghini Fauth
fda386a998
Fix LanguageTest failing test when locale file is missing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-19 18:52:03 -03:00
Ankush Patil
987cb5043d
fixed find replace regex issue if no matching result set found
When find and replace searching used with regex, at the time of replace
empty CASE END condition was causing issue.

Fixes #17388
Closes #17641

Signed-off-by: Ankush Patil <aspraz2658@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-19 15:28:43 -03:00
Maurício Meneghini Fauth
f82e460805
Upgrade JavaScript dependencies
- Bumps Bootstrap version to 5.2.0
- Bumps OpenLayers version to 6.15.1

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-19 14:50:46 -03:00
Angelo Grebenarov
64f2c7b360
Fixed broken filtering - ticket #17593
Fixes #17593
Closes #17610

In (Page-related settings) -> (Where to show the table row links) there
are 4 options: Left, Right, Both, and Nowhere.
The 3 dummy elements (mentioned in this ticket) are only needed for
Left, Both, and Nowhere... and they are NOT needed for "Right".
Since the main thing that distinguishes the "Right" position from the
other 3 is - "colspan", my code checks for the presence of "colspan"
on the first existing (non-dummy) element, and then decides whether
or not to add the 3 additional dummy- elements.

Signed-off-by: Angelo Grebenarov <grebenarov@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-19 13:47:16 -03:00
atomu330
6957064cea
replace isset to empty
IF statement ! isset($this->uiprefs) was causing issue.

Private property 'uiprefs' is initialized to empty array, so ! isset($this->uiprefs) is always FALSE;
It's not hopefull, so I replace ! isset($this->uiprefs) to empty($this->uiprefs) to fix #17617 bug;

Fixes #17617
Closes #17644

Signed-off-by: Atomu Oku <atomu.work@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-19 13:04:59 -03:00
Maurício Meneghini Fauth
ddb4d5b730
Bump jquery-validation version from 1.19.3 to 1.19.5
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-18 15:31:14 -03:00
Maurício Meneghini Fauth
519522428e
Fix some languages not getting correctly detected
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-15 21:32:22 -03:00
William Desportes
f5dac447a0
Cleanup paragonie/sodium_compat vendor folder
Ref: https://github.com/paragonie/sodium_compat/pull/147

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:49:58 +02:00
William Desportes
458e7902bc
Remove some useless files from the release bundle
Ref: https://github.com/php-fig/http-factory/pull/12

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:49:56 +02:00
William Desportes
024b93a441
Allow composer/ca-bundle pem file in release bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:23:32 +02:00
William Desportes
3732dec17d
Stop allowing openssl.cnf in check release script
Ref: 124bb336fd

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 19:22:26 +02:00
William Desportes
0fb9f4c266
Fix PHP 8.2: ${var} deprecated string interpolation syntax on Git class
Ref: af7338f706

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 15:28:08 +02:00
William Desportes
fd006f1555
Write a test for Git::extractDataFormTextBody
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 15:27:33 +02:00
William Desportes
0daa68d85c
Remove ignore config.inc.php for psalm because it fails the CI
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 14:56:40 +02:00
William Desportes
9054339999
Update psalm baseline and ignore config.inc.php for psalm
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 11:50:42 +02:00
William Desportes
03e27019ad
Add a ChangeLog entry for 6a69face6c
Ref: 6a69face6c

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 11:15:43 +02:00
William Desportes
6a69face6c
Fix PHP 8.2: ${var} deprecated string interpolation syntax
Ref: https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated

Left over to patch:
- libraries/classes/Git.php#L397
- libraries/classes/Database/Qbe.php#L878
- libraries/classes/Database/Qbe.php#L879

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-07-13 11:14:20 +02:00