Hosted Weblate
435701f4ca
Merge branch 'origin/master' into Weblate.
...
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/
2022-09-18 02:24:27 +02:00
William Desportes
6112ef8743
Translated using Weblate (Réunion Creole)
...
Currently translated at 0.1% (3 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/rcf/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-18 02:24:26 +02:00
phpMyAdmin bot
3c771211ff
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-09-18 00:23:49 +00:00
Андрей
b9499b51c8
Translated using Weblate (Russian)
...
Currently translated at 97.4% (3346 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ru/
Signed-off-by: Андрей <platon436@gmail.com>
2022-09-15 15:15:52 +02:00
Maurício Meneghini Fauth
c51b5fa437
Use DatabaseName for the newname param in OperationsController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-13 20:36:06 -03:00
Maurício Meneghini Fauth
344981d57d
Merge pull request #17723 from MauricioFauth/crlf-global
...
Remove `crlf` global variable
2022-09-13 14:11:08 -03:00
Maurício Meneghini Fauth
873eb098b9
Remove crlf global variable
...
The crlf global variable is only diferent for SQL export method,
otherwise is always the value of the PHP_EOL constant.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-13 14:08:57 -03:00
Maurício Meneghini Fauth
5d74cd134e
Get 'newname' param from ServerRequest object
...
Instead of the $_POST superglobal in OperationsController and Operations
classes.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-12 23:36:07 -03:00
Maurício Meneghini Fauth
e96fab654d
Move DBI's getProceduresOrFunctions into Routines class
...
Splits the method into Routines::getFunctionNames and
Routines::getProcedureNames and adds tests.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11 17:32:44 -03:00
Maurício Meneghini Fauth
7975f5fb05
Move DBI's getDefinition into the Routines and Events classes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11 15:48:26 -03:00
Maurício Meneghini Fauth
329eb3511c
Inline $isProcOrFunc variable in Routines::handleRequestCreateOrEdit
...
Improves type inference of item_original_type POST param
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11 14:55:11 -03:00
Maurício Meneghini Fauth
b79b9e37a0
Improve type inference of exportRoutineSQL's $type param
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11 14:40:12 -03:00
William Desportes
1c844571f5
Translated using Weblate (Réunion Creole)
...
Currently translated at 0.1% (1 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/rcf/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-11 16:23:07 +02:00
phpMyAdmin bot
866bd70f48
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-09-11 00:21:38 +00:00
Maurício Meneghini Fauth
1cf2d303c0
Refactor Plugins\Export\ExportXml::exportDefinitions method
...
Improve type inference of the parameters.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-10 20:03:39 -03:00
Maurício Meneghini Fauth
a8421efd56
Move DBI getTriggers method into the Triggers class
...
DatabaseInterface::getTriggers -> Database\Triggers::getDetails
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-10 16:00:42 -03:00
Maurício Meneghini Fauth
d760df02dd
Move DBI getEvents method into the Events class
...
DatabaseInterface::getEvents -> Database\Events::getDetails
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-10 12:48:44 -03:00
Maurício Meneghini Fauth
81192a142b
Move DBI getRoutines method to the Routines class
...
DatabaseInterface::getRoutines -> Database\Routines::getDetails
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-09 23:29:26 -03:00
Maurício Meneghini Fauth
746d1696b7
Improve type declaration of Index::getCompareData method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-09 09:04:21 -03:00
Maurício Meneghini Fauth
d6b72de8aa
Improve return type of Index::getPrimary method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07 23:25:20 -03:00
Maurício Meneghini Fauth
9d2350d28c
Extract dbi global variable from Index::loadIndexes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07 21:59:03 -03:00
Maurício Meneghini Fauth
bc4fa31a06
Add better type description for Dbal\DbalInterface::getTableIndexes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07 16:14:04 -03:00
Maurício Meneghini Fauth
a3ba333bfc
Add better type description for Index::$columns
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07 14:50:35 -03:00
Maurício Meneghini Fauth
e9d742fdb6
Add better type description to Index::$registry
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07 14:20:39 -03:00
Maurício Meneghini Fauth
ec9af1bd65
Merge pull request #17712 from kamil-tekiela/sql_autocomplete
...
Clean up autocomplete controller
2022-09-07 13:56:43 -03:00
Kamil Tekiela
f471e7f8e3
Clean up autocomplete controller
...
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-09-07 15:35:56 +01:00
Maurício Meneghini Fauth
262e3e8129
Add some unit tests for the Util class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-06 22:14:14 -03:00
Maurício Meneghini Fauth
b20d7f3a04
Remove UtilTest's setUp method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-05 17:31:36 -03:00
Kozioł Marcin
c768ab7991
Translated using Weblate (Polish)
...
Currently translated at 96.2% (3302 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pl/
Signed-off-by: Kozioł Marcin <koziol.martin@gmail.com>
2022-09-05 01:40:45 +02:00
William Desportes
252c04fa37
Translated using Weblate (Polish)
...
Currently translated at 96.1% (3301 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pl/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-04 12:11:04 +02:00
Kozioł Marcin
794845a13b
Translated using Weblate (Polish)
...
Currently translated at 96.2% (3302 of 3432 strings)
[ci skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pl/
Signed-off-by: Kozioł Marcin <koziol.martin@gmail.com>
2022-09-04 12:06:31 +02:00
phpMyAdmin bot
a859d780f2
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-09-04 00:22:17 +00:00
Maurício Meneghini Fauth
2b0a3da810
Fix some errors found by PHPStan in ZipExtensionTest class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-03 19:23:13 -03:00
Maurício Meneghini Fauth
0319d34ee6
Fix errors reported by PHPStan in test/selenium
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-03 16:38:44 -03:00
Maurício Meneghini Fauth
a3228b8d54
Add unit test for the DatabaseInterface::prepare method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-02 21:06:26 -03:00
Maurício Meneghini Fauth
0b5d7b67cf
Fix an error found by Psalm
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-01 22:48:41 -03:00
Kristijan Fremen Velkovski
81b7b74fd5
Translated using Weblate (Macedonian)
...
Currently translated at 18.2% (625 of 3432 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-31 07:15:32 +02:00
Maurício Meneghini Fauth
d3a267fdfc
Refactor DbiMysqli::connect to use Server value object
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-29 18:19:38 -03:00
phpMyAdmin bot
183f193084
Update po files
...
[ci skip]
Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2022-08-28 00:24:22 +00:00
Mojtaba Matboyi
0877a410a3
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: Mojtaba Matboyi <m.matboyi@gmail.com>
2022-08-27 11:16:16 +02:00
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