Commit Graph

111840 Commits

Author SHA1 Message Date
Weblate
4a8dd6b607 Merge remote-tracking branch 'origin/master' 2017-11-18 13:45:30 +01:00
Андрей
9d49ea8ef5 Translated using Weblate (Russian)
Currently translated at 98.3% (3225 of 3278 strings)

[CI skip]
2017-11-18 13:45:28 +01:00
tmtisfree
e41ad0c623 Translated using Weblate (French)
Currently translated at 99.0% (3247 of 3278 strings)

[CI skip]
2017-11-18 13:45:23 +01:00
Michal Čihař
e09575f5c7 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2017-11-18 13:44:29 +01:00
Michal Čihař
b6a8589037 Merge branch 'QA_4_7' 2017-11-18 13:44:15 +01:00
Michal Čihař
187acd9955 Merge remote-tracking branch 'origin/QA_4_7' 2017-11-18 13:44:12 +01:00
Michal Čihař
facc536689 Detect another way MySQL server needs SSL
Fixes #13436

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-18 13:43:53 +01:00
Viktar Vauchkevich
06d0d5f941 Translated using Weblate (Belarusian)
Currently translated at 63.1% (2071 of 3278 strings)

[CI skip]
2017-11-18 06:44:34 +01:00
Michal Čihař
152c4857c2
Merge pull request #13817 from nijel/link-or-button
Simplify handling of long URLs in Util::linkOrButton
2017-11-16 18:52:07 +01:00
Michal Čihař
4669a589c6 Translated using Weblate (Welsh)
Currently translated at 15.7% (515 of 3278 strings)

[CI skip]
2017-11-16 17:14:33 +01:00
Michal Čihař
5b71117936 Translated using Weblate (Welsh)
Currently translated at 16.2% (522 of 3207 strings)

[CI skip]
2017-11-16 17:14:20 +01:00
Aled Powell
c7eeb20ebe Translated using Weblate (Welsh)
Currently translated at 16.2% (522 of 3207 strings)

[CI skip]
2017-11-16 17:13:50 +01:00
Weblate
a08d13813e Merge remote-tracking branch 'origin/master' 2017-11-16 16:40:16 +01:00
Aled Powell
73f2f1f141 Translated using Weblate (Welsh)
Currently translated at 15.7% (515 of 3278 strings)

[CI skip]
2017-11-16 16:40:16 +01:00
Michal Čihař
868bb18c98 Better deal with unitialized page
Fixes #13814

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 16:39:28 +01:00
Michal Čihař
f29640c5d8 Remove $strip_img parameter from Util::linkOrButton
It did not behave as documented for ages, it only influenced
whether additional text was added to the link.

Callers should use parameters to Util::getIcon to achieve this
(if it is actually needed somewhere)

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
ad72aaecc2 Avoid passing default params to Util::linkOrButton
Do not pass optional parameters with default values.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
3cd104a454 Remove not needed $force_button paratemet from Util::linkOrButton
It was used to force POST for few links with the SQL, but that
is now done automatically.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
486ab532f3 Remove magic to add message in Util::linkOrButton
The passed parameter should be already valid, we should avoid expensive
processing of the data such as calling strip_tags on every text
containing <img.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
9c087ccffc Document when POST is used in Util::linkOrButton
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
99e9854473 Always use POST for links containing SQL query
This way the SQL queries will not apper in the web server logs.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
657ee671fc Avoid double html encoding of link target
This is done when printing the attributes as well.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
1a0bb3ebd5 Avoid using mb_* function for URL length calculation
It is handled in bytes on the webserver side, so use limits in bytes not
in chars as mb_strlen does.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
50c65bc3fb Remove no longer needed $new_form from Util::linkOrButton
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
816c42665a Add tests for Util::linkOrButton
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
3b9fb2b664 Simplify handling of long URLs in Util::linkOrButton
We no longer create form, but rather rather tag the link to be handled
as POST on the client side.

This way the code is way simpler without need on any special case
handling on server side.

