Skip to content

Commit

Permalink
0.1.0-alpha101
Browse files Browse the repository at this point in the history
* Framework improvements:
  * Updated the Service infrastructure to support Module Service Contract based approach
  * Added new base classes in the Service infrastructure lib to support extensible Data Interfaces
  * Updated the WebApi framework serialization (for SOAP and REST) to process requests based on Data Interfaces and removed dependency on Data Objects
  * Added base class for Data Interface based builders and implemented a code generator for the same
 * File system improvements:
   * List of available application directories is complete now and defined in the \Magento\Framework\Filesystem\DirectoryList and the \Magento\Framework\App\Filesystem\DirectoryList classes. There is no ability to extend the list in configuration
   * Directory paths  can be changed using environment/bootstrap
   * Information about necessary permissions (writable, readable) belongs to Setup Application, Magento Application does not possess this info and does not verify. Setup Application performs permissions validation
   * Unnecessary writable permissions are validated by Setup Application after installation and corresponding message is displayed to the user
 * Functional tests:
  * Configure a product in a customer wishlist  in the Admin panel
  * Configure a product in a customer wishlist on the storefront
  * Create terms and conditions
  * Manage products stock
  * Move a product from a shopping card to a wishlist
  * Un-assign custom order status
  * Update terms and conditions
  * Update URL rewrites after moving/deleting a category
  * Update URL rewrites after changing category assignment for a product
  * View customer wishlist  in the Admin panel
  * Tax calculation test
  * Cross border trade setting
 * Documentation:
  * Code documentation:
    * Added codeblock for the Checkout module
  * Added README files with module description for the following modules:
    * Backend
    * Backup
    * Cron
    * Log
    * PageCache
    * Store
    * Checkout
    * GiftMessage
    * Eav
    * Multishipping
    * CheckoutAgreement
    * AdminNotification
    * Authz
    * Connect
    * CurrencySymbol
    * Directory
    * Email
    * Integration
    * Service
    * User
    * Webapi
    * Sales
    * Tax
    * Weee
  * Added README files with component description for the following framework components:
    * Magento\Framework\App\Cache
    * Magento\Framework\Archive
    * Magento\Framework\Backup
    * Magento\Framework\Convert
    * Magento\Framework\Encryption
    * Magento\Framework\File
    * Magento\Framework\Filesystem
    * Magento\Framework\Flag
    * Magento\Framework\Image
    * Magento\Framework\Math
    * Magento\Framework\Option
    * Magento\Framework\Profiler
    * Magento\Framework\Shell
    * Magento\Framework\Stdlib
    * Magento\Framework\Validator
 * Performance improvements:
  * Reduced checkout response time by loading only current checkout step
  * Reduced the number of AJAX calls on checkout steps
  * Improved performance on the billing and shipping checkout steps
  * Improved performance in certain areas by loading translation data from cache
  * Removed transactions from visitors logging
  * Fixed classmap generator to consider namespaces
  * Eliminated a redundant query for category tree rendering
  * Optimized StoreManager and Storage performance
  * Optimized Object Manager
 * Fixed bugs:
  * Fixed an issue where partial invoices and partial credit memos contained incorrect customer's tax details
  * Fixed an issue where a PHP fatal error occurred when logging in during checkout to order a product with FPT
  * Fixed an issue where FPT was not calculated in reorders
  * Fixed an issue where there was a duplicated Administrator role after installation
  * Fixed an issue where the Try Again button was disabled after entering the incorrect data during installation
  * Fixed an issue where the "Application is not installed yet" error was thrown instead of redirecting to the Installation Wizard in the developer mode
  * Fixed an issue where an error was thrown during installation with db_prefix option
  * Fixed an issue where the SQL query was not optimized for product search ('catalogsearch_query')
  * Fixed an issue where the wrong message was displayed after changing customer password on the storefront
  * Fixed an issue where Newsletter preview led to an empty page
  * Fixed an issue where a new search term was not displayed in suggested results
  * Fixed an issue where no results were found for the Products Viewed report
  * Fixed an issue where no results were found for Coupons reports
  * Fixed an issue with incremental Qty setting
  * Fixed an issue with allowing importing of negative weight values
  * Fixed an issue with Inventory - Only X left Treshold being not dependent on Qty for Item's Status to Become Out of Stock
  * Fixed an issue where the "Catalog Search Index index was rebuilt." message was displayed when reindexing the Catalog Search index
 * Search module:
  * Integrated the Search library to the advanced search functionality
    * Substituted the old logic of the EAV attributes search by Advanced Search
    * Introduced mappers for MySQL adapter
    * Restored  the currency calculation functionality
    * Fixed sorting by relevance in quick search and advanced search
  * Integrated the Search library into the search widget functionality
    * Removed the dependency on the catalogsearch_result table
    * Substituted the old logic of EAV attributes by Quick search APIs
  * Search modularity:
    * Removed circular dependency between Catalog and  Catalog Search
    * Removed exceeded dependencies of the Search module
  • Loading branch information
