I added a new option in the discussion component's advanced settings: "Notify all students in the class for all new posts (not replies)". A new top-level post will create a notification for each classmate in the same period or all periods, depending on the setting for the discussion component. The notification will be sent in real-time over websocket if student is already in the unit, as well as via HTTP GET request when student launches the unit.
Test the following cases:
notification: ON, all periods: OFF => only send notification to students in the same period
notification: ON, all periods: ON => send notification to all students in the run
I added a new option in the discussion component's advanced settings: "Notify all students in the class for all new posts (not replies)". A new top-level post will create a notification for each classmate in the same period or all periods, depending on the setting for the discussion component. The notification will be sent in real-time over websocket if student is already in the unit, as well as via HTTP GET request when student launches the unit.
Test the following cases:
Closes #59