Commit Graph

270 Commits

Author SHA1 Message Date
Marc Delisle
c3a30a0ad4 Merge branch 'QA_4_5' 2015-11-22 17:44:16 -05:00
Marc Delisle
9b34d380b1 Fixes #11685 Warning: Invalid argument supplied for foreach()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-22 17:43:25 -05:00
Marc Delisle
5d7e216eee Remove unused code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-07 03:59:44 -08:00
Marc Delisle
faaec8e9f4 Refactor high-level parser calling into a function
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-22 12:07:45 -04:00
Hugues Peccatte
ffc4422db7 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-19 20:33:21 +02: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
a5d35d41b6 Revert PMA_String rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-14 22:39:03 +02:00
Hugues Peccatte
42c0ebac85 Merge branch 'master' into useNamespaces_master 2015-09-09 22:05:00 +02:00
Madhura Jayaratne
7fadb9e37f Remove Drizzle support from import and export
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:37 +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
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
Marc Delisle
a6fedd3415 Merge branch 'QA_4_4' 2015-08-10 08:42:23 -04:00
Marc Delisle
c0803823f2 Fixes #11380 Incomplete message after import
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-10 08:41:07 -04:00
Dan Ungureanu
6e1b2aa54b Fix #11340.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-02 00:15:36 +03:00
Marc Delisle
1c416c14d6 Directly use the POST parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-31 08:38:59 -04:00
Marc Delisle
c30271da7a Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-30 08:33:37 -04:00
Marc Delisle
da4bcee69f Directly use the POST parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-29 18:43:12 -04:00
Dan Ungureanu
b6fc66649e Added tests for sql.lib.php and parse_analyze.inc.php.
Removed dead code.
Fixed miscellaneous issues.
Fixed a bug in PMA_isJustBrowsing().
Updated sql-parser library to udan11/sql-parser@e713c9f.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:33 +03:00
Hugues Peccatte
9cbfa30745 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-23 17:47:53 +02:00
Hugues Peccatte
bf61709259 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-23 14:38:07 +02:00
Dan Ungureanu
f7689d5c7e Replaced more of the old parser.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:15 +03:00
Madhura Jayaratne
a3c3c57261 Use type hinting
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 14:06:21 +05:30
Nisarg Jhaveri
34720c2365 Disable foreign key checks in SQL query box and config option
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-31 12:28:41 +05:30
Madhura Jayaratne
6439a10af2 bug #4872 Drop table doesn't remove the table name from navigation bar
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-29 19:17:58 +05:30
Madhura Jayaratne
cca0e028b5 Improve parameter applying
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-29 18:33:37 +05:30
Madhura Jayaratne
8cb82815c7 rfe #1380 Support for Paramaters with raw SQL
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-29 15:35:52 +05:30
Marc Delisle
498c14fc62 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-09 11:47:59 -04:00
Marc Delisle
3a0440b80f Merge commit '0d94439' 2015-03-30 08:33:51 -04:00
Marc Delisle
d230d78bb2 Merge commit 'e3735f9' 2015-03-30 08:33:29 -04:00
Marc Delisle
0d94439eda Improve a message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-03-30 08:31:35 -04:00
Madhura Jayaratne
f6dd7c2cd4 Pass local_import_file
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-30 16:14:59 +05:30
Madhura Jayaratne
4c0b0f9687 bug #4821 Timed-out import fails to restart when file represented
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-30 16:01:51 +05:30
Marc Delisle
4eccae5290 Merge pull request #1547 from znck/master
Remove unneeded closing tags
2015-03-26 07:56:45 -04:00
Madhura Jayaratne
b48f1ea52f rfe #933 Manage multiple variable in bookmarked query
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-23 15:15:28 +05:30
Marc Delisle
3ad82c865e Merge branch 'QA_4_4' 2015-03-11 16:01:08 -04:00
Marc Delisle
44c28bd5a2 Merge branch 'QA_4_3' into QA_4_4 2015-03-11 15:59:28 -04:00
Dan Ungureanu
446d35f859 Bug #4784 Incomplete bookmark saving
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-03-11 15:58:07 -04:00
Madhura Jayaratne
df38a76b9f rfe #1306 Add lock tables, disable keys options
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-11 10:48:59 +05:30
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Marc Delisle
535db88e47 Merge branch 'QA_4_3' 2015-01-20 12:48:58 -05:00
RAKESH KUMAR
915f209ca1 BugFix#4714
Signed-off-by: RAKESH KUMAR <rakeshkumar4294@gmail.com>
2015-01-20 19:34:12 +05:30
Marc Delisle
629e08cbc4 Code cleanup: $disp_mode was always empty at this point
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-28 09:48:04 -05:00
Madhura Jayaratne
3621900b96 Merge branch 'QA_4_3' 2014-12-22 17:10:35 +05:30
Madhura Jayaratne
fbe587ce73 bug #4661 Drag and drop file import always fails
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-22 17:09:10 +05:30
Hugues Peccatte
603498a6fc Fix #4593 Manual SELECT doesn't change active table
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-12-06 14:01:55 +01:00
Hugues Peccatte
eda24da12e Fix #4593 Manual SELECT doesn't change active table
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-12-06 00:57:38 +01:00
Marc Delisle
47b1f9e6b2 Merge pull request #1397 from madhuracj/multiquery
Multiquery
2014-11-22 07:28:54 -05:00
Madhura Jayaratne
fc340c3e87 Use variable 'bookmark_variable' directly from REQUEST
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-14 12:41:47 +05:30