Skip to content

Commit 95d3a8c

Browse files
committed
✏️(project) automatic typo correction
Fix typos in the project.
1 parent 4f126ab commit 95d3a8c

22 files changed

+39
-39
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ and this project adheres to
557557
- ⚡️(e2e) unique login between tests (#80)
558558
- ⚡️(CI) improve e2e job (#86)
559559
- ♻️(frontend) improve the error and message info ui (#93)
560-
- ✏️(frontend) change all occurences of pad to doc (#99)
560+
- ✏️(frontend) change all occurrences of pad to doc (#99)
561561

562562
## Fixed
563563

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Security is very important to us.
66

7-
If you have any issue regarding security, please disclose the information responsibly submiting [this form](https://vdp.numerique.gouv.fr/p/Send-a-report?lang=en) and not by creating an issue on the repository. You can also email us at [email protected]
7+
If you have any issue regarding security, please disclose the information responsibly submitting [this form](https://vdp.numerique.gouv.fr/p/Send-a-report?lang=en) and not by creating an issue on the repository. You can also email us at [email protected]
88

99
We appreciate your effort to make Docs more secure.
1010

docs/env.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These are the environmental variables you can set for the impress-backend contai
3939
| DJANGO_EMAIL_PORT | port used to connect to email host | |
4040
| DJANGO_EMAIL_USE_TLS | use tls for email host connection | false |
4141
| DJANGO_EMAIL_USE_SSL | use sstl for email host connection | false |
42-
| DJANGO_EMAIL_FROM | email adress used as sender | [email protected] |
42+
| DJANGO_EMAIL_FROM | email address used as sender | [email protected] |
4343
| DJANGO_CORS_ALLOW_ALL_ORIGINS | allow all CORS origins | true |
4444
| DJANGO_CORS_ALLOWED_ORIGINS | list of origins allowed for CORS | [] |
4545
| DJANGO_CORS_ALLOWED_ORIGIN_REGEXES | list of origins allowed for CORS using regulair expressions | [] |
@@ -59,11 +59,11 @@ These are the environmental variables you can set for the impress-backend contai
5959
| OIDC_RP_CLIENT_ID | client id used for OIDC | impress |
6060
| OIDC_RP_CLIENT_SECRET | client secret used for OIDC | |
6161
| OIDC_OP_JWKS_ENDPOINT | JWKS endpoint for OIDC | |
62-
| OIDC_OP_AUTHORIZATION_ENDPOINT | Autorization endpoint for OIDC | |
62+
| OIDC_OP_AUTHORIZATION_ENDPOINT | Authorization endpoint for OIDC | |
6363
| OIDC_OP_TOKEN_ENDPOINT | Token endpoint for OIDC | |
6464
| OIDC_OP_USER_ENDPOINT | User endpoint for OIDC | |
6565
| OIDC_OP_LOGOUT_ENDPOINT | Logout endpoint for OIDC | |
66-
| OIDC_AUTH_REQUEST_EXTRA_PARAMS | OIDC extra auth paramaters | {} |
66+
| OIDC_AUTH_REQUEST_EXTRA_PARAMS | OIDC extra auth parameters | {} |
6767
| OIDC_RP_SCOPES | scopes requested for OIDC | openid email |
6868
| LOGIN_REDIRECT_URL | login redirect url | |
6969
| LOGIN_REDIRECT_URL_FAILURE | login redirect url on failure | |
@@ -73,7 +73,7 @@ These are the environmental variables you can set for the impress-backend contai
7373
| OIDC_REDIRECT_ALLOWED_HOSTS | Allowed hosts for OIDC redirect url | [] |
7474
| OIDC_STORE_ID_TOKEN | Store OIDC token | true |
7575
| OIDC_FALLBACK_TO_EMAIL_FOR_IDENTIFICATION | faillback to email for identification | true |
76-
| OIDC_ALLOW_DUPLICATE_EMAILS | Allow dupplicate emails | false |
76+
| OIDC_ALLOW_DUPLICATE_EMAILS | Allow duplicate emails | false |
7777
| USER_OIDC_ESSENTIAL_CLAIMS | essential claims in OIDC token | [] |
7878
| OIDC_USERINFO_FULLNAME_FIELDS | OIDC token claims to create full name | ["first_name", "last_name"] |
7979
| OIDC_USERINFO_SHORTNAME_FIELD | OIDC token claims to create shortname | first_name |

docs/examples/impress.values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ backend:
8282
python manage.py createsuperuser --email [email protected] --password admin
8383
restartPolicy: Never
8484

85-
# Exra volume to manage our local custom CA and avoid to set ssl_verify: false
85+
# Extra volume to manage our local custom CA and avoid to set ssl_verify: false
8686
extraVolumeMounts:
8787
- name: certs
8888
mountPath: /usr/local/lib/python3.12/site-packages/certifi/cacert.pem
8989
subPath: cacert.pem
9090

91-
# Exra volume to manage our local custom CA and avoid to set ssl_verify: false
91+
# Extra volume to manage our local custom CA and avoid to set ssl_verify: false
9292
extraVolumes:
9393
- name: certs
9494
configMap:

docs/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ OIDC_RP_SCOPES: "openid email"
133133
134134
You can find these values in **examples/keycloak.values.yaml**
135135
136-
### Find redis server connexion values
136+
### Find redis server connection values
137137
138138
Docs needs a redis so we start by deploying one:
139139
@@ -146,7 +146,7 @@ keycloak-postgresql-0 1/1 Running 0 26m
146146
redis-master-0 1/1 Running 0 35s
147147
```
148148

149-
### Find postgresql connexion values
149+
### Find postgresql connection values
150150

151151
Docs uses a postgresql database as backend, so if you have a provider, obtain the necessary information to use it. If you don't, you can install a postgresql testing environment as follow:
152152

@@ -173,7 +173,7 @@ POSTGRES_USER: dinum
173173
POSTGRES_PASSWORD: pass
174174
```
175175
176-
### Find s3 bucket connexion values
176+
### Find s3 bucket connection values
177177
178178
Docs uses an s3 bucket to store documents, so if you have a provider obtain the necessary information to use it. If you don't, you can install a local minio testing environment as follow:
179179
@@ -191,7 +191,7 @@ redis-master-0 1/1 Running 0 10m
191191

192192
## Deployment
193193

194-
Now you are ready to deploy Docs without AI. AI requires more dependencies (OpenAI API). To deploy Docs you need to provide all previous informations to the helm chart.
194+
Now you are ready to deploy Docs without AI. AI requires more dependencies (OpenAI API). To deploy Docs you need to provide all previous information to the helm chart.
195195

196196
```
197197
$ helm repo add impress https://suitenumerique.github.io/docs/

src/backend/core/api/viewsets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def list(self, request, *args, **kwargs):
576576
queryset, filter_data["is_favorite"]
577577
)
578578

579-
# Apply ordering only now that everyting is filtered and annotated
579+
# Apply ordering only now that everything is filtered and annotated
580580
queryset = filters.OrderingFilter().filter_queryset(
581581
self.request, queryset, self
582582
)
@@ -889,7 +889,7 @@ def tree(self, request, pk, *args, **kwargs):
889889
)
890890

891891
# Compute cache for ancestors links to avoid many queries while computing
892-
# abilties for his documents in the tree!
892+
# abilities for his documents in the tree!
893893
ancestors_links.append(
894894
{"link_reach": ancestor.link_reach, "link_role": ancestor.link_role}
895895
)

src/backend/core/services/ai_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545

4646
AI_TRANSLATE = (
47-
"Keep the same html stucture and formatting. "
47+
"Keep the same html structure and formatting. "
4848
"Translate the content in the html to the specified language {language:s}. "
4949
"Check the translation for accuracy and make any necessary corrections. "
5050
"Do not provide any other information."

src/backend/core/services/collaboration_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self):
1717
def reset_connections(self, room, user_id=None):
1818
"""
1919
Reset connections of a room in the collaboration server.
20-
Reseting a connection means that the user will be disconnected and will
20+
Resetting a connection means that the user will be disconnected and will
2121
have to reconnect to the collaboration server, with updated rights.
2222
"""
2323
endpoint = "reset-connections"

src/backend/core/tests/documents/test_api_document_invitations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def test_api_document_invitations_create_cannot_invite_existing_users():
575575
document = factories.DocumentFactory(users=[(user, "owner")])
576576
existing_user = factories.UserFactory()
577577

578-
# Build an invitation to the email of an exising identity in the db
578+
# Build an invitation to the email of an existing identity in the db
579579
invitation_values = {
580580
"email": existing_user.email,
581581
"role": random.choice(models.RoleChoices.values),

src/backend/core/tests/documents/test_api_documents_ai_transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_api_documents_ai_transform_authenticated_forbidden(reach, role):
150150
@patch("openai.resources.chat.completions.Completions.create")
151151
def test_api_documents_ai_transform_authenticated_success(mock_create, reach, role):
152152
"""
153-
Autenticated who are not related to a document should be able to request AI transform
153+
Authenticated who are not related to a document should be able to request AI transform
154154
if the link reach and role permit it.
155155
"""
156156
user = factories.UserFactory()

0 commit comments

Comments
 (0)