Skip to content

Commit

Permalink
Merge branch '2.3-develop' into product-url-rewrites
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/code/Magento/UrlRewriteGraphQl/Model/Resolver/UrlRewrite.php
#	app/code/Magento/UrlRewriteGraphQl/etc/schema.graphqls
  • Loading branch information
rogyar committed Sep 26, 2018
2 parents 1700740 + 76e18b9 commit f141a0d
Show file tree
Hide file tree
Showing 552 changed files with 5,121 additions and 1,567 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.3.0
=============
To get detailed information about changes in Magento 2.3.0, see the [Release Notes](https://devdocs.magento.com/guides/v2.3/release-notes/bk-release-notes.html)

2.1.0
=============
To get detailed information about changes in Magento 2.1.0, please visit [Magento Community Edition (CE) Release Notes](http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.0CE.html "Magento Community Edition (CE) Release Notes")
Expand Down
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,8 @@ Magento is thankful for any contribution that can improve our code base, documen
</a>

<h3>Labels applied by the Magento team</h3>

| Label | Description |
| ------------- |-------------|
| ![DOC](http://devdocs.magento.com/common/images/github_DOC.png) | Affects Documentation domain. |
| ![PROD](http://devdocs.magento.com/common/images/github_PROD.png) | Affects the Product team (mostly feature requests or business logic change). |
| ![TECH](http://devdocs.magento.com/common/images/github_TECH.png) | Affects Architect Group (mostly to make decisions around technology changes). |
| ![accept](http://devdocs.magento.com/common/images/github_accept.png) | The pull request has been accepted and will be merged into mainline code. |
| ![reject](http://devdocs.magento.com/common/images/github_reject.png) | The pull request has been rejected and will not be merged into mainline code. Possible reasons can include but are not limited to: issue has already been fixed in another code contribution, or there is an issue with the code contribution. |
| ![bug report](http://devdocs.magento.com/common/images/github_bug.png) | The Magento Team has confirmed that this issue contains the minimum required information to reproduce. |
| ![acknowledged](http://devdocs.magento.com/common/images/gitHub_acknowledged.png) | The Magento Team has validated the issue and an internal ticket has been created. |
| ![in progress](http://devdocs.magento.com/common/images/github_inProgress.png) | The internal ticket is currently in progress, fix is scheduled to be delivered. |
| ![needs update](http://devdocs.magento.com/common/images/github_needsUpdate.png) | The Magento Team needs additional information from the reporter to properly prioritize and process the issue or pull request. |

To learn more about issue gate labels click [here](https://github.com/magento/magento2/wiki/Magento-Issue-Gates)
We apply labels to public Pull Requests and Issues to help other participants retrieve additional information about current progress, component assignments, Magento release lines, and much more.
Please review the <a href="https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#labels">Code Contributions guide</a> for detailed information on labels used in Magento 2 repositories.

<h2>Reporting security issues</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\AdminNotification\Controller\Adminhtml\Notification;

class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification implements HttpGetActionInterface
{
/**
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
*/
namespace Magento\AdvancedPricingImportExport\Controller\Adminhtml\Export;

use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
use Magento\ImportExport\Controller\Adminhtml\Export as ExportController;
use Magento\Framework\Controller\ResultFactory;
use Magento\AdvancedPricingImportExport\Model\Export\AdvancedPricing as ExportAdvancedPricing;
use Magento\Catalog\Model\Product as CatalogProduct;

class GetFilter extends ExportController
class GetFilter extends ExportController implements HttpGetActionInterface, HttpPostActionInterface
{
/**
* Get grid-filter of entity attributes action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
*/
namespace Magento\Analytics\Controller\Adminhtml\BIEssentials;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
use Magento\Framework\App\Config\ScopeConfigInterface;

/**
* Provides link to BI Essentials signup
*/
class SignUp extends Action
class SignUp extends Action implements HttpGetActionInterface
{
/**
* Path to config value with URL to BI Essentials sign-up page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
namespace Magento\Analytics\Controller\Adminhtml\Reports;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
use Magento\Analytics\Model\Exception\State\SubscriptionUpdateException;
use Magento\Analytics\Model\ReportUrlProvider;
use Magento\Backend\App\Action;
Expand All @@ -16,7 +17,7 @@
/**
* Provide redirect to resource with reports.
*/
class Show extends Action
class Show extends Action implements HttpGetActionInterface
{
/**
* @var ReportUrlProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace Magento\Authorizenet\Controller\Directpost\Payment;

use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
use Magento\Authorizenet\Controller\Directpost\Payment;
use Magento\Authorizenet\Helper\DataFactory;
use Magento\Checkout\Model\Type\Onepage;
Expand All @@ -25,7 +26,7 @@
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class Place extends Payment
class Place extends Payment implements HttpPostActionInterface
{
/**
* @var \Magento\Quote\Api\CartManagementInterface
Expand Down
10 changes: 3 additions & 7 deletions app/code/Magento/Backend/Block/Widget/Button/ButtonList.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
namespace Magento\Backend\Block\Widget\Button;

/**
* Button list widget
*
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -127,12 +129,6 @@ public function getItems()
*/
public function sortButtons(Item $itemA, Item $itemB)
{
$sortOrderA = (int) $itemA->getSortOrder();
$sortOrderB = (int) $itemB->getSortOrder();

if ($sortOrderA == $sortOrderB) {
return 0;
}
return ($sortOrderA < $sortOrderB) ? -1 : 1;
return (int)$itemA->getSortOrder() <=> (int)$itemB->getSortOrder();
}
}
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Widget/Form/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ protected function _construct()
'class' => 'delete',
'onclick' => 'deleteConfirm(\'' . __(
'Are you sure you want to do this?'
) . '\', \'' . $this->getDeleteUrl() . '\')'
) . '\', \'' . $this->getDeleteUrl() . '\', {data: {}})'
]
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Auth;

class DeniedJson extends \Magento\Backend\Controller\Adminhtml\Auth
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class DeniedJson extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGetActionInterface
{
/**
* @var \Magento\Framework\Controller\Result\JsonFactory
Expand Down
5 changes: 4 additions & 1 deletion app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Auth;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGet;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPost;

/**
* @api
* @since 100.0.2
*/
class Login extends \Magento\Backend\Controller\Adminhtml\Auth
class Login extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGet, HttpPost
{
/**
* @var \Magento\Framework\View\Result\PageFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Auth;

class Logout extends \Magento\Backend\Controller\Adminhtml\Auth
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGet;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPost;

class Logout extends \Magento\Backend\Controller\Adminhtml\Auth implements HttpGet, HttpPost
{
/**
* Administrator logout action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Controller\ResultFactory;

class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache
class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Authorization level of a basic admin session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Controller\ResultFactory;

class CleanMedia extends \Magento\Backend\Controller\Adminhtml\Cache
class CleanMedia extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Authorization level of a basic admin session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
use Magento\Framework\Controller\ResultFactory;

class CleanStaticFiles extends \Magento\Backend\Controller\Adminhtml\Cache
class CleanStaticFiles extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Authorization level of a basic admin session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

class FlushAll extends \Magento\Backend\Controller\Adminhtml\Cache
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class FlushAll extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Authorization level of a basic admin session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

class FlushSystem extends \Magento\Backend\Controller\Adminhtml\Cache
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class FlushSystem extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Authorization level of a basic admin session
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Cache;

class Index extends \Magento\Backend\Controller\Adminhtml\Cache
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class Index extends \Magento\Backend\Controller\Adminhtml\Cache implements HttpGetActionInterface
{
/**
* Display cache management grid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Dashboard;

class Index extends \Magento\Backend\Controller\Adminhtml\Dashboard
use Magento\Backend\Controller\Adminhtml\Dashboard as DashboardAction;
use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface;

class Index extends DashboardAction implements HttpGetActionInterface, HttpPostActionInterface
{
/**
* @var \Magento\Framework\View\Result\PageFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Index;

use Magento\Backend\Controller\Adminhtml\Index as IndexAction;
use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;

/**
* @api
* @since 100.0.2
*/
class GlobalSearch extends \Magento\Backend\Controller\Adminhtml\Index
class GlobalSearch extends IndexAction implements HttpGetActionInterface, HttpPostActionInterface
{
/**
* @var \Magento\Framework\Controller\Result\JsonFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Index;

class Index extends \Magento\Backend\Controller\Adminhtml\Index
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGet;
use Magento\Framework\App\Action\HttpPostActionInterface as HttpPost;

class Index extends \Magento\Backend\Controller\Adminhtml\Index implements HttpGet, HttpPost
{
/**
* Admin area entry point
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\Noroute;

/**
* @SuppressWarnings(PHPMD.AllPurposeAction)
*/
class Index extends \Magento\Backend\App\Action
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\System\Account;

class Index extends \Magento\Backend\Controller\Adminhtml\System\Account
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class Index extends \Magento\Backend\Controller\Adminhtml\System\Account implements HttpGetActionInterface
{
/**
* @var \Magento\Framework\View\Result\PageFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\System\Design;

class Index extends \Magento\Backend\Controller\Adminhtml\System\Design
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class Index extends \Magento\Backend\Controller\Adminhtml\System\Design implements HttpGetActionInterface
{
/**
* @return \Magento\Backend\Model\View\Result\Page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<?php
/**
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Framework\Controller\ResultFactory;

class DeleteGroupPost extends \Magento\Backend\Controller\Adminhtml\System\Store
/**
* Delete store.
*/
class DeleteGroupPost extends \Magento\Backend\Controller\Adminhtml\System\Store implements HttpPostActionInterface
{
/**
* @inheritDoc
* @return \Magento\Backend\Model\View\Result\Redirect
*/
public function execute()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?php
/**
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Framework\Controller\ResultFactory;

class DeleteStorePost extends \Magento\Backend\Controller\Adminhtml\System\Store
/**
* Delete store view.
*/
class DeleteStorePost extends \Magento\Backend\Controller\Adminhtml\System\Store implements HttpPostActionInterface
{
/**
* Delete store view post action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
namespace Magento\Backend\Controller\Adminhtml\System\Store;

class DeleteWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class DeleteWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store implements HttpGetActionInterface
{
/**
* @return \Magento\Framework\Controller\ResultInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
*/
namespace Magento\Backend\Controller\Adminhtml\System\Store;

use Magento\Framework\App\Action\HttpPostActionInterface as HttpPostActionInterface;
use Magento\Framework\Controller\ResultFactory;

class DeleteWebsitePost extends \Magento\Backend\Controller\Adminhtml\System\Store
/**
* Delete website.
*/
class DeleteWebsitePost extends \Magento\Backend\Controller\Adminhtml\System\Store implements HttpPostActionInterface
{
/**
* @inheritDoc
* @return \Magento\Backend\Model\View\Result\Redirect
*/
public function execute()
Expand Down
Loading

0 comments on commit f141a0d

Please sign in to comment.