magento-team committed Oct 24, 2014
1 parent 382da33 commit 328ef8d
Show file tree
Hide file tree
Showing 1,108 changed files with 18,762 additions and 9,589 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ matrix:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq postfix
- composer install
before_script:
# mock mail
- sudo service postfix stop
Expand Down
110 changes: 110 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,113 @@
0.1.0-alpha101
=============
* Framework improvements:
* Updated the Service infrastructure to support Module Service Contract based approach
* Added new base classes in the Service infrastructure lib to support extensible Data Interfaces
* Updated the WebApi framework serialization (for SOAP and REST) to process requests based on Data Interfaces and removed dependency on Data Objects
* Added base class for Data Interface based builders and implemented a code generator for the same
* File system improvements:
* List of available application directories is complete now and defined in the \Magento\Framework\Filesystem\DirectoryList and the \Magento\Framework\App\Filesystem\DirectoryList classes. There is no ability to extend the list in configuration
* Directory paths can be changed using environment/bootstrap
* Information about necessary permissions (writable, readable) belongs to Setup Application, Magento Application does not possess this info and does not verify. Setup Application performs permissions validation
* Unnecessary writable permissions are validated by Setup Application after installation and corresponding message is displayed to the user
* Functional tests:
* Configure a product in a customer wishlist in the Admin panel
* Configure a product in a customer wishlist on the storefront
* Create terms and conditions
* Manage products stock
* Move a product from a shopping card to a wishlist
* Un-assign custom order status
* Update terms and conditions
* Update URL rewrites after moving/deleting a category
* Update URL rewrites after changing category assignment for a product
* View customer wishlist in the Admin panel
* Tax calculation test
* Cross border trade setting
* Documentation:
* Code documentation:
* Added codeblock for the Checkout module
* Added README files with module description for the following modules:
* Backend
* Backup
* Cron
* Log
* PageCache
* Store
* Checkout
* GiftMessage
* Eav
* Multishipping
* CheckoutAgreement
* AdminNotification
* Authz
* Connect
* CurrencySymbol
* Directory
* Email
* Integration
* Service
* User
* Webapi
* Sales
* Tax
* Weee
* Added README files with component description for the following framework components:
* Magento\Framework\App\Cache
* Magento\Framework\Archive
* Magento\Framework\Backup
* Magento\Framework\Convert
* Magento\Framework\Encryption
* Magento\Framework\File
* Magento\Framework\Filesystem
* Magento\Framework\Flag
* Magento\Framework\Image
* Magento\Framework\Math
* Magento\Framework\Option
* Magento\Framework\Profiler
* Magento\Framework\Shell
* Magento\Framework\Stdlib
* Magento\Framework\Validator
* Performance improvements:
* Reduced checkout response time by loading only current checkout step
* Reduced the number of AJAX calls on checkout steps
* Improved performance on the billing and shipping checkout steps
* Improved performance in certain areas by loading translation data from cache
* Removed transactions from visitors logging
* Fixed classmap generator to consider namespaces
* Eliminated a redundant query for category tree rendering
* Optimized StoreManager and Storage performance
* Optimized Object Manager
* Fixed bugs:
* Fixed an issue where partial invoices and partial credit memos contained incorrect customer's tax details
* Fixed an issue where a PHP fatal error occurred when logging in during checkout to order a product with FPT
* Fixed an issue where FPT was not calculated in reorders
* Fixed an issue where there was a duplicated Administrator role after installation
* Fixed an issue where the Try Again button was disabled after entering the incorrect data during installation
* Fixed an issue where the "Application is not installed yet" error was thrown instead of redirecting to the Installation Wizard in the developer mode
* Fixed an issue where an error was thrown during installation with db_prefix option
* Fixed an issue where the SQL query was not optimized for product search ('catalogsearch_query')
* Fixed an issue where the wrong message was displayed after changing customer password on the storefront
* Fixed an issue where Newsletter preview led to an empty page
* Fixed an issue where a new search term was not displayed in suggested results
* Fixed an issue where no results were found for the Products Viewed report
* Fixed an issue where no results were found for Coupons reports
* Fixed an issue with incremental Qty setting
* Fixed an issue with allowing importing of negative weight values
* Fixed an issue with Inventory - Only X left Treshold being not dependent on Qty for Item's Status to Become Out of Stock
* Fixed an issue where the "Catalog Search Index index was rebuilt." message was displayed when reindexing the Catalog Search index
* Search module:
* Integrated the Search library to the advanced search functionality
* Substituted the old logic of the EAV attributes search by Advanced Search
* Introduced mappers for MySQL adapter
* Restored the currency calculation functionality
* Fixed sorting by relevance in quick search and advanced search
* Integrated the Search library into the search widget functionality
* Removed the dependency on the catalogsearch_result table
* Substituted the old logic of EAV attributes by Quick search APIs
* Search modularity:
* Removed circular dependency between Catalog and Catalog Search
* Removed exceeded dependencies of the Search module

