Acclaim Badges for EDX
Project description
Issue badges from Acclaim upon edx course completion.
Acclaim Badges for EDX
Overview
Adds a djangoapp to edx which provides a UI and API backend into Acclaim. Once installed, EDX adminstrators will be able to add Acclaim auth tokens and select badges to be issued upon course completion. This app then listens for course complete events, and issues badges if the student obtains a passing score.
Install
Install “acclaim_badges” using pip:
pip install acclaim_badges
Add “acclaim_badges” to your INSTALLED_APPS setting for EDX lms like this:
INSTALLED_APPS = [ ... 'acclaim_badges', ]
Note: this file is usually located at /edx-platform/lms/envs/common.py
Include the acclaim_badges URLconf in your project urls.py like this:
urlpatterns += ( url(r'^acclaim/', include('acclaim_badges.urls')), )
The authorization token field is encypted. create a AES-256 keyset using keyzar:
$ mkdir fieldkeys $ keyczart create --location=fieldkeys --purpose=crypt $ keyczart addkey --location=fieldkeys --status=primary --size=256
Add keyset location to /edx-platform/lms/envs/common.py:
ENCRYPTED_FIELDS_KEYDIR = '/path/to/fieldkeys'
Run ./manage.py lms syncdb --settings aws to create the acclaim_badges lms app.
Usage
The following useful URLs are made available after installation: /acclaim/tokens/ /acclaim/badge-courses/
Add Acclaim organization and authorization token using /acclaim/tokens/
Define a mapping between badge and course by accessing /acclaim/badge-courses/
Note: when defining a mapping, the dropdown will populate with badge templates if the Acclaim API call is successful (valid token and orgainzation combination are used).
Documentation
The full documentation is at https://acclaim-badges.readthedocs.org.
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 Open edX code in general.
PR description template should be automatically applied if you are sending PR from github interface; otherwise you can find it it at PULL_REQUEST_TEMPLATE.md
Issue report template should be automatically applied if you are sending it from github UI 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
Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.
Change Log
Unreleased
[0.1.0] - 2017-05-10
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
Built Distributions
File details
Details for the file acclaim-badges-0.1.0.tar.gz
.
File metadata
- Download URL: acclaim-badges-0.1.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a36d07c428ec3122623dd736e135cb156eae3127cd950676cd3fd6c7196296ed |
|
MD5 | d66aee1814868bc4ba36820c38063796 |
|
BLAKE2b-256 | 7c5921546c836a5b8d0f64be24501425d5458f48e4852f3b1380d9b523c2bbf9 |
File details
Details for the file acclaim_badges-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: acclaim_badges-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f3bac163a8f56c5cafe1bc68747bc669cce4d4a17159246fdb3a7a3279ac98 |
|
MD5 | 4356ac7ddea8420322aa8bf3211f5dc8 |
|
BLAKE2b-256 | c25ef4df4115b16d9e5778b094953816a298d1e614d51e47705e7e816c48b28f |
File details
Details for the file acclaim_badges-0.1.0-py2.7.egg
.
File metadata
- Download URL: acclaim_badges-0.1.0-py2.7.egg
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7cc6fe25c47cc502e3a990c4a941ac8b5625fc9cc946eec2fbbfb62796e35d |
|
MD5 | 154207cfe89ebf718f81b14e538c4991 |
|
BLAKE2b-256 | cc53ece9435ef6824dc09eafffae58b0e41fdc839d686437e4dc19911413b635 |