Commit Graph

60 Commits

Author SHA1 Message Date
Deven Bansod
f3237c9fa4 Merge branch 'QA_4_6' 2016-08-04 09:24:16 +05:30
Deven Bansod
f6f3002d33 Fix #12433 : Copy table with prefix does not copy the indexes
Change the query "CREATE TABLE $newtablename SELECT * FROM $old" to using Table::moveCopy

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-08-03 16:43:24 +05:30
Deven Bansod
e285b95c42 Merge branch 'QA_4_6' 2016-08-03 10:13:17 +05:30
Deven Bansod
369c53aee3 Fix Label's 'for' attribute for Auto-incr in Copy Mutliple tables
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-08-03 10:10:50 +05:30
Michal Čihař
5bb7349e0d Merge branch 'QA_4_6' 2016-05-23 09:21:33 +02:00
Michal Čihař
b061096abd Avoid not neeedded urlencode/urldecode steps in multi submits
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 09:12:52 +02:00
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Achilles-96
66d7c50bee Fixes #11796
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2016-01-10 14:48:39 +05:30
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Marc Delisle
911f8274c7 Clarify class and variable name
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-31 08:09:47 -05:00
Achilles-96
ba6151fc1b Improvements to Issue-11538
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2015-12-29 17:56:10 +05:30
Marc Delisle
c079df0ff3 Improve message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-27 07:40:23 -05:00
Achilles-96
bd2dcfcdc7 Fixes #11538
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2015-12-27 11:37:34 +05:30
Hugues Peccatte
08cdf6f2fd Merge branch 'master' into psr1_master 2015-11-08 16:16:05 +01:00
Hugues Peccatte
f9d582bd09 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
0bc489bfd9 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-07 20:22:26 +02:00
Marc Delisle
b239793429 Clarify function name
Clarify variable name

Remove duplicate test

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-07 11:02:34 -04: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
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
Marc Delisle
f62fba7fc7 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-31 09:01:48 -04:00
Madhura Jayaratne
c21377d2da Fix #10307 Replication broken when using cross-database master/slave config and phpmyadmin
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-29 08:29:25 +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
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
Marc Delisle
9095aa88bf Fix parameter type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-29 08:35:11 -04:00
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
Chirayu Chiripal
8de1f89922 bugfix 4770: Multiple delete on table browse ignoring foreign key checkbox
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2015-02-17 01:46:19 +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
6ccd694f6b Fix parameter type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-23 07:42:54 -05:00
Madhura Jayaratne
93366c8c24 Merge branch 'QA_4_2' into QA_4_3
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-20 21:44:53 +05:30
Madhura Jayaratne
2a3b7393d1 bug #4598 [security] XSS in multi submit
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-20 06:36:55 +05:30
Hugues Peccatte
80ced5fe8f Fix PHPCS issues.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 18:37:49 +01: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
Marc Delisle
2b7ef3f31f Merge branch 'QA_4_2' 2014-09-11 08:12:32 -04:00
Marc Delisle
1ef714febe bug #4529 Undefined index: pos
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-09-11 08:12:06 -04:00
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02: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
Marc Delisle
6843e19368 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-08-29 14:50:25 -04:00
Ashutosh Dhundhara
7a9569f6b5 RFE#1123: Zeroconf PMA tables support.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-11 18:33:59 +05:30
Marc Delisle
c8e33b2a96 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:59:55 -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
Michal Čihař
0481616b35 Fix return value type
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:41:14 +02:00
Michal Čihař
b05ddaaa4f Move IDs to buttons from hidden elements
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-06 10:25:00 +01:00
Michal Čihař
a125b33d5f Reintroduce IDs for final yes/no buttons, used in testsuite
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-06 09:55:58 +01:00
Marc Delisle
009971e8cf Signed-off-by: Marc Delisle <marc@infomarc.info>
- Remove duplicate HTML ids
- Fix coding style
2014-03-05 10:06:02 -05:00
Arpit Goyal
01ff80708c Adding confirmation at the top also
Signed-off-by: Arpit Goyal <agmps17@gmail.com>
2014-03-04 00:57:37 +05:30
Hugues Peccatte
d68b901132 Remove unused local variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-21 23:19:26 +01:00
Hugues Peccatte
7bd1bf23d3 Fix PHPCS errors.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-11 22:13:10 +01:00