Commit Graph

28 Commits

Author SHA1 Message Date
Madhura Jayaratne
154d62d27d Fix #11436 CREATE DATABASE should be enabled by default on server exports
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-28 18:52:37 +10:00
Hugues Peccatte
00bd7f02f3 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 19:36:16 +02:00
Marc Delisle
bcb699f72d Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-06 14:01:42 -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
4345479ee7 Remove extra spaces before opening parenthesis
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 16:15:05 +05:30
Hauke Henningsen
b350af3c7f
Strip trailing spaces
Signed-off-by: Hauke Henningsen <sqrt@entless.org>
2015-03-16 03:29:49 +01:00
Hauke Henningsen
477bb0dc0c
Add option for exporting pretty-printed JSON
This adds a single option to the JSON export plugin,
which, if available (PHP >= 5.4.0) corresponds to passing
`JSON_PRETTY_PRINT` to `json_encode`.

Signed-off-by: Hauke Henningsen <sqrt@entless.org>
2015-03-16 03:22:56 +01:00
Michal Čihař
dca981481d Remove plugin manager and observer classes
We don't really need the observer pattern, so let's simplify the code.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-25 09:25:59 +02:00
Chirayu Chiripal
a78a7a0c9c export with table/column names changes extended for other export formats
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-18 16:09:57 +05:30
Ann + J.M
ddf78c212b Re-merge b3dbec1...9207203, changes got lost on original merge from QA_4_2
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-05-26 10:39:50 +02:00
Michal Čihař
c0ce163e05 Drop some unused local variables
Found by PMD on our CI server
2013-07-10 14:53:05 +02:00
Michal Čihař
0ee0d8e8c5 bug #3962 Proper escaping of JSON export
We now use json_encode instead of home made encoder. Also we now
generate JSON data on the fly, what reduces memory usage.
2013-06-11 11:49:02 +02:00
Madhura Jayaratne
3dd99512f0 These constants are better as a part of DatabaseInterface class 2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Kasun Chathuranga
c5673e6177 PMA_DBI_field_name --> PMA_DBI_fieldName 2013-05-04 08:46:06 +05:30
Kasun Chathuranga
a0543cf6c8 PMA_DBI_num_fields --> PMA_DBI_numFields 2013-05-04 08:44:26 +05:30
Kasun Chathuranga
2f0d55b708 PMA_DBI_get_fields_meta --> PMA_DBI_getFieldsMeta 2013-05-04 08:43:23 +05:30
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30
Kasun Chathuranga
a242ed1ae5 PMA_DBI_fetch_row --> PMA_DBI_fetchRow 2013-05-04 08:31:22 +05:30
Madhura Jayaratne
c9f37be407 Add @subpackage tags 2012-10-28 18:27:38 +05:30
Michal Čihař
869d7c0e99 Use single quotes when we do not want to evaluate the string 2012-10-16 11:18:16 +02:00
Alex Marin
50d8322b38 oop: replace conditional includes for properties in export plug-ins 2012-07-29 18:46:54 +03:00
Alex Marin
9288f0eaec oop: reorganise usage of properties in plug-ins 2012-07-18 10:21:58 +03:00
Alex Marin
9823d9532c oop: use properties for ExportJson 2012-07-17 17:09:26 +03:00
Alex Marin
9458f9d062 oop: integrate the properties system for ExportXml 2012-07-17 13:32:13 +03:00
Alex Marin
ddb58362f1 Add README for export plugins 2012-07-04 01:30:59 +03:00
Alex Marin
5623356e7a oop: fix bugs and phpcs errors for all export plugins 2012-06-18 14:22:12 +03:00
Alex Marin
bdf17eee32 oop: ExportJson 2012-06-09 16:04:36 +03:00