- Jan 16, 2015
-
-
David Alger authored
-
- Dec 12, 2014
-
-
mage2-team authored
* Service Contracts: * Implemented Bundle Product API * Replaced Address Converted model with Address Mapper * Refactored Customer web service routes and API functional tests to use latest service layer * Implemented Configurable Product Module API * Removed obsolete namespace Magento\Catalog\Service * Price calculation logic: * Removed complex JS price calculation on the frontend * Fixed bugs: * Fixed an issue where the path parameter routes were incorrectly matched in the REST web services * Fixed an issue where $0.00 was shown as a configurable product price if variation did not add anything to product price * Fixed an issue where the fatal error occurred when a user with read-only permissions for cart price rules attempted to open an existing cart price rule * Fixed an issue where the 'An order with subscription items was registered.' message was displayed in an order if it has been placed using an online payment method * Fixed an issue where the 'Warning: Division by zero' message was displayed when an invoice was opened for an order placed using an online payment method * Fixed an issue where creating simple product through using API service led to an exception on the frontend * Fixed an issue where it was impossible to perform advanced search for price range of 0 to 0 * Fixed an issue with the broken Search Terms Report page * Fixed an issue with the broken Search Terms page * Fixed an issue with a notice appearing in the Advanced Search when searching by a custom multiselect attribute * Fixed an issue where Search did not work if word-request contained a hyphen * Fixed an issue where searching by a title of bundle option returned empty result * Fixed an issue where Maximum Query Length was not applied to Quick Search * Fixed an issue where searching by product name did not return suggested search terms * Fixed an issue with an incorrect dependency of the MySQL search adapter on CatalogSearch * Fixed an issue with incorrect dependency of the Search library on the MySQL adapter * Fixed an issue where Advanced Search always returned empty result for multiselect product attributes * Fixed an issue where an admin user was redirected to the 404 page after deleting search terms through using mass action * Fixed an issue where a product page was frozen when a configurable attribute was added to a current product template during saving a configurable product * Fixed an issue where it was impossible to place an order with downloadable product that contained a link * Fixed an issue where only parent category was displayed in layered navigation on the Search results page * Fixed an issue where the Price attribute was incorrectly displayed in layered navigation if searching by this attribute * Fixed an issue where importing configurable products set them out of stock * Fixed an issue where drop-down lists were closing by themselves in Internet Explorer 9 * Fixed an issue where it was impossible to place an order using PayPal Payment Pro and 3D Secure * Fixed an issue where bundle items were always marked as 'User Defined' * Fixed an issue where view management selectors did not work in categories on the frontend * Fixed an issue where the 'Base' image label was not applied to a first product image uploaded * Fixed an issue where editing a product led to data loss and broken media links * Fixed an issue where attributes could not be deleted from the Google Content Attributes page * Fixed an issue where a product was unassigned from a category after it was edited by an admin user with read/edit permissions for product price only * Fixed an issue where the fatal error occurred on the RSS page for new products and special products * Fixed an issue where the fatal error occurred when adding a new Customer Address Attribute * Fixed an issue where it was impossible to install Magento when specific time zones were set * Fixed an issue where compiler.php failed not handle inheritance from virtual classes * Fixed an issue where some locales were absent in the 'Interface Locales' drop-down in the backend * Fixed an issue where the Offloader header did not work in the backend * Fixed an issue where autoloader failed to load custom classes * Fixed an issue where products did not disappear from the shopping cart after checkout * Fixed an issue where changing quantity of a product in the shopping cart removed product from cart * Fixed an issue where the Persistent Shopping Cart functionality was not available if Luma theme was applied * Fixed an issue where the category tree was broken if editing a category name in specific cases * Fixed an issue where 'Price as Configured' value was not updated for a bundle product after changing the value of the 'Price View' field * Fixed an issue where the final product price was displayed incorrectly in a category and a product page if price display setting was set to exclude FPT, FPT description, and final price * Fixed an issue where product price range was displayed incorrectly for bundle products * Fixed an issue where the HTTP 500 error occurred on the Share Wishlist page * Fixed an issue with the incorrect order of dispatching event adminhtml_cms_page_edit_tab_content_prepare_form and setting form values in the backend * Fixed an issue where breadcrumbs were not displaying the fullpath * Fixed an issue where only two of four widgets added to a CMS page were displayed * Fixed an issue where it was impossible to save locale for an admin account after changing it * Fixed an issue where icons were not loaded on a non-secure pages if secure URLs were used in the frontend * Fixed an issue where overriding layouts did not work after renaming a theme * Fixed an issue where the Permissions tree was not displayed when activating an integration * Fixed an issue with duplicated and corrupted page layouts * Fixed an issue where the 'Number of Products per Page' option did not work for widgets of the 'List' type * Fixed an issue where HTTP and HTTPS pages shared cache content * Fixed an issue where the 'Use Billing Address' checkbox did not affect did not affect the checkout experience * Fixed an issue where it was impossible to create shipping labels * Fixed an issue where the 'Payment Method' section was empty in billing agreements in the frontend if a billing agreement was created during the checkout * Fixed an issue with Catalog Rule Product indexer invalidating the price index * Fixed an issue where one of the price range fields was corrupted in the Advanced Search page * Fixed an issue where a base product image that was smaller than the gallery image container was scaled up to fill the container on the View Product page in the frontend * Fixed the layout issue on the Contact Us page * Fixed an issue where search queries were not submitted when a search suggestion was clicked * Fixed an issue where page footer overlapped products in categories in Internet Explorer 11 * Fixed UI issues in the Luma theme * Fixed an issue when the fatal error occurred if a category was moved to another category that already contained category with the same URL key * Fixed an issue where incorrect products were displayed on the Reviews tab for a configurable product * Fixed an issue where fatal errors occurred when calling id() on a null store object * Fixed an issue where navigation through the tabs on the Dashboard did not work properly * Fixed an issue where prices for bundle products were incorrect on the category view and search view pages * Fixed an issue where custom Customer attributes and Customer Address attributes were not displayed on the 'Create/Edit Customer' page in thebackend * Fixed an issue where there were no validation for whether an option of a bundle product was created through the API * Fixed an issue where bundle products created through using the API were not appearing in the frontend * Fixed an issue where entity ID was missing for product thumbnail labels values * Fixed an issue with the bad return from the Indexer launch() method * Fixed an issue where an attempt to select product SKU in a shopping cart price rule redirected to the Dashboard * Fixed an issue where the Search Terms Reports and Search Terms list did not work * Fixed an issue where an error occurred when configuring Google API * Fixed an issue where it was impossible to add a configurable product variation to an order in the backend * Fixed an issue where there were no confirmation on deleting CMS pages/Blocks * Fixed an issue with incorrect behavior of validation in the Quick Search field in the frontend * Fixed an issue where it was impossible to select a row in the grid of CMS pages and CMS Blocks * Fixed an issue where validation for minimum and maximum field value length was not performed for Customer attributes and Customer Address attributes when creating or editing a customer in the backend * Fixed an issue with broken 'validate-digits-range' validation * Fixed an issue where it was impossible to delete product templates * Fixed an issue where products were not shown on a second website * Fixed an issue where customer group was empty when adding group price during creating a product * Fixed an issue with incorrect interval in LN for small values * Fixed an issue where product attribute of the Price type was not displayed in layered navigation * Fixed an issue with testCreateCustomer failing in parallel run * Fixed an issue with the value of the 'Bill to Name' field always displayed instead of the value of the 'Ship to Name' in all order-related grids * Fixed an issue where an error occurred when submitting an order int he backend when shipping and billing addresses were different * Fixed an issue where the navigation menu was absent on product pages with Varnish used * Fixed an issue where the underscore character was incorrectly handled when used with digits * Fixed an issue where it was impossible to localize comments in the 'Max Emails Allowed to be Sent' and 'Email Text Length Limit' fields in the Wishlist configuration * Fixed an issue where there were a logical error in joining the same table two times with different aliases * Sample data: * Created Luma Sample Data script * GitHub requests: * [#775](https://github.com/magento/magento2/issues/775) -- Can't save changes in configuration in Configuration->Advanced->System * [#716](https://github.com/magento/magento2/issues/716) -- Wrong mimetype returned by getMimeType from Magento library * [#681](https://github.com/magento/magento2/issues/681) -- Magento\Framework\Xml\Parser class issues * [#758](https://github.com/magento/magento2/issues/758) -- Coding standards: arrays * [#169](https://github.com/magento/magento2/issues/169) -- DDL cache should be tagged * [#738](https://github.com/magento/magento2/issues/738) -- pub/setup missing in 0.1.0-alpha103 * Various improvements: * Removed obsolete code from the Tax and Weee modules * Merged the AdminNotification, Integration, Authorization, and WebAPI SQL scripts * Removed the Customer Converter model and Address Converter model * Created AJAX Authentication Endpoint for the frontend * Removed Customer\Service\V1 service implementation in favor of the Customer\Api service implementation * Removed the Recurring Billing functionality * Added the 'suggest' node to composer.json files to mark modules that are optional * Consolidated SQL install and data scripts for the rest of the modules * Added static test verifying that README.md file exist in modules * Removed obsolete code * Removed license notices in files * Eliminated invalid dependencies of the CatalogRule module * Removed @deprecated methods from the code base * Added test enforcing @covers annotation refers to only existing classes and methods * Added the PHP Coding Standards Fixer configuration file to the project root * Added Git hook to automatically correct coding style before actual push * Added the ability to enforce no error log messages during tests execution * Removed API interfaces from the Cms module * Updated jQuery used to version 1.11 * Added wildcard prefix for all search words in search requests for Match query * Renamed frontend properties for some of the product attributes * Fixed the Magento\Centinel\CreateOrderTest integration test * Improved invoking for functional tests * Refactored StoreManagerInterface to avoid violating the modularity principle * Improved the logic in the isSubtotal method in Magento\Reports\Model\Resource\Report\Collection\AbstractCollection * Framework improvements: * Added a copy of dependencies for Magento components to the root composer.json file * Setup Tool improvements: * Moved dependencies from setup/composer.json to the root composer.json and removed the former one * Removed dependencies on unnecessary ZF2 libraries * Removed dependency on exec() calls * Removed tool dev/shell/run_data_fixtures.php in favor of Setup Toolphp setup/index.php install-data * Removed tool dev/shell/user_config_data.php in favor of Setup Tool php setup/index.php install-user-configuration * Added validation of the required information on each installation step in the Setup tool: * Web UI: * Removed the 'Test Connection' button in web setup UI; checking connection to the database server is now performed when the 'Next' button is clicked * Added validation of URL format * Added automatic adding of the trailing slash to the base URL field if a user did not provide one * Added validation of admin user password * Added validation of HTTPS configuration * CLI: * Added validation of CLI to display missing/extra parameters and missing/unnecessary parameter values
-
- Nov 28, 2014
-
-
mage2-team authored
* Various improvements: * Refactored Service Layer of the Magento_Tax Module * Stabilized functional tests for the Backend module * Stabilized functional tests for the CatalogRule module * Stabilized functional tests for the Checkout module * Stabilized functional tests for the CurrencySymbol module * Stabilized functional tests for the Shipping module * Stabilized functional tests for the Tax module * Stabilized functional tests for the User module * Added Readme.md files to the following modules: * Magento\RequireJs * Magento\Ui * Fixed bugs: * Fixed an issue where product image assignment to a store view was not considered when displaying a product * Fixed shipping address area blinking when billing address is filled during checkout with a virtual product * Fixed an issue where filter_store.html was not found * Fixed an issue where the customer account access menu did not expand on the storefront * Fixed an issue where CMS blocks did not open when clicking from a grid * Fixed an issue where the Create Product page was completely blocked after closing the New Attribute pop-up * Fixed an issue where Stock Status was disabled for Bundle and Grouped products * Fixed an issue where a product could not be saved without filling a not required bundle option * Fixed broken "per page" selectors on the Customer's account pages * Fixed the wrong behavior of JS loaders on the storefront pages * Fixed Shopping cart price rule form validation * Fixed an issue where the 'Please wait' spinner persisted when creating a customer custom attribute with existing code * Fixed a Google Chrome specific issue where subcategories were not displayed correctly on the first hover for category item * Fixed an issue where the 'Please wait' spinner did not disappear when creating customer with invalid email * Fixed an issue where the Username field auto-focus on admin login page revealed password in case of fast typing * Fixed an issue where Bundle Product original Price was not displayed in case of discount * Fixed wrong discount calculation for bundle options * Fixed an issue where wrong discount and total amounts were displayed on the order creation page when reordering an order with a bundle product in the Admin panel * Fixed an issue where admin tax notifications did not appear/disappear unless cache was flushed or disabled * Fixed an issue where catalog price and shopping cart price did not match when display currency was different from the base currency * Fixed an issue where Tax classes did not allow 'None' as a valid 'product tax class' * Fixed an issue where token-based authentication did not work if compilation was enabled * Fixed the sample code in index.php illustrating multi websites set up * Fixed commands in Setup CLI to match the ones displayed in help * Fixed an issue where searching by a part of a product name in Advanced Search did not give correct results * Fixed an issue where 404 page is displayed after Search Term mass deletion * Fixed an issue where Popular Search Terms were not displayed on the storefront * Fixed an issue where it was impossible to add Gift Message during one page checkout * Fixed an issue where the optional Postal code setting did not work correctly * Fixed an issue where product price details were missing in summary block in the shopping cart when the Back to shopping cart link was clicked on multishipping page * Fixed an issue where the 404 error page was displayed instead of the Index Management page after saving mass update * Fixed an issue where the "Out of Stock" message was not displayed for a bundle product when there was not enough of one of the associated products in stock * Fixed an issue with the Newsletters Report page in the Admin panel * Fixed an issue where Catalog price rule was not applying correct rates on specific products * Fixed an issue where a fatal error was thrown after clicking a link to a downloadable product * Fixed an issue a warning page for Grouped product with enabled MAP * Fixed an issue where a configurable product was not displayed in catalog product grid after updating with "Add configurable attributes to the new set based on current" * Fixed the inconsistent behavior in the integration tests for the Indexer functionality * Fixed an issue where the What's this? information tip link was not presented on product page with configured Minimum Advertised Price (MAP) * Processed GitHub requests: * [#742](https://github.com/magento/magento2/issues/742) -- Admin notifications count overflow * [#720](https://github.com/magento/magento2/issues/720) -- https filedriver is not working * [#686](https://github.com/magento/magento2/issues/686) -- Product save validation errors in the admin don't hide the overlay * [#702](https://github.com/magento/magento2/issues/702) -- Base table or view not found * [#652](https://github.com/magento/magento2/issues/652) -- Multishipping checkout not to change the Billing address js issue * [#648](https://github.com/magento/magento2/issues/648) -- An equal (=) sign in the hash of the product page to to break the tabs functionality * Service Contracts: * Refactored usage of new API of the Customer module * Implemented Service Contracts for the Sales module * Refactored Service Contracts for the Catalog module * Refactored Service Contracts for the Grouped module * UI Improvements: * Implemented the Form component in Magento UI Library * Removed extra JS loaders for category saving * Improved the behavior of Categories management in the Admin panel * Implemented the keyboard navigation through HTML elements * Improved the HTML structure and UI of the Catalog Category Link, Catalog Product Link and CMS Static Block widgets * Added UI Library documentation * Fixed Blank & Luma themes UI bugs * Fixed footer alignment * Published the Luma theme and removed the Plushe theme * Framework Improvements: * Added the ability to configure the list of loaded modules before installation * Merged SQL and Data Upgrades * Moved \Magento\TestFramework\Utility\Files to Magento Framework * Setup tool improvements: * Removed duplication with Framework * Deployment configuration is refactored from XML format in local.xml to associated array in config.php * Improved performance * Search improvements: * Integrated the Full Text Search library into the Layered Navigation functionality
-
- Nov 18, 2014
-
-
mage2-team authored
* Various improvements: * Merge SQL and Data Upgrades for the Sales and SalesRule modules * Add getDefaultBilling and getDefaultShipping to Customer Interface * Stabilized the Bundle module * Stabilized the CatalogSearch module * Stabilized the Cms module * Stabilized the SalesRule module * Performance improvements: * Introduced CatalogRule indexers based on Mview * Significantly decreased the amount of unused objects, mostly in category and product view scenarios: * Got rid of non-shared indexer instances all over the code introducing Magento\Indexer\Model\IndexerRegistry * Magento\Catalog\Pricing\Price\BasePrice being created on demand only, instead of unconditioned creation in constructor * Created proxies for unused objects with big amount of dependencies * Fixed \Magento\Review\Block\Product\Review block which injected backend block context by mistake * A customer model in \Magento\Customer\Model\Layout\DepersonalizePlugin being created on demand only, instead of constructor * Introduced caching for product attribute metadata loading procedure * Improved SavePayment Checkout step to save only payment related data * Speed up all Checkout steps of the One Page Checkout * Updated the benchmark.jmx jmeter script in the performance toolkit * Fixed bugs: * Fixed an issue where performance toolkit generator created Products/Categories without URL rewrites due to install area elimination * Fixed an issue where the Custom Options fieldset on Product Information page was collapsible * Fixed an issue where the Base URL was added to target path for Custom UrlRewrite * Fixed an issue where an invalid Cross-sells amount was displayed in the Shopping Cart * Fixed an issue where the Mage_Catalog_Model_Product_Type_AbstractTest::testBeforeSave integration test failed when Mage_Downloadable module was not available * Fixed an issue where the custom URL rewrite redirected to sub-folder when Request Path contained slash * Fixed an issue where it was impossible to place an order if registering during checkout * Fixed an issue where there was no possibility to save default billing and shipping addresses for customer on the store front * Fixed an issue where a widget of Catalog Category Link type was not displayed on the store front * Fixed an issue where the Versions tab was absent on the CMS page with version control * Fixed an issue where it was impossible to insert Widgets and Images to a CMS page * Added the following functional tests: * Create widget * Print order from guest on frontend * Framework Improvements: * Removed duplicated logic from API Builders and Builder generators. Added support for populating builders from the objects, implementing data interface * Processed GitHub requests: * [#674](https://github.com/magento/magento2/issues/674) -- Widgets in content pages
-
- Aug 12, 2014
-
-
mage2-team authored
* Service layer implementation: * Created the Admin Shopping Cart Service * Created the Create Shopping Cart Items Service * Created the Create Shopping Cart Shipping Address Service * Created the Create Shopping Cart Billing Address Service * Created the Service Layer for Orders * Created CRUD service & APIs to manage options for configurable products * Created CRUD service & APIs to manage options for bundle products * Fixed bugs: * Fixed an issue where adding a customer address with an invalid value of the custom address attribute caused a fatal error in SOAP * Fixed an issue where the wrong FedEx rates were displayed * Fixed an issue where the Bill Me Later option did not work in Payflow payment methods * Fixed an issue where order comments were broken for orders placed with Authorize.net * Fixed the naming of the My Account -> Recurring Payment page * Fixed a UI elements issue in the disabled Magento_PayPalRecurringPayment and Magento_RecurringPayment modules * Fixed an issue where it was impossible to save configuration of a configurable product when adding it to an order in the Admin panel * Fixed an issue where the Select a store page was displayed during admin order creation when the Single Store mode was enabled * Fixed an issue when an exception was thrown when attempting to open the Customer Account page if the Recently Viewed widget was configured for the store * Updated the content of the Privacy Policy page * Fixed an issue where it was possible to update a tax rate using the POST http method * Fixed an issue where it was impossible to update Inventory Qty for a SKU using API * Fixed a JavaScript syntax error on the Create New Customer page * Fixed an issue where it was impossible to add new sample while creating a downloadable product * Fixed a JavaScript which appeared when clicking the Add New Address button in the Address Book on the storefront * Fixed an issue where it was possible to update Tax Rules using the PUT http method which is supposed to be used for create operation only * Fixed an issue where it was possible to create a Tax Rule specifying a product tax class instead of a customer tax class and vice versa * Fixed an issue with making websiteId a mandatory field when updating a customer using REST * Fixed an issue where the default value was not applied after clicking the 'Use default' link for a product price field in the catalog in the Admin panel * Fixed an issue where the price update mass action could not be performed * Fixed a JS error in the cross-sells product settings in the Admin panel * Added the following functional tests: * Mass Delete Backend Customer * Moderate Product Review * Framework improvements: * Added the ability to access admin functionality using admin user login for mobile * Refactored and unified Access Control List (ACL) to make it more consistent * Created a Cookie Manager (a cookie management class) * Changes in functional tests: * Enabled the CustomerMetadataService tests for SOAP * Themes update: * Fixed issues in the Blank theme * Implemented improvements for the Blank theme, core templates and Storefront UI Library * Modularity: * Created the Notification library component and made it possible to disable the AdminNotification module * Made it possible to disable the SendToFriend module * Created an optional ConfigurableImportExport module to remove dependency between the CatalogImportExport and ConfigurableProduct modules * Created an optional GroupedImportExport module to remove dependency between the CatalogImportExport and GroupedProduct modules * Introduce search library: * Created a Search request configuration * Created a Query object structure from the XML declaration * Composer Integration: * Added support for using 3rd-party components as Composer packages
-
- Aug 01, 2014
-
-
mage2-team authored
* Fixed bugs: * Fixed an issue where the Price indexer did not pass successfully from console after the first run * Fixed an issue where deleted items were displayed in the Mini shopping cart * Fixed an issue with the Mage_Sales_Model_OrderTest unit test violating the Cyclomatic and NPath complexity requirements * Fixed an issue where taxes were not applied for logged in users * Fixed a JavaScript issue where the Checkout with PayPal button did not redirect to the PayPal site * Framework improvements: * Removed the head.js library and its calls * Implemented the usage of RequireJS for runtime resources loading on the storefront * Added the following functional tests: * Create Backend Product Review * Delete Used in Configurable Product Attribute * Delete Search Term * Mass Actions for Product Review * Mass Delete Search Term * Reset Currency Symbol * Update Currency Symbol * Update Grouped Product * Added composer.json for all the Magento components: modules, la...
-
- May 30, 2014
-
-
mage2-team authored
* Framework improvements: * Reworked subsystem of static view files preprocessing * Refactored implementation of the view files "fallback" and "collecting" (layout XML files, LESS files for @magento_import) mechanisms for better abstraction * Used the concept of "view asset" in client code of the View library across the board * Refactored and simplified LESS preprocessing library, mechanisms of merging and minifying static view files * Reworked the way how links to static view files are generated and served): * Changed the strategy of generating unique URL for view static files * Separated the view files publication process from the page generation * Added a separate entry point (pub/static.php) for file materialization * View files deployment tool changes: * Renamed CLI script from generator.php to deploy.php * Fixed the known limitation of view files deployment tool of being unable to materialize files per languages. Now the list of intended languages can be provided as a CLI parameter * Expanded the tool parameters * Improved security and reliability of view files structure: * Restructured the module view folder by file type: "web" view static files, "templates" module template files, and "layout" module layout files * Reworked the theme module folder to repeat the same structure as in the module * Added web folder to a theme root which contains static view files * Renamed the pub/lib to lib/web. Currently there are no static files that are publicly accessible by default. All static view files may be subject of preprocessing * Renamed the former lib to lib/internal * Support of RequireJS: * Adopted RequireJS library and implemented ability for modules or themes to introduce RequireJS configuration (aka shim-config) * Refactored scripts in the Magento_ConfigurableProduct module to be loaded via RequireJS * Tax calculation updates: * Fixed tax calculation rounding issues when discount is applied * Fixed extra penny problem when exact tax amount ends with 0.5 cent * Fixed tax calculation errors when customer tax rate is different from store tax rate * Added support to round tax at individual tax rate * Fixed price inconsistencies between catalog and shopping cart * Added support to maintain consistent price including tax for customers with different tax rates * Added support to allow tax rules with different priorities to be applied to subtotal only * Fixed bugs: * Fixed an issue where it was impossible to place an order with Zero Subtotal Checkout using checkout with multiple addresses * Fixed an issue where an irrelevant confirmation window appeared when placing an order with Zero Subtotal Checkout in the backend * Fixed an issue where it was impossible to create an order for a new customer in the backend if gift options were enabled * Fixed an issue where a wrong message about backordered items in cart was displayed in the backend * Fixed an issue where it was impossible to perform a checkout with multiple addresses when the Validate Each Address Separately option in Multi-address Checkout was enabled * Fixed an issue where the Minimum Order Amount option was applied to the orders * Fixed an issue where the duplicated element caused problems when attempting to customize styling of the section * Fixed an issue where a user was redirected to Dashboard when clicking the Search and Reset buttons on the Recurring Profile page * Fixed an issue where the Enabled for RMA option was available for online shipping method in Magento 2 CE * Fixed an issue when free shipping was applied even if the Free Shipping with Minimum Order Amount option was disabled * Fixed an issue with not displaying a downloadable product with the Links can be purchased separately option enabled on the grouped product page * Fixed an issue of not generating product price variations during configurable product creation * Fixed an issue with incorrect work of category pager * Fixed an issue with file permissions change after the system backup was run * Fixed an issue with inconsistency between the REST request and response format * Fixed an issue with the Magento Contact Us form not submitted if secure_base_url doesn't contain "https" * Fixed an issue with incorrect display of the Price as configured field which didnt count product options cost * Fixed an issue with incorrect redirect when clicking the product URL in Pending Review Rss * JavaScript improvements: * Added standard validation to the front-end address fields * Implemented the wishlist widget * Implemented the tabs widget * Implemented the collapsible widget * Implemented the accordion widget * Implemented the tooltip widget * Standardized widgets used on one page checkout
-
- 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
-