Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev50 * Modularity improvements:   * Cleavage of Adminhtml module     * Moved Sales, Catalog, Tax-related logic to respective modules     * Moved Action, Cache, Ajax, Dashboard, Index, Json, Rating, Sitemap, Survey, UrlRewrite from root of Adminhtml Controller folder   * View abstraction was moved into library   * Eliminated dependency in Magento\Data\Form from Magento\Core module   * Eliminated Magento\Media module * Themes update:   * Templates and layout updates are updated in Cms, Contacts, Core, Directory, GoogleCheckout, Page, Payment, PaypalUk, Paypal, Rating, Review, Rss,Sales, Widget modules, old files moved to magento_backup theme * Layout improvements:   * Removed page type hierarchy and page fragment types   * No direct code execution: methods addColumnRender, addRenderer, addToParentGroup usages as action nodes were eliminated * Fixed bugs:   * Impossible to add image using WYSIWYG   * Legacy static test ObsoleteCodeTest::testPhpFiles produced false-positive results   * Incorrect copyright information
  2.0.0.0-dev49 * Various improvements:   * Unified Area configuration   * Moved EventManager to Magento\Event lib component   * Moved FrontController, Routers, Base Actions to Magento\App   * Created Magento\App component in library   * Declared public interfaces for View component into library   * Plushe theme is set as the default theme   * Refactor the Blacklist Pattern in the Integrity Test Suite's ClassesTest to Replace Blacklist.php Files   * Removed JavaScript unit test TreeSuggestTest.prototype.testBind as obsolete   * Introduced ability to register a template engine to process template files having certain extension   * Removed support of the Twig template engine along with the corresponding component from the library   * Removed layout flag that forced template blocks to output rendered content directly to a browser bypassing the response object   * Moved out responsibility of rendering template debugging hints from the template block to the plugin and decorator for a template engine * Fixed bugs:   * Fixed inability to create product if multiple attributes are assigned to attribute set   * Fixed inability to create a new widget instance   * Fixed error on Customers Segments Conditions tab while the 'Number of Orders' condition is chosen   * Fixed blank page when placing order via Ogone   * Fixed various UI issues in Admin Panel with layout, aligning, buttons and fields   * Fixed static tests failing to verify themes files
  2.0.0.0-dev48 * Various improvements:   * Added static integrity test for compilation of DI definitions   * Lightweight replacement for PhpUnit data providers is implemented and involved in static and integrity tests with big data providers (primarily file lists) * Fixed bugs:   * Fixed broken styles on front-end due to usage of nonexistent stylesheet   * Fixed plugins configuration inheritance for proxy classes   * Fixed OAuth consumer credentials expiry not being correctly calculated and added credentials HTTP post to the consumer endpoint   * Fixed Namespace class references   * Fixed error on creating shipment with bundle products   * Fixed uninstallation via console installer   * Fixed JavaScript error in bootstrap in IE8/9   * Fixed placing order within PayPal Payments Advanced and Payflow Link   * Fixed fatal error on placing order with Billing Agreement
  2.0.0.0-dev48 * Various improvements:   * Added static integrity test for compilation of DI definitions   * Lightweight replacement for PhpUnit data providers is implemented and involved in static and integrity tests with big data providers (primarily file lists) * Fixed bugs:   * Fixed broken styles on front-end due to usage of nonexistent stylesheet   * Fixed plugins configuration inheritance for proxy classes   * Fixed OAuth consumer credentials expiry not being correctly calculated and added credentials HTTP post to the consumer endpoint   * Fixed Namespace class references   * Fixed error on creating shipment with bundle products   * Fixed uninstallation via console installer   * Fixed JavaScript error in bootstrap in IE8/9   * Fixed placing order within PayPal Payments Advanced and Payflow link   * Fixed fatal error on placing order with Billing Agreement
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev51 * Application areas rework:     * Single point of access to the current area code     * Declare Application Areas * Various improvements:   * Breakdown of the Adminhtml module:      * Moved the Customer-related logic to the Customer module      * Moved the System-related logic to the Backend module      * Moved the Checkout-related logic to the Checkout module      * Moved the Cms-related logic to the Cms module      * Moved the Promotions-related logic to the CatalogRule and SalesRule modules   * Eliminated the setNode/getNode methods from Magento\Core\Model\Config and adopted all client code   * Moved all application bootstrapping behavior to library   * Moved application-specific behavior from the entry points to the Magento\AppInterface implementations   * Removed the obsolete behavior from routing and front-controller   * Refactored the route configuration loading   * Extracted the modularity support behavior to the Magento\Module component   * Refactored the Resource configuration loading   * Removed the obsolete configuration loaders   * Removed the obsolete configuration from config.xml   * Refactored the code-generation mechanism   * Added constructor integrity verification to the Compiler tool   * Added strict naming rules for the auto-generated Factory and Proxy classes   * Global functions are now called from app\functions.php   * Removed functions.php from the Magento\Core module   * Methods related to mageCoreErrorHandler, string and date were moved from functions.php to the Library components   * Moved the following methods from Core Helpers to the appropriate libraries:      * Moved the Abstract Helper to the Magento\Escaper and Magento\Filter libraries      * Moved the String Helper to the Magento\Filter, Magento\Stdlib\String, Magento\Stdlib\ArrayUtils libraries      * Moved the Data Helper to the Magento\Math, Magento\Filter, Magento\Convert, Magento\Encryption, Magento\Filesystem libraries and to Magento\Customer\Helper\Data libraries      * Moved the Http Magento Helper to the Magento\HTTP library   * The Hint Magento Helper, Http Magento Helper helpers were removed from the Magento\Core module   * Implemented SOAP faults declaration in WSDL   * Web API config reader was refactored to use Magento\Config\Reader\Filesystem   * Created integrations module. Added 'Integrations Grid' and 'New/Edit' Integration pages in the admin   * Removed obsolete page fragment code * Fixed bugs:   * Fixed inability to create an Invoice/Shipment/Credit Memo if the Sales Archive functionality is enabled   * Fixed the Minimum Advertised Price link on the Product view   * Fixed the View Files Population Tool   * Fixed the error on saving the Google AdWords configuration   * Fixed the error with the 'Invalid website code requested:' message appearing when enabling payment methods   * Fixed inability to insert spaces in credit card numbers   * Fixed inability to print orders from the frontend   * Fixed the fatal error on removal of reviews that have ratings   * Fixed JS error with the browser not responding when Virtual/Downloadable product are added to cart   * Fixed inability to delete a row from the 'Order By SKU' form in Internet Explorer   * Fixed inability to enable the Use Flat Catalog Product option   * Fixed inability to configure Grouped and Configurable products during order creation in the backend   * Fixed inability to insert a widget and/or a banner in CMS pages   * Fixed inability to set the Quantity value for Gift Cards   * Fixed the fatal error on the Customer Account > Gift Registry tab in the backend   * Fixed inability to import with the "Customers Main File" entity type selected   * Fixed the "Recently Viewed/Compared products" option missing on the New Frontend App Instance page   * Fixed the fatal error on managing Shopping Cart for a customer with a placed order in the backend   * Fixed the fatal error on an attempt to create an RMA request for Configurable products   * Fixed error on the backend dashboard if any value except "Last 24 Hours" is chosen in the "Select Range" dropdown   * Fixed duplicate values of options in the drop-downs on the RMA pages in the backend
Adding router.php for php internal webserver
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev53 * Moved general action-related functionality to \Magento\App\Action\Action in the library. Removed Magento\Core\Controller\Varien\Action and related logic from the Magento_Core module * Moved view-related methods from action interface to \Magento\App\ViewInterface with corresponding implementation * Moved redirect creation logic from the action interface to \Magento\App\Response\RedirectInterface * Moved Magento\Core common blocks to the library * Added reading of etc/integration/config.xml and etc/integration/api.xml files for API Integrations * Various improvements:   * Email-related logic from the Core and Adminhtml modules consolidated in the new Email module * GitHub requests:   * [#238](https://github.com/magento/magento2/pull/238) -- Improve escaping HTML entities in URL   * [#199](https://github.com/magento/magento2/pull/199) -- Replaced function calls to array_push with adding the elements directly   * [#182](https://github.com/magento/magento2/pull/182) -- By default use collection _idFieldName for toOption* methods.   * [#233](https://github.com/magento/magento2/pull/233) -- Google Rich Snippet Code   * [#339](https://github.com/magento/magento2/pull/339) -- Correcting 'cahce' typo in documentation.   * [#232](https://github.com/magento/magento2/pull/232) -- Update app/code/core/Mage/Checkout/controllers/CartController.php (fix issue #27632) * Fixed bugs:   * Fixed JavaScript error when printing orders from the frontend   * Fixed Captcha problems on various forms when Captcha is enabled on the frontend   * Fixed "Page not found" on category page if setting "Add Store Code to Urls" to "Yes" in the backend config   * Fixed Fatal error when creating shipping label for returns
  2.0.0.0-dev52 * Better Navigation menu rendering due to improved Caching of Categories * Added Magento\Filesystem\Directory and Magento\Filesystem\File to the library * Various improvements:   * Added a static test to check for incorrect dependencies in the library   * Moved Magento\Core\Model\Theme to the Magento\View component   * Moved Magento\Core\Model\Design to the Magento\View component   * Consistent declaration of page-types   * The Framework part of the Cache functionality moved out from modules * Themes update:   * Updated templates and layout updates in the Captcha, Customer, Newsletter, Persistent, ProductAlert, Wishlist modules; old files moved to the "magento-backup" theme   * Refactored and removed duplicate Persistent module templates   * Plushe theme made responsive * Fixed bugs:   * Fixed inability to print order, invoice, or creditmemo in the frontend   * Fixed fatal error caused by the Mage_Backend_Block_System_Config_FormTest integration test   * Fixed the broken link when the MAP feature is enabled and actual product price is set to be displayed in the shopping cart * Moved the following methods from Core Helpers to the appropriate libraries:   * Moved the Data Helper date format related functions to \Magento\Core\Model\Locale   * Moved the Data Helper array decoration related functions to Magento\Stdlib\ArrayUtils   * Moved the Data Helper functions that copy data from one object to another to \Magento\Object\Copy
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev54 * Modularity improvements:   * Breakdown of the Adminhtml module:      * Moved Newsletter, Report logic to the respective modules      * Moved blocks, config, view, layout files of other components from Adminhtml folder to respective modules   * Removed application dependencies from the library * Move Magento\Core common blocks in the library * Application areas rework:   * Areas are independent from Store   * Removed deprecated annotation from the getArea methods * GitHub requests:   * [#245](https://github.com/magento/magento2/pull/245) -- Resolve design flaws in core URL helper   * [#247](https://github.com/magento/magento2/pull/247) -- Bug in Mage_Page_Block_Html_Header->getIsHomePage   * [#259](https://github.com/magento/magento2/pull/259) -- Turkish Lira (TRY) is supported for Turkish members.   * [#262](https://github.com/magento/magento2/pull/262) -- Update Rule.php   * [#373](https://github.com/magento/magento2/pull/373) -- [Magento/Sales] Fixed typos   * [#382](https://github.com/magento/magento2/pull/382) -- [Magento/Core] Fixed typos   * [#304](https://github.com/magento/magento2/pull/304) -- Removed Erroneous closing "   * [#323](https://github.com/magento/magento2/pull/323) -- InstanceController.php - made setBody protected   * [#349](https://github.com/magento/magento2/pull/349) -- Move Mage_Catalog menu declaration into Mage_Catalog module.   * [#265](https://github.com/magento/magento2/pull/265) -- Update Merge.php   * [#271](https://github.com/magento/magento2/pull/271) -- Check Data should validate gallery information   * [#305](https://github.com/magento/magento2/pull/305) -- Extra ", tidied up nested quotes   * [#352](https://github.com/magento/magento2/pull/352) -- Add Croatia Country as part of European Union since 1st July 2013 for default european local countries in configuration   * [#224](https://github.com/magento/magento2/pull/224) -- Tax formatting is locale aware and should not   * [#338](https://github.com/magento/magento2/pull/338) -- Correcting SQL for required_options column   * [#327](https://github.com/magento/magento2/pull/327) -- cart api bug fix & partial invoice credit memo divide by zero warning * Themes update:   * Old frontend (magento_demo) and backend (magento_basic) themes are removed   * Updated templates and layout updates in the Bundle, Catalog, CatalogInventory, CatalogSearch, Downloadable, ProductAlert, Reports, Sendfriend modules * Fixed bugs:   * Fixed the error when  Magento cannot be reinstalled to the same database with table prefix   * Fixed report Products in Cart   * Fixed error on attempt to insert image to CMS pages under version control   * Fixed order status grid so that you can assign state, edit, and view custom order status   * Fixed Related Products Rule page so that category can be selected on conditions tab   * Fixed Magento_Paypal_Controller_ExpressTest integration test so it is re-enabled   * Fixed the bug with international DHL quotes
  2.0.0.0-dev53 * Moved general action-related functionality to \Magento\App\Action\Action in the library. Removed Magento\Core\Controller\Varien\Action and related logic from the Magento_Core module * Moved view-related methods from action interface to \Magento\App\ViewInterface with corresponding implementation * Moved redirect creation logic from the action interface to \Magento\App\Response\RedirectInterface * Moved Magento\Core common blocks to the library * Added reading of etc/integration/config.xml and etc/integration/api.xml files for API Integrations * Various improvements:   * Email-related logic from the Core and Adminhtml modules consolidated in the new Email module * GitHub requests:   * [#238](https://github.com/magento/magento2/pull/238) -- Improve escaping HTML entities in URL   * [#199](https://github.com/magento/magento2/pull/199) -- Replaced function calls to array_push with adding the elements directly   * [#182](https://github.com/magento/magento2/pull/182) -- By default use collection _idFieldName for toOption* methods.   * [#233](https://github.com/magento/magento2/pull/233) -- Google Rich Snippet Code   * [#339](https://github.com/magento/magento2/pull/339) -- Correcting 'cahce' typo in documentation.   * [#232](https://github.com/magento/magento2/pull/232) -- Update app/code/core/Mage/Checkout/controllers/CartController.php (fix issue #27632) * Fixed bugs:   * Fixed JavaScript error when printing orders from the frontend   * Fixed Captcha problems on various forms when Captcha is enabled on the frontend   * Fixed "Page not found" on category page if setting "Add Store Code to Urls" to "Yes" in the backend config   * Fixed Fatal error when creating shipping label for returns
  2.0.0.0-dev52 * Better Navigation menu rendering due to improved Caching of Categories * Added Magento\Filesystem\Directory and Magento\Filesystem\File to the library * Various improvements:   * Added a static test to check for incorrect dependencies in the library   * Moved Magento\Core\Model\Theme to the Magento\View component   * Moved Magento\Core\Model\Design to the Magento\View component   * Consistent declaration of page-types   * The Framework part of the Cache functionality moved out from modules * Themes update:   * Updated templates and layout updates in the Captcha, Customer, Newsletter, Persistent, ProductAlert, Wishlist modules; old files moved to the "magento-backup" theme   * Refactored and removed duplicate Persistent module templates   * Plushe theme made responsive * Fixed bugs:   * Fixed inability to print order, invoice, or creditmemo in the frontend   * Fixed fatal error caused by the Mage_Backend_Block_System_Config_FormTest integration test   * Fixed the broken link when the MAP feature is enabled and actual product price is set to be displayed in the shopping cart * Moved the following methods from Core Helpers to the appropriate libraries:   * Moved the Data Helper date format related functions to \Magento\Core\Model\Locale   * Moved the Data Helper array decoration related functions to Magento\Stdlib\ArrayUtils   * Moved the Data Helper functions that copy data from one object to another to \Magento\Object\Copy
Merge branch 'master' of github.com:SchumacherFM/magento2

* 'master' of github.com:SchumacherFM/magento2:
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev55 * Modularity improvements:   * Session configuration moved to library   * FormKey logic was moved from Session   * SessionIdFlags from Session was removed   * Move Page logic to the Theme module and library * Created integration module UX * Created authorization service (Magento_Authz module) * Fixed bugs:   * Fixed the issue that prevented a customer group's shopping cart rules from applying properly to prices. The issue occurred when a customer was manually assigned to a customer group and automatic group assignment was enabled.   * Fixed the bug with schema upgrade scripts not running after installation   * Fixed the error with a blank page when user tries to get access to a restricted resource via URL (add Secret Key for URL set to "No")
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev56 * Fixed bugs:   * Fixed placing order with PayPal Payments Advanced and Payflow Link   * Fixed losing previously assigned categories after saving the product with changed category selector field   * Fixed losing of a newly created category assignment after variations generation during Configurable product or Gift Card creation   * Fixed the error in order placement with Recurring profile payment * GitHub requests:   * [#299](https://github.com/magento/magento2/pull/299) -- Fix for issue Refactor Mage_Rating_Model_Resource_Rating_Collection   * [#341](https://github.com/magento/magento2/pull/341) -- Replacing simple preg calls with less expensive alternates * Modularity improvements:   * Layout page type config moved to library   * Design loader moved to library   * Theme label moved to library * Themes update:   * Reduced amount of templates and layouts in magento_plushe theme   * Responsive design improvements * Integrity improvements:   * Covered all Magento classes with argument sequence validator   * Added arguments type duplication validator * Implemented API Integration UX flows:   * Ability to create and edit API Integrations   * Ability to delete API integrations that were not created using configuration files * Removed System REST menu item and all associated UX flows:   * Users, Roles, and Webhook Subscriptions sub-menu items were removed * Removed the Webhook module
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev57 * Fixed bugs:   * Fixed [MAP]: "Click for price" link is broken on the category page   * Fixed tax rule search on the grid   * Fixed redirect on dashboard if "Search", "Reset", "Export" buttons are clicked on several pages   * Fixed switching user to alternate store-view when clicking on the Category (with Add Store Code to Urls="Yes" in the config)   * Fixed printing Order/Shipping/Credit Memo from backend   * Fixed 404 Error on attempt to print Shipping Label   * Fixed duplication of JavaScript Resources in head on frontend   * Fixed inconsistency with disabled states on Configurable product page in the Plushe theme   * Fixed 3D Secure Information absence on Admin Order Info page   * Fixed possibility to download or revert Backup   * Fixed session fixation in user registration during checkout   * Fixed fatal error during login to backend   * Fixed inline translations in the Adminhtml area   * Fixed partial refunds/invoices in Payflow Pro   * Fixed the issue with ignoring area in design emulation   * Fixed order placing with virtual product using Express Checkout   * Fixed the error during order placement with Recurring profile payment   * Fixed wrong redirect after customer registration during multishipping checkout   * Fixed inability to crate shipping labels   * Fixed inability to switch language, if the default language is English   * Fixed an issue with incorrect XML appearing in cache after some actions on the frontend   * Fixed product export   * Fixed inability to configure memcache as session save handler * GitHub requests:   * [#406](https://github.com/magento/magento2/pull/406) -- Remove cast to (int) for the varch increment_id   * [#425](https://github.com/magento/magento2/issues/425) -- Installation of dev53 fails   * [#324](https://github.com/magento/magento2/pull/324) -- ImportExport: Easier debugging * Modularity improvements:   * Removed \Magento\App\Helper\HelperFactory   * Removed the "helper" method from the abstract block interface   * Layout page type config moved to library   * Design loader moved to library   * Theme label moved to library   * Remaining part from Adminhtml moved to the appropriate modules. Adminhtml module has been eliminated   * Core Session and Cookie models decomposed and moved to library     * \Magento\Stdlib\Cookie library created     * Session Manager and Session Config interfaces provided     * Session save handler interface created     * Session storage interface created, session does not extend \Magento\Object anymore     * Session validator interface created     * Session generic wrapper moved to library     * Messages functionality moved from the Session model as separate component, message manager interface created     * Sid resolver interface created to handle session sid from request
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev58 * Fixed bugs:   * Security improved for the Login, Update Cart, Add to Compare, Review, and Add entire wishlist actions on the frontend   * Removed warnings on category pages when Flat Catalog Category is enabled   * Fixed product price displayed in wrong currency after switching currency on the frontend   * Fixed the Save & Duplicate action in product creation   * Fixed big image scaling in product description   * Fixed admin dashboard styling issue   * Fixed validation message for the Quantity field on the product page in the backend   * Fixed the email template for sharing a Wishlist   * Fixed the response of the drop-down menu in the Plushe theme   * Fixed the missing Related Banners tab for Catalog Price Rule   * Fixed inability to enable the duplicated product   * Removed warnings on saving payment method configuration   * Fixed gift messages displaying on the Order View page after admin edits   * Fixed inability to create a new order status   * Fixed the behavior of the Save and Previous and the Previous buttons on the Edit Review page   * Fixed inability to delete a website if the number of websites is less or equal to two   * Fixed Export on the All Customers page   * Fixed inability to add products to the Shopping Cart from the Category page in Internet Explorer   * Fixed logo on the backend login page   * Fixed visual elements to indicate that Tax details can be expanded on the order creation page in the backend   * Fixed the CMS page preview design   * Fixed the newsletter template preview design   * Fixed the Matched Customers grid design in the Email Reminder Rules   * Fixed the theme version validation message displayed when creating a new theme   * Fixed performance degradation during installation wizard execution   * Fixed cron shell script   * Fixed user login on the frontend, when the Redirect Customer to Account Dashboard after Logging option is set to No   * Fixed errors in requests to shipping carrier (DHL International) when the shipping address contains letters with diacritic marks   * Fixed invalid account creation date   * Fixed displaying Product Alert links on product view page when the functionality is disabled   * Fixed the absence of some bundle options when configuring a bundle product in the Shopping Cart on the frontend   * Fixed the issue which allowed to view and cancel billing agreements belonging to another customer   * Fixed the content spoofing vulnerability when Solr was used   * Fixed a potential XSS vulnerability in customer login   * Fixed RSS feed for categories containing bundle product(s)   * Fixed inability to place an order with 3D Secure in Internet Explorer 10   * Fixed inability to place an order with PayPal Payflow Link and PayPal Payments Advanced   * Fixed integrity constraint violation in catalog URL rewrites   * Fixed the absence of the error when a wrong website code is specified during a website creation   * Fixed saving in the backend a new customer address, which contains new customer address attributes configured to be not visible on frontend   * Fixed USPS shipping method in the checkout   * Fixed placing orders with recurring profile items via PayPal Express Checkout   * Fixed email template creation in the backend   * Fixed the issue with default billing address being used instead of default shipping address during admin order creation   * Fixed inability to choose DB as Media Storage   * Fixed PHP issues found during the UI testing of the backend   * Fixed shipping label creation for USPS Priority Mail Shipping methods   * Fixed the issue which allowed to create customers with duplicate email   * Fixed the abstract product block error in the tier price template getter   * Fixed system message displaying in the backend   * Fixed the "404" error on customer review page   * Fixed autocomplete enabled on the admin login page   * Fixed the 3D Secure iframe   * Fixed the indicators of mandatory fields on the Package Extension page   * Fixed product image scaling on the Compare Products page   * Fixed product page design for products with the Fixed Product Tax attribute   * Removed spaces between parentheses and numbers in the Cart, Wishlist, and Compare Products blocks   * Fixed the message displaying the quantity for products found on the Advanced Search page   * Fixed incorrect caching of locale settings and URL settings during web installation   * Fixed inability to use a newly created store for admin user roles   * Fixed absence of the Advanced Search field on the frontend, when the Popular Search Terms functionality is disabled   * Fixed incorrect link to downloadable product(s) in the email invoice copy   * Fixed customs monetary value in labels/package info for international shipments   * Fixed importing for files with blank URL Key field on the store view level   * Fixed table rate error message   * Fixed frontend login without pre-set cookies   * Fixed date resetting to 1 Jan 1970 after saving a design change in the admin panel in case date format is DD/MM/YY   * Fixed CAPTCHA on multi-address checkout flow   * Fixed view files population tool * GitHub requests:   * [#122](https://github.com/magento/magento2/pull/122) -- Added support of federal units of Brazil with 27 states   * [#184](https://github.com/magento/magento2/issues/184) -- Removed unused blocks and methods in Magento_Wishlist module   * [#390](https://github.com/magento/magento2/pull/390) -- Support of alphanumeric order increment ids by the quote resource model * Themes update:   * Responsive design improvements * Improvements in code coverage calculation:   * Code coverage calculation approach for unit tests was changed from blacklist to whitelist
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev59 * Fixed bugs:   * Fixed invalid year in exception log errors   * Fixed the double-serialization in saving data for shipments   * Fixed an issue with adding a gift wrapping for multiple items   * Fixed shipping labels generation for DHL   * Fixed an issue with lost product price and weight during import   * Fixed a fatal error when a file reference is added to the HTML head   * Fixed an issue with printing orders containing downloadable product(s)   * Fixed an issue with the 'Same as shipping' check box not being selected on the Review Order page for PayPal Express checkout   * Fixed an issue with Email Templates preview showing a blank page   * Fixed an issue with a refund creation from the PayPal side   * Removed the occurrences of the non-existing Mage_Catalog_Model_Resource_Convert resource model   * Fixed an issue with a coupon usage after applying it with multiple addresses   * Fixed the Abandoned Cart emails sending   * Fixed an issue where users with "Reorder" permission could not perform reorder   * Fixed an issue with adding items from wishlist to the Shopping Cart with quantity increments enabled   * Fixed an issue with the catalog_url indexer incorrect rewrites history for categories   * Fixed an issue in saving an integration with a duplicate name   * Fixed an issue when a customer could see someone's else reviews on the private Account Dashboard   * Fixed an issue when a "New Theme" page was displayed as broken when trying to create a theme with incorrect "Version" value   * Fixed an issue in saving an integration with XSS injection in the required fields   * Fixed an issue with the Mini Shopping Cart when it contained virtual product   * Fixed an issue in disabling the Shopping Cart sidebar   * Fixed an issue when the "Adminhtml" cookie was not set when a user logged in to the backend   * Fixed an issue when the "Persistent_shopping_cart" cookie was not set after customer's login   * Fixed inability to publish products to Google Shopping   * Fixed inability to download or revert the backup   * Fixed inability to create a customer account when placing an order with a downloadable product * Various improvements:   * Disabled PHP errors, notices and warnings output in the production mode, to prevent exposing sensitive information
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev61 * Introduced a new layout block attribute - cacheable * Fixed bugs:   * Fixed an issue with displaying configurable product images in shopping cart   * Fixed an issue with Tax Summary not being displayed properly on the Order Review page   * Optimized the Plushe theme CSS   * Fixed attribute types for configurable product variations   * Fixed an issue with incorrect link in the Reset Password email for customers registered on the non-default website   * Fixed an issue with creating orders using DHL on holiday dates   * Fixed product export   * Fixed 3D secure validation   * Fixed an issue with session being lost when a logged in user goes from store pages using secure URL to the store pages which do not use secure URL   * Fixed an issue with price ranges in the Advanced search
  2.0.0.0-dev60 * Fixed bugs:   * Fixed an issue with exceeding the memory limit when uploading very big images   * Fixed an issue in moving a category when $afterCategoryId is null   * Fixed an issue when products from a non-default website were not available as bundle items   * Fixed an issue when orders placed via Authorize.net had the wrong statuses   * Fixed an issue where orders placed via PayPal Express Checkout could not be placed if HTTPS was used on the frontend   * Fixed a security issue with a user session during registration   * Removed a CSRF vulnerability in checkout   * Fixed an issue with JavaScript static testing framework not handling corrupted paths in white/black lists properly   * Fixed an issue with Google Shopping synchronization   * Fixed the contextual help tooltip design   * Fixed an issue with the Authorize.net CC section UI on the Onepage Checkout page   * Fixed UI issues on the order pages in the backend   * Fixed UI issues in the backend for IE9   * Fixed UI issues on the Edit Customer page in the backend   * Fixed a UI issue with the image preview placeholder on the Edit Product page for IE9   * Fixed UI issues with forms in the backend   * Fixed UI issues with buttons in the backend   * Fixed an issue with a product status after a virtual product was duplicated   * Fixed a fatal error with attribute file from the customer account page in the backend   * Fixed a security issue when CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST where used with improper values sometimes   * Updated the field descriptions for Secure Base URL settings in the backend   * Fixed an issue in product duplication for multiple store views   * Consolidated several 3rd-party JavaScript libraries in the pub/lib directory, and fixed license notice texts to conform to the open source license requirements * Service Layer implementation:   * Implemented the initial set of services for the Customer module
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev64 * Modularity improvements:   * Moved abstract shopping cart logic from the Paypal module to the Payments module * Caching improvements:   * Added a new mechanism to uniquely identify page content (a hash-key for cache storage)   * Replaced the "magentoZoom" plugin with two widgets: the "gallery" and "zoom" * Fixed bugs:   * Fixed an issue with inserting an image in WYSIWYG editor where the selected folder was stored in session   * Fixed an issue with CMS Page Links not being shown because of the empty text in the link   * Fixed an issue where zooming functionality was not disabled for the responsive design   * Fixed an issue with zooming on a configurable product page where the main product image was shown instead of the selected option images * Updated various PHPDoc with parameter and return types * Moved quote-related multishipping logic to the Multishipping module * Resolved dependencies between the Payment and Multishipping modules * Moved the framework part of the Translate functionality from modules to the library * Created the architecture for the email template library * Introduced a consistent approach for using the Config scope * Fixed an issue with the dependency static test
  2.0.0.0-dev63 * Modularity improvements:   * Consolidated all PayPal-related logic in a separate module   * Resolved dependencies on the Magento_GroupedProduct module   * Added the ability to enable/disable/remove the Magento_GroupedProduct module without impact on the system * Implemented the Oyejorge Less.php adapter * Implemented the Less files importing mechanism * Added the ability to configure certain cache frontend, and associate it to multiple cache types, thus avoiding the duplication of cache configuration * Implemented the more strict format of array definition in the DI configuration:   * Covered array definitions with XSD, and made the whole DI configuration validated with XSD   * Added the ability to define arrays with keys containing invalid XML characters, that was impossible when keys were represented by the node names * Fixed bugs:   * Fixed an issue with missed image for a cron job for the abandoned cart emails   * Restored the ability to configure cache storage in `local.xml`   * Fixed an issue with the css\js merging functionality   * Fixed an issue with customer selection on the order creation page * AppInterface renamed to LauncherInterface * Removed the reinit logic from the Config object * Framework part of the "URL" functionality removed from modules * Framework part of the "Config" functionality removed from modules * Removed the deprecated EAV structure creation method from the EAV setup model * Updated various PHPDoc with parameter and return types * Indexer implementation:   * Implemented a new indexer structure * Refactored Web API Framework to support the Data Object based service interfaces * Refactored controllers, blocks and templates of the Sales module to use Customer service * GitHub requests:   * [#275] (https://github.com/magento/magento2/issues/275) -- XSS Vulnerability in app/code/core/Mage/CatalogSearch/Block/Result.php * Removed the outdated Customer service
  2.0.0.0-dev62 * Modularity improvements:   * Moved all Grouped Product functionality to newly created module GroupedProduct   * Moved Multishipping functionality to newly created module Multishipping   * Extracted Product duplication behavior from Product model to Product\Copier model   * Replaced event "catalog_model_product_duplicate" with composite Product\Copier model   * Replaced event "catalog_product_prepare_save" with controller product initialization helper that can be customozed via plugins   * Consolidated Authorize.Net functionality in single module Authorizenet   * Eliminated dependency of Sales module on Shipping and Usa modules   * Eliminated dependency of Shipping module on Customer module   * Improved accuracy and quality of Module Dependency Test * Fixed bugs:   * Fixed an issue when order was sent to PayPal in USD regardless of currency used during order creation   * Fixed an issue with 404 error when clicking any button on a Recurring Billing Profile in the backend   * Fixed an issue with synchronization with Google Shopping on product update caused by missed service property   * Fixed ability to submit order in the backend when Authorize.Net Direct Post is used   * Fixed an issue with notice that _attribute_set column is missing during Import/Export * Removed the deprecated service-calls and data source functionality * Request\Response workflow improvements:   * Added Console\Response   * Changed behavior of AppInterface to return ResponseInterface instead of sending it
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev65 * Fixed bugs:   * Fixed inability to execute System Backup, Database Backup, and Media Backup * Indexer implementation:   * Implemented a new optimized Catalog Category Flat Indexer * Cron improvements:   * Added the ability to divide cron tasks into groups   * Added the ability to run cron groups in separate processes * Caching improvements:   * Added a new mechanism to identify uniquely page content (hash-key for cache storage)   * Added a tab for Page Cache mechanism in System Configuration   * Implemented the ability to configure the Varnish caching server settings and download it as a .vcl file * LESS pre-processing to CSS   * LESS files in library, theme, module are automatically compiled to CSS during materialization   * LESS files compilation caching mechanism added in Developer mode * Modularity improvements:   * Moved the Shortcut Buttons abstraction from PayPal to Catalog   * Moved the Recurring Profile functionality to a separate module   * Moved the Billing Agreements functionality to the PayPal module * Improvements in code coverage calculation:   * Added code coverage calculation in the clover xml format for unit tests * GitHub requests:  * [#377] (https://github.com/magento/magento2/issues/377) Remove and avoid javascript eval() calls  * [#319] (https://github.com/magento/magento2/issues/319) No message was displayed when product added to shopping cart.  * [#367] (https://github.com/magento/magento2/issues/367) Improve the error message from the contact form  * [#469] (https://github.com/magento/magento2/issues/469) Can't change prices on different websites for custom options * Updated the Customer service exception handling, and added tests * Added usage of the Customer service to the Customer module, replacing some direct usage of the Customer model * Updated various PHPDoc with the parameter and return types
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev66 * GitHub requests:   * [#134] (https://github.com/magento/magento2/pull/134) Fixed a typo in "Vorarlberg" region of Austria (was Voralberg) * Fixed bugs:   * Fixed an issue with the "Add to Cart" button on the MAP popup of compound products   * Fixed an issue where the "Add Address" button for Customer in Admin was broken   * Fixed an issue where predefined data are not loaded for a newsletter when it is added to a queue * Indexer implementation:   * Implemented a new optimized Catalog Category Product Indexer   * Implemented a new optimized Catalog Category Flat Indexer   * Implemented a new optimized Catalog Product Flat Indexer * Modularity improvements:   * Moved all Configurable Product functionality to a newly created ConfigurableProduct module   * Moved the Shortcut Buttons abstraction from PayPal to Catalog   * Moved the Recurring profile functionality to a separate module   * Moved the Billing Agreements functionality to the PayPal module   * Finalized the work on resolving dependencies between the Multishipping module, and all other modules. Module can be removed without any impact on the system * Customer Service usage:  * Updated Customer Group Grid to use Customer Service for data retrieving and filtering  * Updated CustomerMetadataService::getAttributeMetadata to throw an exception if invalid code is provided * Unified the format of specifying arguments for class constructors in DI and in Layout configuration:   * A common xsd schema is being used for defining simple types. Layout and DI customize common types with their specific ones   * Argument processing is unified, and moved to library
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev67 * GitHub requests:   * [#235](https://github.com/magento/magento2/issues/235) -- Translation escaping   * [#463](https://github.com/magento/magento2/pull/463) -- allow _resolveArguments to do sequential lookups * Fixed bugs:   * Fixed an issue where nonexistent store views flat tables cleanuper dropped the catalog_category_flat_cl table   * Fixed an issue where the Product Flat Data indexer used the helpers logic instead of the Flat State logic   * Fixed an issue where an exception was thrown when applying a coupon code   * Fixed an issue where a Shopping Cart Price Rule was applied to the wrong products   * Fixed an issue with the broken Related Orders link on the Recurring Profile page   * Fixed an issue with CMS pages preview not working   * Fixed an issue with a sales report for a store view returning wrong result   * Fixed an issue where shipping did not work for orders containing only bundle products   * Fixed an issue where a custom not found page action did not work   * Fixed an issue where user configuration for a shopping cart rule to stop further rules processing was ignored * Modularity improvements:   * Resolved dependencies of the Sales module on the RecurringProfile module   * Resolved dependencies of the Email Templates functionality on application modules   * Lib-only dependent components of the Core module moved to library   * CSS URL resolving logic moved from the publisher to a separate CSS pre-processor   * Refactored the View publisher * Customer Service usage:   * Refactored the Sales module to use Customer service layer   * Refactored the Checkout module to use Customer service layer * Updated various PHPDoc with the parameter and return types
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev68 * Cache:   * Implemented depersonalization of private content generation   * Implemented content invalidation   * Added Edge Side Includes (ESI) support   * Added a built-in caching application * GitHub requests:   * [#454](https://github.com/magento/magento2/pull/454) -- Allow to specify list of IPs in a body on maintenance.flag which will be granted access even if the flag is on   * [#204](https://github.com/magento/magento2/issues/204) -- Mage_ImportExport: Exporting configurable products ignores multiple configurable options   * [#418](https://github.com/magento/magento2/issues/418) -- Echo vs print   * [#419](https://github.com/magento/magento2/issues/419) -- Some translation keys are not correct.   * [#244](https://github.com/magento/magento2/issues/244) -- Retrieve base host URL without path in error processor   * [#411](https://github.com/magento/magento2/issues/411) -- Missed column 'payment_method' of table 'sales_flat_quote_address'   * [#284](https://github.com/magento/magento2/pull/284) -- Fix for Issue #278 (Import -> Stores with large amount of Configurable Products) * Fixed bugs:   * Fixed an issue where Mage_Eav_Model_Entity_Type::fetchNewIncrementId() did not rollback on exception   * Fixed an issue where a category containing more than 1000 products could not be saved   * Fixed inappropriate error messages displayed during installation when required extensions were not installed   * Fixed synopsis of the install.php script   * Fixed an issue where the schedule of recurring payments was not displayed in the shopping cart * Modularity improvements:   * Introduced the OfflinePayments module - a saparate module for offline payment methods   * Added the ability to enable/disable the Paypal module   * Moved the framework part of the Locale functionality from the Core module to library   * The Locale logic was split among appropriate classes in library, according to their responsibilities   * Removed the deprecated DHL functionality   * Introduced the OfflineShipping module for offline shipping carrier functionality: Flatrate, Tablerate, Freeshipping, Pickup   * Introduced a separate module for the DHL shipping carrier   * Introduced a separate module for the Fedex shipping carrier   * Introduced a separate module for the UPS shipping carrier   * Introduced a separate module for the USPS shipping carrier * Framework Improvements:   * Added the ability to intercept internal public calls   * Added the ability to access public interface of the intercepted object   * Added a static integrity test for plugin interface validation   * Added support for both class addressing approaches in DI: with and without slash ("\") at the beginning of a class name * Customer Service usage:   * Refactored the Customer module blocks and controllers to use customer service layer * Security:   * Introduced the ability to hash a password with a random salt of default length (32 chars) by the encryption library   * Utilized a random salt of default length for admin users, and frontend customers
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev69 * Themes update:   * LESS styles library added in pub/lib/css/   * A new Blank theme set as default * GitHub requests:   * [#491](https://github.com/magento/magento2/pull/491) -- Fixed bug, incorrect auto-generation Category URL for some groups of symbols (idish, cirrilic, , , and other).   * [#480](https://github.com/magento/magento2/pull/480) -- Fixing a bug for loading config from local.xml   * [#472](https://github.com/magento/magento2/issues/472) -- Params passed in pub/index.php being overwritten   * [#461](https://github.com/magento/magento2/pull/461) -- Use translates for Quote\Address\Total\Shipping   * [#235](https://github.com/magento/magento2/issues/235) -- Translation escaping   * [#463](https://github.com/magento/magento2/pull/463) -- allow _resolveArguments to do sequential lookups   * [#499](https://github.com/magento/magento2/issues/499) Deleted unclosed comment in calendar.css * Fixed bugs:   * Fixed a fatal error that occurred with a dependency in pub/errors/report.php   * Fixed an issue where code coverage failed for Magento\SalesRule\Model\Rule\Action\Discount\CartFixedTest   * Fixed an issue where PayPal Express Checkout redirected to the PayPal site even though the Allow Guest Checkout option was set to 'No'   * Fixed an issue where invalid password reset link was sent when resetting customer password from the backend   * Fixed an issue where it was not possible to download a previously created backup   * Fixed a security issue with possibility of a XSS injection in the Integration re-authorization flow   * Fixed an issue where Billing Agreement cancellation from the backend did not work   * Fixed an issue with the debug section in the developer settings   * Fixed the unreliable implementation of the fetching authorization header via SOAP   * Fixed issues with WSDL generation error reporting   * Fixed an issue with incorrect order of the Recurring Profile tab in Account Customer on the frontend   * Fixed an issue when the information about a custom option of the 'File' type was not displayed correctly on the recurring profile page   * Fixed an issue with editing Product template   * Fixed an issue with duplicated shipping method options during checkout   * Fixed an issue where flat indexers were re-indexed in shell when they were disabled   * Fixed an issue where adding a wrong/nonexistent SKU using 'Order by SKU' from My Account caused a fatal error   * Fixed an issue with the JS/CSS merging functionality   * Fixed an issue with static view files publication tool used for the 'production' mode * Modularity improvements:   * Removed the deprecated GoogleCheckout functionality   * Removed all dependencies on the RecurringPayment module   * Removed the Sales module dependencies on Customer models/blocks   * Renamed the RecurringProfile module to RecurringPayment   * Resolved dependencies between the Email Templates functionality and other modules   * Moved Core module lib-only depended components to library   * Moved CSS URL resolving logic from publisher to the separate CSS pre-processor   * Re-factored the View publisher * Framework improvements:   * Added restrictions on the data populated to the Service Data Object   * Renamed Data Transfer Object to Service Data Object   * Updated the view files population tool to support LESS * Customer Service usage:   * Refactored the Tax module to use Customer service layer   * Refactored Customer module Adminhtml internal controllers and helper to use Customer services   * Added and updated the Customer service APIs   * Exposed Customer services as REST APIs * Indexer implementation:   * Implemented a new optimized Product Price Indexer * Updated various PHPDoc with the parameter and return types
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev70 * Fixed bugs:   * Fixed an issue where the schedule of recurring payments was not displayed in the shopping cart   * Fixed an issue with displaying tax class names in the Customer Groups grid   * Fixed an issue with testing Solr connection   * Fixed an issue with using custom module front name   * Fixed an issue with USPS and DHL usage in the production mode * Modularity improvements:   * Consolidated all logic related to Layered Navigation in one separate module * Framework Improvements:   * Covered Magento library components with unit tests:      * Magento/Interception      * Magento/ObjectManager      * Magento/Message      * Magento/Module      * Magento/Mail      * Magento/Object      * Magento/Math * Updated XML files to include a reference to the schema file in a form of a relative path * Updated code to be PSR-2 compliant
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  2.0.0.0-dev71 * Fixed bugs:   * Fixed an issue with displaying product on the frontend when the product flat indexer is enabled   * Fixed an issue with applying catalog price rules on the category level   * Fixed an issue where the essential cookies like CUSTOMER, CART, and so on were not created in Google Chrome   * Fixed an issue with placing orders by customers assigned to a VAT group   * Fixed an issue with incorrect error message during registration, and inability for a shopper to ask for resending a confirmation email   * Fixed an issue where the Catalog module resource Setup Upgrade logic was broken * Modularity improvements:   * Moved abstract Core models and related logic to the Magento/Model library   * Moved the abstract DB logic and Core resource helpers to the Magento/DB library   * Eliminated the Core\Model\App class   * Moved the Magento Flag functionality to the library   * Resolved dependency of the Catalog and related modules on the Review module   * Moved indexers related logic from the Core module to the Indexer module   * Moved the Inline translation and user intended translate functionality from the Core module to a separate Translation module * Framework Improvements:   * Covered Magento library components with unit tests:      * Magento\Config      * Magento\Convert      * Magento\Controller      * Magento\Data\Collection\Db      * Magento\Mview      * Magento\Url and Magento/Url.php   * Covered Magento application components with unit tests:      * Magento\Checkout\Model\Config      * Magento\Checkout\Model\Observer      * Magento\Checkout\Model\Type      * Magento\Sales\Model\Config   * Renamed LauncherInterface to AppInterface * Improvements in code coverage calculation:   * Updated the whitelist filter with library code for integration tests code coverage calculation * GitHub requests:   * [#512] (https://github.com/magento/magento2/issues/512) -- Theme Thumbnails not showing   * [#520] (https://github.com/magento/magento2/pull/502) -- Corrected Search Engine Optimization i18n   * [#519] (https://github.com/magento/magento2/issues/519) -- New Theme Activation * Customer Service usage:   * Refactored the Log module to use Customer Service   * Refactored the RSS module to use Customer Service   * Refactored the Review module to use Customer Service   * Refactored the Catalog module to use Customer service layer   * Refactored the Downloadable module to use Customer service layer