Commit Graph

111380 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
ae55217e08 Port table/search/options template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 13:04:46 -03:00
Maurício Meneghini Fauth
1a33f062de Port zoom_result_form template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
Maurício Meneghini Fauth
1ffa2e1b77 Port table/search/input_box template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
Maurício Meneghini Fauth
5a7645a302 Port table/search/rows_normal template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
Maurício Meneghini Fauth
f5bedb1911 Port table/search/geom_func template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-05 12:08:27 -03:00
dnhost.gr
ac7960d439 Translated using Weblate (Greek)
Currently translated at 99.8% (3227 of 3231 strings)

[CI skip]
2017-10-05 12:47:35 +02:00
Weblate
583e287b21 Merge remote-tracking branch 'origin/master' 2017-10-03 20:16:38 +02:00
urty5656
8d0b7b1e37 Translated using Weblate (Korean)
Currently translated at 82.6% (2670 of 3231 strings)

[CI skip]
2017-10-03 20:16:35 +02:00
Michal Čihař
ac856175a6 Move server selection to Config class
- move server selection from common.inc.php to Config class
- add tests covering most usual cases

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 19:14:38 +02:00
Michal Čihař
adb144976d Add warning about passing username and password in URL
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 16:32:40 +02:00
Michal Čihař
c01877c339 Merge branch 'QA_4_7' 2017-10-03 15:56:07 +02:00
Michal Čihař
d0d24ce20b Fixed IPv4/IPv6 To Binary input transformation
We really can't just output binary value, it can not be safely used in
the result utf-8 query string.

Fixes #13552

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 15:55:11 +02:00
Michal Čihař
5f8ad57199 Merge branch 'QA_4_7' 2017-10-03 15:28:30 +02:00
Michal Čihař
8385c2d47d Avoid checking links on software.opensuse.org
This seems to be broken quite often recently.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 15:28:06 +02:00
Michal Čihař
2ff9fc27c8 Merge branch 'QA_4_7' 2017-10-03 15:26:04 +02:00
Michal Čihař
e40a81602a Fixed setting input transformations
Fixes #13477

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 15:24:21 +02:00
Michal Čihař
1f1dc2e520 Merge branch 'QA_4_7' 2017-10-03 14:57:40 +02:00
Michal Čihař
d53bf9d66d Merge remote-tracking branch 'origin/QA_4_7' 2017-10-03 14:56:31 +02:00
Michal Čihař
c46082a196 Make advisor evaluation a bit stricter
- whitelist function names, we do not want to replace them if they exist
- define missing PMA_MYSQL_INT_VERSION

Fixes #13710

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 14:55:49 +02:00
Ahnaf Hadi Fathulloh
ddf574efab Translated using Weblate (Indonesian)
Currently translated at 82.2% (2636 of 3205 strings)

[CI skip]
2017-10-03 14:10:08 +02:00
Michal Čihař
99f2b16da1 Lower default value for $cfg['MaxExactCount']
Counting of big InnoDB tables is slow, so try to avoid that as much as
possible.

Fixes #13711

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 14:08:04 +02:00
Michal Čihař
6a645a3e89 Revert "Fix alignment of action and fixed tests #12167"
This reverts commit 9b56acacab.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-03 14:02:49 +02:00
Michal Čihař
319e259b10 Revert "ChangeLog entry for #12167 and #13702"
This reverts commit 4f7c08e8ec.
2017-10-03 14:00:46 +02:00
Michal Čihař
44bed27877 Merge pull request #13717 from nijel/template-cleanup
Simplify Template API
2017-10-03 13:59:47 +02:00
Stanisław Krukowski
cb30fed2f8 Translated using Weblate (Polish)
Currently translated at 81.1% (2600 of 3205 strings)

[CI skip]
2017-10-02 21:47:36 +02:00
Michal Čihař
fd1705f45e Simplify Template API
Remove some features we do not seem to use:

