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

Scheduling of live events #77

Open
smirolo opened this issue Nov 6, 2023 · 1 comment
Open

Scheduling of live events #77

smirolo opened this issue Nov 6, 2023 · 1 comment

Comments

@smirolo
Copy link
Contributor

smirolo commented Nov 6, 2023

A LiveEvent model can be attached to PageElement to indicates that the element in a sequence is a webinar instead of an online reading step.
The user will have to register for the Webinar at LiveEvent.location. Once the user will have attended the webinar, the webinar instructor will mark the EnumeratedProgress for the user as passed (i.e. setting viewing_duration to the duration of the webinar).

Side note: We will want to have repeating meetings as Calendars (ex: .ics) in the future so some integration with a CalDAV server will be required (ex: Radicale).

smirolo added a commit that referenced this issue Dec 5, 2023
[Work-in-Progress] Allow marking webinar attendance via API endpoint(#77)
@smirolo
Copy link
Contributor Author

smirolo commented Jan 22, 2024

The following features are still missing from pull request #84:

  • API endpoints to attach/create or cancel new live event

Bug to fix: The API endpoint to mark an user attendance picks the closest (in time) LiveEvent. The live event should be specified as part of the API call, because there are many use cases were an instructor might not be able to record attendance before 2 classes have been run - whether they were given back-to-back, or simultaneously by different instructors.

Deep-Chill added a commit to Deep-Chill/djaodjin-pages that referenced this issue Jan 30, 2024
- Early versions of API endpoints/URLs to add and delete LiveEvents.
- Gets LiveEvent objects using their scheduled_at time, for adding/deleting as well as marking attendance.
- Updates Mixin to add a rank property to help correctly add attributes to LiveEvent objects.

- Issues:
- - On the URL: `http://127.0.0.1:8000/sequences/steve/seq-cert-live-event/1/` if a user is not logged in, they are able to make POST requests and the timer updates, but if logged in as either steve or a superuser it returns `djaodjin-pages-vue.js:581 Error sending ping: Forbidden` Haven't investigated yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant