File tree Expand file tree Collapse file tree 8 files changed +48
-22
lines changed Expand file tree Collapse file tree 8 files changed +48
-22
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "default" : true ,
3
+ "MD013" : {
4
+ "line_length" : 120 ,
5
+ "code_blocks" : false ,
6
+ "tables" : false
7
+ },
8
+ "no-duplicate-heading" : {
9
+ "siblings_only" : true
10
+ }
11
+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## [ Unreleased]
6
6
7
+ - [ #165 ] ( https://github.com/os2display/display-api-service/pull/165 )
8
+ Symfony 6.3
7
9
- [ #161 ] ( https://github.com/os2display/display-api-service/pull/161 )
8
10
Fixed non-entity related psalm errors.
9
11
@@ -17,10 +19,12 @@ All notable changes to this project will be documented in this file.
17
19
Added thumbnails for image resources
18
20
19
21
## [ 1.3.2] - 2023-07-11
22
+
20
23
- [ #157 ] ( https://github.com/os2display/display-api-service/pull/157 )
21
24
Fix question input on create user command
22
25
23
26
## [ 1.3.1] - 2023-07-11
27
+
24
28
- [ #156 ] ( https://github.com/os2display/display-api-service/pull/156 )
25
29
Fix permissions in create release github action
26
30
@@ -69,10 +73,9 @@ Gif mime type possible.
69
73
- [ #138 ] ( https://github.com/os2display/display-api-service/pull/138 )
70
74
Fixed Tenant and command to allow for empty fallbackImageUrl.
71
75
- [ #139 ] ( https://github.com/os2display/display-api-service/pull/139 )
72
- Changed from service decoration to event listeners to re-enable setting ` tenants ` on the response from ` /v1/authentication/token ` .
73
- Ensure same response data from both ` /v1/authentication/token ` and ` /v1/authentication/token/refresh ` endpoints.
76
+ Changed from service decoration to event listeners to re-enable setting ` tenants ` on the response from ` /v1/authentication/token ` .
77
+ Ensure same response data from both ` /v1/authentication/token ` and ` /v1/authentication/token/refresh ` endpoints.
74
78
Added ` user ` and ` tenants ` to JWT payload.
75
-
76
79
77
80
## [ 1.2.4] - 2023-03-07
78
81
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ A `docker-compose.yml` file with a PHP 8.0 image is included in this project.
27
27
To install the dependencies you can run
28
28
29
29
``` shell
30
- docker compose up -d
30
+ docker compose pull
31
+ docker compose up --detach
31
32
docker compose exec phpfpm composer install
32
33
33
34
# Run migrations
@@ -123,8 +124,8 @@ the coding standard for the project.
123
124
* Markdown files (markdownlint standard rules)
124
125
125
126
` ` ` shell
126
- docker run -v ${PWD} :/app itkdev/ yarn:latest install
127
- docker run -v ${PWD} :/app itkdev/ yarn:latest check- coding-standards
127
+ docker compose run --rm node yarn install
128
+ docker compose run --rm node yarn coding-standards-check
128
129
` ` `
129
130
130
131
# ## Apply Coding Standards
@@ -140,8 +141,8 @@ To attempt to automatically fix coding style issues
140
141
* Markdown files (markdownlint standard rules)
141
142
142
143
` ` ` shell
143
- docker run -v ${PWD} :/app itkdev/ yarn:latest install
144
- docker run -v ${PWD} :/app itkdev/ yarn:latest apply- coding-standards
144
+ docker compose run --rm node yarn install
145
+ docker compose run --rm node yarn coding-standards-apply
145
146
` ` `
146
147
147
148
# # CI
Original file line number Diff line number Diff line change 1
- # itk-version: 3.0 .0
1
+ # itk-version: 3.1 .0
2
2
version : " 3"
3
3
4
4
networks :
@@ -32,7 +32,8 @@ services:
32
32
- PHP_XDEBUG_MODE=${PHP_XDEBUG_MODE:-off}
33
33
- PHP_MAX_EXECUTION_TIME=30
34
34
- PHP_MEMORY_LIMIT=256M
35
- # - PHP_MAIL=1 # Uncomment to enable mailhog.
35
+ # Depending on the setup you may have to remove --read-envelope-from from msmtp (cf. https://marlam.de/msmtp/msmtp.html) or use SMTP to send mail
36
+ - PHP_SENDMAIL_PATH=/usr/bin/msmtp --host=mail --port=1025 --read-recipients --read-envelope-from
36
37
- DOCKER_HOST_DOMAIN=${COMPOSE_DOMAIN}
37
38
- COMPOSER_VERSION=2
38
39
- PHP_IDE_CONFIG=serverName=localhost
@@ -61,8 +62,8 @@ services:
61
62
- " traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=redirect-to-https"
62
63
- " traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
63
64
64
- mailhog :
65
- image : itkdev/mailhog
65
+ mail :
66
+ image : axllent/mailpit
66
67
networks :
67
68
- app
68
69
- frontend
@@ -72,12 +73,20 @@ services:
72
73
labels :
73
74
- " traefik.enable=true"
74
75
- " traefik.docker.network=frontend"
75
- - " traefik.http.routers.${COMPOSE_PROJECT_NAME}Mailhog .rule=Host(`mailhog -${COMPOSE_DOMAIN}`)"
76
- - " traefik.http.services.${COMPOSE_PROJECT_NAME}Mailhog .loadbalancer.server.port=8025"
76
+ - " traefik.http.routers.${COMPOSE_PROJECT_NAME}mail .rule=Host(`mail -${COMPOSE_DOMAIN}`)"
77
+ - " traefik.http.services.${COMPOSE_PROJECT_NAME}mail .loadbalancer.server.port=8025"
77
78
78
79
redis :
79
80
image : ' redis:6'
80
81
networks :
81
82
- app
82
83
ports :
83
84
- ' 6379'
85
+
86
+ node :
87
+ image : node:20
88
+ working_dir : /app
89
+ volumes :
90
+ - .:/app
91
+ profiles :
92
+ - develop
Original file line number Diff line number Diff line change 1
1
# ITK-development image build
2
2
3
- This folder contains the infrastructure files for building the ` itkdev/* ` images
3
+ This folder contains the infrastructure files for building the ` itkdev/* ` images
Original file line number Diff line number Diff line change 1
1
# OS2display image build
2
2
3
- This folder contains the infrastructure files for building the ` os2display/* ` images
3
+ This folder contains the infrastructure files for building the ` os2display/* ` images
Original file line number Diff line number Diff line change 5
5
"markdownlint-cli" : " ^0.27.1"
6
6
},
7
7
"scripts" : {
8
- "check- coding-standards/markdownlint" : " markdownlint README.md docs/ **/*.md" ,
9
- "check- coding-standards" : " yarn check- coding-standards/markdownlint" ,
10
- "apply- coding-standards/markdownlint" : " markdownlint --fix README.md docs/ **/*.md" ,
11
- "apply- coding-standards" : " yarn apply- coding-standards/markdownlint"
8
+ "coding-standards-check /markdownlint" : " markdownlint --ignore vendor --ignore node_modules ' **/*.md' " ,
9
+ "coding-standards-check " : " yarn coding-standards-check /markdownlint" ,
10
+ "coding-standards-apply /markdownlint" : " markdownlint --ignore vendor --ignore node_modules ' **/*.md' --fix " ,
11
+ "coding-standards-apply " : " yarn coding-standards-apply /markdownlint"
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
- CI server and test keys. Do not use in production.
1
+ # CI server and test keys
2
2
3
- @see https://github.com/lexik/LexikJWTAuthenticationBundle/blob/2.x/Resources/doc/3-functional-testing.md
3
+ Do not use in production.
4
+
5
+ @see < https://github.com/lexik/LexikJWTAuthenticationBundle/blob/2.x/Resources/doc/3-functional-testing.md >
You can’t perform that action at this time.
0 commit comments