Commit Graph

6956 Commits

Author SHA1 Message Date
kimth
bb55a76379 Allow courseware to navigate to specific tabs of a sequence 2012-08-29 22:01:16 -04:00
kimth
e62f8d7562 More info in StudentInputError 2012-08-29 20:03:26 -04:00
Arjun Singh
5d6bed863a Fix discussions in xmodules 2012-08-29 16:41:01 -07:00
Carlos Andrés Rocha
902a887e79 [34078525] pep8 renaming of some extern_auth functions 2012-08-29 18:46:35 -04:00
Carlos Andrés Rocha
cd4aab13fb [34078525] Added OPENID_PROVIDER_TRUSTED_ROOTS django setting
Added OPENID_PROVIDER_TRUSTED_ROOTS django setting. It should be a
list of glob matching patterns: ['*.cs50.net', '*.other.net']

Also did some minor refactoring and cleanup.
2012-08-29 18:40:12 -04:00
kimth
1fd2f0c601 Fix double show answer bug 2012-08-29 18:02:37 -04:00
Arjun Singh
5c5d11409a Temporary fix to make uncaptioned videos display reasonably. Will replace with proper solution. 2012-08-29 13:58:22 -07:00
Nate Hardison
c97db851fb Getting rid of unneeded variables 2012-08-29 15:28:44 -04:00
Carlos Andrés Rocha
cb67af5959 [34078525] OpenID provider cleanup and minor fixes 2012-08-29 12:43:08 -04:00
Nate Hardison
4126f3a29a Validating OpenID request trust roots to only come from *.cs50.net 2012-08-29 11:57:41 -04:00
David Ormsbee
e55bbbc736 Remove __grading_policy related items, which got in here accidentally 2012-08-29 10:58:40 -04:00
Tommy MacWilliam
6de28fc592 feature flag, consumer displayed, logging
- provider placed behind separate feature flag
- domain of openid consumer displayed in login page
- added logging for successful login, changed log messages to include
  "OpenID"
2012-08-29 10:37:02 -04:00
Tommy MacWilliam
4b6694a4ce OpenID provider implementation
- endpoint supports both SReg and AX
- identity taken from edX username
- sreg fullname and ax http://axschema.org/namePerson taken from edX
  name
- sreg email and ax http://axschema.org/contact/email taken from edX
  email
2012-08-29 10:29:42 -04:00
David Ormsbee
50c682e459 Merge pull request #583 from MITx/rocha/master
[#35065403] Lets video player work if subtitles cannot be loaded
2012-08-29 07:01:58 -07:00
Arjun Singh
ac65e47e21 Getting rid of an alert. People don't like alerts. 2012-08-29 03:15:30 -07:00
Victor Shnayder
fe50f94437 Fix inline html bug.
* problem was in trying to remove the outer <html> + </html> tags.
* cleaned up the stringify function to be less magical, and more
  obviously correct.

[Fix #35136297]
2012-08-28 19:54:57 -04:00
Carlos Andrés Rocha
aa063d5729 [#35065403] Lets video player continue to work if subtitles cannot be loaded 2012-08-28 18:18:37 -04:00
Arjun Singh
6a6b24af79 Disable jsresponse file compilation; done manually for now. 2012-08-28 12:40:49 -07:00
David Ormsbee
88e485315d Merge pull request #571 from MITx/feature/arjun/contextualize_js_params
Contextualizing javascript parameters
2012-08-28 11:07:49 -07:00
kimth
bad24df842 Adjust tests to reflect XML requirement for external grader messages 2012-08-28 13:31:06 -04:00
kimth
09b2f4e55c Merge branch 'master' into kimth/check-grader-html 2012-08-28 13:16:14 -04:00
kimth
fa074277cf Adjust CodeResponse comments 2012-08-28 12:59:30 -04:00
kimth
4970d9d9f9 Don't need time import, have datetime 2012-08-28 12:55:04 -04:00
kimth
eb48cae887 Consolidate the timestamp uses in CodeResponse 2012-08-28 12:50:48 -04:00
kimth
da07db7c7b Merge branch 'kimth/send-idhash' of https://github.com/MITx/mitx into kimth/send-idhash 2012-08-28 12:43:34 -04:00
kimth
fb5501855c Merge master 2012-08-28 12:37:24 -04:00
David Ormsbee
88baeee1fb Merge pull request #575 from MITx/feature/arjun/fix_js_points
Let JS responses return >1 point
2012-08-28 08:32:57 -07:00
Victor Shnayder
e9ded1cf36 slight refactoring to test file
* was going to use to test duplicated content, but we're not supporting that for now
2012-08-28 11:28:10 -04:00
Victor Shnayder
9277f5df8e Minor cleanups to url name checking
* better error messages
* better fallback names
* architectural TODO for later...
2012-08-28 11:27:47 -04:00
David Ormsbee
231b8c6aa4 Merge pull request #548 from MITx/kimth/limit-queue-dos
Kimth/limit queue dos
2012-08-28 08:03:02 -07:00
kimth
024b9db10d Log errors in external grader message parsing 2012-08-28 09:27:27 -04:00
Arjun Singh
947ec74afc Let JS responses return >1 point 2012-08-28 06:13:41 -07:00
Arjun Singh
f7ebc4dd23 Load params from json 2012-08-28 00:49:32 -07:00
Arjun Singh
8ed9ab44e7 Contextualizing javascript parameters 2012-08-27 23:49:07 -07:00
kimth
377b09e170 Adjust comments 2012-08-27 20:07:54 -04:00
kimth
82a0d065a7 Use enumerate in loops 2012-08-27 20:04:48 -04:00
kimth
297df37fc0 Drop unnecessary iterator index 2012-08-27 19:59:22 -04:00
kimth
6302283183 Drop unnecessary .keys() 2012-08-27 19:57:46 -04:00
kimth
b4b8f6bc7d Use with open(file) structure 2012-08-27 19:55:21 -04:00
kimth
2919389d8e Use os.path.join -- all of them... 2012-08-27 19:53:10 -04:00
kimth
7c5879a1a5 Use os.path.join 2012-08-27 19:50:47 -04:00
kimth
093f080641 Filesubmission input does not reveal queue length 2012-08-27 19:45:39 -04:00
kimth
3051c6aca7 Access system.xqueue properly as dict 2012-08-27 19:41:35 -04:00
kimth
26051f9939 Waittime passed through ModuleSystem.xqueue 2012-08-27 19:39:33 -04:00
kimth
a197f634ea Get_queuetime_str does not return None 2012-08-27 19:34:46 -04:00
kimth
572e88d5b2 Adjust wait message 2012-08-27 19:20:50 -04:00
kimth
03588c094c Move stdlib import location 2012-08-27 19:17:53 -04:00
kimth
4468fee8e5 Define dateformat variable in xqueue_interface 2012-08-27 19:15:28 -04:00
kimth
98542f79ec Define dateformat variable in xqueue_interface 2012-08-27 19:14:47 -04:00
kimth
50481c2a81 CodeResponse saves queuestate as dict 2012-08-27 19:04:36 -04:00