Compare commits
	
		
			22 Commits
		
	
	
		
			add-dav-fe
			...
			issue-bund
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| b567c05e92 | |||
| 6fe97f3659 | |||
|  | d9980a7e18 | ||
| 59852c709d | |||
| 1c544d392a | |||
|  | dcfd7e4924 | ||
| deb47dd3aa | |||
| ac909e8107 | |||
|  | 414b4e11ca | ||
| 86e27595f5 | |||
| cb3ac56084 | |||
| 4ef93ef722 | |||
| 7e3d741ea0 | |||
| bd011775a6 | |||
| f06b8dcd1e | |||
| 7f85d66337 | |||
| cc716beaec | |||
| ac61038625 | |||
| 9827832753 | |||
| 0706901415 | |||
| c4d3c784d3 | |||
| ce136ba0f3 | 
							
								
								
									
										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 | ||||
							
								
								
									
										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_ | ||||
							
								
								
									
										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 | ||||
							
								
								
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,12 +1,23 @@ | ||||
| # 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/), | ||||
| 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.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 | ||||
|   | ||||
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @@ -2,12 +2,12 @@ THIS_FILE := $(lastword $(MAKEFILE_LIST)) | ||||
| PWD:=$(shell echo ${PWD}) | ||||
| UID:=$(shell id -u) | ||||
| GID:=$(shell id -g) | ||||
| BASE_TAG=chill_base_php82 | ||||
| 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_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:8.2-fpm-alpine | ||||
| PHP_BASE_IMAGE_CHILL=chill_php82 | ||||
| PHP_BASE_IMAGE_TARGET=chill_base_php82 | ||||
| PHP_BASE_IMAGE_TAG=chill_php82 | ||||
| NGINX_BASE_IMAGE=nginx | ||||
| CALVER=$(shell date "+v%Y%m%d%H%M")-${CALVERSION} | ||||
| ifneq (,$(wildcard ./.env)) | ||||
| @@ -39,7 +39,7 @@ build-assets: | ||||
| 	$(DOCKERNODE_CMD) yarn run encore production | ||||
|  | ||||
| init: | ||||
| 	docker build --target $(PHP_BASE_IMAGE_CHILL) -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 | ||||
| 	@$(MAKE) -f $(THIS_FILE) build-assets | ||||
| 	@$(MAKE) -f $(THIS_FILE) post-install | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
|     }, | ||||
|     "require": { | ||||
|         "ext-redis": "*", | ||||
|         "chill-project/chill-bundles": "dev-master#00e62442ccd3695f3a418d192977672166f85427", | ||||
|         "chill-project/chill-bundles": "2.14.1", | ||||
|         "symfony/flex": "^1.9", | ||||
|         "symfony/http-client": "^4.4 || ^5", | ||||
|         "nelmio/alice": "^3.8", | ||||
| @@ -53,7 +53,8 @@ | ||||
|         "bin-dir": "bin", | ||||
|         "allow-plugins": { | ||||
|             "ocramius/package-versions": true, | ||||
|             "symfony/flex": true | ||||
|             "symfony/flex": true, | ||||
|             "symfony/runtime": true | ||||
|         }, | ||||
|         "preferred-install": { | ||||
|           "chill-project/chill-bundles": "source", | ||||
|   | ||||
							
								
								
									
										1889
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1889
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -33,6 +33,3 @@ framework: | ||||
|     ## sf4 check: ou à déplacer dans un chill.yaml | ||||
|     assets: | ||||
|         json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' | ||||
|  | ||||
|     templating: | ||||
|         engines: ['twig'] | ||||
|   | ||||
| @@ -29,14 +29,6 @@ security: | ||||
|             pattern: ^/(_(profiler|wdt)|css|images|js)/ | ||||
|             security: false | ||||
|  | ||||
|         dav: | ||||
|             pattern: ^/dav | ||||
|             provider: chain_provider | ||||
|             stateless: true | ||||
|             guard: | ||||
|                 authenticators: | ||||
|                     - Chill\DocStoreBundle\Security\Guard\JWTOnDavUrlAuthenticator | ||||
|  | ||||
|         wopi: | ||||
|             pattern: ^/wopi | ||||
|             provider: chain_provider | ||||
|   | ||||
| @@ -739,9 +739,6 @@ | ||||
|     "symfony/string": { | ||||
|         "version": "v5.1.3" | ||||
|     }, | ||||
|     "symfony/templating": { | ||||
|         "version": "v4.4.11" | ||||
|     }, | ||||
|     "symfony/translation": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|   | ||||
| @@ -86,9 +86,6 @@ Activity reasons for those activities: Sujets de ces échanges | ||||
| Filter by activity type: Filtrer par type d'échange | ||||
| Activity type: Type d'échange | ||||
| Activity user: Utilisateur lié à l'activity | ||||
| Aggregate by activity user: Aggréger par utilisateur lié à l'échange | ||||
| Aggregate by activity type: Aggréger par type d'échange | ||||
| Aggregate by activity reason: Aggréger par sujet de l'échange | ||||
| There isn't any activities.: Aucun échange enregistré. | ||||
| Last activities: Les derniers échanges | ||||
| Activities: Échanges | ||||
|   | ||||
		Reference in New Issue
	
	Block a user