Skip to content

Commit 8ebcb94

Browse files
committed
✏️(project) fix typo
Fix and improve typos in the codebase.
1 parent cfd88d0 commit 8ebcb94

File tree

15 files changed

+18
-18
lines changed

15 files changed

+18
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ This command builds the `app` container, installs dependencies, performs databas
9797

9898
Your Docker services should now be up and running 🎉
9999

100-
You can access to the project by going to <http://localhost:3000>.
100+
You can access the project by going to <http://localhost:3000>.
101101

102102
You will be prompted to log in. The default credentials are:
103103

@@ -106,7 +106,7 @@ username: impress
106106
password: impress
107107
```
108108

109-
📝 Note that if you need to run them afterwards, you can use the eponym Make rule:
109+
📝 Note that if you need to run them afterwards, you can use the eponymous Make rule:
110110

111111
```shellscript
112112
$ make run

UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ the following command inside your docker container:
1818

1919
## [3.3.0] - 2025-05-22
2020

21-
⚠️ For some advanced features (ex: Export as PDF) Docs relies on XL packages from BlockNote. These are licenced under AGPL-3.0 and are not MIT compatible. You can perfectly use Docs without these packages by setting the environment variable `PUBLISH_AS_MIT` to true. That way you'll build an image of the application without the features that are not MIT compatible. Read the [environment variables documentation](/docs/docs/env.md) for more information.
21+
⚠️ For some advanced features (ex: Export as PDF) Docs relies on XL packages from BlockNote. These are licenced under AGPL-3.0 and are not MIT compatible. You can perfectly use Docs without these packages by setting the environment variable `PUBLISH_AS_MIT` to true. That way you'll build an image of the application without the features that are not MIT compatible. Read the [environment variables documentation](/docs/env.md) for more information.
2222

2323
The footer is now configurable from a customization file. To override the default one, you can
2424
use the `THEME_CUSTOMIZATION_FILE_PATH` environment variable to point to your customization file.

src/backend/core/api/viewsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class DocumentViewSet(
404404
405405
Example:
406406
- Ascending: GET /api/v1.0/documents/?ordering=created_at
407-
- Desceding: GET /api/v1.0/documents/?ordering=-title
407+
- Descending: GET /api/v1.0/documents/?ordering=-title
408408
409409
### Filtering:
410410
- `is_creator_me=true`: Returns documents created by the current user.

src/backend/core/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def get_links_definitions(self, ancestors_links):
747747
for ancestor in ancestors_links:
748748
links_definitions[ancestor["link_reach"]].add(ancestor["link_role"])
749749

750-
return dict(links_definitions) # Convert defaultdict back to a normal dict
750+
return dict(links_definitions) # Convert default dict back to a normal dict
751751

752752
def compute_ancestors_links(self, user):
753753
"""

src/frontend/apps/e2e/__tests__/app-impress/config.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ test.describe('Config', () => {
121121
});
122122
});
123123

124-
test.describe('Config: Not loggued', () => {
124+
test.describe('Config: Not logged', () => {
125125
test.use({ storageState: { cookies: [], origins: [] } });
126126

127127
test('it checks the config api is called', async ({ page }) => {

src/frontend/apps/e2e/__tests__/app-impress/doc-create.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test.describe('Doc Create', () => {
3131
});
3232
});
3333

34-
test.describe('Doc Create: Not loggued', () => {
34+
test.describe('Doc Create: Not logged', () => {
3535
test.use({ storageState: { cookies: [], origins: [] } });
3636

3737
test('it creates a doc server way', async ({

src/frontend/apps/e2e/__tests__/app-impress/doc-editor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ test.describe('Doc Editor', () => {
9595

9696
const selectVisibility = page.getByLabel('Visibility', { exact: true });
9797

98-
// When the visibility is changed, the ws should closed the connection (backend signal)
98+
// When the visibility is changed, the ws should close the connection (backend signal)
9999
const wsClosePromise = webSocket.waitForEvent('close');
100100

101101
await selectVisibility.click();

src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ test.describe('Doc Export', () => {
270270
});
271271

272272
/**
273-
* We cannot assert the line break is visible in the pdf but we can assert the
273+
* We cannot assert the line break is visible in the pdf, but we can assert the
274274
* line break is visible in the editor and that the pdf is generated.
275275
*/
276276
test('it exports the doc with divider', async ({ page, browserName }) => {

src/frontend/apps/e2e/__tests__/app-impress/doc-routing.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test.describe('Doc Routing', () => {
9696
});
9797
});
9898

99-
test.describe('Doc Routing: Not loggued', () => {
99+
test.describe('Doc Routing: Not logged', () => {
100100
test.use({ storageState: { cookies: [], origins: [] } });
101101

102102
test('checks redirect to a doc after login', async ({

src/frontend/apps/e2e/__tests__/app-impress/doc-visibility.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ test.describe('Doc Visibility: Public', () => {
295295
).toBeVisible();
296296

297297
await page.getByLabel('Visibility mode').click();
298-
await page.getByLabel('Edition').click();
298+
await page.getByLabel('Editing').click();
299299

300300
await expect(
301301
page.getByText('The document visibility has been updated.').first(),
@@ -333,7 +333,7 @@ test.describe('Doc Visibility: Public', () => {
333333
test.describe('Doc Visibility: Authenticated', () => {
334334
test.use({ storageState: { cookies: [], origins: [] } });
335335

336-
test('A doc is not accessible when unauthentified.', async ({
336+
test('A doc is not accessible when unauthenticated.', async ({
337337
page,
338338
browserName,
339339
}) => {
@@ -476,7 +476,7 @@ test.describe('Doc Visibility: Authenticated', () => {
476476

477477
const urlDoc = page.url();
478478
await page.getByLabel('Visibility mode').click();
479-
await page.getByLabel('Edition').click();
479+
await page.getByLabel('Editing').click();
480480

481481
await expect(
482482
page.getByText('The document visibility has been updated.').first(),

0 commit comments

Comments
 (0)