- 06 Aug, 2014 1 commit
-
-
Runs a Python script within the edx platform's lms environment.
Justin Riley committed
-
- 05 Aug, 2014 3 commits
-
-
* Updated URLs to match latest urls in xproctor repo. * Use POST for the request call and GET for status. * Reuse status() in is_released()
Justin Riley committed -
Justin Riley committed
-
Justin Riley committed
-
- 04 Aug, 2014 1 commit
-
-
(cherry picked from commit 2c8f82f0) Conflicts: AUTHORS
Peter Pinch committed
-
- 28 Jul, 2014 2 commits
-
-
Justin Riley committed
-
Justin Riley committed
-
- 25 Jul, 2014 6 commits
-
-
Carson Gee committed
-
Updated handle_ajax to explicitly handle each proctor server command individually without accepting any parameters from the client. This completely avoids users being able to interact with the proctor server API directly. Updated the JS code to do a POST when requesting access (TODO: proctor server still needs to be updated to require POST - for now the proctor xmodule still uses GET under the hood until this gets changed)
Justin Riley committed -
Turns out we can avoid the weird collectstatic issue (extra hash at end of js filename) by not invoking leanModal from javascript at all. Instead just use static namespace from 'static_content.html' and put rel="leanModal" in the <a> DOM element that links to the modal DOM tree via it's href attribute.
Justin Riley committed -
Combined the 'release' and 'disable' dispatch urls in handle_ajax into a single 'override' dispatch. The new 'override' dispatch expects the user to POST and toggles the proctor xmodule's staff_release based on the 'enabled' key (true or false) in the request data.
Justin Riley committed -
Justin Riley committed
-
Updated the client js to connect to the ProctorModule via system.ajax_url and updated the ProctorModule to proxy the requests to the proctor server. This avoids disclosing both the proctor server url and basic auth username/password in the LMS html source. This also removes the need for CORS.
Justin Riley committed
-
- 24 Jul, 2014 6 commits
-
-
Justin Riley committed
-
edx-platform's collectstatic is broken for some reason and adding an extra hash to the filename.
Justin Riley committed -
Support a new 'hidden' xml attribute for <problem>. If set to 'true' the problem will be excluded from the list of choices within the randomize xmodule.
Justin Riley committed -
Justin Riley committed
-
Justin Riley committed
-
* Added proctor admin buttons for staff override and student reset - uses the same buttons/theme as staff debug/submission history. These buttons are *always* visible at the top of the page for staff users. The override button shows the current override status and the student admin button displays a modal with a form to reset a given user. * Combined all proctor templates into proctor.html * Removed all proctor JS alert() calls
Justin Riley committed
-
- 23 Jul, 2014 1 commit
-
-
StudentModule.state is allowed to be None (null=True, blank=True) so json.loads calls have to provide a default in this case (e.g. '{}').Justin Riley committed
-
- 22 Jul, 2014 5 commits
-
-
Justin Riley committed
-
* Add _get_student_obj that fetches and returns the django user if the input is a string otherwise returns the original input * Updated all ProctorModuleInfo methods that take 'student' as an arg to use _get_student_obj * Changed 'student' kwarg to required arg in get_grades
Justin Riley committed -
* Require staff in randomize xmodule's handle_ajax!!! * Use .val() instead of .text() in rand_jump JS * Disable all alert() calls when using 'next' or 'jump' controls
Justin Riley committed -
Justin Riley committed
-
...will be reimplemented in Proctor xmodule soon.
Justin Riley committed
-
- 17 Jul, 2014 2 commits
-
-
Justin Riley committed
-
StudentModule specifies student, course id, and module state key must all be unique together. The reset code in module_tree_reset was calling get without specifying course_id which means if two courses (with different course ids) share the same users and module state keys then calling StudentModule.objects.get with only the student and module state key raises an error for users that tried both courses. Specifying all unique_together fields fixes the issue.
Justin Riley committed
-
- 09 Jul, 2014 1 commit
-
-
Justin Riley committed
-
- 07 Jul, 2014 1 commit
-
-
reset_3091_exam_attempts -> reset_attempts get_submission_history_statistics -> attempt_stats
Justin Riley committed
-
- 30 Jun, 2014 4 commits
-
-
History tracking enables never selecting the same child twice. Currently this functionality is tied to the randomize xmodule's use_randrange attribute. TODO: Add new xml attribute `no_repeats` to toggle history tracking
Justin Riley committed -
Justin Riley committed
-
Justin Riley committed
-
Massive code clean-up as well.
Justin Riley committed
-
- 20 Jun, 2014 2 commits
-
-
Massive code clean-up as well.
Justin Riley committed -
The 'index' view still contains baked-in course ids - will fix this later ideally by getting rid of 'index' and using the instructor API instead which mostly does the same thing.
Justin Riley committed
-
- 12 Jun, 2014 3 commits
-
-
cleaner than having periodic_check calling itself in a loop via setTimeout
Justin Riley committed -
Justin Riley committed
-
Justin Riley committed
-
- 11 Jun, 2014 2 commits
-
-
* pep8/pyflakes fixes * removed old code
Justin Riley committed -
Justin Riley committed
-