Compare commits

..

No commits in common. "main" and "202501.20-temp" have entirely different histories.

17 changed files with 2772 additions and 2144 deletions

View File

@ -1,3 +0,0 @@
## 2.7.0 - 2025-01-20
### Release
* Update chill bundles to version 3.6.0

View File

@ -1,3 +0,0 @@
## 2.8.0 - 2025-03-04
### Release
* Update chill bundles to v3.9.2

View File

@ -1,3 +0,0 @@
## 2.9.0 - 2025-03-18
### Release
* Update chill bundles to v3.10.3

View File

@ -32,7 +32,6 @@ steps:
pull: always pull: always
commands: commands:
- composer install --no-scripts --no-interaction - composer install --no-scripts --no-interaction
- bin/console cache:clear
depends_on: depends_on:
- build-base-image - build-base-image

4
.env
View File

@ -78,7 +78,3 @@ RELATORIO_HOST=
RELATORIO_PORT= RELATORIO_PORT=
WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_PORT} WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_PORT}
###< chill-project/chill-bundles ### ###< chill-project/chill-bundles ###
###> symfony/ovh-cloud-notifier ###
# OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME
###< symfony/ovh-cloud-notifier ###

View File

@ -6,18 +6,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie). and is generated by [Changie](https://github.com/miniscruff/changie).
## 2.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 ## 2.6.0 - 2025-01-08
### Release ### Release
* Update to chill bundles v3.5.3 * Update to chill bundles v3.5.3

View File

@ -1,7 +0,0 @@
import SwaggerUI from 'swagger-ui';
import 'swagger-ui/dist/swagger-ui.css';
SwaggerUI({
url: '/_dev/specs.yaml',
dom_id: '#swag'
})

View File

@ -9,7 +9,7 @@
"ext-iconv": "*", "ext-iconv": "*",
"champs-libres/wopi-bundle": "dev-master@dev", "champs-libres/wopi-bundle": "dev-master@dev",
"champs-libres/wopi-lib": "dev-master@dev", "champs-libres/wopi-lib": "dev-master@dev",
"chill-project/chill-bundles": "3.10.2", "chill-project/chill-bundles": "dev-user_edit_form@dev",
"chill-project/chill-deploy": "^1.0", "chill-project/chill-deploy": "^1.0",
"graylog2/gelf-php": "^2.0", "graylog2/gelf-php": "^2.0",
"symfony/console": "5.4.*", "symfony/console": "5.4.*",

704
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -34,5 +34,4 @@ return [
Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true], Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true], Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
Symfony\UX\Translator\UxTranslatorBundle::class => ['all' => true],
]; ];

View File

@ -1,13 +0,0 @@
framework:
notifier:
chatter_transports:
texter_transports:
ovhcloud: '%env(OVHCLOUD_DSN)%'
channel_policy:
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
urgent: ['email']
high: ['email']
medium: ['email']
low: ['email']
admin_recipients:
- { email: admin@example.com }

View File

@ -1,3 +0,0 @@
ux_translator:
# The directory where the JavaScript translations are dumped
dump_directory: '%kernel.project_dir%/vendor/chill-project/chill-bundles/var/translations'

View File

@ -4,17 +4,14 @@
], ],
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@symfony/ux-translator": "file:vendor/symfony/ux-translator/assets", "bootstrap": "5.2.3"
"bootstrap": "5.2.3",
"intl-messageformat": "^10.5.11"
}, },
"scripts": { "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-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-validate": "swagger-cli validate templates/api/specs.yaml",
"specs-create-dir": "mkdir -p templates/api", "specs": "yarn run specs-build && yarn run specs-validate"
"specs": "yarn run specs-create-dir && yarn run specs-build && yarn run specs-validate",
"dev": "yarn run encore dev",
"prod": "yarn run encore production"
}, },
"version": "0.0.0" "dependencies": {
"bootstrap-icons": "^1.11.3"
}
} }

View File

