Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #963 and introduces a new maintenance mode feature with backend and frontend integration, along with a series of improvements for configuration handling and system behavior during different maintenance states.
Key Features
Database Migration
oc_config
table (via migration no. 113).Admin Server Settings
off
orauto
: disabled or automatically sync with OC (WIP).on
: No interaction with Opencast allowed. The frontend hides all videos and functionalities.read-only
: Only playback via the presentation node is allowed; videos are visible but not editable.fallback presentation node URL
: Optional; if not set, it is derived from the search endpoint.maintenance message
: Optional message shown to users in the frontend.API Behavior
503
error when needed.read-only
mode, onlysearch
andplay
endpoints are permitted.Frontend Enhancements
App.vue
and reused across components.useSimpleConfigChecker
for periodic updates and page reloads on critical config changes.Cronjob Handling
LTI Behavior
on
: LTI access is fully disabled.read-only
: LTI access is allowed only via the presentation node....
[WIP] Next Steps