Michal Čihař
308c9d7951
Simplify Response object handling
...
- always use use and short name
- avoid calling getInstance() several times in one script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Michal Čihař
9ff612a76c
Merge branch 'QA_4_6-security' into master-security
2016-07-23 11:27:33 +02:00
Michal Čihař
754c1c987b
Properly mark requests to lint as AJAX request
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-23 11:26:10 +02:00
Deven Bansod
3b227209a1
Make phpcs happy
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-03-22 11:50:22 +05:30
Michal Čihař
fbf756c7d6
Merge branch 'QA_4_5' into QA_4_6
2016-02-19 13:33:56 +01:00
Madhura Jayaratne
176d63f108
Fix #11979 DECLARE not accepted as valid SQL
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-02-18 15:55:56 +11:00
Michal Čihař
ed96969ff9
Merge branch 'QA_4_5'
2016-01-28 09:23:27 +01:00
Michal Čihař
0a24f92d08
Set correct content type for JSON responses
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-19 08:32:34 +01: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
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
Dan Ungureanu
e274f47c51
Fixed minor coding style issues in lint.php.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-01 00:58:32 +03:00
Dan Ungureanu
1b4a6847e7
Updated tests.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:34 +03:00
Dan Ungureanu
e1a8402654
Avoid redefinition.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:34 +03:00
Dan Ungureanu
2b3febf652
Localization.
...
Updated sql-parser library to udan11/sql-parser@e1b91ed .
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-22 19:13:38 +03:00
Dan Ungureanu
98a497e67c
Do not process unauthorized requests.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-17 18:14:57 +03:00
Dan Ungureanu
024d96700d
Reorganized code.
...
Fixed a bug that miscalculated the position of the tokens.
Added tests.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-15 18:08:18 +03:00
Dan Ungureanu
4c24db0812
Style improvements.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-15 17:19:13 +03:00
Dan Ungureanu
eef994f122
Added lint.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-15 16:48:13 +03:00