Commit Graph

93 Commits

Author SHA1 Message Date
Hugues Peccatte
92bb13c78c Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:05:39 +02:00
Marc Delisle
3bdf520bcb Force the documented return type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-04 10:23:50 -04:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +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
Marc Delisle
03cd70f17d Fix return parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-13 08:08:32 -04:00
Marc Delisle
f25de2d221 Fix typo
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-13 08:02:47 -04:00
Madhura Jayaratne
6f84ecf3a4 Simplify
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 08:27:39 +05:30
Madhura Jayaratne
140aa6b163 Remove redundant checks, fix queries
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 08:16:12 +05:30
Madhura Jayaratne
af95a39747 Refactor - Extract method
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-13 07:52:40 +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
ee7564af01 Load in visual query builder the default pdf page if such exists
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-24 18:01:55 +05:30
Madhura Jayaratne
0065c7c452 Remove unused variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 11:47:21 +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
834c35044d Remove a loose comparison warning
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-05-20 10:49:36 -04:00
Marc Delisle
d13ba710ca Fix ambiguous return value
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-25 08:37:30 -04:00
Madhura Jayaratne
1c52bc2a81 rfe #1650 Support a default page in designer
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-08 10:15:27 +05:30
Hugues Peccatte
a68ea85d4d Remove unused locale variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-10 23:26:57 +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
70a21ec25c Merge from master.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-08 21:49:37 +02:00
Madhura Jayaratne
3eda46b33e Warn about missing indexes on column
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-03 19:08:38 +05:30
Madhura Jayaratne
8a410119cd rfe #1542 Better error reporting in Designer
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-03 18:50:15 +05:30
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
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Madhura Jayaratne
dc8f2c5606 Properly mark saved status for new pages
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-08-24 08:58:13 +05:30
Madhura Jayaratne
e2f7257a2c Indicate save status
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-08-22 12:17:27 +05:30
Bimal Yashodha
285c18acdd Use db_desginer.php as a route for all designer operation. Combine pmd_general.lib.php and designer.lib.php into db_designer.lib.php
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-08-14 07:22:32 +05:30
Hugues Peccatte
a5473c2fe9 Coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-08-10 00:56:41 +02:00
Ashutosh Dhundhara
508f0a752b RFE#919: Multiple-column foreign key relation.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix missing master column.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix failing test.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix function doc.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-01 19:50:12 +05:30
Bimal Yashodha
adf0d2e4b7 Remove old relational schema edit/export page and related code
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-07-01 17:51:45 +05:30
Bimal Yashodha
6b52d4c68d Test for PMA_getFirstPage
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-20 00:40:15 +05:30
Bimal Yashodha
6f7040f809 Tests for PMA_getHtmlForPageSaveAs()
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-20 00:12:26 +05:30
Bimal Yashodha
56494730a4 Improve queries
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-18 08:11:04 +05:30
Bimal Yashodha
c8e375defc Indent properly
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-18 07:59:14 +05:30
Bimal Yashodha
3f39847e1b Remove unused function
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-18 07:50:03 +05:30
Bimal Yashodha
48dd4f354d Remove references to designer_coords and designerwork
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-16 11:39:39 +05:30
Bimal Yashodha
70b48eefc2 Pass constraints for hidden tables also
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-16 07:34:05 +05:30
Bimal Yashodha
a71ed52bb8 Show only visible tables
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-16 07:01:10 +05:30
Bimal Yashodha
e04f56a04f Commit for review - multiple pages in designer
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-06-12 18:10:17 +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ř
ce11dff6ef Avoid double checks for direct execution of a script
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-24 11:59:14 +01:00
Marc Delisle
bab0572c1e Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-21 12:42:10 -04:00
Madhura Jayaratne
84e9ce4946 Spaces around . operator
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 17:26:27 +05:30
Madhura Jayaratne
ee398a1de0 Doc comment improvements
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-03 21:25:52 +05:30
Madhura Jayaratne
89b57f6d87 Rename some functions to adhere to coding styles
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-02 22:47:08 +05:30
Hugues Peccatte
7bd1bf23d3 Fix PHPCS errors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-11 22:13:10 +01:00
Marc Delisle
db6ae82c8e Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-09 07:38:11 -05:00
Marc Delisle
7ec0b0d415 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2013-12-04 06:11:52 -05:00
Madhura Jayaratne
20608589c3 Remove trailing white spaces 2013-10-19 14:29:05 +05:30