Skip to content

Conversation

@ferishili
Copy link
Contributor

@ferishili ferishili commented Aug 18, 2025

This PR fixes #1407,

  • REFACTORED: We now use /api/workflow-definitions endpoint in OpencastApi instead of /workflows for two reasons:

    1. As LMS and external application we have to use /api/*** as much as possible!
    2. the result from /workflow endpoint is much harder to work with that /api/workflow-definitions
  • Add a column to workflow table to store the config panel json in string

  • Admin can de- activate the feature in server specific settings.

  • In upload dialog, we now have a new section in which the config panel json are complied filtred and displayed.

  • User defined workflow configuration will now be sent over via Ingest to the Opencast!

[UPDATED] more changes as stated in: #1410 (comment) have been applied via this commit: a3c0338

@ferishili ferishili requested a review from tgloeggl August 18, 2025 14:22
@ferishili ferishili self-assigned this Aug 18, 2025
@tgloeggl tgloeggl added this to the 3.31 milestone Aug 19, 2025
@ferishili
Copy link
Contributor Author

UPDATE:
There will be more changes regarding further configuring every upload workflow config panel item in the admin settings of the plugin:

  • a section under the Standard Workflow will be provided, containing the list of configuration panel items of upload workflow selected and these will be reactive!
  • Each item will get a checkbox with the intetion of displaying or hidding it from the upload dialog.
  • Each item will have the I18N input field in order to get specific labeling for specific lanuage
    • The I18N input field has to be imported into SOCP, something like: resources/vue/components/I18nTextarea.vue

@ferishili ferishili changed the title Workflow configuration panel during upload [WIP] Workflow configuration panel during upload Aug 21, 2025
@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

- Introduced configuration panel options in the Workflow model and updated the Config model to handle these options.
- Added migration to include new columns for configuration panel JSON and options in the workflow table.
- Created UploadWorkflowConfigurationOptions component to manage configuration panel options in the Admin Settings.
- Enhanced VideoUpload component to filter and display configuration panel options based on admin settings.
- Updated I18NText component to support text input for configuration labels.
@ferishili ferishili requested a review from rlucke October 1, 2025 08:42
@ferishili ferishili changed the title [WIP] Workflow configuration panel during upload Workflow configuration panel during upload Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow workflow config options from OC workflows in Stud.IP

2 participants