Open edX plugin to handle Open edX signals and events for MIT OL
Project description
A generic Open edX plugin for handling Open edX signals and events for MIT Open Learning.
Purpose
This plugin serves as the centralized handler for all Open edX signals and events that MIT OL systems need to react to. Rather than creating a separate plugin for each event, all signal handlers and filters are collected here.
Currently handled events:
org.openedx.learning.user.course_access_role.added.v1 — When a course access role (e.g. instructor, staff) is added, notifies an external system via webhook so the user can be enrolled as an auditor in the corresponding course.
openedx.core.djangoapps.signals.signals.COURSE_GRADE_NOW_PASSED — When a learner earns a passing grade, notifies an external system to create a certificate.
Installation
For detailed installation instructions, please refer to the plugin installation guide.
Installation required in:
LMS
Studio (CMS)
Configuration
edx-platform configuration
Add the following configuration values to the config file in Open edX. For any release after Juniper, that config file is /edx/etc/lms.yml and /edx/etc/cms.yml. If you’re using private.py, add these values to lms/envs/private.py and cms/envs/private.py. These should be added to the top level.
ENROLLMENT_WEBHOOK_URL: "https://example.com/api/openedx_webhook/enrollment/" ENROLLMENT_WEBHOOK_ACCESS_TOKEN: "<your-oauth-access-token>" CERTIFICATE_WEBHOOK_URL: "https://example.com/api/openedx_webhook/certificate/" CERTIFICATE_WEBHOOK_ACCESS_TOKEN: "<your-oauth-access-token>"Optionally, override the roles that trigger the webhook (defaults to ["instructor", "staff"]):
ENROLLMENT_COURSE_ACCESS_ROLES: ["instructor", "staff"]For Tutor installations, these values can also be managed through a custom Tutor plugin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ol_openedx_events_handler-0.2.0.tar.gz.
File metadata
- Download URL: ol_openedx_events_handler-0.2.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee062f0748419e83f6400b811079c0a573ab75814d966fc8089d7dfa08395a0c
|
|
| MD5 |
780a4ec666cfb08ae0a793b0045e3214
|
|
| BLAKE2b-256 |
0ae2928e493b793605eb0053812e1f5fb180a4155514997613c284a464e0ad94
|
File details
Details for the file ol_openedx_events_handler-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ol_openedx_events_handler-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a789f55c974c7a5fd252a8310baf9ddf179cddd3c1d99e928b8a10d1dbe8e97b
|
|
| MD5 |
d5833c43e25df67f32b2c93565dd87f3
|
|
| BLAKE2b-256 |
dcb981a1fb7aa2ee9a251f118879074ce7615881a0f7593233e90b2d9483a1b5
|