forked from oroinc/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
1,272 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*~ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
], | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"name": "oro/platform", | ||
"description": "Business Application Platform (BAP)", | ||
"homepage": "[email protected]: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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Submodule JsFormValidationBundle
deleted from
d79ccd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.settings | ||
/.buildpath | ||
/.project | ||
/.idea |
20 changes: 20 additions & 0 deletions
20
src/Oro/Bundle/JsFormValidationBundle/DependencyInjection/Configuration.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/Oro/Bundle/JsFormValidationBundle/DependencyInjection/OroJsFormValidationExtension.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | ||
} | ||
} |
Oops, something went wrong.