Commit Graph

146 Commits

Author SHA1 Message Date
Hugues Peccatte
ffc4422db7 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-19 20:33:21 +02:00
Hugues Peccatte
17274d9a54 Move PMA/DI namespace to PMA\libraries\di.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-02 22:02:46 +02:00
Hugues Peccatte
edf0dfa179 Add missing 'use'.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:02:22 +02:00
Hugues Peccatte
5207ba43a7 Update controllers' namespace.
Move table controllers into 'table' folder.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:56:14 +02: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
Hugues Peccatte
f54bbe7a70 Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 23:02:10 +02:00
Hugues Peccatte
567a628947 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-29 22:29:21 +02:00
Hugues Peccatte
2fe6ff4655 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-08-29 16:27:21 +02:00
Jason
0cfaa66032 Complete tests for TableIndexesController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Jason
3613f2b6bd Introduce the ResponseStub
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Hugues Peccatte
bf61709259 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-23 14:38:07 +02:00
Madhura Jayaratne
a281d9c70f Use spaces in place of tabs
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-17 14:32:55 +05:30
Atul Pratap Singh
ca61c3ace8 Achieve constructor injection usign the introduced DIC
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-06 12:49:19 +05:30
Jason
d1e2c58ee4 Test & fix TableGisVisualizationController
Also fix typos in controllers.

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-03 23:04:19 +08:00
Jason
104c68d681 Introduce Controllers for tbl related scripts
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-24 01:55:45 +08:00
Jason
cb771052c8 Finish refactoring tbl_*.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-17 01:14:27 +08:00
Hugues Peccatte
3827e3e988 Make PHPcs happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-06-12 22:24:32 +02:00
Jason
5bb52eec61 Fix preview sql for creating indexes
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-10 19:23:39 +08:00
Jason
4ecdba9100 Refactoring tbl_indexes.lib.php & tbl_chart.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-08 21:54:27 +08:00
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Madhura Jayaratne
05c5ba753c Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30
Ashutosh Dhundhara
91e9a4d46c RFE#908: Improvements for the table editor (index creation).
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

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

Make index columns sortable.

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

Fix failing test.

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

Fix drag icon in Firefox.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-22 15:29:06 +05:30
Spun Nakandala
69f5145eda removed display_indexes.lib.php. added tbl_display.lib.php and extracted methods from tbl_indexes.php to tbl_indexes.lib.php 2013-08-21 20:06:43 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Spun Nakandala
2adebbce58 libraries/display_indexes.lib.php file added. HTML generation for the create/edit indexes form into display_indexes.lib.php 2013-05-03 00:04:24 +05:30
Kasun Chathuranga
2becd65b1d PMA_DBI_get_columns_full --> PMA_DBI_getColumnsFull 2013-04-30 23:33:00 +05:30
Marc Delisle
a1344cffe2 Bug #3839 Index comment is supported only starting with MySQL 5.5 2013-03-25 19:43:29 -04:00
Rouslan Placella
bc7bb2d038 Implemented rfe #3599046 - Added comments for indexes 2013-01-07 23:44:58 +00:00
Marc Delisle
2723495a4f Removed the AjaxEnable directive 2012-12-21 16:04:57 -05:00
Michal Čihař
ffb01442cf Unify string for adding colums to index 2012-11-15 09:47:25 +01:00
Rouslan Placella
ecc4ba6426 Added ajax behaviour to indexes in the navigation tree 2012-10-30 20:10:23 +00:00
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
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
9d281ef330 Fix indentation 2012-09-05 23:03:51 +05:30
Dieter Adriaenssens
f1a90f78b1 coding style : fix indenting 2012-08-31 14:51:04 +02:00
Madhura Jayaratne
35f29764f0 Fix multi line conditions 2012-08-30 22:35:56 +05:30
Madhura Jayaratne
9a47688dc6 Various coding style improvements 2012-07-29 19:25:52 +05:30
Chanaka Indrajith
106265a7f8 Resolve conflicts 2012-06-30 11:30:39 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +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
Chanaka Indrajith
bf15800089 Remove HTML rendering inside the functions in display_tbl.lib.php file itselves 2012-05-11 16:05:55 +05:30
Rouslan Placella
28923b496e Renamed tbl_common.php to tbl_common.inc.php for better consistency 2012-05-05 16:44:27 +01:00
Rouslan Placella
2c805ade8b Dropped tbl_links.inc.php 2012-05-05 16:44:27 +01:00
Jo Michael
2466594cb7 Fix checkstyle ControlStructures warnings 2012-04-29 02:07:56 +02:00