Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cerpus/Edlib into unit-tests-and-…
Browse files Browse the repository at this point in the history
…minor-fixes-202310
  • Loading branch information
chrieinv committed Oct 16, 2023
2 parents 8badaf5 + 0bd2a53 commit a0a6647
Show file tree
Hide file tree
Showing 39 changed files with 3 additions and 650 deletions.
2 changes: 0 additions & 2 deletions chart/templates/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
{{- $_ := set $commonEnvConfig "EDLIBCOMMON_RABBITMQ_PASSWORD" .Global.Values.services.rabbitmq.password -}}
{{- $_ := set $commonEnvConfig "EDLIBCOMMON_RABBITMQ_SECURE" .Global.Values.services.rabbitmq.secure -}}

{{- $_ := set $commonEnvConfig "EDLIBCOMMON_EMBEDLY_KEY" .Global.Values.services.embedly.key -}}

{{- $_ := set $commonEnvConfig "EDLIBCOMMON_CONTENTAUTHOR_URL" .Global.Values.contentauthor.url -}}
{{- $_ := set $commonEnvConfig "EDLIBCOMMON_CONTENTAUTHOR_CONSUMER_KEY" .Global.Values.contentauthor.h5pConsumerKey -}}
{{- $_ := set $commonEnvConfig "EDLIBCOMMON_CONTENTAUTHOR_CONSUMER_SECRET" .Global.Values.contentauthor.h5pConsumerSecret -}}
Expand Down
2 changes: 0 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ services:
user: "rabbitmq"
password: "rabbitmq"
secure: "true"
embedly:
key: "key"
2 changes: 0 additions & 2 deletions localSetup/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ EDLIBCOMMON_DB_CHARSET=utf8mb4

EDLIBCOMMON_RABBITMQ_HOST=rabbitmq

EDLIB_COMMON_EMBEDLY_KEY=

EDLIBCOMMON_LOCAL_DEVELOPMENT=true
EDLIBCOMMON_FEATURE_AUTO_UPDATE_LTI_USAGE=false
EDLIBCOMMON_DISPLAY_DETAILED_ERRORS=true
Expand Down
2 changes: 0 additions & 2 deletions localSetup/projects/content-author/.env
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ QUESTIONBANK_SERVICE_URL=http://questionbankservice:8104
IMAGESERVICE_URL=https://imagestorageservice-test.edlibservices.cerpus.net
IMAGESERVICE_SYSTEM_NAME=DevEnvContainer

EMBEDLY_KEY=

REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Http\Libraries\ContentTypes\ArticleContentType;
use App\Http\Libraries\ContentTypes\ContentType;
use App\Http\Libraries\ContentTypes\ContentTypeInterface;
use App\Http\Libraries\ContentTypes\EmbedContentType;
use App\Http\Libraries\ContentTypes\InteractivityContentType;
use App\Http\Libraries\ContentTypes\LinkContentType;
use App\Http\Libraries\ContentTypes\H5PContentType;
Expand Down Expand Up @@ -83,10 +82,6 @@ private function getActiveContentTypes()
InteractivityContentType::class,
QuestionsContentType::class,
]);

if (config('feature.use-add-link-resource') === true) {
$activeContentTypes->push(EmbedContentType::class);
}
break;
case "grid":
default:
Expand Down
110 changes: 0 additions & 110 deletions sourcecode/apis/contentauthor/app/Http/Controllers/EmbedController.php

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions sourcecode/apis/contentauthor/app/Http/Requests/EmbedRequest.php

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions sourcecode/apis/contentauthor/config/embedly.php

This file was deleted.

1 change: 0 additions & 1 deletion sourcecode/apis/contentauthor/config/feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'no-rabbitmq' => false,
'collaboration' => env('FEATURE_COLLABORATION', false),
'allow-mode-switch' => env('FEATURE_MODE_SWITCH', false),
'use-add-link-resource' => env('FEATURE_USE_ADD_LINK_RESOURCE', true),
'enableUserPublish' => env('FEATURE_ENABLE_USER_PUBLISH', env('FEATURE_ENABLE_DRAFT_LOGIC', true)),
"export_h5p_on_save" => env("FEATURE_EXPORT_H5P_ON_SAVE", false),
"export_h5p_with_local_files" => env("FEATURE_EXPORT_H5P_WITH_LOCAL_FILES", true),
Expand Down
10 changes: 0 additions & 10 deletions sourcecode/apis/contentauthor/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -300,16 +300,6 @@ parameters:
count: 1
path: app/Http/Controllers/ArticleCopyrightController.php

-
message: "#^Call to an undefined method App\\\\Http\\\\Controllers\\\\EmbedController\\:\\:doShow\\(\\)\\.$#"
count: 1
path: app/Http/Controllers/EmbedController.php

-
message: "#^Call to an undefined method App\\\\Http\\\\Controllers\\\\EmbedController\\:\\:edit\\(\\)\\.$#"
count: 1
path: app/Http/Controllers/EmbedController.php

-
message: "#^Call to an undefined method App\\\\Http\\\\Controllers\\\\GameController\\:\\:create\\(\\)\\.$#"
count: 1
Expand Down

This file was deleted.

Loading

0 comments on commit a0a6647

Please sign in to comment.