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

Add more admin-UI Tobira endpoints #6091

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

owi92
Copy link
Contributor

@owi92 owi92 commented Aug 12, 2024

This adds

  • a) an endpoint to get paths of pages in Tobira that host an event
  • b) an endpoint to update the path of a series in Tobira

This shouldn't break any existing behaviour.

These are needed for additional requirements of opencast/opencast-admin-interface#311.
Corresponding Tobira and admin-UI PRs: elan-ev/tobira#1225, opencast/opencast-admin-interface#878.

Your pull request should…

This is needed to show links for pages in Tobira that
contain a given event.
@owi92
Copy link
Contributor Author

owi92 commented Aug 13, 2024

Converted to draft bc we might still need to change some things on the Tobira side, which will then trickle down to this and the admin-UI PR.

Edit: these are hopefully fixed, so this is ready for review again.

@owi92 owi92 force-pushed the add-tobira-event-api branch from 79b56ce to ab72aa3 Compare August 13, 2024 17:28
@owi92 owi92 marked this pull request as ready for review August 13, 2024 17:29
@owi92 owi92 marked this pull request as draft September 17, 2024 10:01
@owi92 owi92 force-pushed the add-tobira-event-api branch from ab72aa3 to 357b1e2 Compare October 8, 2024 10:54
LukasKalbertodt added a commit to elan-ev/tobira that referenced this pull request Oct 8, 2024
)

This is necessary for an upcoming admin UI feature which will allow
admins to change the path of series pages with no other blocks (part of
opencast/opencast-admin-interface#311).

This shouldn't break any existing behaviour.
Related Opencast and admin UI PRs:
opencast/opencast#6091,
opencast/opencast-admin-interface#878.
@owi92 owi92 marked this pull request as ready for review October 21, 2024 13:32
This adds a `post` method to update series page paths in Tobira,
and also expands some data returned by the `getHostPages` method.
@owi92 owi92 force-pushed the add-tobira-event-api branch from 357b1e2 to 7468544 Compare October 28, 2024 14:07
@KatrinIhler
Copy link
Member

FYI: Branch cut for OC 17 is on November 6!

@Arnei Arnei dismissed their stale review October 29, 2024 09:59

Out of date

@Arnei Arnei dismissed their stale review October 29, 2024 10:16

"title" refers to the page title, not the event title. Thus, the returned value is technically correct, if not very useful.

Copy link
Member

@Arnei Arnei left a comment

Choose a reason for hiding this comment

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

After receiving instructions on how to properly test this with Tobira, I can confirm that the endpoints added by this PR do what they are supposed to do.

Code looks reasonable too, from what I understand of it.

@KatrinIhler
Copy link
Member

Well, in that case... 🪄

@KatrinIhler KatrinIhler merged commit 70e291a into opencast:develop Oct 29, 2024
3 checks passed
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