forked from Chill-project/chill-skeleton-basic
Compare commits
46 Commits
202301.13.
...
release/te
Author | SHA1 | Date | |
---|---|---|---|
bd011775a6
|
|||
f06b8dcd1e
|
|||
7f85d66337
|
|||
cc716beaec
|
|||
ac61038625 | |||
9827832753
|
|||
0706901415
|
|||
c4d3c784d3
|
|||
ce136ba0f3 | |||
05d4a10a5b
|
|||
|
c06166fdc2 | ||
fb1219163e
|
|||
52c40e5f52
|
|||
a144b0e4be
|
|||
8d310ef7c8 | |||
eff7e9470d | |||
cad7c0c53d | |||
c29f6cdf96
|
|||
430915f831
|
|||
29253b4f01
|
|||
93972a0135
|
|||
63c7130be3
|
|||
63489e7055 | |||
6d8b858cc8 | |||
28444d5bbf
|
|||
fb25e8b346
|
|||
efed281312 | |||
a6a988a33a | |||
859eb37526 | |||
b55914e40f | |||
7f1085d2c2 | |||
|
b81638eda9 | ||
571d662737 | |||
78a98bff40
|
|||
2f18130e72 | |||
2af27e8b42 | |||
fcd00855f9 | |||
e9c478c062 | |||
d38e9a5c0a | |||
b63a4f2a5f | |||
1a1188c612 | |||
39b9e839c2 | |||
23c438f0d7 | |||
a4fd3dbeb6 | |||
1ef5ef50a3 | |||
da2149cb60
|
6
.changes/header.tpl.md
Normal file
6
.changes/header.tpl.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Changelog
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||||
|
and is generated by [Changie](https://github.com/miniscruff/changie).
|
0
.changes/unreleased/.gitkeep
Normal file
0
.changes/unreleased/.gitkeep
Normal file
3
.changes/v1.0.0.md
Normal file
3
.changes/v1.0.0.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.0.0 - 2023-11-19
|
||||||
|
### Feature
|
||||||
|
* Integrate changie and automate release management
|
35
.changie.yaml
Normal file
35
.changie.yaml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
changesDir: .changes
|
||||||
|
unreleasedDir: unreleased
|
||||||
|
headerPath: header.tpl.md
|
||||||
|
changelogPath: CHANGELOG.md
|
||||||
|
versionExt: md
|
||||||
|
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
|
||||||
|
kindFormat: '### {{.Kind}}'
|
||||||
|
# Note: it is possible to add a `.custom.Long` text manually into the yaml file produced by `changie new`. This will add a long description.
|
||||||
|
changeFormat: >-
|
||||||
|
* {{ if and (ne .Custom.Issue "") (ne .Custom.Issue "0") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{.Body}}
|
||||||
|
custom:
|
||||||
|
- key: Issue
|
||||||
|
label: Issue number (on chill-bundles repository) (optional)
|
||||||
|
optional: true
|
||||||
|
type: int
|
||||||
|
kinds:
|
||||||
|
- label: Release
|
||||||
|
auto: minor
|
||||||
|
- label: Feature
|
||||||
|
auto: minor
|
||||||
|
- label: Deprecated
|
||||||
|
auto: minor
|
||||||
|
- label: Fixed
|
||||||
|
auto: patch
|
||||||
|
- label: Security
|
||||||
|
auto: patch
|
||||||
|
- label: DX
|
||||||
|
auto: patch
|
||||||
|
- label: UX
|
||||||
|
auto: patch
|
||||||
|
newlines:
|
||||||
|
afterChangelogHeader: 1
|
||||||
|
beforeChangelogVersion: 1
|
||||||
|
endOfVersion: 1
|
||||||
|
envPrefix: CHANGIE_
|
37
.drone.yml
37
.drone.yml
@@ -21,7 +21,7 @@ steps:
|
|||||||
registry: h3m6q87t.gra7.container-registry.ovh.net
|
registry: h3m6q87t.gra7.container-registry.ovh.net
|
||||||
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base
|
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base
|
||||||
tag: latest
|
tag: latest
|
||||||
target: chill_base_php
|
target: chill_base_php82
|
||||||
pull_image: true
|
pull_image: true
|
||||||
cache_from:
|
cache_from:
|
||||||
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
|
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
|
||||||
@@ -79,3 +79,38 @@ steps:
|
|||||||
Dockerfile: docker/nginx/Dockerfile
|
Dockerfile: docker/nginx/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-assets
|
- build-assets
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build-base-image-php82
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
- push
|
||||||
|
cron:
|
||||||
|
- base-image-php82
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-base-image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username_gitea
|
||||||
|
password:
|
||||||
|
from_secret: docker_password_gitea
|
||||||
|
registry: gitea.champs-libres.be/chill-project/chill-skeleton-basic
|
||||||
|
repo: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image
|
||||||
|
tag:
|
||||||
|
- php82
|
||||||
|
- latest
|
||||||
|
target: chill_base_php82
|
||||||
|
pull_image: true
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: signature
|
||||||
|
hmac: 707a5ef589fb6320f9e9e1dec7d8d4d11b477ba09e3b2b08d6f31f98d6d3f5d0
|
||||||
|
|
||||||
|
...
|
||||||
|
2
.env.dev
2
.env.dev
@@ -11,3 +11,5 @@ MAILER_URL=smtp://smtp:1025
|
|||||||
PGADMIN_DEFAULT_EMAIL=admin@chill.social
|
PGADMIN_DEFAULT_EMAIL=admin@chill.social
|
||||||
PGADMIN_DEFAULT_PASSWORD=password
|
PGADMIN_DEFAULT_PASSWORD=password
|
||||||
|
|
||||||
|
## Phpstorm IDE project path
|
||||||
|
PROJECT_DIR=
|
||||||
|
16
.gitea/workflows/release/create-release-on-tag.yaml
Normal file
16
.gitea/workflows/release/create-release-on-tag.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Create release
|
||||||
|
run-name: Create release on tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: release
|
||||||
|
uses: https://github.com/softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
body_path: ${{ github.workspace }}/.changes/v${{ github.ref }}.md
|
4
.gitignore
vendored
4
.gitignore
vendored
@@ -9,6 +9,7 @@ config/secrets/
|
|||||||
|
|
||||||
## env files
|
## env files
|
||||||
.env.local
|
.env.local
|
||||||
|
.env.dev.local
|
||||||
|
|
||||||
.composer/*
|
.composer/*
|
||||||
composer.phar
|
composer.phar
|
||||||
@@ -49,17 +50,18 @@ phpunit.xml
|
|||||||
nbproject/*
|
nbproject/*
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
|
.ignore
|
||||||
|
|
||||||
### template/api/specs.yaml should be compiled
|
### template/api/specs.yaml should be compiled
|
||||||
templates/api/specs.yaml
|
templates/api/specs.yaml
|
||||||
|
|
||||||
|
|
||||||
###> symfony/webpack-encore-bundle ###
|
###> symfony/webpack-encore-bundle ###
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/public/build/
|
/public/build/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
###< symfony/webpack-encore-bundle ###
|
###< symfony/webpack-encore-bundle ###
|
||||||
|
|
||||||
###> symfony/phpunit-bridge ###
|
###> symfony/phpunit-bridge ###
|
||||||
.phpunit
|
.phpunit
|
||||||
.phpunit.result.cache
|
.phpunit.result.cache
|
||||||
|
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,12 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||||
|
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||||
|
|
||||||
* [Semantic Versioning](https://semver.org/spec/v2.0.0.html) for stable releases;
|
|
||||||
* date versioning for test releases
|
|
||||||
|
|
||||||
## Unreleased
|
|
||||||
|
|
||||||
|
## v1.0.0 - 2023-11-19
|
||||||
|
### Feature
|
||||||
|
* Integrate changie and automate release management
|
||||||
|
62
Dockerfile
62
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM php:7.4-fpm-buster AS chill_base_php
|
FROM php:8.2-fpm-alpine AS chill_base_php82
|
||||||
|
|
||||||
ENV POSTGRES_VERSION 14
|
ENV POSTGRES_VERSION 14
|
||||||
|
|
||||||
@@ -6,27 +6,31 @@ ENV POSTGRES_VERSION 14
|
|||||||
ARG UID=1000
|
ARG UID=1000
|
||||||
ARG GID=1000
|
ARG GID=1000
|
||||||
|
|
||||||
RUN apt update && apt -y --no-install-recommends install wget gnupg \
|
# install php extensions and deps
|
||||||
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
RUN apk update && apk add --no-cache \
|
||||||
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
|
wget gnupg \
|
||||||
&& apt update && apt -y --no-install-recommends install \
|
libpq-dev \
|
||||||
libicu-dev \
|
icu-dev icu-libs icu-data-full \
|
||||||
g++ \
|
oniguruma-dev \
|
||||||
postgresql-server-dev-$POSTGRES_VERSION \
|
libzip libzip-dev \
|
||||||
libzip-dev libzip4 unzip \
|
linux-headers \
|
||||||
libfreetype6-dev \
|
gcc g++ make autoconf \
|
||||||
libonig-dev `# install oniguruma, required for mbstring` \
|
bash git \
|
||||||
libpng-dev \
|
&& docker-php-ext-install pdo_pgsql intl mbstring zip bcmath exif sockets \
|
||||||
libjpeg62-turbo-dev \
|
&& git clone https://github.com/nikic/php-ast.git \
|
||||||
git \
|
&& cd php-ast \
|
||||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
&& phpize \
|
||||||
&& docker-php-ext-install -j$(nproc) gd \
|
&& ./configure \
|
||||||
&& docker-php-ext-install intl pdo_pgsql mbstring zip bcmath sockets exif \
|
&& make install \
|
||||||
|
&& echo 'extension=ast.so' > /usr/local/etc/php/php.ini \
|
||||||
|
&& cd .. && rm -rf php-ast \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
&& apt remove -y wget libicu-dev g++ gnupg libzip-dev \
|
&& apk add libpng-dev libjpeg-turbo-dev freetype-dev \
|
||||||
&& apt autoremove -y \
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||||
&& apt purge -y
|
&& 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
|
||||||
|
|
||||||
RUN { \
|
RUN { \
|
||||||
echo ""; \
|
echo ""; \
|
||||||
@@ -41,15 +45,31 @@ RUN { \
|
|||||||
echo ""; \
|
echo ""; \
|
||||||
} >> /usr/local/etc/php/conf.d/date.ini
|
} >> /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
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
ENV COMPOSER_MEMORY_LIMIT=-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
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|
||||||
FROM chill_base_php AS chill_php
|
FROM chill_base_php82 AS chill_php82
|
||||||
|
|
||||||
# copy directories
|
# copy directories
|
||||||
|
|
||||||
|
10
Makefile
10
Makefile
@@ -2,12 +2,12 @@ THIS_FILE := $(lastword $(MAKEFILE_LIST))
|
|||||||
PWD:=$(shell echo ${PWD})
|
PWD:=$(shell echo ${PWD})
|
||||||
UID:=$(shell id -u)
|
UID:=$(shell id -u)
|
||||||
GID:=$(shell id -g)
|
GID:=$(shell id -g)
|
||||||
BASE_TAG=chill_base_php
|
|
||||||
DOCKERNODE_CMD=docker run --rm --user ${UID}:${GID} -v ${PWD}:/app --workdir /app -e YARN_CACHE_FOLDER=/app/.yarncache node:16
|
DOCKERNODE_CMD=docker run --rm --user ${UID}:${GID} -v ${PWD}:/app --workdir /app -e YARN_CACHE_FOLDER=/app/.yarncache node:16
|
||||||
DOCKER_COMPOSE_PHP_EXEC_CMD=docker-compose run --rm --user $(UID):$(GID) -e CLEAR_CACHE=false -e COMPOSER_HOME=/var/www/app/.composer --entrypoint /usr/bin/env php
|
DOCKER_COMPOSE_PHP_EXEC_CMD=docker-compose run --rm --user $(UID):$(GID) -e CLEAR_CACHE=false -e COMPOSER_HOME=/var/www/app/.composer --entrypoint /usr/bin/env php
|
||||||
DOCKER_PHP_EXEC_CMD_BASE=docker run --rm --user $(UID):$(GID) -v ${PWD}:/var/www/app -e CLEAR_CACHE=false -e COMPOSER_HOME=/var/www/app/.composer --entrypoint /usr/bin/env $(BASE_TAG)
|
DOCKER_PHP_EXEC_CMD_BASE=docker run --rm --user $(UID):$(GID) -v ${PWD}:/var/www/app -e CLEAR_CACHE=false -e COMPOSER_HOME=/var/www/app/.composer --entrypoint /usr/bin/env $(PHP_BASE_IMAGE_TAG)
|
||||||
PHP_BASE_IMAGE=php:7.4-fpm-buster
|
PHP_BASE_IMAGE=php:8.2-fpm-alpine
|
||||||
PHP_BASE_IMAGE_CHILL=chill_base_php
|
PHP_BASE_IMAGE_TARGET=chill_base_php82
|
||||||
|
PHP_BASE_IMAGE_TAG=chill_php82
|
||||||
NGINX_BASE_IMAGE=nginx
|
NGINX_BASE_IMAGE=nginx
|
||||||
CALVER=$(shell date "+v%Y%m%d%H%M")-${CALVERSION}
|
CALVER=$(shell date "+v%Y%m%d%H%M")-${CALVERSION}
|
||||||
ifneq (,$(wildcard ./.env))
|
ifneq (,$(wildcard ./.env))
|
||||||
@@ -39,7 +39,7 @@ build-assets:
|
|||||||
$(DOCKERNODE_CMD) yarn run encore production
|
$(DOCKERNODE_CMD) yarn run encore production
|
||||||
|
|
||||||
init:
|
init:
|
||||||
docker build --target chill_base_php -t $(BASE_TAG) .
|
docker build --pull --target $(PHP_BASE_IMAGE_TARGET) --tag $(PHP_BASE_IMAGE_TAG) .
|
||||||
$(DOCKER_PHP_EXEC_CMD_BASE) composer update --no-scripts --no-interaction
|
$(DOCKER_PHP_EXEC_CMD_BASE) composer update --no-scripts --no-interaction
|
||||||
@$(MAKE) -f $(THIS_FILE) build-assets
|
@$(MAKE) -f $(THIS_FILE) build-assets
|
||||||
@$(MAKE) -f $(THIS_FILE) post-install
|
@$(MAKE) -f $(THIS_FILE) post-install
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-redis": "*",
|
"ext-redis": "*",
|
||||||
"chill-project/chill-bundles": "dev-master#239a978adb382d0c5dcc4ad6ae0f8f66a813a5dc",
|
"chill-project/chill-bundles": "2.12.1",
|
||||||
"symfony/flex": "^1.9",
|
"symfony/flex": "^1.9",
|
||||||
"symfony/http-client": "^4.4 || ^5",
|
"symfony/http-client": "^4.4 || ^5",
|
||||||
"nelmio/alice": "^3.8",
|
"nelmio/alice": "^3.8",
|
||||||
@@ -23,8 +23,7 @@
|
|||||||
"phpstan/phpstan": "^1.0",
|
"phpstan/phpstan": "^1.0",
|
||||||
"spomky-labs/base64url": "^2.0",
|
"spomky-labs/base64url": "^2.0",
|
||||||
"twig/string-extra": "^3.3",
|
"twig/string-extra": "^3.3",
|
||||||
"symfony/mailer": "^5.4",
|
"symfony/mailer": "^5.4"
|
||||||
"symfony/dependency-injection": "5.4.16"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fakerphp/faker": "^1.13",
|
"fakerphp/faker": "^1.13",
|
||||||
@@ -37,8 +36,7 @@
|
|||||||
"symfony/web-profiler-bundle": "^5.0",
|
"symfony/web-profiler-bundle": "^5.0",
|
||||||
"symfony/var-dumper": "4.*",
|
"symfony/var-dumper": "4.*",
|
||||||
"symfony/phpunit-bridge": "^5.2",
|
"symfony/phpunit-bridge": "^5.2",
|
||||||
"symfony/debug-bundle": "^5.1",
|
"symfony/debug-bundle": "^5.1"
|
||||||
"box/spout": "^3.3"
|
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
@@ -55,7 +53,8 @@
|
|||||||
"bin-dir": "bin",
|
"bin-dir": "bin",
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
"ocramius/package-versions": true,
|
"ocramius/package-versions": true,
|
||||||
"symfony/flex": true
|
"symfony/flex": true,
|
||||||
|
"symfony/runtime": true
|
||||||
},
|
},
|
||||||
"preferred-install": {
|
"preferred-install": {
|
||||||
"chill-project/chill-bundles": "source",
|
"chill-project/chill-bundles": "source",
|
||||||
|
2958
composer.lock
generated
2958
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,6 @@ return [
|
|||||||
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
|
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['all' => true],
|
|
||||||
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
|
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
|
||||||
Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true],
|
Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true],
|
||||||
ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true],
|
ChampsLibres\AsyncUploaderBundle\ChampsLibresAsyncUploaderBundle::class => ['all' => true],
|
||||||
|
@@ -56,7 +56,6 @@ chill_budget:
|
|||||||
- { key: mutuelle, labels: [{lang: fr, label: "Mutuelle"}]}
|
- { key: mutuelle, labels: [{lang: fr, label: "Mutuelle"}]}
|
||||||
- { key: transport, labels: [{lang: fr, label: "Frais de transport"}]}
|
- { key: transport, labels: [{lang: fr, label: "Frais de transport"}]}
|
||||||
- { key: decouvbank, labels: [{lang: fr, label: "Découvert bancaire utilisé"}]}
|
- { key: decouvbank, labels: [{lang: fr, label: "Découvert bancaire utilisé"}]}
|
||||||
- { key: credit, labels: [{lang: fr, label: "Procédure de saisie"}]}
|
|
||||||
- { key: procsaisie, labels: [{lang: fr, label: "Procédure de saisie"}]}
|
- { key: procsaisie, labels: [{lang: fr, label: "Procédure de saisie"}]}
|
||||||
- { key: indus, labels: [{lang: fr, label: "Indus"}]}
|
- { key: indus, labels: [{lang: fr, label: "Indus"}]}
|
||||||
- { key: apurement, labels: [{lang: fr, label: "Plan d'apurement"}]}
|
- { key: apurement, labels: [{lang: fr, label: "Plan d'apurement"}]}
|
||||||
@@ -82,6 +81,5 @@ chill_budget:
|
|||||||
- { key: debt_bank, labels: [{lang: fr, label: "Dette de découvert bancaire utilisé"}]}
|
- { 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_garbage, labels: [{lang: fr, label: "Dette de taxe d’ordures ménagère"}]}
|
||||||
- { key: debt_other, labels: [{lang: fr, label: "Dette autre"}]}
|
- { key: debt_other, labels: [{lang: fr, label: "Dette autre"}]}
|
||||||
- { key: credit, labels: [{lang: fr, label: "Crédit"}]}
|
|
||||||
- { key: autre, labels: [{lang: fr, label: "Autre"}]}
|
- { key: autre, labels: [{lang: fr, label: "Autre"}]}
|
||||||
|
|
||||||
|
@@ -3,3 +3,10 @@ framework:
|
|||||||
# allow to debug from ngrok, useful for webhooks coming from outside:
|
# allow to debug from ngrok, useful for webhooks coming from outside:
|
||||||
- '^(.+\.)?ngrok\.io$'
|
- '^(.+\.)?ngrok\.io$'
|
||||||
- 'nginx'
|
- 'nginx'
|
||||||
|
|
||||||
|
## Open files in phpstorm IDE from profiler links
|
||||||
|
# ref: https://symfony.com/doc/current/reference/configuration/framework.html#ide
|
||||||
|
# need: https://github.com/sanduhrs/phpstorm-url-handler/blob/master/phpstorm-url-handler
|
||||||
|
# set var in file .env.dev.local (PROJECT_DIR=<relative path from home folder>)
|
||||||
|
ide: 'phpstorm://open?file=%%f&line=%%l&/var/www/app/>%env(resolve:PROJECT_DIR)%'
|
||||||
|
|
||||||
|
@@ -1,4 +0,0 @@
|
|||||||
# See https://symfony.com/doc/current/email/dev_environment.html
|
|
||||||
swiftmailer:
|
|
||||||
# send all emails to a specific address
|
|
||||||
#delivery_addresses: ['me@example.com']
|
|
@@ -33,6 +33,3 @@ framework:
|
|||||||
## sf4 check: ou à déplacer dans un chill.yaml
|
## sf4 check: ou à déplacer dans un chill.yaml
|
||||||
assets:
|
assets:
|
||||||
json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'
|
json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'
|
||||||
|
|
||||||
templating:
|
|
||||||
engines: ['twig']
|
|
||||||
|
@@ -9,6 +9,8 @@ framework:
|
|||||||
transports:
|
transports:
|
||||||
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
# https://symfony.com/doc/current/messenger.html#transport-configuration
|
||||||
async: '%env(MESSENGER_TRANSPORT_DSN)%'
|
async: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||||
|
priority:
|
||||||
|
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
|
||||||
failed: 'doctrine://default?queue_name=failed'
|
failed: 'doctrine://default?queue_name=failed'
|
||||||
# sync: 'sync://'
|
# sync: 'sync://'
|
||||||
|
|
||||||
@@ -22,3 +24,4 @@ framework:
|
|||||||
'Chill\CalendarBundle\Messenger\Message\InviteUpdateMessage': async
|
'Chill\CalendarBundle\Messenger\Message\InviteUpdateMessage': async
|
||||||
'Chill\CalendarBundle\Messenger\Message\MSGraphChangeNotificationMessage': async
|
'Chill\CalendarBundle\Messenger\Message\MSGraphChangeNotificationMessage': async
|
||||||
'Chill\MainBundle\Service\ShortMessage\ShortMessage': async
|
'Chill\MainBundle\Service\ShortMessage\ShortMessage': async
|
||||||
|
'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
swiftmailer:
|
|
||||||
url: '%env(MAILER_URL)%'
|
|
||||||
spool: { type: 'memory' }
|
|
@@ -1,2 +0,0 @@
|
|||||||
swiftmailer:
|
|
||||||
disable_delivery: true
|
|
@@ -1,2 +1,3 @@
|
|||||||
wopi:
|
wopi:
|
||||||
server: "%env(resolve:WOPI_SERVER)%"
|
server: "%env(resolve:WOPI_SERVER)%"
|
||||||
|
enable_lock: false
|
||||||
|
@@ -8,7 +8,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
UID: ${PHP_FPM_USER:-1000}
|
UID: ${PHP_FPM_USER:-1000}
|
||||||
# uncomment and set your own image if needed
|
# uncomment and set your own image if needed
|
||||||
image: ${IMAGE_PHP-chill_php}:${VERSION:-latest}
|
image: ${IMAGE_PHP-chill_php82}:${VERSION:-latest}
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/app
|
- .:/var/www/app
|
||||||
environment:
|
environment:
|
||||||
|
@@ -10,7 +10,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
UID: ${PHP_FPM_USER:-1000}
|
UID: ${PHP_FPM_USER:-1000}
|
||||||
# uncomment and set your own image if needed
|
# uncomment and set your own image if needed
|
||||||
image: ${IMAGE_PHP-chill_php}:${VERSION:-latest}
|
image: ${IMAGE_PHP-chill_php82}:${VERSION:-latest}
|
||||||
#
|
#
|
||||||
# normally, you should not mount any volume and use your own image
|
# normally, you should not mount any volume and use your own image
|
||||||
#
|
#
|
||||||
|
@@ -8,7 +8,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
UID: ${PHP_FPM_USER:-1000}
|
UID: ${PHP_FPM_USER:-1000}
|
||||||
# uncomment and set your own image if needed
|
# uncomment and set your own image if needed
|
||||||
image: ${IMAGE_PHP:-chill_php}:${VERSION:-latest}
|
image: ${IMAGE_PHP:-chill_php82}:${VERSION:-latest}
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/app
|
- .:/var/www/app
|
||||||
environment:
|
environment:
|
||||||
|
32
symfony.lock
32
symfony.lock
@@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
"box/spout": {
|
|
||||||
"version": "v3.3.0"
|
|
||||||
},
|
|
||||||
"brick/math": {
|
"brick/math": {
|
||||||
"version": "0.9.3"
|
"version": "0.9.3"
|
||||||
},
|
},
|
||||||
@@ -358,9 +355,6 @@
|
|||||||
"psr/http-message": {
|
"psr/http-message": {
|
||||||
"version": "1.0.1"
|
"version": "1.0.1"
|
||||||
},
|
},
|
||||||
"psr/link": {
|
|
||||||
"version": "1.0.0"
|
|
||||||
},
|
|
||||||
"psr/log": {
|
"psr/log": {
|
||||||
"version": "1.1.3"
|
"version": "1.1.3"
|
||||||
},
|
},
|
||||||
@@ -454,9 +448,6 @@
|
|||||||
"spomky-labs/base64url": {
|
"spomky-labs/base64url": {
|
||||||
"version": "v2.0.4"
|
"version": "v2.0.4"
|
||||||
},
|
},
|
||||||
"swiftmailer/swiftmailer": {
|
|
||||||
"version": "v6.2.5"
|
|
||||||
},
|
|
||||||
"symfony/asset": {
|
"symfony/asset": {
|
||||||
"version": "v4.4.11"
|
"version": "v4.4.11"
|
||||||
},
|
},
|
||||||
@@ -662,9 +653,6 @@
|
|||||||
"symfony/polyfill-ctype": {
|
"symfony/polyfill-ctype": {
|
||||||
"version": "v1.18.0"
|
"version": "v1.18.0"
|
||||||
},
|
},
|
||||||
"symfony/polyfill-iconv": {
|
|
||||||
"version": "v1.22.0"
|
|
||||||
},
|
|
||||||
"symfony/polyfill-intl-grapheme": {
|
"symfony/polyfill-intl-grapheme": {
|
||||||
"version": "v1.18.0"
|
"version": "v1.18.0"
|
||||||
},
|
},
|
||||||
@@ -751,23 +739,6 @@
|
|||||||
"symfony/string": {
|
"symfony/string": {
|
||||||
"version": "v5.1.3"
|
"version": "v5.1.3"
|
||||||
},
|
},
|
||||||
"symfony/swiftmailer-bundle": {
|
|
||||||
"version": "2.5",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "master",
|
|
||||||
"version": "2.5",
|
|
||||||
"ref": "ae4d22af30bbd484506bc1817c5a3ef72c855b93"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"config/packages/dev/swiftmailer.yaml",
|
|
||||||
"config/packages/swiftmailer.yaml",
|
|
||||||
"config/packages/test/swiftmailer.yaml"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"symfony/templating": {
|
|
||||||
"version": "v4.4.11"
|
|
||||||
},
|
|
||||||
"symfony/translation": {
|
"symfony/translation": {
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@@ -820,9 +791,6 @@
|
|||||||
"symfony/var-exporter": {
|
"symfony/var-exporter": {
|
||||||
"version": "v5.1.3"
|
"version": "v5.1.3"
|
||||||
},
|
},
|
||||||
"symfony/web-link": {
|
|
||||||
"version": "v5.2.12"
|
|
||||||
},
|
|
||||||
"symfony/web-profiler-bundle": {
|
"symfony/web-profiler-bundle": {
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
|
@@ -14,13 +14,6 @@ Save activity: Sauver l'échange
|
|||||||
'The form is not valid. The activity has not been created !': Le formulaire est invalide. L'échange n'a pas été créé.
|
'The form is not valid. The activity has not been created !': Le formulaire est invalide. L'échange n'a pas été créé.
|
||||||
'Success : activity updated!': L'échange a été mis à jour.
|
'Success : activity updated!': L'échange a été mis à jour.
|
||||||
'The form is not valid. The activity has not been updated !': Le formulaire est invalide. L'échange n'a pas été mis à jour.
|
'The form is not valid. The activity has not been updated !': Le formulaire est invalide. L'échange n'a pas été mis à jour.
|
||||||
CHILL_ACTIVITY_CREATE: Créer un échange
|
|
||||||
CHILL_ACTIVITY_UPDATE: Modifier un échange
|
|
||||||
CHILL_ACTIVITY_SEE: Voir un échange
|
|
||||||
CHILL_ACTIVITY_SEE_DETAILS: Voir le détail des échanges
|
|
||||||
CHILL_ACTIVITY_DELETE: Supprimer un échange
|
|
||||||
CHILL_ACTIVITY_STATS: Statistique des échanges
|
|
||||||
CHILL_ACTIVITY_LIST: Liste des échanges
|
|
||||||
Activity configuration: Configuration des échanges
|
Activity configuration: Configuration des échanges
|
||||||
Activity configuration menu: Configuration des échanges
|
Activity configuration menu: Configuration des échanges
|
||||||
Activity Types: Types d'échange
|
Activity Types: Types d'échange
|
||||||
|
Reference in New Issue
Block a user