Compare commits
31 Commits
release/te
...
1.5.0-rc1
Author | SHA1 | Date | |
---|---|---|---|
61a77cc1de | |||
|
0c65d3d681 | ||
9c125c6af6 | |||
e701b75f1e
|
|||
6c0caef3d5
|
|||
103282e44b
|
|||
dd591628a8
|
|||
656d27080b
|
|||
8d1693285d
|
|||
818b4c36a3
|
|||
0fb57fcdd8 | |||
|
c8d89e2a1d | ||
d142fbe471 | |||
deadabefa1 | |||
2c9ec9db55
|
|||
4aea2fe135
|
|||
6fe97f3659 | |||
|
d9980a7e18 | ||
59852c709d | |||
f7dc506506
|
|||
8ef752fdd0
|
|||
1c544d392a | |||
|
dcfd7e4924 | ||
deb47dd3aa | |||
ac909e8107 | |||
|
414b4e11ca | ||
86e27595f5 | |||
cb3ac56084 | |||
4ef93ef722 | |||
7e3d741ea0 | |||
bd011775a6
|
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
|
3
.changes/v1.1.0.md
Normal file
3
.changes/v1.1.0.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.1.0 - 2023-11-22
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.12.1 to 2.13.0
|
3
.changes/v1.2.0.md
Normal file
3
.changes/v1.2.0.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.2.0 - 2023-11-24
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.13.0 to 2.14.0
|
3
.changes/v1.3.0.md
Normal file
3
.changes/v1.3.0.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.3.0 - 2023-11-30
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.14.0 to 2.14.1
|
4
.changes/v1.4.0.md
Normal file
4
.changes/v1.4.0.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
## v1.4.0 - 2024-02-08
|
||||||
|
### Release
|
||||||
|
* Upgrade nodes dependencies
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.14.1 to 2.16.0
|
3
.changes/v1.4.1.md
Normal file
3
.changes/v1.4.1.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.4.1 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* upgrade node version while compiling
|
3
.changes/v1.4.2.md
Normal file
3
.changes/v1.4.2.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.4.2 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* Fix version of bootstrap temporarily
|
3
.changes/v1.4.3.md
Normal file
3
.changes/v1.4.3.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.4.3 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* better restriction for bootstrap version
|
3
.changes/v1.4.4.md
Normal file
3
.changes/v1.4.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.4.4 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* fix incorrect upgrade
|
3
.changes/v1.5.0.md
Normal file
3
.changes/v1.5.0.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v1.5.0 - 2024-02-08
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.16.0 to 2.16.1
|
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,10 +37,11 @@ steps:
|
|||||||
- build-base-image
|
- build-base-image
|
||||||
|
|
||||||
- name: build-assets
|
- name: build-assets
|
||||||
image: node:14
|
image: node:20
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
|
- yarn list
|
||||||
- yarn run encore production
|
- yarn run encore production
|
||||||
depends_on:
|
depends_on:
|
||||||
- composer-install
|
- composer-install
|
||||||
@@ -111,6 +112,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 707a5ef589fb6320f9e9e1dec7d8d4d11b477ba09e3b2b08d6f31f98d6d3f5d0
|
hmac: 0bca4dec9822a08338f6f3b88badf771558aee19b41967837aa64853a1573cad
|
||||||
|
|
||||||
...
|
...
|
||||||
|
59
.gitea/workflows/release/update-composer-lock.yaml
Normal file
59
.gitea/workflows/release/update-composer-lock.yaml
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
name: Prepare release for chill app
|
||||||
|
run-name: Update composer.lock and dependencies for preparing a release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'release/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-deps:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: check out repository
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
- name: get the previous chill version
|
||||||
|
# parse the composer.lock file using jq to get the chill version before the upgrade
|
||||||
|
id: chill-before
|
||||||
|
uses: https://github.com/sergeysova/jq-action@v2
|
||||||
|
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
|
||||||
|
with:
|
||||||
|
# this is where we set the command to execute
|
||||||
|
args: composer update --no-install
|
||||||
|
- name: is composer.lock changed ?
|
||||||
|
id: composer-lock-changed
|
||||||
|
run: 'echo is_composer_lock_changed=$(git diff --name-only | grep "composer\.lock" | wc -l) >> $GITHUB_OUTPUT'
|
||||||
|
- name: get the new chill version
|
||||||
|
# parse the composer.lock file using jq to get the chill version after the upgrade
|
||||||
|
id: chill-after
|
||||||
|
uses: https://github.com/sergeysova/jq-action@v2
|
||||||
|
with:
|
||||||
|
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
|
||||||
|
- name: add a changie file for the upgrade
|
||||||
|
uses: https://github.com/miniscruff/changie-action@v2
|
||||||
|
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: 'new --body "Update dependencies. Chill-bundles upgraded from ${{ steps.chill-before.outputs.value }} to ${{ steps.chill-after.outputs.value }}" --kind Release --custom "Issue=0"'
|
||||||
|
- name: changie batch
|
||||||
|
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
|
||||||
|
uses: https://github.com/miniscruff/changie-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: 'batch auto'
|
||||||
|
- name: changie merge
|
||||||
|
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
|
||||||
|
uses: https://github.com/miniscruff/changie-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: 'merge'
|
||||||
|
- name: commit changed files
|
||||||
|
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
|
||||||
|
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
||||||
|
with:
|
||||||
|
commit_message: "update composer.lock and file (automatic update)"
|
||||||
|
commit_user_name: Action Bot
|
||||||
|
commit_user_email: bot@chill.social
|
@@ -1,25 +0,0 @@
|
|||||||
name: Prepare release for chill app
|
|
||||||
run-name: Update composer.lock and dependencies for preparing a release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'release/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
update-deps:
|
|
||||||
steps:
|
|
||||||
- name: check out repository
|
|
||||||
uses: https://github.com/actions/checkout@v4
|
|
||||||
- name: run composer update to update composer.lock
|
|
||||||
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
|
|
||||||
with:
|
|
||||||
# this is where we set the command to execute
|
|
||||||
args: composer update --no-install
|
|
||||||
- name: commit changed files
|
|
||||||
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
|
||||||
with:
|
|
||||||
commit_message: "update composer.lock and file (automatic update through CI)"
|
|
||||||
commit_user_name: Action Bot
|
|
||||||
commit_user_email: bot@chill.social
|
|
||||||
|
|
46
CHANGELOG.md
46
CHANGELOG.md
@@ -1,12 +1,48 @@
|
|||||||
# 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.5.0 - 2024-02-08
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.16.0 to 2.16.1
|
||||||
|
|
||||||
|
## v1.4.4 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* fix incorrect upgrade
|
||||||
|
|
||||||
|
## v1.4.3 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* better restriction for bootstrap version
|
||||||
|
|
||||||
|
## v1.4.2 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* Fix version of bootstrap temporarily
|
||||||
|
|
||||||
|
## v1.4.1 - 2024-02-08
|
||||||
|
### Fixed
|
||||||
|
* upgrade node version while compiling
|
||||||
|
|
||||||
|
## v1.4.0 - 2024-02-08
|
||||||
|
### Release
|
||||||
|
* Upgrade nodes dependencies
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.14.1 to 2.16.0
|
||||||
|
|
||||||
|
## v1.3.0 - 2023-11-30
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.14.0 to 2.14.1
|
||||||
|
|
||||||
|
## v1.2.0 - 2023-11-24
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.13.0 to 2.14.0
|
||||||
|
|
||||||
|
## v1.1.0 - 2023-11-22
|
||||||
|
### Release
|
||||||
|
* Update dependencies. Chill-bundles upgraded from 2.12.1 to 2.13.0
|
||||||
|
|
||||||
|
## v1.0.0 - 2023-11-19
|
||||||
|
### Feature
|
||||||
|
* Integrate changie and automate release management
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-redis": "*",
|
"ext-redis": "*",
|
||||||
"chill-project/chill-bundles": "2.10.0",
|
"chill-project/chill-bundles": "2.16.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",
|
||||||
|
1299
composer.lock
generated
1299
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -36,4 +36,5 @@ return [
|
|||||||
App\App::class => ['all' => true],
|
App\App::class => ['all' => true],
|
||||||
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
||||||
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
||||||
|
Chill\EventBundle\ChillEventBundle::class => ['all' => true],
|
||||||
];
|
];
|
||||||
|
@@ -7,7 +7,7 @@ doctrine_migrations:
|
|||||||
'Chill\Migrations\Activity': '@ChillActivityBundle/migrations'
|
'Chill\Migrations\Activity': '@ChillActivityBundle/migrations'
|
||||||
'Chill\Migrations\DocStore': '@ChillDocStoreBundle/migrations'
|
'Chill\Migrations\DocStore': '@ChillDocStoreBundle/migrations'
|
||||||
'Chill\Migrations\CustomFields': '@ChillCustomFieldsBundle/migrations'
|
'Chill\Migrations\CustomFields': '@ChillCustomFieldsBundle/migrations'
|
||||||
# 'Chill\Migrations\Event': '@ChillEventBundle/migrations'
|
'Chill\Migrations\Event': '@ChillEventBundle/migrations'
|
||||||
'Chill\Migrations\Person': '@ChillPersonBundle/migrations'
|
'Chill\Migrations\Person': '@ChillPersonBundle/migrations'
|
||||||
'Chill\Migrations\Task': '@ChillTaskBundle/migrations'
|
'Chill\Migrations\Task': '@ChillTaskBundle/migrations'
|
||||||
'Chill\Migrations\ThirdParty': '@ChillThirdPartyBundle/migrations'
|
'Chill\Migrations\ThirdParty': '@ChillThirdPartyBundle/migrations'
|
||||||
|
@@ -18,4 +18,4 @@ docker run \
|
|||||||
--volume ${PWD}:/app \
|
--volume ${PWD}:/app \
|
||||||
--workdir /app \
|
--workdir /app \
|
||||||
--env YARN_CACHE_FOLDER=/app/.yarncache \
|
--env YARN_CACHE_FOLDER=/app/.yarncache \
|
||||||
node:16 ${cmd}
|
node:20 ${cmd}
|
||||||
|
@@ -3,6 +3,9 @@
|
|||||||
"vendor/chill-project/chill-bundles"
|
"vendor/chill-project/chill-bundles"
|
||||||
],
|
],
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"devDependencies": {
|
||||||
|
"bootstrap": "5.2.3"
|
||||||
|
},
|
||||||
"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",
|
||||||
|
Reference in New Issue
Block a user