Skip to content

Commit 7ad2dc7

Browse files
committed
0.1.0-alpha95
* Modularity * Log module became switchable * New switchable module TaxImportExport was created * Sales module improvement: * Performance was improved * Complexity of the order persistence logic was reduced * Unit tests coverage for modules was increased: * Magento\Rule * Magento\Contact * Framework: * Composite and bundle save/load processors were added * Support for the complex custom attributes were added * Generic abstract data objects, that is simple and extensible (supports custom attributes), were created * Search Library: * Approach of matching the fields to table names was implemented * MySQL Adapter Library for Match and Filtered query types was added * Ability to filter queries was added * Response handler for MySQL adapter was added * XML declarations for full-text search were added * Functional tests: * Add Products to Order from Last Ordered Products Section * Add Products to Order from Products in Comparison List Section * Add Products to Order from Recently Compared Products Section * Create Configurable Product * Create Store * Create Website * Delete Product From Customer Wishlist On Backend * Delete Store * Delete Website * Viewed Products Report * Products In Cart Report * Manage Product Review from Customer Page * Mass Assign Customer Group * New Account Report * Update Product Review From Product Page * Update Store * Manage Product Review From Customer Page * Other: * Session.name ini set * Calls to setPublicCookie became more secured * Generating the session ID for sensitive data was added * Fixed bugs: * Placing the order from backend * Redirecting the customer to empty shopping cart instead of displaying credit card iFrame on checkout with for PayPal Payflow Link * Showing the message for multiple shipping address checkout in Authorize partial approval flow * Mess detector failure * flv_player security vulnerability * Calling the inexistent method in cart with shopping cart price rules * Overriding a non-empty custom attribute value with empty value in store view scope * Editing in 'WYSIWYG editor' by clicking "Use Default" checkbox when switched to store view scope * RSS list page vulnerability * Applying the store View title on frontend for configurable attributes * Viewing the uploaded sample in downloadable product * Google Shopping: Problem with publishing products if change value for option 'Update Google Shopping Item when Product is Updated' * Configuration scope of items' InStock status on order cancellation * Creating the new customer in admin * GitHub requests: * magento#621-- Parse error: syntax error, unexpected T_OBJECT_OPERATOR * magento#651-- Multishipping checkout add/edit address page issue
1 parent f588199 commit 7ad2dc7

File tree

1,674 files changed

+36006
-19386
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,674 files changed

+36006
-19386
lines changed

.htaccess

+1
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,4 @@
188188
## http://developer.yahoo.com/performance/rules.html#etags
189189

190190
#FileETag none
191+

CHANGELOG.md

