-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modularity improvements: * Introduced a new CheckoutAgreements module. Moved all "Terms and Conditions" related logic from Magento_Checkout to Magento_CheckoutAgreements * Moved library related logic from `Magento\Core\Model\App` * Fixed bugs: * Fixed an issue where Currency Options were not displayed on the Currency Setup tab * Fixed an issue where a fatal error appeared during customer registration if mail server was off * Fixed an issue where customer with middle name did not appear in the Customers grid in the backend * Fixed an issue where related products were not displayed on the product page in the backend * Fixed the broken View Files Population tool * Fixed an issue where Magento broke down if the Main Web Site was deleted * Fixed potential security issue with orders protect_code * Fixed an issue where an error appeared when placing an order if cache was turned on * Fixed an issue where a warning appeared when running system_config.php tool * Fixed an issue with incorrect reset password link for users on custom websites * Fixed an issue with invalid error message displayed when trying to save a customer group with existing group name * Fixed an issue with menu layout non-responsive behavior in the Blank theme * Framework Improvements: * Covered Magento library components with unit tests * `Magento\Framework\Error\*` * `Magento\Framework\Event\Observer\*` * `Magento\Framework\Filesystem\*` * `Magento\Framework\Filesystem\File\*` * Updated the obsolete_classes list with changes, introduced by Offline Payment Methods Module implementation * Moved `lib/Magento/*` to `lib/Magento/Framework/*` * Covered Magento application components with unit tests: * `Store\Model\*` * `Sales/Helper/Guest.php` * `Sales/Helper/Admin.php` * `Sales/Model/Observer.php` * `Sales/Model/Payment/Method/Converter.php` * `Sales/Model/Email/Template.php` * `Sales/Model/Observer/Backend/CustomerQuote.php` * `Sales/Model/Status/ListStatus.php` * Refactored the following modules to use Customer Service: * Magento_Persistent * Magento_GoogleShopping * Magento_ProductAlert * Magento_SendFriend * Moved customer-specific logic from the Magento_ImportExport module to the Customer module * Refactored the rest of Customer Group usages * Refactored customerAccountService::createAccount to not expose the hashed password input from webapi * Implemented a delimiter usage for Cache key in Customer Registry * Customer Service usage: * Updated exception hierarchy with a new localized exception class * Updated CRUD APIs to support email and base URL instead of IDs * JavaScript improvements: * Implemented the validation widget * Implemented the tooltip widget * Implemented the popup/modal window widget * Implemented the calendar widget * Implemented the suggest widget * Added configuration for Travis CI
- Loading branch information
1 parent
555efce
commit 7444894
Showing
7,679 changed files
with
191,676 additions
and
177,666 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
language: php | ||
php: | ||
- 5.4 | ||
- 5.5 | ||
env: | ||
- TEST_SUITE=unit | ||
- TEST_SUITE=integration | ||
- TEST_SUITE=integration_integrity | ||
- TEST_SUITE=static_phpcs | ||
- TEST_SUITE=static_annotation | ||
matrix: | ||
exclude: | ||
- php: 5.5 | ||
env: TEST_SUITE=static_phpcs | ||
- php: 5.5 | ||
env: TEST_SUITE=static_annotation | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -y -qq postfix | ||
before_script: | ||
# mock mail | ||
- sudo service postfix stop | ||
- smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 & | ||
- echo -e '#!/usr/bin/env bash\nexit 0' | sudo tee /usr/sbin/sendmail | ||
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -i | grep "PHP Version" | head -n 1 | grep -o -P '\d+\.\d+\.\d+.*'`/etc/conf.d/sendmail.ini" | ||
# Disable xDebug | ||
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini | ||
# Create DB for Integration tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration' ] || [ '$TEST_SUITE' = 'integration_integrity' ]; then mysql -e 'create database magento_integration_tests;'; mv dev/tests/integration/etc/local-mysql.travis.xml.dist dev/tests/integration/etc/local-mysql.xml; fi" | ||
# Install tools for static tests | ||
- sh -c "if [ '$TEST_SUITE' = 'static_phpcs' ] || [ '$TEST_SUITE' = 'static_annotation' ]; then pear install pear/PHP_CodeSniffer-1.4.7; fi" | ||
- phpenv rehash; | ||
script: | ||
# Unit tests | ||
- sh -c "if [ '$TEST_SUITE' = 'unit' ]; then phpunit -c dev/tests/unit/phpunit.xml.dist; fi" | ||
# Integration tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration' ]; then cd dev/tests/integration/; phpunit -c phpunit.xml.dist; fi" | ||
# Integration integrity tests | ||
- sh -c "if [ '$TEST_SUITE' = 'integration_integrity' ]; then cd dev/tests/integration/; phpunit -c phpunit.xml.dist testsuite/Magento/Test/Integrity; fi" | ||
# Static tests [Code Style] | ||
- sh -c "if [ '$TEST_SUITE' = 'static_phpcs' ]; then cd dev/tests/static; phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testCodeStyle'; fi" | ||
# Static tests [Code Style] | ||
- sh -c "if [ '$TEST_SUITE' = 'static_annotation' ]; then cd dev/tests/static; phpunit -c phpunit.xml.dist --filter 'Magento\\\\Test\\\\Php\\\\LiveCodeTest::testAnnotationStandard'; fi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.