- helper functions (this never worked with Twig)
- per class context, it now has to be passed to render
- this avoids need of array_merge call on every render

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:37:57 +02:00
Michal Čihař
d7d3b5751c Avoid constructing twig loader for every template
This adds serious overhead and the loader can be still reused.

Issue #13711

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:19:39 +02:00
Michal Čihař
63bae14110 Make some checks on variables more robust
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:18:21 +02:00
Michal Čihař
1a9555b6e2 Fix condition for possibly unset variable
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:10:03 +02:00
Michal Čihař
4064aec9df Cache temp dir path
The Template class can be constructed many times during single request,
so better to cache temp dir lookup which can take several steps.

Issue #13711

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 16:03:34 +02:00
Michal Čihař
d2d32651bc Replace empty() by strlen()
In order to fix operation with database or table called 0.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 15:53:44 +02:00
Michal Čihař
05fc74434c Changelog for #13716 and #13303
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 14:41:34 +02:00
Michal Čihař
df7e388cb0 Merge remote-tracking branch 'origin/pull/13716' 2017-10-02 14:40:24 +02:00
Weblate
8546e9d1a4 Merge remote-tracking branch 'origin/master' 2017-10-02 14:21:06 +02:00
Stanisław Krukowski
f9b119e7f2 Translated using Weblate (Polish)
Currently translated at 79.9% (2584 of 3231 strings)

[CI skip]
2017-10-02 14:21:04 +02:00
Ahnaf Hadi Fathulloh
a6cffd9224 Translated using Weblate (Indonesian)
Currently translated at 82.1% (2654 of 3231 strings)

[CI skip]
2017-10-02 14:21:01 +02:00
Michal Čihař
b15209f1dc Separate entries by whitespace
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 14:20:42 +02:00
Michal Čihař
1cc0bc6fc9 Build apidocs in Travis
This allows us to check it still builds fine.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-02 13:26:21 +02:00
Prajna Prasetya
be98974d4a Translated using Weblate (Indonesian)
Currently translated at 82.2% (2636 of 3205 strings)

[CI skip]
2017-10-02 09:47:15 +02:00
Prajna Prasetya
c454eaf7a1 Translated using Weblate (Indonesian)
Currently translated at 82.1% (2654 of 3231 strings)

[CI skip]
2017-10-02 09:47:05 +02:00
ankitjain28may
15e16cdcdf Added FullText #13303
Signed-off-by: Ankit Jain <ankitjain28may77@gmail.com>
2017-10-01 03:23:02 +05:30
Maurício Meneghini Fauth
f8bd078088 Fix code standard errors
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 18:19:09 -03:00
Maurício Meneghini Fauth
c00245fa0a Move PMATestCase to PhpMyAdmin\Tests\PmaTestCase
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 16:34:53 -03:00
Maurício Meneghini Fauth
30d3f93e0d Refactor PMA_unsupportedDatatypes_test
Move PMA_unsupportedDatatypes_test into UtilTest

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:59:54 -03:00
Maurício Meneghini Fauth
8a6a13d8d8 Refactor PMA_stringOperations_test
Move PMA_stringOperations_test into UtilTest

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:55:55 -03:00
Maurício Meneghini Fauth
1bcdb90010 Refactor PMA_showPHPDocu_test
Move PMA_showPHPDocu_test into UtilTest

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:49:34 -03:00
Prajna Prasetya
7cd573315e Translated using Weblate (Indonesian)
Currently translated at 81.7% (2621 of 3205 strings)

[CI skip]
2017-09-30 18:46:33 +02:00
Maurício Meneghini Fauth
e6d1b3aa39 Remove useless test
Remove test/libraries/common/PMA_showMessage_test_disabled.php

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:44:07 -03:00
Maurício Meneghini Fauth
02f993e4f9 Refactor PMA_showDocu_test
Move PMA_showDocu_test into UtilTest

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:33:45 -03:00
Maurício Meneghini Fauth
c97078d4df Refactor PMA_quoting_slashing_test
Move PMA_quoting_slashing_test into UtilTest

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-30 13:28:34 -03:00