Commit Graph

346 Commits

Author SHA1 Message Date
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
Marc Delisle
0e25d41edd $true_selected was used when we are modifying the structure of
a column, to get back to the page in case of error and avoid
retyping our changes. No longer needed because we stay on
the page in case of error.
2013-07-31 16:54:38 -04:00
Marc Delisle
76c1df5ce8 Clarify comments 2013-07-23 15:31:48 -04:00
Spun Nakandala
5dc092ba24 replaced include sql.php from tbl_structure.php 2013-07-23 21:25:10 +05:30
Michal Čihař
bebba32337 Merge remote-tracking branch 'origin/QA_4_0'
Conflicts:
	libraries/config.values.php
	libraries/sql_query_form.lib.php
	server_binlog.php
	server_databases.php
	tbl_structure.php
	test/classes/PMA_DisplayResults_test.php
2013-06-24 10:41:54 +02:00
Marc Delisle
d4d5a03766 Bug #3960 NavigationBarIconic config not honored 2013-06-21 10:00:41 -04:00
xmujay
d23aad1d5b refactor mysql_charsets.inc.php 2013-06-11 13:25:54 +08:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
f7d6517f0f Coding style fixes 2013-05-23 22:54:40 +05:30
ayusun
db6af26e47 Bug fix 3898-Structure/page not refreshed. Updating Table stats 2013-05-12 21:37:32 +05:30
Samith Dassanayake
50ca3f5d96 Refactored "tbl_structure.php" by Creating "display_structure.lib.php" file to separate presentation layer from the logic layer. 2013-05-08 10:59:26 +05:30
Samith Dassanayake
a9481b85ee Extracted methods PMA_getColumnsWithUniqueIndex() and PMA_getReservedWordColumnNameMessages() from "tbl_structure.php".
Refactored "Response.class.php" such that it can add multiple PMA_Messages at once
2013-05-08 10:53:59 +05:30
Kasun Chathuranga
bc4bfaa6d5 PMA_DBI_fetch_value --> PMA_DBI_fetchValue 2013-05-01 00:02:00 +05:30
Kasun Chathuranga
32e6c06324 PMA_DBI_get_columns --> PMA_DBI_getColumns 2013-04-30 23:36:47 +05:30
J.M
14eb3c32ca Add rfe #1422 [interface] Provide feedback if no columns selected for multi-submit 2013-04-28 15:17:45 +02:00
Mohamed Ashraf
68dda7f537 Merge branch 'master' of git://github.com/phpmyadmin/phpmyadmin into contest-4 2013-03-21 21:17:53 +02:00
Marc Delisle
b48affc999 Merge pull request #216 from ayushchd/reserved_words_issue
Reserved words issue
2013-03-21 09:45:57 -07:00
ayushchd
27967e7f79 Added ability to disable MySQL reserved word warning
Disable MySQL reserved word warning $cfg['ReservedWordDisableWarning'],
documentation and ability to change from prefs pane
2013-03-21 18:29:24 +05:30
Mohamed Ashraf
75bcf1fc62 moved the method PMA_getHtmlForDisplayIndexes to the index.lib.php file 2013-03-21 14:35:22 +02:00