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

Allow (manually) populating video URLs mid-event #1305

Merged
merged 6 commits into from
Jan 14, 2024

Conversation

lukegb
Copy link
Contributor

@lukegb lukegb commented Jan 13, 2024

At the moment this is only accessible to CfP admins; maybe we should add a separate role/form for people who are allowed to attach uploaded videos to (accepted) proposals?

This also makes the talk URL visible in the frab XML (which will hopefully mean that media.ccc.de will link back to the talk's page) and updates a few bits to bring things into sync with c3voc's latest copy of the schema.

@marksteward
Copy link
Member

Amazing, updating the frab schema is a bunch of fiddly stuff I was dreading having to do!

I think we can probably manage without a separate role, but we'll probably add a bunch more granular permissions at some point.

@marksteward marksteward marked this pull request as ready for review January 13, 2024 18:54
@marksteward marksteward marked this pull request as draft January 13, 2024 18:54
@russss
Copy link
Member

russss commented Jan 13, 2024

For the record, this fixes part of #831

Imported at https://github.com/voc/schedule/blob/89a4a34c78f2df8111e65164c9acce110313fe6d/validator/xsd/schedule.xml.xsd

Incidental changes:

* day start is now required, so populate it
* Tests need to use timezone aware datetimes or we produce XML timestamps with no UTC offset, which is invalid
* Change the tests to use assert_, so that errors are reported by pytest rather than just reporting "False"
This should(?) maybe(?) make media.ccc.de point back to the event page on the
Fahrplan link for each video.
@lukegb lukegb marked this pull request as ready for review January 14, 2024 18:10
@lukegb
Copy link
Contributor Author

lukegb commented Jan 14, 2024

I think this is actually ready for review; I think it remains to be seen how we'll actually end up pushing video URLs but this at least allows someone to yank/correct them manually if things go wrong.

@russss russss merged commit 043a837 into emfcamp:main Jan 14, 2024
3 checks passed
@lukegb lukegb deleted the video-shenanigans branch January 14, 2024 18:29
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