Commit Graph

35 Commits

Author SHA1 Message Date
Diana Huang
8d564f219d Use Choices to track possible modes. 2013-11-22 11:22:49 -05:00
Diana Huang
d72b61a5b0 Use class methods to find the enrollment mode. 2013-11-19 17:30:27 -05:00
Diana Huang
1656876699 If student has not passed verification, issue an honor code cert.
Also, display a message on their dashboard.
2013-11-19 17:12:49 -05:00
Diana Huang
fc46efb6c7 Fix bug in grabbing course enrollments.
LMS-1475
2013-11-19 14:03:05 -05:00
John Jarvis
2fed61814a fixing some typos 2013-11-15 13:35:55 -05:00
John Jarvis
2a31e3567e sending template pdf with certificate request 2013-11-15 13:35:54 -05:00
John Jarvis
ff8c58f5ee adds a new option to ungenerated_certs to use http in the callback url 2013-11-01 11:49:12 -04:00
Joe Blaylock
9e76c6120b Merge pull request #1286 from edx/jrbl/certs-single-user
Certificates: Add regeneration command
2013-10-24 11:59:32 -07:00
Joe Blaylock
5b3af20ba1 Pass student grade label to certification process 2013-10-15 15:02:16 -04:00
Joe Blaylock
8ef8fc8281 Certificates: Add regeneration command
* Adds regenerate_user command, which lets you run certificates for one
  particular user in one particular class, regardless of whether they
  have a pre-existing certificate.
2013-10-09 12:24:35 -07:00
Calen Pennington
7d79f4fe37 Move mitxmako initialization to a startup module, called by lms.startup and cms.startup for both management commands and when run via wsgi
[DEVPAIN-7]
2013-08-28 10:56:07 -04:00
John Jarvis
f6d7cc5516 save the cert record immediately after we set the status
There was a potential though unlikely race condition because the .save()
was after the certificate request was put on the queue.

Now calling .save() immediately after we update the
cert.
2013-06-27 15:57:51 -04:00
David Ormsbee
e1b071be30 Initialize MakoMiddleware manually during certificate grading runs.
Without this, problems fail to load because they can't find how to
render themselves, and the certificate generation grading run will
get an inaccurately low count of the possible points a user could
get (anything they didn't see will be omitted), inflating their
grade during certificate calculation and making it inconsistent
with their Progress page.
2013-06-19 14:39:02 -04:00
Chris Dodge
8fef830740 optimize db round trips, by getting the course descriptor outside of the user loop 2013-04-01 14:02:54 -04:00
Calen Pennington
cfae1cdf62 Pep8 autofixes 2013-02-06 11:13:50 -05:00
John Jarvis
3a6d45e716 Grade a student even if they are on the restricted list 2013-01-29 11:13:30 -05:00
John Jarvis
415ebec879 renaming whitelist to is_whitelisted 2013-01-29 10:24:29 -05:00
John Jarvis
dbc0f353c5 cert_status temporary assignment removed 2013-01-29 10:22:58 -05:00
John Jarvis
e9722b259b Removing whitespace 2013-01-28 19:29:53 -05:00
John Jarvis
7e033d0265 django command for certificate restriction 2013-01-28 19:28:24 -05:00
John Jarvis
491027a814 Allow generation of certificates if they are in the generating state 2013-01-16 17:34:48 -05:00
John Jarvis
b8cfe80145 Saving grade for non-passing students 2012-11-20 15:18:09 -05:00
John Jarvis
ca6cfe4247 http->https 2012-11-09 23:40:18 -05:00
John Jarvis
01dcf291b6 Adding setting variable for CERT_QUEUE 2012-11-09 18:18:36 -05:00
John Jarvis
83b79fb87e Adding new certificate state for "notpassing" 2012-11-09 18:18:36 -05:00
John Jarvis
076619c81b Changing private method to use a single underscore 2012-11-09 18:18:36 -05:00
John Jarvis
8e5d6bd416 Change 'remove' to 'delete' for consistency 2012-11-09 18:18:35 -05:00
John Jarvis
5529eecb85 Separate function for send_to_xqueue 2012-11-09 18:18:35 -05:00
John Jarvis
cb1489a7cb docstring cleanup, grading for regen_cert 2012-11-09 18:18:35 -05:00
John Jarvis
a9b26cb871 Cleanup, docstrings, recording name in certificate table 2012-11-09 18:18:34 -05:00
John Jarvis
f589adcd71 Comment about basic auth 2012-11-09 18:18:34 -05:00
John Jarvis
66c31fe21a Adding logging, reading sitename from settings 2012-11-09 18:18:34 -05:00
John Jarvis
8c2e55676b Cleanup 2012-11-09 18:18:34 -05:00
John Jarvis
0ef54cdeb8 Certificate interface to xqueue
Add, remove or update and existing certificate
2012-11-09 18:18:34 -05:00
John Jarvis
b326b83fb6 Adding XQueueCertificate interface.
Adding, removing and updating certs
2012-11-09 18:18:34 -05:00