Fixes #13649

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Michal Čihař
efe62c9422 Remove special case for JS event handlers in Util::linkOrButton
This is not used anywhere and makes little sense anyway.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 11:37:14 +01:00
Domen
8e0b17b9de Translated using Weblate (Slovenian)
Currently translated at 100.0% (3278 of 3278 strings)

[CI skip]
2017-11-16 11:32:41 +01:00
Weblate
a38a8b9243 Merge remote-tracking branch 'origin/master' 2017-11-16 11:28:12 +01:00
Domen
1abc45b62f Translated using Weblate (Slovenian)
Currently translated at 99.6% (3267 of 3278 strings)

[CI skip]
2017-11-16 11:28:10 +01:00
Michal Čihař
6ba00988fc Allow older version of symfony-expression language
This is to stay compatible with (slightly) older PHP versions. Also this
is same as used in phpmyadmin/motranslator.

Fixes #13812

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 11:26:53 +01:00
Kristjan Räts
7dda4946ed Translated using Weblate (Estonian)
Currently translated at 100.0% (3207 of 3207 strings)

[CI skip]
2017-11-15 20:45:55 +01:00
Burak Yavuz
e47dc0231b Translated using Weblate (Turkish)
Currently translated at 100.0% (3278 of 3278 strings)

[CI skip]
2017-11-15 08:20:36 +01:00
Weblate
261afcbbe4 Merge remote-tracking branch 'origin/master' 2017-11-15 00:07:15 +01:00
Maurício Meneghini Fauth
4f5f4e89d3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.5% (3230 of 3278 strings)

[CI skip]
2017-11-15 00:07:13 +01:00
Giovanni Sora
b6978b119c Translated using Weblate (Interlingua)
Currently translated at 75.2% (2466 of 3278 strings)

[CI skip]
2017-11-15 00:07:09 +01:00
Maurício Meneghini Fauth
f20083a9f4 Fix missing icons
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-14 21:06:26 -02:00
Kristjan Räts
0146b3e5d0 Translated using Weblate (Estonian)
Currently translated at 100.0% (3278 of 3278 strings)

[CI skip]
2017-11-14 20:33:54 +01:00
Michal Čihař
22efbd263e Fix typo in transformation
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-14 10:48:43 +01:00
Michal Čihař
3f21f02cc4 Merge branch 'QA_4_7' 2017-11-14 10:48:27 +01:00
Michal Čihař
1fccdb4da0 Fix typo in transformation
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-14 10:47:21 +01:00
Michal Čihař
b897e9ff5e Update po files
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-14 09:30:13 +01:00
Michal Čihař
8c89c4b681 Merge branch 'QA_4_7' 2017-11-14 09:29:43 +01:00
Michal Čihař
4243f7335c Translated using Weblate (Malay)
Currently translated at 10.1% (333 of 3267 strings)

[CI skip]
2017-11-14 09:29:22 +01:00
Kylychbek Turdakunov
1f83573291 Translated using Weblate (Kyrgyz)
Currently translated at 1.8% (59 of 3267 strings)

[CI skip]
2017-11-14 09:29:21 +01:00
Maurício Meneghini Fauth
e147d601f0 Translated using Weblate (English (United Kingdom))
Currently translated at 98.7% (3227 of 3267 strings)

[CI skip]
2017-11-14 09:29:15 +01:00
Kylychbek Turdakunov
b321a7a162 Translated using Weblate (Kyrgyz)
Currently translated at 1.8% (59 of 3207 strings)

[CI skip]
2017-11-14 09:26:05 +01:00
Michal Čihař
d999bff47f Translated using Weblate (Indonesian)
Currently translated at 82.2% (2637 of 3207 strings)

[CI skip]
2017-11-14 09:25:59 +01:00
Michal Čihař
9241e7eb96 Translated using Weblate (Greek)
Currently translated at 100.0% (3207 of 3207 strings)

[CI skip]
2017-11-14 09:25:57 +01:00
Maurício Meneghini Fauth
c0b8602dbe Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (3207 of 3207 strings)

[CI skip]
2017-11-14 09:25:55 +01:00