Skip to content

Commit 5237038

Browse files
author
Olexandr Lysenko
committed
Merge branch 'develop' into MAGETWO-31967
2 parents e7db99e + 2f89843 commit 5237038

File tree

16,630 files changed

+72234
-22298
lines changed

Some content is hidden

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

16,630 files changed

+72234
-22298
lines changed

.php_cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
/**
3-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
45
*/
56

67
/**

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: php
22
php:
33
- 5.4
44
- 5.5
5+
- 5.6
56
env:
67
- TEST_SUITE=unit
78
- TEST_SUITE=integration
@@ -14,6 +15,10 @@ matrix:
1415
env: TEST_SUITE=static_phpcs
1516
- php: 5.4
1617
env: TEST_SUITE=static_annotation
18+
- php: 5.6
19+
env: TEST_SUITE=static_phpcs
20+
- php: 5.6
21+
env: TEST_SUITE=static_annotation
1722
before_install:
1823
- sudo apt-get update -qq
1924
- sudo apt-get install -y -qq postfix

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
0.42.0-beta3
2+
=============
3+
* Fixed bugs:
4+
* Fixed an issue where malicious JavaScript could be executed when adding new User Roles in the backend
5+
* Fixed an issue where incorrect output format was returned when invoking the Customer service
6+
* Fixed an issue where it was impossible to activate an integration after editing the URLs
7+
* Fixed an issue where incorrect class path was used in the ObjectManager calls
8+
* Fixed an issue where inconsistent Reflection classes were used for WebApi applications
9+
* Fixed an issue where the parent element was removed from theme.xml by mistake
10+
* API functional tests changes:
11+
* Moved API functional tests to CE repository
12+
* Various improvements:
13+
* Removed include-path from composer.json
14+
* GitHub requests:
15+
* [#876](https://github.com/magento/magento2/pull/876) -- [BUGFIX] Fixed german translation "Warenkorbrn"
16+
* [#880](https://github.com/magento/magento2/pull/880) -- Naming fix in DI compiler.php - rename binary to igbinary to stay consistent
17+
* [#913](https://github.com/magento/magento2/pull/913) -- Specify date fixture and fix expectations
18+
* [#874](https://github.com/magento/magento2/pull/874) -- Prevent special characters finding their way into layout handle due to SKU being used
19+
* [#903](https://github.com/magento/magento2/pull/903) -- Small cleanup refactoring
20+
* [#905](https://github.com/magento/magento2/pull/905), [#907](https://github.com/magento/magento2/pull/907), [#908](https://github.com/magento/magento2/pull/908) -- Change interpret() return value to conform with Layout\ReaderInterface
21+
* [#913](https://github.com/magento/magento2/pull/913) -- Specify date fixture and fix expectations
22+
23+
0.42.0-beta2
24+
=============
25+
* Framework improvements:
26+
* Added composer.lock to the repository
27+
* Various improvements:
28+
* Magento PSR-3 compliance
29+
* Updated file iterators to work with symlinks
30+
* Replaced end-to-end test for advanced search with injectable test
31+
* Replaced end-to-end test for quick search with injectable test
32+
* Fixed bugs:
33+
* Fixed an issue where an exception occurred when adding configurable products to cart from the wishlist
34+
* Modify .gitignore CE according to new repos structure (MAGETWO-32095)
35+
* Fixed an issue where the 'Not %Username%?' link was displayed for a logged in user while pages were loaded
36+
* Fixed an issue where Shopping Cart Price Rules based on product attributes were not applied to configurable products
37+
* Fixed an issue where the Tax Class drop-down field on New Customer Group page contained the 'none' value when a tax class already existed
38+
* Fixed an issue where the 'Credit Memo' button was absent on the Invoice page for payments
39+
* Fixed an issue where incorrect totals were shown in the Coupon Usage report
40+
* Fixed an issue where an error occurred and the "Append Comments" checkbox was cleared when submitting an order in the backend
41+
* Fixed an issue where the Transactions tab appeared in the backend for orders where offline payment methods were used
42+
* Fixed an issue with the extra empty line appearing in the Customer Address template
43+
* Github requests:
44+
* [#853](https://github.com/magento/magento2/pull/853) -- Fix spelling error in Customer module xml
45+
* [#858](https://github.com/magento/magento2/pull/858) -- Clicking CMS page in backend takes you to the dashboard
46+
* [#858](https://github.com/magento/magento2/issues/816) -- Clicking CMS page takes you to the dashboard
47+
* [#859](https://github.com/magento/magento2/pull/859) -- Fix email template creation date not being persisted
48+
* [#860](https://github.com/magento/magento2/pull/860) -- Fix currency and price renderer
49+
150
0.42.0-beta1
251
=============
352
* Fixed bugs:

CONTRIBUTING.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
1-
# Contribution Guide
1+
# Contributing to Magento 2 code
22

3-
The Magento 2 development team will review all issues and contributions submitted by the community of developers. Contributions can take the form of new components/features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations or just good suggestions. To assist in the expediency of the review process, we strongly encourage you to follow all the proper requirements stated below in Definition of Done, before submitting any code for consideration.
3+
Contributions to the Magento 2 codebase are done using the fork & pull model.
4+
This contribution model has contributors maintaining their own copy of the forked codebase (which can easily be synced with the main copy). The forked repository is then used to submit a request to the base repository to “pull” a set of changes (hence the phrase “pull request”).
45

5-
## Contribution Process
6+
Contributions can take the form of new components/features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations or just good suggestions.
67

7-
If you are a new GitHub user, we recommend that you create your own [free github account](https://github.com/signup/free). By doing that, you will be able to collaborate with the Magento 2 development team, “fork” the Magento 2 project and be able to easily send “pull requests”.
8-
9-
1. Search current [listed issues](https://github.com/magento/magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution.
10-
2. Review the [Contributor License Agreement](https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html) if this is your first time contributing.
11-
3. Create and test your work.
12-
4. Fork the Magento 2 repository according to [github's Fork A Repo instructions](https://help.github.com/articles/fork-a-repo) and when you are ready to send us a Pull Request – follow [github's Using Pull Requests instructions](https://help.github.com/articles/using-pull-requests).
13-
5. Once your contribution is received, Magento 2 development team will review the contribution and collaborate with you as needed to improve the quality of the contribution.
8+
The Magento 2 development team will review all issues and contributions submitted by the community of developers in the first in, first out order. During the review we might require clarifications from the contributor. If there is no response from the contributor for two weeks, the issue is closed.
149

15-
### Contribution Acceptance Criteria
1610

17-
1. Code changes must be covered with automated tests and supplied along with the patch (or fork). Author chooses the best approach for testing as deemed necessary. See [Magento Automated Testing Standard](https://github.com/magento/magento2/wiki/Magento-Automated-Testing-Standard) for additional guidance.
18-
2. New features or proposals must be supplied with documentation -- functional (how a feature works) or technical (how it is implemented/designed), or both.
11+
## Contribution requirements
1912

20-
## Frequently Asked Questions
13+
1. Contributions must adhere to [Magento coding standards](http://devdocs.magento.com/guides/v1.0/coding-standards/bk-coding-standards.html).
14+
2. Pull requests (PRs) must be accompanied by a meaningful description of their purpose. Comprehensive descriptions increase the chances of a pull request to be merged quickly and without additional clarification requests.
15+
3. Commits must be accompanied by meaningful commit messages.
16+
4. PRs which include bug fixing, must be accompanied with step-by-step description of how to reproduce the bug.
17+
3. PRs which include new logic or new features must be submitted along with:
18+
* Unit/integration test coverage (we will be releasing more information on writing test coverage in the near future).
19+
* Proposed [documentation](http://devdocs.magento.com) update. Documentation contributions can be submitted [here](https://github.com/magento/devdocs).
20+
4. For large features or changes, please [open an issue](https://github.com/magento/magento2/issues) and discuss first. This may prevent duplicate or unnecessary effort, and it may gain you some additional contributors.
21+
5. All automated tests are passed successfully (all builds on [Travis CI](https://travis-ci.org/magento/magento2) must be green).
2122

22-
**Do I need to follow all requirements of the contribution process?**
23+
## Contribution process
2324

24-
Yes. We strongly encourage that you follow the requirements as stated, before submitting your code or patch for Magento 2 development team's review. Properly submitted contributions will help the Magento 2 development team to quickly assess your contribution and incorporate it into the Magento 2 project if deemed beneficial.
25-
26-
**Do you accept all contributions?**
25+
If you are a new GitHub user, we recommend that you create your own [free github account](https://github.com/signup/free). By doing that, you will be able to collaborate with the Magento 2 development team, “fork” the Magento 2 project and be able to easily send “pull requests”.
2726

28-
Not all contributions will be used or incorporated into the code for the project. The decision to incorporate the code or not is at the discretion of the Magento 2 development team.
27+
1. Search current [listed issues](https://github.com/magento/magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution.
28+
2. Review the [Contributor License Agreement](https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html) if this is your first time contributing.
29+
3. Create and test your work.
30+
4. Fork the Magento 2 repository according to [Fork a repository instructions](http://devdocs.magento.com/guides/v1.0/contributor-guide/CONTRIBUTING.html#fork) and when you are ready to send us a pull request – follow [Create a pull request instructions](http://devdocs.magento.com/guides/v1.0/contributor-guide/CONTRIBUTING.html#pull_request).
31+
5. Once your contribution is received, Magento 2 development team will review the contribution and collaborate with you as needed to improve the quality of the contribution.

CONTRIBUTOR_LICENSE_AGREEMENT.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!--
22
/**
3-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
45
*/
56
-->
67
<!DOCTYPE html>

