Skip to content

Commit bee8b61

Browse files
author
Egor Shitikov
committed
Merge branch 'develop' of https://github.corp.ebay.com/magento2/magento2ce into kpi
2 parents 572f0a2 + 009d4eb commit bee8b61

File tree

726 files changed

+22899
-10819
lines changed

Some content is hidden

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

726 files changed

+22899
-10819
lines changed

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
0.74.0-beta4
2+
=============
3+
* Various
4+
* Implemented the getDefaultResult method, to be able to catch exceptions in FrontController and redirect user to the correct page
5+
* The getDefaultResult method is invoked to return default result of action execution within controllers. It can be used to generate the ‘execute’ method result in action controllers
6+
* Eliminated the unused exceptions. Exceptions that weren't linked to any logic were also eliminated and replaced with LocalizedException or its child classes
7+
* Refactored all controllers where possible: the default exception handling logic moved to FrontController. Controllers that cannot be refactored do not conflict with the new logic
8+
* Framework:
9+
* Created Magento Console to perform CLI actions
10+
* Introduced a new SalesSequence module that is responsible for documents numeration management across the Order Management System
11+
* Implemented the mechanism of asynchronous indexing of sales entities grids
12+
* Setup
13+
* Added the ConfigOption and ConfigOptionsList classes to be used by modules to manage deployment configuration
14+
* Moved all existing segments logic to new classes
15+
* Added the config:set command, which enables deployment configuration management
16+
* Removed the old 'install-configuration' tool
17+
* Functional tests:
18+
* Fixed functional test for order placement from backend
19+
* Replaced the end-to-end test for a product with MAP with an injectable test
20+
* Design
21+
* Updated the Blank and Luma themes to enable theme (not only library) variables overriding in the _theme.less file of any inherited theme. Included LESS code standards to the UI Library documentation
22+
* Fixed bugs:
23+
* Fixed an issue where composite products could not be added to the order from the Recently Viewed Products section
24+
* Fixed an issue where not all .js files were added to a bundle
25+
* Fixed an issue where it was possible to save an incorrect IP value in the Developer Client Restriction field
26+
* Fixed an issue where a raw DB error was thrown when trying to enter a custom variable with duplicated variable code
27+
28+
0.74.0-beta3
29+
=============
30+
* API
31+
* The orders were extended with the gift messages
32+
* The page and block data and repository interfaces
33+
* Updated the public API list
34+
* Framework improvements
35+
* Improved the profile generator
36+
* Introduced the new environment for Jasmine tests
37+
* Design
38+
* Inverted the new admin area styles scope, clean up the old styles
39+
* New Side Panels on Admin Area
40+
* Various
41+
* Asynchronous indexing for sales grids
42+
* Advanced Mini Cart
43+
* The HTML minification management on Admin Area
44+
* Minor UI improvements
45+
* The GitHub contribution process was updated in the README.md file
46+
* Fixed bugs
47+
* Fixed the assets deployment tool with the minification
48+
* Fixed the JMeter scenario for the performance toolkit
49+
* Fixed the static files caching on Varnish
50+
* Fixed Admin user creation with the duplicated email or name (incorrect URL)
51+
* Fixed the link on Reset password email for secure URL case
52+
* Fixed the configured product adding from the wish-list to shopping cart
53+
* Fixed the long labels display on Admin Area
54+
* Fixed the Navigation Menu items on Admin Area
55+
* Various unit and integration tests bugs
56+
* GitHub issues and requests
57+
[#675] (https://github.com/magento/magento2/issues/675) -- Fix for Textarea element cols and rows #675
58+
159
0.74.0-beta2
260
=============
361
* Fixed bugs

app/code/Magento/AdminNotification/Model/Feed.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
namespace Magento\AdminNotification\Model;
77

8+
use Magento\Framework\Config\ConfigOptionsList;
9+
810
/**
911
* AdminNotification Feed model
1012
*
@@ -135,7 +137,7 @@ public function checkUpdate()
135137

136138
$feedXml = $this->getFeedData();
137139

138-
$installDate = strtotime($this->_deploymentConfig->get('install/date'));
140+
$installDate = strtotime($this->_deploymentConfig->get(ConfigOptionsList::CONFIG_PATH_INSTALL_DATE));
139141

140142
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
141143
foreach ($feedXml->channel->item as $item) {

app/code/Magento/AdminNotification/Test/Unit/Model/FeedTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace Magento\AdminNotification\Test\Unit\Model;
88

99
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
10+
use Magento\Framework\Config\ConfigOptionsList;
1011

1112
/**
1213
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
@@ -140,7 +141,8 @@ public function testCheckUpdate($callInbox, $curlRequest)
140141
$this->backendConfig->expects($this->at(1))->method('getValue')
141142
->will($this->returnValue('http://feed.magento.com'));
142143
$this->deploymentConfig->expects($this->once())->method('get')
143-
->with('install/date')->will($this->returnValue('Sat, 6 Sep 2014 16:46:11 UTC'));
144+
->with(ConfigOptionsList::CONFIG_PATH_INSTALL_DATE)
145+
->will($this->returnValue('Sat, 6 Sep 2014 16:46:11 UTC'));
144146
if ($callInbox) {
145147
$this->inboxFactory->expects($this->once())->method('create')
146148
->will(($this->returnValue($this->inboxModel)));

app/code/Magento/AdminNotification/composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.5.0|~5.6.0",
6-
"magento/module-store": "0.74.0-beta2",
7-
"magento/module-backend": "0.74.0-beta2",
8-
"magento/module-media-storage": "0.74.0-beta2",
9-
"magento/framework": "0.74.0-beta2",
6+
"magento/module-store": "0.74.0-beta4",
7+
"magento/module-backend": "0.74.0-beta4",
8+
"magento/module-media-storage": "0.74.0-beta4",
9+
"magento/framework": "0.74.0-beta4",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.74.0-beta2",
14+
"version": "0.74.0-beta4",
1515
"license": [
1616
"OSL-3.0",
1717
"AFL-3.0"

app/code/Magento/Authorization/Setup/InstallSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
138138
'role_id',
139139
$installer->getTable('authorization_role'),
140140
'role_id',
141-
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE,
142141
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
143142
)->setComment(
144143
'Admin Rule Table'

app/code/Magento/Authorization/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Authorization module provides access to Magento ACL functionality.",
44
"require": {
55
"php": "~5.5.0|~5.6.0",
6-
"magento/module-backend": "0.74.0-beta2",
7-
"magento/framework": "0.74.0-beta2",
6+
"magento/module-backend": "0.74.0-beta4",
7+
"magento/framework": "0.74.0-beta4",
88
"magento/magento-composer-installer": "*"
99
},
1010
"type": "magento2-module",
11-
"version": "0.74.0-beta2",
11+
"version": "0.74.0-beta4",
1212
"license": [
1313
"OSL-3.0",
1414
"AFL-3.0"

app/code/Magento/Backend/App/Area/FrontNameResolver.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88
namespace Magento\Backend\App\Area;
99

10+
use Magento\Backend\Setup\ConfigOptionsList;
1011
use Magento\Framework\App\DeploymentConfig;
1112

1213
class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolverInterface
@@ -15,8 +16,6 @@ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolver
1516

1617
const XML_PATH_CUSTOM_ADMIN_PATH = 'admin/url/custom_path';
1718

18-
const PARAM_BACKEND_FRONT_NAME = 'backend/frontName';
19-
2019
/**
2120
* Backend area code
2221
*/
@@ -46,7 +45,7 @@ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolver
4645
public function __construct(\Magento\Backend\App\Config $config, DeploymentConfig $deploymentConfig)
4746
{
4847
$this->config = $config;
49-
$this->defaultFrontName = $deploymentConfig->get(self::PARAM_BACKEND_FRONT_NAME);
48+
$this->defaultFrontName = $deploymentConfig->get(ConfigOptionsList::CONFIG_PATH_BACKEND_FRONTNAME);
5049
}
5150

5251
/**

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getHtml()
6666
'From'
6767
) . '" value="' . $this->getEscapedValue(
6868
'from'
69-
) . '" class="input-text no-changes" ' . $this->getUiId(
69+
) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId(
7070
'filter',
7171
$this->_getHtmlName(),
7272
'from'
@@ -81,7 +81,7 @@ public function getHtml()
8181
'To'
8282
) . '" value="' . $this->getEscapedValue(
8383
'to'
84-
) . '" class="input-text no-changes" ' . $this->getUiId(
84+
) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId(
8585
'filter',
8686
$this->_getHtmlName(),
8787
'to'

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getHtml()
2828
'From'
2929
) . '" value="' . $this->getEscapedValue(
3030
'from'
31-
) . '" class="input-text no-changes" ' . $this->getUiId(
31+
) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId(
3232
'filter',
3333
$this->_getHtmlName(),
3434
'from'
@@ -43,7 +43,7 @@ public function getHtml()
4343
'To'
4444
) . '" value="' . $this->getEscapedValue(
4545
'to'
46-
) . '" class="input-text no-changes" ' . $this->getUiId(
46+
) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId(
4747
'filter',
4848
$this->_getHtmlName(),
4949
'to'

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getHtml()
6666
$html = '<select name="' . $this->_getHtmlName() . '" id="' . $this->_getHtmlId() . '"' . $this->getUiId(
6767
'filter',
6868
$this->_getHtmlName()
69-
) . 'class="no-changes">';
69+
) . 'class="admin__control-select no-changes">';
7070
$value = $this->getValue();
7171
foreach ($this->_getOptions() as $option) {
7272
if (is_array($option['value'])) {

0 commit comments

Comments
 (0)