Skip to content

Commit 94b0c43

Browse files
author
Joan He
committed
Merge remote-tracking branch 'upstream/develop' into MAGETWO-32624
Conflicts: app/code/Magento/Tax/Controller/Adminhtml/Tax/IgnoreTaxNotification.php app/code/Magento/Tax/Test/Unit/Controller/Adminhtml/Tax/IgnoreTaxNotificationTest.php
2 parents d1db7e3 + a307ea0 commit 94b0c43

File tree

2,359 files changed

+67344
-37639
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,359 files changed

+67344
-37639
lines changed

CHANGELOG.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,119 @@
1+
0.74.0-beta6
2+
=============
3+
* Framework improvements
4+
* Implemented a default exception handler for blocks
5+
* Updated the root composer.json file
6+
* Updated the setup tool to support different editions
7+
* Added an ability to operate with Sales & Checkout APIs as guests and registered users
8+
* Implemented the additional Sales & Checkout APIs for registered customers and guests
9+
* Added unit tests to cover Sales & Checkout services code
10+
* Various
11+
* Standardized the hierarchy of exceptions
12+
* Added bundle product API integration to Catalog
13+
* Fixed bugs
14+
* Fixed an issue where it was impossible to place an order using multiple address checkout
15+
* Fixed an issue where DB timestamp columns with current_timestamp on update were not handled correctly
16+
* Fixed an issue with FPT in partial invoices
17+
* Fixed a performance issue in benchmark test
18+
* Fixed the incorrect Exception class in the Magento_CurrencySymbol module
19+
* Fixed an issue by letting MySQL determine a database table type instead of MyISAM
20+
* Fixed an issue where test failures occurred when the database and the application were in different time zones
21+
* Fixed an issue where \Magento\Framework\Phrase omitted placeholder values if no renderer was set
22+
23+
0.74.0-beta5
24+
=============
25+
* Various
26+
* Added the new methods/fields in the Catalog Product Data Object
27+
* Improved the Nginx configuration sample file for better web-server responsiveness and security
28+
* Implemented the new look & feel for Create New Order page
29+
* Removed the redundant DB constraints for cascade operations related to order management
30+
* Implemented the mechanism of asynchronous email notifications after creation of Orders, Invoices, Shipments and Credit Memos
31+
* Moved the join logic on application level in order to make DB separation possible in Reports component
32+
* Implemented the TTL and event approaches of cache invalidation, introduced the full and the partial Varnish Cache flush
33+
* Moved all Setup commands to Magento CLI
34+
* Exposed CMS API as Web API
35+
* Fixed bugs:
36+
* Unexpected response for API "/V1/customers/password" service
37+
* Can’t include a third-party link to frontend section via layout
38+
* Specified details for Grouped product are lost after adding to wishlist
39+
* Impossible to configure products in customer wishlist in Admin Panel
40+
* Adding the product from wishlist to cart if more than one store view exists
41+
* Specified product field custom options is not displayed in wishlist in Admin Panel
42+
* Checkout doesn't work with JS bundling enabled in production mode
43+
* Issue with price excluding tax when selecting downloadable links
44+
* Undefined index warning in case the frontend cache information is missing in configuration file
45+
* "New Order" email is not sent to customer after placing order via API service
46+
* 503 error when placing order with multiple shipping addresses if mail transport doesn't exist
47+
* Broken words for fields with long labels all over the Admin Panel
48+
* Issue with saving 'is_virtual' flag in quote
49+
* "Void" button available after "Deny Payment" operation
50+
* Uninstall logic did not clean cache properly
51+
* Obsolete code tests did not cover Tests folders
52+
* Random fail of Magento\Log\Test\Unit\Model\VisitorTest
53+
* GitHub issues:
54+
* [#1149] (https://github.com/magento/magento2/issues/1149) -- Checkout Grand Total amount miscalculation
55+
* [#1165] (https://github.com/magento/magento2/pull/1165) -- Fix typos
56+
* [#1182] (https://github.com/magento/magento2/pull/1182) -- Update system.xml for 'fix' sortOrder in adminhtml
57+
* [#1186] (https://github.com/magento/magento2/pull/1186) -- SalesSequence: Fixed composer installer dependency
58+
59+
0.74.0-beta4
60+
=============
61+
* Various
62+
* Implemented the getDefaultResult method, to be able to catch exceptions in FrontController and redirect user to the correct page
63+
* 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
64+
* Eliminated the unused exceptions. Exceptions that weren't linked to any logic were also eliminated and replaced with LocalizedException or its child classes
65+
* 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
66+
* Framework:
67+
* Created Magento Console to perform CLI actions
68+
* Introduced a new SalesSequence module that is responsible for documents numeration management across the Order Management System
69+
* Implemented the mechanism of asynchronous indexing of sales entities grids
70+
* Setup
71+
* Added the ConfigOption and ConfigOptionsList classes to be used by modules to manage deployment configuration
72+
* Moved all existing segments logic to new classes
73+
* Added the config:set command, which enables deployment configuration management
74+
* Removed the old 'install-configuration' tool
75+
* Functional tests:
76+
* Fixed functional test for order placement from backend
77+
* Replaced the end-to-end test for a product with MAP with an injectable test
78+
* Design
79+
* 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
80+
* Fixed bugs:
81+
* Fixed an issue where composite products could not be added to the order from the Recently Viewed Products section
82+
* Fixed an issue where not all .js files were added to a bundle
83+
* Fixed an issue where it was possible to save an incorrect IP value in the Developer Client Restriction field
84+
* Fixed an issue where a raw DB error was thrown when trying to enter a custom variable with duplicated variable code
85+
86+
0.74.0-beta3
87+
=============
88+
* API
89+
* The orders were extended with the gift messages
90+
* The page and block data and repository interfaces
91+
* Updated the public API list
92+
* Framework improvements
93+
* Improved the profile generator
94+
* Introduced the new environment for Jasmine tests
95+
* Design
96+
* Inverted the new admin area styles scope, clean up the old styles
97+
* New Side Panels on Admin Area
98+
* Various
99+
* Asynchronous indexing for sales grids
100+
* Advanced Mini Cart
101+
* The HTML minification management on Admin Area
102+
* Minor UI improvements
103+
* The GitHub contribution process was updated in the README.md file
104+
* Fixed bugs
105+
* Fixed the assets deployment tool with the minification
106+
* Fixed the JMeter scenario for the performance toolkit
107+
* Fixed the static files caching on Varnish
108+
* Fixed Admin user creation with the duplicated email or name (incorrect URL)
109+
* Fixed the link on Reset password email for secure URL case
110+
* Fixed the configured product adding from the wish-list to shopping cart
111+
* Fixed the long labels display on Admin Area
112+
* Fixed the Navigation Menu items on Admin Area
113+
* Various unit and integration tests bugs
114+
* GitHub issues and requests
115+
* [#675] (https://github.com/magento/magento2/issues/675) -- Fix for Textarea element cols and rows #675
116+
1117
0.74.0-beta2
2118
=============
3119
* Fixed bugs

Gruntfile.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ module.exports = function (grunt) {
6666
'less:luma',
6767
'less:backend'
6868
],
69-
/**
70-
* Styles for backend theme
71-
*/
72-
backend: [
73-
'less:backend',
74-
'replace:escapeCalc',
75-
'less:override'
76-
],
7769
/**
7870
* Documentation
7971
*/

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Use the following table to verify you have the correct prerequisites to install
2727
</tr>
2828
<tr>
2929
<td>Apache 2.2 or 2.4</td>
30-
<td>Ubuntu: <code>apache -v</code><br>
30+
<td>Ubuntu: <code>apache2 -v</code><br>
3131
CentOS: <code>httpd -v</code></td>
3232
<td><a href="http://devdocs.magento.com/guides/v1.0/install-gde/prereq/apache.html">Apache</a></td>
3333
</tr>
@@ -57,3 +57,17 @@ After verifying your prerequisites, perform the following tasks in order to prep
5757
* <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html">Install Magento software using the web interface</a>
5858
* <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/install-cli.html">Install Magento software using the command line</a>
5959
2. <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/verify.html">Verify the installation</a>
60+
61+
<h2>Contributing to the Magento 2 code base</h2>
62+
Contributions can take the form of new components or features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations, or just good suggestions.
63+
64+
To make learn about how to make a contribution, click [here][1].
65+
66+
To learn about issues, click [here][2]. To open an issue, click [here][3].
67+
68+
To suggest documentation improvements, click [here][4].
69+
70+
[1]: <http://devdocs.magento.com/guides/v1.0/contributor-guide/CONTRIBUTING.html>
71+
[2]: <http://devdocs.magento.com/guides/v1.0/contributor-guide/CONTRIBUTING.html#report>
72+
[3]: <https://github.com/magento/magento2/issues>
73+
[4]: <http://devdocs.magento.com>

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/Setup/InstallSchema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
4545
'date_added',
4646
\Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
4747
null,
48-
['nullable' => false],
48+
['nullable' => false, 'default' => \Magento\Framework\DB\Ddl\Table::TIMESTAMP_INIT],
4949
'Create date'
5050
)->addColumn(
5151
'title',
@@ -112,7 +112,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
112112
'created_at',
113113
\Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
114114
null,
115-
['nullable' => false],
115+
['nullable' => false, 'default' => \Magento\Framework\DB\Ddl\Table::TIMESTAMP_INIT],
116116
'Create date'
117117
)->setComment(
118118
'Admin System Messages'

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-beta6",
7+
"magento/module-backend": "0.74.0-beta6",
8+
"magento/module-media-storage": "0.74.0-beta6",
9+
"magento/framework": "0.74.0-beta6",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.74.0-beta2",
14+
"version": "0.74.0-beta6",
1515
"license": [
1616
"OSL-3.0",
1717
"AFL-3.0"

app/code/Magento/AdminNotification/view/adminhtml/templates/notification/window.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @see \Magento\AdminNotification\Block\Window
1313
*/
1414
?>
15-
<div data-mage-init='{"modalPopup": {}}' class="fade critical-notification admin__scope">
15+
<div data-mage-init='{"modalPopup": {}}' class="fade critical-notification">
1616
<div class="popup popup-<?php echo preg_replace('#[^a-z0-9]+#', '-', strtolower($block->getSeverityText())) ?>">
1717
<div class="popup-inner">
1818
<div class="popup-header">

app/code/Magento/AdminNotification/view/adminhtml/templates/system/messages.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<?php /** @var $block \Magento\AdminNotification\Block\System\Messages */ ?>
1111

1212
<?php $lastCritical = $block->getLastCritical();?>
13-
<div id="system_messages" class="message-system<?php if ($lastCritical): ?> message-system-unread<?php endif; ?> admin__scope">
13+
<div id="system_messages" class="message-system<?php if ($lastCritical): ?> message-system-unread<?php endif; ?>">
1414
<div class="message-system-inner">
1515
<?php if ($lastCritical): ?>
1616
<ul class="message-system-list">

app/code/Magento/AdminNotification/view/adminhtml/templates/system/messages/popup.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
?>
1010
<?php /** @var $block \Magento\AdminNotification\Block\System\Messages\UnreadMessagePopup */ ?>
1111

12-
<div id="system_messages_list" class="admin__scope" title="<?php echo $block->escapeHtml($block->getPopupTitle()); ?>">
12+
<div id="system_messages_list" title="<?php echo $block->escapeHtml($block->getPopupTitle()); ?>">
1313
<ul class="message-system-list">
1414
<?php foreach ($block->getUnreadMessages() as $message): ?>
1515
<li class="message message-warning <?php echo $block->getItemClass($message);?>">

0 commit comments

Comments
 (0)