Skip to content

Commit 6c51ba0

Browse files
committed
0.1.0-alpha107
* Various improvements: * Removed deprecated code from the Sales and SalesRule modules * Stabilized functional tests for the following modules: * Centinel * Core * RecurringPayment * Sales * Multishipping * Newsletter * Widget * Fixed bugs: * Fixed an issued where a product could not be found in customer wishlist when searched by name * Fixed the invalid email template for Product Price Alert * Fixed an issue where customer group did not change when invalid VAT number was specified * Fixed integration tests coverage * Fixed an issue where a customer was not redirected to the configurable product page after clicking Add to Card on the My Wish list page for a product which required configuration * Fixed an issue where an error message was displayed when a customer tried to use checkout using PayPal Express Checkout * Fixed an issue where it was impossible to place an order using Authorize Direct Post * Fixed an issue where the page cache in Varnish mode didnt perform caching as required the cache * Fixed an issue where it was impossible to specify layout container when creating or editing a widget * Fixed an issue where a widget set to be displayed on certain type of product page was not displayed * Fixed an issue where it was impossible to create a widget to be displayed in a sidebar * Fixed an issue where a fatal error was thrown when trying to open a not existing page after disabling the 404 Not Found CMS page * Fixed an issue where it was impossible to refresh CAPTCHA in the Admin panel * Fixed an issue where two CAPTCHAs were displayed during guest Checkout * Fixed an issued where clicking the Preview button on revision preview page did not open the Preview page * Fixed an issue where the Magento\Framework\View\Element\AbstractBlockTest::testFormatTime failed randomly * Fixed logic duplication and the conflicting implementation of the title API in admin * Fixed an issue where JavaScript validation did not recognize the fields filled by automatic tests in the Create Customer form in the Admin panel * Fixed an issue where a fatal error was thrown after mass update of the Stock Availability product attribute * Fixed an issue where the Magento\SalesRule\Model\Resource\Report\CollectionTest::testPeriod CollectionTest::testPeriod integration test failed randomly * Fixed issues with expandable frontend elements * Fixed Blank & Luma themes UI bugs * Fixed an issue where the Packages pop-up displayed incorrect information * Fixed an issue where admin path became hidden when store address was too long * Fixed the styling of variations without base image * Fixed an issue where the Back link on a customer edit page led to the home page * Fixed an issue where it was impossible to save system config from Advanced->System * Fixed an issue where it was impossible to save a Return in the Admin panel * Fixed a JavaScript issue where it was impossible to expand nested categories if responsive * Fixed an issue where it was impossible to place an order using Authorize.net Direct Post in the Admin panel * Framework improvements: * Declaration of components in composer.json * Added compiler for single-tenant mode * Both ZF1 and ZF2 libraries are declared as Composer dependencies as "1.12.9" and "2.3.1" respectively * ZF1 library is represented by 'magento/zendframework1', which is based on original "1.12.9" version and includes fixes for compatibility with Magento 2 application * Layout improvements: * Refactored layout building * Performance improvements: * Load product/category instances via repositories * Mobile and Desktop CSS styles stored in separate files * Service Contracts: * Refactored the following modules to use new Customer service interfaces: * Checkout * Sales * Multishipping * GoogleShopping * Persistent * SalesRule * Paypal * Invitation * Tax * Newsletter * Code review changes for Service Contracts for the CatalogInventory module * Stabilized code after refactoring the Sales module to use new Customer service * Stabilized code after refactoring the Checkout module to use new Customer service * Deleted old CustomerAccount service tests * Fixed base service object class to populate custom attributes correctly * Fixed processing of array parameters in service interface for consolidated builder * Fixed trace information for service exceptions in dev mode * Implemented Bundle product API * Accessibility improvements: * Heading2-Heading6 hierarchy of content structure * UI improvements: * Style independent Error page in pub/errors styles * Updated the content of certain default CMS Pages * GitHub requests: * [#691](#691) -- Readonly inputs and after element html in the backend * [#694](#694) -- missing git tags in repo
1 parent e05a60c commit 6c51ba0

File tree

5,008 files changed

+31573
-784712
lines changed

Some content is hidden

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

5,008 files changed

+31573
-784712
lines changed

CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
0.1.0-alpha107
2+
=============
3+
* Various improvements:
4+
* Removed deprecated code from the Sales and SalesRule modules
5+
* Stabilized functional tests for the following modules:
6+
* Centinel
7+
* Core
8+
* RecurringPayment
9+
* Sales
10+
* Multishipping
11+
* Newsletter
12+
* Widget
13+
* Fixed bugs:
14+
* Fixed an issued where a product could not be found in customer wishlist when searched by name
15+
* Fixed the invalid email template for Product Price Alert
16+
* Fixed an issue where customer group did not change when invalid VAT number was specified
17+
* Fixed integration tests coverage
18+
* Fixed an issue where a customer was not redirected to the configurable product page after clicking Add to Card on the My Wish list page for a product which required configuration
19+
* Fixed an issue where an error message was displayed when a customer tried to use checkout using PayPal Express Checkout
20+
* Fixed an issue where it was impossible to place an order using Authorize Direct Post
21+
* Fixed an issue where the page cache in Varnish mode didn’t perform caching as required the cache
22+
* Fixed an issue where it was impossible to specify layout container when creating or editing a widget
23+
* Fixed an issue where a widget set to be displayed on certain type of product page was not displayed
24+
* Fixed an issue where it was impossible to create a widget to be displayed in a sidebar
25+
* Fixed an issue where a fatal error was thrown when trying to open a not existing page after disabling the 404 Not Found CMS page
26+
* Fixed an issue where it was impossible to refresh CAPTCHA in the Admin panel
27+
* Fixed an issue where two CAPTCHAs were displayed during guest Checkout
28+
* Fixed an issued where clicking the Preview button on revision preview page did not open the Preview page
29+
* Fixed an issue where the Magento\Framework\View\Element\AbstractBlockTest::testFormatTime failed randomly
30+
* Fixed logic duplication and the conflicting implementation of the title API in admin
31+
* Fixed an issue where JavaScript validation did not recognize the fields filled by automatic tests in the Create Customer form in the Admin panel
32+
* Fixed an issue where a fatal error was thrown after mass update of the Stock Availability product attribute
33+
* Fixed an issue where the Magento\SalesRule\Model\Resource\Report\CollectionTest::testPeriod CollectionTest::testPeriod integration test failed randomly
34+
* Fixed issues with expandable frontend elements
35+
* Fixed Blank & Luma themes UI bugs
36+
* Fixed an issue where the Packages pop-up displayed incorrect information
37+
* Fixed an issue where admin path became hidden when store address was too long
38+
* Fixed the styling of variations without base image
39+
* Fixed an issue where the Back link on a customer edit page led to the home page
40+
* Fixed an issue where it was impossible to save system config from Advanced->System
41+
* Fixed an issue where it was impossible to save a Return in the Admin panel
42+
* Fixed a JavaScript issue where it was impossible to expand nested categories if responsive
43+
* Fixed an issue where it was impossible to place an order using Authorize.net Direct Post in the Admin panel
44+
* Framework improvements:
45+
* Declaration of components in composer.json
46+
* Added compiler for single-tenant mode
47+
* Both ZF1 and ZF2 libraries are declared as Composer dependencies as "1.12.9" and "2.3.1" respectively
48+
* ZF1 library is represented by 'magento/zendframework1', which is based on original "1.12.9" version and includes fixes for compatibility with Magento 2 application
49+
* Layout improvements:
50+
* Refactored layout building
51+
* Performance improvements:
52+
* Load product/category instances via repositories
53+
* Mobile and Desktop CSS styles stored in separate files
54+
* Service Contracts:
55+
* Refactored the following modules to use new Customer service interfaces:
56+
* Checkout
57+
* Sales
58+
* Multishipping
59+
* GoogleShopping
60+
* Persistent
61+
* SalesRule
62+
* Paypal
63+
* Invitation
64+
* Tax
65+
* Newsletter
66+
* Code review changes for Service Contracts for the CatalogInventory module
67+
* Stabilized code after refactoring the Sales module to use new Customer service
68+
* Stabilized code after refactoring the Checkout module to use new Customer service
69+
* Deleted old CustomerAccount service tests
70+
* Fixed base service object class to populate custom attributes correctly
71+
* Fixed processing of array parameters in service interface for consolidated builder
72+
* Fixed trace information for service exceptions in dev mode
73+
* Implemented Bundle product API
74+
* Accessibility improvements:
75+
* Heading2-Heading6 hierarchy of content structure
76+
* UI improvements:
77+
* Style independent Error page in pub/errors styles
78+
* Updated the content of certain default CMS Pages
79+
* GitHub requests:
80+
* [#691](https://github.com/magento/magento2/issues/691) -- Readonly inputs and after element html in the backend
81+
* [#694](https://github.com/magento/magento2/issues/694) -- missing git tags in repo
82+
183
0.1.0-alpha106
284
=============
385
* Various improvements:

Gruntfile.js

Lines changed: 92 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,68 +4,113 @@
44
// If you want to recursively match all subfolders, use:
55
// 'test/spec/**/*.js'
66

7+
'use strict';
8+
79
module.exports = function (grunt) {
810

11+
// Require
12+
// --------------------------------------
13+
914
// Time how long tasks take. Can help when optimizing build times
1015
require('time-grunt')(grunt);
1116

1217
// Load grunt tasks automatically
1318
require('load-grunt-tasks')(grunt);
1419

1520
// Configurable paths and file names
21+
// --------------------------------------
22+
1623
var config = {
17-
pub: 'pub',
18-
var: 'var',
24+
path: {
25+
pub: 'pub',
26+
var: 'var',
27+
css: {
28+
blank: 'pub/static/frontend/Magento/blank/en_US/css',
29+
luma: 'pub/static/frontend/Magento/luma/en_US/css'
30+
},
31+
less: {
32+
lib: 'lib/web/css/',
33+
blank: 'app/design/frontend/Magento/blank',
34+
luma: 'app/design/frontend/luma'
35+
},
36+
doc: 'lib/web/css/docs'
37+
},
1938
doc: {
20-
path: 'lib/web/css/docs',
2139
styleName: 'docs'
2240
}
2341
};
2442

2543
// Define the configuration for all the tasks
44+
// --------------------------------------
45+
2646
grunt.initConfig({
2747

2848
// Project settings
2949
config: config,
3050

51+
// Watches files for changes and runs tasks based on the changed files
52+
watch: {
53+
less: {
54+
files: [
55+
'<%= config.path.less.lib %>/{,*/}*.less',
56+
'<%= config.path.less.blank %>/{,*/,*/*/,*/*/*/,*/*/*/*/}*.less', // ToDo UI: find out how to do it recursive
57+
'<%= config.path.less.luma %>/{,*/,*/*/,*/*/*/,*/*/*/*/}*.less'
58+
],
59+
tasks: ['styles']
60+
}
61+
},
62+
3163
// Empties folders to start fresh
3264
clean: {
3365
var: {
3466
files: [{
3567
dot: true,
3668
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/*'
69+
'<%= config.path.var %>/cache/*',
70+
'<%= config.path.var %>/generation/*',
71+
'<%= config.path.var %>/log/*',
72+
'<%= config.path.var %>/maps/*',
73+
'<%= config.path.var %>/page_cache/*',
74+
'<%= config.path.var %>/tmp/*',
75+
'<%= config.path.var %>/view/*',
76+
'<%= config.path.var %>/view_preprocessed/*'
4577
]
4678
}]
4779
},
4880
pub: {
4981
files: [{
5082
dot: true,
5183
src: [
52-
'<%= config.pub %>/static/frontend/*',
53-
'<%= config.pub %>/static/adminhtml/*'
84+
'<%= config.path.pub %>/static/frontend/*',
85+
'<%= config.path.pub %>/static/adminhtml/*'
5486
]
5587
}]
5688
}
5789
},
5890

5991
// Compiles Less to CSS and generates necessary files if requested
6092
less: {
93+
options: {
94+
sourceMap: true,
95+
sourceMapRootpath: '/',
96+
dumpLineNumbers: false, // use 'comments' instead false to output line comments for source
97+
ieCompat: false
98+
},
99+
blank: {
100+
files: {
101+
'<%= config.path.css.blank %>/styles-m.css': '<%= config.path.css.blank %>/styles-m.less',
102+
'<%= config.path.css.blank %>/styles-l.css': '<%= config.path.css.blank %>/styles-l.less'
103+
}
104+
},
105+
luma: {
106+
files: {
107+
'<%= config.path.css.luma %>/styles-m.css': '<%= config.path.css.luma %>/styles-m.less',
108+
'<%= config.path.css.luma %>/styles-l.css': '<%= config.path.css.luma %>/styles-l.less'
109+
}
110+
},
61111
documentation: {
62-
options: {
63-
sourceMap: false,
64-
ieCompat: false,
65-
paths: ['<%= config.doc.path %>/source/']
66-
},
67112
files: {
68-
'<%= config.doc.path %>/<%= config.doc.styleName %>.css': "<%= config.doc.path %>/source/<%= config.doc.styleName %>.less"
113+
'<%= config.path.doc %>/<%= config.doc.styleName %>.css': "<%= config.path.doc %>/source/<%= config.doc.styleName %>.less"
69114
}
70115
}
71116
},
@@ -76,27 +121,49 @@ module.exports = function (grunt) {
76121
name: 'Magento UI Library',
77122
verbose: true,
78123
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'
124+
'<%= config.path.doc %>/<%= config.doc.styleName %>.css'
125+
//'lib/web/jquery/jquery.min.js',
126+
//'lib/web/jquery/jquery-ui.min',
127+
//'<%= config.path.doc %>/source/js/dropdown.js'
83128
]
84129
},
85130
files: {
86-
'<%= config.doc.path %>': '<%= config.doc.path %>/source'
131+
'<%= config.path.doc %>': '<%= config.path.doc %>/source' // Todo UI: Check out JS for Styledocco
87132
}
88133
}
89134
}
90135

91136
});
92137

93-
grunt.registerTask('default', []);
138+
// Default task
139+
// --------------------------------------
140+
grunt.registerTask('default', []); // ToDo UI: define default tasks
94141

142+
// Clean var & pub folders
95143
grunt.registerTask('cleanup', [
96144
'clean:var',
97145
'clean:pub'
98146
]);
99147

148+
// Compile all styles
149+
// --------------------------------------
150+
grunt.registerTask('styles', [
151+
'less:blank',
152+
'less:luma'
153+
]);
154+
155+
// Compile blank styles
156+
grunt.registerTask('styles blank', [
157+
'less:blank'
158+
]);
159+
160+
// Compile luma styles
161+
grunt.registerTask('styles luma', [
162+
'less:luma'
163+
]);
164+
165+
// Documentation
166+
// --------------------------------------
100167
grunt.registerTask('documentation', [
101168
'less:documentation',
102169
'styledocco:documentation',

app/bootstrap.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@
5353
if (!empty($_SERVER['MAGE_PROFILER'])) {
5454
\Magento\Framework\Profiler::applyConfig($_SERVER['MAGE_PROFILER'], BP, !empty($_REQUEST['isAjax']));
5555
}
56-
date_default_timezone_set(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::DEFAULT_TIMEZONE);
56+
if (ini_get('date.timezone') == '') {
57+
date_default_timezone_set(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::DEFAULT_TIMEZONE);
58+
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification
3131
*/
3232
public function execute()
3333
{
34-
$this->_title->add(__('Notifications'));
35-
3634
$this->_view->loadLayout();
3735
$this->_setActiveMenu(
3836
'Magento_AdminNotification::system_adminnotification'
3937
)->_addBreadcrumb(
4038
__('Messages Inbox'),
4139
__('Messages Inbox')
4240
);
41+
$this->_view->getPage()->getConfig()->getTitle()->prepend(__('Notifications'));
4342
$this->_view->renderLayout();
4443
}
4544
}

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.4.11|~5.5.0",
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",
6+
"magento/module-store": "0.1.0-alpha107",
7+
"magento/module-core": "0.1.0-alpha107",
8+
"magento/module-backend": "0.1.0-alpha107",
9+
"magento/framework": "0.1.0-alpha107",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.1.0-alpha106",
14+
"version": "0.1.0-alpha107",
1515
"extra": {
1616
"map": [
1717
[

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,5 @@
2929
<module name="Magento_Core"/>
3030
<module name="Magento_Store"/>
3131
</sequence>
32-
<depends>
33-
<module name="Magento_Store"/>
34-
<module name="Magento_Core"/>
35-
<module name="Magento_Backend"/>
36-
</depends>
3732
</module>
3833
</config>

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

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,5 @@
2525
-->
2626
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
2727
<module name="Magento_Authorization" schema_version="1.0.0.0">
28-
<depends>
29-
<module name="Magento_Backend"/>
30-
</depends>
3128
</module>
3229
</config>

app/code/Magento/Authorizenet/composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-sales": "0.1.0-alpha106",
7-
"magento/module-checkout": "0.1.0-alpha106",
8-
"magento/module-backend": "0.1.0-alpha106",
9-
"magento/module-core": "0.1.0-alpha106",
10-
"magento/module-payment": "0.1.0-alpha106",
11-
"magento/module-centinel": "0.1.0-alpha106",
12-
"magento/module-catalog": "0.1.0-alpha106",
13-
"magento/framework": "0.1.0-alpha106",
6+
"magento/module-sales": "0.1.0-alpha107",
7+
"magento/module-checkout": "0.1.0-alpha107",
8+
"magento/module-backend": "0.1.0-alpha107",
9+
"magento/module-core": "0.1.0-alpha107",
10+
"magento/module-payment": "0.1.0-alpha107",
11+
"magento/module-centinel": "0.1.0-alpha107",
12+
"magento/module-catalog": "0.1.0-alpha107",
13+
"magento/framework": "0.1.0-alpha107",
1414
"magento/magento-composer-installer": "*"
1515
},
1616
"type": "magento2-module",
17-
"version": "0.1.0-alpha106",
17+
"version": "0.1.0-alpha107",
1818
"extra": {
1919
"map": [
2020
[

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,5 @@
2929
<module name="Magento_Sales"/>
3030
<module name="Magento_Checkout"/>
3131
</sequence>
32-
<depends>
33-
<module name="Magento_Sales"/>
34-
<module name="Magento_Checkout"/>
35-
<module name="Magento_Backend"/>
36-
<module name="Magento_Core"/>
37-
<module name="Magento_Payment"/>
38-
<module name="Magento_Centinel"/>
39-
<module name="Magento_Catalog"/>
40-
</depends>
4132
</module>
4233
</config>

0 commit comments

Comments
 (0)