From db4effd727b73ff57a0aec6272228f4fa1e730f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 12 Dec 2023 15:59:16 +0100 Subject: [PATCH 1/2] Revert "Revert "Add configuration for chill-doc-store into skeleton"" This reverts commit 2c9ec9db55b8dd01a4acbf7238d2e557235fd6db. --- config/bundles.php | 2 +- config/packages/champs-libres.yaml | 14 -------------- config/packages/chill_doc_store.yaml | 6 ++++++ 3 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 config/packages/champs-libres.yaml create mode 100644 config/packages/chill_doc_store.yaml diff --git a/config/bundles.php b/config/bundles.php index a0c6329..a54979e 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -15,7 +15,7 @@ return [ Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true], Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true], - ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true], + //ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true], Chill\MainBundle\ChillMainBundle::class => ['all' => true], Chill\PersonBundle\ChillPersonBundle::class => ['all' => true], Chill\CustomFieldsBundle\ChillCustomFieldsBundle::class => ['all' => true], diff --git a/config/packages/champs-libres.yaml b/config/packages/champs-libres.yaml deleted file mode 100644 index ebea3ef..0000000 --- a/config/packages/champs-libres.yaml +++ /dev/null @@ -1,14 +0,0 @@ -champs_libres_async_uploader: - openstack: - os_username: '%env(resolve:OS_USERNAME)%' # Required - os_password: '%env(resolve:OS_PASSWORD)%' # Required - os_tenant_id: '%env(resolve:OS_TENANT_ID)%' # Required - os_region_name: '%env(resolve:OS_REGION_NAME)%' # Required - os_auth_url: '%env(resolve:OS_AUTH_URL)%' # Required - temp_url: - temp_url_key: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_KEY)%' # Required - container: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_CONTAINER)%' # Required - temp_url_base_path: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_BASE_PATH)%' # Required. Do not forget a trailing slash - max_post_file_size: 15000000 # 15Mo (bytes) - max_expires_delay: 180 - max_submit_delay: 3600 diff --git a/config/packages/chill_doc_store.yaml b/config/packages/chill_doc_store.yaml new file mode 100644 index 0000000..994e192 --- /dev/null +++ b/config/packages/chill_doc_store.yaml @@ -0,0 +1,6 @@ +chill_doc_store: + openstack: + temp_url: + temp_url_key: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_KEY)%' # Required + container: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_CONTAINER)%' # Required + temp_url_base_path: '%env(resolve:ASYNC_UPLOAD_TEMP_URL_BASE_PATH)%' # Required -- 2.40.1 From 1f6e5a807b0af9feb902e5c79d1ce376dc45f32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 12 Dec 2023 16:02:44 +0100 Subject: [PATCH 2/2] Remove comments into bundles.php file --- config/bundles.php | 1 - 1 file changed, 1 deletion(-) diff --git a/config/bundles.php b/config/bundles.php index a54979e..06a8942 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -15,7 +15,6 @@ return [ Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true], Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true], - //ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true], Chill\MainBundle\ChillMainBundle::class => ['all' => true], Chill\PersonBundle\ChillPersonBundle::class => ['all' => true], Chill\CustomFieldsBundle\ChillCustomFieldsBundle::class => ['all' => true], -- 2.40.1