Commit Graph

178 Commits

Author SHA1 Message Date
ichuang
39c61070ed new feature - load course.xml + html + problems etc from git
(see courseware.views.quickedit_git_reload)
2012-05-28 11:25:12 -04:00
ichuang
5729d013f4 in DEBUG mode, fail gracefully if a problem file is missing (capa_module) 2012-05-28 11:02:33 -04:00
ichuang
3df1845fc5 quickedit hook for dogfood - skip is_staff check for dogfood 2012-05-28 10:07:02 -04:00
ichuang
4ea7aa26ab debugging statement in multicourse.views 2012-05-28 10:05:57 -04:00
ichuang
c70b80753a pass instance of LoncapaProblem in response checker context 2012-05-28 10:05:14 -04:00
ichuang
9dd5cfa277 admin for courseware student model 2012-05-27 23:33:29 -04:00
ichuang
dbab163d1b fixed courseware.views.quickedit to create StudentModule state if not pre-existing 2012-05-27 22:48:43 -04:00
ichuang
5251bb2a6a improve error handling in customresponse check function call 2012-05-27 21:27:10 -04:00
ichuang
7a27a97899 add "msg" output to textline 2012-05-27 21:12:54 -04:00
ichuang
30ee4d19ed fixed customresponse: when using cfn with multiple inputs fill in all
values of correct_map
2012-05-27 21:11:12 -04:00
ichuang
2d96379c84 multicourse: remove obsolete is_dogfood flag 2012-05-27 20:15:45 -04:00
ichuang
4280c791a3 added (temporary?) debugging statements 2012-05-27 20:12:06 -04:00
ichuang
8bbff1107f courseware.views - updated quickedit to allow calls from dogfood 2012-05-27 20:08:33 -04:00
ichuang
41a539ed1f html_module should render_to_string from namespace "course", not "main" 2012-05-27 20:07:38 -04:00
ichuang
6ad4a4f740 add textbox input type to customresponse 2012-05-27 20:05:19 -04:00
ichuang
213b53fcc2 fixed script evaluation in capa_problem: don't parse javascript or
perl, and use "context" for both global and local frames
2012-05-27 20:04:20 -04:00
ichuang
2dd8bd48f7 fix textbox inputtypes to show default from problem if no student input available yet. 2012-05-26 23:04:06 -04:00
ichuang
d304261763 added function to check if is_dogfood in multicourse settings 2012-05-26 22:35:10 -04:00
ichuang
dcc72a2a18 added csrf handling to quickedit 2012-05-26 22:34:19 -04:00
ichuang
22572bf87b fix multicourse to properly set COURSE_TITLE (navigation.html uses settings.COURSE_TITLE) 2012-05-26 17:05:52 -04:00
Calen Pennington
1b5a9bc547 Moving the 'id' prefix back into content_parser where it exists 2012-05-25 11:04:05 -04:00
Calen Pennington
dea0d28ace Url encode memcache keys, rather than writing a new encoding scheme. Also use fasthash, rather than md5 2012-05-25 10:52:04 -04:00
Calen Pennington
0af8502c6d Dirt-simple heartbeat page for use by AWS load balancers 2012-05-22 15:39:40 -04:00
Calen Pennington
431704ac88 Make courseware work with multicourse disabled 2012-05-21 12:59:51 -04:00
Calen Pennington
03a9be7e78 Add newrelic handler, rather than custom function to log exceptions 2012-05-21 12:12:16 -04:00
David Ormsbee
4fe22be501 Merge pull request #59 from MITx/pmitros/modular-refactor
First part of courseware refactor
2012-05-21 06:21:43 -07:00
Piotr Mitros
bb66cad68b Code review -- comments and better exceptions 2012-05-21 09:18:40 -04:00
Piotr Mitros
abdd696f7e Modular refactor: Fixed bugs. Tests work. 2012-05-20 16:08:10 -04:00
Piotr Mitros
e9468a0e5e Modular refactor: Very minor changes (comments, etc.) 2012-05-20 15:22:39 -04:00
Piotr Mitros
d95a5e462d Modular refactor: Better names (grade to get_score, etc. 2012-05-20 14:52:48 -04:00
Piotr Mitros
29f565dd6e Modular refactor: Input types register in SimpleInput with decorator 2012-05-20 13:38:02 -04:00
Piotr Mitros
cd67ec8fc1 Modular refactor: Input types look more like x_module 2012-05-20 13:31:37 -04:00
ichuang
a76248251a fix quickedit (request.user_is_staff is not a function); small edit to problem.html
to show quickedit when settings.QUICKEDIT is True.  add
mathjax_include.html because that is needed by quickedit.html
2012-05-17 22:48:39 -04:00
ichuang
22c75cf748 make courseware/capa/util.py contextualize_text return gracefully if text = None 2012-05-17 22:39:20 -04:00
ichuang
5e8fbcdc8d fix multicourse; fix bug in I4xSystem - self.filestore not set when
filestore not None.  mitxhome.html now properly automatically lists
all courses given in settings.COURSE_SETTINGS.  mitxhome now served
from multicourse.views.  optioninput.html was missing; fixed. cleaned
up access to request.session for coursename in courseware/views.py
2012-05-17 22:29:45 -04:00
David Ormsbee
b8b9928a09 Merge pull request #54 from MITx/pmitros/removing-fs-refs-pull
More code transitioned to pyfilesystem
2012-05-17 14:24:41 -07:00
Piotr Mitros
0e3349706a Fix minor bugs, commenting out future code 2012-05-17 15:48:47 -04:00
Piotr Mitros
cad13b30a1 Passing i4x system deeper into capa_problem 2012-05-17 15:37:08 -04:00
Calen Pennington
9859e8546d Move accept header computations out of middleware 2012-05-17 13:23:20 -04:00
Calen Pennington
e7ab1aa9be Fixing typo from merge 2012-05-17 11:42:56 -04:00
Calen Pennington
f30596c499 Merge branch 'master' into specific-error-handling
Conflicts:
	djangoapps/courseware/views.py
2012-05-17 11:39:21 -04:00
Calen Pennington
4a9a28c76b Clean up indentation in ssl_auth 2012-05-17 10:12:00 -04:00
Calen Pennington
d387843ccc Fixing up check_course to pull in modules correctly 2012-05-17 09:18:36 -04:00
Isaac Chuang
ad44882835 Ike's changes to enable multicourse, new response types, etc. 2012-05-16 21:18:47 -04:00
Calen Pennington
69321b4497 Display the appropriate type of error message depending on the type of the incoming request 2012-05-16 13:45:00 -04:00
Calen Pennington
698d0a167e Display specific error messages when parts of the courseware break, rather than returning a 500 indicating that the whole site is down 2012-05-16 11:46:09 -04:00
Calen Pennington
08620eaf34 Fixing tests and removing unused/broken code 2012-05-15 14:02:33 -04:00
Calen Pennington
02bb23f46a Minor formatting cleanup 2012-05-15 10:55:57 -04:00
Prem Sichanugrist
28d12628f7 Fix missing global_context problem
This problem was introduced in 232e758c7a
and caused the check answer button to not functioning.
2012-05-14 15:43:50 -04:00
Calen Pennington
8f79c94d0a Fix one more place where simplewiki was importing the wrong settings 2012-05-14 11:51:07 -04:00