Commit Graph

35 Commits

Author SHA1 Message Date
Madhura Jayaratne
550536c19c Remove dead code used to export charts
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-10 20:58:33 +11:00
Madhura Jayaratne
96ca05cb8b This is no longer used to export charts
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-10 19:42:58 +11:00
Michal Čihař
a29f154f37 Merge branch 'MAINT_4_5_5-security' into QA_4_6-security 2016-02-29 10:35:47 +01:00
Michal Čihař
c842a0de92 Use correct headers for json data
It was previously not marked as such what could potentially lead to
browsers doing some autodetection.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-25 12:33:56 +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ř
cc07b737dc Remove unused PMA_String class
The class is no longer used:

- the ctype part is not needed by new SQL parser
- the utf-8 manipulation was replaced by direct usage of mbstring

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-21 12:09:06 +01:00
Michal Čihař
98d88ef134 Remove unused pmaString variable
It was used in past when we didn't rely on mbstring.

Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-21 11:35:36 +01: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
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
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
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Rouslan Placella
b2cbb2d779 Fixed export of server status monitor settings 2012-12-04 16:30:20 +00:00
Madhura Jayaratne
6f9253b59e Various coding style improvements 2012-06-03 20:40:47 +05:30
Michal Čihař
54dc10a012 Use PMA_fatalError instead of die 2012-05-09 11:58:10 +02:00
Michal Čihař
317b365baa Various coding style improvements 2012-04-24 14:06:15 +02:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Dieter Adriaenssens
5c751cd1c0 make die() messages translatable, where possible 2011-08-25 22:38:51 +02:00
Michal Čihař
ec589b6acd Whitespace cleanup 2011-08-05 13:56:18 +02:00
Tyron Madlener
9f425de0e7 changed mime to text/plain since application/json doesn't work in ff 2011-08-05 13:30:10 +03:00
Tyron Madlener
d368a81cca Chart import config now returned as application/json to prevent possible XSS attacks 2011-08-05 11:35:09 +03:00
Michal Čihař
c8a147c4ee Fix typo 2011-08-04 19:44:36 +02:00
Michal Čihař
9a938ed986 Fix comments 2011-08-04 19:44:22 +02:00
Michal Čihař
c3f8dd9250 Coding style 2011-08-04 15:25:26 +02:00
Michal Čihař
bffad98915 Separate data decoding from output 2011-08-04 15:19:29 +02:00
Michal Čihař
6c92b02f81 Avoid using $_REQUEST all over the code 2011-08-04 15:08:38 +02:00
Michal Čihař
4acaf76312 Documentation 2011-08-04 14:58:22 +02:00
Michal Čihař
f97b5aba9b Better check for valid filename 2011-08-04 14:57:16 +02:00
Michal Čihař
440f72082f Coding style, simplify flow, remove exit() calls 2011-08-04 14:47:11 +02:00
Michal Čihař
350157c552 Use generic function for download headers 2011-08-04 14:17:18 +02:00
Michal Čihař
17689a2df4 Coding style 2011-08-04 14:12:09 +02:00
Michal Čihař
b9a7ac7425 Avoid skiping authentication and token check 2011-08-04 14:06:27 +02:00
Tyron Madlener
0017203945 Chart Grid importing and exporting feature. 2011-07-28 19:59:17 +03:00