Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

edx/edx-reverification-block

Archive Notice

This repository has been archived and is no longer supported—use it at your own risk. This repository may depend on out-of-date libraries with security issues, and security updates will not be provided. Pull requests against this repository will also not be merged.

edx-reverification-block

An XBlock for in-course reverification.

Overview

This XBlock prompts a user to complete in-course reverification. During in-course reverification, the user submits a photo of his or her face. An external service then compares this photo to a photo of the user's government-issued ID, which the user submitted at the beginning of a course.

Prerequisites

For local development, you will need:

  • Python (most systems have this installed by default)
  • pip (a package manager for Python)
  • NodeJS

Getting Started

Install requirements:

make install

Run the development server:

make workbench

Run the unit test suite:

make test

Sass Compilation

If you change any Sass file, you MUST update the CSS and check the compiled CSS into the repository! (This allows us to deploy the XBlock to a runtime without requiring the runtime to have NodeJS installed.)

To compile sass:

make compile-sass

Then check the updated ".css" files into the repository.

License

The code in this repository is licensed under LICENSE_TYPE 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 it was written with edx-platform in mind, the guidelines should be followed for Open edX code in general.

Reporting Security Issues

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

Mailing List and IRC Channel

You can discuss this code on the edx-code Google Group or in the #edx-code IRC channel on Freenode.