Compare commits
100
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d311f17257 | ||
|
|
5bae11e69f | ||
|
|
99ebe6f431 | ||
|
|
78079ab6ae | ||
|
|
dbfaf26b53 | ||
|
|
cd03c9c45f | ||
|
|
c299458724 | ||
|
|
56adf5bbf2 | ||
|
|
d8768eff3a | ||
|
|
d6615d64b5 | ||
|
|
2e4abca455 | ||
|
|
3926b26ae7 | ||
|
|
69cd19b932 | ||
|
|
c1927fc6a2 | ||
|
|
6f0dff8231 | ||
|
|
b5059acb12 | ||
|
|
15bda87858 | ||
|
|
e147c40e65 | ||
|
|
616252801c | ||
|
|
eed868cd5e | ||
|
|
353653758d | ||
|
|
6595a16a1a | ||
|
|
c3bbd8540f | ||
|
|
55109db307 | ||
|
|
8d255121f8 | ||
|
|
4a46d884ad | ||
|
|
0125ff7087 | ||
|
|
54e6068af8 | ||
|
|
2a0f079597 | ||
|
|
9e5c70af3f | ||
|
|
d2c436c2f1 | ||
|
|
28ae989da7 | ||
|
|
f1878e72e0 | ||
|
|
0e6ec94ae4 | ||
|
|
b1eb46f902 | ||
|
|
154d953ec5 | ||
|
|
36481c3296 | ||
|
|
65d4dfbc46 | ||
|
|
1b8bbe6b29 | ||
|
|
ef0e2276ed | ||
|
|
aecf9fe674 | ||
|
|
d5a36d9ffe | ||
|
|
d538bf0410 | ||
|
|
f423b6461f | ||
|
|
b6dfd83e82 | ||
|
|
8cbf1764f9 | ||
|
|
9977d76669 | ||
|
|
79b3b0fa18 | ||
|
|
6d5de21bef | ||
|
|
3bea6183af | ||
|
|
a2738a2f7c | ||
|
|
e29c743985 | ||
|
|
46ae716aa0 | ||
|
|
9a401d740a | ||
|
|
136dba5257 | ||
|
|
8815d735e0 | ||
|
|
2fee2cb945 | ||
|
|
aada303a9e | ||
|
|
3e32add187 | ||
|
|
325a2f4071 | ||
|
|
bec75c57ab | ||
|
|
ebfc419985 | ||
|
|
cae1dd4abb | ||
|
|
3359cd1c1a | ||
|
|
27934cba56 | ||
|
|
71340c03a1 | ||
|
|
fd98e6d0ef | ||
|
|
0017993d18 | ||
|
|
eb8c837a8d | ||
|
|
0648740c73 | ||
|
|
01323ea87a | ||
|
|
51cc0254d0 | ||
|
|
71bcfd4338 | ||
|
|
da7f10419a | ||
|
|
e65dd3ee87 | ||
|
|
8797e6af7c | ||
|
|
cc3731d482 | ||
|
|
bb264eeed2 | ||
|
|
47faf59ede | ||
|
|
441517891c | ||
|
|
093c6fc710 | ||
|
|
87fcbd5771 | ||
|
|
8fc61bfc2d | ||
|
|
42ccb32635 | ||
|
|
b0062cddfc | ||
|
|
207f8b9118 | ||
|
|
73c1e7a17a | ||
|
|
e399ee3a34 | ||
|
|
190ff0b0a6 | ||
|
|
cfb2dcfd31 | ||
|
|
d121f3343f | ||
|
|
adba3b88ae
|
||
|
|
182f2fa111
|
||
|
|
8a61ff2b7a
|
||
|
|
b6bc9e4a3a
|
||
|
|
79e7a63941
|
||
|
|
bdce8411b3
|
||
|
|
40770834a3
|
||
|
|
0cee0637c9
|
||
|
|
74ee56c960
|
No files matched your search
@@ -0,0 +1,3 @@
|
||||
## 2.0.0-RC1 - 2024-07-18
|
||||
### Release
|
||||
* upgrade to chill-bundles/3.0.0-RC5
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.0.0-RC2 - 2024-07-18
|
||||
### Fixed
|
||||
* Fix definition of workflow
|
||||
@@ -0,0 +1,9 @@
|
||||
## 2.1.0 - 2024-07-23
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
* Add graylog to image
|
||||
* upgrade to chill-bundles/3.0.0-RC5
|
||||
* Upgrade chill-bundles to v3.0.0-RC6
|
||||
### Fixed
|
||||
* Fix definition of workflow
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.2.0 - 2024-07-25
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC7
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.1.0 - 2024-07-30
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC8
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.1.0 - 2024-08-08
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC9
|
||||
@@ -1,3 +1,3 @@
|
||||
## 2.0.0-alpha1 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v2.0.0-RC3
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
@@ -1,4 +1,3 @@
|
||||
## 2.0.0-alpha2 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
@@ -1,5 +1,3 @@
|
||||
## 2.0.0-alpha3 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
* Add graylog to image
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.0.0-alpha4 - 2024-07-03
|
||||
### Release
|
||||
* fixes
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.1.0 - 2024-09-24
|
||||
### Release
|
||||
* Update bundles version to 3.1.0
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.10.0 - 2025-05-13
|
||||
### Release
|
||||
* Update chill bundles to 3.11.0
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.11.0 - 2025-07-10
|
||||
### Release
|
||||
* Update chill bundles to v4.0.2
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.12.0 - 2025-11-10
|
||||
### Release
|
||||
* Update chill bundles to v4.7.0
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.0 - 2026-07-10
|
||||
### Release
|
||||
* Release chill with bundles version 5.1.3
|
||||
@@ -0,0 +1,5 @@
|
||||
## 2.13.1 - 2026-09-17
|
||||
### Fixed
|
||||
* Dockerfile: create cache directory for helm deployment
|
||||
### DX
|
||||
* Build image with gitea actions
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.2 - 2026-09-17
|
||||
### DX
|
||||
* Fix permissions for writing to cache directory during helm deployment
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.3 - 2026-09-17
|
||||
### DX
|
||||
* Upgrade to php version 8.4 in Dockerfile
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.4 - 2026-09-17
|
||||
### DX
|
||||
* Fix Dockerfile permissions to be able to write to the whole /var/www/app/ directory
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.5 - 2026-10-21
|
||||
### Security
|
||||
* Update with patch for php vulnerability
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.13.6 - 2026-10-26
|
||||
### DX
|
||||
* Run container as www-data user instead of root
|
||||
@@ -0,0 +1,8 @@
|
||||
## 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
|
||||
@@ -0,0 +1,3 @@
|
||||
## 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,3 @@
|
||||
## 2.2.0 - 2024-10-01
|
||||
### Release
|
||||
* Bundles version updated to 3.1.1
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.3.0 - 2024-10-30
|
||||
### Feature
|
||||
* Update bundles to v3.2.0 adding gender entity feature
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.4.0 - 2024-11-01
|
||||
### Feature
|
||||
* Update chill bundles to v3.2.2: new feature gender entity"
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.5.0 - 2024-12-09
|
||||
### Release
|
||||
* Update bundles to v3.5.0
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.6.0 - 2025-01-08
|
||||
### Release
|
||||
* Update to chill bundles v3.5.3
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.7.0 - 2025-01-20
|
||||
### Release
|
||||
* Update chill bundles to version 3.6.0
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.8.0 - 2025-03-04
|
||||
### Release
|
||||
* Update chill bundles to v3.9.2
|
||||
@@ -0,0 +1,3 @@
|
||||
## 2.9.0 - 2025-03-18
|
||||
### Release
|
||||
* Update chill bundles to v3.10.3
|
||||
@@ -1,5 +0,0 @@
|
||||
kind: Release
|
||||
body: Upgrade chill to v3.0.0-RC3
|
||||
time: 2024-07-03T12:46:35.963251524+02:00
|
||||
custom:
|
||||
Issue: ""
|
||||
@@ -1,5 +0,0 @@
|
||||
kind: Release
|
||||
body: upgrade chill-bundle to v3.0.0-RC4
|
||||
time: 2024-07-03T13:38:16.338710196+02:00
|
||||
custom:
|
||||
Issue: ""
|
||||
@@ -1,5 +0,0 @@
|
||||
kind: Release
|
||||
body: Add graylog to image
|
||||
time: 2024-07-03T13:54:12.983732476+02:00
|
||||
custom:
|
||||
Issue: ""
|
||||
@@ -0,0 +1,7 @@
|
||||
kind: Release
|
||||
body: |
|
||||
- nelmio/alice: ^3.8 -> ^3.8
|
||||
|
||||
time: 2026-11-24T06:03:54+00:00
|
||||
custom:
|
||||
Issue: ""
|
||||
-86
@@ -1,86 +0,0 @@
|
||||
---
|
||||
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
|
||||
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,4 +76,15 @@ ADD_ADDRESS_MAP_CENTER_Z=14
|
||||
# Variables for relatorio host, which generates documents
|
||||
RELATORIO_HOST=
|
||||
RELATORIO_PORT=
|
||||
# Address for your collabora server
|
||||
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 ###
|
||||
|
||||
###> symfony/ovh-cloud-notifier ###
|
||||
# OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME
|
||||
OVHCLOUD_DSN=null://null
|
||||
###< symfony/ovh-cloud-notifier ###
|
||||
@@ -0,0 +1,3 @@
|
||||
# define your env variables for the test env here
|
||||
KERNEL_CLASS='App\Kernel'
|
||||
APP_SECRET='$ecretf0rt3st'
|
||||
@@ -0,0 +1,47 @@
|
||||
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:
|
||||
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
|
||||
- name: run composer update to update composer.lock
|
||||
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
|
||||
uses: docker://chill/base-image:8.5-edge
|
||||
with:
|
||||
# this is where we set the command to execute
|
||||
args: composer update --no-install
|
||||
|
||||
+13
-4
@@ -1,4 +1,4 @@
|
||||
|
||||
docker/
|
||||
###> symfony/framework-bundle ###
|
||||
/.env.local
|
||||
/.env.local.php
|
||||
@@ -9,13 +9,22 @@
|
||||
/vendor/
|
||||
###< symfony/framework-bundle ###
|
||||
|
||||
###> symfony/webpack-encore-bundle ###
|
||||
###> node / vite build ###
|
||||
/node_modules/
|
||||
/public/build/
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
###< symfony/webpack-encore-bundle ###
|
||||
/yarn.lock
|
||||
###< node / vite build ###
|
||||
|
||||
###> lexik/jwt-authentication-bundle ###
|
||||
/config/jwt/*.pem
|
||||
###< lexik/jwt-authentication-bundle ###
|
||||
|
||||
###> phpstan/phpstan ###
|
||||
phpstan.neon
|
||||
###< phpstan/phpstan ###
|
||||
|
||||
###> phpunit/phpunit ###
|
||||
/phpunit.xml
|
||||
/.phpunit.cache/
|
||||
###< phpunit/phpunit ###
|
||||
+126
-4
@@ -6,17 +6,139 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||
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
|
||||
### Release
|
||||
* Update chill bundles to v4.7.0
|
||||
|
||||
## 2.11.0 - 2025-07-10
|
||||
### Release
|
||||
* Update chill bundles to v4.0.2
|
||||
|
||||
## 2.10.0 - 2025-05-13
|
||||
### Release
|
||||
* Update chill bundles to 3.11.0
|
||||
|
||||
## 2.9.0 - 2025-03-18
|
||||
### Release
|
||||
* Update chill bundles to v3.10.3
|
||||
|
||||
## 2.8.0 - 2025-03-04
|
||||
### Release
|
||||
* Update chill bundles to v3.9.2
|
||||
|
||||
## 2.7.0 - 2025-01-20
|
||||
### Release
|
||||
* Update chill bundles to version 3.6.0
|
||||
|
||||
## 2.6.0 - 2025-01-08
|
||||
### Release
|
||||
* Update to chill bundles v3.5.3
|
||||
|
||||
## 2.5.0 - 2024-12-09
|
||||
### Release
|
||||
* Update bundles to v3.5.0
|
||||
|
||||
## 2.4.0 - 2024-11-01
|
||||
### Feature
|
||||
* Update chill bundles to v3.2.2: new feature gender entity"
|
||||
|
||||
## 2.3.0 - 2024-10-30
|
||||
### Feature
|
||||
* Update bundles to v3.2.0 adding gender entity feature
|
||||
|
||||
## 2.2.0 - 2024-10-01
|
||||
### Release
|
||||
* Bundles version updated to 3.1.1
|
||||
|
||||
## 2.1.0 - 2024-09-24
|
||||
### Release
|
||||
* Update bundles version to 3.1.0
|
||||
|
||||
## 2.0.0-alpha4 - 2024-07-03
|
||||
### Release
|
||||
* fixes
|
||||
|
||||
## 2.0.0-alpha3 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
* Add graylog to image
|
||||
|
||||
## 2.0.0-alpha2 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
|
||||
## 2.0.0-alpha1 - 2024-07-03
|
||||
### Release
|
||||
* Upgrade chill to v2.0.0-RC3
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
|
||||
## 2.1.0 - 2024-08-08
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC9
|
||||
|
||||
## 2.1.0 - 2024-07-30
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC8
|
||||
|
||||
## 2.2.0 - 2024-07-25
|
||||
### Release
|
||||
* Update chill-bundles to v3.0.0-RC7
|
||||
|
||||
## 2.1.0 - 2024-07-23
|
||||
### Release
|
||||
* Upgrade chill to v3.0.0-RC3
|
||||
* upgrade chill-bundle to v3.0.0-RC4
|
||||
* Add graylog to image
|
||||
* upgrade to chill-bundles/3.0.0-RC5
|
||||
* Upgrade chill-bundles to v3.0.0-RC6
|
||||
### Fixed
|
||||
* Fix definition of workflow
|
||||
|
||||
## 2.0.0-RC2 - 2024-07-18
|
||||
### Fixed
|
||||
* Fix definition of workflow
|
||||
|
||||
## 2.0.0-RC1 - 2024-07-18
|
||||
### Release
|
||||
* upgrade to chill-bundles/3.0.0-RC5
|
||||
+25
-92
@@ -1,102 +1,35 @@
|
||||
FROM php:8.2-fpm-alpine AS chill_base_php82
|
||||
FROM chill/base-image:8.5-edge
|
||||
|
||||
ENV POSTGRES_VERSION 14
|
||||
# copy directories with ownership for the unprivileged runtime user
|
||||
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/.
|
||||
|
||||
# default UID for the PHP user
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
COPY --chown=www-data:www-data ./.env /var/www/app/.env
|
||||
|
||||
# install php extensions and deps
|
||||
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 \
|
||||
&& 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 \
|
||||
&& 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
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN { \
|
||||
echo ""; \
|
||||
echo "memory_limit = 512M"; \
|
||||
echo ""; \
|
||||
} >> /usr/local/etc/php/conf.d/memory_limit.ini
|
||||
# - mark entrypoint executable
|
||||
# - declare the FPM pool user/group at build time (was previously written by entrypoint.sh as root)
|
||||
# - prepare writable Symfony var/ and COMPOSER_HOME directories for the unprivileged runtime user
|
||||
RUN chmod +x /entrypoint.sh \
|
||||
&& printf '[www]\nuser=www-data\ngroup=www-data\n' > /usr/local/etc/php-fpm.d/zz-user.conf \
|
||||
&& 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
|
||||
|
||||
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
|
||||
USER www-data
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
ENV PHP_FPM_USER=www-data \
|
||||
PHP_FPM_GROUP=www-data \
|
||||
COMPOSER_HOME=/var/www/app/.composer \
|
||||
SESSION_LIFETIME=10800
|
||||
ENV COMPOSER_HOME=/var/www/app/.composer
|
||||
|
||||
CMD [ "php-fpm" ]
|
||||
@@ -1,12 +0,0 @@
|
||||
/*
|
||||
* 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
@@ -1,11 +0,0 @@
|
||||
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);
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"controllers": [],
|
||||
"entrypoints": []
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
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';
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
body {
|
||||
background-color: lightgray;
|
||||
}
|
||||
+56
-52
@@ -1,38 +1,8 @@
|
||||
{
|
||||
"name": "chill-project/app",
|
||||
"license": "AGPL-3.0",
|
||||
"type": "project",
|
||||
"license": "proprietary",
|
||||
"minimum-stability": "stable",
|
||||
"prefer-stable": true,
|
||||
"require": {
|
||||
"php": ">=8.2.0",
|
||||
"ext-ctype": "*",
|
||||
"ext-iconv": "*",
|
||||
"champs-libres/wopi-bundle": "dev-master@dev",
|
||||
"champs-libres/wopi-lib": "dev-master@dev",
|
||||
"chill-project/chill-bundles": "v3.0.0-RC4",
|
||||
"chill-project/chill-deploy": "^1.0",
|
||||
"graylog2/gelf-php": "^2.0",
|
||||
"symfony/console": "5.4.*",
|
||||
"symfony/dotenv": "5.4.*",
|
||||
"symfony/flex": "^1.17|^2",
|
||||
"symfony/framework-bundle": "5.4.*",
|
||||
"symfony/runtime": "5.4.*",
|
||||
"symfony/yaml": "5.4.*"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"composer/package-versions-deprecated": true,
|
||||
"php-http/discovery": true,
|
||||
"symfony/flex": true,
|
||||
"symfony/runtime": true
|
||||
},
|
||||
"optimize-autoloader": true,
|
||||
"preferred-install": {
|
||||
"chill-project/chill-bundles": "source",
|
||||
"*": "dist"
|
||||
},
|
||||
"sort-packages": true
|
||||
},
|
||||
"description": "The Chill distribution",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"App\\": "src/"
|
||||
@@ -43,11 +13,43 @@
|
||||
"App\\Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"replace": {
|
||||
"symfony/polyfill-ctype": "*",
|
||||
"symfony/polyfill-iconv": "*",
|
||||
"symfony/polyfill-php72": "*"
|
||||
"require": {
|
||||
"php": "^8.5",
|
||||
"ext-redis": "*",
|
||||
"chill-project/chill-bundles": "v6.0.6",
|
||||
"symfony/runtime": "^6.4",
|
||||
"symfony/console": "6.4.*",
|
||||
"symfony/dotenv": "6.4.*",
|
||||
"symfony/flex": "^2.4",
|
||||
"symfony/framework-bundle": "6.4.*",
|
||||
"symfony/yaml": "6.4.*",
|
||||
"symfony/amqp-messenger": "6.4.*",
|
||||
"graylog2/gelf-php": "^2.0",
|
||||
"champs-libres/orange-contact-everyone-notifier": "^1.1",
|
||||
"symfony/doctrine-messenger": "6.4.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^1.13",
|
||||
"nelmio/alice": "^3.8",
|
||||
"phpunit/phpunit": "^10.5.24",
|
||||
"symfony/maker-bundle": "^1.20",
|
||||
"doctrine/doctrine-fixtures-bundle": "^4.3.1",
|
||||
"symfony/web-profiler-bundle": "6.4.*",
|
||||
"symfony/var-dumper": "6.4.*",
|
||||
"phpspec/prophecy-phpunit": "^2.0",
|
||||
"phpstan/phpstan": "^2.2.5",
|
||||
"phpstan/phpstan-deprecation-rules": "^2.0.4",
|
||||
"phpstan/extension-installer": "^1.2",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.11",
|
||||
"rector/rector": "^2.6.5",
|
||||
"phpstan/phpstan-doctrine": "^2.0",
|
||||
"phpstan/phpstan-symfony": "^2.0",
|
||||
"phpstan/phpstan-phpunit": "^2.0",
|
||||
"jangregor/phpstan-prophecy": "^2.1.1",
|
||||
"symfony/debug-bundle": "6.4.*"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"scripts": {
|
||||
"auto-scripts": {
|
||||
"cache:clear": "symfony-cmd",
|
||||
@@ -55,26 +57,28 @@
|
||||
},
|
||||
"post-install-cmd": [
|
||||
"@auto-scripts"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"@auto-scripts"
|
||||
]
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/symfony": "*"
|
||||
"config": {
|
||||
"bin-dir": "bin",
|
||||
"allow-plugins": {
|
||||
"ocramius/package-versions": true,
|
||||
"symfony/flex": true,
|
||||
"phpstan/extension-installer": true,
|
||||
"symfony/runtime": true
|
||||
},
|
||||
"preferred-install": {
|
||||
"chill-project/chill-bundles": "source",
|
||||
"champs-libres/async-uploader-bundle": "source"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"symfony": {
|
||||
"allow-contrib": false,
|
||||
"require": "5.4.*",
|
||||
"endpoint": ["flex://defaults", "https://gitlab.com/api/v4/projects/57371968/repository/files/index.json/raw?ref=main"],
|
||||
"docker": true
|
||||
"require": "6.4.*",
|
||||
"endpoint": [
|
||||
"flex://defaults",
|
||||
"https://gitlab.com/api/v4/projects/57371968/repository/files/index.json/raw?ref=main"
|
||||
]
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/doctrine-fixtures-bundle": "^3.6",
|
||||
"nelmio/alice": "^3.12",
|
||||
"symfony/debug-bundle": "5.4.*",
|
||||
"symfony/web-profiler-bundle": "5.4.*"
|
||||
}
|
||||
}
|
||||
Generated
+6210
-3563
File diff suppressed because it is too large.
Load diff
+3
-2
@@ -4,10 +4,9 @@ return [
|
||||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||
Pentatrion\ViteBundle\PentatrionViteBundle::class => ['all' => true],
|
||||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
|
||||
Misd\PhoneNumberBundle\MisdPhoneNumberBundle::class => ['all' => true],
|
||||
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
||||
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
||||
@@ -30,8 +29,10 @@ return [
|
||||
Chill\BudgetBundle\ChillBudgetBundle::class => ['all' => true],
|
||||
Chill\WopiBundle\ChillWopiBundle::class => ['all' => true],
|
||||
Chill\EventBundle\ChillEventBundle::class => ['all' => true],
|
||||
Chill\TicketBundle\ChillTicketBundle::class => ['all' => true],
|
||||
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
||||
Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true],
|
||||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
||||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||
Symfony\UX\Translator\UxTranslatorBundle::class => ['all' => true],
|
||||
];
|
||||
@@ -12,8 +12,6 @@ chill_main:
|
||||
twilio_sid: '%env(resolve:TWILIO_SID)%'
|
||||
twilio_secret: '%env(resolve:TWILIO_SECRET)%'
|
||||
default_carrier_code: '%env(resolve:DEFAULT_CARRIER_CODE)%'
|
||||
short_messages:
|
||||
dsn: '%env(string:SHORT_MESSAGE_DSN)%'
|
||||
acl:
|
||||
form_show_scopes: true
|
||||
form_show_centers: true
|
||||
@@ -40,9 +38,19 @@ chill_person:
|
||||
create_person_allowed: false
|
||||
create_parcours_allowed: false
|
||||
allow_multiple_simultaneous_accompanying_periods: true
|
||||
accompanying_period:
|
||||
max_referrers: 5
|
||||
accompanying_periods_fields:
|
||||
user: visible
|
||||
# createdBy, step, origin, intensity, scopes, requestor, anonymous, emergency, confidential : visible(default) | hidden
|
||||
location: required
|
||||
origin: required
|
||||
intensity: required
|
||||
scopes: required
|
||||
anonymous: required
|
||||
emergency: required
|
||||
confidential: required
|
||||
job: required
|
||||
comment: visible
|
||||
person_fields:
|
||||
acceptEmail: hidden
|
||||
alt_names:
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
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,3 +1,2 @@
|
||||
chill_calendar:
|
||||
remote_calendars_sync:
|
||||
enabled: false
|
||||
remote_calendar_dsn: null://null # no environment variable is allowed here
|
||||
@@ -5,10 +5,12 @@ doctrine:
|
||||
# IMPORTANT: You MUST configure your server version,
|
||||
# either here or in the DATABASE_URL env var (see .env file)
|
||||
#server_version: '16'
|
||||
use_savepoints: true
|
||||
profiling_collect_backtrace: '%kernel.debug%'
|
||||
orm:
|
||||
auto_generate_proxy_classes: true
|
||||
validate_xml_mapping: true
|
||||
naming_strategy: doctrine.orm.naming_strategy.default
|
||||
identity_generation_preferences:
|
||||
Doctrine\DBAL\Platforms\PostgreSQLPlatform: sequence
|
||||
auto_mapping: true
|
||||
mappings:
|
||||
App:
|
||||
@@ -26,8 +28,6 @@ when@test:
|
||||
when@prod:
|
||||
doctrine:
|
||||
orm:
|
||||
auto_generate_proxy_classes: false
|
||||
proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'
|
||||
query_cache_driver:
|
||||
type: pool
|
||||
pool: doctrine.system_cache_pool
|
||||
|
||||
@@ -13,6 +13,7 @@ doctrine_migrations:
|
||||
'Chill\Migrations\AsideActivity': '@ChillAsideActivityBundle/migrations'
|
||||
'Chill\Migrations\Calendar': '@ChillCalendarBundle/migrations'
|
||||
'Chill\Migrations\Budget': '@ChillBudgetBundle/migrations'
|
||||
'Chill\Migrations\Ticket': '@ChillTicketBundle/migrations'
|
||||
all_or_nothing:
|
||||
true
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||
framework:
|
||||
secret: '%env(APP_SECRET)%'
|
||||
#csrf_protection: true
|
||||
annotations: 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.
|
||||
# Remove or comment this section to explicitly disable session support.
|
||||
@@ -10,7 +11,6 @@ framework:
|
||||
handler_id: null
|
||||
cookie_secure: auto
|
||||
cookie_samesite: lax
|
||||
storage_factory_id: session.storage.factory.native
|
||||
|
||||
#esi: true
|
||||
#fragments: true
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
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,8 +1,5 @@
|
||||
framework:
|
||||
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.
|
||||
# failure_transport: failed
|
||||
|
||||
@@ -29,3 +26,12 @@ framework:
|
||||
# end of routes added by chill-bundles recipes
|
||||
# Route your messages to the transports
|
||||
# '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:
|
||||
channels:
|
||||
channels: # To see all channels, run bin/console debug:autowiring logger
|
||||
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||
|
||||
when@dev:
|
||||
@@ -10,14 +10,6 @@ when@dev:
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||
level: debug
|
||||
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:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
@@ -46,6 +38,7 @@ when@prod:
|
||||
handler: nested
|
||||
excluded_http_codes: [404, 405]
|
||||
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||
channels: ["!deprecation"]
|
||||
nested:
|
||||
type: stream
|
||||
path: php://stderr
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
framework:
|
||||
notifier:
|
||||
chatter_transports:
|
||||
texter_transports:
|
||||
ovhcloud: '%env(OVHCLOUD_DSN)%'
|
||||
channel_policy:
|
||||
# use chat/slack, chat/telegram, sms/twilio or sms/vonage
|
||||
urgent: ['email']
|
||||
high: ['email']
|
||||
medium: ['email']
|
||||
low: ['email']
|
||||
admin_recipients:
|
||||
- { email: admin@example.com }
|
||||
@@ -0,0 +1,10 @@
|
||||
pentatrion_vite:
|
||||
default_config: chill
|
||||
configs:
|
||||
# assets of the chill bundles
|
||||
chill:
|
||||
build_directory: build
|
||||
|
||||
when@prod:
|
||||
pentatrion_vite:
|
||||
cache: true
|
||||
@@ -1,5 +1,4 @@
|
||||
security:
|
||||
enable_authenticator_manager: true
|
||||
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
|
||||
password_hashers:
|
||||
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
||||
@@ -19,7 +18,7 @@ security:
|
||||
# end of providers added by chill-bundles recipes
|
||||
firewalls:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
pattern: ^/(_profiler(/|$)|(_wdt|css|images|js)/)
|
||||
security: false
|
||||
# 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
|
||||
@@ -27,20 +26,20 @@ security:
|
||||
pattern: ^/wopi
|
||||
provider: chill_chain_provider
|
||||
stateless: true
|
||||
guard:
|
||||
authenticators:
|
||||
- lexik_jwt_authentication.jwt_token_authenticator
|
||||
jwt:
|
||||
authenticator: lexik_jwt_authentication.security.jwt_authenticator
|
||||
dav:
|
||||
pattern: ^/dav
|
||||
provider: chill_chain_provider
|
||||
stateless: true
|
||||
guard:
|
||||
authenticators:
|
||||
- Chill\DocStoreBundle\Security\Guard\JWTOnDavUrlAuthenticator
|
||||
jwt:
|
||||
authenticator: chill_doc_store.jwt_on_dav_authenticator
|
||||
# this firewall is the main firewall for chill. It should be the last one in the stack,
|
||||
# unless you have specific needs
|
||||
chill_main:
|
||||
provider: chill_chain_provider
|
||||
entry_point: form_login
|
||||
user_checker: chill_security.user_checker
|
||||
form_login:
|
||||
csrf_parameter: _csrf_token
|
||||
csrf_token_id: authenticate
|
||||
@@ -54,8 +53,8 @@ security:
|
||||
# Note: Only the *first* access control that matches will be used
|
||||
access_control:
|
||||
# those lines are added by chill-bundles recipes, and are requires to make chill-bundles working
|
||||
- { path: ^/(login|logout), roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/public, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/(login|logout), roles: PUBLIC_ACCESS }
|
||||
- { path: ^/public, roles: PUBLIC_ACCESS }
|
||||
- { path: ^/wopi, roles: IS_AUTHENTICATED_FULLY }
|
||||
# access for homepage, the homepage redirect admin to admin section
|
||||
- { path: ^/$, roles: [ IS_AUTHENTICATED_REMEMBERED ] }
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
sensio_framework_extra:
|
||||
router:
|
||||
annotations: false
|
||||
@@ -1,5 +1,5 @@
|
||||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
file_name_pattern: '*.twig'
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
ux_translator:
|
||||
# The directory where the JavaScript translations are dumped
|
||||
dump_directory: '%kernel.project_dir%/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,15 +1,11 @@
|
||||
when@dev:
|
||||
web_profiler:
|
||||
toolbar: true
|
||||
intercept_redirects: false
|
||||
|
||||
framework:
|
||||
profiler: { only_exceptions: false }
|
||||
profiler:
|
||||
collect_serializer_data: true
|
||||
|
||||
when@test:
|
||||
web_profiler:
|
||||
toolbar: false
|
||||
intercept_redirects: false
|
||||
|
||||
framework:
|
||||
profiler: { collect: false }
|
||||
@@ -1,45 +0,0 @@
|
||||
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
|
||||
@@ -0,0 +1,3 @@
|
||||
wopi:
|
||||
server: "%env(resolve:EDITOR_SERVER)%"
|
||||
enable_lock: false
|
||||
+81
-109
@@ -7,83 +7,76 @@ framework:
|
||||
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWorkEvaluationDocument
|
||||
- Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWork
|
||||
- Chill\DocStoreBundle\Entity\AccompanyingCourseDocument
|
||||
label:
|
||||
fr: 'Suivi'
|
||||
label: 'vendee_internal.workflow.label'
|
||||
support_strategy: Chill\MainBundle\Workflow\RelatedEntityWorkflowSupportsStrategy
|
||||
marking_store:
|
||||
service: Chill\MainBundle\Workflow\EntityWorkflowMarkingStore
|
||||
initial_marking: 'initial'
|
||||
places:
|
||||
initial:
|
||||
metadata:
|
||||
label:
|
||||
fr: Étape initiale
|
||||
label: 'vendee_internal.place.initial'
|
||||
attenteModification:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de modification du document
|
||||
label: 'vendee_internal.place.attente_modification'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Modification effectuée}
|
||||
backward: {fr: Pas de modification effectuée}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_modification.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_modification.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_modification.neutral'
|
||||
attenteMiseEnForme:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de mise en forme
|
||||
label: 'vendee_internal.place.attente_mise_en_forme'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Mise en forme terminée}
|
||||
backward: {fr: Pas de mise en forme effectuée}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_mise_en_forme.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_mise_en_forme.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_mise_en_forme.neutral'
|
||||
attenteVisa:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de visa
|
||||
label: 'vendee_internal.place.attente_visa'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Visa accordé}
|
||||
backward: {fr: Visa refusé}
|
||||
neutral: {fr: Autre}
|
||||
attenteSignature:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de signature
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Signature accordée}
|
||||
backward: {fr: Signature refusée}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_visa.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_visa.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_visa.neutral'
|
||||
attenteTraitement:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de traitement
|
||||
label: 'vendee_internal.place.attente_traitement'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Traitement terminé favorablement}
|
||||
backward: {fr: Traitement terminé défavorablement}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_traitement.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_traitement.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_traitement.neutral'
|
||||
attenteEnvoi:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente d'envoi
|
||||
label: 'vendee_internal.place.attente_envoi'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Document envoyé}
|
||||
backward: {fr: Document non envoyé}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_envoi.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_envoi.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_envoi.neutral'
|
||||
attenteValidationMiseEnForme:
|
||||
metadata:
|
||||
label:
|
||||
fr: En attente de validation de la mise en forme
|
||||
label: 'vendee_internal.place.attente_validation_mise_en_forme'
|
||||
validationFilterInputLabels:
|
||||
forward: {fr: Validation de la mise en forme}
|
||||
backward: {fr: Refus de validation de la mise en forme}
|
||||
neutral: {fr: Autre}
|
||||
forward: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_validation_mise_en_forme.neutral'
|
||||
attenteReceptionExternal:
|
||||
metadata:
|
||||
isSentExternal: true
|
||||
onExternalView: clotureApresLectureEnvoiExterne
|
||||
label: 'vendee_internal.place.attente_reception_external'
|
||||
validationFilterInputLabels:
|
||||
forward: 'vendee_internal.validation_filter.attente_reception_external.forward'
|
||||
backward: 'vendee_internal.validation_filter.attente_reception_external.backward'
|
||||
neutral: 'vendee_internal.validation_filter.attente_reception_external.neutral'
|
||||
annule:
|
||||
metadata:
|
||||
isFinal: true
|
||||
isFinalPositive: false
|
||||
label:
|
||||
fr: Annulé
|
||||
label: 'vendee_internal.place.annule'
|
||||
final:
|
||||
metadata:
|
||||
isFinal: true
|
||||
isFinalPositive: true
|
||||
label:
|
||||
fr: Finalisé
|
||||
label: 'vendee_internal.place.final'
|
||||
transitions:
|
||||
# transition qui avancent
|
||||
demandeModificationDocument:
|
||||
@@ -91,8 +84,7 @@ framework:
|
||||
- initial
|
||||
to: attenteModification
|
||||
metadata:
|
||||
label:
|
||||
fr: Demande de modification du document
|
||||
label: 'vendee_internal.transition.demande_modification_document'
|
||||
isForward: true
|
||||
demandeMiseEnForme:
|
||||
from:
|
||||
@@ -100,16 +92,14 @@ framework:
|
||||
- attenteModification
|
||||
to: attenteMiseEnForme
|
||||
metadata:
|
||||
label:
|
||||
fr: Demande de mise en forme
|
||||
label: 'vendee_internal.transition.demande_mise_en_forme'
|
||||
isForward: true
|
||||
demandeValidationMiseEnForme:
|
||||
from:
|
||||
- attenteMiseEnForme
|
||||
to: attenteValidationMiseEnForme
|
||||
metadata:
|
||||
label:
|
||||
fr: Demande de validation de la mise en forme
|
||||
label: 'vendee_internal.transition.demande_validation_mise_en_forme'
|
||||
isForward: true
|
||||
demandeVisa:
|
||||
from:
|
||||
@@ -117,21 +107,10 @@ framework:
|
||||
- attenteModification
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteTraitement
|
||||
to: attenteVisa
|
||||
metadata:
|
||||
label:
|
||||
fr: Demande de visa
|
||||
isForward: true
|
||||
demandeSignature:
|
||||
from:
|
||||
- initial
|
||||
- attenteModification
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteVisa
|
||||
to: attenteSignature
|
||||
metadata:
|
||||
label: {fr: Demande de signature}
|
||||
label: 'vendee_internal.transition.demande_visa'
|
||||
isForward: true
|
||||
demandeTraitement:
|
||||
from:
|
||||
@@ -140,10 +119,9 @@ framework:
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteVisa
|
||||
- attenteSignature
|
||||
to: attenteTraitement
|
||||
metadata:
|
||||
label: {fr: Demande de traitement}
|
||||
label: 'vendee_internal.transition.demande_traitement'
|
||||
isForward: true
|
||||
demandeEnvoi:
|
||||
from:
|
||||
@@ -152,12 +130,32 @@ framework:
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteVisa
|
||||
- attenteSignature
|
||||
- attenteTraitement
|
||||
to: attenteEnvoi
|
||||
metadata:
|
||||
label: {fr: Demande d'envoi}
|
||||
label: 'vendee_internal.transition.demande_envoi'
|
||||
isForward: true
|
||||
demandeEnvoiExterne:
|
||||
from:
|
||||
- initial
|
||||
- attenteModification
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteVisa
|
||||
- attenteTraitement
|
||||
to: attenteReceptionExternal
|
||||
metadata:
|
||||
label: 'vendee_internal.transition.demande_envoi_externe'
|
||||
isForward: true
|
||||
clotureApresLectureEnvoiExterne:
|
||||
from:
|
||||
- attenteReceptionExternal
|
||||
to:
|
||||
- final
|
||||
metadata:
|
||||
transitionGuard: system
|
||||
isForward: true
|
||||
label: 'vendee_internal.transition.cloture_apres_lecture_envoi_externe'
|
||||
annulation:
|
||||
from:
|
||||
- initial
|
||||
@@ -165,13 +163,13 @@ framework:
|
||||
- attenteMiseEnForme
|
||||
- attenteValidationMiseEnForme
|
||||
- attenteVisa
|
||||
- attenteSignature
|
||||
- attenteTraitement
|
||||
- attenteEnvoi
|
||||
to: annule
|
||||
metadata:
|
||||
label: {fr: Annulation}
|
||||
label: 'vendee_internal.transition.annulation'
|
||||
isForward: false
|
||||
transitionGuard: 'system+only-dest' # can be 'system+only-dest' or 'only-dest' (only-dest is default)
|
||||
# transitions qui répètent l'étape
|
||||
demandeMiseEnFormeSupplementaire:
|
||||
from:
|
||||
@@ -179,71 +177,52 @@ framework:
|
||||
- attenteValidationMiseEnForme
|
||||
to: attenteMiseEnForme
|
||||
metadata:
|
||||
label: {fr: Demande de mise en forme supplémentaire}
|
||||
label: 'vendee_internal.transition.demande_mise_en_forme_supplementaire'
|
||||
demandeVisaSupplementaire:
|
||||
from:
|
||||
- attenteVisa
|
||||
to: attenteVisa
|
||||
metadata:
|
||||
label: {fr: Demande de visa supplémentaire}
|
||||
label: 'vendee_internal.transition.demande_visa_supplementaire'
|
||||
isForward: true
|
||||
demandeSignatureSupplementaire:
|
||||
from:
|
||||
- attenteSignature
|
||||
to: attenteSignature
|
||||
metadata:
|
||||
label: {fr: Demande de signature supplémentaire}
|
||||
demandeTraitementSupplementaire:
|
||||
from:
|
||||
- attenteTraitement
|
||||
to: attenteTraitement
|
||||
metadata:
|
||||
label: {fr: Demande de traitement supplémentaire}
|
||||
label: 'vendee_internal.transition.demande_traitement_supplementaire'
|
||||
# transitions qui renvoient vers une étape précédente
|
||||
refusEtModificationDocument:
|
||||
from:
|
||||
- attenteVisa
|
||||
- attenteSignature
|
||||
- attenteTraitement
|
||||
- attenteEnvoi
|
||||
to: attenteModification
|
||||
metadata:
|
||||
label:
|
||||
fr: Refus et demande de modification du document
|
||||
label: 'vendee_internal.transition.refus_et_modification_document'
|
||||
isForward: false
|
||||
refusEtDemandeMiseEnForme:
|
||||
from:
|
||||
- attenteVisa
|
||||
- attenteSignature
|
||||
- attenteTraitement
|
||||
- attenteEnvoi
|
||||
to: attenteMiseEnForme
|
||||
metadata:
|
||||
label: {fr: Refus et demande de mise en forme}
|
||||
label: 'vendee_internal.transition.refus_et_demande_mise_en_forme'
|
||||
isForward: false
|
||||
refusEtDemandeVisa:
|
||||
from:
|
||||
- attenteSignature
|
||||
- attenteTraitement
|
||||
- attenteEnvoi
|
||||
to: attenteVisa
|
||||
metadata:
|
||||
label: {fr: Refus et demande de visa}
|
||||
isForward: false
|
||||
refusEtDemandeSignature:
|
||||
from:
|
||||
- attenteTraitement
|
||||
- attenteEnvoi
|
||||
to: attenteSignature
|
||||
metadata:
|
||||
label: {fr: Refus et demande de signature}
|
||||
label: 'vendee_internal.transition.refus_et_demande_visa'
|
||||
isForward: false
|
||||
refusEtDemandeTraitement:
|
||||
from:
|
||||
- attenteEnvoi
|
||||
to: attenteTraitement
|
||||
metadata:
|
||||
label: {fr: Refus et demande de traitement}
|
||||
label: 'vendee_internal.transition.refus_et_demande_traitement'
|
||||
isForward: false
|
||||
# transition vers final
|
||||
initialToFinal:
|
||||
@@ -251,7 +230,7 @@ framework:
|
||||
- initial
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Clotûre immédiate et cloture positive}
|
||||
label: 'vendee_internal.transition.initial_to_final'
|
||||
isForward: true
|
||||
attenteMiseEnFormeToFinal:
|
||||
from:
|
||||
@@ -259,33 +238,26 @@ framework:
|
||||
- attenteValidationMiseEnForme
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Mise en forme terminée et cloture positive}
|
||||
label: 'vendee_internal.transition.attente_mise_en_forme_to_final'
|
||||
isForward: true
|
||||
attenteVisaToFinal:
|
||||
from:
|
||||
- attenteVisa
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Accorde le visa et cloture positive}
|
||||
isForward: true
|
||||
attenteSignatureToFinal:
|
||||
from:
|
||||
- attenteSignature
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Accorde la signature et cloture positive}
|
||||
label: 'vendee_internal.transition.attente_visa_to_final'
|
||||
isForward: true
|
||||
attenteTraitementToFinal:
|
||||
from:
|
||||
- attenteTraitement
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Traitement terminé et cloture postive}
|
||||
label: 'vendee_internal.transition.attente_traitement_to_final'
|
||||
isForward: true
|
||||
attenteEnvoiToFinal:
|
||||
from:
|
||||
- attenteEnvoi
|
||||
to: final
|
||||
metadata:
|
||||
label: {fr: Envoyé et cloture postive}
|
||||
label: 'vendee_internal.transition.attente_envoi_to_final'
|
||||
isForward: true
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
|
||||
require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
|
||||
foreach (glob(dirname(__DIR__).'/var/cache/prod/*.preload.php') ?: [] as $file) {
|
||||
require $file;
|
||||
}
|
||||
+5
-3
@@ -1,3 +1,5 @@
|
||||
#index:
|
||||
# path: /
|
||||
# controller: App\Controller\DefaultController::index
|
||||
controllers:
|
||||
resource:
|
||||
path: ../src/Controller/
|
||||
namespace: App\Controller
|
||||
type: attribute
|
||||
@@ -1,7 +0,0 @@
|
||||
controllers:
|
||||
resource: ../../src/Controller/
|
||||
type: annotation
|
||||
|
||||
kernel:
|
||||
resource: ../../src/Kernel.php
|
||||
type: annotation
|
||||
@@ -0,0 +1,10 @@
|
||||
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'
|
||||
@@ -0,0 +1,9 @@
|
||||
when@dev:
|
||||
_pentatrion_vite:
|
||||
prefix: /build
|
||||
resource: "@PentatrionViteBundle/Resources/config/routing.yaml"
|
||||
|
||||
_profiler_vite:
|
||||
path: /_profiler/vite
|
||||
defaults:
|
||||
_controller: Pentatrion\ViteBundle\Controller\ProfilerController::info
|
||||
@@ -0,0 +1,3 @@
|
||||
_security_logout:
|
||||
resource: security.route_loader.logout
|
||||
type: service
|
||||
@@ -16,23 +16,6 @@ else
|
||||
echo "we assume the database is ready";
|
||||
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
|
||||
composer dump-env "${APP_ENV}"
|
||||
chmod +r /var/www/app/.env.local.php
|
||||
@@ -48,8 +31,6 @@ fi
|
||||
if [ "${CLEAR_CACHE}" != "false" ]; then
|
||||
#prepare cache
|
||||
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
|
||||
|
||||
exec "${@}"
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?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
+14
-8
@@ -1,14 +1,20 @@
|
||||
{
|
||||
"workspaces": [
|
||||
"vendor/chill-project/chill-bundles"
|
||||
],
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@chill-project/chill-bundles": "file:vendor/chill-project/chill-bundles"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bootstrap": "5.2.3"
|
||||
"@vitejs/plugin-vue": "^6.0.9",
|
||||
"intl-messageformat": "^10.5.11",
|
||||
"sass": "^1.89.0",
|
||||
"typescript": "^5.6.3",
|
||||
"vite": "^8.3.0",
|
||||
"vite-plugin-symfony": "^8.2.4"
|
||||
},
|
||||
"scripts": {
|
||||
"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",
|
||||
"specs-validate": "swagger-cli validate templates/api/specs.yaml",
|
||||
"specs": "yarn run specs-build && yarn run specs-validate"
|
||||
}
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"prod": "npm run build"
|
||||
},
|
||||
"version": "0.0.0"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
parameters:
|
||||
level: 6
|
||||
paths:
|
||||
- bin/
|
||||
- config/
|
||||
- public/
|
||||
- src/
|
||||
- tests/
|
||||
+1
-1
@@ -4,6 +4,6 @@ use App\Kernel;
|
||||
|
||||
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||
|
||||
return function (array $context) {
|
||||
return static function (array $context) {
|
||||
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"reviewers": ["LenaertsJ"]
|
||||
}
|
||||
+132
-134
@@ -1,81 +1,26 @@
|
||||
{
|
||||
"champs-libres/wopi-bundle": {
|
||||
"version": "dev-master"
|
||||
"version": "dev-symfony-v5"
|
||||
},
|
||||
"chill-project/chill-bundles": {
|
||||
"version": "3.0",
|
||||
"recipe": {
|
||||
"repo": "gitlab.com/Chill-Projet/chill-recipes",
|
||||
"branch": "main",
|
||||
"version": "3.0",
|
||||
"ref": "b8bfc2a355106205bfc235690053fdd96e055275"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/cache_chill.yaml",
|
||||
"config/packages/chill.yaml",
|
||||
"config/packages/chill_budget.yaml",
|
||||
"config/packages/chill_calendar.yaml",
|
||||
"config/packages/chill_doc_generator.yaml",
|
||||
"config/packages/chill_doc_store.yaml",
|
||||
"config/packages/doctrine_migrations_chill.yaml",
|
||||
"config/packages/framework_chill.yaml",
|
||||
"config/packages/mailer_chill.yaml",
|
||||
"config/packages/routing_chill.yaml",
|
||||
"config/packages/security_chill.yaml",
|
||||
"config/packages/translation_chill.yaml",
|
||||
"config/packages/twig_chill.yaml",
|
||||
"config/routes/chill.yaml",
|
||||
"config/routes/chill_wopi.yaml",
|
||||
"config/routes/wopi.yaml",
|
||||
"webpack.config.js.dist",
|
||||
"package.json.dist",
|
||||
".nvmrc",
|
||||
".symfony.local.yaml",
|
||||
"tsconfig.json",
|
||||
"post-install-chill.sh"
|
||||
]
|
||||
"version": "dev-master"
|
||||
},
|
||||
"chill-project/chill-deploy": {
|
||||
"version": "1.0",
|
||||
"recipe": {
|
||||
"repo": "gitlab.com/Chill-Projet/chill-recipes",
|
||||
"branch": "main",
|
||||
"version": "1.0",
|
||||
"ref": "2d916e260041fca4852a8887ff113667c6297046"
|
||||
},
|
||||
"files": [
|
||||
".gitea/workflows/release/update-composer-lock.yaml",
|
||||
"docker/db/docker-entrypoint-initdb.d/0000-add-extensions.sql",
|
||||
"docker/logstash/Dockerfile",
|
||||
"docker/logstash/pipeline/logstash.conf",
|
||||
"docker/nginx/Dockerfile",
|
||||
"docker/nginx/default.conf",
|
||||
"docker/nginx/nginx.with-collabora.conf",
|
||||
"Dockerfile",
|
||||
".dockerignore",
|
||||
"entrypoint.sh",
|
||||
".drone.yml"
|
||||
]
|
||||
},
|
||||
"doctrine/annotations": {
|
||||
"version": "1.14",
|
||||
"doctrine/deprecations": {
|
||||
"version": "1.2",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "1.0",
|
||||
"ref": "a2759dd6123694c8d901d0ec80006e044c2e6457"
|
||||
},
|
||||
"files": [
|
||||
"config/routes/annotations.yaml"
|
||||
]
|
||||
"ref": "fdd756167454623e21f1d769c5b814b243782a67"
|
||||
}
|
||||
},
|
||||
"doctrine/doctrine-bundle": {
|
||||
"version": "2.12",
|
||||
"version": "3.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "2.4",
|
||||
"ref": "91690c0a440faba1a3676256bcca2b4aa9f55b72"
|
||||
"version": "3.0",
|
||||
"ref": "7d10295408f32426bffd6e99c75c2cb0a7b823f2"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/doctrine.yaml",
|
||||
@@ -84,7 +29,7 @@
|
||||
]
|
||||
},
|
||||
"doctrine/doctrine-fixtures-bundle": {
|
||||
"version": "3.6",
|
||||
"version": "3.7",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
@@ -96,7 +41,7 @@
|
||||
]
|
||||
},
|
||||
"doctrine/doctrine-migrations-bundle": {
|
||||
"version": "3.3",
|
||||
"version": "3.6",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
@@ -109,13 +54,13 @@
|
||||
]
|
||||
},
|
||||
"knplabs/knp-menu-bundle": {
|
||||
"version": "v3.4.2"
|
||||
"version": "v3.6.0"
|
||||
},
|
||||
"knplabs/knp-time-bundle": {
|
||||
"version": "v1.20.0"
|
||||
},
|
||||
"knpuniversity/oauth2-client-bundle": {
|
||||
"version": "2.18",
|
||||
"version": "2.19",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes-contrib",
|
||||
"branch": "main",
|
||||
@@ -183,10 +128,48 @@
|
||||
"repo": "github.com/symfony/recipes-contrib",
|
||||
"branch": "main",
|
||||
"version": "3.0",
|
||||
"ref": "8aaba28c06547e50377dd9dce4104b9e384731a5"
|
||||
"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/misd_phone_number.yaml"
|
||||
"config/packages/http_discovery.yaml"
|
||||
]
|
||||
},
|
||||
"phpstan/phpstan": {
|
||||
"version": "1.12",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes-contrib",
|
||||
"branch": "main",
|
||||
"version": "1.0",
|
||||
"ref": "5e490cc197fb6bb1ae22e5abbc531ddc633b6767"
|
||||
},
|
||||
"files": [
|
||||
"phpstan.dist.neon"
|
||||
]
|
||||
},
|
||||
"phpunit/phpunit": {
|
||||
"version": "10.5",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "10.0",
|
||||
"ref": "bb22cf8d8c554a623b427d5f3416b538f5525233"
|
||||
},
|
||||
"files": [
|
||||
".env.test",
|
||||
"phpunit.dist.xml",
|
||||
"tests/bootstrap.php"
|
||||
]
|
||||
},
|
||||
"ramsey/uuid-doctrine": {
|
||||
@@ -201,18 +184,6 @@
|
||||
"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": {
|
||||
"version": "5.4",
|
||||
"recipe": {
|
||||
@@ -238,24 +209,25 @@
|
||||
]
|
||||
},
|
||||
"symfony/flex": {
|
||||
"version": "2.4",
|
||||
"version": "2.9",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "1.0",
|
||||
"ref": "146251ae39e06a95be0fe3d13c807bcf3938b172"
|
||||
"version": "2.4",
|
||||
"ref": "52e9754527a15e2b79d9a610f98185a1fe46622a"
|
||||
},
|
||||
"files": [
|
||||
".env"
|
||||
".env",
|
||||
".env.dev"
|
||||
]
|
||||
},
|
||||
"symfony/framework-bundle": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.4",
|
||||
"ref": "3cd216a4d007b78d8554d44a5b1c0a446dab24fb"
|
||||
"version": "6.4",
|
||||
"ref": "27e6ec400ee3394b4bd57cf361f27700a13af1d7"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/cache.yaml",
|
||||
@@ -269,48 +241,78 @@
|
||||
]
|
||||
},
|
||||
"symfony/mailer": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "4.3",
|
||||
"ref": "df66ee1f226c46f01e85c29c2f7acce0596ba35a"
|
||||
"ref": "710cae90ab3e5d3f4a747e9ce6ae33299d7ae83b"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/mailer.yaml"
|
||||
]
|
||||
},
|
||||
"symfony/messenger": {
|
||||
"version": "5.4",
|
||||
"symfony/maker-bundle": {
|
||||
"version": "1.50",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.4",
|
||||
"ref": "8bd5f27013fb1d7217191c548e340f0bdb11912c"
|
||||
"version": "1.0",
|
||||
"ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f"
|
||||
}
|
||||
},
|
||||
"symfony/messenger": {
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "6.0",
|
||||
"ref": "d8936e2e2230637ef97e5eecc0eea074eecae58b"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/messenger.yaml"
|
||||
]
|
||||
},
|
||||
"symfony/monolog-bundle": {
|
||||
"version": "3.10",
|
||||
"version": "3.11",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "3.7",
|
||||
"ref": "aff23899c4440dd995907613c1dd709b6f59503f"
|
||||
"ref": "feb8fd9520b5694c7d0d2ba17fd4b4d33f9dd9cf"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/monolog.yaml"
|
||||
]
|
||||
},
|
||||
"symfony/routing": {
|
||||
"version": "5.4",
|
||||
"symfony/notifier": {
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.3",
|
||||
"ref": "85de1d8ae45b284c3c84b668171d2615049e698f"
|
||||
"version": "5.0",
|
||||
"ref": "b912054fd9639f5fad62493cc24439048c2fd045"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/notifier.yaml"
|
||||
]
|
||||
},
|
||||
"symfony/ovh-cloud-notifier": {
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.1",
|
||||
"ref": "3021c49f22f8f444550cadb5c1144cbd7a200295"
|
||||
}
|
||||
},
|
||||
"symfony/routing": {
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "6.2",
|
||||
"ref": "e0a11b4ccb8c9e70b574ff5ad3dfdcd41dec5aa6"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/routing.yaml",
|
||||
@@ -318,24 +320,25 @@
|
||||
]
|
||||
},
|
||||
"symfony/security-bundle": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.3",
|
||||
"ref": "98f1f2b0d635908c2b40f3675da2d23b1a069d30"
|
||||
"version": "6.4",
|
||||
"ref": "d7b1c0401047df8cf5dc72fd078fad1372228913"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/security.yaml"
|
||||
"config/packages/security.yaml",
|
||||
"config/routes/security.yaml"
|
||||
]
|
||||
},
|
||||
"symfony/translation": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.3",
|
||||
"ref": "e28e27f53663cc34f0be2837aba18e3a1bef8e7b"
|
||||
"version": "6.3",
|
||||
"ref": "620a1b84865ceb2ba304c8f8bf2a185fbf32a843"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/translation.yaml",
|
||||
@@ -343,18 +346,32 @@
|
||||
]
|
||||
},
|
||||
"symfony/twig-bundle": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.4",
|
||||
"ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387"
|
||||
"version": "6.4",
|
||||
"ref": "06dacf16872358cb1f2494e089070ff2d045233a"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/twig.yaml",
|
||||
"templates/base.html.twig"
|
||||
]
|
||||
},
|
||||
"symfony/ux-translator": {
|
||||
"version": "2.32",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "2.32",
|
||||
"ref": "20e2abac415da4c3a9a6bafa059a6419beb74593"
|
||||
},
|
||||
"files": [
|
||||
"assets/translator.js",
|
||||
"config/packages/ux_translator.yaml",
|
||||
"var/translations/index.js"
|
||||
]
|
||||
},
|
||||
"symfony/validator": {
|
||||
"version": "5.4",
|
||||
"recipe": {
|
||||
@@ -368,37 +385,18 @@
|
||||
]
|
||||
},
|
||||
"symfony/web-profiler-bundle": {
|
||||
"version": "5.4",
|
||||
"version": "6.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "5.3",
|
||||
"ref": "24bbc3d84ef2f427f82104f766014e799eefcc3e"
|
||||
"version": "6.1",
|
||||
"ref": "8b51135b84f4266e3b4c8a6dc23c9d1e32e543b7"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/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.10",
|
||||
"ref": "eff2e505d4557c967b6710fe06bd947ba555cae5"
|
||||
},
|
||||
"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": {
|
||||
"version": "5.4",
|
||||
"recipe": {
|
||||
@@ -412,6 +410,6 @@
|
||||
]
|
||||
},
|
||||
"twig/extra-bundle": {
|
||||
"version": "v3.10.0"
|
||||
"version": "v3.22.0"
|
||||
}
|
||||
}
|
||||
@@ -4,13 +4,10 @@
|
||||
<meta charset="UTF-8">
|
||||
<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>">
|
||||
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
|
||||
{% block stylesheets %}
|
||||
{{ encore_entry_link_tags('app') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('app') }}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
require dirname(__DIR__).'/vendor/autoload.php';
|
||||
|
||||
if (method_exists(Dotenv::class, 'bootEnv')) {
|
||||
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||
}
|
||||
|
||||
if ($_SERVER['APP_DEBUG']) {
|
||||
umask(0000);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
vendee_internal:
|
||||
workflow:
|
||||
label: 'Suivi CD85'
|
||||
+8
-24
@@ -1,30 +1,14 @@
|
||||
{
|
||||
"extends": "@tsconfig/node14/tsconfig.json",
|
||||
"extends": "./vendor/chill-project/chill-bundles/ts-config-base.json",
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"es2020",
|
||||
"dom"
|
||||
],
|
||||
"module": "es6",
|
||||
"moduleResolution": "node",
|
||||
"isolatedModules": true,
|
||||
"allowJs": false,
|
||||
"checkJs": false,
|
||||
"importHelpers": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"sourceMap": true
|
||||
"sourceMap": true,
|
||||
"baseUrl": "."
|
||||
},
|
||||
"includes": [
|
||||
"./vendor/chill-project/chill-bundles/src/Bundle/**/*.ts",
|
||||
"./vendor/chill-project/chill-bundles/src/Bundle/**/*.vue",
|
||||
"include": [
|
||||
"./assets/**/*.ts",
|
||||
"./assets/**/*.vue",
|
||||
"./src/**/*.ts",
|
||||
"./src/**/*.vue"
|
||||
],
|
||||
"exclude": [
|
||||
"./vendor/chill-project/chill-bundles/tests/*",
|
||||
"./vendor/chill-project/chill-bundles/docs/*"
|
||||
"./src/**/*.vue",
|
||||
"./vite.config.ts"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
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
|
||||
}),
|
||||
);
|
||||
@@ -1,161 +0,0 @@
|
||||
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
|
||||
})
|
||||
.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.silent = false;
|
||||
})
|
||||
//.enableForkedTypeScriptTypesChecking()
|
||||
.autoProvidejQuery()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.cleanupOutputBeforeBuild()
|
||||
//.enableBuildNotifications()
|
||||
.enableVersioning()
|
||||
.enableSingleRuntimeChunk()
|
||||
.splitEntryChunks()
|
||||
// added when upgrading to symfony 5.4
|
||||
// enables and configure @babel/preset-env polyfills
|
||||
//.configureBabelPresetEnv((config) => {
|
||||
// config.useBuiltIns = 'usage';
|
||||
// config.corejs = '3.23';
|
||||
//})
|
||||
//.addLoader({ test: /\.pdf$/, loader: 'file-loader', options: { name: '[name]_[hash].[ext]', outputPath: 'pdf/' } })
|
||||
;
|
||||
|
||||
// populate config with chill entries
|
||||
let chillEntries = [];
|
||||
await populateConfig(Encore, chillEntries);
|
||||
// configure Babel
|
||||
// .configureBabel((config) => {
|
||||
// config.plugins.push('@babel/a-babel-plugin');
|
||||
// })
|
||||
|
||||
|
||||
// enables Sass/SCSS support
|
||||
//.enableSassLoader()
|
||||
|
||||
// add swagger UI
|
||||
if (!Encore.isProduction()) {
|
||||
Encore
|
||||
.addEntry('swagger', __dirname + '/assets/swagger-ui/index.js')
|
||||
.addLoader({
|
||||
test: /\.yaml$/,
|
||||
type: 'json',
|
||||
use: [
|
||||
{ loader: 'json-loader' },
|
||||
{ loader: 'yaml-loader' }
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
//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