Skip to content

Commit

Permalink
implementing FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED for FE usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchuhmacher committed Dec 13, 2024
1 parent 7b305ce commit 594e25e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/server/src/modules/server/api/dto/config.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ export class ConfigResponse {
@ApiProperty()
FEATURE_COLUMN_BOARD_SOCKET_ENABLED: boolean;

@ApiProperty()
FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED: boolean;

@ApiProperty()
FEATURE_COURSE_SHARE: boolean;

Expand Down Expand Up @@ -249,6 +252,7 @@ export class ConfigResponse {
this.FEATURE_COLUMN_BOARD_EXTERNAL_TOOLS_ENABLED = config.FEATURE_COLUMN_BOARD_EXTERNAL_TOOLS_ENABLED;
this.FEATURE_COLUMN_BOARD_SHARE = config.FEATURE_COLUMN_BOARD_SHARE;
this.FEATURE_COLUMN_BOARD_SOCKET_ENABLED = config.FEATURE_COLUMN_BOARD_SOCKET_ENABLED;
this.FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED = config.FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED;
this.FEATURE_COURSE_SHARE = config.FEATURE_COURSE_SHARE;
this.FEATURE_LOGIN_LINK_ENABLED = config.FEATURE_LOGIN_LINK_ENABLED;
this.FEATURE_LESSON_SHARE = config.FEATURE_LESSON_SHARE;
Expand Down
1 change: 1 addition & 0 deletions apps/server/src/modules/server/api/test/server.api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('Server Controller (API)', () => {
'FEATURE_COLUMN_BOARD_COLLABORATIVE_TEXT_EDITOR_ENABLED',
'FEATURE_COLUMN_BOARD_SHARE',
'FEATURE_COLUMN_BOARD_SOCKET_ENABLED',
'FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED',
'FEATURE_BOARD_LAYOUT_ENABLED',
'FEATURE_CONSENT_NECESSARY',
'FEATURE_COPY_SERVICE_ENABLED',
Expand Down
4 changes: 4 additions & 0 deletions apps/server/src/modules/server/server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export interface ServerConfig
FEATURE_COLUMN_BOARD_COLLABORATIVE_TEXT_EDITOR_ENABLED: boolean;
FEATURE_COLUMN_BOARD_SHARE: boolean;
FEATURE_COLUMN_BOARD_SOCKET_ENABLED: boolean;
FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED: boolean;
FEATURE_BOARD_LAYOUT_ENABLED: boolean;
FEATURE_CONSENT_NECESSARY: boolean;
FEATURE_ALLOW_INSECURE_LDAP_URL_ENABLED: boolean;
Expand Down Expand Up @@ -151,6 +152,9 @@ const config: ServerConfig = {
) as boolean,
FEATURE_COLUMN_BOARD_SHARE: Configuration.get('FEATURE_COLUMN_BOARD_SHARE') as boolean,
FEATURE_COLUMN_BOARD_SOCKET_ENABLED: Configuration.get('FEATURE_COLUMN_BOARD_SOCKET_ENABLED') as boolean,
FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED: Configuration.get(
'FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED'
) as boolean,
FEATURE_COURSE_SHARE: Configuration.get('FEATURE_COURSE_SHARE') as boolean,
FEATURE_LESSON_SHARE: Configuration.get('FEATURE_LESSON_SHARE') as boolean,
FEATURE_TASK_SHARE: Configuration.get('FEATURE_TASK_SHARE') as boolean,
Expand Down
5 changes: 5 additions & 0 deletions config/default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,11 @@
"default": false,
"description": "Enable link elements in column board."
},
"FEATURE_COLUMN_BOARD_VIDEOCONFERENCE_ENABLED": {
"type": "boolean",
"default": false,
"description": "Enable video conference elements in column board."
},
"COLUMN_BOARD_HELP_LINK": {
"type": "string",
"default": "https://docs.dbildungscloud.de/pages/viewpage.action?pageId=270827606",
Expand Down

0 comments on commit 594e25e

Please sign in to comment.