Skip to content

Commit e05a60c

Browse files
committed
0.1.0-alpha106
* Various improvements: * Refactored Service Layer of the Magento_Tax Module * Stabilized functional tests for the Backend module * Stabilized functional tests for the CatalogRule module * Stabilized functional tests for the Checkout module * Stabilized functional tests for the CurrencySymbol module * Stabilized functional tests for the Shipping module * Stabilized functional tests for the Tax module * Stabilized functional tests for the User module * Added Readme.md files to the following modules: * Magento\RequireJs * Magento\Ui * Fixed bugs: * Fixed an issue where product image assignment to a store view was not considered when displaying a product * Fixed shipping address area blinking when billing address is filled during checkout with a virtual product * Fixed an issue where filter_store.html was not found * Fixed an issue where the customer account access menu did not expand on the storefront * Fixed an issue where CMS blocks did not open when clicking from a grid * Fixed an issue where the Create Product page was completely blocked after closing the New Attribute pop-up * Fixed an issue where Stock Status was disabled for Bundle and Grouped products * Fixed an issue where a product could not be saved without filling a not required bundle option * Fixed broken "per page" selectors on the Customer's account pages * Fixed the wrong behavior of JS loaders on the storefront pages * Fixed Shopping cart price rule form validation * Fixed an issue where the 'Please wait' spinner persisted when creating a customer custom attribute with existing code * Fixed a Google Chrome specific issue where subcategories were not displayed correctly on the first hover for category item * Fixed an issue where the 'Please wait' spinner did not disappear when creating customer with invalid email * Fixed an issue where the Username field auto-focus on admin login page revealed password in case of fast typing * Fixed an issue where Bundle Product original Price was not displayed in case of discount * Fixed wrong discount calculation for bundle options * Fixed an issue where wrong discount and total amounts were displayed on the order creation page when reordering an order with a bundle product in the Admin panel * Fixed an issue where admin tax notifications did not appear/disappear unless cache was flushed or disabled * Fixed an issue where catalog price and shopping cart price did not match when display currency was different from the base currency * Fixed an issue where Tax classes did not allow 'None' as a valid 'product tax class' * Fixed an issue where token-based authentication did not work if compilation was enabled * Fixed the sample code in index.php illustrating multi websites set up * Fixed commands in Setup CLI to match the ones displayed in help * Fixed an issue where searching by a part of a product name in Advanced Search did not give correct results * Fixed an issue where 404 page is displayed after Search Term mass deletion * Fixed an issue where Popular Search Terms were not displayed on the storefront * Fixed an issue where it was impossible to add Gift Message during one page checkout * Fixed an issue where the optional Postal code setting did not work correctly * Fixed an issue where product price details were missing in summary block in the shopping cart when the Back to shopping cart link was clicked on multishipping page * Fixed an issue where the 404 error page was displayed instead of the Index Management page after saving mass update * Fixed an issue where the "Out of Stock" message was not displayed for a bundle product when there was not enough of one of the associated products in stock * Fixed an issue with the Newsletters Report page in the Admin panel * Fixed an issue where Catalog price rule was not applying correct rates on specific products * Fixed an issue where a fatal error was thrown after clicking a link to a downloadable product * Fixed an issue a warning page for Grouped product with enabled MAP * Fixed an issue where a configurable product was not displayed in catalog product grid after updating with "Add configurable attributes to the new set based on current" * Fixed the inconsistent behavior in the integration tests for the Indexer functionality * Fixed an issue where the What's this? information tip link was not presented on product page with configured Minimum Advertised Price (MAP) * Processed GitHub requests: * [#742](#742) -- Admin notifications count overflow * [#720](#720) -- https filedriver is not working * [#686](#686) -- Product save validation errors in the admin don't hide the overlay * [#702](#702) -- Base table or view not found * [#652](#652) -- Multishipping checkout not to change the Billing address js issue * [#648](#648) -- An equal (=) sign in the hash of the product page to to break the tabs functionality * Service Contracts: * Refactored usage of new API of the Customer module * Implemented Service Contracts for the Sales module * Refactored Service Contracts for the Catalog module * Refactored Service Contracts for the Grouped module * UI Improvements: * Implemented the Form component in Magento UI Library * Removed extra JS loaders for category saving * Improved the behavior of Categories management in the Admin panel * Implemented the keyboard navigation through HTML elements * Improved the HTML structure and UI of the Catalog Category Link, Catalog Product Link and CMS Static Block widgets * Added UI Library documentation * Fixed Blank & Luma themes UI bugs * Fixed footer alignment * Published the Luma theme and removed the Plushe theme * Framework Improvements: * Added the ability to configure the list of loaded modules before installation * Merged SQL and Data Upgrades * Moved \Magento\TestFramework\Utility\Files to Magento Framework * Setup tool improvements: * Removed duplication with Framework * Deployment configuration is refactored from XML format in local.xml to associated array in config.php * Improved performance * Search improvements: * Integrated the Full Text Search library into the Layered Navigation functionality
1 parent fa214d8 commit e05a60c

File tree

3,325 files changed

+141285
-109949
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,325 files changed

+141285
-109949
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ atlassian*
99
/.idea
1010
/.gitattributes
1111
/app/config_sandbox
12-
/app/etc/local.xml
13-
/app/etc/*/module.xml
12+
/app/etc/config.php
1413
/lib/internal/flex/uploader/.actionScriptProperties
1514
/lib/internal/flex/uploader/.flexProperties
1615
/lib/internal/flex/uploader/.project
@@ -19,6 +18,7 @@ atlassian*
1918
/lib/internal/flex/varien/.flexLibProperties
2019
/lib/internal/flex/varien/.project
2120
/lib/internal/flex/varien/.settings
21+
/node_modules
2222

2323
/pub/media/*.*
2424
!/pub/media/.htaccess

.htaccess

-1
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,3 @@
188188
## http://developer.yahoo.com/performance/rules.html#etags
189189

190190
#FileETag none
191-

CHANGELOG.md

+88-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
0.1.0-alpha106
2+
=============
3+
* Various improvements:
4+
* Refactored Service Layer of the Magento_Tax Module
5+
* Stabilized functional tests for the Backend module
6+
* Stabilized functional tests for the CatalogRule module
7+
* Stabilized functional tests for the Checkout module
8+
* Stabilized functional tests for the CurrencySymbol module
9+
* Stabilized functional tests for the Shipping module
10+
* Stabilized functional tests for the Tax module
11+
* Stabilized functional tests for the User module
12+
* Added Readme.md files to the following modules:
13+
* Magento\RequireJs
14+
* Magento\Ui
15+
* Fixed bugs:
16+
* Fixed an issue where product image assignment to a store view was not considered when displaying a product
17+
* Fixed shipping address area blinking when billing address is filled during checkout with a virtual product
18+
* Fixed an issue where filter_store.html was not found
19+
* Fixed an issue where the customer account access menu did not expand on the storefront
20+
* Fixed an issue where CMS blocks did not open when clicking from a grid
21+
* Fixed an issue where the Create Product page was completely blocked after closing the New Attribute pop-up
22+
* Fixed an issue where Stock Status was disabled for Bundle and Grouped products
23+
* Fixed an issue where a product could not be saved without filling a not required bundle option
24+
* Fixed broken "per page" selectors on the Customer's account pages
25+
* Fixed the wrong behavior of JS loaders on the storefront pages
26+
* Fixed Shopping cart price rule form validation
27+
* Fixed an issue where the 'Please wait' spinner persisted when creating a customer custom attribute with existing code
28+
* Fixed a Google Chrome specific issue where subcategories were not displayed correctly on the first hover for category item
29+
* Fixed an issue where the 'Please wait' spinner did not disappear when creating customer with invalid email
30+
* Fixed an issue where the Username field auto-focus on admin login page revealed password in case of fast typing
31+
* Fixed an issue where Bundle Product original Price was not displayed in case of discount
32+
* Fixed wrong discount calculation for bundle options
33+
* Fixed an issue where wrong discount and total amounts were displayed on the order creation page when reordering an order with a bundle product in the Admin panel
34+
* Fixed an issue where admin tax notifications did not appear/disappear unless cache was flushed or disabled
35+
* Fixed an issue where catalog price and shopping cart price did not match when display currency was different from the base currency
36+
* Fixed an issue where Tax classes did not allow 'None' as a valid 'product tax class'
37+
* Fixed an issue where token-based authentication did not work if compilation was enabled
38+
* Fixed the sample code in index.php illustrating multi websites set up
39+
* Fixed commands in Setup CLI to match the ones displayed in help
40+
* Fixed an issue where searching by a part of a product name in Advanced Search did not give correct results
41+
* Fixed an issue where 404 page is displayed after Search Term mass deletion
42+
* Fixed an issue where Popular Search Terms were not displayed on the storefront
43+
* Fixed an issue where it was impossible to add Gift Message during one page checkout
44+
* Fixed an issue where the optional Postal code setting did not work correctly
45+
* Fixed an issue where product price details were missing in summary block in the shopping cart when the Back to shopping cart link was clicked on multishipping page
46+
* Fixed an issue where the 404 error page was displayed instead of the Index Management page after saving mass update
47+
* Fixed an issue where the "Out of Stock" message was not displayed for a bundle product when there was not enough of one of the associated products in stock
48+
* Fixed an issue with the Newsletters Report page in the Admin panel
49+
* Fixed an issue where Catalog price rule was not applying correct rates on specific products
50+
* Fixed an issue where a fatal error was thrown after clicking a link to a downloadable product
51+
* Fixed an issue a warning page for Grouped product with enabled MAP
52+
* Fixed an issue where a configurable product was not displayed in catalog product grid after updating with "Add configurable attributes to the new set based on current"
53+
* Fixed the inconsistent behavior in the integration tests for the Indexer functionality
54+
* Fixed an issue where the What's this? information tip link was not presented on product page with configured Minimum Advertised Price (MAP)
55+
* Processed GitHub requests:
56+
* [#742](https://github.com/magento/magento2/issues/742) -- Admin notifications count overflow
57+
* [#720](https://github.com/magento/magento2/issues/720) -- https filedriver is not working
58+
* [#686](https://github.com/magento/magento2/issues/686) -- Product save validation errors in the admin don't hide the overlay
59+
* [#702](https://github.com/magento/magento2/issues/702) -- Base table or view not found
60+
* [#652](https://github.com/magento/magento2/issues/652) -- Multishipping checkout not to change the Billing address js issue
61+
* [#648](https://github.com/magento/magento2/issues/648) -- An equal (=) sign in the hash of the product page to to break the tabs functionality
62+
* Service Contracts:
63+
* Refactored usage of new API of the Customer module
64+
* Implemented Service Contracts for the Sales module
65+
* Refactored Service Contracts for the Catalog module
66+
* Refactored Service Contracts for the Grouped module
67+
* UI Improvements:
68+
* Implemented the Form component in Magento UI Library
69+
* Removed extra JS loaders for category saving
70+
* Improved the behavior of Categories management in the Admin panel
71+
* Implemented the keyboard navigation through HTML elements
72+
* Improved the HTML structure and UI of the Catalog Category Link, Catalog Product Link and CMS Static Block widgets
73+
* Added UI Library documentation
74+
* Fixed Blank & Luma themes UI bugs
75+
* Fixed footer alignment
76+
* Published the Luma theme and removed the Plushe theme
77+
* Framework Improvements:
78+
* Added the ability to configure the list of loaded modules before installation
79+
* Merged SQL and Data Upgrades
80+
* Moved \Magento\TestFramework\Utility\Files to Magento Framework
81+
* Setup tool improvements:
82+
* Removed duplication with Framework
83+
* Deployment configuration is refactored from XML format in local.xml to associated array in config.php
84+
* Improved performance
85+
* Search improvements:
86+
* Integrated the Full Text Search library into the Layered Navigation functionality
87+
188
0.1.0-alpha105
289
=============
390
* Various improvements:
@@ -1891,7 +1978,7 @@
18911978
* LESS styles library added in pub/lib/css/
18921979
* A new Blank theme set as default
18931980
* GitHub requests:
1894-
* [#491](https://github.com/magento/magento2/pull/491) -- Fixed bug, incorrect auto-generation Category URL for some groups of symbols (idish, cirrilic, é, ä, and other).
1981+
* [#491](https://github.com/magento/magento2/pull/491) -- Fixed bug, incorrect auto-generation Category URL for some groups of symbols (idish, cirrilic, e, a, and other).
18951982
* [#480](https://github.com/magento/magento2/pull/480) -- Fixing a bug for loading config from local.xml
18961983
* [#472](https://github.com/magento/magento2/issues/472) -- Params passed in pub/index.php being overwritten
18971984
* [#461](https://github.com/magento/magento2/pull/461) -- Use translates for Quote\Address\Total\Shipping

Gruntfile.js

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
// # Globbing
2+
// for performance reasons we're only matching one level down:
3+
// 'test/spec/{,*/}*.js'
4+
// If you want to recursively match all subfolders, use:
5+
// 'test/spec/**/*.js'
6+
7+
module.exports = function (grunt) {
8+
9+
// Time how long tasks take. Can help when optimizing build times
10+
require('time-grunt')(grunt);
11+
12+
// Load grunt tasks automatically
13+
require('load-grunt-tasks')(grunt);
14+
15+
// Configurable paths and file names
16+
var config = {
17+
pub: 'pub',
18+
var: 'var',
19+
doc: {
20+
path: 'lib/web/css/docs',
21+
styleName: 'docs'
22+
}
23+
};
24+
25+
// Define the configuration for all the tasks
26+
grunt.initConfig({
27+
28+
// Project settings
29+
config: config,
30+
31+
// Empties folders to start fresh
32+
clean: {
33+
var: {
34+
files: [{
35+
dot: true,
36+
src: [
37+
'<%= config.var %>/cache/*',
38+
'<%= config.var %>/generation/*',
39+
'<%= config.var %>/log/*',
40+
'<%= config.var %>/maps/*',
41+
'<%= config.var %>/page_cache/*',
42+
'<%= config.var %>/tmp/*',
43+
'<%= config.var %>/view/*',
44+
'<%= config.var %>/view_preprocessed/*'
45+
]
46+
}]
47+
},
48+
pub: {
49+
files: [{
50+
dot: true,
51+
src: [
52+
'<%= config.pub %>/static/frontend/*',
53+
'<%= config.pub %>/static/adminhtml/*'
54+
]
55+
}]
56+
}
57+
},
58+
59+
// Compiles Less to CSS and generates necessary files if requested
60+
less: {
61+
documentation: {
62+
options: {
63+
sourceMap: false,
64+
ieCompat: false,
65+
paths: ['<%= config.doc.path %>/source/']
66+
},
67+
files: {
68+
'<%= config.doc.path %>/<%= config.doc.styleName %>.css': "<%= config.doc.path %>/source/<%= config.doc.styleName %>.less"
69+
}
70+
}
71+
},
72+
73+
styledocco: {
74+
documentation: {
75+
options: {
76+
name: 'Magento UI Library',
77+
verbose: true,
78+
include: [
79+
'<%= config.doc.path %>/<%= config.doc.styleName %>.css',
80+
'lib/web/jquery/jquery.min.js',
81+
'lib/web/jquery/jquery-ui.min',
82+
'<%= config.doc.path %>/source/js/dropdown.js'
83+
]
84+
},
85+
files: {
86+
'<%= config.doc.path %>': '<%= config.doc.path %>/source'
87+
}
88+
}
89+
}
90+
91+
});
92+
93+
grunt.registerTask('default', []);
94+
95+
grunt.registerTask('cleanup', [
96+
'clean:var',
97+
'clean:pub'
98+
]);
99+
100+
grunt.registerTask('documentation', [
101+
'less:documentation',
102+
'styledocco:documentation',
103+
'cleanup'
104+
]);
105+
};

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@ class Feed extends \Magento\Framework\Model\AbstractModel
6262
protected $curlFactory;
6363

6464
/**
65-
* Application arguments
65+
* Deployment configuration
6666
*
67-
* @var \Magento\Framework\App\Arguments
67+
* @var \Magento\Framework\App\DeploymentConfig
6868
*/
69-
protected $_args;
69+
protected $_deploymentConfig;
7070

7171
/**
7272
* @param \Magento\Framework\Model\Context $context
7373
* @param \Magento\Framework\Registry $registry
7474
* @param \Magento\Backend\App\ConfigInterface $backendConfig
7575
* @param \Magento\AdminNotification\Model\InboxFactory $inboxFactory
7676
* @param \Magento\Framework\Model\Resource\AbstractResource $resource
77-
* @param \Magento\Framework\App\Arguments $args
77+
* @param \Magento\Framework\App\DeploymentConfig $deploymentConfig
7878
* @param \Magento\Framework\Data\Collection\Db $resourceCollection
7979
* @param \Magento\Framework\HTTP\Adapter\curlFactory $curlFactory
8080
* @param array $data
@@ -85,7 +85,7 @@ public function __construct(
8585
\Magento\Backend\App\ConfigInterface $backendConfig,
8686
\Magento\AdminNotification\Model\InboxFactory $inboxFactory,
8787
\Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory,
88-
\Magento\Framework\App\Arguments $args,
88+
\Magento\Framework\App\DeploymentConfig $deploymentConfig,
8989
\Magento\Framework\Model\Resource\AbstractResource $resource = null,
9090
\Magento\Framework\Data\Collection\Db $resourceCollection = null,
9191
array $data = array()
@@ -94,7 +94,7 @@ public function __construct(
9494
$this->_backendConfig = $backendConfig;
9595
$this->_inboxFactory = $inboxFactory;
9696
$this->curlFactory = $curlFactory;
97-
$this->_args = $args;
97+
$this->_deploymentConfig = $deploymentConfig;
9898
}
9999

100100
/**
@@ -135,7 +135,7 @@ public function checkUpdate()
135135

136136
$feedXml = $this->getFeedData();
137137

138-
$installDate = strtotime($this->_args->get('install_date'));
138+
$installDate = strtotime($this->_deploymentConfig->get('install/date'));
139139

140140
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
141141
foreach ($feedXml->channel->item as $item) {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Security implements \Magento\Framework\Notification\MessageInterface
3535
*
3636
* @var string
3737
*/
38-
private $_filePath = 'app/etc/local.xml';
38+
private $_filePath = 'app/etc/config.php';
3939

4040
/**
4141
* Time out for HTTP verification request

app/code/Magento/AdminNotification/composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-store": "0.1.0-alpha105",
7-
"magento/module-core": "0.1.0-alpha105",
8-
"magento/module-backend": "0.1.0-alpha105",
9-
"magento/framework": "0.1.0-alpha105",
6+
"magento/module-store": "0.1.0-alpha106",
7+
"magento/module-core": "0.1.0-alpha106",
8+
"magento/module-backend": "0.1.0-alpha106",
9+
"magento/framework": "0.1.0-alpha106",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.1.0-alpha105",
14+
"version": "0.1.0-alpha106",
1515
"extra": {
1616
"map": [
1717
[

app/code/Magento/AdminNotification/etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
-->
2626
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
27-
<module name="Magento_AdminNotification" schema_version="2.0.0.0" active="true">
27+
<module name="Magento_AdminNotification" schema_version="2.0.0.0">
2828
<sequence>
2929
<module name="Magento_Core"/>
3030
<module name="Magento_Store"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* Magento
3+
*
4+
* NOTICE OF LICENSE
5+
*
6+
* This source file is subject to the Academic Free License (AFL 3.0)
7+
* that is bundled with this package in the file LICENSE_AFL.txt.
8+
* It is also available through the world-wide-web at this URL:
9+
* http://opensource.org/licenses/afl-3.0.php
10+
* If you did not receive a copy of the license and are unable to
11+
* obtain it through the world-wide-web, please send an email
12+
* to license@magentocommerce.com so we can send you a copy immediately.
13+
*
14+
* DISCLAIMER
15+
*
16+
* Do not edit or add to this file if you wish to upgrade Magento to newer
17+
* versions in the future. If you wish to customize Magento for your
18+
* needs please refer to http://www.magentocommerce.com for more information.
19+
*
20+
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
21+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
22+
*/
23+
24+
var config = {
25+
map: {
26+
'*': {
27+
systemMessageDialog: 'Magento_AdminNotification/system/notification'
28+
}
29+
},
30+
deps: [
31+
"Magento_AdminNotification/toolbar_entry"
32+
]
33+
};

