Michal Čihař
64f4b2cb08
Avoid using PMA_BYPASS_GET_INSTANCE
...
We can use Response::disable instead.
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-10 14:14:39 +02:00
Jakub Stanecki
9f27920406
Added refresh button in export (support for F5)
...
Signed-off-by: Jakub Stanecki <staneckijakub@gmail.com>
2017-09-15 00:51:50 +02:00
Maurício Meneghini Fauth
700e081833
Refactor plugin_interface functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-12 17:36:39 -03:00
Maurício Meneghini Fauth
54cfbc5eda
Refactor export functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-05 12:07:49 -03:00
Maurício Meneghini Fauth
e2c83b954b
Refactor relation functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-22 20:51:27 -03:00
Maurício Meneghini Fauth
2631bcedba
Move plugins classes to PhpMyAdmin namespace
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-20 11:50:12 -03:00
Michal Čihař
d15da74eda
Merge branch 'QA_4_7'
2017-07-18 12:00:02 +02:00
Michal Čihař
6e7c6aed7d
Avoid breakage if set_time_limit is disabled
...
Fixs #13468
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 11:57:59 +02:00
Maurício Meneghini Fauth
ca910e8de8
Move classes to PhpMyAdmin namespace
...
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00
Maurício Meneghini Fauth
8f943ae1c0
Move classes to PhpMyAdmin namespace
...
- Move Sanitize to PhpMyAdmin namespace
- Move SavedSearches to PhpMyAdmin namespace
- Move Scripts to PhpMyAdmin namespace
- Move ServerStatusData to PhpMyAdmin namespace
- Move Sql to PhpMyAdmin namespace
- Move StorageEngine to PhpMyAdmin namespace
- Move SubPartition to PhpMyAdmin namespace
- Move SysInfoLinux to PhpMyAdmin namespace
- Move SysInfoSunOS to PhpMyAdmin namespace
- Move SysInfoWINNT to PhpMyAdmin namespace
- Move SysInfo to PhpMyAdmin namespace
- Move SystemDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-07 01:46:08 -03:00
Maurício Meneghini Fauth
119563b7ea
Move classes to PhpMyAdmin namespace
...
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Maurício Meneghini Fauth
54a15dbd9c
Move classes to PhpMyAdmin namespace
...
- Move Logging to PhpMyAdmin namespace
- Move Menu to PhpMyAdmin namespace
- Move Message to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 13:30:04 -03:00
Maurício Meneghini Fauth
13c0f7bc3c
Move classes to PhpMyAdmin namespace
...
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-28 21:17:18 -03:00
Maurício Meneghini Fauth
e330402b5b
Refactor the core functions into static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-03 00:52:22 -03:00
Maurício Meneghini Fauth
64b1b79933
Refactor the transformations into static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-05-31 16:36:09 -03:00
Michal Čihař
c0bb9520e9
Allow to export JSON with unescaped unicode chars
...
This is optional as there are some parsers which have problems with
utf-8, see http://stackoverflow.com/q/4901133/225718
Fixes #12946
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 13:21:06 +01:00
Michal Čihař
75ad097c36
Replace Util::whichCrlf() with PHP_EOL
...
It's available since PHP 5.0.2 so it's really time to use it.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 15:59:52 +01:00
Michal Čihař
27fb0b58af
Merge branch 'QA_4_6'
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:07:29 +01:00
Michal Čihař
e4bf536906
Update to SQL Parser 4.0.1
...
It now follows PSR-4 and uses PhpMyAdmin namespace prefix.
See https://github.com/phpmyadmin/sql-parser/issues/126
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 13:56:35 +01:00
Isaac Bennetch
583e5e660a
Remove dead code and strings relating to xls/xlsx import and export.
...
This code was removed in 3.4.5.0 but some strings and tests remained.
Fixes #12742
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-01-17 22:01:45 -05:00
Michal Čihař
3546bed47e
Avoid using mb_strlen for checking whether string is empty
...
Using strlen produces same results here, just way faster.
Fixes #12397
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 10:29:21 +02:00
Michal Čihař
045046a1dc
Document task to do
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 17:09:21 +02:00
Michal Čihař
45ef3aed75
Remove needless inclusion of export.php from tests
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-16 11:38:58 +02:00
Madhura Jayaratne
c6d2f0012c
Merge branch 'QA_4_6'
2016-03-14 22:16:07 +11:00
Madhura Jayaratne
c8e51a1b59
Fix #12092 Rename exported databases/tables doesn't seem to work
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-14 22:13:48 +11:00
Michal Čihař
3bda9a03b9
Move Kanji encoding handling to Encoding class
...
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-08 14:55:41 +01:00
Michal Čihař
28d15ebb8c
Add method for checking if encoding conversion is supported
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-08 14:26:49 +01:00
Michal Čihař
4ed47fc4b4
Move charset conversion to a class
...
Also removes ancient support for AIX iconv.
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-08 14:05:59 +01:00
Durgesh
6650f7b07d
Refactor text sanitization and javascript escaping, Issue #11989 , #11988
...
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:45:19 +05:30
Durgesh
0b64827930
Refactored url parmeters generating, Issue #11990
...
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Michal Čihař
c0e370e356
Merge branch 'QA_4_5'
2016-01-22 15:27:34 +01:00
Michal Čihař
da62e19833
Correctly handle what parameter on export
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-22 15:27:15 +01:00
Michal Čihař
0f119bb329
Merge branch 'QA_4_5'
2016-01-19 11:31:41 +01:00
Michal Čihař
0490d20408
Check for parameter before using it
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-19 10:48:32 +01:00
Madhura Jayaratne
c60c33377d
Fix TODO: Use finally as it's available in PHP >= 5.5
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-14 12:36:18 +11: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
7da4dd0031
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 16:03:04 +01:00
Marc Delisle
c3720ce8bf
Merge branch 'QA_4_5'
2015-11-08 05:39:26 -08:00
John Homerstad
711fab59d1
Fixes #11648 Notice in ./export.php#214 Undefined index: quick_or_custom
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-08 05:37:46 -08:00
Marc Delisle
f869dbccc6
Merge branch 'QA_4_5'
2015-10-21 10:49:47 -04:00
Marc Delisle
fe7a2c095b
Fixes #11592 Missing headers in zipped export
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-21 10:49:18 -04:00
Hugues Peccatte
e99ac906e1
Move classes in new files.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-26 22:22:06 +02:00
Hugues Peccatte
71b62bcef9
Merge remote-tracking branch 'origin/master' into useNamespaces_master
2015-09-26 13:50:49 +02:00
Madhura Jayaratne
45c05e3ad6
Fix coding style violations related to function calls
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-22 21:00:47 +10: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
178a6edd38
Add namespace on part of plugins classes.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-05 00:33:42 +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