COPYING.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Each Magento source file included in this distribution is licensed under OSL 3.0 or the Magento Enterprise Edition (MEE) license
2+
3+
http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
4+
Please see <insert file name of the OSL license> for the full text of the OSL 3.0 license or contact license@magentocommerce.com for a copy.
5+
6+
Subject to Licensee�s payment of fees and compliance with the terms and conditions of the MEE License, the MEE License supersedes the OSL 3.0 license for each source file.
7+
Please see <insert file name of the MEE license> for the full text of the MEE License or visit http://magento.com/legal/terms/enterprise.

app/autoload.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Register basic autoloader that uses include path
44
*
5-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
5+
* Copyright © 2015 Magento. All rights reserved.
6+
* See COPYING.txt for license details.
67
*/
78
use Magento\Framework\Autoload\AutoloaderRegistry;
89
use Magento\Framework\Autoload\ClassLoaderWrapper;

app/bootstrap.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
/**
3-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
45
*/
56

67
/**
@@ -13,15 +14,14 @@
1314
/* PHP version validation */
1415
if (version_compare(phpversion(), '5.4.11', '<') === true) {
1516
if (PHP_SAPI == 'cli') {
16-
echo 'Magento supports PHP 5.4.11 or newer. Please read http://www.magento.com/install.';
17+
echo 'Magento supports PHP 5.4.11 or later. ' .
18+
'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html';
1719
} else {
1820
echo <<<HTML
1921
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
20-
<div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
21-
<h3 style="margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
22-
Whoops, it looks like you have an invalid PHP version.</h3>
23-
</div>
24-
<p>Magento supports PHP 5.4.11 or newer.
22+
<p>Magento supports PHP 5.4.11 or later. Please read
23+
<a target="_blank" href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html">
24+
Magento System Requirements</a>.
2525
</div>
2626
HTML;
2727
}

app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Adminhtml AdminNotification Severity Renderer
44
*
5-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
5+
* Copyright © 2015 Magento. All rights reserved.
6+
* See COPYING.txt for license details.
67
*/
78
namespace Magento\AdminNotification\Block\Grid\Renderer;
89

app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Adminhtml AdminNotification Severity Renderer
44
*
5-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
5+
* Copyright © 2015 Magento. All rights reserved.
6+
* See COPYING.txt for license details.
67
*/
78
namespace Magento\AdminNotification\Block\Grid\Renderer;
89

0 commit comments

Comments
 (0)