app/code/Magento/AdminNotification/view/adminhtml/templates/toolbar_entry.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<?php $notificationCount = $this->getUnreadNotificationCount(); ?>
2727
<div class="notifications-summary" data-notification-count="<?php echo $this->escapeHtml($notificationCount); ?>">
2828
<?php if ($notificationCount > 0) : ?>
29-
<a href="<?php echo $this->getUrl('adminhtml/notification/index'); ?>" class="action notifications-action" title="<?php echo __('Notifications'); ?>" data-toggle="dropdown">
29+
<a href="<?php echo $this->getUrl('adminhtml/notification/index'); ?>" class="action notifications-action" data-mage-init='{"dropdown":{}}' title="<?php echo __('Notifications'); ?>" data-toggle="dropdown">
3030
<span class="text"><?php echo __('Notifications'); ?></span>
3131
<span class="counter qty"><?php echo $this->escapeHtml($notificationCount); ?></span>
3232
</a>

app/code/Magento/AdminNotification/view/adminhtml/web/system/notification.js

+1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ define([
6363
});
6464
});
6565

66+
return $.mage.systemMessageDialog;
6667
});

app/code/Magento/Authorization/Model/Resource/Setup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @SuppressWarnings(PHPMD.LongVariable)
3030
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3131
*/
32-
class Setup extends \Magento\Framework\Module\Setup
32+
class Setup extends \Magento\Framework\Module\DataSetup
3333
{
3434
/**
3535
* Role model factory

app/code/Magento/Authorization/composer.json

+3-3
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.4.11|~5.5.0",
6-
"magento/module-backend": "0.1.0-alpha105",
7-
"magento/framework": "0.1.0-alpha105",
6+
"magento/module-backend": "0.1.0-alpha106",
7+
"magento/framework": "0.1.0-alpha106",
88
"magento/magento-composer-installer": "*"
99
},
1010
"type": "magento2-module",
11-
"version": "0.1.0-alpha105",
11+
"version": "0.1.0-alpha106",
1212
"extra": {
1313
"map": [
1414
[

0 commit comments

Comments
 (0)