0.1.0-alpha100
=============
* Added the following functional tests:
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/AdminNotification/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Admin Notification

**Admin Notification** provides the ability to alert administrators via
system messages and provides a message inbox for surveys and notifications.
10 changes: 5 additions & 5 deletions app/code/Magento/AdminNotification/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"description": "N/A",
"require": {
"php": "~5.4.11|~5.5.0",
"magento/module-store": "0.1.0-alpha100",
"magento/module-core": "0.1.0-alpha100",
"magento/module-backend": "0.1.0-alpha100",
"magento/framework": "0.1.0-alpha100",
"magento/module-store": "0.1.0-alpha101",
"magento/module-core": "0.1.0-alpha101",
"magento/module-backend": "0.1.0-alpha101",
"magento/framework": "0.1.0-alpha101",
"lib-libxml": "*",
"magento/magento-composer-installer": "*"
},
"type": "magento2-module",
"version": "0.1.0-alpha100",
"version": "0.1.0-alpha101",
"extra": {
"map": [
[
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Authorization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Authorization

**Authorization** provides the management of access control list roles and
rules in the application.
6 changes: 3 additions & 3 deletions app/code/Magento/Authorization/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"description": "Authorization module provides access to Magento ACL functionality.",
"require": {
"php": "~5.4.11|~5.5.0",
"magento/module-backend": "0.1.0-alpha100",
"magento/framework": "0.1.0-alpha100",
"magento/module-backend": "0.1.0-alpha101",
"magento/framework": "0.1.0-alpha101",
"magento/magento-composer-installer": "*"
},
"type": "magento2-module",
"version": "0.1.0-alpha100",
"version": "0.1.0-alpha101",
"extra": {
"map": [
[
Expand Down
18 changes: 9 additions & 9 deletions app/code/Magento/Authorizenet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"description": "N/A",
"require": {
"php": "~5.4.11|~5.5.0",
"magento/module-sales": "0.1.0-alpha100",
"magento/module-checkout": "0.1.0-alpha100",
"magento/module-backend": "0.1.0-alpha100",
"magento/module-core": "0.1.0-alpha100",
"magento/module-payment": "0.1.0-alpha100",
"magento/module-centinel": "0.1.0-alpha100",
"magento/module-catalog": "0.1.0-alpha100",
"magento/framework": "0.1.0-alpha100",
"magento/module-sales": "0.1.0-alpha101",
"magento/module-checkout": "0.1.0-alpha101",
"magento/module-backend": "0.1.0-alpha101",
"magento/module-core": "0.1.0-alpha101",
"magento/module-payment": "0.1.0-alpha101",
"magento/module-centinel": "0.1.0-alpha101",
"magento/module-catalog": "0.1.0-alpha101",
"magento/framework": "0.1.0-alpha101",
"magento/magento-composer-installer": "*"
},
"type": "magento2-module",
"version": "0.1.0-alpha100",
"version": "0.1.0-alpha101",
"extra": {
"map": [
[
Expand Down
8 changes: 5 additions & 3 deletions app/code/Magento/Backend/App/Response/Http/FileFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
namespace Magento\Backend\App\Response\Http;

use Magento\Framework\App\Filesystem\DirectoryList;

class FileFactory extends \Magento\Framework\App\Response\Http\FileFactory
{
/**
Expand Down Expand Up @@ -57,7 +59,7 @@ class FileFactory extends \Magento\Framework\App\Response\Http\FileFactory

/**
* @param \Magento\Framework\App\ResponseInterface $response
* @param \Magento\Framework\App\Filesystem $filesystem
* @param \Magento\Framework\Filesystem $filesystem
* @param \Magento\Backend\Model\Auth $auth
* @param \Magento\Backend\Model\UrlInterface $backendUrl
* @param \Magento\Backend\Model\Session $session
Expand All @@ -66,7 +68,7 @@ class FileFactory extends \Magento\Framework\App\Response\Http\FileFactory
*/
public function __construct(
\Magento\Framework\App\ResponseInterface $response,
\Magento\Framework\App\Filesystem $filesystem,
\Magento\Framework\Filesystem $filesystem,
\Magento\Backend\Model\Auth $auth,
\Magento\Backend\Model\UrlInterface $backendUrl,
\Magento\Backend\Model\Session $session,
Expand Down Expand Up @@ -112,7 +114,7 @@ protected function _redirect($path, $arguments = array())
public function create(
$fileName,
$content,
$baseDir = \Magento\Framework\App\Filesystem::ROOT_DIR,
$baseDir = DirectoryList::ROOT,
$contentType = 'application/octet-stream',
$contentLength = null
) {
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Backend/Block/Template/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Context extends \Magento\Framework\View\Element\Template\Context
* @param \Magento\Framework\Filter\FilterManager $filterManager
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate
* @param \Magento\Framework\Translate\Inline\StateInterface $inlineTranslation
* @param \Magento\Framework\App\Filesystem $filesystem
* @param \Magento\Framework\Filesystem $filesystem
* @param \Magento\Framework\View\FileSystem $viewFileSystem
* @param \Magento\Framework\View\TemplateEnginePool $enginePool
* @param \Magento\Framework\App\State $appState
Expand Down Expand Up @@ -113,7 +113,7 @@ public function __construct(
\Magento\Framework\Filter\FilterManager $filterManager,
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate,
\Magento\Framework\Translate\Inline\StateInterface $inlineTranslation,
\Magento\Framework\App\Filesystem $filesystem,
\Magento\Framework\Filesystem $filesystem,
\Magento\Framework\View\FileSystem $viewFileSystem,
\Magento\Framework\View\TemplateEnginePool $enginePool,
\Magento\Framework\App\State $appState,
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Backend/Block/Widget/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Context extends \Magento\Backend\Block\Template\Context
* @param \Magento\Framework\Filter\FilterManager $filterManager
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate
* @param \Magento\Framework\Translate\Inline\StateInterface $inlineTranslation
* @param \Magento\Framework\App\Filesystem $filesystem
* @param \Magento\Framework\Filesystem $filesystem
* @param \Magento\Framework\View\FileSystem $viewFileSystem
* @param \Magento\Framework\View\TemplateEnginePool $enginePool
* @param \Magento\Framework\App\State $appState
Expand Down Expand Up @@ -98,7 +98,7 @@ public function __construct(
\Magento\Framework\Filter\FilterManager $filterManager,
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate,
\Magento\Framework\Translate\Inline\StateInterface $inlineTranslation,
\Magento\Framework\App\Filesystem $filesystem,
\Magento\Framework\Filesystem $filesystem,
\Magento\Framework\View\FileSystem $viewFileSystem,
\Magento\Framework\View\TemplateEnginePool $enginePool,
\Magento\Framework\App\State $appState,
Expand Down
4 changes: 3 additions & 1 deletion app/code/Magento/Backend/Block/Widget/Grid/Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
namespace Magento\Backend\Block\Widget\Grid;

use Magento\Framework\App\Filesystem\DirectoryList;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
Expand Down Expand Up @@ -95,7 +97,7 @@ protected function _construct()
$this->addExportType($type['urlPath'], $type['label']);
}
}
$this->_directory = $this->_filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem::VAR_DIR);
$this->_directory = $this->_filesystem->getDirectoryWrite(DirectoryList::VAR_DIR);
}

/**
Expand Down
4 changes: 3 additions & 1 deletion app/code/Magento/Backend/Block/Widget/Grid/Extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
namespace Magento\Backend\Block\Widget\Grid;

use Magento\Framework\App\Filesystem\DirectoryList;

class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Backend\Block\Widget\Grid\ExportInterface
{
/**
Expand Down Expand Up @@ -190,7 +192,7 @@ protected function _construct()
parent::_construct();
$this->_emptyText = __('We couldn\'t find any records.');

$this->_directory = $this->_filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem::VAR_DIR);
$this->_directory = $this->_filesystem->getDirectoryWrite(DirectoryList::VAR_DIR);
}

/**
Expand Down
24 changes: 10 additions & 14 deletions app/code/Magento/Backend/Controller/Adminhtml/System/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
namespace Magento\Backend\Controller\Adminhtml\System;

use Magento\Backend\App\Action;
use Magento\Framework\Filesystem;
use Magento\Framework\App\Filesystem\DirectoryList;

/**
* Store controller
Expand Down Expand Up @@ -101,21 +103,15 @@ protected function _backupDatabase($failPath, $arguments = array())
return $this;
}
try {
/** @var \Magento\Backup\Model\Db $backupDb */
$backupDb = $this->_objectManager->create('Magento\Backup\Model\Db');
$backup = $this->_objectManager->create(
'Magento\Backup\Model\Backup'
)->setTime(
time()
)->setType(
'db'
)->setPath(
$this->_objectManager->get(
'Magento\Framework\App\Filesystem'
)->getPath(
\Magento\Framework\App\Filesystem::VAR_DIR
) . '/backups'
);

/** @var \Magento\Backup\Model\Backup $backup */
$backup = $this->_objectManager->create('Magento\Backup\Model\Backup');
/** @var Filesystem $filesystem */
$filesystem = $this->_objectManager->get('Magento\Framework\Filesystem');
$backup->setTime(time())
->setType('db')
->setPath($filesystem->getDirectoryRead(DirectoryList::VAR_DIR)->getAbsolutePath('backups'));
$backupDb->createBackup($backup);
$this->messageManager->addSuccess(__('The database was backed up.'));
} catch (\Magento\Framework\Model\Exception $e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
*/
namespace Magento\Backend\Model\Config\Backend\Admin;

use Magento\Framework\App\Filesystem\DirectoryList;

class Robots extends \Magento\Framework\App\Config\Value
{
/**
Expand All @@ -43,7 +45,7 @@ class Robots extends \Magento\Framework\App\Config\Value
* @param \Magento\Framework\Model\Context $context
* @param \Magento\Framework\Registry $registry
* @param \Magento\Framework\App\Config\ScopeConfigInterface $config
* @param \Magento\Framework\App\Filesystem $filesystem
* @param \Magento\Framework\Filesystem $filesystem
* @param \Magento\Framework\Model\Resource\AbstractResource $resource
* @param \Magento\Framework\Data\Collection\Db $resourceCollection
* @param array $data
Expand All @@ -52,13 +54,13 @@ public function __construct(
\Magento\Framework\Model\Context $context,
\Magento\Framework\Registry $registry,
\Magento\Framework\App\Config\ScopeConfigInterface $config,
\Magento\Framework\App\Filesystem $filesystem,
\Magento\Framework\Filesystem $filesystem,
\Magento\Framework\Model\Resource\AbstractResource $resource = null,
\Magento\Framework\Data\Collection\Db $resourceCollection = null,
array $data = array()
) {
parent::__construct($context, $registry, $config, $resource, $resourceCollection, $data);
$this->_directory = $filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem::ROOT_DIR);
$this->_directory = $filesystem->getDirectoryWrite(DirectoryList::ROOT);
$this->_file = 'robots.txt';
}

Expand Down
Loading

0 comments on commit 328ef8d

Please sign in to comment.