Michal Čihař
ae6eb57652
Remove browser specific class from root element
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-04 11:56:11 +02:00
Michal Čihař
3546bed47e
Avoid using mb_strlen for checking whether string is empty
...
Using strlen produces same results here, just way faster.
Fixes #12397
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 10:29:21 +02:00
Michal Čihař
0ce8cd7919
Merge branch 'QA_4_6'
2016-07-12 10:28:28 +02:00
Michal Čihař
b8b1bdd77e
Include X-Robots-Tag header in responses
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 10:28:03 +02:00
Michal Čihař
2f4950828e
Update referrer <meta> to match current standards
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-20 10:47:30 +02:00
Michal Čihař
22b19b5d69
Merge branch 'QA_4_6-security' into master-security
2016-06-20 10:45:26 +02:00
Michal Čihař
1e5716cb96
Add referrer CSP and <meta> tag
...
This avoids leaking Referer header in modern browsers.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-20 09:41:06 +02:00
Michal Čihař
dce94f229f
More consistency for URL::getCommon
...
Now URL::getCommon always returns HTML encoded string, if you want
unencded one, use URL::getCommonRaw. This makes it easier to review the
code if uses correct variant.
Also I've fixed several wrong uses of the HTML encoded variant in
Location header.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 12:44:29 +02:00
Michal Čihař
b71aeefa3a
Disable sending referer
...
We don't use it and this can help us get rid of url.php once the browser
support is good enough (as usual, there is no support in IE and broken
support in Edge right now).
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-01 16:09:51 +01:00
Michal Čihař
8b518460fb
Merge pull request #11996 from 007durgesh219/Issue#11989
...
Issue#11989, #11988 , #11990
2016-02-22 16:10:46 +01:00
Michal Čihař
aa077eee78
Merge pull request #11963 from Achilles-96/Issue-11865
...
Fixes #11865 partially
2016-02-22 13:00:55 +01:00
Achilles-96
4073e4676f
Fixes #11865 partially-Added support for shortcuts
...
Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
2016-02-22 17:06:23 +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
Michal Čihař
729abb0f3c
Merge branch 'QA_4_5' into QA_4_6
2016-02-15 08:51:40 +01:00
Michal Čihař
8f17813535
Visualization now works even on HTTPS
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 15:18:49 +01:00
Michal Čihař
41ab867fb7
Use builtin OpenLayers OSM setup
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 15:07:47 +01:00
Michal Čihař
c01e32b3c5
Remove PmaAbsoluteUri from javascript params, not used there
...
Issue #11412
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 14:33:42 +01:00
Marc Delisle
7aed59efd2
Substitute these not not operators with their real meaning
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-18 17:55:56 -05:00
Michal Čihař
39771f44c0
Simplify code
...
For ages we set $GLOBALS['lang'] to language code, so it's safe to use
it here.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:50:13 +01:00
Michal Čihař
c6939e9e50
Update jQuery UI to 1.11.4
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-08 13:06:11 +01:00
Michal Čihař
5f3875f0c1
Upgrade jQuery to 2.1.4
...
Issue #11833
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-08 12:33:22 +01:00
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
Achilles-96
f72864cb2b
Fixes issue 11504
...
Signed-off-by: Achilles-96 <raghuram.vadapalli@research.iiit.ac.in>
2015-11-29 15:44:56 +05:30
Hugues Peccatte
8ac9634c7a
Make PHPCS happy.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02:00
Hugues Peccatte
70acefd180
Replace Response calls by short calls.
...
Add missing require.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-05 23:39:02 +02:00
Hugues Peccatte
8db5465556
Move libraries/navigation classes into a namespace.
...
Rename libraries/navigation/Nodes as nodes.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-04 22:53:00 +02:00
Hugues Peccatte
7f8f34e89d
Remove classes require_once.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801
Rename classes files.
...
Rename classes.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +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