diff --git a/composer.json b/composer.json index c1e235670..2ccf95008 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,13 @@ "chill", "social worker" ], + "repositories": [{ + "type": "path", + "url": "./packages/ChillZimbraBundle", + "options": { + "symlink": true + } + }], "require": { "php": "^8.2", "ext-dom": "*", @@ -14,6 +21,7 @@ "ext-openssl": "*", "ext-redis": "*", "ext-zlib": "*", + "chill-project/chill-zimbra-bundle": "@dev", "champs-libres/wopi-bundle": "dev-symfony-v5@dev", "champs-libres/wopi-lib": "dev-master@dev", "doctrine/data-fixtures": "^1.8", diff --git a/config/bundles.php b/config/bundles.php index 72b5e22f5..989338f3e 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -37,4 +37,5 @@ return [ Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], Symfony\UX\Translator\UxTranslatorBundle::class => ['all' => true], loophp\PsrHttpMessageBridgeBundle\PsrHttpMessageBridgeBundle::class => ['all' => true], + Chill\ZimbraBundle\ChillZimbraBundle::class => ['all' => true], ]; diff --git a/package.json b/package.json index a013df3da..1b4c7df13 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@hotwired/stimulus": "^3.0.0", "@luminateone/eslint-baseline": "^1.0.9", "@symfony/stimulus-bridge": "^3.2.0", + "@symfony/ux-translator": "file:vendor/symfony/ux-translator/assets", "@symfony/webpack-encore": "^4.1.0", "@tsconfig/node20": "^20.1.4", "@types/dompurify": "^3.0.5", diff --git a/packages/ChillZimbraBundle/composer.json b/packages/ChillZimbraBundle/composer.json new file mode 100644 index 000000000..41bea1305 --- /dev/null +++ b/packages/ChillZimbraBundle/composer.json @@ -0,0 +1,22 @@ +{ + "name": "chill-project/chill-zimbra-bundle", + "description": "Provide connection between Zimbra agenda and Chill", + "minimum-stability": "stable", + "license": "AGPL-3.0", + "type": "library", + "keywords": [ + "chill", + "social worker" + ], + "require": { + "chill-project/chill-bundles": "dev-master@dev", + "zimbra-api/soap-api": "^3.2.2", + "psr/http-client": "^1.0", + "nyholm/psr7": "^1.0" + }, + "autoload": { + "psr-4": { + "Chill\\ZimbraBundle\\": "src/" + } + } +} diff --git a/packages/ChillZimbraBundle/src/ChillZimbraBundle.php b/packages/ChillZimbraBundle/src/ChillZimbraBundle.php new file mode 100644 index 000000000..0e2690117 --- /dev/null +++ b/packages/ChillZimbraBundle/src/ChillZimbraBundle.php @@ -0,0 +1,10 @@ +load('services.yaml'); + } + +} diff --git a/packages/ChillZimbraBundle/src/config/services.yaml b/packages/ChillZimbraBundle/src/config/services.yaml new file mode 100644 index 000000000..df41887f2 --- /dev/null +++ b/packages/ChillZimbraBundle/src/config/services.yaml @@ -0,0 +1,8 @@ +services: + _defaults: + autoconfigure: true + autowire: true + + Chill\ZimbraBundle\Command\: + resource: '../Command' + tags: ['console.command'] diff --git a/symfony.lock b/symfony.lock index 6409f0c1d..0feff9ebd 100644 --- a/symfony.lock +++ b/symfony.lock @@ -2,6 +2,9 @@ "champs-libres/wopi-bundle": { "version": "dev-master" }, + "chill-project/chill-zimbra-bundle": { + "version": "dev-472-zimbra-connector" + }, "doctrine/annotations": { "version": "1.14", "recipe": {