Commit Graph

111979 Commits

Author SHA1 Message Date
Michal Čihař
c73f451cde Always cleanup composer file
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 10:05:09 +02:00
Michal Čihař
22b27fa3e3 Merge branch 'QA_4_7' 2017-07-18 09:50:04 +02:00
NMilchev
c592ba6a0e Translated using Weblate (Bulgarian)
Currently translated at 60.4% (1937 of 3203 strings)

[CI skip]
2017-07-18 09:49:35 +02:00
Weblate
41e8a3db43 Merge remote-tracking branch 'origin/master' 2017-07-18 09:45:27 +02:00
NMilchev
dc4a1a2213 Translated using Weblate (Bulgarian)
Currently translated at 60.1% (1930 of 3211 strings)

[CI skip]
2017-07-18 09:45:22 +02:00
Michal Čihař
942e44afe7 Merge pull request #13499 from nijel/theme
Move Theme object out of session
2017-07-18 09:45:11 +02:00
Michal Čihař
964f3d8963 Merge branch 'QA_4_7' 2017-07-17 17:09:33 +02:00
Michal Čihař
8841a26788 Fixed size of index edit dialog
Fixes #13382

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 17:09:10 +02:00
Michal Čihař
ff84a36e09 Merge branch 'QA_4_7' 2017-07-17 16:57:23 +02:00
Michal Čihař
d0ab548f76 Fixed inline editing of hex values
Fixes #13387

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 16:56:43 +02:00
Michal Čihař
6a3d51e084 Make hex inline editor accept 0x at the begining
Issue #13387

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 16:52:49 +02:00
Michal Čihař
3755046e5e Merge branch 'QA_4_7' 2017-07-17 16:27:03 +02:00
Xavier Navarro
b0123cdc9f Translated using Weblate (Catalan)
Currently translated at 100.0% (3203 of 3203 strings)

[CI skip]
2017-07-17 16:22:51 +02:00
Michal Čihař
366a8f9410 Simplify condition for showing comment
It can be unset as well.

Fixes #13469

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:30:02 +02:00
Michal Čihař
8b00b90372 Remove last uses of PMA_MYSQL_INT_VERSION define
It is only kept as name in Advisor for now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:27:27 +02:00
Michal Čihař
e471d6b5eb Remove PMA_MYSQL_INT_VERSION from privileges code
This allows us to get rid of runkit dependency on testing this.

Fixes #13484

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:17:41 +02:00
Michal Čihař
e05d5f4bf4 Remove PMA_MYSQL_STR_VERSION
Replace it by DatabaseInterface::getVersionString.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:06:30 +02:00
Michal Čihař
339d42ca5d Remove no longer used PMA_MARIADB define
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:02:49 +02:00
Michal Čihař
88881572be Convert Types to use new API for getting server version
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:02:00 +02:00
Michal Čihař
91ce11809d Make fallback value consistent with what we use in tests
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 15:01:42 +02:00
Michal Čihař
302a10e43b Remove no longer used PMA_MYSQL_VERSION_COMMENT define
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:55:57 +02:00
Michal Čihař
0effb3012c Use new API to report version and comment
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:55:18 +02:00
Michal Čihař
8512442a7b Use existing detection for showing server type
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:53:17 +02:00
Michal Čihař
89fb42f99b Add version and type properties to the DatabaseInterface
This will allow us to better handle versions in certain cases:

