From 2c9ec9db55b8dd01a4acbf7238d2e557235fd6db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 12 Dec 2023 15:57:56 +0100 Subject: [PATCH] Revert "Add configuration for chill-doc-store into skeleton" This reverts commit 4aea2fe135fb62a18bdf6416f0887680e1a0730a. --- config/bundles.php | 2 +- config/packages/champs-libres.yaml | 14 ++++++++++++++ config/packages/chill_doc_store.yaml | 6 ------ 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 config/packages/champs-libres.yaml delete mode 100644 config/packages/chill_doc_store.yaml diff --git a/config/bundles.php b/config/bundles.php index a54979e..a0c6329 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 new file mode 100644 index 0000000..ebea3ef --- /dev/null +++ b/config/packages/champs-libres.yaml @@ -0,0 +1,14 @@ +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 deleted file mode 100644 index 994e192..0000000 --- a/config/packages/chill_doc_store.yaml +++ /dev/null @@ -1,6 +0,0 @@ -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