Commit Graph

330 Commits

Author SHA1 Message Date
Michal Čihař
6d4bd77745 Avoid not needed urlencode/urldecode for bookmarked SQL query
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 09:12:52 +02:00
Michal Čihař
6895a1fc6e Revert "fix_11907"
This reverts commit bfe30d1261.

It removes the message in many cases where it should be shown.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-17 10:49:01 +01:00
Piyush
bfe30d1261 fix_11907
Signed-off-by: Piyush <poush12@gmail.com>
2016-02-12 22:01:08 +05:30
Michal Čihař
2a9fb73f92 Remove PmaAbsoluteUri from redirects
This is no longer needed as per RFC 7231.

Issue #11412

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 14:32:14 +01:00
Michal Čihař
c036b92b8b Merge branch 'QA_4_5' 2016-01-19 11:59:52 +01:00
Michal Čihař
1431625d68 Fixes possible error when query is empty/not analyzed
Fixes #11873

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-19 11:45:52 +01:00
Michal Čihař
0f119bb329 Merge branch 'QA_4_5' 2016-01-19 11:31:41 +01:00
Michal Čihař
1523c4b364 Gracefully handle calling sql.php without SQL query
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-19 11:23:36 +01:00
Madhura Jayaratne
56f684e466 Move common code inside the method
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-14 13:09:55 +11:00
Michal Čihař
7444c5340e Add missing docstring
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-05 16:37:26 +01:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Michal Čihař
5abdf6886b Merge remote-tracking branch 'origin/QA_4_5' 2015-12-21 11:16:39 +01:00
Deven Bansod
0b64ff7f72 Fix #11724 : live data edit of big sets is not working
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-12-21 13:53:03 +05:30
Michal Čihař
9c289d9794 Do not display results operation for errored query
Issue #11741

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-15 09:23:06 +01:00
Michal Čihař
8192679052 Properly handle IgnoreMultiSubmitErrors in sql.lib.php
Issue #11741

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-15 09:17:13 +01:00
Hugues Peccatte
f04a678bad Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 23:16:13 +01:00
Nisarg Jhaveri
b463cfc0ff Show table header and create bookmark on empty results
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-11-30 04:28:50 +05:30
Hugues Peccatte
08cdf6f2fd Merge branch 'master' into psr1_master 2015-11-08 16:16:05 +01:00
Hugues Peccatte
f9d582bd09 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
0a947dd9b9 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 12:50:30 +02: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
Marc Delisle
7311d59fa9 Fix typo
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-09 15:12:45 -04:00
Marc Delisle
b5d6170b22 Clarify function name
Remove function's side effect on globals

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-08 11:03:22 -04:00
Hugues Peccatte
09f87f4770 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-07 22:09:55 +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
536d10eb1f Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-19 19:19:23 +02:00
Marc Delisle
ced0d39979 Use function parameter instead of global
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-18 18:05:59 -04:00
Hugues Peccatte
21460a01c0 Merge branch 'master' into useNamespaces_master 2015-09-18 23:17:22 +02:00
Joshua Atkins
0aa5c847dd Browse table bookmark form: Clickable labels
Make text field and check box labels clickable in the Browse table page,
create SQL bookmark form.

Signed-off-by: Joshua Atkins <support@jublo.net>
2015-09-17 11:05:40 +02:00
Hugues Peccatte
74ef226857 Merge branch 'master' into useNamespaces_master 2015-09-14 22:10:51 +02:00
Marc Delisle
e6c7f66b0e Fixes #11480 Notice Undefined index: drop_database
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-14 08:16:38 -04: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
7f8f34e89d Remove classes require_once.
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
Madhura Jayaratne
e6756427e4 Add partition maintenance actions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-14 01:14:58 +05:30
Marc Delisle
362541e2dd Fix parameters type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-11 09:17:47 -04:00
Madhura Jayaratne
3e2982dadd Remove one nesting level
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-11 14:19:22 +05:30
Madhura Jayaratne
238b1c5e80 Use purge parameter when dropping columns as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-11 13:16:49 +05:30
Madhura Jayaratne
bd396f9bea Make PMA_cleanupRelations() more cohesive
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-11 13:04:25 +05:30
Madhura Jayaratne
e959e349c0 Do not attach index table unnecessarily
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-11 12:50:44 +05:30
Hugues Peccatte
a0070f411d Add/update PHPDoc.
Make PHPCS happy.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-26 12:31:57 +02:00
Marc Delisle
a240b32979 Merge pull request #1816 from udan11/misc
Added tests for sql.lib.php and parse_analyze.inc.php.
2015-07-25 20:36:32 -04:00
Hugues Peccatte
56c07e6f35 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-25 22:51:02 +02:00
Dan Ungureanu
66406e154e Fixed a few more issues.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:33 +03: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
Jason
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Madhura Jayaratne
256d76f8d0 Use class to support rtl languages
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21 14:15:29 +05:30