1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00
Commit Graph

124341 Commits

Author SHA1 Message Date
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
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