lms.djangoapps.discussion.signals package#
Submodules#
lms.djangoapps.discussion.signals.handlers module#
Signal handlers related to discussions.
- lms.djangoapps.discussion.signals.handlers.create_comment_created_notification(*args, **kwargs)#
Creates a notification when new response or comment is created
- lms.djangoapps.discussion.signals.handlers.create_message_context(comment, site)#
- lms.djangoapps.discussion.signals.handlers.create_message_context_for_reported_content(user, post, site, sender)#
Create message context for reported content.
- lms.djangoapps.discussion.signals.handlers.create_response_endorsed_on_thread_notification(*args, **kwargs)#
Creates a notification for thread author when response on thread is endorsed and another notification for response author when response is endorsed
- lms.djangoapps.discussion.signals.handlers.create_thread_created_notification(*args, **kwargs)#
Creates a notification when new thread is created
- lms.djangoapps.discussion.signals.handlers.send_discussion_email_notification(sender, user, post, **kwargs)#
- lms.djangoapps.discussion.signals.handlers.send_message(comment, site)#
- lms.djangoapps.discussion.signals.handlers.send_message_for_reported_content(user, post, site, sender)#
- lms.djangoapps.discussion.signals.handlers.send_reported_content_email_notification(sender, user, post, **kwargs)#
Sends email notification for reported content.
- lms.djangoapps.discussion.signals.handlers.send_reported_content_notification(sender, user, post, **kwargs)#
Sends notification for reported content.
- lms.djangoapps.discussion.signals.handlers.update_discussions_on_course_publish(sender, course_key, **kwargs)#
Catches the signal that a course has been published in the module store and creates/updates the corresponding cache entry. Ignores publish signals from content libraries.