Skip to content

Commit 1cd5e3d

Browse files
author
Dale Sikkema
committed
Merge remote-tracking branch 'mainline/develop' into MAGETWO-36837-authentication-bypass
2 parents 54df4ad + 183254f commit 1cd5e3d

File tree

2,196 files changed

+48359
-25347
lines changed

Some content is hidden

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

2,196 files changed

+48359
-25347
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ atlassian*
1010
/.gitattributes
1111
/app/config_sandbox
1212
/app/etc/config.php
13+
/app/etc/env.php
1314
/app/code/Magento/TestModule*
1415
/lib/internal/flex/uploader/.actionScriptProperties
1516
/lib/internal/flex/uploader/.flexProperties
@@ -37,6 +38,7 @@ atlassian*
3738
!/pub/media/wysiwyg/.htaccess
3839
/pub/media/tmp/*
3940
!/pub/media/tmp/.htaccess
41+
/pub/media/captcha/*
4042
/pub/static/*
4143
!/pub/static/.htaccess
4244

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@
188188
## If running in cluster environment, uncomment this
189189
## http://developer.yahoo.com/performance/rules.html#etags
190190

191-
#FileETag none
191+
#FileETag none

.php_cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ $finder = Symfony\CS\Finder\DefaultFinder::create()
1515
->exclude('dev/tests/functional/vendor')
1616
->exclude('dev/tests/integration/tmp')
1717
->exclude('dev/tests/integration/var')
18-
->exclude('lib/internal/CardinalCommerce')
1918
->exclude('lib/internal/Cm')
2019
->exclude('lib/internal/Credis')
2120
->exclude('lib/internal/JSMin')

CHANGELOG.md

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,135 @@
1+
0.74.0-beta10
2+
=============
3+
* Framework improvements:
4+
* Created Admin Login support into the Upgrade Setup Tool
5+
* Added support for image types as custom attributes
6+
* Added @api annotations to all classes that are considered as stable public APIs; marked public data interfaces with '@api'
7+
* Defined Public API for modules: Catalog, CatalogRule, Msrp, UrlRewrite, CatalogUrlRewrite, CmsUrlRewrite, Sales, Quote, SalesRule, Captcha, Cms, Widget
8+
* Created documentation and code samples for Sales & Checkout Module Integration APIs
9+
* Increased code coverage of Integration module
10+
* Fixed performance issues in unit tests
11+
* Moved Sample Data install.php, dev/shell/cron.sh, performance-toolkit/generate.php, dependencies tools, and xmlUpdater to new bin/magento CLI
12+
* Separated Config File (config.php) into Environmental and App configs
13+
* Better validation of install and setup CLI commands
14+
* Changed option names to use dashes in order to conform to naming convention
15+
* Code quality improvements:
16+
* Removed unused classes in Magento\Reports module
17+
* Overall unit test coverage was improved
18+
* Replaced all functional tests which were not end-to-end with injectable test
19+
* Replaced end-to-end test for automatic tax applying with injectable test
20+
* Functional tests maintained
21+
* Updated getElements method for Selenium Driver class in MTF
22+
* Implemented mechanism of cleaning up all data after scenario execution
23+
* Fixed integration testLayoutFilesTest
24+
* Design improvements:
25+
* New look&feel for Collapsible Panels in backend
26+
* New look&feel for System Warnings Pop-Ups in backend
27+
* New look&feel for Grid Tables in backend
28+
* Various improvements:
29+
* Implemented checkout UI rendering in browser
30+
* Added exact image sizes provision in templates
31+
* Added width and height attributes to Frontend logo
32+
* Integrated JIT(Just In Time) plugin loader for Grunt.js
33+
* Handling Invalid Less During PHP Compilation
34+
* Enhanced PageCache invalidation
35+
* Private data rendering in browser based on JSON data obtained from server side and kept in Local Storage instead of HTML obtained using AJAX PageCache action
36+
* Refactor blocks on most frequently used pages (Catalog, CMS) to use new private data rendering mechanism
37+
* Refactor blocks which can be added on any page (like widgets, banners) to use new private data rendering mechanism
38+
* Default PageCache entries TTL value increased from 2 minutes to 24 hours
39+
* Cache entries invalidation logging was introduced in order to simplify running of invalidation process
40+
* Fixed bugs:
41+
* Fixed an issue where orders total report was not showing results grouped by day
42+
* Fixed an issue with non-displaying Abandoned Carts report grid
43+
* Fixed integration test failure in Reports GridTest
44+
* Fixed an issue where fixed bundle product could not be created
45+
* Fixed an issue where grouped product with quantity 0 was added to cart with quantity of 1
46+
* Fixed an issue where versions tab was absent after publish CMS page
47+
* Fixed an issue where shopping cart was empty after attempt to update it
48+
* Fixed an issue where there was no redirect to shopping cart after EDIT/UPDATE cart product if custom options
49+
* Fixed an issue where New Accounts report did not work
50+
* Fixed bug when Admin user wasn't locked after exceeding maximum login failures attempts
51+
* Fixed an issue where downloadable Product detailed info wasn't displayed in Cart & on Checkout
52+
* Fixed an issue with wrong copyright year for store front
53+
* Fixed: JSMinException when deploying static files in production mode with minification enabled
54+
* Fixed: Overlapped FPT Attribute in Mini Shopping Cart
55+
* Fixed: View of current item for Customer menu tabs
56+
* Fixed an issue where status label was not refreshed when disabling/enabling cache
57+
* Fixed an issue where Success Page of Web Setup did not show https
58+
* Fixed an issue with irrelevant/unused template
59+
* Fixed an issue where static content running setup:static-content:deploy with language code {a-Z}{a-Z}{a-Z} couldn't be generated
60+
* [Usability] Output from language, and timezone help commands is alphabetized
61+
* Fixed an issue with two identical IdentityInterface definitions in code base.
62+
* Fixed an issue where default value of timezone in installer was not correct
63+
* Fixed an issue where bank Transfer payment instructions were not displayed
64+
* Fixed an issue when New Accounts report did not work
65+
* Fixed an issue when New Accounts report showed invalid data
66+
* Fixed an issue with Exception in setup wizard after Magento is installed
67+
* Fixed visual misfits for Custom Options on "edit Bundle Product" Frontend page
68+
* Fixed broken layout for configurable variations when changing from pricing measure from $ to %
69+
* Fixed widget UI issues on Frontend
70+
* Fixed an issue with Float button bar on Backend
71+
* Fixed UI issue shown in ACL Resource Tree
72+
* Fixed an issue where it was not possible to place order on frontend using secure urls
73+
* Fixed an issue with wrong behaviour for save new shipping address during checkout
74+
* Fixed an issue with customers information leak via Checkout
75+
* Fixed an issue where users could not login to Magento admin & front on HipHop Virtual Machine
76+
* Fixed an issue where product Options details were not shown in Mini Cart
77+
* Fixed an issue where Create Permanent Redirect check-box was inactive on Edit Category page
78+
* Fixed an issue where it was impossible to perform product mass update
79+
* Fixed an issue where category redirect was absent after update category url
80+
* Github issues:
81+
* [#566](https://github.com/magento/magento2/issues/566) -- Fulltext search index: slow query in resetSearchResults()
82+
* [#1269](https://github.com/magento/magento2/issues/1269) -- Magento dashboard revenue ,shipping ,qty,tax all are 0.
83+
* [#1200](https://github.com/magento/magento2/issues/1200) -- I'm not getting default values (name & email) in contact form when i logged in
84+
* [#1087](https://github.com/magento/magento2/pull/1087) -- Check for select and multiselect to ignore corrupted attributes
85+
* [#1268](https://github.com/magento/magento2/issues/1268) -- Dist front: search is broken
86+
* [#1195](https://github.com/magento/magento2/pull/1195) -- Use table alias for qty field
87+
* [#1274](https://github.com/magento/magento2/pull/1274) -- CatalogImportExport validation
88+
* [#1233](https://github.com/magento/magento2/issues/1233) -- Wrong message when moving a category
89+
* [#1040](https://github.com/magento/magento2/issues/1040) -- Required date validation on Magento2 Backend
90+
* [#1246](https://github.com/magento/magento2/issues/1246) -- How to load product store wise?
91+
* [#1222](https://github.com/magento/magento2/issues/1222) -- Sku attribute save error
92+
* [#1237](https://github.com/magento/magento2/issues/1237) -- Category admin reset button does nothing
93+
* [#1046](https://github.com/magento/magento2/issues/1046) -- Two equal files
94+
* [#1282](https://github.com/magento/magento2/pull/1282), [#1285](https://github.com/magento/magento2/pull/1285) -- Fix broken link in CHANGELOG.md
95+
* [#1223](https://github.com/magento/magento2/issues/1223) -- Store config re-encrypt encrypted values on save
96+
* [#1242](https://github.com/magento/magento2/issues/1242) -- Eclipse pdt validator error
97+
98+
0.74.0-beta9
99+
=============
100+
* Framework improvements
101+
* Magento became compatible with MySQL Cluster
102+
* Zend Framework 2 is upgraded up to version 2.4.0
103+
* Various
104+
* Updated payments infrastructure so it can use transparent redirects
105+
* Defined public API for Tax/Pricing components
106+
* Refactored controller actions in the Product area
107+
* Moved commands cache.php, indexer.php, log.php, test.php, compiler.php, singletenant\_compiler.php, generator.php, pack.php, deploy.php and file\_assembler.php to the new bin/magento CLI framework
108+
* Data Migration Tool
109+
* The Data Migraiton Tool is published in the separate [repository](https://github.com/magento/data-migration-tool-ce "Data Migration Tool repository")
110+
* Fixed bugs
111+
* Fixed an issue where error appeared during placing order with virtual product
112+
* Fixed an issue where billing and shipping sections didn't contain address information on order print
113+
* Fixed an issue where fatal error appeared on Catalog page on backend for user with custom role scope
114+
* Fixed an issue where product could not be found in search results when the website was assigned after product creation
115+
* Fixed an issue where shopping cart was empty after attempt to update it
116+
* Fixed an issue where there was no redirect to shopping cart after edit/updating cart product with custom options
117+
* Fixed an issue where environment variables were messed up for different entry points
118+
* Fixed an issue where tax class name was corrupted if containing '<' char
119+
* Fixed an issue where there was no ability to place an order with custom option "file"
120+
* Fixed an issue where sensitive cookies were persistent
121+
* Fixed possible XSS in payment methods
122+
* Fixed an issue with integration test failure when run in default mode
123+
* Fixed an issue with integration tests failure when xdebug is enabled
124+
* Fixed an issue where there was impossible to delete any entity which calls confirmation alert
125+
* GitHub issues and pull requests
126+
* [#904](https://github.com/magento/magento2/issues/904) -- Installation Incomplete with XDebug enabled
127+
* [#1083](https://github.com/magento/magento2/pull/1083) -- Move Topmenu CategoryData creation to a public method to enable plugin
128+
* [#1125](https://github.com/magento/magento2/pull/1125) -- Saving category reset its changes in category tree
129+
* [#1144](https://github.com/magento/magento2/pull/1144) -- Refactor bindRemoveButtons for improved performance
130+
* [#1214](https://github.com/magento/magento2/pull/1214) -- Avoid following error
131+
* [#1216](https://github.com/magento/magento2/issues/1216) -- Can't install sample data
132+
1133
0.74.0-beta8
2134
=============
3135
* Performance Toolkit improvements

Gruntfile.js

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ module.exports = function (grunt) {
2323
require('load-grunt-config')(grunt, {
2424
configPath: path.join(__dirname, configDir),
2525
init: true,
26-
loadGruntTasks: {
27-
pattern: [
28-
'grunt-*'
29-
]
26+
jitGrunt: {
27+
staticMappings: {
28+
usebanner: 'grunt-banner'
29+
}
3030
}
3131
});
3232

3333
_.each({
3434
/**
3535
* Assembling tasks.
36-
* ToDo UI: define default tasks.
36+
* ToDo: define default tasks.
3737
*/
3838
default: function () {
3939
grunt.log.subhead('I\'m default task and at the moment I\'m empty, sorry :/');
@@ -43,17 +43,19 @@ module.exports = function (grunt) {
4343
* Production preparation task.
4444
*/
4545
prod: function (component) {
46-
if (component === 'setup') {
47-
grunt.task.run([
48-
'less:' + component,
49-
'autoprefixer:' + component,
50-
'cssmin:' + component,
51-
'usebanner:' + component
52-
]);
53-
}
46+
var tasks = [
47+
'less',
48+
'autoprefixer',
49+
'cssmin',
50+
'usebanner'
51+
].map(function(task){
52+
return task + ':' + component;
53+
});
5454

5555
if (typeof component === 'undefined') {
5656
grunt.log.subhead('Tip: Please make sure that u specify prod subtask. By default prod task do nothing');
57+
} else {
58+
grunt.task.run(tasks);
5759
}
5860
},
5961

app/code/Magento/AdminNotification/Block/System/Messages.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public function getSystemMessageDialogJson()
123123
'autoOpen' => false,
124124
'width' => '75%',
125125
'modal' => true,
126+
'minHeight' => '0',
126127
'dialogClass' => 'ui-dialog-active ui-popup-message',
127128
'ajaxUrl' => $this->_getMessagesUrl()
128129
],

app/code/Magento/AdminNotification/Model/Feed.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
namespace Magento\AdminNotification\Model;
77

8-
use Magento\Framework\Config\ConfigOptionsList;
8+
use Magento\Framework\Config\ConfigOptionsListConstants;
99

1010
/**
1111
* AdminNotification Feed model
@@ -137,7 +137,7 @@ public function checkUpdate()
137137

138138
$feedXml = $this->getFeedData();
139139

140-
$installDate = strtotime($this->_deploymentConfig->get(ConfigOptionsList::CONFIG_PATH_INSTALL_DATE));
140+
$installDate = strtotime($this->_deploymentConfig->get(ConfigOptionsListConstants::CONFIG_PATH_INSTALL_DATE));
141141

142142
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
143143
foreach ($feedXml->channel->item as $item) {
@@ -239,6 +239,8 @@ public function getFeedData()
239239
}
240240

241241
/**
242+
* Retrieve feed as XML element
243+
*
242244
* @return \SimpleXMLElement
243245
*/
244246
public function getFeedXml()

app/code/Magento/AdminNotification/Model/Inbox.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Framework\Notification\MessageInterface;
99
use Magento\Framework\Notification\NotifierInterface;
10+
use Magento\AdminNotification\Model\InboxInterface;
1011

1112
/**
1213
* AdminNotification Inbox model
@@ -30,7 +31,7 @@
3031
*
3132
* @author Magento Core Team <core@magentocommerce.com>
3233
*/
33-
class Inbox extends \Magento\Framework\Model\AbstractModel implements NotifierInterface
34+
class Inbox extends \Magento\Framework\Model\AbstractModel implements NotifierInterface, InboxInterface
3435
{
3536
/**
3637
* @return void
@@ -41,10 +42,7 @@ protected function _construct()
4142
}
4243

4344
/**
44-
* Retrieve Severity collection array
45-
*
46-
* @param int|null $severity
47-
* @return array|string|null
45+
* {@inheritdoc}
4846
*/
4947
public function getSeverities($severity = null)
5048
{
@@ -66,9 +64,7 @@ public function getSeverities($severity = null)
6664
}
6765

6866
/**
69-
* Retrieve Latest Notice
70-
*
71-
* @return $this
67+
* {@inheritdoc}
7268
*/
7369
public function loadLatestNotice()
7470
{
@@ -78,9 +74,7 @@ public function loadLatestNotice()
7874
}
7975

8076
/**
81-
* Retrieve notice statuses
82-
*
83-
* @return array
77+
* {@inheritdoc}
8478
*/
8579
public function getNoticeStatus()
8680
{
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
namespace Magento\AdminNotification\Model;
7+
8+
/**
9+
* AdminNotification Inbox interface
10+
*
11+
* @author Magento Core Team <core@magentocommerce.com>
12+
*/
13+
interface InboxInterface
14+
{
15+
/**
16+
* Retrieve Severity collection array
17+
*
18+
* @param int|null $severity
19+
* @return array|string|null
20+
* @api
21+
*/
22+
public function getSeverities($severity = null);
23+
24+
/**
25+
* Retrieve Latest Notice
26+
*
27+
* @return $this
28+
* @api
29+
*/
30+
public function loadLatestNotice();
31+
32+
/**
33+
* Retrieve notice statuses
34+
*
35+
* @return array
36+
* @api
37+
*/
38+
public function getNoticeStatus();
39+
}

app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\AdminNotification\Model\System\Message;
108

119
use Magento\Store\Model\Store;
@@ -121,7 +119,9 @@ public function isDisplayed()
121119
public function getText()
122120
{
123121
return __(
124-
'{{base_url}} is not recommended to use in a production environment to declare the Base Unsecure URL / Base Secure URL. It is highly recommended to change this value in your Magento <a href="%1">configuration</a>.',
122+
'{{base_url}} is not recommended to use in a production environment to declare the Base Unsecure '
123+
. 'URL / Base Secure URL. It is highly recommended to change this value in your Magento '
124+
. '<a href="%1">configuration</a>.',
125125
$this->_getConfigUrl()
126126
);
127127
}

0 commit comments

Comments
 (0)