Skip to content

Commit 84772ef

Browse files
author
David Alger
committed
Merge branch 'develop' into feature/update-travis
2 parents c505c9b + 86646fc commit 84772ef

File tree

1,434 files changed

+37474
-9959
lines changed

Some content is hidden

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

1,434 files changed

+37474
-9959
lines changed

.htaccess

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
############################################
3737
## adjust memory limit
3838

39-
# php_value memory_limit 64M
4039
php_value memory_limit 768M
4140
php_value max_execution_time 18000
4241

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ php:
44
- 5.6
55
env:
66
- TEST_SUITE=unit
7-
- TEST_SUITE=integration
7+
- TEST_SUITE=integration_part_1
8+
- TEST_SUITE=integration_part_2
89
- TEST_SUITE=integration_integrity
910
- TEST_SUITE=static_phpcs
1011
- TEST_SUITE=static_annotation
@@ -36,7 +37,7 @@ before_script:
3637
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
3738
# Install MySQL 5.6, create DB for integration tests
3839
- >
39-
sh -c "if [ '$TEST_SUITE' = 'integration' ] || [ '$TEST_SUITE' = 'integration_integrity' ]; then
40+
sh -c "if [ '$TEST_SUITE' = 'integration_part_1' ] || [ '$TEST_SUITE' = 'integration_part_2' ] || [ '$TEST_SUITE' = 'integration_integrity' ]; then
4041
sudo apt-get remove --purge mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5;
4142
sudo apt-get autoremove;
4243
sudo apt-get autoclean;
@@ -54,10 +55,12 @@ script:
5455
# Unit tests
5556
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist; fi"
5657
# Integration tests
57-
- sh -c "if [ '$TEST_SUITE' = 'integration' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.dist; fi"
58+
- sh -c "if [ '$TEST_SUITE' = 'integration_part_1' ] || [ '$TEST_SUITE' = 'integration_part_2' ]; then cd dev/tests/integration/; bash IntegationTestsForTravis.sh 2; fi"
59+
- sh -c "if [ '$TEST_SUITE' = 'integration_part_1' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.travis1; fi"
60+
- sh -c "if [ '$TEST_SUITE' = 'integration_part_2' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.travis2; fi"
5861
# Integration integrity tests
5962
- sh -c "if [ '$TEST_SUITE' = 'integration_integrity' ]; then cd dev/tests/integration/; ./../../../vendor/bin/phpunit -c phpunit.xml.dist testsuite/Magento/Test/Integrity; fi"
6063
# Static tests [Code Style]
6164
- sh -c "if [ '$TEST_SUITE' = 'static_phpcs' ]; then cd dev/tests/static; ./../../../vendor/bin/phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testCodeStyle'; fi"
6265
# Static tests [Code Style]
63-
- sh -c "if [ '$TEST_SUITE' = 'static_annotation' ]; then cd dev/tests/static; ./../../../vendor/bin/phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testAnnotationStandard'; fi"
66+
- sh -c "if [ '$TEST_SUITE' = 'static_annotation' ]; then cd dev/tests/static; ./../../../vendor/bin/phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testAnnotationStandard'; fi"

CHANGELOG.md

