Commit Graph

296 Commits

Author SHA1 Message Date
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
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
Marc Delisle
16c5137ee7 Remove unneeded code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-30 08:25:09 -04:00
Hugues Peccatte
bd707b871d Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 23:34:50 +02:00
Madhura Jayaratne
0a5163826f Remove the hidden field having the same name as the enum select
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-11 15:49:02 +05:30
Madhura Jayaratne
c21377d2da Fix #10307 Replication broken when using cross-database master/slave config and phpmyadmin
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-29 08:29:25 +05:30
Dan Ungureanu
cb9cc68fe9 Fixed more issues.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-25 19:39:33 +03:00
Madhura Jayaratne
05dca3d776 More column types
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21 13:58:03 +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
Dan Ungureanu
c34cf9ff29 More refactoring.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:16 +03:00
Madhura Jayaratne
926e310a59 Workaround for column privileges for Drizzle
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-24 11:58:17 +05:30
Madhura Jayaratne
ff1592483a rfe #689 Column privileges and update
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-24 11:51:29 +05:30
Jason
cb771052c8 Finish refactoring tbl_*.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:14:27 +08:00
Marc Delisle
0740c4b2b6 Clarify variable
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-10 08:41:48 -04:00
Marc Delisle
0eb78a8ff2 Use strict comparison
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-09 17:22:34 -04:00
Marc Delisle
37df4b7715 Fix loose comparison
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-09 17:08:14 -04:00
Madhura Jayaratne
758ec7b5ae Performance improvements: Avoid expensive PMA_Table::analyzeStructure() call
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-05 20:20:02 +05:30
Madhura Jayaratne
096535fa8a Remove trailing white spaces
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-08 21:09:41 +05:30
Marc Delisle
375f6cb954 Clarify variable name and doc
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-07 13:31:48 -04:00
Marc Delisle
468346df20 Merge branch 'QA_4_4' 2015-05-05 14:33:03 -04:00
Marc Delisle
65277b2ebb phpunit 4.2: assertTag is deprecated
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-05 14:32:29 -04:00
Madhura Jayaratne
3d85296d79 Spaces around assignments
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 18:06:36 +05:30
Madhura Jayaratne
2e48c6f1f5 Pass additional variables to input transformations
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-20 15:33:04 +05:30
Madhura Jayaratne
6ee59b7eec rfe CodeMirror based SQL editor as an input transformation
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-19 13:20:32 +05:30
Madhura Jayaratne
be237a7b51 rfe #954 Allow SALT in ENCRYPT function
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-02 12:26:47 +05:30
Marc Delisle
dcf93b71e1 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-27 15:03:30 -05:00
Marc Delisle
b25e20fdbf Bug Undefined index submit_type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-27 11:24:05 -05:00
Madhura Jayaratne
6171c6c8bd bug #4734 Default values for binary fields do not support binary values
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-27 14:24:49 +05:30
Madhura Jayaratne
f39a4e10cd bug #4633 Wrong parameter in fetchValue
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-10 14:35:14 +05:30
Marc Delisle
3aa884ee36 Fix undefined index notice (fields) in PMA_getParamsForUpdateOrInsert()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-04 10:35:58 -05:00
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Hugues Peccatte
5e7fa3b821 Remove unused local variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:52:20 +01:00
Hugues Peccatte
bdb5f333d7 Fix PHPCS issues.
PHPDoc updates.
Minor coding style modifications.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-01 22:07:18 +01:00
Hugues Peccatte
74f0beda8f Fix syntax error.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-20 20:56:12 +02:00
Marc Delisle
8aa7a15ee0 Code cleanup
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-10 08:56:58 -04:00
Marc Delisle
9d187c0df6 Refactor code duplication
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-10 08:03:25 -04:00
Hugues Peccatte
70a21ec25c Merge from master.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-08 21:49:37 +02:00
Madhura Jayaratne
2e8bb9d0ef CodeSniffer doesn't like this comment
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-07 14:04:53 +05:30
Madhura Jayaratne
65f360b33f bug #4551 Wrong test in source code
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-06 10:20:47 +05:30
Hugues Peccatte
95f4ed1558 Replace mb functions by standard string functions.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 12:48:25 +02:00
Hugues Peccatte
f9cd1a1a22 Replace mb functions by standard string functions.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 11:31:50 +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
Marc Delisle
03debd0a6e Refactor: we had three similar functions, refactored into just one.
Also, these functions returned false, or a string containing the type,
but the string was only used to indirectly mean a true value; now
we explicitely return true in this case.

Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-04 08:27:50 -04:00
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
Chanaka Dharmarathna
e12131f769 CSS imprvements - added more space between top menu and page content in structure and insert pages
Signed-off-by: Chanaka Dharmarathna <pe.chanaka.ck@gmail.com>
2014-09-13 10:45:01 +05:30
Marc Delisle
e8a12ad9b4 Fix code execution path warning
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-08 08:03:36 -04:00
Marc Delisle
7f6bceebb7 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-07 16:56:19 -04:00
Marc Delisle
b3bcdf55ee Remove unused parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-07 09:40:02 -04:00
Marc Delisle
2905b29f68 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-07 09:25:14 -04:00
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00