- Oct 04, 2013
-
-
mage2-team authored
* Translation mechanism improvements: * Translate function ->__() was removed from Magento model interfaces. Global function __() was created * Added I18n tools for translation dictionary generation and language package generation * Configuration improvements: * Implemented Magento Config component that allows to create new configuration types in a simple way * Improved default/store/website configuration * config.xml file is designed to store only default/store/website configuration data * concrete store/website configuration is loaded on demand * Improved Install, Category, Product, EAV, Customer, Wishlist, PDF, VDE, Currency, Email Template, Crontab, Events, Routes, Modules, Locale, Import/Export, Indexer, Resources configuration segments: * Configuration moved to separate files. Some parts are transformed to DI configuration and moved to `di.xml` files * New configuration files are validated with XSD * Format of the configuration changed to make possible its validation * Improved configuration in `widget.xml`, `fieldset.xml`, `persistent.xml` and `install.xml` files: * `install.xml` was renamed to `install_wizard.xml` * The configuration is validated with XSD * Format of the configuration changed to make possible its validation * Some parts are transformed to DI configuration and moved to `di.xml` files * Removed `jstranslate.xml` files and moved all message definitions to `Magento_Core_Helper_Js`. * List of non-structured nodes from config.xml were transformed into DI configuration * JavaScript improvements: * Prototype.js usages converted to jQuery: * Deprecated prototype.js based method removed from app/code/Magento/Weee/view/frontend/tax-toggle.js * Removed deprecated prototype.js based file: app/code/Magento/Checkout/view/frontend/opcheckout.js * Updated to use jQuery redirectUrl widget vs prototype based solution: * app/code/Magento/Oauth/view/adminhtml/authorize/form/login.phtml * app/code/Magento/Oauth/view/frontend/authorize/form/login.phtml * app/code/Magento/Catalog/view/frontend/product/list.phtml * Removed file containing jQuery that did not meet the Magento 2 coding standard. Replaced with redirect-url widget * app/code/Magento/Catalog/view/frontend/js/mage-attributes-processing.js * Updated to meet Magento 2 coding standard: app/code/Magento/Checkout/view/frontend/cart/item/default.phtml * Added jQuery widgets: * mage.deletableItem - Widget to tag DOM element as deletable, by default on click * mage.fieldsetControls & mage.fieldsetResetControl - Widget to easily reset a subset of form fields with a reset ui control * mage.itemTable - Widget to easily add a data template block dynamically on an event, by default click. * mage.redirectUrl - Simple widget to allow for consistent javascript based redirects that meet the Magento 2 coding standard * Added new validation rules for validation widget: 'required-if-not-specified', 'required-if-specified', and 'validate-item-quantity' * Various improvements: * Changed VendorName from Mage to Magento * Implemented PSR-0 and PSR-1 Coding Standards * All Magento source code has been converted. * Tests have been written to enforce PSR-0 and PSR-1 coding standards. * Removed empty module setup models. Core resource setup model is used as a default setup model now. Custom setup model must be injected via DI configuration * Removed some events (plugins must be used instead): * adminhtml_widget_container_html_before * admin_session_user_logout * model_config_data_save_before * admin_system_config_section_save_after * backend_menu_load_after * catalog_controller_category_init_before * catalog_helper_output_construct * catalog_controller_product_init * catalog_category_tree_move_before * catalog_category_tree_move_after * catalog_product_website_update_before * catalog_product_website_update * catalog_product_media_save_before * catalog_product_media_add_image * catalog_product_type_grouped_price * catalog_product_collection_load_before * catalogsearch_index_process_start * catalogsearch_index_process_complete * cms_page_get_available_statuses * cms_wysiwyg_config_prepare * application_clean_cache * theme_copy_after * customer_registration_is_allowed * log_log_clean_before * log_log_clean_after * sales_convert_quote_payment_to_order_payment * sales_convert_quote_item_to_order_item * sales_quote_config_get_product_attributes * Removed the Poll module including references and dependencies to/on it. * Redesign and reimplementation of web services framework * Removed the Api module and all existing SOAP V1, SOAP V2, and XML-RPC web services code * Implemented new web services framework to support both REST and SOAP based off of a common service interface * Implemented a 2-legged OAuth 1.0a based authentication mechanism for both REST and SOAP API calls * Layout improvements: * Arbitrary handle name moved to handle node, id attribute * New arguments format, which introduce argument types implemented * Translation specified just on the level of node which is going to be translated * XSD validation for Layouts XML added * Referential integrity check with XSD introduced * Added ability to update containers via references * Type casting for all kind of types (url, option, array and simple types) added * Covered introduced argument types with integrity test * Types restrictions was implemented * Removed access to direct execution of API through layout by removing <action> nodes * Implemented ability to declare containers in layout that don't have any specific semantic value * Removed handle declaration from layout update files. Name of the file stands for the handle ID and handle's attributes are defined in the root <layout> node * PHP 5.4 and 5.5 support: * Made application compatible with PHP 5.4 and 5.5 * Removed workarounds for older PHP versions * Minimum supported PHP version is set to 5.4.0 * God Class Mage Eliminated * Fixed bugs: * Fixed address field "State/Province" on frontend, which contained "[object Object]" items instead of necessary values * Fixed overriding/extending of global plugin configuration in area specific configuration
-
- Aug 17, 2013
-
-
mage2-team authored
* Product management improvements: * Added ability to create variation on the Product creation page * Added ability to add attributes on the Product creation page. Attribute values also can be added directly from the Product creation page * Removed "Delete" button from the Product Edit page. Products can be deleted from Products Grid only * Enhanced Product Edit page * Improved visual styles and business logic for new category creation from product creation page * Updated button names for Grouped and Bundle products, added an ability to translate them * Changed design of all popup windows on product creation page * Simplified UI to add an attribute: made less fields there by default, restructured element positions, hidden rarely-used controls * Created a popup to select image for product variations * JavaScript improvements: * Eliminated `json2.js` library since JSON parsing is bundled in all supported browsers * `Ajax.Autocompleter` is replaced with jQuery suggest widget for search in backend * `jsTree` jQuery plugin is utilized for User Roles, Api Roles, CMS Pages and URL Rewrites management pages in backend * Improved jQuery validation for credit cards * Added support of `$.mage.component` in some frontend themes * Further refactoring of JavaScript to use JQuery library: * Scripts are converted in the following modules and components: Centinel, Authorize.net, Payflow Link, Payflow Pro, Paygate, Paypal Express, Checkout, Captcha * Refactored Prototype-based implementation of validation in "New Category" dialog to use jQuery * Removing Prototype inclusion in several places * Enhanced menu behavior in backend * VDE improvements: * Implemented inline translate tool for VDE * Added new dedicated button "T" in interface * 3 different modes: Page Text, Variable Text (for script texts), Alternative Text (for attributes) * Independent enabling of inline translation on frontend and in VDE * Modified some text messages in VDE and in themes management * Added ability to upload, browse and delete images and fonts that can be used in custom CSS * Added ability to duplicate a theme * Added ability to revert theme modifications to a last saved checkpoint * Improved theme's background image handling * Added alert, when deleting a block * Removed drag-n-drop feature * Refined and streamlined interface * HTML improvements: * Enhanced accessibility in admin by labeling form fields * Payment improvements: * Incorporated changes to the PayPal UI configuration from CE 1.7.0.1 * Moved PayPal configuration to the Payment Methods menu section * Set the default value of the cUrl `VERIFYPEER` option to `true` for PayPal and added the ability to change this value * Changed the design and position of the configuration field tooltips * Removed support of Moneybookers payment method and underlying module in favor of 3rd party extensions * Implemented support of PayPal IPN protocol HTTP 1.1 * Implemented a single place to configure credentials for Payflow Link and Express Checkout * System Configuration improvements: * Added the functionality for creating nested field sets * Implemented the support for the extended and shared configuration fields * Added the ability to define dependencies between fields from different field sets * `Varien_Image` library refactored: * Created adapters factory instead of class `Varien_Image_Adapter` * Refactored ImageMagick and GD adapters to make them testable * Added feature of generating image from text * Support of Google services: * Changed module `Mage_GoogleOptimizer` to support Google Content Experiment instead of Google Optimizer * Implemented support of Google AdWords on the checkout success page * DI improvements: * Added ability to configure DI for individual class instances * Added ability to pass differently configured instances to different parts of the system * Refactored proxy and factory generation mechanism * Layout improvements: * Implemented all-new mechanism of layout merging and customization: * Convention over configuration approach is used, i.e. there is no need to declare layout files in module configs anymore * Added support for merged modular layout files in a theme instead of single `local.xml` theme file * All theme `local.xml` files are broken down and moved to theme modular layout files * All the layout files are broken into smaller ones - one layout handle per one file, so that code duplication cane reduced, when overriding layout files in themes * Covered new layout customization mechanism with integrity tests * Relocated several files, declared in layouts * Streamlined several design customizations * Various improvements: * Refactored fallback paths to prevent searching of modular view files in non-module context, covered application with appropriate integrity test * Added configuration for limits on sending wishlist emails * Refactored default theme fixture in integration tests in order to divide it into smaller and easier to understand fixtures * Moved Currency Symbol module files from Adminhtml module to the module itself * "Contact Us" page is available through HTTPS only * Language selector for backend interface removed from footer. Language can be chosen on My Account page or on backend user edit page * Updated page titles in backend * Improved mechanism of notification and system messages in backend. All related blocks and controllers are moved to AdminNotification module. Enhanced visual representations of notifications: bubble for unread messages, popup for notifications and their descriptions * Updated text of some system messages, backend interface messages, backend menu items * Several classes are refactored to use Event Manager instead of `Mage::dispatchEvent()` * Improved test coverage of entry point classes * Improved authorization logic to be reusable with minimal configuration changes * Introduced App Area in Integration Testing Framework * Improved media entry point * Added plugins/interceptors support for easier extensibility of Magento functionality * Added `application_process_reinit_config` event, so that it is possible to react, when Magento config gets reinitialized * Added "less" to a list of files that are not published to the public directory during deployment process * Eliminated requirement of write access to `pub/static` directory in "production" mode. "Developer" and "default" modes still require write access to this directory * Improved test coverage of recently introduced `Mage_Core_Model_Config_` classes * Added proper description to the error message, shown when uploading too big file with a content to import * Refactored `Mage_Core_Model_Design_Package` - broken it down into several smaller classes according to the sets of responsibilities * Refactored Theme and Theme Service models to follow best practices of OOP design * Removed legacy API tests * Improved transparency of cache control by tag scope in the framework * Improved verification process for the application directories write-access by moving it to the top-level of framework initialization * Introduced separate configurable application directory to be used for merged Javascript files * Implemented support for minification of Javascript files; JSMin library adapter is created * Implemented explicit usage of cache type in collections; engaged it for website, store and store view collections; added tests for a number of collections * Implemented explicit usage of cache types in translations * Implemented explicit usage of cache types in layouts * Removed ability to set limits on maximal amount of categories, products, websites, stores, store views and admin users as an unusable feature * Improved and simplified path normalization methods in `Magento_Filesystem` component * Implemented proper exceptions instead of PHP warnings in `Magento_Filesystem` component * Introduced `Mage_Core_Model_ModuleManager` to provide "enabled" information about modules * Enabled following cache types in integration tests to improve performance: configuration, layouts, translations, EAV * Improved and refreshed design for backend * Removed "demo_blue", "iphone" and "modern" themes * Converted more backend grids from PHP implementation to layout declarations * Refactored experimental implementation of Service Calls Framework * All code from to `lib/Magento/Datasource` and `app/code/Mage/Core/Datasource` moved to `app/code/Mage/Core/DataService` * Added service calls support in Layout model * Fixed bugs and architectural flaws * Changed service calls declaration * Improved test coverage * Introduced mechanism to retrieve values from nested arrays by path * Added Invoker class to invoke service calls by given name * Added ability to define system configuration options via service calls. Refactored implementation for select field in XML * Refactored support of Twig templates * Removed experimental implementation of product view page with Twig templates * Template abstraction moved to separate module `Mage_Core_Model_TemplateEngine` * Modified various blocks and templates due to inability to call protected methods from templates * Improved test coverage * Refactored support for webhooks * Code that provides communication with outbound endpoint moved to library `Magento_Outbound` * Code that provides implementation of publish-subscribe mechanism and instruments moved to library `Magento_PubSub` * Removed experimental webhook implementation in client code * Used WebApi mechanism to provide authorization * Improved UI for working with webhooks in Magento backend * Improved test coverage * Removed support of callbacks from the framework * GitHub requests: * [#71](https://github.com/magento/magento2/pull/71) -- Add event prefix for Cms blocks * [#108](https://github.com/magento/magento2/pull/108) -- Fix issue with `PHP_VERSION` on Ubuntu servers * [#110](https://github.com/magento/magento2/pull/110) -- Fixes `Varien_Io_Sftp::write`, `Varien_Db_Adapter_Pdo_Mysql::insertOnDuplicate` * [#123](https://github.com/magento/magento2/pull/123) -- Performance problem & memory leak in `Mage_Index_Model_Process` * [#125](https://github.com/magento/magento2/pull/125) -- Ability to disable triggering controller action * [#148](https://github.com/magento/magento2/pull/148) -- Fixed readability * [#156](https://github.com/magento/magento2/pull/156) -- Event `adminhtml_cms_page_edit_tab_content_prepare_form` and `$form->setValues($model->getData());` in wrong order * [#161](https://github.com/magento/magento2/pull/161) -- FIXED `http://www.magentocommerce.com/bug-tracking/issue/?issue=7419` * [#176](https://github.com/magento/magento2/pull/176) -- Add print/log query flags to collection * [#202](https://github.com/magento/magento2/pull/202) -- Installer fails to detect `InnoDB` on `MySQL 5.6+` * [#215](https://github.com/magento/magento2/pull/215) -- There is no sort-order "best value" * [#217](https://github.com/magento/magento2/pull/217) -- Update `app/code/core/Mage/Adminhtml/locale/de_DE/Mage_Adminhtml.csv` * [#243](https://github.com/magento/magento2/pull/243) -- Fix helper for determining system memory usage on Windows (pull request for issue #237) * [#267](https://github.com/magento/magento2/pull/267) -- Issue with camel case in cusutom defined source models * Bug fixes: * Fixed absence of a product for store view created after the product * Fixed incorrectly displayed or absent product image on configurable product pages * Fixed incorrectly displayed Tier Price message for Bundle product in backend * Fixed absence of configured options, when composite product is edited from wishlist * Fixed inability to set product rating from backend * Fixed bug with adding product with decimal quantity * Fixed bug with incorrect theme saving when wrong preview file is uploaded * Fixed incorrectly displayed error message when unsupported JavaScript file is uploaded while editing a theme * Fixed bug with incorrect price and stock availability information * Fixed absence of "Delete" button on Widget Instance and Edit Custom Variable pages * Fixed inability to change PayPal configuration * Fixed inventory return after cancelling order, paid with PayPal Website Payment Standard method * Fixed removal of all the items from shopping cart, when cancelling payment by PayPal Website Payment Standard method * Fixed issue with customer address saved in `sales_flat_quote_address` table as `null` or as default address instead of new one during checkout * Fixed hard dependency on GD extension during installation. Now the application can be installed if any of GD or ImageMagick extension is enabled * Fixed handling of creation a customer with already existing e-mail in backend * Fixed exception on customer edit page, when profiler is enabled * Fixed removal of "NOT LOGGED IN" customer group, when attempting to delete nonexistent group * Fixed absence of a welcome email for a new customer that is created in backend * Added validation of customer DOB * Fixed bugs related to "Add Store Code to Urls" configuration setting: the setting applied to backend and produced exceptions on frontend * Fixed inability to edit Newsletter Template * Fixed inability to preview Newsletter Template while creating it * Fixed inability to save Configuration from "Web" tab * Fixed incorrect roles assignment for backend users * Fixed incorrect message during checkout via Authorize.Net * Fixed inability to create order in backend with Authorize.Net as payment method * Fixed unexpected alert during one-page checkout * Fixed bug with broken RSS link on some pages * Fixed inability to delete non-empty customer groups * Fixed bug with absent tracking number in notification email * Fixed JS bug in bundle products * Fixed bug with missing product configuration in bundle products * Fixed absence of a summary for a configured bundle product on Product View page * Fixed bug with missing wishlist grid on customer configuration page * Added validation for the "Weight" field in Product Create/Modify admin form * Fixed infinite loop in reports, when one of the GET-parameters was not submitted * Fixed integration test that failed at the midnight * Fixed image placeholder, being displayed instead of Base image, in Product View page * Fixed multiple bugs in IE 8 and 9 * Restored export for table rates * Fixed weight calculation for DHL * Fixed anchor categories, which didn't show products from child categories * Fixed exception, when applying catalog price rules * Disabled "State" dropdown for Tax Rates in countries, where there are no states * Fixed inability to save a CMS page * Fixed Javascript calendar in backend Customer grid * Fixed issues with fields validation on order management page * Fixed taxes on Bundle product page * Fixed "Rating isn't available" message on Edit Review page * Fixed lack of data in New Order emails, when order is composed at backend * Fixed exception message, when importing wrong tax rates file * Fixed editable multiselect control - new value was not shown there, when added * Fixed exception, when saving a configurable product without associated products * Fixed inability to properly save system configuration, when submitting files there * Fixed performance issue with excessive generation of category menu on "Add to Cart" page * Fixed amounts, being shown in a wrong currency, when viewing created order * Fixed calculation for amount of items, remaining in an order, after shipping and invoicing * Fixed wrong price, calculated, when ordering multiple bundle products in backend * Fixed issues with changing order statuses in backend * Tested backend design, fixed the discovered issues - general and browser-related bugs * Fixed order items, that have been shipped with Free Shipping method, to have "free shipping" status * Fixed issue with a State field being required in countries, where it is not mandatory * Fixed inability to upload a file via File custom option, when ordering a product at frontend * Fixed incorrect cron timezone settings * Fixed performance issues with product saving in case of concurrent search requests * Fixed bug in migration script * Fixed incorrect email when "Send auto-generated password" was hit * Fixed bug with missing category image * Fixed incorrect handling of `GET` parameter `isAjax` after session expiration * Fixed incorrect translation of "month" field for customer's birthday * Fixed Google Analytics script inclusion * Fixed bug with excessive custom rewrites after reindex * Fixed performance tests failure on login page * Fixed incorrect value for average rating on Edit Review page * Fixed bug with incorrect module configuration overriding * Fixed exception in Nominal Tax model * Fixed bug in sitemap URL used in `robots.txt` * Fixed bug with incorrect `custom_design` field value during export * Fixed bug with incorrect RSS title * Fixed CSS style for validation message in CMS widgets * Fixed bugs in `Mage_Tag` module on product creation page * Fixed incorrect Products In Cart report * Fixed incorrect price for bundles with default quantity more than 1 * Fixed displaying of "Import Behavior" section in the `System -> Import` page * Fixed exception, when importing a CSV file with Byte Order Mark * Removed remains of code pools in JavaScript tests * Fixed bugs in shipping label creation * Fixed inability to save some sections of configuration * Fixed bug with empty "New Shipment" e-mail * Fixed inability to save Attribute Set in IE8 * Fixed wrong tax summary for partial invoices and credit memos * Fixed bug with categories custom design, where the chosen theme was not applied * Fixed empty list of themes in CMS pages and Frontend Apps backend sections * Fixed fatal error, when trying to access a customer account in a non-installed Magento * Fixed Javascript error, when accessing system Design configuration in Chrome * Fixed wrong representation of a widget on frontend, after hiding and showing WYSIWYG editor during CMS page modification * Fixed exception, when using 2-level cache backend * Fixed random test failures in `Mage_CatalogSearch_Block_Advanced_ResultTest` * Fixed duplication of a view file signature, e.g. "file.ext?mtime?mtime" * Prevented tracking of merged Javascript files metadata (and re-merging them) in production mode * Fixed incorrect memory usage calculation in Integration tests * Fixed issues in performance test scenarios * Fixed inability to delete customer's address on frontend * Fixed incorrect "No file chosen" message, shown after a successful upload of product image placeholder in Chrome * Made "Print Order" page to display theme-customized logo instead of a default one * Fixed other bugs in management of categories, products, product attributes, product templates (attribute sets), customers, taxes and tax rules * Product creation fixes: * Fixed inability to search and select category in IE8, including via mouse * Fixed usability of category search tree field to not hang after entering each symbol * Fixed inability to select/change attribute for product variations (configurable product) in IE8 * Fixed field highlighting and error placement after validation on "Create Category" dialog * Fixed validation of parent category to be a require field * Fixed bug with displaying special price for a product on frontend after the product template is switched to one without special price * Fixed incorrectly displayed regular price for products with catalog price rule applied * Fixed inability to upload an image in the WYSIWYG editor * Fixed Javascript error, when replacing variation image in IE * Fixed Javascript errors in production mode * Unified look of all the popups * Removed "Add Attribute" link, when Product Details section is collapsed * Fixed issue with product template selector menu, which was not shown * Shopping Cart Price Rule fixes: * Fixed inability to save Shopping Cart Price Rule with Coupon = "No Coupon" * Fixed saving of Shopping Cart Price Rule having specific coupon * Fixed absence of fields on rule information tab * Payment fixes: * Fixed PayPal Pro (formerly Website Payment Pro) to pass shipping address in request to PayPal service * Fixed triggering of a credit memo creation when Charge Back notification comes from PayPal * Fixed emptying shopping cart after canceling on PayPal page * Fixed error "10431-Item amount is invalid." when a Shopping Cart Price Rule is applied in Express Checkout Payflow Edition * Fixed PayPal Payments Pro Hosted Solution to send "City" in place of the "State" parameter for UK and CA, if Region/State is disabled in the configuration * Fixed ability to invoice order without providing payment using Google Checkout API * Fixed validation of a Discover card number * Fixed issues in configuration for payment methods: absence of "Sort Order" field, excessive fields with class name as a value, issues with form elements and groups * Fixed exception, when using 2-level cache backend * Fixed inability to place order with PayPal Payments Advanced and Payflow Link payment methods * VDE fixes: * Removed full file path information from the title of an uploaded store logo * Fixed bugs in VDE with color picker, file uploader, themes assigning, Remove and Update buttons for custom CSS * Fixed hint for the Scripts palette in dock * Fixed inability to upload more than one Javascript file * Fixed bug with improper scaling images in UI * Fixed inability to preview and edit a physical theme * Fixed inability to delete a block * Fixed inability to delete a background image * Fixed preview of a virtual theme in production mode * Fixed JavaScript tests * Fixed bugs with inline translation * Added validation to the theme name field * Fixed absence of error message in IE, when uploading unsupported file type in Theme Javascript * Fixed corrupting of a `custom.css` file, when saving Custom CSS text * Fixed wrong design of "Chain" and "Reset to Original" image buttons * Fixed color picker, being cut off by small browser window * Fixed bottom indent in "Quick Styles" panel - it was too big * Fixed corrupted layout of "Image Sizing" tab, when resizing browser window * Fixed "We found no files", being displayed all the time in the form to upload theme Javascript files * API fixes: * Added missing fields to SOAP API * Fixed inability to set default customer address * Fixed error message, when saving a customer with wrong email address * Fixed inability to create partial order shipment * Fixed absence of special price information in return of `productGetSpecialPrice` method * Fixed incorrect content length of server response * Fixed absence of `productAttributeAddOption`, `catalogProductAttributeUpdate`, `catalogProductAttributeTypes`, `catalogProductAttributeRemoveOption` and `catalogProductAttributeInfo` methods with WS-I mode enabled * Fixed absence of `catalogProductDownloadableLinkList` method * Fixed bug with incorrect credit memo creation when order item id is set * Fixed bug with inability to update stock status or price of multiple products in one call * Fixed `shoppingCartOrderWithPaymentRequestParam` method description in WSDL * Fixed inability to add comment to order without changing order status * Fixed incorrect redirect after SOAP POST request * Fixed inability to end session by `endSession` method * Fixed Save button for Web Services User Roles in backend * Fixed memory issue due to incorrect filtering for the single field in `salesOrderList` method * Fixed bug with getting product information by numeric SKU * Fixed inability to add configurable product by `cart_product.add` method * Fixed ACL initialization in WebApi * Fixed bug with the same cache key used for both WS-I and non WS-I WSDL files * Fixed bug with updating shopping cart by `shoppingCartProductUpdate` method * Fixed product id validation in `shoppingCartProductAdd` method * Fixed absence of tracking number in `salesOrderShipmentInfo` method response * Fixed absence of tracking number in shipment transactional email
-
- Apr 07, 2013
-
-
mage2-team authored
* Product creating & editing: * Added ability to control base text styling without WYSIWYG when editing description fields * Added validation for price and quantity fields * Removed category suggest limit * Product template management: * Automatically update Product Template when modifying structure in Create Product flow * Improvements to change attribute set functionality * Refactored JavaScript to use JQuery library: * Refactored the following pages: catalog tags, one page checkout, multishipping checkout, gift options, gift messages (across the board) * Converted jQuery popupwindow.js plugin to a jQuery widget * Replaced Prototype code for Switch/Maestro and Solo credit card with jQuery widget * Replaced Prototype Validation with jQuery validation plugin * Converted credit card payment tool tip to jQuery in all themes * Removed legacy JS files from all themes * Various improvements in look & feel of backend UI: * Styling of components: catalog, sales, customers, reports, CMS, newsletter * Generic styling: grids, popup windows * Changes to support IE browser * Enhancements in "suggest" JavaScript widget: * Ability to delete selected item using keyboard * Ability to display all available search items, if "recent items" is empty * Fixes of behavior of currently selected elements and "spinner" * Display "No Records" message in suggest widget if all items already selected * Fixed suggest widget to no longer show deleted items * Improved `Magento_Test_Helper_ObjectManager` in unit tests to discover types of constructor arguments * Removed workaround of unsetting objects referenced in `tearDown()` of integration tests * Updated Menu and Navigation layout, including redesigned backend menu item System -> My Account * Made store address format consistent with format of shipping origin address * Added ability to navigate directly to a section in backend system configuration, with corresponding accordion expanded * Removed some of unnecessary coupling between several modules * General improvements to unit and integration test code coverage, as well as compliance with coding standards * Application framework: * Implemented ability to compress/decompress data in a cache backend * Verified ability to disable in configuration triggering of system upgrade * Abolished code pools and the mechanism of overriding files using include\_path (without alternative) * Implemented segmentation of cache by types -- ability to assign separate cache configuration per type. Reviewed and verified possibility to isolate configuration cache segment * Segregated application configuration into several layers. Primary configuration is used by the object manager and loaded before application is initialized * Instead of `Zend\Di`, implemented `Magento\ObjectManager` library that has less features and suits Magento application needs better in terms of performance * Introduced "context" object as dependencies for super-classes (`Mage_Core_Model_Abstract`, `Mage_Core_Block_Abstract`, etc) to reduce complexity of their constructors' API * Implemented tools for pre-populating all auto-generated proxy and factory classes, used by dependency injection framework * Replaced "developer" mode with general "mode", that has 3 states: developer, default, production * In "production" mode, the application will not invoke fallback for static view files (images, CSS-files, JavaScript). Instead, it will assume that they are already placed in a fully qualified location. Added tools for populating static view files from `app` directory into `pub/static` * Introduced support for Twig templating * template rendering, including phtml, was abstracted into a 'Template Engine' to make support for other template engines easier * included Magento-specific Twig functions and filters * phtml templates can now only access public methods of the corresponding Block class * ability to define dependencies on data provided by a service that is then made available to the templates -- eliminates some of the code in Blocks * Introduced support for webhooks and callbacks: outbound HTTP requests for notifications and real-time integrations * Added ability to define options for System Configuration select fields in XML: static options are defined inline, dynamic options can reuse data provided by a service * Moved product business logic found in blocks into `Mage_Catalog_Service_Product` to consolidate logic into a single structure that both controllers and web services can invoke * Converted product view page to demonstrate use of Twig templates and services * Updated shipping carrier `collectRates` logic to support remote callbacks and converted the FedEx shipping carrier to comply with the same interface * Added webhook support for the following topics: `customer/created`, `customer/updated`, `customer/deleted`, and `order/created` * Visual design editor: * Ability to view all CSS-files of a theme * Ported numerous features of visual design editor from Magento Go 1.x to Magento Core 2.x: style editing, managing catalog images * Various improvements in UI * Improved image sizing functionality * Improved test coverage * Ability to launch physical themes, including workflow preview mode and workflow design mode * Ability to duplicate existing themes for customization * GitHub requests * [#162](https://github.com/magento/magento2/pull/162) -- classmap needs to be prepended to autoloader stack to have any effect * [#179](https://github.com/magento/magento2/pull/179) -- fix that makes `Mage_Install` compatible with the new version of SimpleXml * [#180](https://github.com/magento/magento2/pull/180) -- fixed `getBaseUrl()` when type was injected via setter * [#203](https://github.com/magento/magento2/pull/203) -- fixed problem with login in to backend area on php 5.4 * [#216](https://github.com/magento/magento2/pull/216) -- explicit nullification of `$_store` in `Mage_Core_Model_Sore_Storage_Db->_initStores()` * [#220](https://github.com/magento/magento2/pull/220) -- make topmenu HTML editable by an event * [#221](https://github.com/magento/magento2/pull/221) -- changed minimum required PHP version from PHP 5.2.3 to 5.3.3 * Bug fixes: * Restored missing Paypal configuration options * Fixed numerous display issues on the following pages: admin login, product management, category management, CMS poll, VDE, tax, shipping * Fixed XSS vulnerability related to customer data & bundle options * Fixed "Preview Theme" functionality * Fixed JS File upload problem with Internet Explorer * Replaced `truncateOptions` function in `varien/js.js` with inline widget * Fixed broken XPaths in `SystemConfiguration.yml` * Fixed jQuery metadata plugin's data attribute scanning for validation * Synchronized default value of `quantity_and_stock_status` with Stock Availability control * Fixed display of G.T. Purchased column in Order grid when order in non-default currency * Fixed Foreign Key support for MS SQL * Fixed "Create Customer" functionality on New Order screen * Restored State/Province field to Review Order page * Fixed Add New Tax Rate functionality * Fixed problem with displaying New Shopping Cart Price Rule tab * Fixed problem of configurable product options getting lost when adding product to wishlist * Fixed UPS Shipping label printing * Fixed performance issue with Catalog Management * Fixed input file type validation when importing customers * Fixed custom product placeholder image display * Added missing files referenced by `quick\_style.css` * Fixed validation error messaging and message placement * Fixed access problem to SOAP/XML User and Roles pages * Fixed access problem created when editing your own permissions * Several fixes for problems with cleaning cache in tag scope * Fixed invalid link problem in Gift Card email * Fixed problem with deleting selected product category after changing attribute set * Fixed theme management for Windows by adopting `Magento_Filesystem` abstraction to access directories * Fixed cart rendering in case of empty cart * Remove duplicate "Link to Store Front" link from admin, made obsolete by "Customer View" link * Removed "Flat Rate" from pre-installed shipping methods
-
- Feb 07, 2013
-
-
mage2-team authored
* All-new look & feel of backend UI -- "Magento 2 backend" theme * This theme includes "Magento User Interface Library" -- a set of reusable CSS-classes, icons and fonts * Theme editing features (in backend UI): * Ability to view static resources, such as CSS and JavaScript files, which are inherited by virtual themes from physical themes and application, and library * Ability to upload and edit custom CSS/JavaScript code assigned to a particular virtual theme * Ability to manage image and font assets for virtual themes * The uploaded or edited theme resources are used in page generation * Ability to rename virtual themes * Physical themes are read-only * Visual design editor: * Ability to enter a "Design Mode" directly from the list of "My Customizations" in "Design Gallery" * Updated styling of theme selector and VDE toolbars * Added functional limitations (managed through configuration files): * Ability to limit maximum number of store views in the system * Ability to limit maximum number of admin user records in the system * Introduced mechanism of early discovery of memory leaks in integration tests: * Added ability to integration testing framework to detect usage of memory and estimate memory leaks using OS tools outside of PHP process * Also ability to set memory usage threshold which would deliberately trigger error, if integration tests reach it * Refactoring in integration tests: * Broke down `Magento_Test_Bootstrap` into smaller testable classes * Minimized amount of logic in `bootstrap.php` of integration tests * Factored out memory utility functions from memory integration tests into a separate helper * Removed hard-coding of the default setting values from `Magento_Test_Bootstrap` in favor of requiring some crucial settings * Fixed integration tests dependency on `app/etc/local.xml`, changes in which were involved into the sandbox hash calculation `dev/tests/integration/tmp/sandbox-<db_vendor>-<hash>` * Improvements in JavaScript widget "Suggest" (`pub/lib/mage/backend/suggest.js`): * Added ability to set callback for "item selection" * Added ability to provide a template in widget options * Implemented "multiple suggestions" ability directly in this widget and removed the "multisuggest" widget * Converted several grids in backend from PHP implementation to declarations in layout * Other various improvements: * Factored out logic of handling theme images from `Mage_Core_Model_Theme` into `Mage_Core_Model_Theme_Image` * Ability to filter file extensions in uploader component * Publication of resources linked in CSS-files will only log error instead of crashing page generation process * Bug fixes: * Fixed several memory leaks in different places, related with dispatching controller actions multiple times in integration tests and with excessive reference to `Mage_Core_Model_App` object * Fixed integration test in `Mage_Install` module that verifies encryption key length * Fixed DHL shipping carrier declaration in config that caused inability to use it with shopping cart price rules * Fixed issues in generating of configurable product variations when the button "Generate" is invoked second time * Fixed an error that caused inability to create a theme in Windows environment in developer mode * Fixed various errors in JavaScript tests for visual design editor * Fixed broken "Edit" link on backend product management page
-
- Feb 02, 2013
-
-
mage2-team authored
* Implemented ability to customize all the main directory paths for the application, i.e. locations of `var`, `etc`, `media` and other directories * Implemented ability to pass application configuration data from the environment * Magento Web API changes: * Added SOAP V2 API coverage from Magento 1.x * Improved integration testing framework to develop Web API tests. Covered SOAP V2 API with positive integration tests. * Changed `Mage_Webapi` module front name from `api` to `webapi` * Improvements for product creation UI: * Implemented AJAX suggestions popup and categories tree popup for convenient assignment of categories * Moved selection of Bundle and Grouped sub-products to the "General" tab, implemented popup grids for them * Made "Weight" checkbox to be selected by default for a Configurable product * Implemented integration test to measure and control PHP memory leak on application reinitialization * Changed format of configuration files for static tests that search for obsolete Magento 1.x code * Bug fixes: * Fixed Web API WSDL incompatibility with C# and Java * Fixed issue, that Magento duplicated custom options field for a product, if creating them via a multi-call to API * Fixed `shoppingCartPaymentList` method in Web API, which was throwing exception "Object has no 'code' property" * Fixed invalid Wishlist link and several invalid links in Checkout on frontend store view * Made Stock Status in 'quantity_and_stock_status' attribute editable again for a Configurable product * Fixed issue, that it was not possible to save Customer after first save, because "Date Of Birth" format was reported by Magento to be incorrect * Fixed fatal error in Code Sniffer exemplar test * Fixed wrong failures of `Varien_Db_Adapter_Pdo_MysqlTest::testWaitTimeout()` integration test in developer mode * Fixed issue, that mass-action column in backend grids moved to another position in single store mode
-
- Dec 15, 2012
-
-
mage2-team authored
* Enhancements of System Configuration: * Introduced new items that can be configured in the similar to Magento 1.x way, using xml files: nested groups in System Configuration form, group dependencies, intersected dependencies * Enhanced handling of field dependencies, required fields functionality * Changed Configuration structure to be represented as an object model * Improved performance of configuration rendering * Implemented new API in `Mage_Webapi` module * Removed `Mage_Api` and `Mage_Api2` modules as obsolete API implementation * Added support of REST and SOAP 1.2 [WS-I 2.0](http://ws-i.org/Profiles/BasicProfile-2.0-2010-11-09.html) APIs * Introduced versioning per API resource. The application will support old version(s) of API after upgrading to not make old API requests fail * Unified implementation for all API types * Significantly simplified coverage of new API resources * Added two-legged `OAuth` 1.0 for REST authentication * Added WS-Security for SOAP authentication * Added automatic generation of REST routes and SOAP WSDL on the basis of API class interface and annotations * Introduced generation of API reference from annotated WSDL (for SOAP API) * Introduced service layer. Business logic should be implemented once on service layer and could be utilized from different types of controller (e.g., general or API) * Business logic is implemented on service layer to be utilized from different types of controller (e.g., general or API) * Implemented abstract service layer class - `Mage_Core_Service_ServiceAbstract` * Implemented concrete service layers for customers, orders and quotes. Appropriate duplicate logic has been eliminated from controllers and API * Improved validation approach: * Added support of describing validation rules in a module's configuration file - `validation.xml` in the module's `etc` directory * Added `Mage_Core_Model_Validator_Factory` * Added new validators to Magento Validator library * Added `Magento_Translate_Adapter` as a translator for the validators * New approach is utilized in `Mage_Customer`, `Mage_Eav` and `Mage_Webapi` modules * Added profiling of DB and cache requests * Minor Improvements: * Added an ability to choose the image for logo and upload it from backend web-interface * Added notification in backend in case of product SKU change * Bug fixes: * Fixed bug in `Mage_Adminhtml_Sales_Order_CreditmemoController` that changed item’s stock status after each comment * Removed `Debug` section in `System -> Configuration -> Advanced -> Developer` for default configuration scope * Fixed bug in `Mage_Tax_Model_Resource_Calculation` that prevented placing order with two tax rules having the same rate * Removed `Url Options` section in `System -> Configuration -> General -> Web` for website and store configuration scope * Changed backend template for UPS shipping provider to fix translation issue * Fixed security issue - set `CURLOPT_SSL_VERIFYPEER` to `true` by default in cUrl calls * Added `Zend/Escaper`, `Zend/I18`, `Zend/Validator` ZF2 libraries * Updated `Zend/Server` and `Zend/Soap` libraries to ZF2 versions
-
- Dec 01, 2012
-
-
mage2-team authored
* Improved Themes functionality to meet the following requirements: * Magento instance doesn’t crash in case there’re no themes at all * Features like selection of themes in system configuration, custom theme selection in Custom Design, CMS pages, Products and Categories can work without themes. They use base view files only. * Virtual themes work in the same way as the non-virtual (which are present in file system) though they additionally have inheritance property. Changes were made in theme switcher, in fallback mechanism, in widgets etc. * Non-virtual themes are being added to DB during installation * Application framework uses theme id as identifier instead of theme code * Refactored a variety of report grids in backend (admin) to make them configurable through layout, rather than hard-coded. * Removed obsolete modules: * `Mage_XmlConnect` * `Mage_Dataflow` * Significantly changed Logging subsystem: * `Mage_Core_Model_Logger` class is responsible for logging * Changes are made to comply with DI paradigm * Custom logger in `Mage_Backend_Menu` subsystem is removed due to usage of regular one * Changes made in autoload process * Fixed autoload to prevent `class_exists()` from causing fatal error * The `Magento_Autoload` library was divided into 2 classes: `Magento_Autoload_IncludePath` is responsible for loading from include path, `Magento_Autoload_ClassMap` from a class map. Stacked "class map" loader on top of "include path" loader in application bootstrap. * Implemented new jQuery form widget. Its responsibility is to prepare form for submission (change form attributes if needed) * Replaced usage of different instances of `varienForm` with a new form widget (`productForm`, `categoryForm`, instances of type "onclick declaration", "as child component", "instantiation only") * Replaced prototype validation with jQuery analog * Additionally implemented form widget in different modules (CMS, Customer, Backend, Sitemap, DesignEditor, Tags, SystemEmail, Newsletters, ImportExport, Connect, Authorize.net) * Minor improvements * Fixed css styles for validation messages in different parts of the system * Removed usage of `jquery-ui-1.8.21.custom.css` * Updated versions of jQuery and jQuery-UI on backend * Updated Magento trademark and copyright labels at the bottom of pages: changed legal entity name to X.Commerce, Inc, made translation engine pick them up * Improvements made in indexers to stabilize tests. Fixed wrong initialization order of indexers that sometimes caused failure of reindexing all at once * Bugfixes: * Set correct order's data change state during voiding the order * Set translator to pick up status labels in drop-down in "Shopping cart price rule" admin grid * Fixed an issue in console installer that initialized application in such a way, that it could not load certain event area. * Fixed incorrect loader image source in backend during new tax rule creation * Fixed JS error in IE with creating products via floating toolbar * Fixed image save url during uploading product's images * Added permission check for editing shipping and billing addresses during viewing the order * Changed saving of order comments from backend. Comment is saved even without status change * Added additional validation into `quickCreateAction` of `Mage_Adminhtml_Catalog_ProductController` to prevent saving new product with any id using firebug * Fixed JS errors in Authorize.net Direct Post submodule * Fixed JS errors in split button on creating product * Fixed errors in poll's list template in backend
-
- Sep 27, 2012
-
-
mage2-team authored
* Refactoring Magento 2 to use jQuery instead of Prototype: * Implemented simple lazy-loading functionality * Converted decorator mechanism to jQuery * Moved Installation process to jQuery * Moved Home, Category and Simple Product View pages to jQuery * Moved all frontend libraries from `pub/js` directory to `pub/lib` * Improved Javascript unit tests to be consistent with other test frameworks in Magento * Added Javascript code analysis tests to the static tests suite * Added jQuery file uploader for admin backend, cleaned out old deprecated uploaders * Implemented fixture of 100k orders for the performance tests * Fixes * Admin menu elements order differs for a cached page and non-cached one * Typos in System > Configuration > General Tab * Wrong elements positions on "View Order" page * Impossible to configure checkout on store scope * Warning message in `system.log` when using GD2 image adapter * "Preview" link is absent for managing CMS Pages in single store mode * "Promotions" tab is missing on Configuration page * Wrong format of performance tests config
-
- Aug 27, 2012
-
-
mage2-team authored
* Decoupled Tag module functionality from other modules * Visual Design Editor: * Implemented tracking of user changes history and rendering the actions at VDE toolbar * Implemented compacting of user changes history. Compacting is done in order to save all the changes as a minimal layout update. * Improvements: * Added Atlassian IDE Plugin configuration files to `.gitignore` * Relocated `add_to_cart`, `checkout` and `product_edit` performance scenarios from `samples` to the normal `testsuite` directory. These scenarios can be used for Magento performance testing. * Implemented verification of number of orders that were created during execution of `checkout` performance scenario * Removed usage of deprecated `PHPUnit_Extensions_OutputTestCase` class from unit tests * Fixes: * Fixed MySQL DB adapter to always throw exception, if it was not able to connect to DB because of wrong configuration. So now the adapter's behavior is not dependent on `error_reporting` settings. * Added the missing closing tag to New Order email template * Fixed `Mage_ImportExport_Model_Import_Entity_CustomerComposite` integration test issues * Marked several integration tests in `Mage_Adminhtml_CustomerControllerTest` as incomplete, as the tested functionality was not MMDB-compliant * Fixed issue with unit tests failure, when there was a Zend Framework installed as PEAR package * Fixed `advanced_search` performance scenario to fail, if the searched product doesn't exist * Fixed issue with non-escaped latest message link in admin backend * GitHub requests: * [#48](https://github.com/magento/magento2/pull/48) -- fixed usage of a collection at the place, where just a single object was needed
-
- Apr 13, 2012
-
-
mage2-team authored
* Implemented a tool for migrating factory table names from 1.x to 2.x. The tool replaces table names by list of names associations * Changed Unit tests suite running from usage AllTests.php in each directory to configuration in phpunit.xml.dist. Now all tests in {{testsuite}} directory are launched, there is no necessity to add new tests to the config * Implemented in Visual Desig Editor: * Containers highlighting * Dropping of elements * Fixed some issues: * Fixed sorting of elements in Layout in if element is added before its sibling * Fixed broken Customer Registration page on Front-End and Back-End * Fixed broken Order Create page on Back-End * Replaced usages of deprecated Mage_Customer_Model_Address_Abstract::getFormated() to Mage_Customer_Model_Address_Abstract::format() * Fixed elements' duplication on pages (downloadable, bundle product view) * Fetched updates from Magento 1 up to April 6 2012. Refer to [Magento 1 release notes](http://www.magentocommerce.com/download/release_notes) for details
-
- Mar 02, 2012
-
-
mage2-team authored
- Added jQuery to Magento 2. It has not been made a main library yet, however all new features are developed using jQuery. - Added support for new versions of testing tools - PHPUnit 3.6, PHPMD 1.3.0. Confirmed compatibility with latest PHPCS 1.3.2 and PHPCPD 1.3.5. - Improved legacy tests: -- Refactored Integrity_ClassesTest and Legacy_ClassesTest. -- Implemented a tool for migrating factory names from 1.x to 2.x. The tool scans PHP-code and replaces the most "popular" cases. -- Added tests for "//model" in config.xml files and "//*[@module]" in all xml files. -- Implemented a test that verifies the absence of relocated directories. -- Added a test against the obsolete Varien_Profiler. - Bug fixes: -- Fixed phpdoc for Mage_Core_Model_Design_Package. -- Fixed static code analysis failures related to case-sensitivity. -- Fixed several typos and minor mistakes. -- Fixed integration test's failures due to specifics of xpath library version. - Imported fresh features and bug fixes from Magento 1.x.
-
- Dec 02, 2011
-
-
mage2-team authored
-