Skip to content

Commit 52a71ff

Browse files
[EngCom] Public Pull Requests - 2.3-develop
- merged latest code from mainline branch
2 parents 589cefa + 2eb6f84 commit 52a71ff

File tree

403 files changed

+2415
-720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+2415
-720
lines changed

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
*/
77
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;
88

9-
class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification
9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10+
11+
class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification implements HttpGetActionInterface
1012
{
1113
/**
1214
* @return void

app/code/Magento/AdvancedPricingImportExport/Controller/Adminhtml/Export/GetFilter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
*/
66
namespace Magento\AdvancedPricingImportExport\Controller\Adminhtml\Export;
77

8+
use Magento\Framework\App\Action\HttpGetActionInterface;
9+
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
810
use Magento\ImportExport\Controller\Adminhtml\Export as ExportController;
911
use Magento\Framework\Controller\ResultFactory;
1012
use Magento\AdvancedPricingImportExport\Model\Export\AdvancedPricing as ExportAdvancedPricing;
1113
use Magento\Catalog\Model\Product as CatalogProduct;
1214

13-
class GetFilter extends ExportController
15+
class GetFilter extends ExportController implements HttpGetActionInterface, HttpPostActionInterface
1416
{
1517
/**
1618
* Get grid-filter of entity attributes action.

app/code/Magento/Analytics/Controller/Adminhtml/BIEssentials/SignUp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66
namespace Magento\Analytics\Controller\Adminhtml\BIEssentials;
77

8+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
89
use Magento\Backend\App\Action;
910
use Magento\Backend\App\Action\Context;
1011
use Magento\Framework\App\Config\ScopeConfigInterface;
1112

1213
/**
1314
* Provides link to BI Essentials signup
1415
*/
15-
class SignUp extends Action
16+
class SignUp extends Action implements HttpGetActionInterface
1617
{
1718
/**
1819
* Path to config value with URL to BI Essentials sign-up page.

app/code/Magento/Analytics/Controller/Adminhtml/Reports/Show.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
namespace Magento\Analytics\Controller\Adminhtml\Reports;
77

8+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
89
use Magento\Analytics\Model\Exception\State\SubscriptionUpdateException;
910
use Magento\Analytics\Model\ReportUrlProvider;
1011
use Magento\Backend\App\Action;
@@ -16,7 +17,7 @@
1617
/**
1718
* Provide redirect to resource with reports.
1819
*/
19-
class Show extends Action
20+
class Show extends Action implements HttpGetActionInterface
2021
{
2122
/**
2223
* @var ReportUrlProvider

app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\Authorizenet\Controller\Directpost\Payment;
88

9+
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
910
use Magento\Authorizenet\Controller\Directpost\Payment;
1011
use Magento\Authorizenet\Helper\DataFactory;
1112
use Magento\Checkout\Model\Type\Onepage;
@@ -25,7 +26,7 @@
2526
*
2627
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2728
*/
28-
class Place extends Payment
29+
class Place extends Payment implements HttpPostActionInterface
2930
{
3031
/**
3132
* @var \Magento\Quote\Api\CartManagementInterface

app/code/Magento/Backend/Block/Widget/Form/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function _construct()
9393
'class' => 'delete',
9494
'onclick' => 'deleteConfirm(\'' . __(
9595
'Are you sure you want to do this?'
96-
) . '\', \'' . $this->getDeleteUrl() . '\')'
96+
) . '\', \'' . $this->getDeleteUrl() . '\', {data: {}})'
9797
]
9898
);
9999
}

app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedJson.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
*/
77
namespace Magento\Backend\Controller\Adminhtml\Auth;
88

9-
class DeniedJson extends \Magento\Backend\Controller\Adminhtml\Auth
9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10+
11+
class DeniedJson extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGetActionInterface
1012
{
1113
/**
1214
* @var \Magento\Framework\Controller\Result\JsonFactory

app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
*/
77
namespace Magento\Backend\Controller\Adminhtml\Auth;
88

9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGet;
10+
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPost;
11+
912
/**
1013
* @api
1114
* @since 100.0.2
1215
*/
13-
class Login extends \Magento\Backend\Controller\Adminhtml\Auth
16+
class Login extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGet, HttpPost
1417
{
1518
/**
1619
* @var \Magento\Framework\View\Result\PageFactory

app/code/Magento/Backend/Controller/Adminhtml/Auth/Logout.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
*/
77
namespace Magento\Backend\Controller\Adminhtml\Auth;
88

9-
class Logout extends \Magento\Backend\Controller\Adminhtml\Auth
9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGet;
10+
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPost;
11+
12+
class Logout extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGet, HttpPost
1013
{
1114
/**
1215
* Administrator logout action

app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
*/
77
namespace Magento\Backend\Controller\Adminhtml\Cache;
88

9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
910
use Magento\Framework\Exception\LocalizedException;
1011
use Magento\Framework\Controller\ResultFactory;
1112

12-
class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache
13+
class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
1314
{
1415
/**
1516
* Authorization level of a basic admin session

0 commit comments

Comments
 (0)