Commit Graph

28 Commits

Author SHA1 Message Date
ichuang
c124bb95fb move quickedit* from courseware.views to dogfood.views ; now dogfood
is completely contained within lib/dogfood, and it can be cleanly unplugged
from the rest of the code.
2012-06-04 17:19:05 -04:00
ichuang
b1b08d2989 made "position" a generic parameter passed to all modules, from courseware.views.index 2012-06-01 14:34:26 -04:00
ichuang
3d925f29ee new "jumpto": go directly to a specific problem. changes made to
urls, courseware.{views,module_render}, comments added to seq_module
2012-05-29 23:32:02 -04:00
ichuang
cc02962eb4 add @ensure_csrf_token to courseware.views.index 2012-05-29 17:54:45 -04:00
ichuang
4bf7459153 add git reset --hard HEAD to git command in quickedit_git_reload 2012-05-28 11:41:43 -04:00
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
3df1845fc5 quickedit hook for dogfood - skip is_staff check for dogfood 2012-05-28 10:07:02 -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
8bbff1107f courseware.views - updated quickedit to allow calls from dogfood 2012-05-27 20:08:33 -04:00
ichuang
dcc72a2a18 added csrf handling to quickedit 2012-05-26 22:34:19 -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
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
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
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
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
Piotr Mitros
98f19470f0 Fixed bad merge between Cale and Piotr/I4xSystem missing reference 2012-05-11 07:45:02 -04:00
ichuang
1494cbbd85 Merged root URL prefix from Ike. Errors should be attributed to pmitros. 2012-05-10 23:17:34 -04:00
Calen Pennington
5011f60d45 Merge branch 'master' into anonymous_user
Conflicts:
	djangoapps/courseware/module_render.py
	djangoapps/courseware/modules/capa_module.py
2012-05-10 09:17:26 -04:00
Calen Pennington
6b10c0760b Merge branch 'master' into anonymous_user
Conflicts:
	djangoapps/student/views.py
2012-05-08 13:54:57 -04:00
Prem Sichanugrist
a39c2c194d Rewrite Courseware navigation 2012-05-07 18:01:21 -04:00
Calen Pennington
0871d95f98 Allow anonymous user access to the site. Requires guest_courses.xml and info/guest_updates.html to be set created in the data repository 2012-04-30 15:18:47 -04:00
Calen Pennington
8ecb979339 Cleaning up imports 2012-04-30 14:36:16 -04:00
Calen Pennington
1bc3835fe6 Splitting files into subdirectories in preparation for merge 2012-03-19 11:10:44 -04:00