Commit Graph

388 Commits

Author SHA1 Message Date
Michal Čihař
7de390f26a Move theme initialization to ThemeManager
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 08:34:09 +01:00
Michal Čihař
1deac94062 Move PHP extensions check to separate function
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 08:24:41 +01:00
Michal Čihař
c4cdd16342 Move PATH_INFO cleanup to function
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 08:22:03 +01:00
Michal Čihař
4d9dc457bd Update comment to match current requirements
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 07:50:54 +01:00
Michal Čihař
7facd526b1 Remove code for PHP < 5.4
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 07:50:02 +01:00
Michal Čihař
7181f2d22d Remove magic_quotes_gpc handling
This has been removed in PHP 5.4.0 and we support 5.5.0 or newer only.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-09 07:36:34 +01:00
Marc Delisle
ab7942be89 Fix merge conflicts
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-29 07:29:32 -05:00
Madhura Jayaratne
0a2b037706 merge db_create.php into ServerDatabasesController
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-24 20:41:40 +11:00
Hugues Peccatte
0e5de28eaa Remove side effects in declaration files.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-15 17:31:53 +01:00
Madhura Jayaratne
06821464bf Use generic charting mechanism for profiling chart as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-06 20:36:28 +11:00
Hugues Peccatte
8ac9634c7a Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02:00
Abhishek kanojia
1fa2fbdd09 Show current PHP version in case minimum version requirement is not met
Signed-off-by: Abhishek kanojia <abhishekka3193@gmail.com>
2015-10-12 17:49:35 -04:00
Marc Delisle
e4e991d3fc Fix merge conflict
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-09 21:10:28 -04:00
Marc Delisle
9b85cdbbd4 Merge pull request #11552 from madhuracj/cookie
Fix #11551 Fatal error when switched to master from QA_4_5
2015-10-09 21:05:58 -04:00
Madhura Jayaratne
05c22016ee Fix cookies clearing on version change
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-10 08:26:40 +11:00
Hugues Peccatte
3cd139f163 Remove useless 'use'.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-09 22:15:55 +02:00
Madhura Jayaratne
54b0409cc1 The error happens on version downgrade as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-09 09:40:20 +11:00
Madhura Jayaratne
208712796d Increase cookie version and improve cookie clearing
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-10-09 08:36:37 +11:00
Hugues Peccatte
6f4676cdfc Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:04:49 +02:00
Marc Delisle
fd7c8522ea Clarify method name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-03 10:14:29 -04:00
Hugues Peccatte
71b62bcef9 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-26 13:50:49 +02:00
Madhura Jayaratne
7ec4bcdbea Use include for files being included conditionally
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-22 21:11:11 +10:00
Hugues Peccatte
21460a01c0 Merge branch 'master' into useNamespaces_master 2015-09-18 23:17:22 +02:00
Marc Delisle
ecb5a0de32 Use strict comparison on a hash value
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-15 15:39:15 -04:00
Hugues Peccatte
a5d35d41b6 Revert PMA_String rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-14 22:39:03 +02:00
Hugues Peccatte
74ef226857 Merge branch 'master' into useNamespaces_master 2015-09-14 22:10:51 +02:00
Marc Delisle
8ad850a820 Merge commit '4185868' 2015-09-14 10:51:40 -04:00
Remi Collet
41858689dd allow to use system udan11/sql-parser
Signed-off-by: Remi Collet <fedora@famillecollet.com>
2015-09-14 10:47:37 -04:00
Hugues Peccatte
0233cc5fe1 Use include instead of include_once to force load.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 23:25:34 +02:00
Hugues Peccatte
e57640fa50 Remove last '.class' in code.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 22:39:41 +02:00
Hugues Peccatte
42c0ebac85 Merge branch 'master' into useNamespaces_master 2015-09-09 22:05:00 +02:00
Madhura Jayaratne
f3ff8403f2 Remove more Drizzle support
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:39 +10:00
Hugues Peccatte
178a6edd38 Add namespace on part of plugins classes.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-05 00:33:42 +02:00
Hugues Peccatte
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02:00
Hugues Peccatte
5eb578e9a2 Split Types, TypesMySQL and TypesDrizzle classes in 3 files.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
58b10807c8 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Hugues Peccatte
a1b134c09e Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 22:38:34 +02:00
Marc Delisle
6a9d80eb89 Minimum supported PHP version is now 5.5
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-21 07:55:16 -04:00
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
2b2b4777b4 Fix indentation
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 14:42:41 +05:30
Dan Ungureanu
8d04cd5db8 Improved context detection.
Use the delimiter specified by user.
2015-07-11 18:10:03 +03:00
Dan Ungureanu
ae733edf41 Removed the old parser.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:18 +03:00
Dan Ungureanu
83c6f77716 Updated sql-parser library.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:13 +03:00
Dan Ungureanu
e73c7a4967 Fixed coding style.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:13 +03:00
Dan Ungureanu
2c341191e6 Make use of multiple contexts.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:12 +03:00
Dan Ungureanu
ee6dd2e7c0 Added sql-parser with a modified version of the Composer autoloader to load the library.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:10 +03:00
Madhura Jayaratne
01354d9d95 #1561 Being able to use multiple servers at the same time when using cookie auth
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-25 17:33:18 +05:30