Commit Graph

78 Commits

Author SHA1 Message Date
Raghuram
ebc935a915 Fixes retrieving tables names from nested $table_list array in tracking
Fixes #13029

Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2017-03-13 09:18:31 +01:00
Michal Čihař
0d9c1101ac Fixed export of tracking data
Fixes #12954

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-06 13:37:21 +01:00
Michal Čihař
308c9d7951 Simplify Response object handling
- always use use and short name
- avoid calling getInstance() several times in one script

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Michal Čihař
f36f61314f Remove odd/even markup
Issue #12070

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 10:17:15 +01:00
Michal Čihař
df0d8a06d3 Merge branch 'master' into master-security 2016-11-10 11:09:32 +01:00
Michal Čihař
dad93483c1 Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Deven Bansod
f14cffdbe7 Properly escape strings in MySQL statement values
Use *_real_escape string functions provided by connectors to escape strings while exporting

Fix #12453

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>

Conflicts:
	libraries/server_privileges.lib.php
2016-10-29 10:45:12 +05:30
Michal Čihař
fa45c8191e Merge branch 'QA_4_6-security' into master-security 2016-10-24 13:55:44 +02:00
Deven Bansod
3b8fc504d2 Manage new-lines and extra whitespaces properly
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-11 10:28:21 +05:30
Michal Čihař
ec7a4cfc82 Merge branches 'QA_4_6-security' and 'master' into master-security 2016-07-22 16:51:22 +02:00
Michal Čihař
835958af31 Merge branch 'QA_4_6' into QA_4_6-security 2016-07-22 16:50:12 +02:00
Michal Čihař
7de035439d Merge branch 'QA_4_6' 2016-07-22 16:42:58 +02:00
Michal Čihař
61150656df Fixed invalid Content-Length in some HTTP responses
Use strlen for calculating HTTP response size, we're interested in bytes
not utf-8 chars.

Issue #12397

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 16:41:51 +02:00
Michal Čihař
dfa389aa5a Merge branch 'QA_4_6-security' into master-security 2016-07-12 16:29:26 +02:00
Michal Čihař
ba072e42dc Validate serialized data before unserializing
We need only strings, integers or arrays, so there is no need to
unserialize strings containing any complex types.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 16:29:11 +02:00
Michal Čihař
c3401ec878 Merge branch 'QA_4_6-security' into master-security 2016-07-12 12:50:54 +02:00
Michal Čihař
78bed3c444 Ensure last version is numeric
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 12:34:18 +02:00
Durgesh
307f7069e5 Templating getWithSelected() and getCheckbox(), Issue #12004
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-23 18:10:24 +05:30
Durgesh
6650f7b07d Refactor text sanitization and javascript escaping, Issue #11989, #11988
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:45:19 +05:30
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Piyush
1d3f8ed037 remove_msie9 (fix_11987)
Signed-off-by: Piyush Agrawal <poush12@gmail.com>
2016-02-20 12:26:54 +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
1be4fc7a99 Refactor duplicated code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-01 12:00:46 -05:00
Marc Delisle
357b1b4757 Remove some unnecessary string concatenations
https://github.com/dseguy/clearPHP/blob/master/rules/no-unnecessary-string-concatenation.md

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-12-04 09:05:42 -05: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
58b10807c8 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02: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
Marc Delisle
4b0cd53e75 Add missing type check
Fix parameter type

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-23 12:34:42 -04:00
Marc Delisle
7be11bfcdb Continue refactoring db tracking
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-18 08:44:28 -04:00
Marc Delisle
0a9af638a2 Continue refactoring db tracking
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-16 08:44:41 -04:00
Marc Delisle
0e1682890e Refactor db tracking
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-15 11:59:38 -04: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
6636153071 Resolve conflicts from upstream
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-07-23 11:29:53 +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
Madhura Jayaratne
3cd8408971 Shift+click for tracking version table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-12 11:59:42 +05:30
Madhura Jayaratne
96e30781d1 List of columns is ordered. Use row numbers
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-22 16:58:35 +05:30
Madhura Jayaratne
f1236e2ec5 Identify keys in structure snapshots
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-22 15:31:30 +05:30
Madhura Jayaratne
a43c9b2df0 Activate/deactivate tracking with a single parameter
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-23 08:45:33 +05:30
Madhura Jayaratne
7226ddad6f Right align numerical columns
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 14:13:33 +05:30
Madhura Jayaratne
cfe3d68060 bug Add missing confirmation when deleting tracking report entries
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 12:33:34 +05:30
Madhura Jayaratne
3bb06110f0 Highlight version number. Allow checking the checkbox by clicking on version number
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 11:01:42 +05:30
Madhura Jayaratne
50d027d724 Update column title to be more consistent
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 09:16:54 +05:30
Madhura Jayaratne
88d7fe2c9c Use icons and be consistent with $cfg['ActionLinksMode']
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 08:51:08 +05:30
Madhura Jayaratne
39d41ccc08 Update index type
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 07:54:21 +05:30
Madhura Jayaratne
10436edaf4 Auto submit table selection dropdown
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-11 07:46:38 +05:30
Madhura Jayaratne
68b03bb857 Make the order consistent
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:53:24 +05:30
Madhura Jayaratne
a621b89a74 Add a separate section for view related trackings
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:51:26 +05:30
Madhura Jayaratne
e125a7711e Merge branch 'QA_4_3'
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:44:03 +05:30
Madhura Jayaratne
4e3cb71a4c bug #4745 Tracking does not handle views properly
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-04 12:38:43 +05:30
Madhura Jayaratne
05c5ba753c Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30