Skip to main content

What is this project?

Project description

Open edX Events

PyPI CI Codecov Documentation Supported Python versions License

Open edX Events from Hooks Extensions Framework (OEP-50).

What is this project?

Overview

This repository implements the necessary tooling and definitions used by the Hooks Extension Framework to manage the events execution and extra tools.

Documentation

See documentation on Read the Docs.

Development Workflow

One Time Setup

# Clone the repository
git clone git@github.com:openedx/openedx-events.git
cd openedx-events

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 openedx-events

Every time you develop something in this repo

# Activate the virtualenv
workon openedx-events

# Grab the latest code
git checkout master
git pull

# Install/update the dev requirements
make requirements

# Run the tests and quality checks (to verify the status before you make any changes)
make validate

# Make a new branch for your changes
git checkout -b <your_github_username>/<short_description>

# Using your favorite editor, edit the code to make your change.
vim …

# Run your new tests
pytest ./path/to/new/tests

# Run all the tests and quality checks
make validate

# Commit all your changes
git commit …
git push

# Open a PR and ask for review.

License

The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome. Please read How To Contribute for details. Even though they were written with edx-platform in mind, the guidelines should be followed for all Open edX projects.

The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you can find it at PULL_REQUEST_TEMPLATE.md.

The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you can find it at ISSUE_TEMPLATE.md.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Getting Help

If you’re having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.

Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace.

For more information about these options, see the Getting Help page.

Change Log

Unreleased

Changed

[0.10.0] - 2022-05-20

Changed

  • BREAKING CHANGE: Split AvroAttrsBridge into schema, serialization, and deserialization phases

[0.9.1] - 2022-05-20

Changed

  • Remove assigned_email from SubscriptionLicenseData

[0.9.0] - 2022-04-28

Changed

  • Updated AvroAttrsBridge to handle optional/nullable fields

[0.8.3] - 2022-04-26

Changed

  • Updated AvroAttrsBridge to create schemas from signal data dict rather than individual attrs classes

[0.8.2] - 2022-04-13

Changed

  • Changed openedx_events.learning.data.DiscussionTopicContext to make the group id optional

  • Changed DiscussionTopicContext to add a context attribute

[0.8.1] - 2022-03-03

Added

  • Added missing field for event COURSE_DISCUSSIONS_CHANGED

[0.8.0] - 2022-02-25

Added

  • Added COURSE_DISCUSSIONS_CHANGED for discussion event

Changed

  • Changed openedx_events/enterprise/LicenseLifecycle class to openedx_events/enterprise/SubscriptionLicenseData

  • Changed LicenseCreated signal class to SUBSCRIPTION_LICENSE_MODIFIED signal class

[0.7.1] - 2022-01-13

Added

  • Added data definition for enterprise/LicenseLifecycle

  • Added LicenseCreated signal definition

[0.7.0] - 2022-01-06

Added

  • Added AvroAttrsBridge class to convert between avro standard and attrs classes

[0.6.0] - 2021-09-15

Added

  • Add custom formatting class for events responses.

  • Add a way to use send method instead of send_robust while testing.

Changed

  • Remove unnecessary InstantiationError exception.

  • Default is send_robust instead of send unless specified otherwise.

[0.5.1] - 2021-08-26

Changed

  • Remove TestCase inheritance from OpenEdxTestMixin.

[0.5.0] - 2021-08-24

Added

  • Utilities to use while testing in other platforms.

[0.4.1] - 2021-08-18

Changed

  • Remove raise_exception assignment in events metadata.

[0.4.0] - 2021-08-18

Added

  • Preliminary Open edX events definitions.

[0.3.0] - 2021-08-18

Added

  • Add tooling needed to create and trigger events in Open edX platform.

  • Add Data Attribute classes used as arguments by Open edX Events.

[0.2.0] - 2021-07-28

Changed

  • Update repository purpose.

  • Changed max-doc-length from 79 to 120 following community recommendation.

[0.1.3] - 2021-07-01

Changed

  • Update setup.cfg with complete bumpversion configuration.

[0.1.2] - 2021-06-29

Changed

  • Update documentation with current organization info.

[0.1.1] - 2021-06-29

Added

  • Add Django testing configuration.

[0.1.0] - 2021-04-07

Added

  • First release on PyPI.

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

openedx-events-0.10.0.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

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

openedx_events-0.10.0-py2.py3-none-any.whl (43.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file openedx-events-0.10.0.tar.gz.

File metadata

  • Download URL: openedx-events-0.10.0.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for openedx-events-0.10.0.tar.gz
Algorithm Hash digest
SHA256 6e8eb16d6038101ad36e45eb128938f267f01be28593708bfd8542783a34a263
MD5 df46ee82f531af98f60d09d6ca86791a
BLAKE2b-256 ff77bc61eefc918ea8b16b17e1e0cfe328bcef48861103a94b7c9942e7bc43fd

See more details on using hashes here.

File details

Details for the file openedx_events-0.10.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for openedx_events-0.10.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5586539c09a440518408248dd124e0fc367daee3b55ba64e029725c204e82fb4
MD5 0aaa4f64d40ec0b1c30e4ec8b8d9b08d
BLAKE2b-256 c8d89adbf3c2f529cecc5b5285e3a46e885af4d5b763977738e64bd0e375b2b8

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