Commit Graph

118510 Commits

Author SHA1 Message Date
Petr Duda
57142aca9e Force icon alternate text on the Database Operations page
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-05-18 19:19:45 +02:00
ssantos
1ec6b81baf
Translated using Weblate (Portuguese)
Currently translated at 100.0% (3355 of 3355 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/pt/
Signed-off-by: ssantos <ssantos@web.de>
2020-05-18 09:41:33 +02:00
William Desportes
0138cb471f
Some minor code improvements
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 22:29:57 +02:00
William Desportes
c12f341bbf
Split Git::checkGitRevision into Git::getHashFromHeadRef
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 22:21:01 +02:00
William Desportes
31d9f1e603
Split Git::unPackGz into Git::readPackFile and Git::getPackOffset
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 21:15:24 +02:00
William Desportes
dfa718c1c6
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 16:48:09 +02:00
William Desportes
c8e5ec43ab
Add a ChangeLog entry for #16093
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 16:40:59 +02:00
William Desportes
7fc4722155
Fix #16093 - Error importing utf-8 with bom sql file
Do not use mb_ functions they are sensible to mb_internal_encoding()

Fixes: #16093

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 16:40:16 +02:00
William Desportes
13f04e5d9d
Add a ChangeLog entry for #15996
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 16:08:30 +02:00
William Desportes
db02eea620
Fix #15996 - local setup doc links are broken
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 16:03:13 +02:00
William Desportes
daecbf9c16
Translated using Weblate (Persian)
Currently translated at 23.6% (794 of 3355 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fa/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-17 06:02:40 +02:00
Maurício Meneghini Fauth
58ada13949 Extract some methods from ImportOds::doImport method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-16 21:00:45 -03:00
William Desportes
a72203c514
Remove some unused code
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 23:51:43 +02:00
Maurício Meneghini Fauth
80a45fa0ae Break too long lines
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-16 18:08:20 -03:00
William Desportes
821441f0cd
Remove some useless lines in test files and remove an else
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 20:16:00 +02:00
William Desportes
47cb55e17e
Show an error if curl init failed
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 16:21:24 +02:00
William Desportes
a5788e0df5
Split checkGitRevision commit parsing part into extractDataFormTextBody and isRemoteCommit functions
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 16:13:51 +02:00
William Desportes
8e56addea7
Split checkGitRevision GZ part into unPackGz function
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 15:36:50 +02:00
William Desportes
585ae508eb
Move out of Config Class all Git methods
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 15:18:45 +02:00
William Desportes
1cc7f78012
Split part of the logic of getQueryFromRequest into processFunctionSpecificParameters
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 14:39:00 +02:00
William Desportes
f2d349df40
Split part of the logic of getQueryFromRequest into processParamsAndBuild
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 14:06:36 +02:00
William Desportes
7766f93904
Use variables to limit access to $_POST and improve code of getQueryFromRequest
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 13:40:38 +02:00
William Desportes
a9660abfdd
Update psalm baseline
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:26:37 +02:00
William Desportes
0918aabbeb
Change the psalm command to include new errors on update
Ref: 37abda64f7
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:26:03 +02:00
William Desportes
9afe27eedb
Update baselines
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:16:23 +02:00
William Desportes
62eb1eaf95
Improve signature of getDataFromName
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:14:39 +02:00
William Desportes
9a95abd05f
Use declaration of global $dbi
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 12:03:29 +02:00
William Desportes
37abda64f7
Add a composer command to update baselines
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:59:45 +02:00
William Desportes
81a0fab9b3
Fix coding standard on setup/styles.css
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:49:39 +02:00
William Desportes
a1395a628c
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:48:29 +02:00
William Desportes
78c6d38173
Translated using Weblate (Persian)
Currently translated at 24.8% (828 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/fa/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:27:50 +02:00
William Desportes
c0ae422e23
Translated using Weblate (Persian)
Currently translated at 23.6% (793 of 3355 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fa/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:02:44 +02:00
William Desportes
381f8ba406
Translated using Weblate (Persian)
Currently translated at 24.8% (827 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/fa/
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 11:02:43 +02:00
William Desportes
d93efc2eda
Fix Missing vendor-prefixed CSS gradients for Old Webkit (Safari 4+, Chrome).
Why is this an issue?
CSS gradients in a cross-browser way requires using many different vendor-prefixed versions. There are currently five different vendor-prefixed versions of CSS gradient:

-ms-linear-gradient and -ms-radial-gradient for Internet Explorer 10+
-moz-linear-gradient and -moz-radial-gradient for Firefox 3.6+
-o-linear-gradient and -o-radial-gradient for Opera 11.10+
-webkit-linear-gradient and -webkit-radial-gradient for Safari 5+ and Chrome
-webkit-gradient for Safari 4+ and Chrome (aka "Old WebKit")
Meaning a simple two-color gradient that works across all browsers must look like this:

 background: -moz-linear-gradient(...); /* FF3.6+ */
 background: -webkit-gradient(...); /* Chrome,Safari4+ */
 background: -webkit-linear-gradient(...); /* Chrome10+,Safari5.1+ */
 background: -o-linear-gradient(...); /* Opera 11.10+ */
 background: -ms-linear-gradient(...); /* IE10+ */
It's easy to forget one or more gradient definitions with all of the various vendor prefix gradients available.
[By Codacy]

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 10:54:57 +02:00
William Desportes
dcacba0039
Merge #16124 - Fix #15101 - Fix margin before checkbox on local settings import
Pull-request: #16124
Fixes: #15101

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 10:49:18 +02:00
Petr Duda
47c3ba544d Fix #15101 - Margin before checkbox
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-05-16 10:20:58 +02:00
Maurício Meneghini Fauth
e050f0096c Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-16 01:54:05 -03:00
Maurício Meneghini Fauth
ad1ff14cc6 Fix typo in a condition in the Sql class
Related to 503df0a6a7

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-16 01:50:42 -03:00
Maurício Meneghini Fauth
8dd310fb6a Remove assignments in if conditions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-16 01:35:19 -03:00
Petr Duda
2866ee7bd1
Translated using Weblate (Czech)
Currently translated at 95.4% (3203 of 3355 strings)

[CI skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/cs/
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-05-16 01:51:04 +02:00
Petr Duda
6363109f19
Translated using Weblate (Czech)
Currently translated at 97.3% (3247 of 3334 strings)

[CI skip]

Translation: phpMyAdmin/5.0
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-0/cs/
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-05-16 01:51:02 +02:00
William Desportes
e9a3657a93
Move some code of handleExecuteRoutine into getQueriesFromRoutineForm
Ref: 178f6db302
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:45:35 +02:00
William Desportes
770c6c877a
Fix a typo on a getter and rename it
Uses: none found

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:31:12 +02:00
William Desportes
f2ac6644b0
Fix ResultsTest::testGetTableNavigationButton
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:29:54 +02:00
William Desportes
d57de68ae4
Camel case some variables
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:24:08 +02:00
William Desportes
54127bd425
Run stylelint on print CSS styles
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:23:37 +02:00
William Desportes
952d05090d
Change final upload step after #16120
Ref: 401bcec8a6
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:16:49 +02:00
William Desportes
178f6db302
Split Database/Routines::handleExecute code into a function
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-16 00:04:50 +02:00
William Desportes
947f9ad04f
Remove some unused code detected by codacy
Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-15 23:57:22 +02:00
William Desportes
076a84d259
Run stylelint on setup CSS styles
Some errors are unfixed:
setup/styles.css
 459:5  ✖  Unexpected duplicate "background"                            declaration-block-no-duplicate-properties        
 459:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 459:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 460:5  ✖  Unexpected duplicate "background"                            declaration-block-no-duplicate-properties        
 460:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 460:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 461:5  ✖  Unexpected duplicate "background"                            declaration-block-no-duplicate-properties        
 461:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 461:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 462:5  ✖  Unexpected duplicate "background"                            declaration-block-no-duplicate-properties        
 462:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 462:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 473:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 473:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 474:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 474:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 475:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 475:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides
 476:5  ✖  Unexpected shorthand "background" after "background-image"   declaration-block-no-shorthand-property-overrides
 476:5  ✖  Unexpected shorthand "background" after "background-size"    declaration-block-no-shorthand-property-overrides

Signed-off-by: William Desportes <williamdes@wdes.fr>
2020-05-15 23:47:48 +02:00