Commit Graph

271 Commits

Author SHA1 Message Date
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
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ř
f4eb1a9b4f There is no need to reset() before foreach()
The code is there since past when PHP 4 was still supported reset was
necessary.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-05 11:26:34 +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
Marc Delisle
911f8274c7 Clarify class and variable name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-31 08:09:47 -05:00
Marc Delisle
ab7942be89 Fix merge conflicts
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-29 07:29:32 -05:00
Marc Delisle
a8c6cdc006 Fix warnings; remove unneeded variable
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-21 07:40:27 -05:00
Marc Delisle
e02542d0ba Refactor handling of export template actions
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-21 06:50:41 -05:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
8ac9634c7a Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02:00
Hugues Peccatte
7a2890bcf2 Update after merge.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 00:54:08 +02:00
Hugues Peccatte
b92491d799 Merge branch 'master' into useNamespaces_master 2015-09-12 00:53:39 +02:00
Marc Delisle
77c0d66a1b Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-11 13:37:54 -04:00
Marc Delisle
27e54fb194 Refactor to remove display_export.inc.php
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-11 11:44:26 -04: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
Madhura Jayaratne
2c4ef3888d Fix bug - Do not export sys database when exporting server
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-28 19:44:33 +10:00
Madhura Jayaratne
6eb6786506 Standardize to sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:57:42 +10:00
Madhura Jayaratne
b40312deea Simplify be using the plural form as its the general case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-26 16:43:36 +10:00
Jason
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Madhura Jayaratne
6e788d45cc Remove redundant style causing trouble in rtl
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21 10:34:32 +05:30
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
8c19eedca1 Use correct name format
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 14:11:19 +05:30
Madhura Jayaratne
8c6261c73f Underscores are preferred to separate words in configuration storage table names/directives
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-09 17:06:28 +05:30
Madhura Jayaratne
cf7484d573 Fix case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-08 18:16:03 +05:30
Marc Delisle
b0994d0507 Merge pull request #1771 from madhuracj/rfe812
#812 store export definitions for reuse
2015-07-07 06:57:14 -04:00
Madhura Jayaratne
71d6a654e2 Bug - correctly set lock_table directive when repopulating on back button click
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-06 13:16:11 +05:30
Madhura Jayaratne
c987104160 Make scrutinizer happy
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-06 12:09:04 +05:30
Madhura Jayaratne
61cbf6b3d9 Submit template form on template change. Select template on Back button
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-06 08:56:13 +05:30
Madhura Jayaratne
8865744945 Select newly created template from dropdown. Add an empty option to template dropdown to show selected template.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 21:04:04 +05:30
Madhura Jayaratne
8255a2d539 Specify maxlength for template name
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 21:04:03 +05:30
Madhura Jayaratne
4ab83556c6 Allow using templates created for other databases/tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 21:04:02 +05:30
Madhura Jayaratne
545db4a443 rfe #812 store export definitions for reuse
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-02 21:03:57 +05:30
Deven Bansod
863c29bbe7 Separate file export works with ZIP only
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-01 02:10:12 +05:30
Madhura Jayaratne
69e1c473de Config option for Export\as_separate_files
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-30 15:37:30 +05:30
Madhura Jayaratne
7a6e1bf6e4 Match with config names, more instances
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-30 15:23:19 +05:30
Madhura Jayaratne
dadecaf393 Match the name of corresponding config value.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-30 15:16:42 +05:30
Nisarg Jhaveri
9ef59e49e5 rfe#1603 select structure or data for each table when exporting
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-06-27 17:09:59 +05:30
Deven Bansod
a49e6f533d Provide an option to export tables in a database as separate files
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-21 16:05:43 +05:30
Madhura Jayaratne
4c66580174 Set parameter types
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-10 21:29:55 +05:30
Madhura Jayaratne
df38a76b9f rfe #1306 Add lock tables, disable keys options
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-11 10:48:59 +05:30
Madhura Jayaratne
0aac18fcda Missed file from commit 1d73964695
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-16 09:28:24 +05:30
Madhura Jayaratne
4f1ce1004e bug #4638 Default Export Method setting broken
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-11 15:57:19 +05:30
Madhura Jayaratne
0b662922db Merge branch 'QA_4_2' into QA_4_3
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-19 09:30:30 +05:30
Madhura Jayaratne
2e42e8a11b bug #4602 Exporting selected rows exports all rows of the query
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-19 09:26:11 +05:30
Hugues Peccatte
70a21ec25c Merge from master.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-08 21:49:37 +02:00
Hugues Peccatte
48bd3b8ee5 Remove unused $pmaString.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 10:42:44 +02:00
Hugues Peccatte
e20510de39 Replace mb functions by standard string functions.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-03 23:08:43 +02:00