Skip to content

Commit 0849373

Browse files
committed
2.0.0.0-dev46
* 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
1 parent a15ecb3 commit 0849373

File tree

18,859 files changed

+1068662
-1007202
lines changed

Some content is hidden

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

18,859 files changed

+1068662
-1007202
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ atlassian*
1414
/app/config_sandbox
1515
/app/etc/local.xml
1616
/app/etc/local.xml.*
17-
/app/etc/modules/*.xml
17+
/app/etc/*/module.xml
1818
/downloader/.cache
1919
/downloader/cache.cfg
2020
/downloader/connect.cfg
@@ -33,3 +33,4 @@ atlassian*
3333
/pub/static/*
3434
!/pub/static/.htaccess
3535
/var/*
36+
/app/code/Magento/TestModule*

.htaccess

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
php_value memory_limit 256M
3636
php_value max_execution_time 18000
3737

38-
############################################
39-
## disable magic quotes for php request vars
40-
41-
php_flag magic_quotes_gpc off
42-
4338
############################################
4439
## disable automatic session start
4540
## before autoload was initialized
@@ -56,11 +51,6 @@
5651

5752
php_flag suhosin.session.cryptua off
5853

59-
###########################################
60-
# turn off compatibility with PHP4 when dealing with objects
61-
62-
php_flag zend.ze1_compatibility_mode Off
63-
6454
</IfModule>
6555

6656
<IfModule mod_security.c>
@@ -191,4 +181,4 @@
191181
## If running in cluster environment, uncomment this
192182
## http://developer.yahoo.com/performance/rules.html#etags
193183

194-
#FileETag none
184+
#FileETag none

.htaccess.sample

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
php_value memory_limit 128M
3636
php_value max_execution_time 18000
3737

38-
############################################
39-
## disable magic quotes for php request vars
40-
41-
php_flag magic_quotes_gpc off
42-
4338
############################################
4439
## disable automatic session start
4540
## before autoload was initialized
@@ -56,11 +51,6 @@
5651

5752
php_flag suhosin.session.cryptua off
5853

59-
###########################################
60-
# turn off compatibility with PHP4 when dealing with objects
61-
62-
php_flag zend.ze1_compatibility_mode Off
63-
6454
</IfModule>
6555

6656
<IfModule mod_security.c>

CHANGELOG.markdown

Lines changed: 105 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,103 @@
1+
2.0.0.0-dev46
2+
=============
3+
* Translation mechanism improvements:
4+
* Translate function ->__() was removed from Magento model interfaces. Global function __() was created
5+
* Added I18n tools for translation dictionary generation and language package generation
6+
* Configuration improvements:
7+
* Implemented Magento Config component that allows to create new configuration types in a simple way
8+
* Improved default/store/website configuration
9+
* config.xml file is designed to store only default/store/website configuration data
10+
* concrete store/website configuration is loaded on demand
11+
* Improved Install, Category, Product, EAV, Customer, Wishlist, PDF, VDE, Currency, Email Template, Crontab, Events, Routes, Modules, Locale, Import/Export, Indexer, Resources configuration segments:
12+
* Configuration moved to separate files. Some parts are transformed to DI configuration and moved to `di.xml` files
13+
* New configuration files are validated with XSD
14+
* Format of the configuration changed to make possible its validation
15+
* Improved configuration in `widget.xml`, `fieldset.xml`, `persistent.xml` and `install.xml` files:
16+
* `install.xml` was renamed to `install_wizard.xml`
17+
* The configuration is validated with XSD
18+
* Format of the configuration changed to make possible its validation
19+
* Some parts are transformed to DI configuration and moved to `di.xml` files
20+
* Removed `jstranslate.xml` files and moved all message definitions to `Magento_Core_Helper_Js`.
21+
* List of non-structured nodes from config.xml were transformed into DI configuration
22+
* JavaScript improvements:
23+
* Prototype.js usages converted to jQuery:
24+
* Deprecated prototype.js based method removed from app/code/Magento/Weee/view/frontend/tax-toggle.js
25+
* Removed deprecated prototype.js based file: app/code/Magento/Checkout/view/frontend/opcheckout.js
26+
* Updated to use jQuery redirectUrl widget vs prototype based solution:
27+
* app/code/Magento/Oauth/view/adminhtml/authorize/form/login.phtml
28+
* app/code/Magento/Oauth/view/frontend/authorize/form/login.phtml
29+
* app/code/Magento/Catalog/view/frontend/product/list.phtml
30+
* Removed file containing jQuery that did not meet the Magento 2 coding standard. Replaced with redirect-url widget
31+
* app/code/Magento/Catalog/view/frontend/js/mage-attributes-processing.js
32+
* Updated to meet Magento 2 coding standard: app/code/Magento/Checkout/view/frontend/cart/item/default.phtml
33+
* Added jQuery widgets:
34+
* mage.deletableItem - Widget to tag DOM element as deletable, by default on click
35+
* mage.fieldsetControls & mage.fieldsetResetControl - Widget to easily reset a subset of form fields with a reset ui control
36+
* mage.itemTable - Widget to easily add a data template block dynamically on an event, by default click.
37+
* mage.redirectUrl - Simple widget to allow for consistent javascript based redirects that meet the Magento 2 coding standard
38+
* Added new validation rules for validation widget: 'required-if-not-specified', 'required-if-specified', and 'validate-item-quantity'
39+
* Various improvements:
40+
* Changed VendorName from Mage to Magento
41+
* Implemented PSR-0 and PSR-1 Coding Standards
42+
* All Magento source code has been converted.
43+
* Tests have been written to enforce PSR-0 and PSR-1 coding standards.
44+
* 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
45+
* Removed some events (plugins must be used instead):
46+
* adminhtml_widget_container_html_before
47+
* admin_session_user_logout
48+
* model_config_data_save_before
49+
* admin_system_config_section_save_after
50+
* backend_menu_load_after
51+
* catalog_controller_category_init_before
52+
* catalog_helper_output_construct
53+
* catalog_controller_product_init
54+
* catalog_category_tree_move_before
55+
* catalog_category_tree_move_after
56+
* catalog_product_website_update_before
57+
* catalog_product_website_update
58+
* catalog_product_media_save_before
59+
* catalog_product_media_add_image
60+
* catalog_product_type_grouped_price
61+
* catalog_product_collection_load_before
62+
* catalogsearch_index_process_start
63+
* catalogsearch_index_process_complete
64+
* cms_page_get_available_statuses
65+
* cms_wysiwyg_config_prepare
66+
* application_clean_cache
67+
* theme_copy_after
68+
* customer_registration_is_allowed
69+
* log_log_clean_before
70+
* log_log_clean_after
71+
* sales_convert_quote_payment_to_order_payment
72+
* sales_convert_quote_item_to_order_item
73+
* sales_quote_config_get_product_attributes
74+
* Removed the Poll module including references and dependencies to/on it.
75+
* Redesign and reimplementation of web services framework
76+
* Removed the Api module and all existing SOAP V1, SOAP V2, and XML-RPC web services code
77+
* Implemented new web services framework to support both REST and SOAP based off of a common service interface
78+
* Implemented a 2-legged OAuth 1.0a based authentication mechanism for both REST and SOAP API calls
79+
* Layout improvements:
80+
* Arbitrary handle name moved to handle node, id attribute
81+
* New arguments format, which introduce argument types implemented
82+
* Translation specified just on the level of node which is going to be translated
83+
* XSD validation for Layouts XML added
84+
* Referential integrity check with XSD introduced
85+
* Added ability to update containers via references
86+
* Type casting for all kind of types (url, option, array and simple types) added
87+
* Covered introduced argument types with integrity test
88+
* Types restrictions was implemented
89+
* Removed access to direct execution of API through layout by removing <action> nodes
90+
* Implemented ability to declare containers in layout that don't have any specific semantic value
91+
* 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
92+
* PHP 5.4 and 5.5 support:
93+
* Made application compatible with PHP 5.4 and 5.5
94+
* Removed workarounds for older PHP versions
95+
* Minimum supported PHP version is set to 5.4.0
96+
* God Class Mage Eliminated
97+
* Fixed bugs:
98+
* Fixed address field "State/Province" on frontend, which contained "[object Object]" items instead of necessary values
99+
* Fixed overriding/extending of global plugin configuration in area specific configuration
100+
1101
2.0.0.0-dev45
2102
=============
3103
* Product management improvements:
@@ -143,7 +243,7 @@
143243
* [#215](https://github.com/magento/magento2/pull/215) -- There is no sort-order "best value"
144244
* [#217](https://github.com/magento/magento2/pull/217) -- Update `app/code/core/Mage/Adminhtml/locale/de_DE/Mage_Adminhtml.csv`
145245
* [#243](https://github.com/magento/magento2/pull/243) -- Fix helper for determining system memory usage on Windows (pull request for issue #237)
146-
* [#267](https://github.com/magento/magento2/pull/267) -- Issue with camel case in cusutom defined source models
246+
* [#267](https://github.com/magento/magento2/pull/267) -- Issue with camel case in custom defined source models
147247
* Bug fixes:
148248
* Fixed absence of a product for store view created after the product
149249
* Fixed incorrectly displayed or absent product image on configurable product pages
@@ -585,7 +685,7 @@
585685
* Added ability to generate proxy and factory classes on-the-fly for use with DI implementations. Generators can be managed in DI configuration
586686
* Implemented tools (shell scripts) that allow generating skeletons of factory and proxy classes for use with DI implementations
587687
* Added ability to set preferences to object manager and specify them through configuration
588-
* Refactored the following modules to utilize `Magento_Filesystem` library instead of using built-in PHP core functions directly: `Mage_Adminhtml`, `Mage_Backend`, `Mage_Backup`, `Mage_Captcha`, `Mage_Catalog`, `Mage_Cms`, `Mage_Connect`, `Mage_Core`, `Mage_Install`
688+
* Refactored the following modules to utilize `Magento_Filesystem` library instead of using built-in PHP core functions directly: `Mage_Adminhtml`, `Mage_Backend`, `Mage_Backup`, `Mage_Captcha`, `Magento_Catalog`, `Mage_Cms`, `Mage_Connect`, `Mage_Core`, `Mage_Install`
589689
* Bug fixes:
590690
* Fixed bug with incorrect order processing in `Mage_Authorizenet_Model_Directpost`
591691
* Fixed bug with unnecessary "loading" image on Category field during product editing in backend
@@ -710,7 +810,7 @@
710810
* Refactored implementation of associated products in backend (admin) to make them configurable through grid layout, rather than hard-coded.
711811
* Enhanced product variation matrix for configurable products
712812
* Changed "Apply To" feature in product attributes management due to changes in product creation process
713-
* Fixed XSS vulnerabilities in `Mage_Wishlist_IndexController`, `Mage_Adminhtml_Block_Review_Edit_Form`, `Mage_Catalog_Product_CompareController`
813+
* Fixed XSS vulnerabilities in `Mage_Wishlist_IndexController`, `Mage_Adminhtml_Block_Review_Edit_Form`, `Magento_Catalog_Product_CompareController`
714814
* Bug fixes
715815
* Fixed error on `Catalog -> Google Content -> Manage Items page`
716816
* Fixed bug with "Update Attributes" mass action for products on backend caused by setting incorrect inheritance of `Mage_Adminhtml_Helper_Catalog_Product_Edit_Action_Attribute`
@@ -996,7 +1096,7 @@
9961096
* Fixed absence of the success message upon newsletter template creation/deletion/queueing
9971097
* Workaround for occasional segmentation fault in integration tests caused by `Mage_Core_Model_Resource_Setup_Migration`
9981098
* GitHub requests:
999-
* [#51](https://github.com/magento/magento2/issues/51) -- fixed managing of scope-spefic values for Categories
1099+
* [#51](https://github.com/magento/magento2/issues/51) -- fixed managing of scope-specific values for Categories
10001100
* [#56](https://github.com/magento/magento2/pull/56) -- removed excessive semicolon in the CSS file
10011101
* [#60](https://github.com/magento/magento2/issues/60) -- fixed taking bind parameters into account in `Mage_Core_Model_Resource_Db_Collection_Abstract::getAllIds()`
10021102
* [#61](https://github.com/magento/magento2/pull/61) -- relocated declaration of the "Google Checkout" payment method into `Mage_GoogleCheckout` module from `Mage_Sales`
@@ -1396,3 +1496,4 @@ Deprecated code & minor fixes update:
13961496
2.0.0.0-dev01
13971497
=============
13981498
* Added initial version of Magento 2.x CE to public repository
1499+

0 commit comments

Comments
 (0)