Commit Graph

315 Commits

Author SHA1 Message Date
Marc Delisle
deb2be02d1 Refactor: new PMA_exportTable()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-31 08:33:38 -05:00
Marc Delisle
b84198ae6d Refactor: new PMA_exportDatabase()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-30 08:49:26 -05:00
Marc Delisle
7e7fe6dabb Unused variable
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-30 08:14:57 -05:00
Marc Delisle
15e22751fb Clarify function name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-29 08:05:17 -05:00
Marc Delisle
5031e4cad8 Refactor: new PMA_exportServer()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-29 06:31:44 -05:00
Marc Delisle
706e69e353 Refactor: new PMA_getHtmlForDisplayedExportHeader()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-28 07:59:35 -05:00
Marc Delisle
c9c87fa2f2 Remove unnecessary code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-28 07:37:33 -05:00
Marc Delisle
4c9a9d3d8a Refactor: new PMA_compressExport()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-28 07:19:05 -05:00
Marc Delisle
4e8f7d8380 Refactor: new PMA_closeExportFile()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-28 06:51:13 -05:00
Marc Delisle
8b8b2cf302 Missing message after refactoring
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-27 07:37:13 -05:00
Marc Delisle
b78ff4442e Refactor: new PMA_openExportFile()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-27 07:27:48 -05:00
Marc Delisle
77625d0bf3 Unused code, now that JavaScript is mandatory; export can no longer be requested as text if the format does not allow it
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-27 06:11:16 -05:00
Marc Delisle
8021f31e36 bug #4201 Exports are not compressed
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-26 09:08:23 -05:00
Marc Delisle
a3b2370aeb Refactor: new PMA_getExportFilenameAndMimetype()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-26 06:26:51 -05:00
Marc Delisle
d40e238e93 Refactor: new PMA_getMemoryLimitForExport()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-25 19:19:28 -05:00
Marc Delisle
4d913bb009 Refactor: new PMA_getHtmlForDisplayedExportFooter()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-25 13:23:32 -05:00
Marc Delisle
edde7126ce Move functions to library file
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-25 09:18:29 -05:00
Marc Delisle
daedc76dc6 Fix typos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-21 07:42:53 -05:00
Marc Delisle
fd943ed1cd Merge branch 'QA_4_1' 2013-12-19 06:29:13 -05:00
Marc Delisle
d3fc017131 Code cleanup
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-19 06:26:18 -05:00
Smita Kumari
675e457f50 bug fix #2760
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2013-12-18 19:17:59 +05:30
Hugues Peccatte
fb8ddb4a99 Fix PHPCS errors/warning from jenkins.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-10 21:57:16 +01:00
Madhura Jayaratne
064944a0b0 Fix indentation 2013-11-10 22:30:58 +05:30
Marc Delisle
04309b2645 Fix coding style 2013-11-10 05:45:36 -05:00
Marc Delisle
971aec3a01 Fix coding style 2013-11-09 06:21:21 -05:00
Michal ฤŒihaล™
bbedf41180 Wrap long line 2013-10-02 13:56:23 +02:00
Michal ฤŒihaล™
7090dc46ef Remove commented out code
That's why we have version control...
2013-10-02 13:56:23 +02:00
Michal ฤŒihaล™
90baeb5c26 Coding style: wrap long lines 2013-10-02 13:56:23 +02:00
Michal ฤŒihaล™
3d067c50df Simplify condition
Negative value will not match length of a string anyway.
2013-10-02 13:56:23 +02:00
Michal ฤŒihaล™
c8993b624c Extract memory limit parsing code 2013-10-02 13:56:23 +02:00
Michal ฤŒihaล™
b02000cee8 Do not try to parse memory limit if empty 2013-10-02 13:56:23 +02:00
Marc Delisle
447965f984 Fix merge conflicts 2013-09-28 12:48:30 -04:00
Marc Delisle
7845a5ce6c Fix codestyle 2013-09-10 06:11:06 -04:00
Marc Delisle
193f06b0af Fix merge conflicts 2013-09-08 07:26:13 -04:00
Marc Delisle
2b979badd2 This new code should be excluded from running under the test suite 2013-09-05 07:41:39 -04:00
Marc Delisle
92f022caeb Fix merge conflicts 2013-09-03 08:16:10 -04:00
Marc Delisle
56a9031f4e Fix merge conflicts 2013-08-31 07:56:31 -04:00
Marc Delisle
5298602f8e bug #4046 Exporting huge Tables causes memory-Problems 2013-08-29 10:26:24 -04:00
Marc Delisle
a803797e51 Fix merge conflicts 2013-08-09 06:22:36 -04:00
Marc Delisle
5873c498e9 bug #4025 gzip export is not actually compressed with mod_deflate 2013-08-09 06:19:12 -04:00
Michal ฤŒihaล™
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal ฤŒihaล™
deca3cb971 Fixed indentation 2013-08-06 15:31:53 +02:00
ayushchd
81a338679d Tests for libraries/plugins/export* 2013-07-31 02:06:34 +05:30
Michal ฤŒihaล™
cb1c893934 Fixed indentation 2013-07-30 13:19:31 +02:00
Kasun Chathuranga
558c4df1bb Allow exporting views as if they were tables 2013-07-29 09:06:09 +05:30
Marc Delisle
dc92c72e8a Merge commit '77e67c3' 2013-07-19 09:13:51 -04:00
Marc Delisle
77e67c3f2c - bug #4019 Create database if not exists (export): add an option to the
interface to enable generating CREATE DATABASE and USE (false by default)
2013-07-19 09:09:24 -04:00
Michal ฤŒihaล™
1346134199 Various coding style improvements 2013-07-10 15:05:05 +02:00
Marc Delisle
ffaa1d2116 Fix typos 2013-06-16 08:11:16 -04:00
Marc Delisle
b39aeb1f89 Remove author name 2013-06-16 08:10:16 -04:00
Marc Delisle
47652894f7 Merge branch 'QA_4_0' 2013-06-10 13:01:22 -04:00
Kari Sรถderholm
0a13fa1938 Fix missing post params in export.php for removeCRLF option in ExportCsv
and ExportExcel plugins.