Lines changed: 139 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,141 @@
1+
0.74.0-beta13
2+
=============
3+
* Framework improvements:
4+
* Created Join Directive, Join Process for Tables, XML Config support to define a performance join for search services
5+
* Added support of field weighting for MySQL Search Engine
6+
* Modified indexer declaration to support field declaration
7+
* Model related methods and properties are removed from Magento Object
8+
* Various improvements:
9+
* Added supporting of lost product types for Product Import/Export
10+
* Improved performance of Product Import/Export
11+
* Implemented Payment\Gateway infrastructure as a new design for payment methods
12+
* Fixed messages in Setup CLI
13+
* JS Smart fixed scroll
14+
* Improved sub-menu animation and sub-menu links mouse event effects
15+
* Automated UI Documentation build process with Grunt.js
16+
* Updated composer dependency to newer version
17+
* Implemented direct web link on Magento order transactions records
18+
* Tests:
19+
* Reduced Travis CI integration test time
20+
* Increased test coverage for the Integration module
21+
* Re-structured unit tests for the updater app to follow the convention used by the rest of Magento code
22+
* Fixed Bugs:
23+
* Fixed Help links in Install Wizard
24+
* Fixed an issue where composer install failed since ext-xsl was not available
25+
* Fixed web installer on HHVM
26+
* Fixed broken links to static assets when error occurs
27+
* Fixed failed integration tests on Travis CI builds
28+
* Fixed an issue where menu with one sub-menu item not being displayed
29+
* Fixed an issue where IPN messages did not show relevant info about transaction
30+
* Fixed an issue where Magento\Framework\Data\Form did not accept data-mage-init parameter
31+
* Fixed an issue where not all specified "Multiple Select" Bundle options were added to Shopping Cart
32+
* Fixed ConfigureProductInCustomerWishlistOnBackendTest functional test
33+
* Fixed an issue with all mandatory fields in the Sales data interfaces
34+
* Fixed an issue where billing and shipping sections did not contain address information on order print from Guest
35+
* Fixed an issue where orders placed in different store views had duplicated IDs
36+
* Fixed an issue where Shopping Cart Price Rules were not applying properly for Bundled products
37+
* Fixed an issue where column coupon_rule_name was not filled in the sales_order table when you create the order
38+
* Fixed an issue where customer registration or login on frontend created an empty cart
39+
* Fixed an issue where Product Model sometimes values change in getters methods
40+
* Fixed an issue where deleting option through API service for configurable product did not unlink variations
41+
* Fixed an issue where there was no ability to place order using multishipping if cart contained virtual product
42+
* Fixed an issue where "Terms and Conditions" was absent on order review step
43+
* Fixed an issue where grid actions for "Shopping Cart Items" grid was absent in Customer Account (Backend)
44+
* Fixed XSS vulnerability in Magento "Add to cart" link
45+
* Fixed UI issues on view order info frontend pages for guest customer
46+
* Fixed an issue where "Currency Rates" backend form was displayed broken
47+
* Fixed an issue where padding was missed for Custom Price Checkbox on "Create Order" Backend page
48+
* Fixed an issue where "Choose Variation" buttons lost alignment on "Create Configurable Product" Backend page
49+
* Fixed an issue where "Date & Time" Custom option was displayed broken on "Create Order" Backend page
50+
* Fixed an issue where colon was displayed before every Product Attribute label on Frontend
51+
* Fixed an issue where record from url_rewrite table was not removed when CMS page deleted
52+
* Fixed an issue where widget option "Number of Products to Display" did not work
53+
* Fixed validation message issues for CMS pages
54+
* Fixed an issue where "Click for Price" link was displayed in widgets for product with "Display Actual Price" != "On Gesture" MAP setting
55+
* Fixed an issue where Form_key cookie was not listed in privacy page
56+
* Fixed an issue where merchant wasn’t redirected to correspondent option when trying to enable Dashboard charts
57+
* Fixed an issue where wrong message was displayed after exceeding maximum failed login attempts
58+
* GitHub issues:
59+
* [#1292](https://github.com/magento/magento2/pull/1292) Admin menu with 1 submenu item does not show the subitem
60+
* [#1133](https://github.com/magento/magento2/pull/1133) Getter methods shouldn't change values
61+
* [#1263](https://github.com/magento/magento2/issues/1263) "We don't have as many "product name" as you requested" not showing in mini cart
62+
* [#1284](https://github.com/magento/magento2/issues/1284) Order tracking link redirected to dashboard in admin
63+
64+
0.74.0-beta12
65+
=============
66+
* MTF Improvements:
67+
* Functional tests maintenance
68+
* Framework improvements:
69+
* Customer entity table was transformed from EAV into a flat model to minimize DB operations
70+
* Improved admin authentication and removed bypass
71+
* Exposed CMS api's as web API
72+
* Fixed bugs:
73+
* Fixed an issue where "Add Item To Return" button became disabled after required item fields were filled on Frontend
74+
* Fixed an issue with fatal error during place order with non default time zone
75+
* Fixed an issue where it was not possible to filter backups on name
76+
* Fixed an issue where routeIdType did not allow numbers
77+
* Fixed an issue with discounted prices for fixed bundle product
78+
* Fixed an issue with catalog prices not including custom option prices
79+
* Fixed an issue with tier prices being displayed 4 characters
80+
* Fixed an issue with extra FPT labels in mini shopping cart
81+
* Fixed an issue where it was not possible to place orders for products with FPT and catalog prices including tax
82+
* Fixed an issue with FPT attribute being required when creating product
83+
* Fixed an issue where final price was not recalculated after selecting product options
84+
* Fixed an issue where tax labels were not displayed for Bundle options on 'multi-select' and 'dropdown' controls
85+
* Fixed an issue where filters were not shown on product reviews report grid
86+
* Fixed an issue where second customer address was not deleted from customer account
87+
* Fixed an issue where custom options pop-up was still displayed after submit
88+
* Fixed an issue where Second Product was not added to Shopping Cart from Wishlist at first atempt
89+
* Fixed an issue where customer invalid email message was not displayed
90+
* Fixed an issue where All Access Tokens for Customer without Tokens could not be revoked
91+
* Fixed an issue where it was impossible to add Product to Shopping Cart from shared Wishlist
92+
* Magento_Sendfriend module should have upper case 'F'
93+
* Fixed set of issues with Ui module
94+
* Fixed JavaScript error on Invoice creation page
95+
* Various improvements:
96+
* Hide payment credentials in debug log
97+
* Simplification of Payment Configuration
98+
* Introduced new Dialog widget
99+
* Github issues:
100+
* [#1330](https://github.com/magento/magento2/pull/1330) -- Removing unused memory limit in htaccess
101+
* [#1307](https://github.com/magento/magento2/pull/1307) -- Corrected a sentence by removing a word
102+
103+
0.74.0-beta11
104+
=============
105+
* Framework improvements:
106+
* Improved component Bookmarks component in scope of Enhanced Data Grids on CMS
107+
* Improved component Advanced Filtering component in scope of Enhanced Data Grids on CMS
108+
* Fixed bugs:
109+
* Fixed an issue where incorrect keys in REST request body allowed the request to go through successfully
110+
* Fixed an issue where interceptors were Generated with Invalid __wakeup()
111+
* Fixed an issue where redirect on the current page was not working in certain conditions
112+
* Fixed an issue where first store could not be selected on frontend
113+
* Fixed an issue with performance toolkit category creation
114+
* Fixed an issue when columns 'Interval', 'Price Rule' had incorrect values in Coupon Usage report
115+
* Fixed an issue where fatal error occured on Abandoned Carts report grid
116+
* Fixed an issue where it was not possible to add product to shopping cart if Use Secure URLs in Frontend = Yes
117+
* Fixed an issue where email was not required during Guest Checkout
118+
* Fixed broken ability to skip reindex in `bin/magento setup:performance:generate-fixtures` command
119+
* Fixed an issue where `bin/magento indexer:reindex` command failed after `bin/magento setup:di:compile` was run
120+
* Fixed bug with broken JS i18n
121+
* Fixed an issue with wrong value at created_at updated_at fields after quote* save
122+
* Fixed an issue where customer could not be created in backend after adding Image type attribute
123+
* Fixed Sales InvoiceItem and Order data interfaces implementation
124+
* Fixed an issue with performance toolkit medium profile
125+
* Fixed an issue where Excel Formula Injection via CSV/XML export
126+
* Fixed an issue where it was not possible to open the Customers page in backend
127+
* Fixed an issue with internal server error after clicking Continue on Billing information
128+
* Fixed an issue where it was not possible to place order with Fedex shipping method
129+
* Various changes:
130+
* Magento Centinel Removal
131+
* Removed ability to have multi-statement queries
132+
* Test coverage:
133+
* Unit tests coverage
134+
* Covered php code by unit tests after new checkout implementation
135+
* Github issues:
136+
* [#424](https://github.com/magento/magento2/issues/424) -- Combine tier pricing messages into block sentences
137+
* [#1300](https://github.com/magento/magento2/issues/1300), [#1311](https://github.com/magento/magento2/issues/1311), [#1313](https://github.com/magento/magento2/issues/1313) -- Creating product error with startdate
138+
1139
0.74.0-beta10
2140
=============
3141
* Framework improvements:
@@ -2514,7 +2652,7 @@
25142652
* Canadian provincial sales taxes
25152653
* Fixed issues with bundle product price inconsistency across the system
25162654
* Added warnings if invalid tax configuration is created in the Admin panel
2517-
* Fixed issues with regards to hidden tax
2655+
* Fixed issues with regards to discount tax compensation
25182656
* Fixed bugs:
25192657
* Fixed an issue where grouped price was not applied for grouped products
25202658
* Fixed an issue where a fatal error occurred when opening a grouped product page without assigned products on the frontend

Gruntfile.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,17 @@ module.exports = function (grunt) {
6868
'less:luma',
6969
'less:backend'
7070
],
71+
7172
/**
7273
* Documentation
7374
*/
7475
documentation: [
76+
'replace:documentation',
7577
'less:documentation',
7678
'styledocco:documentation',
79+
'usebanner:documentationCss',
80+
'usebanner:documentationLess',
81+
'usebanner:documentationHtml',
7782
'clean:var',
7883
'clean:pub'
7984
],
@@ -82,12 +87,6 @@ module.exports = function (grunt) {
8287
'mage-minify:legacy'
8388
],
8489

85-
'documentation-banners': [
86-
'usebanner:documentationCss',
87-
'usebanner:documentationLess',
88-
'usebanner:documentationHtml'
89-
],
90-
9190
spec: function (theme) {
9291
var runner = require('./dev/tests/js/jasmine/spec_runner');
9392

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ After verifying your prerequisites, perform the following tasks in order to prep
6161
<h2>Contributing to the Magento 2 code base</h2>
6262
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.
6363

64-
To make learn about how to make a contribution, click [here][1].
64+
To learn about how to make a contribution, click [here][1].
6565

6666
To learn about issues, click [here][2]. To open an issue, click [here][3].
6767

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Feed extends \Magento\Framework\Model\AbstractModel
7373
* @param \Magento\Framework\App\ProductMetadataInterface $productMetadata
7474
* @param \Magento\Framework\UrlInterface $urlBuilder
7575
* @param \Magento\Framework\Model\Resource\AbstractResource $resource
76-
* @param \Magento\Framework\Data\Collection\Db $resourceCollection
76+
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection
7777
* @param array $data
7878
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
7979
*/
@@ -87,7 +87,7 @@ public function __construct(
8787
\Magento\Framework\App\ProductMetadataInterface $productMetadata,
8888
\Magento\Framework\UrlInterface $urlBuilder,
8989
\Magento\Framework\Model\Resource\AbstractResource $resource = null,
90-
\Magento\Framework\Data\Collection\Db $resourceCollection = null,
90+
\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null,
9191
array $data = []
9292
) {
9393
parent::__construct($context, $registry, $resource, $resourceCollection, $data);

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

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.5.0|~5.6.0",
6-
"magento/module-backend": "0.74.0-beta10",
7-
"magento/framework": "0.74.0-beta10",
6+
"magento/module-backend": "0.74.0-beta13",
7+
"magento/framework": "0.74.0-beta13",
88
"magento/magento-composer-installer": "*"
99
},
1010
"type": "magento2-module",
11-
"version": "0.74.0-beta10",
11+
"version": "0.74.0-beta13",
1212
"license": [
1313
"OSL-3.0",
1414
"AFL-3.0"

app/code/Magento/Backend/Block/Dashboard.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,22 @@ protected function _prepareLayout()
3131

3232
$this->addChild('sales', 'Magento\Backend\Block\Dashboard\Sales');
3333

34-
if ($this->_scopeConfig->getValue(self::XML_PATH_ENABLE_CHARTS, \Magento\Store\Model\ScopeInterface::SCOPE_STORE)) {
34+
$isChartEnabled = $this->_scopeConfig->getValue(
35+
self::XML_PATH_ENABLE_CHARTS,
36+
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
37+
);
38+
if ($isChartEnabled) {
3539
$block = $this->getLayout()->createBlock('Magento\Backend\Block\Dashboard\Diagrams');
3640
} else {
3741
$block = $this->getLayout()->createBlock(
3842
'Magento\Backend\Block\Template'
3943
)->setTemplate(
4044
'dashboard/graph/disabled.phtml'
4145
)->setConfigUrl(
42-
$this->getUrl('adminhtml/system_config/edit', ['section' => 'admin'])
46+
$this->getUrl(
47+
'adminhtml/system_config/edit',
48+
['section' => 'admin', '_fragment' => 'admin_dashboard-link']
49+
)
4350
);
4451
}
4552
$this->setChild('diagrams', $block);

app/code/Magento/Backend/Block/Menu.php

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -455,28 +455,14 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
455455
}
456456

457457
$id = $this->getJsId($menuItem->getId());
458-
if (count($menu) > 1 || $level != 1) {
459-
$output .= '<li ' . $this->getUiId(
460-
$menuItem->getId()
461-
) . ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass(
462-
$menuItem,
463-
$level
464-
) . ($level == 0 ? '" id="' . $id . '" aria-haspopup="true' : '')
465-
. '" role="menu-item">' . $this->_renderAnchor(
466-
$menuItem,
467-
$level
468-
) . $this->_addSubMenu(
469-
$menuItem,
470-
$level,
471-
$limit,
472-
$id
473-
) . '</li>';
458+
$subMenu = $this->_addSubMenu($menuItem, $level, $limit, $id);
459+
if (count($menu) > 1 || $level != 1 || $menuItem->getUrl() !== '#') {
460+
$output .= '<li ' . $this->getUiId($menuItem->getId())
461+
. ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass($menuItem, $level)
462+
. ($level == 0 ? '" id="' . $id . '" aria-haspopup="true' : '')
463+
. '" role="menu-item">' . $this->_renderAnchor($menuItem, $level) . $subMenu . '</li>';
474464
} else {
475-
$output .= $this->_addSubMenu(
476-
$menuItem,
477-
$level,
478-
$limit,
479-
$id);
465+
$output .= $subMenu;
480466
}
481467

482468
$itemPosition++;

0 commit comments

Comments
 (0)