Skip to content

Commit

Permalink
Merge pull request #4 from orocommerce/commerce-1.0.0-beta.3.0
Browse files Browse the repository at this point in the history
Commerce 1.0.0 beta.3.0
  • Loading branch information
Petrov Yehven authored Jul 25, 2016
2 parents cc48669 + 9675004 commit 2e16b4d
Show file tree
Hide file tree
Showing 18 changed files with 2,039 additions and 196 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
/node_modules
/composer.phar
composer.lock
behat.yml
/build/logs/*
/vendor
node_modules/
/cov
/web/bundles
/web/css
/web/images
/web/js
/web/uploads/users/*
/web/media/cache
Expand All @@ -19,6 +21,7 @@ node_modules/
/app/karma.conf.js
/app/config/parameters.yml
/app/config/parameters_test.yml
behat.yml
*~

/app/SymfonyRequirements.php
21 changes: 0 additions & 21 deletions .jscsrc

This file was deleted.

4 changes: 0 additions & 4 deletions .jshintignore

This file was deleted.

37 changes: 0 additions & 37 deletions .jshintrc

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ OroCommerce can be customized and extended to fit any B2B commerce needs.

OroCommerce is a Symfony 2 based application with the following requirements:

* PHP 5.4.9 or above
* PHP 5.4.9 or above with command line interface
* PHP 5.5.9 or above
* PHP 5.5.9 or above with command line interface
* PHP Extensions
* GD
* Mcrypt
Expand Down
3 changes: 2 additions & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class AppKernel extends OroKernel
public function registerBundles()
{
$bundles = array(
// bundles
// bundles
);

if ('dev' === $this->getEnvironment()) {
Expand All @@ -22,6 +22,7 @@ public function registerBundles()

if ('test' === $this->getEnvironment()) {
$bundles[] = new Oro\Bundle\TestFrameworkBundle\OroTestFrameworkBundle();
$bundles[] = new Oro\Bundle\FrontendTestFrameworkBundle\OroFrontendTestFrameworkBundle();
}

return array_merge(parent::registerBundles(), $bundles);
Expand Down
2 changes: 1 addition & 1 deletion app/OroRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class OroRequirements extends SymfonyRequirements
{
const REQUIRED_PHP_VERSION = '5.4.9';
const REQUIRED_PHP_VERSION = '5.5.9';
const REQUIRED_GD_VERSION = '2.0';
const REQUIRED_CURL_VERSION = '7.0';
const REQUIRED_ICU_VERSION = '3.8';
Expand Down
Empty file modified app/cache/.gitignore
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions app/check.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
$symfonyRequirements = new SymfonyRequirements();
$iniPath = $symfonyRequirements->getPhpIniConfigPath();

echo_title('Symfony2 Requirements Checker');
echo_title('Symfony Requirements Checker');

echo '> PHP is using the following php.ini file:'.PHP_EOL;
if ($iniPath) {
echo_style('green', ' '.$iniPath);
} else {
echo_style('warning', ' WARNING: No configuration file (php.ini) used by PHP!');
echo_style('yellow', ' WARNING: No configuration file (php.ini) used by PHP!');
}

echo PHP_EOL.PHP_EOL;
Expand Down Expand Up @@ -42,9 +42,9 @@
}

if ($checkPassed) {
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
echo_block('success', 'OK', 'Your system is ready to run Symfony projects');
} else {
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects');

echo_title('Fix the following mandatory requirements', 'red');

Expand Down
3 changes: 3 additions & 0 deletions app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ imports:
- { resource: parameters_test.yml }
- { resource: security_test.yml }

parameters:
doctrine.dbal.connection_factory.class: 'Oro\Component\Testing\Doctrine\PersistentConnectionFactory'

framework:
test: ~
session:
Expand Down
3 changes: 1 addition & 2 deletions app/config/parameters_test.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ parameters:
database_port: ~
database_name: b2b_dev_test
database_user: root
database_password: root
database_password: ~

mailer_transport: smtp
mailer_host: 127.0.0.1
Expand All @@ -31,4 +31,3 @@ parameters:
installed: ~
assets_version: ~
assets_version_strategy: time_hash

13 changes: 13 additions & 0 deletions behat.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
imports:
- ../../package/platform/src/Oro/Bundle/TestFrameworkBundle/Resources/config/behat.yml.dist

default: &default
extensions:
Behat\MinkExtension:
base_url: 'http://dev-commerce.local/'

selenium2:
<<: *default
extensions:
Behat\MinkExtension:
base_url: 'http://dev-commerce.local/'
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@
}
},
"require": {
"php": ">=5.4.9",
"oro/commerce": "1.0.0-beta.2"
"php": ">=5.5.9",
"oro/commerce": "1.0.0-beta.3"
},
"require-dev": {
"sensio/generator-bundle": "2.5.3"
"sensio/generator-bundle": "2.5.3",
"behat/behat": "3.1.0",
"behat/mink-extension": "^2.0",
"behat/mink-selenium2-driver": "1.*",
"behat/symfony2-extension": "2.1.1",
"nelmio/alice": "^2.1",
"phpunit/phpunit": "4.8.*",
"johnkary/phpunit-speedtrap": "1.0.*",
"mybuilder/phpunit-accelerator": "1.1.*"
},
"config": {
"component-dir": "web/bundles/components"
Expand Down Expand Up @@ -51,7 +59,6 @@
}
},
"repositories": [

{
"type": "composer",
"url": "https://packagist.orocrm.com"
Expand Down
Loading

0 comments on commit 2e16b4d

Please sign in to comment.