This is needed after commit a564d981e9
2013-06-10 12:58:39 -04:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
aa8b424626 Merge branch 'QA_4_0' 2013-05-21 16:46:51 +05:30
Madhura Jayaratne
ef4d9361d1 bug #3948 Server export problems 2013-05-21 16:44:41 +05:30
Marc Delisle
a51604e226 Merge branch 'QA_4_0' 2013-05-20 08:11:28 -04:00
ayusun
d8b9a0b28c creating database while exporting at database level 2013-05-16 20:52:50 +05:30
Marc Delisle
13c6e82551 Fix merge conflicts 2013-05-12 08:18:08 -04:00
Marc Delisle
4113d9e98b bug #3915 Import of CSV file (Replace table data with file) with duplicate values 2013-05-12 08:09:02 -04:00
Michal ฤŒihaล™
0c2832ca04 Consistent function naming in Kanji support module 2013-05-10 09:53:41 +02:00
Madhura Jayaratne
ce94d11699 Merge branch 'QA_4_0'
Conflicts:
	po/da.po
	po/el.po
	po/es.po
	po/ko.po
	po/pt.po
	po/pt_BR.po
	po/sl.po
	po/sq.po
	po/sv.po
2013-05-07 00:14:18 +05:30
J.M
2af515a9b8 Fix bug #3905 [export] Custom Exporting exports all databases 2013-05-05 13:07:51 +02:00
Kasun Chathuranga
42256b2d0c PMA_DBI_select_db --> PMA_DBI_selectDb 2013-05-04 08:26:27 +05:30
Michal ฤŒihaล™
5a46990271 Fix indentation and comment placement 2013-05-02 15:36:46 +02:00
Michal ฤŒihaล™
1d5539d3aa Better function names
Follow PEAR coding standard for function names.
2013-05-02 15:01:11 +02:00
Kasun Chathuranga
a85d9eaa2c PMA_DBI_get_tables --> PMA_DBI_getTables 2013-04-30 23:29:55 +05:30
J.M
ff2d22f639 Fix bug #3892 SQL Export files are empty 2013-04-27 22:10:50 +02:00
Marc Delisle
28f74e7c29 Security: block another case of remote execution vulnerability 2013-04-23 16:16:13 -04:00
Marc Delisle
ae67d35cdc Security: sanitize parameter to fix a local file inclusion vulnerability 2013-04-18 13:26:23 -04:00
Marc Delisle
a564d981e9 Security: avoid $GLOBALS overwrite 2013-04-18 13:23:26 -04:00
Marc Delisle
bf9266ef37 Better function name 2013-03-19 07:59:24 -04:00
Gemorroj
d8e5087f5d correct previous commit (bug 3840) 2013-03-18 13:49:16 +03:00
Gemorroj
30b4fda252 bug #3840 When exporting to gzip format, the data is compressed 2 times 2013-03-18 13:15:44 +03:00
Marc Delisle
c46187df98 Missing detection of mod_deflate Apache module in one code path 2013-03-04 12:54:31 -05:00
Michal ฤŒihaล™
81bdcec2ac This variable might be unset 2013-02-07 12:11:07 +01:00
Marc Delisle
98d290f6e5 Fix merge conflicts 2012-11-10 06:27:26 -05:00
Marc Delisle
dc969a9ae5 bug #3563824 [export] Support Apache mod_deflate 2012-11-10 06:25:10 -05:00
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Madhura Jayaratne
ba16e22315 Coding style improvements 2012-08-31 00:46:35 +05:30
Alex Marin
9458f9d062 oop: integrate the properties system for ExportXml 2012-07-17 13:32:13 +03:00
J.M
b55019e00c Fix function call not camelCased yet 2012-07-02 23:05:23 +02:00
J.M
3449d9f01f Fix html entities for astext export backlink, use jQuery for textSQLDUMP box 2012-07-02 20:51:32 +02:00
Chanaka Indrajith
106265a7f8 Resolve conflicts 2012-06-30 11:30:39 +05:30
Alex Marin
3fa180b228 oop: merge master, fix commits 2012-06-27 19:52:37 +03:00
Chanaka Indrajith
39d37fafcc Resolved conflicts 2012-06-27 21:53:59 +05:30
Madhura Jayaratne
f5ed603c36 Use camel case for function names - another instance 2012-06-23 22:59:08 +05:30
Madhura Jayaratne
6fdf3a9243 Class names should start with capital letters 2012-06-23 22:12:51 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Alex Marin
5623356e7a oop: fix bugs and phpcs errors for all export plugins 2012-06-18 14:22:12 +03:00
Alex Marin
2c9fba0560 Merge branch 'work_week3' into plugins-and-OOP 2012-06-17 11:43:45 +03:00
Alex Marin
0899d6722e oop: merge master 2012-06-17 11:40:11 +03:00
Alex Marin
88a958828b oop: remove debugging echo from export.php 2012-06-16 17:14:55 +03:00
Alex Marin
06d6645eb3 oop: ExportPhparray 2012-06-16 16:55:22 +03:00
Alex Marin
4b0dbf6a42 oop: ExportLatex 2012-06-15 19:22:07 +03:00
Rouslan Placella
ae6e50a8a8 Drop display() from Header and Footer classes. The Response class will do all the rendering. 2012-06-11 14:06:04 +01:00
Rouslan Placella
eb98110541 Dropped footer.inc.php 2012-06-11 14:06:04 +01:00
Rouslan Placella
a054562100 PMA_Footer and PMA_Header no longer need to be singletons 2012-06-11 14:06:03 +01:00
Rouslan Placella
4a740376c8 Dropped header.inc.php in favor of the PMA_Header class 2012-06-11 14:06:02 +01:00
Alex Marin
683d7677b9 oop: export codegen; camel caps export naming convention 2012-06-08 11:47:36 +03:00