* Having different server version for control user and regular connection
* Mocking version for the tests (see #13484)

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:45:59 +02:00
Michal Čihař
05a303000a Remove unused PMA_MYSQL_MAJOR_VERSION
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:33:17 +02:00
Michal Čihař
51fb18612a Move Theme object out of session
Honestly I don't see good reason for storing Theme in session as loading
it from the session will take about same time as loading it from the
disk.

Additionally it seems that current code really didn't really use the
object stored in session, it was constructed with every request anyway
(by ThemeManager::initializeTheme).

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:18:35 +02:00
Michal Čihař
1b098c62cf Set $theme variable for use by the themes CSS
This way the implementation detail such as storing the theme in the
session is hidden from the themes. See #13492

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:14:59 +02:00
Weblate
a52ec0b0bb Merge remote-tracking branch 'origin/master' 2017-07-17 13:40:08 +02:00
Xavier Navarro
e1abde7668 Translated using Weblate (Catalan)
Currently translated at 100.0% (3211 of 3211 strings)

[CI skip]
2017-07-17 13:40:03 +02:00
Michal Čihař
58c2e7208f Document how to test locally with BrowserStack
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 13:39:48 +02:00
Michal Čihař
020bc6cf34 Default BrowserStack tests to use local testing
It is needed in most cases when doing manual tests.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 13:39:48 +02:00
Xavier Navarro
3c091f7678 Translated using Weblate (Catalan)
Currently translated at 100.0% (3211 of 3211 strings)

[CI skip]
2017-07-17 11:03:48 +02:00
Maurício Meneghini Fauth
aabcab250b Merge pull request #13498 from mauriciofauth/classes
Move Engines classes to PhpMyAdmin namespace
2017-07-16 17:04:58 -03:00
Maurício Meneghini Fauth
a2fa5d748a Move Engines classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-16 16:36:05 -03:00
Maurício Meneghini Fauth
d79121d474 Merge pull request #13496 from mauriciofauth/classes
Move DI classes to PhpMyAdmin namespace
2017-07-16 16:03:21 -03:00
Maurício Meneghini Fauth
feb200a000 Move DI classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-16 15:25:59 -03:00
Maurício Meneghini Fauth
4d6235ebe2 Merge pull request #13493 from mauriciofauth/classes
Move DBI classes to PhpMyAdmin namespace
2017-07-16 00:48:35 -03:00
Maurício Meneghini Fauth
d9ac1865a2 Rename DBI include files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-15 16:44:54 -03:00
Maurício Meneghini Fauth
6c6e86927a Move DBI classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-15 15:52:10 -03:00
Maurício Meneghini Fauth
3bf421d52c Merge pull request #13491 from mauriciofauth/classes
Move controllers to PhpMyAdmin namespace
2017-07-14 12:19:01 -03:00
Maurício Meneghini Fauth
95a409c4f2 Move controllers to PhpMyAdmin namespace
- Move base controllers to PhpMyAdmin namespace
- Move database controllers to PhpMyAdmin namespace
- Move server controllers to PhpMyAdmin namespace
- Move table controllers to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-14 11:18:48 -03:00
Michal Čihař
66807421bd Remove no longer needed code from test
Apparenty nothing really needs PMA_USR_BROWSER_AGENT here, so avoid
setting it. This removes need for runkit here.

Issue #13484

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 17:38:14 +02:00
Michal Čihař
0983378e29 Replace PMA_SETUP define by configuration variable
This way we don't need runkit for testing and it's anyway a bit cleaner
approach.

Issue #13484

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 17:35:09 +02:00
Michal Čihař
6521f7de39 Add wrapper around PHP date function to ease testing
This way Tracker tests run on PHP 7 as well.

Issue #13484

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 17:22:48 +02:00
Michal Čihař
77d035240e Merge branch 'QA_4_7' 2017-07-12 16:57:11 +02:00
Michal Čihař
5f34bb20a8 Update sql-parser dependency
Needed for fixing #13385, #13483, #13485, #13486, #13487

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 16:56:08 +02:00
Michal Čihař
d291d891b8 Fix tests after responsive UI changes
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 14:56:05 +02:00
Michal Čihař
aae6142423 Merge branch 'QA_4_7' 2017-07-12 13:47:02 +02:00
Michal Čihař
58ad1c90b8 Improved handling of uploaded files with open_basedir
Check whether configured directory is writable as it might be subject to
open_basedir restrictions.

Fixes #13482

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-12 13:44:33 +02:00
Isaac Bennetch
a35a5a5c06 Changelog entry for mobile interface; #13422 d8d28dda23
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-07-11 18:27:15 -04:00