Commit Graph

122851 Commits

Author SHA1 Message Date
Salvador Domingues
0d59739b65
Translated using Weblate (Portuguese)
Currently translated at 97.9% (3346 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt/
Signed-off-by: Salvador Domingues <salvadordomingues@gmail.com>
2022-01-01 17:54:18 +01:00
Maurício Meneghini Fauth
c4825b13c4
Merge pull request #17263 from kamil-tekiela/dbi-result
Major refactoring of Dbal pt.1
2021-12-31 21:44:48 -03:00
Kamil Tekiela
47a039d70c Implement ResultInterface & MysqliResult
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-31 23:59:24 +00:00
Maurício Meneghini Fauth
b1dc03365a
Bump TCPDF version to 6.4.4
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-31 16:58:34 -03:00
Marius Sfara
a759b2a74c
Translated using Weblate (Romanian)
Currently translated at 88.2% (3014 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ro/
Signed-off-by: Marius Sfara <marius.sfara@gmail.com>
2021-12-31 15:51:18 +01:00
Masahiro Fujimoto
1cbc418cbe
Translated using Weblate (Japanese)
Currently translated at 100.0% (3416 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ja/
Signed-off-by: Masahiro Fujimoto <mfujimot@gmail.com>
2021-12-31 15:51:17 +01:00
Maurício Meneghini Fauth
cb650d2a2d
Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-29 19:44:12 -03:00
William Desportes
679eca275a
Fix phpdocs after tcpdf update to 6.4.3 (the actual hints where not valid)
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:41:58 +01:00
William Desportes
2cdf437938
Update phpstan baseline after tcpdf 6.4.3
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:35:09 +01:00
William Desportes
812b41c3a7
Upgrade tcpdf to latest 6.4.3 (that has a PHP 8.1 bug fix)
Previous upgrade: 5e3aaac940

Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:34:49 +01:00
William Desportes
f8f815e736
Cleanup sql-parser translation files on English bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:21:21 +01:00
William Desportes
dfea1a04c5
Remove vendor/google/recaptcha/ARCHITECTURE.md useless file
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-29 01:20:54 +01:00
Xuan Hung
283a720891
Translated using Weblate (Vietnamese)
Currently translated at 76.5% (2616 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/vi/
Signed-off-by: Xuan Hung <mr.hungdx@gmail.com>
2021-12-28 13:53:25 +01:00
f3rr31
fd0a7426d3
Translated using Weblate (Hungarian)
Currently translated at 87.9% (3006 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/hu/
Signed-off-by: f3rr31 <5920873@disroot.org>
2021-12-28 13:53:24 +01:00
f3rr31
4605c1e722
Translated using Weblate (Hungarian)
Currently translated at 91.2% (3087 of 3384 strings)

[ci skip]

Translation: phpMyAdmin/5.1
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-1/hu/
Signed-off-by: f3rr31 <5920873@disroot.org>
2021-12-27 22:53:53 +01:00
Maurício Meneghini Fauth
58ed5bfa9e
Extract Simulate DML action from ImportController
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 18:37:15 -03:00
Maurício Meneghini Fauth
0f678e8d7d
Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 16:19:18 -03:00
Maurício Meneghini Fauth
3968808e76
Fix broken link in the Simulate DML query modal
Fixes #17259

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 16:09:07 -03:00
Maurício Meneghini Fauth
feca48cc76
Change return type of DatabaseInterface::getError method
Now, it returns last error message or an empty string instead of false
if no errors occurred.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 14:43:14 -03:00
Maurício Meneghini Fauth
2d56a8baac
Move Import and ImportStatus ctrls to Controllers\Import ns
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 10:27:28 -03:00
Maurício Meneghini Fauth
2edf663611
Remove the Bookmark::getParams method
Uses BookmarkFeature class instead.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-27 09:31:53 -03:00
Maurício Meneghini Fauth
8e9dfe79db
Merge pull request #17243 from kamil-tekiela/Refactor-Results.php
Refactor results.php
2021-12-27 09:21:49 -03:00
Kamil Tekiela
e2dc2a9c86 Remove getUnsortedSqlAndSortByKeyDropDown()
This was stupid abstraction. This method did 2 things. When the code that prepares unsorted SQL is moved out of this method, the rest can be absorbed by getSortByKeyDropDown(). This method didn't declare any local variables, it took parameters that were just passed along to other methods. The code to get unsorted SQL was just a single instruction that was self-explanatory. Indexes relied on properties so they didn't need to be a parameter to the other method.

This method only added complexity instead of reducing it.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Kamil Tekiela
7a735ddf92 Redesign CSS class generation
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Kamil Tekiela
9969b9d103 $printview global is always null
The variable is not set anywhere in the current codebase.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Kamil Tekiela
acb91c0b34 Refactor Results.php
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Kamil Tekiela
97810b3a21 Fix bug #17239
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Kamil Tekiela
eba8621881 Use DI for Results.php
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-26 23:10:34 +00:00
Maurício Meneghini Fauth
aadd4569f1
Merge pull request #17256 from mauriciofauth/rel-params-refactor
Refactor `RelationParameters` class
2021-12-26 20:10:21 -03:00
Maurício Meneghini Fauth
0cf1843e3e
Fix /check-relations page
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:26:04 -03:00
Maurício Meneghini Fauth
fb1a7c1a52
Improve RelationParameters tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:59 -03:00
Maurício Meneghini Fauth
994cf8fa39
Remove Tracker::getTrackingTable method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:58 -03:00
Maurício Meneghini Fauth
d84af02945
Create VO classes for each RelationParameters features
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:58 -03:00
Maurício Meneghini Fauth
7b21d2af24
Remove RelationParameters::$version property
It is only used to save to the Session.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:58 -03:00
Maurício Meneghini Fauth
c4e2582e56
Use TableName for RelationParameters tables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:57 -03:00
Maurício Meneghini Fauth
ed8ebb3c70
Update Psalm's baseline to v4.16.1
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:03 -03:00
Maurício Meneghini Fauth
5658a99ba0
Add ChangeLog entry for #17257
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:11:43 -03:00
Maurício Meneghini Fauth
5ff0aa9fbf
Merge pull request #17257 from mauriciofauth/vendor-config-constants
Replace `vendor_config.php` constants with an array
2021-12-26 19:08:37 -03:00
Maurício Meneghini Fauth
1e542cd621
Replace vendor_config.php constants with an array
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 16:48:56 -03:00
phpMyAdmin bot
5940dc715d Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2021-12-26 00:13:08 +00:00
Maurício Meneghini Fauth
8fd8c35ff2
Fix CoreTest::testMissingExtensionFatal test
The test fails when AJAX is true.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-25 16:34:39 -03:00
William Desportes
ff64b1df74
Cleanup sql-parser tools files from vendor bundle
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-12-24 01:53:55 +01:00
Maurício Meneghini Fauth
ca91eaeb38
Accept mixed for DatabaseName and TableName constructors
This avoids redundant type assertions.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-23 16:25:05 -03:00
Maurício Meneghini Fauth
4e0141e19f
Merge pull request #17253 from kamil-tekiela/fetchValue
Remove $row_number from DatabaseInterface::fetchValue
2021-12-23 11:40:25 -03:00
Domen
bfa5ee9d31
Translated using Weblate (Slovenian)
Currently translated at 100.0% (3416 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/sl/
Signed-off-by: Domen <mitenem@outlook.com>
2021-12-23 03:53:52 +01:00
Turtuvshin Byambaa
8a1bde7426
Translated using Weblate (Mongolian)
Currently translated at 19.2% (657 of 3416 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/mn/
Signed-off-by: Turtuvshin Byambaa <toroo.byamba@gmail.com>
2021-12-23 03:53:51 +01:00
Maurício Meneghini Fauth
44fe103b9c
Remove @access annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-22 11:43:45 -03:00
Turtuvshin Byambaa
c6eb6aebd2
Translated using Weblate (Mongolian)
Currently translated at 20.7% (703 of 3384 strings)

[ci skip]

Translation: phpMyAdmin/5.1
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-1/mn/
Signed-off-by: Turtuvshin Byambaa <toroo.byamba@gmail.com>
2021-12-22 08:53:43 +01:00
Kamil Tekiela
70c86f5e21 Remove $row_number from DatabaseInterface::fetchValue
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-21 21:09:38 +00:00
Maurício Meneghini Fauth
45cea7319b
Extract the HTML from Generator::getListNavigator
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-21 15:55:33 -03:00