Skip to content

Commit

Permalink
Initial repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrebenchuk committed May 27, 2013
2 parents 11d44f4 + d79ccd2 commit da67eae
Show file tree
Hide file tree
Showing 27 changed files with 1,272 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/.settings
/.buildpath
/.project
/.idea
/composer.phar
composer.lock
/vendor
phpunit.xml
*~
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
The Oro Platform Software

The MIT License (MIT)

Copyright (c) 2013, Oro, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
The Oro Platform - Business Application Platform (BAP)
======================================================

The platform is based on the Symfony 2 framework.

This repository contains base bundles forming the Oro Platform (BAP) which allows to easily create new custom business applications.

Installation
------------

```bash
git clone http://gitlab.orocrm.com/platform.git

curl -s https://getcomposer.org/installer | php

php composer.phar install
```

Run unit tests
--------------

To run unit tests of any bundnles :

```bash
phpunit
```

Use as dependency in composer
-----------------------------
Until it's a private repository and it's not published on packagist :

```yaml
"require": {
"oro/platform": "dev-master",
},
"repositories": [
{
"type": "vcs",
"url": "http://gitlab.orocrm.com/platform.git",
"branch": "master"
}
],
```
62 changes: 62 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "oro/platform",
"description": "Business Application Platform (BAP)",
"homepage": "git@gitlab.orocrm.com:platform.git",
"license": "MIT",
"require": {
"symfony/symfony": "2.1.*",
"doctrine/orm": ">=2.2.3,<2.5-dev",
"doctrine/doctrine-bundle": "1.1.*",
"doctrine/data-fixtures": "@dev",
"doctrine/doctrine-fixtures-bundle": "@dev",
"twig/extensions": "1.0.*@dev",
"symfony/assetic-bundle": "2.1.*@dev",
"symfony/swiftmailer-bundle": "2.1.*",
"symfony/monolog-bundle": "2.1.*",
"sensio/distribution-bundle": "2.1.*",
"sensio/framework-extra-bundle": "2.1.*",
"sensio/generator-bundle": "2.1.*",
"jms/di-extra-bundle": "1.3.*@dev",
"jms/job-queue-bundle": "dev-master",
"jms/aop-bundle": "dev-master",
"jms/serializer": "0.12.*@dev",
"jms/serializer-bundle": "0.12.*@dev",
"kriswallsmith/assetic": "1.1.*@dev",
"knplabs/knp-menu": "dev-master",
"knplabs/knp-menu-bundle": "dev-master",
"knplabs/knp-paginator-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "0.11.*",
"friendsofsymfony/jsrouting-bundle": "1.1.*@dev",
"nelmio/api-doc-bundle": "dev-master",
"ass/xmlsecurity": "dev-master",
"besimple/soap-common": "dev-master",
"besimple/soap-server": "dev-master",
"besimple/soap-bundle": "dev-master",
"ddeboer/data-import": "dev-master",
"stof/doctrine-extensions-bundle": "dev-master",
"escapestudios/wsse-authentication-bundle": "2.1.x-dev",
"sonata-project/admin-bundle": "2.1.x-dev",
"sonata-project/doctrine-orm-admin-bundle": "2.1.x-dev",
"liip/imagine-bundle": "dev-master",
"leafo/lessphp": "dev-master",
"symfony/icu": "1.2.*@dev",
"symfony/intl": "2.3.*@dev",
"willdurand/expose-translation-bundle": "0.2.*@dev",
"apy/jsfv-bundle": "2.1.*@dev"
},
"repositories": [
{
"type": "vcs",
"url": "http://gitlab.orocrm.com/vendors/sonataadminbundle.git"
}
],
"autoload": {
"psr-0": { "Oro\\Bundle": "src/" }
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
}
}
58 changes: 58 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "false"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
syntaxCheck = "false"
bootstrap = "vendor/autoload.php">

<testsuites>
<testsuite name="Project Unit Tests">
<directory suffix="Test.php">src/Oro/Bundle/AddressBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/ConfigBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/DataAuditBundle/Tests/Unit</directory>
<!--<directory suffix="Test.php">src/Oro/Bundle/DataFlowBundle/Tests/Unit</directory>-->
<directory suffix="Test.php">src/Oro/Bundle/FilterBundle/Tests/Unit</directory>
<!--<directory suffix="Test.php">src/Oro/Bundle/FlexibleEntityBundle/Tests/Unit</directory>-->
<directory suffix="Test.php">src/Oro/Bundle/GridBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/MeasureBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/NavigationBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/SearchBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/SegmentationTreeBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/SoapBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/TestFrameworkBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/UIBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/UserBundle/Tests/Unit</directory>
<directory suffix="Test.php">src/Oro/Bundle/WindowsBundle/Tests/Unit</directory>
</testsuite>
</testsuites>

<!--
<php>
<server name="KERNEL_DIR" value="/path/to/your/app/" />
</php>
-->
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>vendor</directory>
<directory>src/Oro/Bundle/DataFixtures</directory>
<directory>src/Oro/Bundle/DataFixtures</directory>
<directory>src/Oro/Bundle/Resources</directory>
<directory>src/Oro/Bundle/Tests</directory>
<directory>src/Oro/Bundle/Resources</directory>
<directory>src/Oro/Bundle/Tests</directory>
<directory>src/Oro/Bundle/vendor</directory>
</exclude>
</whitelist>
</filter>

</phpunit>
1 change: 0 additions & 1 deletion src/Oro/Bundle/JsFormValidationBundle
Submodule JsFormValidationBundle deleted from d79ccd
4 changes: 4 additions & 0 deletions src/Oro/Bundle/JsFormValidationBundle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.settings
/.buildpath
/.project
/.idea
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Oro\Bundle\JsFormValidationBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$treeBuilder->root('oro_js_form_validation');

return $treeBuilder;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Oro\Bundle\JsFormValidationBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\Config\Definition\Processor;

class OroJsFormValidationExtension extends Extension
{
/**
* {@inheritdoc}
*/
public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);

$loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
}
}
Loading

0 comments on commit da67eae

Please sign in to comment.