Diana Huang
17610edf77
Code cleanup due to review comments
...
* make `user_status` more intelligent
* remove some logic from the templates
* rename `parse_error_msg` to `parsed_error_msg`
* fix up and add more tests
LMS-1387
2013-10-31 15:01:39 -04:00
Diana Huang
5389d6b7cf
Remove DAYS_GOOD_FOR from being a class variable.
...
LMS-1387
2013-10-31 15:01:39 -04:00
Victor Shnayder
d939a61e93
Update error messages and copy for re-verification flow
2013-10-31 15:01:39 -04:00
Diana Huang
78bbaa02b8
Add in human-readable text for error messages.
...
LMS-1133
2013-10-29 15:21:14 -04:00
Diana Huang
d3a4747b06
Add new user_status functionality to PhotoVerification.
2013-10-29 15:13:45 -04:00
David Ormsbee
02fc6a40db
Add model tests to verify_student flow.
2013-10-07 15:56:38 -04:00
David Ormsbee
634da27347
Add AUTOMATIC_VERIFY_STUDENT_IDENTITY_FOR_TESTING flag so that acceptance tests can run through certificate identity verification flow.
2013-10-02 18:09:00 -04:00
Diana Huang
4ee9ef61cf
Clean up some old pep8/pylint violations
...
Also, deletes some unused code.
2013-09-24 17:12:31 -04:00
David Ormsbee
4245c229d8
Don't verify SSL cert when submitting to Software Secure (they're using self-signed cert for the moment).
2013-09-16 14:21:03 -04:00
David Ormsbee
ab6018a0e5
Replace signature validation with access-key and add logging around Software Secure callbacks.
2013-09-16 10:07:07 -04:00
David Ormsbee
3b44ec11e0
Convert JSON dumps output to UTF-8 before sending to Software Secure
2013-09-16 10:07:07 -04:00
David Ormsbee
8c056f383e
Make sure our JSON messages output unescaped UTF-8 text, to match Software Secure expectations.
2013-09-13 15:20:08 -04:00
David Ormsbee
b6a863fb0e
Make sure we use the name that was frozen at time of verification when sending to Software Secure.
2013-09-13 11:48:44 -04:00
David Ormsbee
e3895b7856
Force a save of the model when we're uploading a photo ID so our generated key is always saved.
2013-09-12 10:33:24 -04:00
David Ormsbee
8278357c74
Hook up interface to Software Secure for identity validation.
2013-09-11 23:59:37 -04:00
Diana Huang
fc52fab231
Go skip verification step if student is already verified.
2013-08-29 17:07:53 -04:00
David Ormsbee
0dd5819683
basic flow from enroll mode selection to verify screen
2013-08-22 13:56:23 -04:00
David Ormsbee
775ae010a2
Shorted names of models in verify_student
2013-08-21 16:21:52 -04:00
David Ormsbee
8f572e537e
Flesh out the Software Secure model and add SS-specific encryption functions
2013-08-21 16:21:52 -04:00
David Ormsbee
0db7884354
Basic first commit of Photo ID Verification model and test code
2013-08-21 16:21:52 -04:00