+68-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
0.1.0-alpha95
2+
=============
3+
* Modularity
4+
* Log module became switchable
5+
* New switchable module TaxImportExport was created
6+
* Sales module improvement: 
7+
* Performance was improved
8+
* Complexity of the order persistence logic was reduced
9+
* Unit tests coverage for modules was increased:
10+
* Magento\Rule
11+
* Magento\Contact
12+
* Framework:
13+
* Composite and bundle save/load processors were added
14+
* Support for the complex custom attributes were added
15+
* Generic abstract data objects, that is simple and extensible (supports custom attributes), were created  
16+
* Search Library:
17+
* Approach of matching the fields to table names was implemented
18+
* MySQL Adapter Library for Match and Filtered query types was added
19+
* Ability to filter queries was added
20+
* Response handler for MySQL adapter was added
21+
* XML declarations for full-text search were added
22+
* Functional tests:
23+
* Add Products to Order from Last Ordered Products Section
24+
* Add Products to Order from Products in Comparison List Section
25+
* Add Products to Order from Recently Compared Products Section
26+
* Create Configurable Product
27+
* Create Store
28+
* Create Website
29+
* Delete Product From Customer Wishlist On Backend
30+
* Delete Store
31+
* Delete Website
32+
* Viewed Products Report
33+
* Products In Cart Report
34+
* Manage Product Review from Customer Page
35+
* Mass Assign Customer Group
36+
* New Account Report
37+
* Update Product Review From Product Page
38+
* Update Store
39+
* Manage Product Review From Customer Page
40+
* Other:
41+
* Session.name ini set
42+
* Calls to setPublicCookie became more secured
43+
* Generating the session ID for sensitive data was added
44+
*  Fixed bugs:
45+
* Placing the order from backend
46+
* Redirecting the customer to empty shopping cart instead of displaying credit card iFrame on checkout with for PayPal Payflow Link
47+
* Showing the  message for multiple shipping address checkout in Authorize partial approval flow
48+
* Mess detector failure
49+
* flv_player security vulnerability
50+
* Calling the inexistent method in cart with shopping cart price rules
51+
* Overriding a non-empty custom attribute value with empty value in store view scope
52+
* Editing  in 'WYSIWYG editor' by clicking "Use Default" checkbox when switched to store view scope
53+
* RSS list page vulnerability
54+
* Applying the store View title on frontend for configurable attributes
55+
* Viewing the uploaded sample in downloadable product
56+
* Google Shopping: Problem with publishing products if change value for option 'Update Google Shopping Item when Product is Updated'
57+
* Configuration scope of items' InStock status on order cancellation
58+
* Creating the new customer in admin
59+
* GitHub requests:
60+
* #621 -- Parse error: syntax error, unexpected T_OBJECT_OPERATOR
61+
* #651 -- Multishipping checkout add/edit address page issue
62+
163
0.1.0-alpha94
264
=============
365
* Implemented API services:
@@ -15,7 +77,7 @@
1577
* Create Shopping Cart Gift Message service
1678
* Create Shopping Cart Totals service
1779
* Fixed bugs:
18-
* Fixed an issue where selecting a shipping method in PayPal Express Checkout resulted in a fatal error
80+
* Fixed an issue where selecting a shipping method in PayPal Express Checkout resulted in a fatal error
1981
* Fixed an issue where the information displayed on the Payment Information step of Zero Subtotal Checkout was confusing
2082
* Fixed a JavaScript error in shipping label
2183
* Fixed an issue with wrong layout of the storefront pages
@@ -26,20 +88,20 @@
2688
* Fixed an issue where taxes were not applied in the shopping cart after registering customer on the storefront
2789
* Fixed an issue where the wrong html markup was generated on My order pages for the WEEE tax
2890
* Fixed an issue where the built-in caching did not work on product pages
29-
* Removed the stream resource usage to avoid errors when the allow_url_fopen PHP option is set to Off
91+
* Removed the stream resource usage to avoid errors when the allow_url_fopen PHP option is set to Off
3092
* Fixed the New Return page layout on the backend
31-
* Fixed an issue where it was impossible to apply a specific coupon code when the Apply to Shipping Amount option of the Shopping Cart Rule was set to Yes
93+
* Fixed an issue where it was impossible to apply a specific coupon code when the Apply to Shipping Amount option of the Shopping Cart Rule was set to Yes
3294
* Removed file paths/content from test case names in data-driven tests
33-
* Fixed an issue where pagination was absent in the Order Status grid
95+
* Fixed an issue where pagination was absent in the Order Status grid
3496
* Fixed an issue where after applying a discount coupon and changing the currency the discount value was incorrect
3597
* Fixed an issue where trying to a new rating resulted in a fatal error
3698
* Fixed an issue where the minimum order amount was compared with subtotal without taxes
3799
* Fixed an issue where it was impossible to open the previous step during Onepage Checkout
38-
* Fixed an issue with Persistent Shopping Cart where an unexpected message was displayed during checkout if a user started the checkout after the short-term cookie had expired
100+
* Fixed an issue with Persistent Shopping Cart where an unexpected message was displayed during checkout if a user started the checkout after the short-term cookie had expired
39101
* Fixed an issue where a customer was redirected to the shopping cart after selecting shipping method during checkout with a payment method using 3D Secure
40102
* Fixed an issue where the Cart Item service used itemSku instead itemId
41103
* Fixed an issue where gift messages for individual items were not saved during backend order creation
42-
* Fixed an issue where the Purchase Order Number input field was not displayed in Onepage Checkout if only one payment method was enabled
104+
* Fixed an issue where the Purchase Order Number input field was not displayed in Onepage Checkout if only one payment method was enabled
43105
* GitHub requests:
44106
* [#446] (https://github.com/magento/magento2/issues/446) -- Rounding different in order to original quote calculation
45107

CONTRIBUTOR_LICENSE_AGREEMENT.html

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>CONTRIBUTOR LICENSE AGREEMENT</title>
5+
<style>
6+
body {
7+
font-size: 14px;
8+
}
9+
10+
ol {
11+
counter-reset: list1;
12+
font-family: Verdana, Arial, Helvetica, sans-serif;
13+
padding-bottom: 12px;
14+
}
15+
li {
16+
list-style-type: none;
17+
padding-top: 12px;
18+
}
19+
ol li:before {
20+
counter-increment: list1;
21+
content: counter(list1) ". ";
22+
}
23+
ol ol {
24+
counter-reset: list2;
25+
}
26+
ol ol li:before {
27+
counter-increment: list2;
28+
content: counter(list1) "." counter(list2) ". ";
29+
}
30+
h2 {
31+
text-align: center;
32+
font-family: Verdana, Arial, Helvetica, sans-serif;
33+
}
34+
p {
35+
font-family: Verdana, Arial, Helvetica, sans-serif;
36+
}
37+
div {
38+
width: 800px;
39+
margin: 0 auto;
40+
}
41+
</style>
42+
</head>
43+
<body>
44+
<div>
45+
<h2>
46+
CONTRIBUTOR LICENSE AGREEMENT
47+
</h2>
48+
<p>
49+
This Contributor License Agreement ("Agreement") is made and entered into as of _______________, 20__ (the "Effective Date"), by and between X.commerce, Inc. dba Magento, Inc., a Delaware corporation with its principal place of business at 10441 Jefferson Blvd., Suite 200, Culver City, CA 90232 ("Magento", "we", "us", or "our"), and ______________________________, a _______________ with its principal place of business at _______________________________________ ("Contributor", "you" or "your", and collectively with Magento, the "Parties").
50+
</p>
51+
<ol>
52+
<li><strong><u>Definitions:</u></strong>
53+
<ol>
54+
<li>
55+
<strong>"Contribution"</strong> means any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Magento for inclusion in, or documentation of, any of the products or services owned or managed by Magento (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication provided to Magento or its representatives, including, but not limited to, communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Magento for the purpose of discussing, modifying, revising, and improving the Work, including identification of errors and/or issues and the remedy thereof.
56+
</li>
57+
<li>
58+
<strong>"Contributor"</strong>, <strong>"you"</strong>, or <strong>"your"</strong> means the copyright owner or legal entity authorized by the copyright owner that is entering into this Agreement.
59+
</li>
60+
<li>
61+
<strong>"Contributor Affiliate"</strong> means any past, present or future subsidiary, parent company, sister company, or other corporation, firm, business, partnership, joint venture or entity that controls, is controlled by, or is under common control of Contributor or any of its subsidiaries.
62+
</li>
63+
<li>
64+
<strong>"Control"</strong> means (i) the power, direct or indirect, to cause the direction or management of an entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares of an entity, or (iii) beneficial ownership of an entity.
65+
</li>
66+
<li>
67+
<strong>"Magento Affiliate"</strong> means any past, present or future subsidiary, parent company, sister company, or other corporation, firm, business, partnership, joint venture or entity that controls, is controlled by, or is under common control of Magento or any of its subsidiaries.
68+
</li>
69+
</ol>
70+
</li>
71+
<li><strong><u>License Grants:</u></strong>
72+
<ol>
73+
<li><strong>Grant of Copyright License.</strong> Subject to the terms and conditions of this Agreement, Contributor and Contributor Affiliates hereby grant to Magento, Magento Affiliates and all third party recipients of software, services, and all other information distributed by Magento as part of any Magento project, product or service a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Contributions and such derivative works.</li>
74+
<li><strong>Grant of Patent License.</strong> Subject to the terms and conditions of this Agreement, Contributor and Contributor Affiliates hereby grant to Magento, Magento Affiliates, and all third party recipients of software, services, and information distributed by Magento as part of any Magento project, product or service a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Contributions, where such license applies only to those patent claims licensable by Contributor that are necessarily infringed by Contributions alone or by combination with software and/or information related to any Magento project, product or service.</li>
75+
<li><strong>Grant to Magento and Magento Affiliates.</strong> The rights conferred in this Agreement on Magento shall automatically and immediately extend to any entity that later becomes a Magento Affiliate or a part of Magento.</li>
76+
<li><strong>Contributions.</strong> Contributor agrees to the terms and conditions of this Agreement for present and future Contributions, which Contributor submits to Magento. Except for the licenses granted herein, Contributor reserves all right, title, and interest in and to Contributor Contributions.</li>
77+
</ol>
78+
</li>
79+
<li>
80+
<strong><u>Representations:</u></strong>
81+
<ol>
82+
<li><strong>Original Work.</strong> Contributor represents that each Contribution is Contributor’s own original creation and that Contributor is the copyright owner or legal entity authorized by the copyright owner of all Contributions.</li>
83+
<li><strong>Ownership and Authority.</strong> Contributor represents that it is legally entitled to grant the licenses above and that the Contributions do not include any third party copyrights, patents, trade secrets, licenses, or other restrictions ("Third Party IP"), and that Contributor will not declare any dependencies on any open source projects, proprietary software or Third Party IP, unless Contributor has made a Complete Disclosure prior to or at the time of the Contribution submission.</li>
84+
<li><strong>Complete Disclosure.</strong> If applicable, Contributor represents that each and every Contribution submission includes complete details of any third-party license or other restrictions associated with any part of the Contribution.</li>
85+
<li><strong>Support.</strong> Contributor is not expected to provide support for Contributions, except to the extent Contributor desires to provide support. Contributor may provide support for free, for a fee, or not at all.</li>
86+
<li><strong>Notification of any Change.</strong> You agree to notify Magento if any of the facts, circumstances or representations made herein are or become inaccurate in any respect.</li>
87+
</ol>
88+
</li>
89+
<li>
90+
<strong><u>General:</u></strong>
91+
<ol>
92+
<li><strong>Waiver.</strong> Contributor waives all other claims of any nature, including express contract, implied-in-fact contract, or quasi-contract, arising out of any disclosure of the Contributions to Magento. As such, Magento is under no obligation to use or implement the Contributions in any respect.</li>
93+
<li><strong>Competitive or Similar Materials.</strong> In no event shall Magento or Magento Affiliates be precluded from discussing, reviewing, developing for itself, having developed, or developing for third parties, materials which are competitive with those set forth in the Contributions irrespective of their similarity to the information in the Contributions, so long as Magento complies with the terms of this Agreement.</li>
94+
<li><strong>Term.</strong> This Agreement shall remain in effect for a period of five (5) years from the Effective Date or until termination in writing by either party is delivered to the other party.</li>
95+
<li><strong>Governing Law.</strong> This Agreement will be construed as if both parties jointly wrote it, governed by California law except for its conflicts of laws principles, and any cause of action arising under or relating to this Agreement must be brought exclusively in a court in Santa Clara County, California. </li>
96+
<li><strong>Survival.</strong> Upon termination or expiration of this Agreement, all terms of the Agreement, including the license grants, shall remain in full force and effect, except that Contributor will no longer make submissions to Magento.</li>
97+
</ol>
98+
</li>
99+
</ol>
100+
<p><strong>IN WITNESS WHEREOF,</strong> the Parties have caused this Agreement to be executed by their duly authorized representatives as of the Effective Date.</p>
101+
<table border="0" width="100%">
102+
<tr>
103+
<td width="9%"><strong>Magento, Inc.</strong></td>
104+
<td width="15%"></td>
105+
<td width="6%"></td>
106+
<td width="9%"></td>
107+
<td width="15%"><strong>Contributor</strong><br>
108+
</tr>
109+
<tr>
110+
<td>By:</td>
111+
<td><hr></td>
112+
<td></td>
113+
<td>By:</td>
114+
<td><hr></td>
115+
</tr>
116+
<td>Name:</td>
117+
<td><hr></td>
118+
<td></td>
119+
<td>Name:</td>
120+
<td><hr></td>
121+
</tr>
122+
<tr>
123+
<td>Title:</td>
124+
<td><hr></td>
125+
<td></td>
126+
<td>Title:</td>
127+
<td><hr></td>
128+
</table>
129+
</div>
130+
</body>
131+
</html>

app/autoload.php

+19-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,25 @@
2323
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
2424
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
2525
*/
26-
$vendorDir = require __DIR__ . '/etc/vendor_path.php';
27-
$vendorAutoload = __DIR__ . '/../' . $vendorDir . '/autoload.php';
26+
27+
/**
28+
* Shortcut constant for the root directory
29+
*/
30+
define('BP', dirname(__DIR__));
31+
32+
$vendorDir = require BP . '/app/etc/vendor_path.php';
33+
$vendorAutoload = BP . "/{$vendorDir}/autoload.php";
2834
if (file_exists($vendorAutoload)) {
2935
require_once $vendorAutoload;
3036
}
31-
require_once __DIR__ . '/../lib/internal/Magento/Framework/Autoload/IncludePath.php';
32-
spl_autoload_register([new \Magento\Framework\Autoload\IncludePath(), 'load']);
37+
require_once BP . '/lib/internal/Magento/Framework/Autoload/IncludePath.php';
38+
$includePath = new \Magento\Framework\Autoload\IncludePath();
39+
$includePath->addIncludePath([BP . '/app/code', BP . '/lib/internal']);
40+
spl_autoload_register([$includePath, 'load']);
41+
$classMapPath = BP . '/var/classmap.ser';
42+
if (file_exists($classMapPath)) {
43+
require_once BP . '/lib/internal/Magento/Framework/Autoload/ClassMap.php';
44+
$classMap = new \Magento\Framework\Autoload\ClassMap(BP);
45+
$classMap->addMap(unserialize(file_get_contents($classMapPath)));
46+
spl_autoload_register(array($classMap, 'load'), true, true);
47+
}

app/bootstrap.php

+4-43
Original file line numberDiff line numberDiff line change
@@ -41,55 +41,16 @@
4141
Whoops, it looks like you have an invalid PHP version.</h3>
4242
</div>
4343
<p>Magento supports PHP 5.4.11 or newer.
44-
<a href="http://www.magento.com/install" target="">Find out</a>
45-
how to install Magento using PHP-CGI as a work-around.
46-
</p>
4744
</div>
4845
HTML;
4946
}
50-
exit;
47+
exit(1);
5148
}
5249

