Skip to content

Commit 177d26b

Browse files
committed
Merge remote-tracking branch 'magento2/develop' into MAGETWO-36095
Conflicts: app/code/Magento/Cms/Api/BlockRepositoryInterface.php app/code/Magento/Cms/Api/Data/BlockInterface.php app/code/Magento/Cms/Api/Data/BlockSearchResultsInterface.php app/code/Magento/Cms/Api/Data/PageInterface.php app/code/Magento/Cms/Api/Data/PageSearchResultsInterface.php app/code/Magento/Cms/Api/PageRepositoryInterface.php
2 parents b14fb2c + 3c66c19 commit 177d26b

File tree

3,874 files changed

+125827
-63995
lines changed

Some content is hidden

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

3,874 files changed

+125827
-63995
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ atlassian*
1010
/.gitattributes
1111
/app/config_sandbox
1212
/app/etc/config.php
13+
/app/etc/env.php
1314
/app/code/Magento/TestModule*
1415
/lib/internal/flex/uploader/.actionScriptProperties
1516
/lib/internal/flex/uploader/.flexProperties
@@ -37,6 +38,7 @@ atlassian*
3738
!/pub/media/wysiwyg/.htaccess
3839
/pub/media/tmp/*
3940
!/pub/media/tmp/.htaccess
41+
/pub/media/captcha/*
4042
/pub/static/*
4143
!/pub/static/.htaccess
4244

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@
188188
## If running in cluster environment, uncomment this
189189
## http://developer.yahoo.com/performance/rules.html#etags
190190

191-
#FileETag none
191+
#FileETag none

CHANGELOG.md

Lines changed: 154 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,168 @@
1+
0.74.0-beta8
2+
=============
3+
* Performance Toolkit improvements
4+
* Added order generator
5+
* Added indexer mode switcher via profile config
6+
* UI Improvements
7+
* Added hide/show columns for CMS pages/blocks grid on backend
8+
* Updated the multi-select functionality & UI for CMS pages/blocks grid on backend
9+
* Added the new look & feel for Edit Order Page (view/edit order)
10+
* Framework Improvements
11+
* Updated API framework to support different integration object ACLs
12+
* Updated unit and integration tests config files to include tests from the Updater Application
13+
* Exceptions caught and logged before reaching Phrase::__toString() method
14+
* MTF Improvements
15+
* Replaced end-to-end One-page Checkout test with online shipment methods with scenario test
16+
* Replaced end-to-end Layered Navigation test with injectable test
17+
* Replaced end-to-end Shopping Cart price rule test with injectable test
18+
* Replaced end-to-end Switch Currency test with injectable test
19+
* Fixed the filling condition element
20+
* Updated a set of functional tests
21+
* Various
22+
* Eliminated functional logic in constructors
23+
* Updated public API definitions
24+
* Added information for Downloadable Products to Catalog Product Data Object
25+
* Added information for Catalog Inventory data to Catalog Product Data Object
26+
* Added information for Grouped Products to Catalog Product Data Object
27+
* Added information for Configurable Products to Catalog Product Data Object
28+
* Cleaned Tax API data interfaces
29+
* Removed OptionTypesListInterface and type field in OptionInterface
30+
* Fixed bugs
31+
* Fixed an issue with focus state appearing on click event in Admin Menu logo.
32+
* Fixed an issue where order was placed via Payflow link without providing credit card data
33+
* Fixed an issue where titles were displayed for backend navigation menu group when it only contained a single section
34+
* Fixed an issue where REST URL paths were not case-sensitive
35+
* Implement transparent redirect API
36+
* Fixed an issue in cron.php with checking for functions which are disabled in php.ini
37+
* Front-end development workflow settings scope changed to Global
38+
* Fixed an issue with widget title escape
39+
* Fixed the filename filtering
40+
* Fixed an issue with universal fatal error in the profiler option #2
41+
* Fixed an issue when shipping address in backend could not be changed when creating order
42+
* Fixed the performance issue with tax rules creation
43+
* The extended attributes became optional
44+
* Fixed an issue where final price did not recalculate when option was selected
45+
* Fixed an issue with price currency symbols
46+
* Fixed an issue when low_stock_date showed incorrect data
47+
* Fixed an issue with random integration test failure
48+
* GitHub issues
49+
* [#526] (https://github.com/magento/magento2/issues/526) -- Area Sessions: Magento 2 Should not Allow "area-less" Sessions During an Area Aware Request
50+
* [#1212] (https://github.com/magento/magento2/issues/1212) -- Magento 2 0.74.0-beta5 unable to open home page after successful installation
51+
* [#1213] (https://github.com/magento/magento2/issues/1213) -- Magento 2 0.74.0-beta6 unable to open home page right after successful installation
52+
* [#1157] (https://github.com/magento/magento2/issues/1157) -- Something went wrong with the subscription
53+
* [#1228] (https://github.com/magento/magento2/issues/1228) -- PDOException during attempt to export products: Unknown column 'entity_value.entity_type_id' in 'on clause’
54+
55+
0.74.0-beta7
56+
=============
57+
* Framework improvements
58+
* Exceptions are caught and logged before reaching the Phrase::__toString() method
59+
* Refactored controller actions in the Checkout area
60+
* Refactored controller actions in the Tax area
61+
* Implemented new look & feel for the Edit Order page (View/Edit Order)
62+
* Replaced the end-to-end test for Onepage Checkout with online shipment methods with the scenario test
63+
* Fixed bugs
64+
* Fixed an issue where a success message was absent when adding a product with options from Wishlist to Shopping Cart
65+
* Fixed an issue where an exception was thrown when trying to sort Customer Groups by Tax Class
66+
* Fixed an issue where the background color changed to the “on focus” state when clicking the Admin Menu logo
67+
* Fixed an issue with Mini Shopping Cart containing extra empty space
68+
* GitHub issues
69+
* [#1173] (https://github.com/magento/magento2/pull/1173) -- Change to HttpClient4 from Java client; fix regex issues
70+
* [#1185] (https://github.com/magento/magento2/pull/1185) -- Error message for duplicated phrases not allowed in Generator.php
71+
* [#1199] (https://github.com/magento/magento2/pull/1199) -- Add Event for sales_order_state_change_before during Order->saveState()
72+
* [#1201] (https://github.com/magento/magento2/pull/1101) -- Add customer_validate event
73+
* [#1202] (https://github.com/magento/magento2/pull/1102) -- Email sending events
74+
75+
0.74.0-beta6
76+
=============
77+
* Framework improvements
78+
* Implemented a default exception handler for blocks
79+
* Updated the root composer.json file
80+
* Updated the setup tool to support different editions
81+
* Added an ability to operate with Sales & Checkout APIs as guests and registered users
82+
* Implemented the additional Sales & Checkout APIs for registered customers and guests
83+
* Added unit tests to cover Sales & Checkout services code
84+
* Various
85+
* Standardized the hierarchy of exceptions
86+
* Added bundle product API integration to Catalog
87+
* Fixed bugs
88+
* Fixed an issue where it was impossible to place an order using multiple address checkout
89+
* Fixed an issue where DB timestamp columns with current_timestamp on update were not handled correctly
90+
* Fixed an issue with FPT in partial invoices
91+
* Fixed a performance issue in benchmark test
92+
* Fixed the incorrect Exception class in the Magento_CurrencySymbol module
93+
* Fixed an issue by letting MySQL determine a database table type instead of MyISAM
94+
* Fixed an issue where test failures occurred when the database and the application were in different time zones
95+
* Fixed an issue where \Magento\Framework\Phrase omitted placeholder values if no renderer was set
96+
97+
0.74.0-beta5
98+
=============
99+
* Various
100+
* Added the new methods/fields in the Catalog Product Data Object
101+
* Improved the Nginx configuration sample file for better web-server responsiveness and security
102+
* Implemented the new look & feel for Create New Order page
103+
* Removed the redundant DB constraints for cascade operations related to order management
104+
* Implemented the mechanism of asynchronous email notifications after creation of Orders, Invoices, Shipments and Credit Memos
105+
* Moved the join logic on application level in order to make DB separation possible in Reports component
106+
* Implemented the TTL and event approaches of cache invalidation, introduced the full and the partial Varnish Cache flush
107+
* Moved all Setup commands to Magento CLI
108+
* Exposed CMS API as Web API
109+
* Fixed bugs:
110+
* Unexpected response for API "/V1/customers/password" service
111+
* Can’t include a third-party link to frontend section via layout
112+
* Specified details for Grouped product are lost after adding to wishlist
113+
* Impossible to configure products in customer wishlist in Admin Panel
114+
* Adding the product from wishlist to cart if more than one store view exists
115+
* Specified product field custom options is not displayed in wishlist in Admin Panel
116+
* Checkout doesn't work with JS bundling enabled in production mode
117+
* Issue with price excluding tax when selecting downloadable links
118+
* Undefined index warning in case the frontend cache information is missing in configuration file
119+
* "New Order" email is not sent to customer after placing order via API service
120+
* 503 error when placing order with multiple shipping addresses if mail transport doesn't exist
121+
* Broken words for fields with long labels all over the Admin Panel
122+
* Issue with saving 'is_virtual' flag in quote
123+
* "Void" button available after "Deny Payment" operation
124+
* Uninstall logic did not clean cache properly
125+
* Obsolete code tests did not cover Tests folders
126+
* Random fail of Magento\Log\Test\Unit\Model\VisitorTest
127+
* GitHub issues:
128+
* [#1149] (https://github.com/magento/magento2/issues/1149) -- Checkout Grand Total amount miscalculation
129+
* [#1165] (https://github.com/magento/magento2/pull/1165) -- Fix typos
130+
* [#1182] (https://github.com/magento/magento2/pull/1182) -- Update system.xml for 'fix' sortOrder in adminhtml
131+
* [#1186] (https://github.com/magento/magento2/pull/1186) -- SalesSequence: Fixed composer installer dependency
132+
1133
0.74.0-beta4
2134
=============
3135
* 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
136+
* Implemented the getDefaultResult method, to be able to catch exceptions in FrontController and redirect user to the correct page
137+
* 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
138+
* Eliminated the unused exceptions. Exceptions that weren't linked to any logic were also eliminated and replaced with LocalizedException or its child classes
139+
* 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
8140
* 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
141+
* Created Magento Console to perform CLI actions
142+
* Introduced a new SalesSequence module that is responsible for documents numeration management across the Order Management System
143+
* Implemented the mechanism of asynchronous indexing of sales entities grids
12144
* 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
145+
* Added the ConfigOption and ConfigOptionsList classes to be used by modules to manage deployment configuration
146+
* Moved all existing segments logic to new classes
147+
* Added the config:set command, which enables deployment configuration management
148+
* Removed the old 'install-configuration' tool
17149
* 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
150+
* Fixed functional test for order placement from backend
151+
* Replaced the end-to-end test for a product with MAP with an injectable test
20152
* 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
153+
* 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
22154
* 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
155+
* Fixed an issue where composite products could not be added to the order from the Recently Viewed Products section
156+
* Fixed an issue where not all .js files were added to a bundle
157+
* Fixed an issue where it was possible to save an incorrect IP value in the Developer Client Restriction field
158+
* Fixed an issue where a raw DB error was thrown when trying to enter a custom variable with duplicated variable code
27159

28160
0.74.0-beta3
29161
=============
30162
* 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
163+
* The orders were extended with the gift messages
164+
* The page and block data and repository interfaces
165+
* Updated the public API list
34166
* Framework improvements
35167
* Improved the profile generator
36168
* Introduced the new environment for Jasmine tests
@@ -54,7 +186,7 @@
54186
* Fixed the Navigation Menu items on Admin Area
55187
* Various unit and integration tests bugs
56188
* GitHub issues and requests
57-
[#675] (https://github.com/magento/magento2/issues/675) -- Fix for Textarea element cols and rows #675
189+
* [#675] (https://github.com/magento/magento2/issues/675) -- Fix for Textarea element cols and rows #675
58190

59191
0.74.0-beta2
60192
=============

Gruntfile.js

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ module.exports = function (grunt) {
2323
require('load-grunt-config')(grunt, {
2424
configPath: path.join(__dirname, configDir),
2525
init: true,
26-
loadGruntTasks: {
27-
pattern: [
28-
'grunt-*'
29-
]
26+
jitGrunt: {
27+
staticMappings: {
28+
usebanner: 'grunt-banner'
29+
}
3030
}
3131
});
3232

3333
_.each({
3434
/**
3535
* Assembling tasks.
36-
* ToDo UI: define default tasks.
36+
* ToDo: define default tasks.
3737
*/
3838
default: function () {
3939
grunt.log.subhead('I\'m default task and at the moment I\'m empty, sorry :/');
@@ -43,17 +43,19 @@ module.exports = function (grunt) {
4343
* Production preparation task.
4444
*/
4545
prod: function (component) {
46-
if (component === 'setup') {
47-
grunt.task.run([
48-
'less:' + component,
49-
'autoprefixer:' + component,
50-
'cssmin:' + component,
51-
'usebanner:' + component
52-
]);
53-
}
46+
var tasks = [
47+
'less',
48+
'autoprefixer',
49+
'cssmin',
50+
'usebanner'
51+
].map(function(task){
52+
return task + ':' + component;
53+
});
5454

5555
if (typeof component === 'undefined') {
5656
grunt.log.subhead('Tip: Please make sure that u specify prod subtask. By default prod task do nothing');
57+
} else {
58+
grunt.task.run(tasks);
5759
}
5860
},
5961

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public function getSystemMessageDialogJson()
123123
'autoOpen' => false,
124124
'width' => '75%',
125125
'modal' => true,
126+
'minHeight' => '0',
126127
'dialogClass' => 'ui-dialog-active ui-popup-message',
127128
'ajaxUrl' => $this->_getMessagesUrl()
128129
],

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
namespace Magento\AdminNotification\Model;
77

8-
use Magento\Framework\Config\ConfigOptionsList;
8+
use Magento\Framework\Config\ConfigOptionsListConstants;
99

1010
/**
1111
* AdminNotification Feed model
@@ -137,7 +137,7 @@ public function checkUpdate()
137137

138138
$feedXml = $this->getFeedData();
139139

140-
$installDate = strtotime($this->_deploymentConfig->get(ConfigOptionsList::CONFIG_PATH_INSTALL_DATE));
140+
$installDate = strtotime($this->_deploymentConfig->get(ConfigOptionsListConstants::CONFIG_PATH_INSTALL_DATE));
141141

142142
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
143143
foreach ($feedXml->channel->item as $item) {
@@ -239,6 +239,8 @@ public function getFeedData()
239239
}
240240

241241
/**
242+
* Retrieve feed as XML element
243+
*
242244
* @return \SimpleXMLElement
243245
*/
244246
public function getFeedXml()

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Framework\Notification\MessageInterface;
99
use Magento\Framework\Notification\NotifierInterface;
10+
use Magento\AdminNotification\Model\InboxInterface;
1011

1112
/**
1213
* AdminNotification Inbox model
@@ -30,7 +31,7 @@
3031
*
3132
* @author Magento Core Team <core@magentocommerce.com>
3233
*/
33-
class Inbox extends \Magento\Framework\Model\AbstractModel implements NotifierInterface
34+
class Inbox extends \Magento\Framework\Model\AbstractModel implements NotifierInterface, InboxInterface
3435
{
3536
/**
3637
* @return void
@@ -41,10 +42,7 @@ protected function _construct()
4142
}
4243

4344
/**
44-
* Retrieve Severity collection array
45-
*
46-
* @param int|null $severity
47-
* @return array|string|null
45+
* {@inheritdoc}
4846
*/
4947
public function getSeverities($severity = null)
5048
{
@@ -66,9 +64,7 @@ public function getSeverities($severity = null)
6664
}
6765

6866
/**
69-
* Retrieve Latest Notice
70-
*
71-
* @return $this
67+
* {@inheritdoc}
7268
*/
7369
public function loadLatestNotice()
7470
{
@@ -78,9 +74,7 @@ public function loadLatestNotice()
7874
}
7975

8076
/**
81-
* Retrieve notice statuses
82-
*
83-
* @return array
77+
* {@inheritdoc}
8478
*/
8579
public function getNoticeStatus()
8680
{
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
namespace Magento\AdminNotification\Model;
7+
8+
/**
9+
* AdminNotification Inbox interface
10+
*
11+
* @author Magento Core Team <core@magentocommerce.com>
12+
*/
13+
interface InboxInterface
14+
{
15+
/**
16+
* Retrieve Severity collection array
17+
*
18+
* @param int|null $severity
19+
* @return array|string|null
20+
* @api
21+
*/
22+
public function getSeverities($severity = null);
23+
24+
/**
25+
* Retrieve Latest Notice
26+
*
27+
* @return $this
28+
* @api
29+
*/
30+
public function loadLatestNotice();
31+
32+
/**
33+
* Retrieve notice statuses
34+
*
35+
* @return array
36+
* @api
37+
*/
38+
public function getNoticeStatus();
39+
}

0 commit comments

Comments
 (0)