Commit Graph

111012 Commits

Author SHA1 Message Date
Michal Čihař
bc6486e2e0 Move mysqli flag description sot Dbi class
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 14:46:56 +02:00
Michal Čihař
6bd94464c8 Merge pull request #13648 from nijel/hash-dependency
Make hash extension required
2017-09-06 14:10:10 +02:00
Maurício Meneghini Fauth
503a711af2 Merge pull request #13655 from mauriciofauth/normalization
Refactor normalization functions to static methods
2017-09-06 07:22:53 -03:00
Michal Čihař
403b7ab72b Merge branch 'forms' 2017-09-06 12:03:57 +02:00
Michal Čihař
e900f55929 Merge branch 'QA_4_7' 2017-09-06 12:03:54 +02:00
Māris
8780ae073e Translated using Weblate (Latvian)
Currently translated at 17.9% (574 of 3205 strings)

[CI skip]
2017-09-06 12:03:27 +02:00
Māris
8c30b3be14 Translated using Weblate (Latvian)
Currently translated at 17.6% (571 of 3231 strings)

[CI skip]
2017-09-06 12:03:26 +02:00
Michal Čihař
bea182257b Add test for UserprefsDeveloperTab
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 12:02:39 +02:00
Michal Čihař
35fca8e2d5 Remove not used BaseFormList::getDefault
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 12:00:17 +02:00
Michal Čihař
4ec970fc82 Remove duplicite validation
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:59:41 +02:00
Michal Čihař
3559f7a8a5 Remove special casing for UserprefsDeveloperTab
- include it in user form only if allowed
- always include it in setup form

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:06:51 +02:00
Michal Čihař
e065793dc8 Fold validity check with getting class
There is no need to do this twice (once in ::get).

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:06:51 +02:00
Michal Čihař
5788613cbc Use form name for menu in user preferences
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:10 +02:00
Michal Čihař
953ef05b92 Use forms to define menu and titles on setup
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:10 +02:00
Michal Čihař
8490161073 Share code for testing FormLists
The tests were same anyway, so avoid duplicating code.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:10 +02:00
Michal Čihař
09642df6fc Avoid using abstract static functions
This does not work in PHP 5, only in PHP 7.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
8490d3a571 Rewrite Setup settings forms as classes
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
1fb2887a2a Bring User settings in sync with Setup
- add server navigation configuration, it makes no sense to hide this
  from user as it configures just UI
- reorganize Features form a bit to be in sync with Setup
- add DisableShortcutKeys settings to User
- remove LoginCookieValidity from User settings (there are more cookie
  related settings and all should be handled same)

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
94bb2e31a1 Remove no longer needed page_settings.forms.php and user_preferences.forms.php
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:04:47 +02:00
Michal Čihař
73d1599a1a Rewrite Page settings forms as classes
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:02:07 +02:00
Michal Čihař
df7f328f79 Rewrite User preferences forms as clases
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:02:07 +02:00
Maurício Meneghini Fauth
67e7711368 Refactor normalization functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-05 23:03:43 -03:00
Maurício Meneghini Fauth
0182146c49 Merge pull request #13653 from mauriciofauth/db-designer
Refactor db_designer functions to static methods
2017-09-05 19:08:43 -03:00
Maurício Meneghini Fauth
8079fd7009 Refactor db_designer functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-05 16:41:48 -03:00
Weblate
5c15caf58d Merge remote-tracking branch 'origin/master' 2017-09-05 20:19:07 +02:00
Māris
229724e982 Translated using Weblate (Latvian)
Currently translated at 17.6% (571 of 3231 strings)

[CI skip]
2017-09-05 20:19:04 +02:00
Maurício Meneghini Fauth
08c357ec7c Merge pull request #13651 from mauriciofauth/export
Refactor export functions to static methods
2017-09-05 15:18:49 -03:00
Maurício Meneghini Fauth
54cfbc5eda Refactor export functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-05 12:07:49 -03:00
Michal Čihař
1e0e0daa40 Merge branch 'QA_4_7' 2017-09-05 15:15:23 +02:00
Michal Čihař
2fd6baf675 Merge remote-tracking branch 'origin/QA_4_7' 2017-09-05 15:15:20 +02:00
Michal Čihař
75728ab854 Fixed export of tables with VIRTUAL columns
Apparently the flag differs between MySQL and MariaDB versions, so let's
check both.

Fixes #13647

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 15:15:12 +02:00
Surya Widi
29bfb2648a Translated using Weblate (Indonesian)
Currently translated at 78.9% (2531 of 3205 strings)

[CI skip]
2017-09-05 15:14:47 +02:00
Weblate
a02d9bfa09 Merge remote-tracking branch 'origin/master' 2017-09-05 14:59:37 +02:00
Surya Widi
06abe28a00 Translated using Weblate (Indonesian)
Currently translated at 78.9% (2550 of 3231 strings)

[CI skip]
2017-09-05 14:59:32 +02:00
Michal Čihař
b9a2a7c5d7 Merge pull request #13380 from nijel/probot-stale
RFC: Add configuration for Probot Stale
2017-09-05 14:59:15 +02:00
developerchan1
303c3e3fd5 Translated using Weblate (Indonesian)
Currently translated at 78.9% (2531 of 3205 strings)

[CI skip]
2017-09-05 14:49:55 +02:00
Michal Čihař
1c00728163 Make hash extension required
It is anyway shipped by default and carrying implementation of hash_hmac
is not really a good idea long term.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:46:46 +02:00
Michal Čihař
eefc2cc47e Skip broken test
See https://github.com/phpmyadmin/phpmyadmin/issues/13621

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:45:29 +02:00
Michal Čihař
4b983d6648 Remove unused strings
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
205138fdf7 Add tests for getting all configuration descriptions
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
94219fffab Wrap function_exists in ServerConfigChecks to allow testing
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
a43dc285f3 Split up tests for ServerConfigChecks
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
6b975e8e1e Move tests for ServerConfigChecks class to separate file
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
89fc550862 Use Url::getCommon to generate full URLs
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
0b81218a10 Refactor configuration descriptions into class
This avoids loading them all into global namespace on every request.

Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
Michal Čihař
dc6d06f5ca Avoid defining error messages centrally in server config check
- better load them only when needed
- avoid using PMA_lang which really serves different purpose

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 14:44:05 +02:00
pitchblack
78ccbbd7f4 Translated using Weblate (Russian)
Currently translated at 100.0% (3231 of 3231 strings)

[CI skip]
2017-09-05 14:05:28 +02:00
pitchblack
0079048fe6 Translated using Weblate (Russian)
Currently translated at 100.0% (3205 of 3205 strings)

[CI skip]
2017-09-05 13:38:12 +02:00
Weblate
3b6c1e3788 Merge remote-tracking branch 'origin/master' 2017-09-05 13:15:33 +02:00
pitchblack
9021194b29 Translated using Weblate (Russian)
Currently translated at 98.7% (3191 of 3231 strings)

[CI skip]
2017-09-05 13:15:30 +02:00