Commit Graph

110996 Commits

Author SHA1 Message Date
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
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ř
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
developerchan1
275310cb28 Translated using Weblate (Indonesian)
Currently translated at 78.9% (2550 of 3231 strings)

[CI skip]
2017-09-05 13:14:35 +02:00
Michal Čihař
db935d19d6 Configuration is no longer stored in session
So there is no need to do any cleanup of the settings.

Configuraiton is not part of session since 2010 (94c2f864ae).

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 13:12:39 +02:00
Egorov Artyom
f684b3256f Translated using Weblate (Russian)
Currently translated at 98.9% (3170 of 3205 strings)

[CI skip]
2017-09-05 13:09:17 +02:00
pitchblack
ccd5aef6ac Translated using Weblate (Russian)
Currently translated at 98.9% (3170 of 3205 strings)

[CI skip]
2017-09-05 13:05:14 +02:00
Michal Čihař
445ad84b42 Remove not used use
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 10:58:23 +02:00
Michal Čihař
4e3d32475c Switch some external links to https
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 10:54:54 +02:00
Michal Čihař
541e72a019 Fix parameter description
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-05 09:12:25 +02:00
Weblate
6ed4a3c533 Merge remote-tracking branch 'origin/master' 2017-09-05 04:38:07 +02:00
pitchblack
79c93517c5 Translated using Weblate (Russian)
Currently translated at 95.5% (3087 of 3231 strings)

[CI skip]
2017-09-05 04:38:05 +02:00
Maurício Meneghini Fauth
18b7845b5a Merge pull request #13644 from mauriciofauth/import
Refactor import functions to static methods
2017-09-04 23:37:19 -03:00
Maurício Meneghini Fauth
19e0199a36 Refactor import functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-04 22:35:55 -03:00
Maurício Meneghini Fauth
53f77c7a49 Merge pull request #13642 from mauriciofauth/display-export
Refactor display_export to static methods
2017-09-04 16:08:23 -03:00
Michal Čihař
7eeca859a8 Merge branch 'QA_4_7' 2017-09-04 17:46:29 +02:00
Michal Čihař
2e33126b0b Move configuration checks to Core
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-04 17:46:10 +02:00
Michal Čihař
b11f479c5b Fix handling of early fatal errors
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-04 17:46:10 +02:00
Michal Čihař
ba92aeeac6 Add runtime check for ctype extension
Issue #13611

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-04 17:46:10 +02:00