Skip to content

Commit 71e0aa4

Browse files
author
Alexander Paliarush
committed
Merged mainline/develop into MAGETWO-31929-Extended-Attributes-Object
2 parents 0b38bcb + a9e59f8 commit 71e0aa4

File tree

2,863 files changed

+43994
-37874
lines changed

Some content is hidden

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

2,863 files changed

+43994
-37874
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
0.42.0-beta8
2+
=============
3+
* Various improvements:
4+
* Existing Builders were replaced with DataFactories in Customer and Tax modules
5+
* Refactored controller actions in the Checkout and CMS modules
6+
* Increased coverage with static tests for `.phtml` files
7+
* Moved Cookie related functionality from `Theme` and `Core` modules into a new `Cookie` module
8+
* Moved minfication configuration settings to the `View` library level
9+
* UI improvements:
10+
* Restyled installation wizard
11+
* Prepared styles for Dashboard in the Backend area
12+
* Framework improvements:
13+
* Added `setCustomAttribute` and `setCustomAttributes` methods to `ExtensibleDataInterface`
14+
* Added setter methods to data object interfaces
15+
* Replaced `Builders` with `Factories`
16+
* Added `DataObjectHelper.php` which contains the common set of methods of all builders
17+
* Refactored `__()` to return `Phrase` object
18+
* Allowed usage of `LocalizedException` on the framework's library level
19+
* Added expiration/lifetime management of frontend resources
20+
* Unified MTF configurations format for Framework, TestCase variations and TestCase scenario configurations
21+
* Fixed bugs:
22+
* Fixed an issue with product reviews list paging
23+
* Fixed an issue where sold products were not displayed in Bestsellers
24+
* Fixed an issue with image rendering on the CMS page on Frontend when `webserver rewrites = no`
25+
* GitHub requests:
26+
* [#790](https://github.com/magento/magento2/issues/790) -- Magento API fails in a CGI env (zf1 issue)
27+
* [#909](https://github.com/magento/magento2/issues/909) -- Manage Titles in popup window front-end issue
28+
* [#996](https://github.com/magento/magento2/issues/996) -- Pager block should support url "fragment".
29+
* [#985](https://github.com/magento/magento2/pull/985) -- Allow camelcase in vendorname for menus
30+
* [#1025](https://github.com/magento/magento2/pull/1025) -- Wrong parameter for getting base url for 'media' path in "Image" form element.
31+
32+
0.42.0-beta7
33+
=============
34+
* Various improvements:
35+
* Added Varnish 4 support
36+
* Added CSS minification
37+
* Improved the performance toolkit
38+
* Fixed bugs:
39+
* Fixed an issue where the compiler for the single tenant mode did not resolve Repositories
40+
* Fixed an issue where the "Select all" mass action on the Customers page did not select all customers
41+
* Fixed an issue where values for a customer attribute of multiple-select type were not saved
42+
* Fixed an issue where the parental wakeup() method was not called in interceptors
43+
* Fixed an issue where bundle products with the same configurations added from different pages were displayed in the wishlist as separate items
44+
* Fixed an issue where the number of items added to the wishlist was not displayed on certain pages
45+
* Fixed an issue where logging was broken
46+
* Fixed an issue where it was impossible to use \Magento\Customer\Model\Resource\AddressRepository::getList with predefined direction(sortOrder)
47+
* Fixed an issue where editing a product from wishlist led caused a fatal error
48+
* Fixed an issue where the redirect link to continue shopping was absent in the success message after adding product to a wishlist
49+
* Fixed an issue where HTML tags where displayed in product prices on the Customer's Wishlist page in Admin
50+
* Fixed an issue where the Name and Email fields were not automatically when creating an email using the Email to Friend functionality
51+
* Fixed an issue with the redirect after searching product in a customer wishlist in Admin
52+
* Fixed an issue where a configurable product did not go out of stock when last subitem of some option was sold
53+
* Fixed an issue with varnish config generation for multiple IPs in access list field
54+
* Fixed the wrong di.xml in the Magento_Developer module
55+
* Fixed an issue where changes were not saved when default billing/shipping address was not selected in customer addresses
56+
* Fixed the issue where the Update Qty button looked disabled during a partial invoice creation
57+
* Fixed an issue where the creation date was not displayed in invoices and credit memo grids
58+
* Fixed an issue where it was impossible to install Magento_Quote on PHP 5.6
59+
* Fixed an issue that changes are not saved when default billing/shipping address is unchecked in customer addresses
60+
* Fixed an issue where "Update Qty" button looks disabled while creating partial invoice
61+
* Fixed an issue where date created column is not populated in invoices and credit memo grid
62+
* Fixed an issue with installation of Magento_Quote module on PHP 5.6
63+
* Fixed an issue with wrong link "File Permission Help"
64+
* Fixed an issue where dev/tools are broken when DI compiler is used due to skipped by the compiler dev/tools/Magento folder
65+
* Framework improvements:
66+
* JavaScript testsuites divided into frontend, backend and lib suites
67+
* Implemented image compression on server side upload
68+
* Implemented frontend page resources sorting
69+
* Removed the Magic __call method usage in templates
70+
* Introduced Jasmine + PhantomJS JavaScript testing infrastructure
71+
* Removed support of PHP 5.4
72+
* Setup Tool improvements:
73+
* Added tools for enabling/disabling modules: "module-enable --modules=Module_One,Module_Two, module-disable --modules=Module_One,Module_Two"
74+
* Added help option for displaying list of available modules: "help module-list"
75+
* GitHub requests :
76+
* [#593](https://github.com/magento/magento2/issues/593) -- Allow to use "0" as customer group
77+
* [#804](https://github.com/magento/magento2/issues/804) -- Comment about VAT number displayed under different field in Customer Configuration
78+
179
0.42.0-beta6
280
=============
381
* Various improvements:

Gruntfile.js

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ module.exports = function (grunt) {
99

1010
// Required plugins
1111
// _____________________________________________
12-
var specRunner = require('./dev/tests/js/framework/spec_runner')(grunt);
12+
13+
var specRunner = require('./dev/tests/js/framework/spec_runner')(grunt),
14+
svgo = require('imagemin-svgo');
1315

1416
require('./dev/tools/grunt/tasks/mage-minify')(grunt);
1517

@@ -21,8 +23,6 @@ module.exports = function (grunt) {
2123
pattern: ['grunt-*', '!grunt-template-jasmine-requirejs']
2224
});
2325

24-
var svgo = require('imagemin-svgo');
25-
2626
// Configuration
2727
// _____________________________________________
2828

@@ -318,7 +318,8 @@ module.exports = function (grunt) {
318318

319319
cssmin: {
320320
options: {
321-
report: 'gzip'
321+
report: 'gzip',
322+
keepSpecialComments: 0
322323
},
323324
setup: {
324325
files: {
@@ -342,6 +343,20 @@ module.exports = function (grunt) {
342343
}
343344
},
344345

346+
// Concatenation
347+
// ---------------------------------------------
348+
349+
concat: {
350+
options: {
351+
stripBanners: true,
352+
banner: '/**\n * Copyright © <%= grunt.template.today("yyyy") %> Magento. All rights reserved.\n * See COPYING.txt for license details.\n */\n'
353+
},
354+
setup: {
355+
src: '<%= path.css.setup %>/setup.css',
356+
dest: '<%= path.css.setup %>/setup.css'
357+
}
358+
},
359+
345360

346361
// Watches files for changes and runs tasks based on the changed files
347362
// ---------------------------------------------
@@ -545,7 +560,8 @@ module.exports = function (grunt) {
545560
grunt.task.run([
546561
'less:' + component,
547562
'autoprefixer:' + component,
548-
'cssmin:' + component
563+
'cssmin:' + component,
564+
'concat:' + component
549565
]);
550566
}
551567
if (component == undefined) {

app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getUnreadMessages()
6666
/**
6767
* Retrieve popup title
6868
*
69-
* @return string
69+
* @return \Magento\Framework\Phrase
7070
*/
7171
public function getPopupTitle()
7272
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AjaxMarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Not
1515
*/
1616
public function execute()
1717
{
18-
if (!$this->getRequest()->getPost()) {
18+
if (!$this->getRequest()->getPostValue()) {
1919
return;
2020
}
2121
$notificationId = (int)$this->getRequest()->getPost('id');

app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
namespace Magento\AdminNotification\Model\System\Message;
1010

11+
use Magento\Store\Model\Store;
12+
1113
class Baseurl implements \Magento\Framework\Notification\MessageInterface
1214
{
1315
/**
@@ -21,7 +23,7 @@ class Baseurl implements \Magento\Framework\Notification\MessageInterface
2123
protected $_config;
2224

2325
/**
24-
* @var \Magento\Framework\Store\StoreManagerInterface
26+
* @var \Magento\Store\Model\StoreManagerInterface
2527
*/
2628
protected $_storeManager;
2729

@@ -32,13 +34,13 @@ class Baseurl implements \Magento\Framework\Notification\MessageInterface
3234

3335
/**
3436
* @param \Magento\Framework\App\Config\ScopeConfigInterface $config
35-
* @param \Magento\Framework\Store\StoreManagerInterface $storeManager
37+
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
3638
* @param \Magento\Framework\UrlInterface $urlBuilder
3739
* @param \Magento\Framework\App\Config\ValueFactory $configValueFactory
3840
*/
3941
public function __construct(
4042
\Magento\Framework\App\Config\ScopeConfigInterface $config,
41-
\Magento\Framework\Store\StoreManagerInterface $storeManager,
43+
\Magento\Store\Model\StoreManagerInterface $storeManager,
4244
\Magento\Framework\UrlInterface $urlBuilder,
4345
\Magento\Framework\App\Config\ValueFactory $configValueFactory
4446
) {
@@ -56,9 +58,9 @@ public function __construct(
5658
protected function _getConfigUrl()
5759
{
5860
$output = '';
59-
$defaultUnsecure = $this->_config->getValue(\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, 'default');
61+
$defaultUnsecure = $this->_config->getValue(Store::XML_PATH_UNSECURE_BASE_URL, 'default');
6062

61-
$defaultSecure = $this->_config->getValue(\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, 'default');
63+
$defaultSecure = $this->_config->getValue(Store::XML_PATH_SECURE_BASE_URL, 'default');
6264

6365
if ($defaultSecure == \Magento\Store\Model\Store::BASE_URL_PLACEHOLDER ||
6466
$defaultUnsecure == \Magento\Store\Model\Store::BASE_URL_PLACEHOLDER
@@ -114,7 +116,7 @@ public function isDisplayed()
114116
/**
115117
* Retrieve message text
116118
*
117-
* @return string
119+
* @return \Magento\Framework\Phrase
118120
*/
119121
public function getText()
120122
{

app/code/Magento/AdminNotification/Model/System/Message/CacheOutdated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getIdentity()
6969
public function isDisplayed()
7070
{
7171
return $this->_authorization->isAllowed(
72-
'Magento_Adminhtml::cache'
72+
'Magento_Backend::cache'
7373
) && count(
7474
$this->_getCacheTypesForRefresh()
7575
) > 0;

app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function _shouldBeDisplayed()
3131
/**
3232
* Retrieve message text
3333
*
34-
* @return string
34+
* @return \Magento\Framework\Phrase
3535
*/
3636
public function getText()
3737
{

app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Success.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function _shouldBeDisplayed()
3030
/**
3131
* Retrieve message text
3232
*
33-
* @return string
33+
* @return \Magento\Framework\Phrase
3434
*/
3535
public function getText()
3636
{

app/code/Magento/AdminNotification/Model/System/Message/Security.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
namespace Magento\AdminNotification\Model\System\Message;
1010

11+
use Magento\Store\Model\Store;
12+
1113
class Security implements \Magento\Framework\Notification\MessageInterface
1214
{
1315
/**
@@ -93,7 +95,7 @@ private function _canShowNotification()
9395
*/
9496
private function _isFileAccessible()
9597
{
96-
$unsecureBaseURL = $this->_config->getValue(\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, 'default');
98+
$unsecureBaseURL = $this->_config->getValue(Store::XML_PATH_UNSECURE_BASE_URL, 'default');
9799

98100
/** @var $http \Magento\Framework\HTTP\Adapter\Curl */
99101
$http = $this->_curlFactory->create();
@@ -129,7 +131,7 @@ public function isDisplayed()
129131
/**
130132
* Retrieve message text
131133
*
132-
* @return string
134+
* @return \Magento\Framework\Phrase
133135
*/
134136
public function getText()
135137
{

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.42.0-beta6",
7-
"magento/module-core": "0.42.0-beta6",
8-
"magento/module-backend": "0.42.0-beta6",
9-
"magento/framework": "0.42.0-beta6",
6+
"magento/module-store": "0.42.0-beta8",
7+
"magento/module-core": "0.42.0-beta8",
8+
"magento/module-backend": "0.42.0-beta8",
9+
"magento/framework": "0.42.0-beta8",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.42.0-beta6",
14+
"version": "0.42.0-beta8",
1515
"license": [
1616
"OSL-3.0",
1717
"AFL-3.0"

0 commit comments

Comments
 (0)