53-
/**#@+
54-
* Shortcut constants
55-
*/
56-
define('BP', dirname(__DIR__));
57-
/**#@-*/
58-
59-
/**
60-
* Require necessary files
61-
*/
62-
require_once BP . '/app/functions.php';
6350
require_once __DIR__ . '/autoload.php';
64-
(new \Magento\Framework\Autoload\IncludePath())->addIncludePath(array(BP . '/app/code', BP . '/lib/internal'));
65-
$classMapPath = BP . '/var/classmap.ser';
66-
if (file_exists($classMapPath)) {
67-
require_once BP . '/lib/internal/Magento/Framework/Autoload/ClassMap.php';
68-
$classMap = new \Magento\Framework\Autoload\ClassMap(BP);
69-
$classMap->addMap(unserialize(file_get_contents($classMapPath)));
70-
spl_autoload_register(array($classMap, 'load'), true, true);
71-
}
72-
73-
if (!defined('BARE_BOOTSTRAP')) {
74-
$maintenanceFlag = BP . '/' . \Magento\Framework\App\State\MaintenanceMode::FLAG_DIR . '/'
75-
. \Magento\Framework\App\State\MaintenanceMode::FLAG_FILENAME;
76-
if (file_exists($maintenanceFlag)) {
77-
if (!in_array($_SERVER['REMOTE_ADDR'], explode(",", file_get_contents($maintenanceFlag)))) {
78-
if (PHP_SAPI == 'cli') {
79-
echo 'Service temporarily unavailable due to maintenance downtime.';
80-
} else {
81-
include_once BP . '/pub/errors/503.php';
82-
}
83-
exit;
84-
}
85-
}
51+
require_once BP . '/app/functions.php';
8652

87-
if (!empty($_SERVER['MAGE_PROFILER'])) {
88-
\Magento\Framework\Profiler::applyConfig(
89-
$_SERVER['MAGE_PROFILER'],
90-
dirname(__DIR__),
91-
!empty($_REQUEST['isAjax'])
92-
);
93-
}
53+
if (!empty($_SERVER['MAGE_PROFILER'])) {
54+
\Magento\Framework\Profiler::applyConfig($_SERVER['MAGE_PROFILER'], BP, !empty($_REQUEST['isAjax']));
9455
}
9556
date_default_timezone_set(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::DEFAULT_TIMEZONE);

0 commit comments

Comments
 (0)