Commit Graph

47 Commits

Author SHA1 Message Date
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
Marc Delisle
73da1e324b Fix merge conflicts 2013-11-19 13:00:29 -05:00
Hugues Peccatte
f062d67797 Update types in PHPDoc. 2013-11-11 16:43:55 +01:00
Hugues Peccatte
d3adbcaf05 Fix calculation of pos after delete. 2013-11-03 16:02:50 +01:00
Hugues Peccatte
1aedeefc43 Update start position after a delete. 2013-11-03 15:29:44 +01:00
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