Commit Graph

124317 Commits

Author SHA1 Message Date
aliheydariafshar
62f3bf46c8
Translated using Weblate (Persian)
Currently translated at 23.1% (796 of 3432 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fa/
Signed-off-by: aliheydariafshar <afshar13ali@gmail.com>
2022-08-27 11:16:16 +02:00
Artem
811789df3c
Translated using Weblate (Ukrainian)
Currently translated at 99.9% (3430 of 3432 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/uk/
Signed-off-by: Artem <artem@molotov.work>
2022-08-25 06:15:01 +02:00
Maurício Meneghini Fauth
5acfb45262
Fix some errors in Common class found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-23 17:00:09 -03:00
Kamil Tekiela
f7f8722e1f
Refactor insert edit (#17684)
This is a major redesign of the code that handles these four actions: in-place edit(AJAX), edit of multiple rows, copying of rows, and insertion of new rows. The goal is to make the code easier to read and more understandable.

    I introduced a new DTO for better readability.
    Some of the methods were made private to the model
    The controller has access to two methods for getting the value for INSERT and for UPDATE
    Unfortunately, I have introduced method envy on EditField, but I do not want to move the functionality away from InsertEdit.php
    Unit tests have not improved in readability but I added helpful comments explaining what we are testing. There's probably a way to improve it too.

I will probably merge all commits once I decide it's ready for review.


Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-22 22:39:53 -03:00
Maurício Meneghini Fauth
6ed03b3f00
Merge pull request #17691 from kamil-tekiela/Fix-incomplete-test
Fix incomplete Privileges test
2022-08-22 21:15:57 -03:00
Hosted Weblate
84e30c2c86
Merge branch 'origin/master' into Weblate.
[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/
2022-08-21 02:20:25 +02:00
Kristjan Räts
f2be6ee232
Translated using Weblate (Estonian)
Currently translated at 100.0% (3431 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/et/
Signed-off-by: Kristjan Räts <kristjanrats@gmail.com>
2022-08-21 02:20:24 +02:00
phpMyAdmin bot
1e5d208db5 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-08-21 00:20:03 +00:00
Maurício Meneghini Fauth
c36dd24b59
Add unit tests for Table\Structure\SpatialController class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-20 18:21:07 -03:00
Maurício Meneghini Fauth
ec03bac629
Add unit tests for Table\Structure\UniqueController class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-20 17:23:15 -03:00
Maurício Meneghini Fauth
d7e1dd7206
Extract Console dependencies from constructor
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-20 15:52:06 -03:00
Kristjan Räts
84f6b137a6
Translated using Weblate (Estonian)
Currently translated at 100.0% (3431 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/et/
Signed-off-by: Kristjan Räts <kristjanrats@gmail.com>
2022-08-20 09:15:36 +02:00
Kamil Tekiela
ac7fd21ecb Fix incomplete Privileges test
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-19 14:22:17 +01:00
Пламен
be0568ff46
Translated using Weblate (Bulgarian)
Currently translated at 63.3% (2174 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/bg/
Signed-off-by: Пламен <plamen_mbx@yahoo.com>
2022-08-19 12:18:21 +02:00
Kristijan Fremen Velkovski
a34203a1cf
Translated using Weblate (Macedonian)
Currently translated at 18.0% (620 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mk/
Signed-off-by: Kristijan Fremen Velkovski <me@krisfremen.com>
2022-08-19 06:22:48 +02:00
Maurício Meneghini Fauth
0b2ab57ea2
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-19 00:31:22 -03:00
Maurício Meneghini Fauth
9c3ce37491
Merge pull request #17686 from kamil-tekiela/Allow-fields-to-be-set-to-null
Allow fields to be set to NULL
2022-08-18 23:33:11 -03:00
Maurício Meneghini Fauth
a2ef27823e
Merge pull request #17688 from kamil-tekiela/Fix-table-creation
Fix table creation

Fixes #17544
2022-08-18 22:54:53 -03:00
Maurício Meneghini Fauth
aa20e5b493
Merge pull request #17689 from kamil-tekiela/Extract-methods
Extract methods in ReplaceController
2022-08-18 21:28:42 -03:00
Kamil Tekiela
d14e334176 Update psalm-baseline.xml
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-17 21:20:50 +01:00
Kamil Tekiela
2e126d7f65 Fix table creation
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-17 20:31:51 +01:00
Kamil Tekiela
0944221868 Extract moveBackToCallingScript
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-17 19:21:33 +01:00
Kamil Tekiela
6d91494935 Extract doTransformations
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-17 19:21:33 +01:00
Kristijan Fremen Velkovski
fd8f46425a
Translated using Weblate (Macedonian)
Currently translated at 17.8% (610 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-08-17 15:15:42 +02:00
Alkin Veysal
fb01151e8a
Translated using Weblate (Bulgarian)
Currently translated at 63.7% (2179 of 3418 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/bg/
Signed-off-by: Alkin Veysal <alkinbg@gmail.com>
2022-08-17 15:15:41 +02:00
Kristijan Fremen Velkovski
de1eb66dbf
Translated using Weblate (Macedonian)
Currently translated at 17.7% (610 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mk/
Signed-off-by: Kristijan Fremen Velkovski <me@krisfremen.com>
2022-08-17 06:17:18 +02:00
William Desportes
848f965db4
Fix merge mistake for renamed JS variable "window.Messages."
[ci skip]

Ref: 526bfe40c1

Reverts 526bfe40c1 and makes the right change according to the codebase

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-16 22:52:37 +02:00
Maurício Meneghini Fauth
f429eb2238
Refactor toggleQuickOrCustom function from export.js
Uses the d-none CSS class to hide the elements and removes the jQuery code.

This removes the flickering when the page loads since the elements are
already hidden.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-16 13:51:41 -03:00
Maurício Meneghini Fauth
526bfe40c1
Fix eslint error in modules/console.js file
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-15 20:38:59 -03:00
William Desportes
9c72103931
Change "Count" for "Count:" and "Time taken" for "Time taken:" on SQL debug console
All are translated or previously translated.

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 18:11:59 +02:00
William Desportes
249eaffae7
Fix merge mistake in Console init
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 18:07:19 +02:00
William Desportes
9757b09dc8
Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 18:05:35 +02:00
William Desportes
306bb2e8f6
Add ChangeLog entries for #17543 and #17546
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 17:48:20 +02:00
William Desportes
c9ea616ece
Fix #17546 - Unregister the modal success on click event to avoid modals calling the previous one
```
Uncaught TypeError: Cannot read properties of undefined (reading 'trim')
```

Fixes: #17546

To reproduce:
- use save as
- use open page
- crash because it called also save as

Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 17:46:24 +02:00
William Desportes
abb871be89
Add back some dev comments on Designer objects
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-08-15 17:20:32 +02:00
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
Kamil Tekiela
fc932a9a8f Allow fields to be set to NULL
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-15 14:35:21 +01: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
yangyangdaji
1ad48f00a3
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3431 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/zh_Hans/
Signed-off-by: yangyangdaji <1504305527@qq.com>
2022-08-15 09:17:29 +02:00
phpMyAdmin bot
35c445e672 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-08-14 00:20:32 +00:00
Maurício Meneghini Fauth
f57ea10921
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-12 21:13:24 -03: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
1eb61c9908
Translated using Weblate (Indonesian)
Currently translated at 75.8% (2603 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/id/
Signed-off-by: Holiq Ibrahim <holiq.ibrahim376@gmail.com>
2022-08-12 21:19:28 +02:00
Sean Dylan Patterson
e1bb3ad3c1
Translated using Weblate (Afrikaans)
Currently translated at 9.1% (314 of 3431 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/af/
Signed-off-by: Sean Dylan Patterson <seandylanpatterson@gmail.com>
2022-08-12 21:19:28 +02:00