Skip to content

Commit 51f9633

Browse files
committed
2.0.0.0-dev35
* 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
1 parent 975952e commit 51f9633

File tree

1,206 files changed

+80266
-64917
lines changed

Some content is hidden

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

1,206 files changed

+80266
-64917
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,4 @@ atlassian*
2929
/pub/media/customer/*
3030
/pub/media/downloadable/*
3131
/var/*
32-
dev/api-tests/config.php
33-
dev/api-tests/integration/tmp/*
34-
dev/api-tests/integration/framework/local-mysql.xml
3532

CHANGELOG.markdown

+41
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
2.0.0.0-dev35
2+
=============
3+
* Enhancements of System Configuration:
4+
* 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
5+
* Enhanced handling of field dependencies, required fields functionality
6+
* Changed Configuration structure to be represented as an object model
7+
* Improved performance of configuration rendering
8+
* Implemented new API in `Mage_Webapi` module
9+
* Removed `Mage_Api` and `Mage_Api2` modules as obsolete API implementation
10+
* 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
11+
* Introduced versioning per API resource. The application will support old version(s) of API after upgrading to not make old API requests fail
12+
* Unified implementation for all API types
13+
* Significantly simplified coverage of new API resources
14+
* Added two-legged `OAuth` 1.0 for REST authentication
15+
* Added WS-Security for SOAP authentication
16+
* Added automatic generation of REST routes and SOAP WSDL on the basis of API class interface and annotations
17+
* Introduced generation of API reference from annotated WSDL (for SOAP API)
18+
* 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)
19+
* Business logic is implemented on service layer to be utilized from different types of controller (e.g., general or API)
20+
* Implemented abstract service layer class - `Mage_Core_Service_ServiceAbstract`
21+
* Implemented concrete service layers for customers, orders and quotes. Appropriate duplicate logic has been eliminated from controllers and API
22+
* Improved validation approach:
23+
* Added support of describing validation rules in a module's configuration file - `validation.xml` in the module's `etc` directory
24+
* Added `Mage_Core_Model_Validator_Factory`
25+
* Added new validators to Magento Validator library
26+
* Added `Magento_Translate_Adapter` as a translator for the validators
27+
* New approach is utilized in `Mage_Customer`, `Mage_Eav` and `Mage_Webapi` modules
28+
* Added profiling of DB and cache requests
29+
* Minor Improvements:
30+
* Added an ability to choose the image for logo and upload it from backend web-interface
31+
* Added notification in backend in case of product SKU change
32+
* Bug fixes:
33+
* Fixed bug in `Mage_Adminhtml_Sales_Order_CreditmemoController` that changed item’s stock status after each comment
34+
* Removed `Debug` section in `System -> Configuration -> Advanced -> Developer` for default configuration scope
35+
* Fixed bug in `Mage_Tax_Model_Resource_Calculation` that prevented placing order with two tax rules having the same rate
36+
* Removed `Url Options` section in `System -> Configuration -> General -> Web` for website and store configuration scope
37+
* Changed backend template for UPS shipping provider to fix translation issue
38+
* Fixed security issue - set `CURLOPT_SSL_VERIFYPEER` to `true` by default in cUrl calls
39+
* Added `Zend/Escaper`, `Zend/I18`, `Zend/Validator` ZF2 libraries
40+
* Updated `Zend/Server` and `Zend/Soap` libraries to ZF2 versions
41+
142
2.0.0.0-dev34
243
=============
344
* Test Framework:

LICENSE.txt

+47-47
Large diffs are not rendered by default.

LICENSE_AFL.txt

+47-47
Large diffs are not rendered by default.

app/Mage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public static function getVersionInfo()
170170
'revision' => '0',
171171
'patch' => '0',
172172
'stability' => 'dev',
173-
'number' => '34',
173+
'number' => '35',
174174
);
175175
}
176176

app/bootstrap.php

+12-6
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
* versions in the future. If you wish to customize Magento for your
1919
* needs please refer to http://www.magentocommerce.com for more information.
2020
*
21-
* @category Magento
22-
* @copyright Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
23-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21+
* @copyright Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
22+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
2423
*/
2524

2625
/* PHP version validation */
@@ -97,15 +96,22 @@
9796
Mage::initializeObjectManager($definitionsFile);
9897
}
9998

99+
$output = null;
100100
if (isset($_SERVER['MAGE_PROFILER'])) {
101101
switch ($_SERVER['MAGE_PROFILER']) {
102102
case 'firebug':
103-
Magento_Profiler::registerOutput(new Magento_Profiler_Output_Firebug());
103+
$output = new Magento_Profiler_Driver_Standard_Output_Firebug();
104104
break;
105105
case 'csv':
106-
Magento_Profiler::registerOutput(new Magento_Profiler_Output_Csvfile(__DIR__ . '/../var/log/profiler.csv'));
106+
$output = new Magento_Profiler_Driver_Standard_Output_Csvfile(__DIR__ . '/../var/log/profiler.csv');
107107
break;
108108
default:
109-
Magento_Profiler::registerOutput(new Magento_Profiler_Output_Html());
109+
$output = new Magento_Profiler_Driver_Standard_Output_Html();
110110
}
111111
}
112+
113+
if ($output) {
114+
$driver = new Magento_Profiler_Driver_Standard();
115+
$driver->registerOutput($output);
116+
Magento_Profiler::add($driver);
117+
}

app/code/core/Mage/Adminhtml/Block/Api/Buttons.php

-88
This file was deleted.

app/code/core/Mage/Adminhtml/Block/Api/Editroles.php

-69
This file was deleted.

app/code/core/Mage/Adminhtml/Block/Api/Grid/Role.php

-81
This file was deleted.

app/code/core/Mage/Adminhtml/Block/Api/Role.php

-46
This file was deleted.

0 commit comments

Comments
 (0)