* API endpoint for certificate generation, a post with student id and course id requests that a cert be generated for that student for that course, using the usual grading and certificate machinery (ie, it does not imply whitelisting, though whitelists and blacklists will be respected) * Logs each request as it comes in * Calls xq.add_cert() and consequently, does grading synchronously on this app host and then queues request for certificate agent. * This version is aware of Stanford's CME Registration hack, which creates a professional_designation field, used to carry titles such as PhD or Msc. This now gets passed in to the certification call * example usage: ``` curl --data "student_id=9999&course_id=Stanford/2013/Some_Class" http://127.0.0.1:8000/request_certificate ``` * TODO: - make grading calls into a celery task so they happen asynchronously - needs tests - needs pep8/pylint
| Name |
Last commit
|
Last update |
|---|---|---|
| .tx | Loading commit data... | |
| cms | Loading commit data... | |
| common | Loading commit data... | |
| conf/locale | Loading commit data... | |
| docs | Loading commit data... | |
| i18n | Loading commit data... | |
| jenkins | Loading commit data... | |
| lms | Loading commit data... | |
| proxy | Loading commit data... | |
| rakelib | Loading commit data... | |
| requirements | Loading commit data... | |
| scripts | Loading commit data... | |
| test_root | Loading commit data... | |
| ws_migrations | Loading commit data... | |
| .gitattributes | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .pep8 | Loading commit data... | |
| .reviewboardrc | Loading commit data... | |
| .ruby-gemset | Loading commit data... | |
| .ruby-version | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CHANGELOG.rst | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| Gemfile | Loading commit data... | |
| Gemfile.lock | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| Vagrantfile | Loading commit data... | |
| manage.py | Loading commit data... | |
| mongo_indexes.md | Loading commit data... | |
| package.json | Loading commit data... | |
| pylintrc | Loading commit data... | |
| rakefile | Loading commit data... | |
| setup.cfg | Loading commit data... |