Commit Graph

162 Commits

Author SHA1 Message Date
Marc Delisle
bb01f9b2b7 Refactor db_info.inc.php
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-25 11:16:59 -04:00
Hugues Peccatte
7af0fcf918 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 19:43:19 +02:00
Madhura Jayaratne
8e3a747bd7 Split structure related templates to database and table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-10 12:00:58 +05:30
Marc Delisle
def4b9f492 Missing global declaration
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-07 08:01:22 -04:00
Atul Pratap Singh
42eb5a1b76 Fix bulk actions on table=>structure: move related code out of mult_submits_inc toStructureController
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-08-04 02:20:11 +05:30
Atul Pratap Singh
a66a756769 Merge pull request #11332 from gzzhanghao/structctrl
Create StructureController
2015-08-04 02:19:24 +05:30
Jason
73b6025e04 Fix: bulk action does not work
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-08-03 01:09:22 +08:00
Marc Delisle
f62fba7fc7 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-31 09:01:48 -04: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
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
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
Isaac Bennetch
af658d27ee Merge pull request #1708 from devenbansod/rfe701_using_css
RFE#701 - Print View using CSS - Rewrite
2015-06-01 14:50:04 -04:00
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
Nisarg Jhaveri
34720c2365 Disable foreign key checks in SQL query box and config option
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-31 12:28:41 +05:30
Nisarg Jhaveri
8f34f87bd2 Use PMA_Response in mult_submits.inc.php
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-26 14:55:06 +05:30
Madhura Jayaratne
95eb45fddc rfe #1661 Support checksum table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-23 15:05:53 +05:30
Madhura Jayaratne
d40a48ec39 rfe Ability to disable foreign key check when emptying tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-12 14:37:18 +05:30
Madhura Jayaratne
2be7403799 Extend disabling foreign key check to row deletion
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-30 15:57:11 +05:30
Marc Delisle
629e08cbc4 Code cleanup: $disp_mode was always empty at this point
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-28 09:48:04 -05:00
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
Marc Delisle
b92a156739 Fix parameter type; remove unused parameter
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-26 08:13:47 -04: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
Ashutosh Dhundhara
60610f9b83 Fix issues reported by Scrutinizer.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-17 02:20:05 +05:30
Ashutosh Dhundhara
622bab8f06 Function says that it returns HTML.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-09 23:00:20 +05:30
Marc Delisle
52718ec208 Merge branch 'QA_4_2' 2014-07-07 18:01:20 -04:00
Marc Delisle
eb468f4786 bug #4481 mult_submits.inc.php Undefined variable Error
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-07 18:00:47 -04:00
Marc Delisle
00bad7150b Merge pull request #1211 from smita786/gsoc_central_columns_list
option to Make table consistent with central list of columns
2014-06-09 12:27:40 -04:00
Smita Kumari
6b8575734c option to Make table consistent with central list of columns
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

make messages transtalable

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

Coding style fix

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

Make confirmation button options translatable

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-06-09 20:35:10 +05:30
Marc Delisle
bd762244ec Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:27:02 -04:00
Smita Kumari
200737bcce gsoc:central list of columns, added sync and remove column list on db_structure page
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

fixing indentation in mult_submits.inc.php

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

naming convention,typos, indentaion fix and removed unnecessory file db_sync_central_columns.php

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

check if central columns storage is configured, if not configured don't show the option to sync/remove

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

add/remove columns to central list of columns from tbl_structure page

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

added icon image for central columns add/delete

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

add/remove of columns option in tbl_structure page in columns rows depending upon if column is already present in central columns or not

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

fixed php notices, apporiprate message when a non existing column is removed and when a existing column is added to cenral list

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

documentation added for central_columns configuration

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

regenerated sprite

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

changed central_columns table structure + modified functions to add to central column as per new tbl def

updated delete and other function as per new db structure

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

remove notices

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

sprintf for variable message

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

fix unit test failure errors

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

fixed whitespace issues plus function definition

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>

refactoring code plus fixing coding style issues

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-05-26 23:13:03 +05:30
Marc Delisle
d6fc37e6a0 Clarify the parameter's origin
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-11 06:23:58 +02:00
Ashutosh Dhundhara
cc9cef8e15 RFE: #1445 Easy access to "SHOW CREATE".
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-05-10 02:10:21 +05:30
Marc Delisle
604dde6040 Fix typos 2013-08-17 06:38:25 -04:00
xmujay
8c9d122c17 fix unset unset($submit_mult); and remove unneeded space 2013-08-17 17:21:45 +08:00
xmujay
626f0f9308 add function PMA_getUrlParams and PMA_getQueryStrFromSelected 2013-08-16 21:04:33 +08:00
xmujay
63235d45ff rename PMA_getQueryFromSelected function 2013-08-15 00:06:31 +08:00
xmujay
cd98246d44 refactor PMA_mult_submits and Add UT 2013-08-15 00:01:13 +08:00
xmujay
0874a9cbbc refactor mult_submits 2013-08-11 17:53:17 +08:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Marc Delisle
bfcaffe03b Directly use POST parameters 2013-08-01 08:41:59 -04:00
Marc Delisle
1dffb63d86 Remove typo 2013-07-31 07:03:44 -04:00
Spun Nakandala
01ca2aa2eb corrected method call to adjust to modified method in sql.lib.php 2013-07-20 21:15:43 +05:30
Marc Delisle
536eb2f106 Clarify comment 2013-07-19 13:30:15 -04:00
Spun Nakandala
e23a87e818 include sql.php removed from libraries\mult_submits.inc.php 2013-07-19 22:39:17 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Michal Čihař
e8de59d97b Missing semicolon 2013-05-10 14:29:10 +02:00
Michal Čihař
127a3661c0 Wrap some long lines 2013-05-10 11:02:31 +02:00
Michal Čihař
89db618128 Replace HTML/PHP mix with PHP 2013-05-10 11:01:06 +02:00
Michal Čihař
8718a19b79 Wrap some long lines 2013-05-10 10:50:59 +02:00
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30