David Ormsbee
01ac01b62c
Re-enable change name, and fix up change email styles
2012-10-12 14:31:20 -04:00
David Ormsbee
05c5ac3482
Allow people who haven't activated to reset their password.
2012-10-11 11:04:18 -04:00
Calen Pennington
bb50402b3f
Merge pull request #850 from MITx/feature/jarv/staff-account
...
Adding django-admin/rake command to set the staff bit
2012-10-10 06:55:41 -07:00
John Jarvis
bd45dbd8d4
Adding django-admin/rake command to set the staff bit
2012-10-10 09:46:30 -04:00
kimth
61b3857134
Don't function call on null
2012-10-10 03:46:17 +00:00
David Ormsbee
57e4f0dd6b
Merge pull request #839 from MITx/feature/victor/per-course-status
...
Feature/victor/per course status
2012-10-09 08:29:22 -07:00
Victor Shnayder
bcf835532b
Pass course_id instead of course to get_site_status_msg
...
* makes testing easier -- don't need course objects
2012-10-08 14:06:58 -04:00
Victor Shnayder
61e574ee22
Revert "Make script type checking more strict"
...
Don't want to break existing problems.
This reverts commit 811422a18d .
2012-10-08 13:05:30 -04:00
Victor Shnayder
811422a18d
Make script type checking more strict
...
- check for known script type instead of ignoring js and perl
2012-10-08 10:59:39 -04:00
Victor Shnayder
3765226b85
shorter impl of is_file
2012-10-08 10:58:59 -04:00
Victor Shnayder
ef1dda67b3
formatting in xqueue_interface.py
2012-10-08 10:58:38 -04:00
Victor Shnayder
93cc9a8e5b
formatting cleanup in responsetypes and inputtypes
2012-10-08 10:58:04 -04:00
Victor Shnayder
405012587d
formatting
2012-10-08 10:55:45 -04:00
Victor Shnayder
bd7c00ea22
formatting cleanup in correctmap.py
2012-10-08 10:55:30 -04:00
Victor Shnayder
775456b987
formatting cleanups in capa_problem.py
2012-10-08 10:54:59 -04:00
Victor Shnayder
c3e07660df
formatting cleanup in calc.py
2012-10-08 10:51:37 -04:00
Victor Shnayder
ddcd166b72
make tests pass without LMS settings
2012-10-07 23:09:26 -04:00
Victor Shnayder
9e43664498
Add support for per-course site status.
...
Now looks for a status_message.json file, looks for 'global' and ${course.id} keys. Return any global message and any course-specific message, joined by <br>.
fab files need to be updated to use this new format (new filename, possibly also help manage per-course messages, or at least test for valid json)
2012-10-07 23:09:26 -04:00
Bridger Maxwell
62400c4c92
Added starting_index conf to AssignmentFormatGrader. Added a bit of forwards compatibility for new grading policies.
2012-10-06 14:52:48 -04:00
Victor Shnayder
7e304abec2
Merge pull request #833 from MITx/feature/rocha/openid-djangostore
...
Fix error when creating empty associations
2012-10-05 10:57:45 -07:00
Carlos Andrés Rocha
193ca7b34b
Fix error when creating empty associations
...
Also renamed some variables to make them more distinguishable
2012-10-05 13:46:49 -04:00
Victor Shnayder
8578320e3d
move output right/wrong image to top left of each test instead of center
2012-10-05 13:06:26 -04:00
Victor Shnayder
9496064943
Merge pull request #821 from MITx/feature/rocha/openid-djangostore
...
Use django cache for OpenID provider store
2012-10-05 08:41:18 -07:00
Victor Shnayder
5b79352aba
Merge pull request #806 from MITx/feature/rocha/support-additional-video-sources
...
Add support for video download link
2012-10-03 17:15:46 -07:00
Carlos Andrés Rocha
e62968d5e1
Get OpenID XRDS url host from request
...
Replaced the previous method of getting it from HTTP_POST to use
django's mechanism, which may or may not use HTTP_HOST. However if an
attacker changes the request header, there is not much he can do since
he cannot recreate the association nonce.
2012-10-03 17:16:22 -04:00
Carlos Andrés Rocha
4840de8c88
Create Django cache backed OpenID provider store
2012-10-03 16:54:07 -04:00
Victor Shnayder
607fdb020b
Merge pull request #820 from MITx/ned/spaces_in_codemirror
...
Now when you hit the TAB key in codemirror, it will insert 4 spaces.
2012-10-03 13:24:47 -07:00
Ned Batchelder
52ccfab122
Now when you hit the TAB key in codemirror, it will insert 4 spaces.
2012-10-03 16:19:04 -04:00
Victor Shnayder
d042026e68
Merge pull request #809 from MITx/feature/rocha/styling-for-code-responses
...
Add styling for code grader responses
2012-10-03 06:45:28 -07:00
Victor Shnayder
85893c77c6
Make collapsibles not collapse the entire page
...
- need to set text of the link, not the document
- there was something funny with the operator precedence in the ternary operator (was getting 'true', instead of a string)
2012-10-03 09:25:57 -04:00
Carlos Andrés Rocha
8ac13f5c60
Add styling for code grader responses
2012-10-02 22:56:56 -04:00
arjun810
f627c9e9c1
Merge pull request #791 from MITx/kimth/js-refactor
...
Kimth/js refactor
2012-10-02 19:47:20 -07:00
Victor Shnayder
f4623bf155
address comments on #807
2012-10-02 17:17:15 -04:00
David Ormsbee
13bfbc820d
Prevent caching of block showing top status bar (used for system alert notifications).
2012-10-02 16:38:28 -04:00
Victor Shnayder
8b0f1a0305
get rid of caching--unneeded complexity.
2012-10-02 15:03:06 -04:00
Carlos Andrés Rocha
f357e90dc0
Add support for video download link
...
Add a download link to the video player. The link is defined in the
content xml using the following structure:
<video youtube="youtubestring">
<source src="video_link"/>
</video>
2012-10-02 14:23:31 -04:00
Victor Shnayder
8ad1e7fba1
Add framework for a site status banner.
...
- still needs style
- will cache for 10 seconds
2012-10-02 11:48:16 -04:00
kimth
845b921ca1
Missing comma
2012-10-02 15:42:22 +00:00
kimth
ed55e4ae2f
Move collapsible back into xmodule
2012-10-02 15:41:38 +00:00
Arjun Singh
a8acb7ff30
Renamed jsloader to match up with the content more explicitly; refactored Collapsible out into its own library
2012-10-01 03:03:33 -07:00
Victor Shnayder
d424fb8332
make codemirror use visible tabs
...
* this may not be optimal (compared to e.g. replacing tabs with spaces), but it's a lot better than mystery 'bad indentation' errors
2012-09-30 19:18:56 -04:00
Victor Shnayder
af6dd84af0
Merge pull request #789 from MITx/feature/bridger/course_grading
...
Feature/bridger/course grading
2012-09-30 11:52:36 -07:00
Bridger Maxwell
4ee0e258ea
Refactored a bit of the generating scores code.
2012-09-30 14:48:20 -04:00
kimth
680934045f
Adjust comments
2012-09-29 21:39:48 -07:00
kimth
c3abeff8d4
Another TODO comment
2012-09-29 21:28:04 -07:00
kimth
7b8750ab69
HTML modules can also run script_placeholder
2012-09-29 19:05:48 -07:00
kimth
4acd8b9fe1
Further explanation to TODO
2012-09-29 18:54:17 -07:00
kimth
faa35f95cc
Move executeProblemScripts into executeModuleScripts
2012-09-29 18:53:24 -07:00
kimth
77af860445
Begin transplant of executeProblemScripts
2012-09-29 18:31:06 -07:00
kimth
8956e5bcb1
Update comment: jsloader works at module-scope
2012-09-29 18:03:59 -07:00