Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd924da17a |
No files matched your search
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.0 - 2026-07-10
|
|
||||||
### Release
|
|
||||||
* Release chill with bundles version 5.1.3
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
## 2.13.1 - 2026-09-17
|
|
||||||
### Fixed
|
|
||||||
* Dockerfile: create cache directory for helm deployment
|
|
||||||
### DX
|
|
||||||
* Build image with gitea actions
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.2 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Fix permissions for writing to cache directory during helm deployment
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.3 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Upgrade to php version 8.4 in Dockerfile
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.4 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Fix Dockerfile permissions to be able to write to the whole /var/www/app/ directory
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.5 - 2026-10-21
|
|
||||||
### Security
|
|
||||||
* Update with patch for php vulnerability
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.13.6 - 2026-10-26
|
|
||||||
### DX
|
|
||||||
* Run container as www-data user instead of root
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
## 2.14.0 - 2026-11-23
|
|
||||||
### Release
|
|
||||||
* Release chill with bundles version 6.0.6 (Symfony 6.4, Vite instead of Webpack Encore, PHP 8.5)
|
|
||||||
### Feature
|
|
||||||
* Pre-select the user's service (default scopes) when creating an accompanying period
|
|
||||||
* Make the main fields of the accompanying period required, and limit the referrers to 5
|
|
||||||
### DX
|
|
||||||
* Build the images with PHP 8.5 and Vite, and version composer.lock and package-lock.json
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
## 2.14.1 - 2026-11-23
|
|
||||||
### Fixed
|
|
||||||
* Read the Collabora address from EDITOR_SERVER, as in chill-bundles (replaces WOPI_SERVER, COLLABORA_HOST and COLLABORA_PORT)
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
kind: Feature
|
||||||
|
body: Display version of chill bundles in application footer
|
||||||
|
time: 2026-01-05T15:07:41.09639691+01:00
|
||||||
|
custom:
|
||||||
|
Issue: ""
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Release
|
|
||||||
body: |
|
|
||||||
- phpunit/phpunit: ^10.5.24 -> ^13.0.0
|
|
||||||
|
|
||||||
time: 2026-11-24T04:06:57+00:00
|
|
||||||
custom:
|
|
||||||
Issue: ""
|
|
||||||
+87
@@ -0,0 +1,87 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build-images
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- dockerconfig
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-base-image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
registry: h3m6q87t.gra7.container-registry.ovh.net
|
||||||
|
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base
|
||||||
|
tag: latest
|
||||||
|
target: chill_base_php82
|
||||||
|
pull_image: true
|
||||||
|
cache_from:
|
||||||
|
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
|
||||||
|
- chill/base-image:latest
|
||||||
|
|
||||||
|
- name: composer-install
|
||||||
|
image: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- composer install --no-scripts --no-interaction
|
||||||
|
- bin/console cache:clear
|
||||||
|
depends_on:
|
||||||
|
- build-base-image
|
||||||
|
|
||||||
|
- name: build-assets
|
||||||
|
image: node:20
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- yarn install
|
||||||
|
- yarn list
|
||||||
|
- yarn run encore production
|
||||||
|
depends_on:
|
||||||
|
- composer-install
|
||||||
|
|
||||||
|
- name: build-image-php
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
pull_image: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
registry: h3m6q87t.gra7.container-registry.ovh.net
|
||||||
|
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php
|
||||||
|
tag:
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
cache_from:
|
||||||
|
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
|
||||||
|
- chill/base-image:latest
|
||||||
|
depends_on:
|
||||||
|
- build-assets
|
||||||
|
- composer-install
|
||||||
|
|
||||||
|
- name: build-image-nginx
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
pull_image: true
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
registry: h3m6q87t.gra7.container-registry.ovh.net
|
||||||
|
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/nginx
|
||||||
|
tag:
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
Dockerfile: docker/nginx/Dockerfile
|
||||||
|
depends_on:
|
||||||
|
- build-assets
|
||||||
|
---
|
||||||
|
kind: signature
|
||||||
|
hmac: 510f151634e776218c6135bb830480fe0c265eb1dd96c16ef640001a23f351ae
|
||||||
|
|
||||||
|
...
|
||||||
@@ -76,15 +76,9 @@ ADD_ADDRESS_MAP_CENTER_Z=14
|
|||||||
# Variables for relatorio host, which generates documents
|
# Variables for relatorio host, which generates documents
|
||||||
RELATORIO_HOST=
|
RELATORIO_HOST=
|
||||||
RELATORIO_PORT=
|
RELATORIO_PORT=
|
||||||
# Address for your collabora server
|
WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_PORT}
|
||||||
EDITOR_SERVER=https://code.example.com
|
|
||||||
## Redis Cache & redis database
|
|
||||||
REDIS_HOST=redis
|
|
||||||
REDIS_PORT=6379
|
|
||||||
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
|
|
||||||
###< chill-project/chill-bundles ###
|
###< chill-project/chill-bundles ###
|
||||||
|
|
||||||
###> symfony/ovh-cloud-notifier ###
|
###> symfony/ovh-cloud-notifier ###
|
||||||
# OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME
|
# OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME
|
||||||
OVHCLOUD_DSN=null://null
|
|
||||||
###< symfony/ovh-cloud-notifier ###
|
###< symfony/ovh-cloud-notifier ###
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
# define your env variables for the test env here
|
# define your env variables for the test env here
|
||||||
KERNEL_CLASS='App\Kernel'
|
KERNEL_CLASS='App\Kernel'
|
||||||
APP_SECRET='$ecretf0rt3st'
|
APP_SECRET='$ecretf0rt3st'
|
||||||
|
SYMFONY_DEPRECATIONS_HELPER=999999
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
name: build-images
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push:
|
|
||||||
runs-on: cth-ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: https://github.com/actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Log in to Docker Registry
|
|
||||||
uses: https://github.com/docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: h3m6q87t.gra7.container-registry.ovh.net
|
|
||||||
username: ${{ vars.OVH_REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.OVH_REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Install Dependencies and Build Assets
|
|
||||||
uses: docker://chill/base-image:8.5-edge
|
|
||||||
env:
|
|
||||||
APP_ENV: prod
|
|
||||||
with:
|
|
||||||
entrypoint: /bin/sh
|
|
||||||
# We install node/npm inside the PHP container: the Vite build needs the translations dumped by cache:warmup
|
|
||||||
args: -c "apk add --no-cache nodejs npm && composer install --no-scripts --no-interaction && bin/console cache:warmup && npm ci && npm run build"
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Build and Push PHP Image
|
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php:${{ github.ref_name }}
|
|
||||||
|
|
||||||
- name: Build and Push Nginx Image
|
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: docker/nginx/Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/nginx:${{ github.ref_name }}
|
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
|
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
|
||||||
- name: run composer update to update composer.lock
|
- name: run composer update to update composer.lock
|
||||||
uses: docker://chill/base-image:8.5-edge
|
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
|
||||||
with:
|
with:
|
||||||
# this is where we set the command to execute
|
# this is where we set the command to execute
|
||||||
args: composer update --no-install
|
args: composer update --no-install
|
||||||
|
|||||||
+12
-4
@@ -1,4 +1,4 @@
|
|||||||
docker/
|
|
||||||
###> symfony/framework-bundle ###
|
###> symfony/framework-bundle ###
|
||||||
/.env.local
|
/.env.local
|
||||||
/.env.local.php
|
/.env.local.php
|
||||||
@@ -9,12 +9,12 @@ docker/
|
|||||||
/vendor/
|
/vendor/
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
###> node / vite build ###
|
###> symfony/webpack-encore-bundle ###
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/public/build/
|
/public/build/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
/yarn.lock
|
yarn-error.log
|
||||||
###< node / vite build ###
|
###< symfony/webpack-encore-bundle ###
|
||||||
|
|
||||||
###> lexik/jwt-authentication-bundle ###
|
###> lexik/jwt-authentication-bundle ###
|
||||||
/config/jwt/*.pem
|
/config/jwt/*.pem
|
||||||
@@ -28,3 +28,11 @@ phpstan.neon
|
|||||||
/phpunit.xml
|
/phpunit.xml
|
||||||
/.phpunit.cache/
|
/.phpunit.cache/
|
||||||
###< phpunit/phpunit ###
|
###< phpunit/phpunit ###
|
||||||
|
|
||||||
|
###> symfony/phpunit-bridge ###
|
||||||
|
.phpunit.result.cache
|
||||||
|
/phpunit.xml
|
||||||
|
###< symfony/phpunit-bridge ###
|
||||||
|
|
||||||
|
.idea/*
|
||||||
|
/bin/*
|
||||||
@@ -6,49 +6,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|||||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||||
|
|
||||||
|
|
||||||
## 2.14.1 - 2026-11-23
|
|
||||||
### Fixed
|
|
||||||
* Read the Collabora address from EDITOR_SERVER, as in chill-bundles (replaces WOPI_SERVER, COLLABORA_HOST and COLLABORA_PORT)
|
|
||||||
|
|
||||||
## 2.14.0 - 2026-11-23
|
|
||||||
### Release
|
|
||||||
* Release chill with bundles version 6.0.6 (Symfony 6.4, Vite instead of Webpack Encore, PHP 8.5)
|
|
||||||
### Feature
|
|
||||||
* Pre-select the user's service (default scopes) when creating an accompanying period
|
|
||||||
* Make the main fields of the accompanying period required, and limit the referrers to 5
|
|
||||||
### DX
|
|
||||||
* Build the images with PHP 8.5 and Vite, and version composer.lock and package-lock.json
|
|
||||||
|
|
||||||
## 2.13.6 - 2026-10-26
|
|
||||||
### DX
|
|
||||||
* Run container as www-data user instead of root
|
|
||||||
|
|
||||||
## 2.13.5 - 2026-10-21
|
|
||||||
### Security
|
|
||||||
* Update with patch for php vulnerability
|
|
||||||
|
|
||||||
## 2.13.4 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Fix Dockerfile permissions to be able to write to the whole /var/www/app/ directory
|
|
||||||
|
|
||||||
## 2.13.3 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Upgrade to php version 8.4 in Dockerfile
|
|
||||||
|
|
||||||
## 2.13.2 - 2026-09-17
|
|
||||||
### DX
|
|
||||||
* Fix permissions for writing to cache directory during helm deployment
|
|
||||||
|
|
||||||
## 2.13.1 - 2026-09-17
|
|
||||||
### Fixed
|
|
||||||
* Dockerfile: create cache directory for helm deployment
|
|
||||||
### DX
|
|
||||||
* Build image with gitea actions
|
|
||||||
|
|
||||||
## 2.13.0 - 2026-07-10
|
|
||||||
### Release
|
|
||||||
* Release chill with bundles version 5.1.3
|
|
||||||
|
|
||||||
## 2.12.0 - 2025-11-10
|
## 2.12.0 - 2025-11-10
|
||||||
### Release
|
### Release
|
||||||
* Update chill bundles to v4.7.0
|
* Update chill bundles to v4.7.0
|
||||||
|
|||||||
+96
-25
@@ -1,35 +1,106 @@
|
|||||||
FROM chill/base-image:8.5-edge
|
FROM php:8.3-fpm-alpine AS chill_base_php82
|
||||||
|
|
||||||
# copy directories with ownership for the unprivileged runtime user
|
ENV POSTGRES_VERSION=15
|
||||||
COPY --chown=www-data:www-data ./bin /var/www/app/bin/.
|
|
||||||
COPY --chown=www-data:www-data ./composer.* /var/www/app/
|
|
||||||
COPY --chown=www-data:www-data ./config /var/www/app/config/.
|
|
||||||
COPY --chown=www-data:www-data ./migrations /var/www/app/migrations/.
|
|
||||||
COPY --chown=www-data:www-data ./public /var/www/app/public/.
|
|
||||||
COPY --chown=www-data:www-data ./src /var/www/app/src/.
|
|
||||||
COPY --chown=www-data:www-data ./templates /var/www/app/templates/.
|
|
||||||
COPY --chown=www-data:www-data ./translations /var/www/app/translations/.
|
|
||||||
COPY --chown=www-data:www-data ./vendor /var/www/app/vendor/.
|
|
||||||
|
|
||||||
COPY --chown=www-data:www-data ./.env /var/www/app/.env
|
# default UID for the PHP user
|
||||||
|
ARG UID=1000
|
||||||
|
ARG GID=1000
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
# install php extensions and deps
|
||||||
|
# apk add --no-cache --update --virtual rabbitmq-c-dev rabbitmq-c-utils gcc g++ make autoconf && pecl install amqp
|
||||||
|
RUN apk update && apk add --no-cache \
|
||||||
|
wget gnupg \
|
||||||
|
libpq-dev \
|
||||||
|
icu-dev icu-libs icu-data-full \
|
||||||
|
oniguruma-dev \
|
||||||
|
libzip libzip-dev \
|
||||||
|
linux-headers \
|
||||||
|
gcc g++ make autoconf \
|
||||||
|
bash git \
|
||||||
|
rabbitmq-c rabbitmq-c-dev \
|
||||||
|
&& docker-php-ext-install pdo_pgsql intl mbstring zip bcmath exif sockets \
|
||||||
|
&& git clone https://github.com/nikic/php-ast.git \
|
||||||
|
&& cd php-ast \
|
||||||
|
&& phpize \
|
||||||
|
&& ./configure \
|
||||||
|
&& make install \
|
||||||
|
&& echo 'extension=ast.so' > /usr/local/etc/php/php.ini \
|
||||||
|
&& cd .. && rm -rf php-ast \
|
||||||
|
&& pecl install redis \
|
||||||
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install amqp \
|
||||||
|
&& docker-php-ext-enable amqp \
|
||||||
|
&& apk add libpng-dev libjpeg-turbo-dev freetype-dev \
|
||||||
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
|
&& docker-php-ext-install -j$(nproc) gd \
|
||||||
|
&& apk add postgresql${POSTGRES_VERSION}-client \
|
||||||
|
&& apk del --purge wget gnupg libpq-dev icu-dev oniguruma-dev libzip-dev linux-headers gcc g++ make autoconf
|
||||||
|
|
||||||
# - mark entrypoint executable
|
RUN { \
|
||||||
# - declare the FPM pool user/group at build time (was previously written by entrypoint.sh as root)
|
echo ""; \
|
||||||
# - prepare writable Symfony var/ and COMPOSER_HOME directories for the unprivileged runtime user
|
echo "memory_limit = 512M"; \
|
||||||
RUN chmod +x /entrypoint.sh \
|
echo ""; \
|
||||||
&& printf '[www]\nuser=www-data\ngroup=www-data\n' > /usr/local/etc/php-fpm.d/zz-user.conf \
|
} >> /usr/local/etc/php/conf.d/memory_limit.ini
|
||||||
&& mkdir -p /var/www/app/var/cache /var/www/app/var/log /var/www/app/.composer \
|
|
||||||
&& chown -R www-data:www-data /var/www/app/var /var/www/app/.composer \
|
|
||||||
&& chown www-data:www-data /var/www/app
|
|
||||||
# php-fpm listens on 9000 by default (unprivileged port)
|
|
||||||
EXPOSE 9000
|
|
||||||
|
|
||||||
USER www-data
|
RUN { \
|
||||||
|
echo ""; \
|
||||||
|
echo "[Date]"; \
|
||||||
|
echo "date.timezone = Europe/Brussels"; \
|
||||||
|
echo ""; \
|
||||||
|
} >> /usr/local/etc/php/conf.d/date.ini
|
||||||
|
|
||||||
|
# temporary fix, while php-cs-fixer has conflict dependencies
|
||||||
|
# with chill
|
||||||
|
RUN curl -o /usr/local/bin/php-cs-fixer https://cs.symfony.com/download/php-cs-fixer-v3.phar \
|
||||||
|
&& chmod +x /usr/local/bin/php-cs-fixer
|
||||||
|
# to make php-cs-fixer works with php 8.2
|
||||||
|
ENV PHP_CS_FIXER_IGNORE_ENV=1
|
||||||
|
|
||||||
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
|
ENV COMPOSER_MEMORY_LIMIT=-1
|
||||||
|
|
||||||
|
# shell bash preference
|
||||||
|
RUN sed -i " \
|
||||||
|
s|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g; \
|
||||||
|
s|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/sh|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/bash|g" \
|
||||||
|
/etc/passwd
|
||||||
|
|
||||||
|
# chmod on redis.so
|
||||||
|
RUN chmod 755 -R /usr/local/lib/php/extensions/
|
||||||
|
|
||||||
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
|
CMD ["php-fpm"]
|
||||||
|
|
||||||
|
FROM chill_base_php82 AS chill_php82
|
||||||
|
|
||||||
|
# copy directories
|
||||||
|
|
||||||
|
COPY ./bin /var/www/app/bin/.
|
||||||
|
COPY ./composer.* /var/www/app/
|
||||||
|
COPY ./config /var/www/app/config/.
|
||||||
|
COPY ./migrations /var/www/app/migrations/.
|
||||||
|
COPY ./public /var/www/app/public/.
|
||||||
|
COPY ./src /var/www/app/src/.
|
||||||
|
COPY ./templates /var/www/app/templates/.
|
||||||
|
COPY ./translations /var/www/app/translations/.
|
||||||
|
COPY ./vendor /var/www/app/vendor/.
|
||||||
|
|
||||||
|
COPY ./.env /var/www/app/.env
|
||||||
|
|
||||||
|
# import the manifest.json file
|
||||||
|
COPY ./public/build/manifest.json /var/www/app/public/build/manifest.json
|
||||||
|
|
||||||
|
ADD ./entrypoint.sh /.
|
||||||
|
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
ENV COMPOSER_HOME=/var/www/app/.composer
|
ENV PHP_FPM_USER=www-data \
|
||||||
|
PHP_FPM_GROUP=www-data \
|
||||||
|
COMPOSER_HOME=/var/www/app/.composer \
|
||||||
|
SESSION_LIFETIME=10800
|
||||||
|
|
||||||
CMD [ "php-fpm" ]
|
CMD [ "php-fpm" ]
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Welcome to your app's main JavaScript file!
|
||||||
|
*
|
||||||
|
* We recommend including the built version of this JavaScript file
|
||||||
|
* (and its CSS file) in your base layout (base.html.twig).
|
||||||
|
*/
|
||||||
|
|
||||||
|
// any CSS you import will output into a single css file (app.css in this case)
|
||||||
|
import './styles/app.css';
|
||||||
|
|
||||||
|
// start the Stimulus application
|
||||||
|
import './bootstrap';
|
||||||
Vendored
+11
@@ -0,0 +1,11 @@
|
|||||||
|
import { startStimulusApp } from '@symfony/stimulus-bridge';
|
||||||
|
|
||||||
|
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
|
||||||
|
export const app = startStimulusApp(require.context(
|
||||||
|
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
|
||||||
|
true,
|
||||||
|
/\.[jt]sx?$/
|
||||||
|
));
|
||||||
|
|
||||||
|
// register any custom, 3rd party controllers here
|
||||||
|
// app.register('some_controller_name', SomeImportedController);
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"controllers": [],
|
||||||
|
"entrypoints": []
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import { Controller } from '@hotwired/stimulus';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is an example Stimulus controller!
|
||||||
|
*
|
||||||
|
* Any element with a data-controller="hello" attribute will cause
|
||||||
|
* this controller to be executed. The name "hello" comes from the filename:
|
||||||
|
* hello_controller.js -> "hello"
|
||||||
|
*
|
||||||
|
* Delete this file or adapt it for your use!
|
||||||
|
*/
|
||||||
|
export default class extends Controller {
|
||||||
|
connect() {
|
||||||
|
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
body {
|
||||||
|
background-color: lightgray;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import SwaggerUI from 'swagger-ui';
|
||||||
|
import 'swagger-ui/dist/swagger-ui.css';
|
||||||
|
|
||||||
|
SwaggerUI({
|
||||||
|
url: '/_dev/specs.yaml',
|
||||||
|
dom_id: '#swag'
|
||||||
|
})
|
||||||
+24
-25
@@ -14,39 +14,39 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.5",
|
|
||||||
"ext-redis": "*",
|
"ext-redis": "*",
|
||||||
"chill-project/chill-bundles": "v6.0.6",
|
"chill-project/chill-bundles": "v4.7.0",
|
||||||
"symfony/runtime": "^6.4",
|
"hslavich/oneloginsaml-bundle": "^2.10",
|
||||||
"symfony/console": "6.4.*",
|
"symfony/runtime": "^5.4.0",
|
||||||
"symfony/dotenv": "6.4.*",
|
"symfony/console": "5.4.*",
|
||||||
"symfony/flex": "^2.4",
|
"symfony/dotenv": "5.4.*",
|
||||||
"symfony/framework-bundle": "6.4.*",
|
"symfony/flex": "^1.17|^2",
|
||||||
"symfony/yaml": "6.4.*",
|
"symfony/framework-bundle": "5.4.*",
|
||||||
"symfony/amqp-messenger": "6.4.*",
|
"symfony/yaml": "5.4.*",
|
||||||
|
"symfony/amqp-messenger": "5.4.*",
|
||||||
"graylog2/gelf-php": "^2.0",
|
"graylog2/gelf-php": "^2.0",
|
||||||
"champs-libres/orange-contact-everyone-notifier": "^1.1",
|
"champs-libres/orange-contact-everyone-notifier": "^1.0"
|
||||||
"symfony/doctrine-messenger": "6.4.*"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fakerphp/faker": "^1.13",
|
"fakerphp/faker": "^1.13",
|
||||||
"nelmio/alice": "^3.8",
|
"nelmio/alice": "^3.8",
|
||||||
"phpunit/phpunit": "^13.0.0",
|
"phpunit/phpunit": ">=7.5",
|
||||||
"symfony/maker-bundle": "^1.20",
|
"symfony/maker-bundle": "^1.20",
|
||||||
"doctrine/doctrine-fixtures-bundle": "^4.3.1",
|
"doctrine/doctrine-fixtures-bundle": "^3.3",
|
||||||
"symfony/web-profiler-bundle": "6.4.*",
|
"symfony/web-profiler-bundle": "^5.0",
|
||||||
"symfony/var-dumper": "6.4.*",
|
"symfony/var-dumper": "4.*",
|
||||||
|
"symfony/phpunit-bridge": "^5.2",
|
||||||
"phpspec/prophecy-phpunit": "^2.0",
|
"phpspec/prophecy-phpunit": "^2.0",
|
||||||
"phpstan/phpstan": "^2.2.5",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpstan/phpstan-deprecation-rules": "^2.0.4",
|
"phpstan/phpstan-deprecation-rules": "^1.1",
|
||||||
"phpstan/extension-installer": "^1.2",
|
"phpstan/extension-installer": "^1.2",
|
||||||
"phpstan/phpstan-strict-rules": "^2.0.11",
|
"phpstan/phpstan-strict-rules": "^1.5",
|
||||||
"rector/rector": "^2.6.5",
|
"rector/rector": "^1.2",
|
||||||
"phpstan/phpstan-doctrine": "^2.0",
|
"phpstan/phpstan-doctrine": "^1.3",
|
||||||
"phpstan/phpstan-symfony": "^2.0",
|
"phpstan/phpstan-symfony": "^1.3",
|
||||||
"phpstan/phpstan-phpunit": "^2.0",
|
"phpstan/phpstan-phpunit": "^1.3",
|
||||||
"jangregor/phpstan-prophecy": "^2.1.1",
|
"jangregor/phpstan-prophecy": "^1.0",
|
||||||
"symfony/debug-bundle": "6.4.*"
|
"symfony/debug-bundle": "^5.4"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
@@ -74,7 +74,6 @@
|
|||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"require": "6.4.*",
|
|
||||||
"endpoint": [
|
"endpoint": [
|
||||||
"flex://defaults",
|
"flex://defaults",
|
||||||
"https://gitlab.com/api/v4/projects/57371968/repository/files/index.json/raw?ref=main"
|
"https://gitlab.com/api/v4/projects/57371968/repository/files/index.json/raw?ref=main"
|
||||||
|
|||||||
Generated
+3953
-3345
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -4,9 +4,10 @@ return [
|
|||||||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||||
Pentatrion\ViteBundle\PentatrionViteBundle::class => ['all' => true],
|
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||||
|
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
|
||||||
Misd\PhoneNumberBundle\MisdPhoneNumberBundle::class => ['all' => true],
|
Misd\PhoneNumberBundle\MisdPhoneNumberBundle::class => ['all' => true],
|
||||||
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
||||||
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
||||||
@@ -29,7 +30,6 @@ return [
|
|||||||
Chill\BudgetBundle\ChillBudgetBundle::class => ['all' => true],
|
Chill\BudgetBundle\ChillBudgetBundle::class => ['all' => true],
|
||||||
Chill\WopiBundle\ChillWopiBundle::class => ['all' => true],
|
Chill\WopiBundle\ChillWopiBundle::class => ['all' => true],
|
||||||
Chill\EventBundle\ChillEventBundle::class => ['all' => true],
|
Chill\EventBundle\ChillEventBundle::class => ['all' => true],
|
||||||
Chill\TicketBundle\ChillTicketBundle::class => ['all' => true],
|
|
||||||
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
||||||
Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true],
|
Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
||||||
|
|||||||
@@ -38,19 +38,9 @@ chill_person:
|
|||||||
create_person_allowed: false
|
create_person_allowed: false
|
||||||
create_parcours_allowed: false
|
create_parcours_allowed: false
|
||||||
allow_multiple_simultaneous_accompanying_periods: true
|
allow_multiple_simultaneous_accompanying_periods: true
|
||||||
accompanying_period:
|
|
||||||
max_referrers: 5
|
|
||||||
accompanying_periods_fields:
|
accompanying_periods_fields:
|
||||||
user: visible
|
user: visible
|
||||||
location: required
|
# createdBy, step, origin, intensity, scopes, requestor, anonymous, emergency, confidential : visible(default) | hidden
|
||||||
origin: required
|
|
||||||
intensity: required
|
|
||||||
scopes: required
|
|
||||||
anonymous: required
|
|
||||||
emergency: required
|
|
||||||
confidential: required
|
|
||||||
job: required
|
|
||||||
comment: visible
|
|
||||||
person_fields:
|
person_fields:
|
||||||
acceptEmail: hidden
|
acceptEmail: hidden
|
||||||
alt_names:
|
alt_names:
|
||||||
|
|||||||
@@ -0,0 +1,85 @@
|
|||||||
|
chill_budget:
|
||||||
|
resources:
|
||||||
|
- { key: fixed_contract, labels: [{ lang: fr, label: "Salarié en CDI" }]}
|
||||||
|
- { key: temporary_contract, labels: [{ lang: fr, label: "Salarié en CDD"}]}
|
||||||
|
- { key: interim, labels: [{ lang: fr, label: "Salarié en intérim"}]}
|
||||||
|
- { key: other_revenues, labels: [{ lang: fr, label: "Revenus non salariés, commerçant, artisan,..."}]}
|
||||||
|
- { key: agricultural_activity, labels: [{ lang: fr, label: "Exploitant agricole"}]}
|
||||||
|
- { key: chomage_ass, labels: [{ lang: fr, label: "Allocations chômage ASS"}]}
|
||||||
|
- { key: chomage_are, labels: [{ lang: fr, label: "Allocations chômage ARE"}]}
|
||||||
|
- { key: remuneration_stage, labels: [{ lang: fr, label: "Rémunération de stage, d’apprentissage,..."}]}
|
||||||
|
- { key: daily_allowences, labels: [{ lang: fr, label: "Indemnités journalières"}]}
|
||||||
|
- { key: others, labels: [{ lang: fr, label: "Autres"}]}
|
||||||
|
- { key: pension, labels: [{ lang: fr, label: "Pension de retraite"}]}
|
||||||
|
- { key: invalidity, labels: [{ lang: fr, label: "Pension d'invalidité"}]}
|
||||||
|
- { key: reversion, labels: [{ lang: fr, label: "Pension de réversion"}]}
|
||||||
|
- { key: widowhood, labels: [{ lang: fr, label: "Pension de veuvage"}]}
|
||||||
|
- { key: military, labels: [{ lang: fr, label: "Pension militaire"}]}
|
||||||
|
- { key: food, labels: [{ lang: fr, label: "Pension alimentaire"}]}
|
||||||
|
- { key: compensation, labels: [{ lang: fr, label: "Pension de prestation compensatoire"}]}
|
||||||
|
- { key: allocation_handicap_adult, labels: [{ lang: fr, label: "Allocation aux adultes handicapés"}]}
|
||||||
|
- { key: rsa, labels: [{ lang: fr, label: "RSA"}]}
|
||||||
|
- { key: annuity_accident, labels: [{ lang: fr, label: "Rente accident"}]}
|
||||||
|
- { key: premium_al_pl, labels: [{ lang: fr, label: "Prime d’activité AL/APL au bénéficiaire"}]}
|
||||||
|
- { key: premium_thirdparty, labels: [{ lang: fr, label: "Prime d’activité versé au tiers"}]}
|
||||||
|
- { key: other_income, labels: [{ lang: fr, label: "Autres ressources (ARS, ...)"}]}
|
||||||
|
- { key: allocation_family, labels: [{ lang: fr, label: "Allocations familiales"}]}
|
||||||
|
- { key: allocation_basic, labels: [{ lang: fr, label: "Allocation de base"}]}
|
||||||
|
- { key: free_choice_saving, labels: [{ lang: fr, label: "Complément de libre choix du mode de garde"}]}
|
||||||
|
- { key: shared_benefits_child, labels: [{ lang: fr, label: "Prestation partagée éducation de l’enfant"}]}
|
||||||
|
- { key: complimentary_family, labels: [{ lang: fr, label: "Complément familial"}]}
|
||||||
|
- { key: allocation_family_support, labels: [{ lang: fr, label: "Allocation de soutien familial"}]}
|
||||||
|
- { key: allocation_education_child_handicap, labels: [{ lang: fr, label: "Allocation d’éducation de l’enfant handicapé"}]}
|
||||||
|
|
||||||
|
charges:
|
||||||
|
- { key: rent, labels: [{ lang: fr, label: "Loyer" }]}
|
||||||
|
- { key: home_ownership, labels: [{ lang: fr, label: "Accession à la propriété" }]}
|
||||||
|
- { key: costs_accomodation, labels: [{ lang: fr, label: "Frais d’hébergement" }]}
|
||||||
|
- { key: home_insurance, labels: [{ lang: fr, label: "Assurance habitation" }]}
|
||||||
|
- { key: taxes, labels: [{ lang: fr, label: "Impôts (taxe habitation, taxe foncière, ordures ménagères, redevances incitatives)" }]}
|
||||||
|
- { key: impots, labels: [{lang: fr, label: "Impôts"}]}
|
||||||
|
- { key: electricity, labels: [{ lang: fr, label: "Electricité" }]}
|
||||||
|
- { key: gas, labels: [{ lang: fr, label: "Gaz en bouteille" }]}
|
||||||
|
- { key: heating, labels: [{ lang: fr, label: "Autre moyen de chauffage" }]}
|
||||||
|
- { key: water, labels: [{ lang: fr, label: "Eau" }]}
|
||||||
|
- { key: school_fees, labels: [ { lang: fr, label: "Frais de scolarité"}]}
|
||||||
|
- { key: alimony, labels: [ { lang: fr, label: "Pension alimentaire à reverser"}]}
|
||||||
|
- { key: child_care, labels: [ { lang: fr, label: "Frais de garde (en totalité)"}]}
|
||||||
|
- { key: telecom, labels: [ { lang: fr, label: "Frais de communication fixe"}]}
|
||||||
|
- { key: mobilephone, labels: [ { lang: fr, label: "Frais de communication mobile"}]}
|
||||||
|
- { key: internet, labels: [ { lang: fr, label: "Frais de communication internet"}]}
|
||||||
|
- { key: insurance, labels: [{ lang: fr, label: "Assurances"}]}
|
||||||
|
- { key: debt_commission, labels: [{ lang: fr, label: "Saisine de la commission surendettement"}]}
|
||||||
|
- { key: recovery_plan, labels: [{ lang: fr, label: "Plan de redressement"}]}
|
||||||
|
- { key: rpr, labels: [{ lang: fr, label: "PRP"}]}
|
||||||
|
- { key: moratoire, labels: [{lang: fr, label: "Moratoire"}]}
|
||||||
|
- { key: mutuelle, labels: [{lang: fr, label: "Mutuelle"}]}
|
||||||
|
- { key: transport, labels: [{lang: fr, label: "Frais de transport"}]}
|
||||||
|
- { key: decouvbank, labels: [{lang: fr, label: "Découvert bancaire utilisé"}]}
|
||||||
|
- { key: procsaisie, labels: [{lang: fr, label: "Procédure de saisie"}]}
|
||||||
|
- { key: indus, labels: [{lang: fr, label: "Indus"}]}
|
||||||
|
- { key: apurement, labels: [{lang: fr, label: "Plan d'apurement"}]}
|
||||||
|
- { key: debt_rent, labels: [{lang: fr, label: "Dette de loyer (hors APL)"}]}
|
||||||
|
- { key: debt_property, labels: [{lang: fr, label: "Dette d'accession à la propriété"}]}
|
||||||
|
- { key: debt_lodging, labels: [{lang: fr, label: "Dette de frais d’hébergement"}]}
|
||||||
|
- { key: debt_electricity, labels: [{lang: fr, label: "Dette d'électricité"}]}
|
||||||
|
- { key: debt_water, labels: [{lang: fr, label: "Dette d'eau"}]}
|
||||||
|
- { key: debt_heating, labels: [{lang: fr, label: "Dette d'autre moyen de chauffage"}]}
|
||||||
|
- { key: debt_gas, labels: [{lang: fr, label: "Dette de gaz en bouteille"}]}
|
||||||
|
- { key: debt_house_insurance, labels: [{lang: fr, label: "Dette d'assurance habitation"}]}
|
||||||
|
- { key: debt_housing_taxes, labels: [{lang: fr, label: "Dette d'impôts liées au logement"}]}
|
||||||
|
- { key: debt_taxes, labels: [{lang: fr, label: "Dette d'impôts autres"}]}
|
||||||
|
- { key: debt_school, labels: [{lang: fr, label: "Dette de frais de scolarité (cantine, transport, frais de scolarité, frais de garde)"}]}
|
||||||
|
- { key: debt_alimentation, labels: [{lang: fr, label: "Dette de pension alimentaire à reverser"}]}
|
||||||
|
- { key: debt_childcare, labels: [{lang: fr, label: "Dette de frais de garde (en totalité)"}]}
|
||||||
|
- { key: debt_phone, labels: [{lang: fr, label: "Dette de communication fixe"}]}
|
||||||
|
- { key: debt_mobile, labels: [{lang: fr, label: "Dette de communication portable"}]}
|
||||||
|
- { key: debt_internet, labels: [{lang: fr, label: "Dette de communication internet"}]}
|
||||||
|
- { key: debt_car_insurance, labels: [{lang: fr, label: "Dette d'assurance auto"}]}
|
||||||
|
- { key: debt_mutual, labels: [{lang: fr, label: "Dette de mutuelle"}]}
|
||||||
|
- { key: debt_transport, labels: [{lang: fr, label: "Dette de frais de transport"}]}
|
||||||
|
- { key: debt_bank, labels: [{lang: fr, label: "Dette de découvert bancaire utilisé"}]}
|
||||||
|
- { key: debt_garbage, labels: [{lang: fr, label: "Dette de taxe d’ordures ménagère"}]}
|
||||||
|
- { key: debt_other, labels: [{lang: fr, label: "Dette autre"}]}
|
||||||
|
- { key: autre, labels: [{lang: fr, label: "Autre"}]}
|
||||||
|
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
chill_calendar:
|
chill_calendar:
|
||||||
remote_calendar_dsn: null://null # no environment variable is allowed here
|
remote_calendars_sync:
|
||||||
|
enabled: false
|
||||||
@@ -5,12 +5,10 @@ doctrine:
|
|||||||
# IMPORTANT: You MUST configure your server version,
|
# IMPORTANT: You MUST configure your server version,
|
||||||
# either here or in the DATABASE_URL env var (see .env file)
|
# either here or in the DATABASE_URL env var (see .env file)
|
||||||
#server_version: '16'
|
#server_version: '16'
|
||||||
profiling_collect_backtrace: '%kernel.debug%'
|
use_savepoints: true
|
||||||
orm:
|
orm:
|
||||||
validate_xml_mapping: true
|
auto_generate_proxy_classes: true
|
||||||
naming_strategy: doctrine.orm.naming_strategy.default
|
naming_strategy: doctrine.orm.naming_strategy.default
|
||||||
identity_generation_preferences:
|
|
||||||
Doctrine\DBAL\Platforms\PostgreSQLPlatform: sequence
|
|
||||||
auto_mapping: true
|
auto_mapping: true
|
||||||
mappings:
|
mappings:
|
||||||
App:
|
App:
|
||||||
@@ -28,6 +26,8 @@ when@test:
|
|||||||
when@prod:
|
when@prod:
|
||||||
doctrine:
|
doctrine:
|
||||||
orm:
|
orm:
|
||||||
|
auto_generate_proxy_classes: false
|
||||||
|
proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'
|
||||||
query_cache_driver:
|
query_cache_driver:
|
||||||
type: pool
|
type: pool
|
||||||
pool: doctrine.system_cache_pool
|
pool: doctrine.system_cache_pool
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ doctrine_migrations:
|
|||||||
'Chill\Migrations\AsideActivity': '@ChillAsideActivityBundle/migrations'
|
'Chill\Migrations\AsideActivity': '@ChillAsideActivityBundle/migrations'
|
||||||
'Chill\Migrations\Calendar': '@ChillCalendarBundle/migrations'
|
'Chill\Migrations\Calendar': '@ChillCalendarBundle/migrations'
|
||||||
'Chill\Migrations\Budget': '@ChillBudgetBundle/migrations'
|
'Chill\Migrations\Budget': '@ChillBudgetBundle/migrations'
|
||||||
'Chill\Migrations\Ticket': '@ChillTicketBundle/migrations'
|
|
||||||
all_or_nothing:
|
all_or_nothing:
|
||||||
true
|
true
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||||
framework:
|
framework:
|
||||||
secret: '%env(APP_SECRET)%'
|
secret: '%env(APP_SECRET)%'
|
||||||
annotations: false
|
#csrf_protection: true
|
||||||
http_method_override: false
|
http_method_override: false
|
||||||
handle_all_throwables: true
|
|
||||||
|
|
||||||
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
||||||
# Remove or comment this section to explicitly disable session support.
|
# Remove or comment this section to explicitly disable session support.
|
||||||
@@ -11,6 +10,7 @@ framework:
|
|||||||
handler_id: null
|
handler_id: null
|
||||||
cookie_secure: auto
|
cookie_secure: auto
|
||||||
cookie_samesite: lax
|
cookie_samesite: lax
|
||||||
|
storage_factory_id: session.storage.factory.native
|
||||||
|
|
||||||
#esi: true
|
#esi: true
|
||||||
#fragments: true
|
#fragments: true
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
services:
|
|
||||||
Psr\Http\Message\RequestFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
Psr\Http\Message\ResponseFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
Psr\Http\Message\ServerRequestFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
Psr\Http\Message\StreamFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
Psr\Http\Message\UploadedFileFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
Psr\Http\Message\UriFactoryInterface: '@http_discovery.psr17_factory'
|
|
||||||
|
|
||||||
http_discovery.psr17_factory:
|
|
||||||
class: Http\Discovery\Psr17Factory
|
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
framework:
|
framework:
|
||||||
messenger:
|
messenger:
|
||||||
|
# reset services after consuming messages
|
||||||
|
reset_on_message: true
|
||||||
|
|
||||||
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
|
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
|
||||||
# failure_transport: failed
|
# failure_transport: failed
|
||||||
|
|
||||||
@@ -26,12 +29,3 @@ framework:
|
|||||||
# end of routes added by chill-bundles recipes
|
# end of routes added by chill-bundles recipes
|
||||||
# Route your messages to the transports
|
# Route your messages to the transports
|
||||||
# 'App\Message\YourMessage': async
|
# 'App\Message\YourMessage': async
|
||||||
|
|
||||||
when@test:
|
|
||||||
framework:
|
|
||||||
messenger:
|
|
||||||
transports:
|
|
||||||
# the tests do not depend on RabbitMQ
|
|
||||||
# For more Messenger testing tools, see https://github.com/zenstruck/messenger-test
|
|
||||||
async: 'in-memory://'
|
|
||||||
priority: 'in-memory://'
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
monolog:
|
monolog:
|
||||||
channels: # To see all channels, run bin/console debug:autowiring logger
|
channels:
|
||||||
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||||
|
|
||||||
when@dev:
|
when@dev:
|
||||||
@@ -10,6 +10,14 @@ when@dev:
|
|||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
level: debug
|
level: debug
|
||||||
channels: ["!event"]
|
channels: ["!event"]
|
||||||
|
# uncomment to get logging in your browser
|
||||||
|
# you may have to allow bigger header sizes in your Web server configuration
|
||||||
|
#firephp:
|
||||||
|
# type: firephp
|
||||||
|
# level: info
|
||||||
|
#chromephp:
|
||||||
|
# type: chromephp
|
||||||
|
# level: info
|
||||||
console:
|
console:
|
||||||
type: console
|
type: console
|
||||||
process_psr_3_messages: false
|
process_psr_3_messages: false
|
||||||
@@ -38,7 +46,6 @@ when@prod:
|
|||||||
handler: nested
|
handler: nested
|
||||||
excluded_http_codes: [404, 405]
|
excluded_http_codes: [404, 405]
|
||||||
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||||
channels: ["!deprecation"]
|
|
||||||
nested:
|
nested:
|
||||||
type: stream
|
type: stream
|
||||||
path: php://stderr
|
path: php://stderr
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ framework:
|
|||||||
texter_transports:
|
texter_transports:
|
||||||
ovhcloud: '%env(OVHCLOUD_DSN)%'
|
ovhcloud: '%env(OVHCLOUD_DSN)%'
|
||||||
channel_policy:
|
channel_policy:
|
||||||
# use chat/slack, chat/telegram, sms/twilio or sms/vonage
|
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
|
||||||
urgent: ['email']
|
urgent: ['email']
|
||||||
high: ['email']
|
high: ['email']
|
||||||
medium: ['email']
|
medium: ['email']
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
pentatrion_vite:
|
|
||||||
default_config: chill
|
|
||||||
configs:
|
|
||||||
# assets of the chill bundles
|
|
||||||
chill:
|
|
||||||
build_directory: build
|
|
||||||
|
|
||||||
when@prod:
|
|
||||||
pentatrion_vite:
|
|
||||||
cache: true
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
security:
|
security:
|
||||||
|
enable_authenticator_manager: true
|
||||||
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
|
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
|
||||||
password_hashers:
|
password_hashers:
|
||||||
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
||||||
@@ -18,7 +19,7 @@ security:
|
|||||||
# end of providers added by chill-bundles recipes
|
# end of providers added by chill-bundles recipes
|
||||||
firewalls:
|
firewalls:
|
||||||
dev:
|
dev:
|
||||||
pattern: ^/(_profiler(/|$)|(_wdt|css|images|js)/)
|
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||||
security: false
|
security: false
|
||||||
# those lines are added by chill-bundles recipe, and are requires to make chill-bundles working
|
# those lines are added by chill-bundles recipe, and are requires to make chill-bundles working
|
||||||
# this firewall is in use for wopi endpoint, which requires
|
# this firewall is in use for wopi endpoint, which requires
|
||||||
@@ -26,20 +27,20 @@ security:
|
|||||||
pattern: ^/wopi
|
pattern: ^/wopi
|
||||||
provider: chill_chain_provider
|
provider: chill_chain_provider
|
||||||
stateless: true
|
stateless: true
|
||||||
jwt:
|
guard:
|
||||||
authenticator: lexik_jwt_authentication.security.jwt_authenticator
|
authenticators:
|
||||||
|
- lexik_jwt_authentication.jwt_token_authenticator
|
||||||
dav:
|
dav:
|
||||||
pattern: ^/dav
|
pattern: ^/dav
|
||||||
provider: chill_chain_provider
|
provider: chill_chain_provider
|
||||||
stateless: true
|
stateless: true
|
||||||
jwt:
|
guard:
|
||||||
authenticator: chill_doc_store.jwt_on_dav_authenticator
|
authenticators:
|
||||||
|
- Chill\DocStoreBundle\Security\Guard\JWTOnDavUrlAuthenticator
|
||||||
# this firewall is the main firewall for chill. It should be the last one in the stack,
|
# this firewall is the main firewall for chill. It should be the last one in the stack,
|
||||||
# unless you have specific needs
|
# unless you have specific needs
|
||||||
chill_main:
|
chill_main:
|
||||||
provider: chill_chain_provider
|
provider: chill_chain_provider
|
||||||
entry_point: form_login
|
|
||||||
user_checker: chill_security.user_checker
|
|
||||||
form_login:
|
form_login:
|
||||||
csrf_parameter: _csrf_token
|
csrf_parameter: _csrf_token
|
||||||
csrf_token_id: authenticate
|
csrf_token_id: authenticate
|
||||||
@@ -53,8 +54,8 @@ security:
|
|||||||
# Note: Only the *first* access control that matches will be used
|
# Note: Only the *first* access control that matches will be used
|
||||||
access_control:
|
access_control:
|
||||||
# those lines are added by chill-bundles recipes, and are requires to make chill-bundles working
|
# those lines are added by chill-bundles recipes, and are requires to make chill-bundles working
|
||||||
- { path: ^/(login|logout), roles: PUBLIC_ACCESS }
|
- { path: ^/(login|logout), roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||||
- { path: ^/public, roles: PUBLIC_ACCESS }
|
- { path: ^/public, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||||
- { path: ^/wopi, roles: IS_AUTHENTICATED_FULLY }
|
- { path: ^/wopi, roles: IS_AUTHENTICATED_FULLY }
|
||||||
# access for homepage, the homepage redirect admin to admin section
|
# access for homepage, the homepage redirect admin to admin section
|
||||||
- { path: ^/$, roles: [ IS_AUTHENTICATED_REMEMBERED ] }
|
- { path: ^/$, roles: [ IS_AUTHENTICATED_REMEMBERED ] }
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
sensio_framework_extra:
|
||||||
|
router:
|
||||||
|
annotations: false
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
twig:
|
twig:
|
||||||
file_name_pattern: '*.twig'
|
default_path: '%kernel.project_dir%/templates'
|
||||||
|
|
||||||
when@test:
|
when@test:
|
||||||
twig:
|
twig:
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ twig:
|
|||||||
# and adapt it lightly.
|
# and adapt it lightly.
|
||||||
#
|
#
|
||||||
form_themes: ['@ChillMain/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig']
|
form_themes: ['@ChillMain/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig']
|
||||||
|
globals:
|
||||||
|
# Expose the VersionProvider service to Twig as a global to have access to chill bundles version
|
||||||
|
chillBundlesVersion: '@Chill\MainBundle\Service\VersionProvider'
|
||||||
|
|
||||||
when@dev:
|
when@dev:
|
||||||
twig:
|
twig:
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
ux_translator:
|
ux_translator:
|
||||||
# The directory where the JavaScript translations are dumped
|
# The directory where the JavaScript translations are dumped
|
||||||
dump_directory: '%kernel.project_dir%/var/translations'
|
dump_directory: '%kernel.project_dir%/vendor/chill-project/chill-bundles/var/translations'
|
||||||
|
|
||||||
when@prod:
|
|
||||||
ux_translator:
|
|
||||||
# Control whether TypeScript types are dumped alongside translations.
|
|
||||||
# Disable this if you do not use TypeScript (e.g. in production when using AssetMapper), to speed up cache warmup.
|
|
||||||
dump_typescript: true
|
|
||||||
@@ -1,11 +1,15 @@
|
|||||||
when@dev:
|
when@dev:
|
||||||
web_profiler:
|
web_profiler:
|
||||||
toolbar: true
|
toolbar: true
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
profiler:
|
profiler: { only_exceptions: false }
|
||||||
collect_serializer_data: true
|
|
||||||
|
|
||||||
when@test:
|
when@test:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: false
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
profiler: { collect: false }
|
profiler: { collect: false }
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
webpack_encore:
|
||||||
|
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
|
||||||
|
output_path: '%kernel.project_dir%/public/build'
|
||||||
|
# If multiple builds are defined (as shown below), you can disable the default build:
|
||||||
|
# output_path: false
|
||||||
|
|
||||||
|
# Set attributes that will be rendered on all script and link tags
|
||||||
|
script_attributes:
|
||||||
|
defer: true
|
||||||
|
# Uncomment (also under link_attributes) if using Turbo Drive
|
||||||
|
# https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change
|
||||||
|
# 'data-turbo-track': reload
|
||||||
|
# link_attributes:
|
||||||
|
# Uncomment if using Turbo Drive
|
||||||
|
# 'data-turbo-track': reload
|
||||||
|
|
||||||
|
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
|
||||||
|
# crossorigin: 'anonymous'
|
||||||
|
|
||||||
|
# Preload all rendered script and link tags automatically via the HTTP/2 Link header
|
||||||
|
# preload: true
|
||||||
|
|
||||||
|
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
|
||||||
|
# strict_mode: false
|
||||||
|
|
||||||
|
# If you have multiple builds:
|
||||||
|
# builds:
|
||||||
|
# frontend: '%kernel.project_dir%/public/frontend/build'
|
||||||
|
|
||||||
|
# pass the build name as the 3rd argument to the Twig functions
|
||||||
|
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}
|
||||||
|
|
||||||
|
framework:
|
||||||
|
assets:
|
||||||
|
json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'
|
||||||
|
|
||||||
|
#when@prod:
|
||||||
|
# webpack_encore:
|
||||||
|
# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
||||||
|
# # Available in version 1.2
|
||||||
|
# cache: true
|
||||||
|
|
||||||
|
#when@test:
|
||||||
|
# webpack_encore:
|
||||||
|
# strict_mode: false
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
wopi:
|
wopi:
|
||||||
server: "%env(resolve:EDITOR_SERVER)%"
|
server: "%env(resolve:WOPI_SERVER)%"
|
||||||
enable_lock: false
|
enable_lock: false
|
||||||
@@ -7,7 +7,8 @@ framework:
|
|||||||
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluationDocument
|
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluationDocument
|
||||||
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWork
|
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWork
|
||||||
- Chill\DocStoreBundle\Entity\AccompanyingCourseDocument
|
- Chill\DocStoreBundle\Entity\AccompanyingCourseDocument
|
||||||
label: 'vendee_internal.workflow.label'
|
label:
|
||||||
|
fr: 'Suivi CD85'
|
||||||
support_strategy: Chill\MainBundle\Workflow\RelatedEntityWorkflowSupportsStrategy
|
support_strategy: Chill\MainBundle\Workflow\RelatedEntityWorkflowSupportsStrategy
|
||||||
marking_store:
|
marking_store:
|
||||||
service: Chill\MainBundle\Workflow\EntityWorkflowMarkingStore
|
service: Chill\MainBundle\Workflow\EntityWorkflowMarkingStore
|
||||||
@@ -15,68 +16,78 @@ framework:
|
|||||||
places:
|
places:
|
||||||
initial:
|
initial:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.initial'
|
label:
|
||||||
|
fr: Étape initiale
|
||||||
attenteModification:
|
attenteModification:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_modification'
|
label:
|
||||||
|
fr: En attente de modification du document
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_modification.forward'
|
forward: {fr: Modification effectuée}
|
||||||
backward: 'vendee_internal.validation_filter.attente_modification.backward'
|
backward: {fr: Pas de modification effectuée}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_modification.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteMiseEnForme:
|
attenteMiseEnForme:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_mise_en_forme'
|
label:
|
||||||
|
fr: En attente de mise en forme
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_mise_en_forme.forward'
|
forward: {fr: Mise en forme terminée}
|
||||||
backward: 'vendee_internal.validation_filter.attente_mise_en_forme.backward'
|
backward: {fr: Pas de mise en forme effectuée}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_mise_en_forme.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteVisa:
|
attenteVisa:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_visa'
|
label:
|
||||||
|
fr: En attente de visa
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_visa.forward'
|
forward: {fr: Visa accordé}
|
||||||
backward: 'vendee_internal.validation_filter.attente_visa.backward'
|
backward: {fr: Visa refusé}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_visa.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteTraitement:
|
attenteTraitement:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_traitement'
|
label:
|
||||||
|
fr: En attente de traitement
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_traitement.forward'
|
forward: {fr: Traitement terminé favorablement}
|
||||||
backward: 'vendee_internal.validation_filter.attente_traitement.backward'
|
backward: {fr: Traitement terminé défavorablement}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_traitement.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteEnvoi:
|
attenteEnvoi:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_envoi'
|
label:
|
||||||
|
fr: En attente d'envoi
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_envoi.forward'
|
forward: {fr: Document envoyé}
|
||||||
backward: 'vendee_internal.validation_filter.attente_envoi.backward'
|
backward: {fr: Document non envoyé}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_envoi.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteValidationMiseEnForme:
|
attenteValidationMiseEnForme:
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.place.attente_validation_mise_en_forme'
|
label:
|
||||||
|
fr: En attente de validation de la mise en forme
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.forward'
|
forward: {fr: Validation de la mise en forme}
|
||||||
backward: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.backward'
|
backward: {fr: Refus de validation de la mise en forme}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.neutral'
|
neutral: {fr: Autre}
|
||||||
attenteReceptionExternal:
|
attenteReceptionExternal:
|
||||||
metadata:
|
metadata:
|
||||||
isSentExternal: true
|
isSentExternal: true
|
||||||
onExternalView: clotureApresLectureEnvoiExterne
|
onExternalView: clotureApresLectureEnvoiExterne
|
||||||
label: 'vendee_internal.place.attente_reception_external'
|
label:
|
||||||
|
fr: En attente d'ouverture par un destinataire externe
|
||||||
validationFilterInputLabels:
|
validationFilterInputLabels:
|
||||||
forward: 'vendee_internal.validation_filter.attente_reception_external.forward'
|
forward: {fr: Document reçu par un destinataire externe}
|
||||||
backward: 'vendee_internal.validation_filter.attente_reception_external.backward'
|
backward: {fr: Document non reçu par un destinataire externe}
|
||||||
neutral: 'vendee_internal.validation_filter.attente_reception_external.neutral'
|
neutral: {fr: Autre}
|
||||||
annule:
|
annule:
|
||||||
metadata:
|
metadata:
|
||||||
isFinal: true
|
isFinal: true
|
||||||
isFinalPositive: false
|
isFinalPositive: false
|
||||||
label: 'vendee_internal.place.annule'
|
label:
|
||||||
|
fr: Annulé
|
||||||
final:
|
final:
|
||||||
metadata:
|
metadata:
|
||||||
isFinal: true
|
isFinal: true
|
||||||
isFinalPositive: true
|
isFinalPositive: true
|
||||||
label: 'vendee_internal.place.final'
|
label:
|
||||||
|
fr: Finalisé
|
||||||
transitions:
|
transitions:
|
||||||
# transition qui avancent
|
# transition qui avancent
|
||||||
demandeModificationDocument:
|
demandeModificationDocument:
|
||||||
@@ -84,7 +95,8 @@ framework:
|
|||||||
- initial
|
- initial
|
||||||
to: attenteModification
|
to: attenteModification
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_modification_document'
|
label:
|
||||||
|
fr: Demande de modification du document
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeMiseEnForme:
|
demandeMiseEnForme:
|
||||||
from:
|
from:
|
||||||
@@ -92,14 +104,16 @@ framework:
|
|||||||
- attenteModification
|
- attenteModification
|
||||||
to: attenteMiseEnForme
|
to: attenteMiseEnForme
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_mise_en_forme'
|
label:
|
||||||
|
fr: Demande de mise en forme
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeValidationMiseEnForme:
|
demandeValidationMiseEnForme:
|
||||||
from:
|
from:
|
||||||
- attenteMiseEnForme
|
- attenteMiseEnForme
|
||||||
to: attenteValidationMiseEnForme
|
to: attenteValidationMiseEnForme
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_validation_mise_en_forme'
|
label:
|
||||||
|
fr: Demande de validation de la mise en forme
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeVisa:
|
demandeVisa:
|
||||||
from:
|
from:
|
||||||
@@ -110,7 +124,8 @@ framework:
|
|||||||
- attenteTraitement
|
- attenteTraitement
|
||||||
to: attenteVisa
|
to: attenteVisa
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_visa'
|
label:
|
||||||
|
fr: Demande de visa
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeTraitement:
|
demandeTraitement:
|
||||||
from:
|
from:
|
||||||
@@ -121,7 +136,7 @@ framework:
|
|||||||
- attenteVisa
|
- attenteVisa
|
||||||
to: attenteTraitement
|
to: attenteTraitement
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_traitement'
|
label: {fr: Demande de traitement}
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeEnvoi:
|
demandeEnvoi:
|
||||||
from:
|
from:
|
||||||
@@ -133,7 +148,7 @@ framework:
|
|||||||
- attenteTraitement
|
- attenteTraitement
|
||||||
to: attenteEnvoi
|
to: attenteEnvoi
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_envoi'
|
label: {fr: Demande d'envoi}
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeEnvoiExterne:
|
demandeEnvoiExterne:
|
||||||
from:
|
from:
|
||||||
@@ -145,7 +160,7 @@ framework:
|
|||||||
- attenteTraitement
|
- attenteTraitement
|
||||||
to: attenteReceptionExternal
|
to: attenteReceptionExternal
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_envoi_externe'
|
label: {fr: Envoi sécurisé par courrier électronique}
|
||||||
isForward: true
|
isForward: true
|
||||||
clotureApresLectureEnvoiExterne:
|
clotureApresLectureEnvoiExterne:
|
||||||
from:
|
from:
|
||||||
@@ -155,7 +170,7 @@ framework:
|
|||||||
metadata:
|
metadata:
|
||||||
transitionGuard: system
|
transitionGuard: system
|
||||||
isForward: true
|
isForward: true
|
||||||
label: 'vendee_internal.transition.cloture_apres_lecture_envoi_externe'
|
label: {fr: Consultation de l'envoi sécurisé}
|
||||||
annulation:
|
annulation:
|
||||||
from:
|
from:
|
||||||
- initial
|
- initial
|
||||||
@@ -167,7 +182,7 @@ framework:
|
|||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: annule
|
to: annule
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.annulation'
|
label: {fr: Annulation}
|
||||||
isForward: false
|
isForward: false
|
||||||
transitionGuard: 'system+only-dest' # can be 'system+only-dest' or 'only-dest' (only-dest is default)
|
transitionGuard: 'system+only-dest' # can be 'system+only-dest' or 'only-dest' (only-dest is default)
|
||||||
# transitions qui répètent l'étape
|
# transitions qui répètent l'étape
|
||||||
@@ -177,20 +192,20 @@ framework:
|
|||||||
- attenteValidationMiseEnForme
|
- attenteValidationMiseEnForme
|
||||||
to: attenteMiseEnForme
|
to: attenteMiseEnForme
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_mise_en_forme_supplementaire'
|
label: {fr: Demande de mise en forme supplémentaire}
|
||||||
demandeVisaSupplementaire:
|
demandeVisaSupplementaire:
|
||||||
from:
|
from:
|
||||||
- attenteVisa
|
- attenteVisa
|
||||||
to: attenteVisa
|
to: attenteVisa
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_visa_supplementaire'
|
label: {fr: Demande de visa supplémentaire}
|
||||||
isForward: true
|
isForward: true
|
||||||
demandeTraitementSupplementaire:
|
demandeTraitementSupplementaire:
|
||||||
from:
|
from:
|
||||||
- attenteTraitement
|
- attenteTraitement
|
||||||
to: attenteTraitement
|
to: attenteTraitement
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.demande_traitement_supplementaire'
|
label: {fr: Demande de traitement supplémentaire}
|
||||||
# transitions qui renvoient vers une étape précédente
|
# transitions qui renvoient vers une étape précédente
|
||||||
refusEtModificationDocument:
|
refusEtModificationDocument:
|
||||||
from:
|
from:
|
||||||
@@ -199,7 +214,8 @@ framework:
|
|||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: attenteModification
|
to: attenteModification
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.refus_et_modification_document'
|
label:
|
||||||
|
fr: Refus et demande de modification du document
|
||||||
isForward: false
|
isForward: false
|
||||||
refusEtDemandeMiseEnForme:
|
refusEtDemandeMiseEnForme:
|
||||||
from:
|
from:
|
||||||
@@ -208,21 +224,21 @@ framework:
|
|||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: attenteMiseEnForme
|
to: attenteMiseEnForme
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.refus_et_demande_mise_en_forme'
|
label: {fr: Refus et demande de mise en forme}
|
||||||
isForward: false
|
isForward: false
|
||||||
refusEtDemandeVisa:
|
refusEtDemandeVisa:
|
||||||
from:
|
from:
|
||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: attenteVisa
|
to: attenteVisa
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.refus_et_demande_visa'
|
label: {fr: Refus et demande de visa}
|
||||||
isForward: false
|
isForward: false
|
||||||
refusEtDemandeTraitement:
|
refusEtDemandeTraitement:
|
||||||
from:
|
from:
|
||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: attenteTraitement
|
to: attenteTraitement
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.refus_et_demande_traitement'
|
label: {fr: Refus et demande de traitement}
|
||||||
isForward: false
|
isForward: false
|
||||||
# transition vers final
|
# transition vers final
|
||||||
initialToFinal:
|
initialToFinal:
|
||||||
@@ -230,7 +246,7 @@ framework:
|
|||||||
- initial
|
- initial
|
||||||
to: final
|
to: final
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.initial_to_final'
|
label: {fr: Clotûre immédiate et cloture positive}
|
||||||
isForward: true
|
isForward: true
|
||||||
attenteMiseEnFormeToFinal:
|
attenteMiseEnFormeToFinal:
|
||||||
from:
|
from:
|
||||||
@@ -238,26 +254,26 @@ framework:
|
|||||||
- attenteValidationMiseEnForme
|
- attenteValidationMiseEnForme
|
||||||
to: final
|
to: final
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.attente_mise_en_forme_to_final'
|
label: {fr: Mise en forme terminée et cloture positive}
|
||||||
isForward: true
|
isForward: true
|
||||||
attenteVisaToFinal:
|
attenteVisaToFinal:
|
||||||
from:
|
from:
|
||||||
- attenteVisa
|
- attenteVisa
|
||||||
to: final
|
to: final
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.attente_visa_to_final'
|
label: {fr: Accorde le visa et cloture positive}
|
||||||
isForward: true
|
isForward: true
|
||||||
attenteTraitementToFinal:
|
attenteTraitementToFinal:
|
||||||
from:
|
from:
|
||||||
- attenteTraitement
|
- attenteTraitement
|
||||||
to: final
|
to: final
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.attente_traitement_to_final'
|
label: {fr: Traitement terminé et cloture positive}
|
||||||
isForward: true
|
isForward: true
|
||||||
attenteEnvoiToFinal:
|
attenteEnvoiToFinal:
|
||||||
from:
|
from:
|
||||||
- attenteEnvoi
|
- attenteEnvoi
|
||||||
to: final
|
to: final
|
||||||
metadata:
|
metadata:
|
||||||
label: 'vendee_internal.transition.attente_envoi_to_final'
|
label: {fr: Envoyé et cloture positive}
|
||||||
isForward: true
|
isForward: true
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
foreach (glob(dirname(__DIR__).'/var/cache/prod/*.preload.php') ?: [] as $file) {
|
if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
|
||||||
require $file;
|
require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
|
||||||
}
|
}
|
||||||
+3
-5
@@ -1,5 +1,3 @@
|
|||||||
controllers:
|
#index:
|
||||||
resource:
|
# path: /
|
||||||
path: ../src/Controller/
|
# controller: App\Controller\DefaultController::index
|
||||||
namespace: App\Controller
|
|
||||||
type: attribute
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
controllers:
|
||||||
|
resource: ../../src/Controller/
|
||||||
|
type: annotation
|
||||||
|
|
||||||
|
kernel:
|
||||||
|
resource: ../../src/Kernel.php
|
||||||
|
type: annotation
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
when@dev:
|
|
||||||
swagger_ui:
|
|
||||||
path: /_dev/swagger
|
|
||||||
controller: Chill\MainBundle\Controller\Dev\SwaggerController::index
|
|
||||||
|
|
||||||
swagger_specs:
|
|
||||||
path: /_dev/specs/{filename}
|
|
||||||
controller: Chill\MainBundle\Controller\Dev\SwaggerController::spec
|
|
||||||
requirements:
|
|
||||||
filename: '[a-zA-Z0-9_-]+\.yaml'
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
when@dev:
|
|
||||||
_pentatrion_vite:
|
|
||||||
prefix: /build
|
|
||||||
resource: "@PentatrionViteBundle/Resources/config/routing.yaml"
|
|
||||||
|
|
||||||
_profiler_vite:
|
|
||||||
path: /_profiler/vite
|
|
||||||
defaults:
|
|
||||||
_controller: Pentatrion\ViteBundle\Controller\ProfilerController::info
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
_security_logout:
|
|
||||||
resource: security.route_loader.logout
|
|
||||||
type: service
|
|
||||||
@@ -22,3 +22,8 @@ services:
|
|||||||
|
|
||||||
# add more service definitions when explicit configuration is needed
|
# add more service definitions when explicit configuration is needed
|
||||||
# please note that last definitions always *replace* previous ones
|
# please note that last definitions always *replace* previous ones
|
||||||
|
|
||||||
|
# provide version of installed chill bundles for display in interface
|
||||||
|
Chill\MainBundle\Service\VersionProvider:
|
||||||
|
arguments:
|
||||||
|
$packageName: 'chill-project/chill-bundles'
|
||||||
@@ -16,6 +16,23 @@ else
|
|||||||
echo "we assume the database is ready";
|
echo "we assume the database is ready";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ $(id -u) = "0" ]; then
|
||||||
|
{ \
|
||||||
|
echo "[www]"; \
|
||||||
|
echo ""; \
|
||||||
|
echo "user=${PHP_FPM_USER}"; \
|
||||||
|
echo "group=${PHP_FPM_GROUP}"; \
|
||||||
|
} > /usr/local/etc/php-fpm.d/zz-user.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
{ \
|
||||||
|
echo ""; \
|
||||||
|
echo "session.save_handler = redis" ; \
|
||||||
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_PORT}?db=10\"" ; \
|
||||||
|
echo "session.gc_maxlifetime = ${SESSION_LIFETIME}" ; \
|
||||||
|
} >> /usr/local/etc/php/conf.d/custom.ini
|
||||||
|
|
||||||
if [ "${APP_ENV}" = "prod" ]; then
|
if [ "${APP_ENV}" = "prod" ]; then
|
||||||
composer dump-env "${APP_ENV}"
|
composer dump-env "${APP_ENV}"
|
||||||
chmod +r /var/www/app/.env.local.php
|
chmod +r /var/www/app/.env.local.php
|
||||||
@@ -31,6 +48,8 @@ fi
|
|||||||
if [ "${CLEAR_CACHE}" != "false" ]; then
|
if [ "${CLEAR_CACHE}" != "false" ]; then
|
||||||
#prepare cache
|
#prepare cache
|
||||||
php /var/www/app/bin/console cache:clear --no-warmup
|
php /var/www/app/bin/console cache:clear --no-warmup
|
||||||
|
chgrp ${PHP_FPM_GROUP} /var/www/app/var/cache -R && chmod g+rw /var/www/app/var/cache -R
|
||||||
|
chgrp ${PHP_FPM_GROUP} /var/www/app/var/log -R && chmod g+rw /var/www/app/var/log -R
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "${@}"
|
exec "${@}"
|
||||||
|
|||||||
@@ -1,66 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace DoctrineMigrations;
|
|
||||||
|
|
||||||
use Doctrine\DBAL\Schema\Schema;
|
|
||||||
use Doctrine\Migrations\AbstractMigration;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pre-select the scopes of the user when creating an accompanying period.
|
|
||||||
*
|
|
||||||
* For each permissions group, the default scopes for the event
|
|
||||||
* `chill_person.accompanying_period.create` are the active scopes on which this
|
|
||||||
* group may create an accompanying period: the role `CHILL_PERSON_ACCOMPANYING_PERIOD_CREATE`,
|
|
||||||
* or `CHILL_PERSON_ACCOMPANYING_PERIOD_FULL`, which includes it in the role hierarchy.
|
|
||||||
*
|
|
||||||
* Groups which already have default scopes for this event are left untouched.
|
|
||||||
*
|
|
||||||
* @see vendor/chill-project/chill-bundles/docs/source/development/default-scopes-for-an-entity.md
|
|
||||||
*/
|
|
||||||
final class Version20261123150000 extends AbstractMigration
|
|
||||||
{
|
|
||||||
private const ON_EVENT = 'chill_person.accompanying_period.create';
|
|
||||||
|
|
||||||
private const ROLE_CREATE = 'CHILL_PERSON_ACCOMPANYING_PERIOD_CREATE';
|
|
||||||
|
|
||||||
private const ROLE_FULL = 'CHILL_PERSON_ACCOMPANYING_PERIOD_FULL';
|
|
||||||
|
|
||||||
public function getDescription(): string
|
|
||||||
{
|
|
||||||
return 'Add default scopes on the creation of accompanying periods, from the scopes on which each permissions group may create them';
|
|
||||||
}
|
|
||||||
|
|
||||||
public function up(Schema $schema): void
|
|
||||||
{
|
|
||||||
$this->addSql(
|
|
||||||
<<<'SQL'
|
|
||||||
WITH group_scopes AS (
|
|
||||||
SELECT DISTINCT prs.permissionsgroup_id AS group_id, rs.scope_id
|
|
||||||
FROM permissionsgroup_rolescope prs
|
|
||||||
JOIN role_scopes rs ON rs.id = prs.rolescope_id
|
|
||||||
JOIN scopes s ON s.id = rs.scope_id
|
|
||||||
WHERE rs.role IN (:role_create, :role_full) AND s.active
|
|
||||||
),
|
|
||||||
inserted AS (
|
|
||||||
INSERT INTO chill_main_permission_group_default_scopes (id, group_id, on_event)
|
|
||||||
SELECT nextval('chill_main_permission_group_default_scopes_id_seq'), g.group_id, :on_event
|
|
||||||
FROM (SELECT DISTINCT group_id FROM group_scopes) g
|
|
||||||
ON CONFLICT (group_id, on_event) DO NOTHING
|
|
||||||
RETURNING id, group_id
|
|
||||||
)
|
|
||||||
INSERT INTO chill_main_permission_group_default_scopes_scope (defaultscopes_id, scope_id)
|
|
||||||
SELECT inserted.id, group_scopes.scope_id
|
|
||||||
FROM inserted
|
|
||||||
JOIN group_scopes ON group_scopes.group_id = inserted.group_id
|
|
||||||
SQL,
|
|
||||||
['role_create' => self::ROLE_CREATE, 'role_full' => self::ROLE_FULL, 'on_event' => self::ON_EVENT],
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function down(Schema $schema): void
|
|
||||||
{
|
|
||||||
$this->throwIrreversibleMigrationException('The default scopes created by this migration cannot be distinguished from those added by hand.');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Generated
-12284
File diff suppressed because it is too large.
Load diff
+12
-12
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
|
"workspaces": [
|
||||||
|
"vendor/chill-project/chill-bundles"
|
||||||
|
],
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
|
||||||
"@chill-project/chill-bundles": "file:vendor/chill-project/chill-bundles"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitejs/plugin-vue": "^6.0.9",
|
"@symfony/ux-translator": "file:vendor/symfony/ux-translator/assets",
|
||||||
"intl-messageformat": "^10.5.11",
|
"bootstrap": "5.2.3",
|
||||||
"sass": "^1.89.0",
|
"intl-messageformat": "^10.5.11"
|
||||||
"typescript": "^5.6.3",
|
|
||||||
"vite": "^8.3.0",
|
|
||||||
"vite-plugin-symfony": "^8.2.4"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"specs-build": "yaml-merge vendor/chill-project/chill-bundles/src/Bundle/ChillMainBundle/chill.api.specs.yaml vendor/chill-project/chill-bundles/src/Bundle/ChillPersonBundle/chill.api.specs.yaml vendor/chill-project/chill-bundles/src/Bundle/ChillCalendarBundle/chill.api.specs.yaml vendor/chill-project/chill-bundles/src/Bundle/ChillThirdPartyBundle/chill.api.specs.yaml vendor/chill-project/chill-bundles/src/Bundle/ChillDocStoreBundle/chill.api.specs.yaml> templates/api/specs.yaml",
|
||||||
"build": "vite build",
|
"specs-validate": "swagger-cli validate templates/api/specs.yaml",
|
||||||
"prod": "npm run build"
|
"specs-create-dir": "mkdir -p templates/api",
|
||||||
|
"specs": "yarn run specs-create-dir && yarn run specs-build && yarn run specs-validate",
|
||||||
|
"dev": "yarn run encore dev",
|
||||||
|
"prod": "yarn run encore production"
|
||||||
},
|
},
|
||||||
"version": "0.0.0"
|
"version": "0.0.0"
|
||||||
}
|
}
|
||||||
+1
-1
@@ -4,6 +4,6 @@ use App\Kernel;
|
|||||||
|
|
||||||
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||||
|
|
||||||
return static function (array $context) {
|
return function (array $context) {
|
||||||
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||||
};
|
};
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"reviewers": ["LenaertsJ"]
|
|
||||||
}
|
|
||||||
+104
-58
@@ -5,22 +5,34 @@
|
|||||||
"chill-project/chill-bundles": {
|
"chill-project/chill-bundles": {
|
||||||
"version": "dev-master"
|
"version": "dev-master"
|
||||||
},
|
},
|
||||||
"doctrine/deprecations": {
|
"doctrine/annotations": {
|
||||||
"version": "1.2",
|
"version": "1.14",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"ref": "fdd756167454623e21f1d769c5b814b243782a67"
|
"ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
|
||||||
}
|
},
|
||||||
|
"files": [
|
||||||
|
"config/routes/annotations.yaml"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"doctrine/doctrine-bundle": {
|
"doctrine/deprecations": {
|
||||||
"version": "3.4",
|
"version": "1.1",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "3.0",
|
"version": "1.0",
|
||||||
"ref": "7d10295408f32426bffd6e99c75c2cb0a7b823f2"
|
"ref": "87424683adc81d7dc305eefec1fced883084aab9"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"doctrine/doctrine-bundle": {
|
||||||
|
"version": "2.13",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "2.4",
|
||||||
|
"ref": "eaa0b7647c0ec3dbdcf24ade4625f381aa23c027"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/doctrine.yaml",
|
"config/packages/doctrine.yaml",
|
||||||
@@ -53,6 +65,9 @@
|
|||||||
"migrations/.gitignore"
|
"migrations/.gitignore"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"hslavich/oneloginsaml-bundle": {
|
||||||
|
"version": "v2.10.0"
|
||||||
|
},
|
||||||
"knplabs/knp-menu-bundle": {
|
"knplabs/knp-menu-bundle": {
|
||||||
"version": "v3.6.0"
|
"version": "v3.6.0"
|
||||||
},
|
},
|
||||||
@@ -131,21 +146,6 @@
|
|||||||
"ref": "0d4442802a90dd2d1d6c18618998b43f69af0d95"
|
"ref": "0d4442802a90dd2d1d6c18618998b43f69af0d95"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pentatrion/vite-bundle": {
|
|
||||||
"version": "v8.2.4"
|
|
||||||
},
|
|
||||||
"php-http/discovery": {
|
|
||||||
"version": "1.20",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "main",
|
|
||||||
"version": "1.18",
|
|
||||||
"ref": "f45b5dd173a27873ab19f5e3180b2f661c21de02"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"config/packages/http_discovery.yaml"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"phpstan/phpstan": {
|
"phpstan/phpstan": {
|
||||||
"version": "1.12",
|
"version": "1.12",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@@ -184,6 +184,18 @@
|
|||||||
"config/packages/ramsey_uuid_doctrine.yaml"
|
"config/packages/ramsey_uuid_doctrine.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"sensio/framework-extra-bundle": {
|
||||||
|
"version": "5.6",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "5.2",
|
||||||
|
"ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/sensio_framework_extra.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
"symfony/console": {
|
"symfony/console": {
|
||||||
"version": "5.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@@ -222,12 +234,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/framework-bundle": {
|
"symfony/framework-bundle": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"ref": "27e6ec400ee3394b4bd57cf361f27700a13af1d7"
|
"ref": "3cd216a4d007b78d8554d44a5b1c0a446dab24fb"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/cache.yaml",
|
"config/packages/cache.yaml",
|
||||||
@@ -241,12 +253,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/mailer": {
|
"symfony/mailer": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "4.3",
|
"version": "4.3",
|
||||||
"ref": "710cae90ab3e5d3f4a747e9ce6ae33299d7ae83b"
|
"ref": "09051cfde49476e3c12cd3a0e44289ace1c75a4f"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/mailer.yaml"
|
"config/packages/mailer.yaml"
|
||||||
@@ -262,57 +274,72 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"symfony/messenger": {
|
"symfony/messenger": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.0",
|
"version": "5.4",
|
||||||
"ref": "d8936e2e2230637ef97e5eecc0eea074eecae58b"
|
"ref": "8bd5f27013fb1d7217191c548e340f0bdb11912c"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/messenger.yaml"
|
"config/packages/messenger.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/monolog-bundle": {
|
"symfony/monolog-bundle": {
|
||||||
"version": "3.11",
|
"version": "3.10",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "3.7",
|
"version": "3.7",
|
||||||
"ref": "feb8fd9520b5694c7d0d2ba17fd4b4d33f9dd9cf"
|
"ref": "f5f5f3e4c23f5349796b7de587f19c51e7104299"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/monolog.yaml"
|
"config/packages/monolog.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/notifier": {
|
"symfony/notifier": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "5.0",
|
"version": "5.0",
|
||||||
"ref": "b912054fd9639f5fad62493cc24439048c2fd045"
|
"ref": "178877daf79d2dbd62129dd03612cb1a2cb407cc"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/notifier.yaml"
|
"config/packages/notifier.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/ovh-cloud-notifier": {
|
"symfony/ovh-cloud-notifier": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "5.1",
|
"version": "5.1",
|
||||||
"ref": "3021c49f22f8f444550cadb5c1144cbd7a200295"
|
"ref": "fe2e382c22d60eae9ad54cb22862b1c15291fdf8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"symfony/routing": {
|
"symfony/phpunit-bridge": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.2",
|
"version": "5.3",
|
||||||
"ref": "e0a11b4ccb8c9e70b574ff5ad3dfdcd41dec5aa6"
|
"ref": "07ce01a897311647520b43d4ddddad9537b99ba6"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
".env.test",
|
||||||
|
"bin/phpunit",
|
||||||
|
"phpunit.dist.xml",
|
||||||
|
"tests/bootstrap.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"symfony/routing": {
|
||||||
|
"version": "5.4",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "5.3",
|
||||||
|
"ref": "85de1d8ae45b284c3c84b668171d2615049e698f"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/routing.yaml",
|
"config/packages/routing.yaml",
|
||||||
@@ -320,25 +347,24 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/security-bundle": {
|
"symfony/security-bundle": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.4",
|
"version": "5.3",
|
||||||
"ref": "d7b1c0401047df8cf5dc72fd078fad1372228913"
|
"ref": "98f1f2b0d635908c2b40f3675da2d23b1a069d30"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/security.yaml",
|
"config/packages/security.yaml"
|
||||||
"config/routes/security.yaml"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/translation": {
|
"symfony/translation": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.3",
|
"version": "5.3",
|
||||||
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
|
"ref": "e28e27f53663cc34f0be2837aba18e3a1bef8e7b"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/translation.yaml",
|
"config/packages/translation.yaml",
|
||||||
@@ -346,12 +372,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/twig-bundle": {
|
"symfony/twig-bundle": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"ref": "06dacf16872358cb1f2494e089070ff2d045233a"
|
"ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/twig.yaml",
|
"config/packages/twig.yaml",
|
||||||
@@ -359,16 +385,17 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/ux-translator": {
|
"symfony/ux-translator": {
|
||||||
"version": "2.32",
|
"version": "2.31",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "2.32",
|
"version": "2.9",
|
||||||
"ref": "20e2abac415da4c3a9a6bafa059a6419beb74593"
|
"ref": "bc396565cc4cab95692dd6df810553dc22e352e1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"assets/translator.js",
|
"assets/translator.js",
|
||||||
"config/packages/ux_translator.yaml",
|
"config/packages/ux_translator.yaml",
|
||||||
|
"var/translations/configuration.js",
|
||||||
"var/translations/index.js"
|
"var/translations/index.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -385,18 +412,37 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/web-profiler-bundle": {
|
"symfony/web-profiler-bundle": {
|
||||||
"version": "6.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "6.1",
|
"version": "5.3",
|
||||||
"ref": "8b51135b84f4266e3b4c8a6dc23c9d1e32e543b7"
|
"ref": "24bbc3d84ef2f427f82104f766014e799eefcc3e"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/web_profiler.yaml",
|
"config/packages/web_profiler.yaml",
|
||||||
"config/routes/web_profiler.yaml"
|
"config/routes/web_profiler.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"symfony/webpack-encore-bundle": {
|
||||||
|
"version": "1.17",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "1.17",
|
||||||
|
"ref": "eeb7f3bae6214a0cee8f48310f14e48f5cf90ba3"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"assets/app.js",
|
||||||
|
"assets/bootstrap.js",
|
||||||
|
"assets/controllers.json",
|
||||||
|
"assets/controllers/hello_controller.js",
|
||||||
|
"assets/styles/app.css",
|
||||||
|
"config/packages/webpack_encore.yaml",
|
||||||
|
"package.json",
|
||||||
|
"webpack.config.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
"symfony/workflow": {
|
"symfony/workflow": {
|
||||||
"version": "5.4",
|
"version": "5.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
|
||||||
|
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
|
{{ encore_entry_link_tags('app') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
|
{{ encore_entry_script_tags('app') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
vendee_internal:
|
|
||||||
workflow:
|
|
||||||
label: 'Suivi CD85'
|
|
||||||
+12
-7
@@ -1,14 +1,19 @@
|
|||||||
{
|
{
|
||||||
"extends": "./vendor/chill-project/chill-bundles/ts-config-base.json",
|
"extends": "./vendor/chill-project/chill-bundles/ts-config-base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"sourceMap": true,
|
"sourceMap": true
|
||||||
"baseUrl": "."
|
|
||||||
},
|
},
|
||||||
"include": [
|
"includes": [
|
||||||
"./assets/**/*.ts",
|
"./vendor/chill-project/chill-bundles/src/Bundle/**/*.ts",
|
||||||
"./assets/**/*.vue",
|
"./vendor/chill-project/chill-bundles/src/Bundle/**/*.vue",
|
||||||
"./src/**/*.ts",
|
"./src/**/*.ts",
|
||||||
"./src/**/*.vue",
|
"./src/**/*.vue"
|
||||||
"./vite.config.ts"
|
],
|
||||||
|
"exclude": [
|
||||||
|
"./vendor/chill-project/chill-bundles/tests/*",
|
||||||
|
"./vendor/chill-project/chill-bundles/docs/*",
|
||||||
|
"./vendor/chill-project/chill-bundles/assets/translator.ts",
|
||||||
|
"./vendor/chill-project/chill-bundles/var/*.*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
import { fileURLToPath, URL } from "node:url";
|
|
||||||
import { chillVitePreset } from "@chill-project/chill-bundles/vite";
|
|
||||||
import { defineConfig, mergeConfig } from "vite";
|
|
||||||
|
|
||||||
const r = (value: string): string =>
|
|
||||||
fileURLToPath(new URL(value, import.meta.url));
|
|
||||||
|
|
||||||
export default mergeConfig(
|
|
||||||
chillVitePreset({
|
|
||||||
// Passed explicitly: this config is ESM, and the preset's default relies on
|
|
||||||
// `__dirname` being available where it is bundled.
|
|
||||||
packageRoot: r("vendor/chill-project/chill-bundles"),
|
|
||||||
outputPath: "public/build",
|
|
||||||
publicPath: "/build/",
|
|
||||||
translationsPath: "var/translations",
|
|
||||||
}),
|
|
||||||
defineConfig({
|
|
||||||
resolve: {
|
|
||||||
// Chill's assets resolve their imports from Chill's own node_modules; keep
|
|
||||||
// one copy of the shared runtime rather than one per resolution root.
|
|
||||||
dedupe: [
|
|
||||||
"vue",
|
|
||||||
"pinia",
|
|
||||||
"vue-i18n",
|
|
||||||
"intl-messageformat",
|
|
||||||
"@symfony/ux-translator",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
// this application has no entries of its own: only Chill's are built
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
@@ -0,0 +1,149 @@
|
|||||||
|
const Encore = require('@symfony/webpack-encore');
|
||||||
|
const { resolve, parse } = require('path');
|
||||||
|
const { readdir } = require('fs').promises;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get the file names inside given directory recursively, limiting to
|
||||||
|
* a given depth in the recursion
|
||||||
|
*
|
||||||
|
* @param string dir the directory
|
||||||
|
* @param int depth the maximum depth to look into
|
||||||
|
*/
|
||||||
|
async function* getFiles(dir, depth, ignored) {
|
||||||
|
const dirents = await readdir(dir, { withFileTypes: true });
|
||||||
|
for (const dirent of dirents) {
|
||||||
|
const res = resolve(dir, dirent.name);
|
||||||
|
if (dirent.isDirectory()) {
|
||||||
|
if (depth > 0) {
|
||||||
|
yield* getFiles(res, depth - 1, ignored);
|
||||||
|
}
|
||||||
|
} else if (ignored.includes(res)) {
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
yield res;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* populate the config of encore in directories inside `'./src'` and
|
||||||
|
* `'./vendor'` and letting them to alter the encore config.
|
||||||
|
*
|
||||||
|
* if a file `chill.webpack.config.js` is found, the default function is
|
||||||
|
* imported and executed. This function receive two arguments:
|
||||||
|
*
|
||||||
|
* - `Encore`, the main encore object
|
||||||
|
* - `chillEntries`: the entries which will be appended to the main `chill` module,
|
||||||
|
* resulting in a chill.js and chill.css file.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
async function populateConfig(Encore, chillEntries) {
|
||||||
|
// chill-main contains some bootstrap that must be loaded first.
|
||||||
|
// we register them first and, then, store this chill.webpack.config.js file
|
||||||
|
// into `toIgnore`, ignoring it when we loop on other folders.
|
||||||
|
let
|
||||||
|
toIgnore = [];
|
||||||
|
|
||||||
|
// loop into chill main
|
||||||
|
for await (const f of getFiles('./vendor/chill-project/chill-bundles/src/Bundle/ChillMainBundle/', 1, [])) {
|
||||||
|
let filename = parse(f).base;
|
||||||
|
if (filename === 'chill.webpack.config.js') {
|
||||||
|
configure = require(f);
|
||||||
|
configure(Encore, chillEntries);
|
||||||
|
toIgnore.push(f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// loop into other chill bundles
|
||||||
|
for await (const f of getFiles('./vendor/chill-project/chill-bundles/src/Bundle', 2, toIgnore)) {
|
||||||
|
let filename = parse(f).base;
|
||||||
|
if (filename === 'chill.webpack.config.js') {
|
||||||
|
configure = require(f);
|
||||||
|
configure(Encore, chillEntries);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// loop into other vendors
|
||||||
|
for await (const f of getFiles('./vendor/', 3, toIgnore)) {
|
||||||
|
let filename = parse(f).base;
|
||||||
|
if (filename === 'chill.webpack.config.js') {
|
||||||
|
configure = require(f);
|
||||||
|
configure(Encore, chillEntries);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// loop into src directory
|
||||||
|
for await (const f of getFiles('./src', 3, [])) {
|
||||||
|
let filename = parse(f).base;
|
||||||
|
if (filename === 'chill.webpack.config.js') {
|
||||||
|
configure = require(f);
|
||||||
|
configure(Encore, chillEntries);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// export the final configuration
|
||||||
|
module.exports = (async () => {
|
||||||
|
|
||||||
|
// Manually configure the runtime environment if not already configured yet by the "encore" command.
|
||||||
|
// It's useful when you use tools that rely on webpack.config.js file.
|
||||||
|
if (!Encore.isRuntimeEnvironmentConfigured()) {
|
||||||
|
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
|
||||||
|
}
|
||||||
|
// basic encore configuration
|
||||||
|
Encore
|
||||||
|
.setOutputPath('public/build/')
|
||||||
|
.setPublicPath('/build')
|
||||||
|
.enableSassLoader()
|
||||||
|
.enableVueLoader(() => {}, {
|
||||||
|
version: 3,
|
||||||
|
runtimeCompilerBuild: true,
|
||||||
|
})
|
||||||
|
.enableTypeScriptLoader(/*function (tsConfig){
|
||||||
|
tsConfig.appendTsSuffixTo = [/\.vue$/];
|
||||||
|
tsConfig.appendTsxSuffixTo = [/\.vue$/];
|
||||||
|
// temporary fix for https://github.com/vuejs/vue-loader/issues/1915 and https://github.com/vuejs/core/issues/2855
|
||||||
|
tsConfig.compilerOptions = {strict: !Encore.isProduction()};
|
||||||
|
tsConfig.compilerOptions.paths = {"translator": [resolve(__dirname, "./assets/translator.ts")]};
|
||||||
|
tsConfig.silent = false;
|
||||||
|
}*/)
|
||||||
|
//.enableForkedTypeScriptTypesChecking()
|
||||||
|
.autoProvidejQuery()
|
||||||
|
.enableSourceMaps(!Encore.isProduction())
|
||||||
|
.cleanupOutputBeforeBuild()
|
||||||
|
//.enableBuildNotifications()
|
||||||
|
.enableVersioning()
|
||||||
|
.enableSingleRuntimeChunk()
|
||||||
|
.splitEntryChunks()
|
||||||
|
//.addLoader({ test: /\.pdf$/, loader: 'file-loader', options: { name: '[name]_[hash].[ext]', outputPath: 'pdf/' } })
|
||||||
|
// configure Babel
|
||||||
|
// .configureBabel((config) => {
|
||||||
|
// config.plugins.push('@babel/a-babel-plugin');
|
||||||
|
// })
|
||||||
|
|
||||||
|
// enables and configure @babel/preset-env polyfills
|
||||||
|
// .configureBabelPresetEnv((config) => {
|
||||||
|
// config.useBuiltIns = 'usage';
|
||||||
|
// config.corejs = '3.23';
|
||||||
|
// })
|
||||||
|
;
|
||||||
|
|
||||||
|
Encore.addAliases({
|
||||||
|
translator: resolve(__dirname, './vendor/chill-project/chill-bundles/assets/translator')
|
||||||
|
});
|
||||||
|
|
||||||
|
// populate config with chill entries
|
||||||
|
let chillEntries = [];
|
||||||
|
await populateConfig(Encore, chillEntries);
|
||||||
|
|
||||||
|
//getting the encore config and appending chill entries
|
||||||
|
config = Encore.getWebpackConfig();
|
||||||
|
config.entry.chill = chillEntries;
|
||||||
|
|
||||||
|
if (!Encore.isProduction()) {
|
||||||
|
console.log(config);
|
||||||
|
config.devtool = 'eval-source-map';
|
||||||
|
}
|
||||||
|
|
||||||
|
return config;
|
||||||
|
})();
|
||||||
Reference in new issue
Block a user