Skip to content
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

BC-8404 - Move tldraw config to issolate it from server config #42

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

SevenWaysDP
Copy link
Contributor

@SevenWaysDP SevenWaysDP commented Nov 28, 2024

Description

Links to Tickets or other pull requests

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Screenshots of UI changes

Approval for review

  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

TLDRAW__ASSETS_ALLOWED_MIME_TYPES_LIST: "image/png,image/jpeg,image/gif,image/svg+xml"
FEATURE_TLDRAW_ENABLED: "true"
NEST_LOG_LEVEL: "info"
EXIT_ON_ERROR: "true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more exit on error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is default true in code

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After all i personally think it's a very bad Idea to exit on error.
Specaly on a multi user and board POD.
Why i think so is that if for one user an error happened all other users with other boards are even face the consequences of the restart.

@SevenWaysDP SevenWaysDP requested a review from mamutmk5 November 28, 2024 15:32
@@ -3,28 +3,28 @@ import { IsArray, IsBoolean, IsNumber, IsString, IsUrl } from 'class-validator';

export class ServerConfig {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Können wir ServerConfig umbenennen? Als ich das im Code gelesen habe, haben bei mir gleich alle Alarmglocken geläutet, weil ich dachte, wir nutzen hier die ServerConfig vom schulcloud-server.
Mein Vorschlag wäre TldrawServerConfig?
Wenn nicht, ist auch okay! Muss ich nur meinen inneren Monk versuchen das beizubringen.

@SevenWaysDP SevenWaysDP requested a review from bergatco November 29, 2024 07:57
@SevenWaysDP SevenWaysDP merged commit 3f70a32 into main Dec 2, 2024
63 checks passed
@SevenWaysDP SevenWaysDP deleted the BC-8404 branch December 2, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants