Skip to content

✏️(project) fix typo #1011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This command builds the `app` container, installs dependencies, performs databas

Your Docker services should now be up and running 🎉

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

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

Expand All @@ -106,7 +106,7 @@ username: impress
password: impress
```

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

```shellscript
$ make run
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ the following command inside your docker container:

## [3.3.0] - 2025-05-22

⚠️ 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.
⚠️ 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.

The footer is now configurable from a customization file. To override the default one, you can
use the `THEME_CUSTOMIZATION_FILE_PATH` environment variable to point to your customization file.
Expand Down
2 changes: 1 addition & 1 deletion src/backend/core/api/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class DocumentViewSet(

Example:
- Ascending: GET /api/v1.0/documents/?ordering=created_at
- Desceding: GET /api/v1.0/documents/?ordering=-title
- Descending: GET /api/v1.0/documents/?ordering=-title

### Filtering:
- `is_creator_me=true`: Returns documents created by the current user.
Expand Down
2 changes: 1 addition & 1 deletion src/backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def get_links_definitions(self, ancestors_links):
for ancestor in ancestors_links:
links_definitions[ancestor["link_reach"]].add(ancestor["link_role"])

return dict(links_definitions) # Convert defaultdict back to a normal dict
return dict(links_definitions) # Convert default dict back to a normal dict

def compute_ancestors_links(self, user):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/apps/e2e/__tests__/app-impress/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ test.describe('Config', () => {
});
});

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

test('it checks the config api is called', async ({ page }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test.describe('Doc Create', () => {
});
});

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

test('it creates a doc server way', async ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ test.describe('Doc Editor', () => {

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

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

await selectVisibility.click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ test.describe('Doc Export', () => {
});

/**
* We cannot assert the line break is visible in the pdf but we can assert the
* We cannot assert the line break is visible in the pdf, but we can assert the
* line break is visible in the editor and that the pdf is generated.
*/
test('it exports the doc with divider', async ({ page, browserName }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test.describe('Doc Routing', () => {
});
});

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

test('checks redirect to a doc after login', async ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ test.describe('Doc Visibility: Public', () => {
).toBeVisible();

await page.getByLabel('Visibility mode').click();
await page.getByLabel('Edition').click();
await page.getByLabel('Editing').click();

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

test('A doc is not accessible when unauthentified.', async ({
test('A doc is not accessible when unauthenticated.', async ({
page,
browserName,
}) => {
Expand Down Expand Up @@ -476,7 +476,7 @@ test.describe('Doc Visibility: Authenticated', () => {

const urlDoc = page.url();
await page.getByLabel('Visibility mode').click();
await page.getByLabel('Edition').click();
await page.getByLabel('Editing').click();

await expect(
page.getByText('The document visibility has been updated.').first(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('fetchAPI', () => {
});
});

it('check the versionning', () => {
it('check the versioning', () => {
fetchMock.mock('http://test.jest/api/v2.0/some/url', 200);

void fetchAPI('some/url', {}, '2.0');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DocsExporterPDF } from '../types';
export const blockMappingParagraphPDF: DocsExporterPDF['mappings']['blockMapping']['paragraph'] =
(block, exporter) => {
/**
* Breakline in the editor are not rendered in the PDF
* Break line in the editor are not rendered in the PDF
* By adding a space if the block is empty we ensure that the block is rendered
*/
if (Array.isArray(block.content)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const useTranslatedShareSettings = () => {

const linkModeTranslations = {
[LinkRole.READER]: t('Reading'),
[LinkRole.EDITOR]: t('Edition'),
[LinkRole.EDITOR]: t('Editing'),
};

const linkReachChoices = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const useLanguageSynchronizer = () => {
(userPreferredLanguages.length ? 'toFrontend' : 'toBackend');

if (direction === 'toBackend') {
// Update user's preference from frontends's language
// Update user's preference from frontend's language
const closestBackendLanguage =
getMatchingLocales(
availableBackendLanguages,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class ApiPlugin implements WorkboxPlugin {
};

/**
* When we get an network error.
* When we get a network error.
*/
handlerDidError: WorkboxPlugin['handlerDidError'] = async ({ request }) => {
if (!this.isFetchDidFailed) {
Expand Down
Loading