Skip to content

Commit 7162d27

Browse files
author
Igor Melnikov
committed
Merge branch 'upstream-develop' into MAGETWO-47693-increase-temporary-memory-limit
2 parents 6fb4e9d + d50ee54 commit 7162d27

File tree

20 files changed

+199
-359
lines changed

20 files changed

+199
-359
lines changed

.htaccess

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,3 @@
285285
## http://developer.yahoo.com/performance/rules.html#etags
286286

287287
#FileETag none
288-
289-
############################################
290-
## Add custom headers
291-
<IfModule mod_headers.c>
292-
Header set X-Content-Type-Options "nosniff"
293-
Header set X-XSS-Protection "1; mode=block"
294-
</IfModule>

app/code/Magento/Backend/etc/adminhtml/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
</argument>
128128
</arguments>
129129
</type>
130-
<type name="Magento\Framework\App\Response\Header\XFrameOptions">
130+
<type name="Magento\Framework\App\Response\HeaderProvider\XFrameOptions">
131131
<arguments>
132132
<argument name="xFrameOpt" xsi:type="const">Magento\Framework\App\Response\HeaderProvider\XFrameOptions::BACKEND_X_FRAME_OPT</argument>
133133
</arguments>

app/code/Magento/Cron/etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<system>
1010
<section id="system">
1111
<group id="cron" translate="label comment" type="text" sortOrder="15" showInDefault="1" showInWebsite="0" showInStore="0">
12-
<label>Cron (Scheduled Tasks) - all the times are in minutes</label>
13-
<comment>For correct URLs generated during cron runs please make sure that Web &gt; Secure and Unsecure Base URLs are explicitly set.</comment>
12+
<label>Cron (Scheduled Tasks)</label>
13+
<comment>For correct URLs generated during cron runs please make sure that Web &gt; Secure and Unsecure Base URLs are explicitly set. All the times are in minutes.</comment>
1414
<group id="template" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
1515
<label>Cron configuration options for group: </label>
1616
<field id="schedule_generate_every" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">

app/code/Magento/Cron/i18n/en_US.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Daily,Daily
33
Weekly,Weekly
44
Monthly,Monthly
5-
"Cron (Scheduled Tasks) - all the times are in minutes","Cron (Scheduled Tasks) - all the times are in minutes"
6-
"For correct URLs generated during cron runs please make sure that Web > Secure and Unsecure Base URLs are explicitly set.","For correct URLs generated during cron runs please make sure that Web > Secure and Unsecure Base URLs are explicitly set."
5+
"Cron (Scheduled Tasks)","Cron (Scheduled Tasks)"
6+
"For correct URLs generated during cron runs please make sure that Web > Secure and Unsecure Base URLs are explicitly set. All the times are in minutes.","For correct URLs generated during cron runs please make sure that Web > Secure and Unsecure Base URLs are explicitly set. All the times are in minutes."
77
"Cron configuration options for group: ","Cron configuration options for group: "
88
"Generate Schedules Every","Generate Schedules Every"
99
"Schedule Ahead for","Schedule Ahead for"

app/code/Magento/PageCache/Model/App/FrontController/MessageBox.php

Lines changed: 0 additions & 100 deletions
This file was deleted.

app/code/Magento/PageCache/Test/Unit/Model/App/FrontController/MessageBoxTest.php

Lines changed: 0 additions & 148 deletions
This file was deleted.

app/code/Magento/PageCache/etc/frontend/di.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<type name="Magento\Framework\App\FrontControllerInterface">
1010
<plugin name="front-controller-builtin-cache" type="Magento\PageCache\Model\App\FrontController\BuiltinPlugin"/>
1111
<plugin name="front-controller-varnish-cache" type="Magento\PageCache\Model\App\FrontController\VarnishPlugin"/>
12-
<plugin name="front-controller-message-box" type="Magento\PageCache\Model\App\FrontController\MessageBox" sortOrder="0"/>
1312
</type>
1413
<type name="Magento\Framework\Controller\ResultInterface">
1514
<plugin name="result-builtin-cache" type="Magento\PageCache\Model\Controller\Result\BuiltinPlugin"/>

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,6 @@ define([
5151
return elements;
5252
};
5353

54-
/**
55-
* MsgBox Widget checks if message box is displayed and sets cookie
56-
*/
57-
$.widget('mage.msgBox', {
58-
options: {
59-
msgBoxCookieName: 'message_box_display',
60-
msgBoxSelector: '.main div.messages'
61-
},
62-
63-
/**
64-
* Creates widget 'mage.msgBox'
65-
* @private
66-
*/
67-
_create: function () {
68-
if ($.mage.cookies.get(this.options.msgBoxCookieName)) {
69-
$.mage.cookies.clear(this.options.msgBoxCookieName);
70-
} else {
71-
$(this.options.msgBoxSelector).hide();
72-
}
73-
}
74-
});
75-
7654
/**
7755
* FormKey Widget - this widget is generating from key, saves it to cookie and
7856
*/
@@ -272,14 +250,12 @@ define([
272250

273251
domReady(function () {
274252
$('body')
275-
.msgBox()
276253
.formKey();
277254
});
278255

279256
return {
280257
'pageCache': $.mage.pageCache,
281-
'formKey': $.mage.formKey,
282-
'msgBox': $.mage.msgBox
258+
'formKey': $.mage.formKey
283259
};
284260

285261
/**

app/code/Magento/Store/Model/HeaderProvider/Hsts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class Hsts extends \Magento\Framework\App\Response\HeaderProvider\AbstractHeader
1818
*
1919
* @var string
2020
*/
21-
protected $name = 'Strict-Transport-Security';
21+
protected $headerName = 'Strict-Transport-Security';
2222

2323
/**
2424
* Strict-Transport-Security (HSTS) header value
2525
*
2626
* @var string
2727
*/
28-
protected $value = 'max-age=31536000';
28+
protected $headerValue = 'max-age=31536000';
2929

3030
/**
3131
* @var \Magento\Framework\App\Config\ScopeConfigInterface

app/code/Magento/Store/Model/HeaderProvider/UpgradeInsecure.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class UpgradeInsecure extends \Magento\Framework\App\Response\HeaderProvider\Abs
1818
*
1919
* @var string
2020
*/
21-
protected $name = 'Content-Security-Policy';
21+
protected $headerName = 'Content-Security-Policy';
2222

2323
/**
2424
* Upgrade Insecure Requests header value
2525
*
2626
* @var string
2727
*/
28-
protected $value = 'upgrade-insecure-requests';
28+
protected $headerValue = 'upgrade-insecure-requests';
2929

3030
/**
3131
* @var \Magento\Framework\App\Config\ScopeConfigInterface

0 commit comments

Comments
 (0)