Skip to main content

Tutor plugin that enables email notifications for Open edX

Project description

Tutor plugin that enables email notifications for Open edX. Open edX offers three main types of notifications:

  • Course updates

  • Recurring nudges

  • Daily digests

  • Weekly digests

This plugin will enable all of them by default.

Course updates (aka course highlight emails)

If your Open edX system adminstrator has configured your instance of the Open edX platform to send course highlight emails, you can send automatic email messages to learners in your course that contain three to five “highlights” of upcoming course content. A highlight is a brief description of an important concept, idea, or activity in the section. Your Open edX system administrator provides the template for this course highlight email, and you enter the highlights for the email in Studio.

To learn more about this feature, see Course Highlight Email.

Recurring nudges

Recurring nudges are emails that are sent 3 and 10 days after a learner enrolls in a course.

To learn more about this feature, see Recurring Nudges.

Email notifications

Notifications help you stay updated on important activity in your courses. You can receive notifications via the notification tray in real time, or through email summaries delivered periodically.

Notifications are sent daily and weekly, and can be configured in the account settings page.

Event that trigger notifications are course updates, forum activities and ORA submissions.

To learn more about this feature, see Email Notifications.

Installation

pip install git+https://github.com/aulasneo/tutor-contrib-notifications.git

Usage

To enable the plugin, run:

tutor plugins enable notifications
tutor {local|k8s} do init [--limit notifications
tutor {local|k8s} start

The tutor {local|k8s} do init command will set the waffle flags for the notifications plugin.

You can run the following commands to trigger the notifications manually:

tutor {local|k8s} do send-daily-digest
tutor {local|k8s} do send-weekly-digest
tutor {local|k8s} do send-course-update
tutor {local|k8s} do send-recurring-nudge

For Kubernetes users, this plugin will setup a cronjob to run the daily and weekly digests at the configured schedules. Users of a tutor local installation will have to set up a cronjob manually.

Configuration

  • NOTIFICATIONS_DAILY_SCHEDULE: Set the schedule for the daily emails. Default is “0 10 * * *” (every day at 10am UTC).

  • NOTIFICATIONS_WEEKLY_SCHEDULE: Set the schedule for the weekly emails. Default is “0 10 * * 0” (every Sunday at 10am UTC).

  • NOTIFICATIONS_SEND_COURSE_UPDATE: Enable course updates. Default is True.

  • NOTIFICATIONS_SEND_RECURRING_NUDGE: Enable recurring nudges. Default is True.

  • NOTIFICATIONS_SEND_DAILY_DIGEST: Enable daily digests. Default is True.

  • NOTIFICATIONS_SEND_WEEKLY_DIGEST: Enable weekly digests. Default is True.

  • NOTIFICATIONS_ENABLE_ORA_GRADE_NOTIFICATIONS: Enable ORA grade notifications. Default is True.

  • NOTIFICATIONS_ENABLE_NOTIFICATIONS: Enable notifications. Default is True.

  • NOTIFICATIONS_ENABLE_EMAIL_NOTIFICATIONS: Enable email notifications. Default is True.

  • NOTIFICATIONS_ENABLE_GROUPING: Enable grouping. Default is True.

  • NOTIFICATIONS_DEFAULT_FROM_EMAIL: Set the default from email. Default is “{{ CONTACT_EMAIL }}”.

Notes:

  • After modifying NOTIFICATIONS_ENABLE_GROUPING, you will need to run tutor {local|k8s} do init –limit notifications to apply the changes.

  • After changing the schedules, you will need to restart the cronjobs with tutor k8s start.

License

This software is licensed under the terms of the AGPLv3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tutor_contrib_notifications-19.0.1.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tutor_contrib_notifications-19.0.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file tutor_contrib_notifications-19.0.1.tar.gz.

File metadata

File hashes

Hashes for tutor_contrib_notifications-19.0.1.tar.gz
Algorithm Hash digest
SHA256 4c5689ea3a750030e92b33e5aed8b792bc1134459ed96009bb9a0f05e93db844
MD5 77a6126f34fbf39556c2c7d985292a4c
BLAKE2b-256 cfc657e5a50f8d63bb55002484d7beec0297a534a19d5d15e9249f24f8faf378

See more details on using hashes here.

File details

Details for the file tutor_contrib_notifications-19.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tutor_contrib_notifications-19.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de8c13bba923d19700cba7a92da29092904bcaa44857a0d3353409ffa69dad11
MD5 5c5d456b1795930a10e2c12f9028788e
BLAKE2b-256 2792e00c560e64e24c4beb61483559614ff7615c6d4a5a027bcece14d58da5fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page