Commit Graph

364 Commits

Author SHA1 Message Date
Michal Čihař
3e2029e750 Move MySQL charsets handling to the Charsets class
Issue #11731

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-11 12:55:42 +02:00
Madhura Jayaratne
263bd601e6 Remove bookmark library includes
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-03-09 23:57:09 +11:00
Hugues Peccatte
f9d582bd09 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Madhura Jayaratne
a701078e00 Move the controller to appropriate package
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-03 13:25:17 +11:00
Hugues Peccatte
27e362b6e4 Fix case issue.
Use FQN to load class.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 23:48:52 +02:00
Hugues Peccatte
35583be7e6 Remove duplicate require.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 23:16:58 +02:00
Hugues Peccatte
e6c142bc56 Add missing require.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-06 12:44:03 +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
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +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
04422d972b Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-30 22:16:35 +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
a121073c31 Add tests for DatabaseStructureController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-17 01:31:14 +08:00
Jason
3613f2b6bd Introduce the ResponseStub
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-12 16:50:09 +08:00
Madhura Jayaratne
a599b61534 Create separate controllers from table and database structure pages
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-10 15:09:17 +05:30
Jason
ef10ef925b Fix: Unexpected dialog shown when creating table
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-03 12:32:45 +08:00
Jason
3fe4f63f62 Remove structure.lib.php and display_structure.inc.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-31 13:55:52 +08:00
Jason
1c28e6a8ab Creating StructureController
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-31 01:04:30 +08:00
Jason
41ee245a43 Refactor PMA_getHtmlForFavoriteAnchor and remove unused functions
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:09:07 +08:00
Jason
6fd29078b6 Fix test failures
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:46:40 +08:00
Madhura Jayaratne
8b0088163d More show create queries
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 18:42:37 +05:30
Dan Ungureanu
3c9aeef364 Updated sql-parser library.
Refactoring and coding style fixes.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:14 +03:00
Dan Ungureanu
11adecc1d8 Use new parser for table's structure.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:13 +03:00
Dan Ungureanu
e057ca92ce Replaced PMA_SQP_isKeyWord().
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:11 +03:00
Deven Bansod
d014dbcc29 Trial Approach to solve Privileges bug for RFE#657
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-01 22:23:52 +05:30
Hugues Peccatte
37f6b992da Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-06-14 13:50:57 +02:00
Nisarg Jhaveri
e115adb533 Page-related settings, rfe#1559
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-18 20:38:07 +05:30
Madhura Jayaratne
f2015f5b20 Add icon for columns with index
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-22 13:00:21 +05:30
Madhura Jayaratne
b5d75f952b Allow retrieving indexes by types
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-22 12:25:45 +05:30
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
Marc Delisle
10560ca131 Improve message translatability
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-10 09:21:08 -05:00
Marc Delisle
9ab5f1fc31 Merge pull request #1491 from rakeshkaundilya/rfe#723
Sanity Check for table name : Feature request #723
2015-02-10 09:16:13 -05:00
Madhura Jayaratne
8403bd6c7e rfe #1235 Relation view: move to main "Structure" page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-09 12:07:43 +05:30
RAKESH KUMAR
cf2f80aa4a Feature request #723
Signed-off-by: RAKESH KUMAR <rakeshkumar4294@gmail.com>
2015-02-09 01:46:07 +05:30
Madhura Jayaratne
b28bb3ec3e Reload navigation after adding indexes
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-14 18:11:50 +05:30
Madhura Jayaratne
785123b643 bug #4705 Table structure: adding primary key doesn't refresh page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-14 18:05:14 +05:30
Marc Delisle
a22d94b9db Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-09 13:52:12 -05:00
Marc Delisle
be585531a3 Plural form of message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-09 12:26:24 -05:00
Smita Kumari
a9a7fef36f FRE #1578: warn about reserved kyword
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2015-01-08 16:07:50 +05:30
Spun Nakandala
ec1a6e9c5f renamed to better reflect its purpose 2013-08-22 11:16:00 +05:30
Spun Nakandala
324445caba added method PMA_displayTableBrowseForSelectedColumns 2013-08-22 11:15:10 +05:30
Spun Nakandala
d5ff49acbf added method PMA_getMultipleFieldCommandType 2013-08-14 22:12:06 +05:30
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
9c141ee607 Various coding style fixes 2013-08-06 15:56:32 +02:00