@ -304,27 +304,6 @@
"config/packages/monolog.yaml" "config/packages/monolog.yaml"
] ]
}, },
"symfony/notifier": {
"version": "5.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.0",
"ref": "178877daf79d2dbd62129dd03612cb1a2cb407cc"
},
"files": [
"config/packages/notifier.yaml"
]
},
"symfony/ovh-cloud-notifier": {
"version": "5.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.1",
"ref": "fe2e382c22d60eae9ad54cb22862b1c15291fdf8"
}
},
"symfony/routing": { "symfony/routing": {
"version": "5.4", "version": "5.4",
"recipe": { "recipe": {
@ -376,21 +355,6 @@
"templates/base.html.twig" "templates/base.html.twig"
] ]
}, },
"symfony/ux-translator": {
"version": "2.23",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "2.9",
"ref": "bc396565cc4cab95692dd6df810553dc22e352e1"
},
"files": [
"assets/translator.js",
"config/packages/ux_translator.yaml",
"var/translations/configuration.js",
"var/translations/index.js"
]
},
"symfony/validator": { "symfony/validator": {
"version": "5.4", "version": "5.4",
"recipe": { "recipe": {

View File

@ -1,6 +1,20 @@
{ {
"extends": "./vendor/chill-project/chill-bundles/ts-config-base.json", "extends": "@tsconfig/node14/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"lib": [
"es2020",
"dom"
],
"module": "es6",
"moduleResolution": "node",
"isolatedModules": true,
"allowJs": false,
"checkJs": false,
"importHelpers": true,
"allowSyntheticDefaultImports": true,
"types": [
"node"
],
"sourceMap": true "sourceMap": true
}, },
"includes": [ "includes": [
@ -11,9 +25,6 @@
], ],
"exclude": [ "exclude": [
"./vendor/chill-project/chill-bundles/tests/*", "./vendor/chill-project/chill-bundles/tests/*",
"./vendor/chill-project/chill-bundles/docs/*", "./vendor/chill-project/chill-bundles/docs/*"
"./vendor/chill-project/chill-bundles/assets/translator.ts",
"./vendor/chill-project/chill-bundles/var/*.*"
] ]
} }

View File

@ -96,17 +96,15 @@ module.exports = (async () => {
.setPublicPath('/build') .setPublicPath('/build')
.enableSassLoader() .enableSassLoader()
.enableVueLoader(() => {}, { .enableVueLoader(() => {}, {
version: 3, version: 3
runtimeCompilerBuild: true,
}) })
.enableTypeScriptLoader(/*function (tsConfig){ .enableTypeScriptLoader(function (tsConfig){
tsConfig.appendTsSuffixTo = [/\.vue$/]; tsConfig.appendTsSuffixTo = [/\.vue$/];
tsConfig.appendTsxSuffixTo = [/\.vue$/]; tsConfig.appendTsxSuffixTo = [/\.vue$/];
// temporary fix for https://github.com/vuejs/vue-loader/issues/1915 and https://github.com/vuejs/core/issues/2855 // temporary fix for https://github.com/vuejs/vue-loader/issues/1915 and https://github.com/vuejs/core/issues/2855
tsConfig.compilerOptions = {strict: !Encore.isProduction()}; tsConfig.compilerOptions = {strict: !Encore.isProduction()};
tsConfig.compilerOptions.paths = {"translator": [resolve(__dirname, "./assets/translator.ts")]};
tsConfig.silent = false; tsConfig.silent = false;
}*/) })
//.enableForkedTypeScriptTypesChecking() //.enableForkedTypeScriptTypesChecking()
.autoProvidejQuery() .autoProvidejQuery()
.enableSourceMaps(!Encore.isProduction()) .enableSourceMaps(!Encore.isProduction())
@ -115,26 +113,40 @@ module.exports = (async () => {
.enableVersioning() .enableVersioning()
.enableSingleRuntimeChunk() .enableSingleRuntimeChunk()
.splitEntryChunks() .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/' } }) //.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 // configure Babel
// .configureBabel((config) => { // .configureBabel((config) => {
// config.plugins.push('@babel/a-babel-plugin'); // config.plugins.push('@babel/a-babel-plugin');
// }) // })
// enables and configure @babel/preset-env polyfills
// .configureBabelPresetEnv((config) => {
// config.useBuiltIns = 'usage';
// config.corejs = '3.23';
// })
;
Encore.addAliases({ // enables Sass/SCSS support
translator: resolve(__dirname, './vendor/chill-project/chill-bundles/assets/translator') //.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' }
],
}); });
}
// populate config with chill entries
let chillEntries = [];
await populateConfig(Encore, chillEntries);
//getting the encore config and appending chill entries //getting the encore config and appending chill entries
config = Encore.getWebpackConfig(); config = Encore.getWebpackConfig();

4020
yarn.lock

File diff suppressed because it is too large Load Diff