Commit Graph

374 Commits

Author SHA1 Message Date
Marc Delisle
301dd9e05f Fix notice
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-30 12:06:09 -04:00
Hugues Peccatte
839ac8412a Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-27 18:50:45 +02:00
Atul Pratap Singh
7d715931a1 Fix some code style warnings
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-27 01:46:00 +05:30
Atul Pratap Singh
47a747532e Fix some errors in structure refactoring
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-27 01:24:34 +05:30
Jason
1b4cafa992 Fix a typo cause db structure not showing
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:12:38 +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
2a5a91e9f3 Refactor PMA_getHtmlForShowCreate, PMA_tableHeader, PMA_getHtmlForMoveColumnsDialog, PMA_getHtmlForStructureTableRow
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:09:07 +08:00
Jason
8ac6c15b32 Refactor PMA_getHtmlForDisplayTableStats and move template calls into db_structure.php and tbl_structure.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:05:47 +08:00
Jason
f90c3326f7 Refactor PMA_getHtmlForActionsInTableStructure and getHtmlForRowStatsTable
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:05:47 +08:00
Jason
c08c98727d Fix table structure not displaying
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:03:00 +08:00
Jason
15c8cb4421 Create templates for structure.lib.php
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-26 21:03:00 +08:00
Hugues Peccatte
56c07e6f35 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-25 22:51:02 +02:00
Jason
6fd29078b6 Fix test failures
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:46:40 +08:00
Jason
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +08:00
Madhura Jayaratne
0fe1547c64 rtl languages have ~ after the row count for approximate row counts
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-21 11:36:08 +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
ad49ae971e These checks are redundant. <feature>work variables should always be defined unless in an upgrade
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-15 19:31:37 +05:30
Madhura Jayaratne
90b5983ddf Add a method to get CREATE TABLE statement to PMA_Table class
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 18:10:12 +05:30
Madhura Jayaratne
a3285a7cd3 Support MySQL 5.7.5 virtual columns
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 15:14:15 +05:30
Dan Ungureanu
f7689d5c7e Replaced more of the old parser.
Updated sql-parser library.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:15 +03:00
Madhura Jayaratne
b0ae16fcd6 These are also internal directives. Remove underscore to match with other similar ones
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-09 17:15:10 +05:30
Deven Bansod
8043108842 Removed Adjust privileges option for Drizzle
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-02 03:21:55 +05:30
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
Deven Bansod
c0df9a0a6e Changing a column's structure was not behaving properly
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-30 02:28:32 +05:30
Deven Bansod
bbd1dc8dab Flush privileges only when they are adjusted for atleast one column
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-30 02:27:33 +05:30
Madhura Jayaratne
95e7b6820a Use action passed as a parameter
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 13:25:43 +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
Madhura Jayaratne
fd77f8d5f4 Timestamp related bug does not affect MySQL 5. See http://faq.webyog.com/content/35/173/en/problems-with-timestamp-not-null-and-mysql-41.html
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 11:31:55 +05:30
Deven Bansod
aeae86d7cc RFE#701 - Print View using CSS - Rewrite
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-06-01 03:57:50 +05:30
Madhura Jayaratne
7aa74ad919 Merge branch 'QA_4_4' 2015-05-28 15:59:20 +05:30
Madhura Jayaratne
c1588f47e4 Compatibility with php 5.3
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-28 15:57:42 +05:30
Madhura Jayaratne
9b5b948de0 Merge branch 'QA_4_4' 2015-05-28 08:55:26 +05:30
Madhura Jayaratne
3012530277 bug #4929 Edit view structure doesn't load the algorithm
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-28 08:52:21 +05:30
Madhura Jayaratne
6837c2b768 Fix column spans for repair tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-27 14:50:40 +05:30
Madhura Jayaratne
4781443f6d Add missing columns for views rows
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-27 14:45:52 +05:30
Madhura Jayaratne
2f882a6e24 Add a configuration for the newly added comment column in db structure page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-27 14:37:56 +05:30
Hugues Peccatte
1f0d3bde63 Make PHPcs happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-05-23 13:16:06 +02:00
Isaac Bennetch
b09cc73b49 Merge pull request #1686 from devenbansod/rfe946
RFE#946 : Change Collation w/o changing data and Confirm before changing
2015-05-23 00:40:39 -04:00
Deven Bansod
487c3266fc RFE#946 : Change Collation w/o changing data and Confirm before changing
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-05-23 04:10:27 +05:30
Deven Bansod
bb6dfb840e Added Documentation for RFE#657
Changed the Label to "Adjust Privileges"

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-05-22 04:45:55 +05:30
Isaac Bennetch
46ba4603ac Merge pull request #1664 from devenbansod/rfe657
RFE 657 : Realigning privileges after DB/Tbl/Col/Proc Rename/Copy/Move
2015-05-18 23:39:29 -04:00
Deven Bansod
5b8e97ce80 RFE 657 : Realigning privileges after DB/Tbl/Col/Proc Rename/Copy
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>

Changed some Variable-names and
Fixed an error with procs_priv insert.

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-05-19 13:21:48 +05:30
Madhura Jayaratne
74a9200c60 rfe #1671 Directly show table comments in structure view
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-18 19:31:50 +05:30
Madhura Jayaratne
9929ef129b Fix comments, Fix column count
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-18 18:37:31 +05:30
Madhura Jayaratne
3803ee476c Simplify
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 15:02:16 +05:30
Madhura Jayaratne
40c82aad55 Update docs
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 07:21:41 +05:30
Madhura Jayaratne
230b0d3ed1 Remove trailing white spaces
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 07:08:48 +05:30
Marc Delisle
33b969a3b7 Refactor duplicate code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-27 08:43:46 -04:00
Marc Delisle
71bf8dede5 Merge branch 'QA_4_4' 2015-04-25 08:44:56 -04:00
Marc Delisle
527586ad43 bug Undefined index: Rows
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-25 08:44:26 -04:00