Commit Graph

726 Commits

Author SHA1 Message Date
Calen Pennington
a984fbb65f Merge pull request #394 from MITx/feature/victor/hide-error-modules
Hide errors from non-staff users
2012-08-13 06:17:13 -07:00
Calen Pennington
fdee13e4c0 Merge pull request #393 from MITx/feature/victor/bad-content-warn-not-error
Feature/victor/bad content warn not error
2012-08-13 06:13:19 -07:00
Victor Shnayder
3455f8f64d Hide errors from non-staff users 2012-08-12 18:03:12 -04:00
Victor Shnayder
af7e70a979 Log content problems as warnings, not errors
* will avoid newrelic complaining
* NOTE: Is this what we want post-ship?
  - need some way of notifying instructors of problems
2012-08-12 17:21:40 -04:00
Victor Shnayder
622eebc473 Don't error on missing static files
* Just log a warning and return a dummy url
* May want smarter checking later
  (e.g. would be nice to tell staff what files are missing.)
2012-08-12 16:21:38 -04:00
Calen Pennington
14bfbb06a5 If there is a missing static file, don't break the server, just leave a dead url 2012-08-10 21:22:12 -04:00
Calen Pennington
b5d377adb5 Merge pull request #388 from MITx/kimth/lms-coderesponse
Spinner on waiting for queue
2012-08-10 17:48:54 -07:00
kimth
125bbbf934 Spinner on waiting for queue 2012-08-10 15:25:07 -04:00
Calen Pennington
c867560662 Merge pull request #385 from MITx/kimth/lms-coderesponse
Kimth/lms coderesponse
2012-08-10 12:19:36 -07:00
Tom Giannattasio
f2012e1d2a additional processing class 2012-08-10 15:07:08 -04:00
Tom Giannattasio
185ab1f615 added spinner class and image 2012-08-10 14:22:34 -04:00
Victor Shnayder
feba37cf78 respond to comments on merge 2012-08-10 13:39:58 -04:00
Victor Shnayder
67949f8a32 Fix metadata inheritance
* with xml datastore, re-do all inheritance once the whole course is loaded
2012-08-10 13:15:14 -04:00
kimth
f6b2cabd83 Position change in sequence kills polling thread, rather than new Problem creation 2012-08-10 13:10:53 -04:00
kimth
64eba4332c Remove temp xqueue url 2012-08-10 12:01:53 -04:00
kimth
36091697a5 Student browser polls for queued submission result 2012-08-10 11:59:45 -04:00
Victor Shnayder
6882b4b53d responding to review comments on #383 2012-08-10 11:42:54 -04:00
Victor Shnayder
1d8dcf30f9 docstring cleanups 2012-08-10 11:42:53 -04:00
Victor Shnayder
5882a89c82 Add management command to create random users
* required some refactoring in create_account() view
2012-08-10 11:41:05 -04:00
Calen Pennington
5f44b08f9c Merge pull request #382 from MITx/feature/victor/check-access-control
Did a quick security scan through views.
2012-08-10 07:59:24 -07:00
Victor Shnayder
8740ba8837 Did a quick security scan through views.
* we appear to be fairly consistent in using is_staff and has_staff_access_to_course
* cleaned up some docstrings and little code things as I went
* fixed small bug in change_enrollment view (check for non-anon user)
2012-08-10 10:43:20 -04:00
Calen Pennington
4f27dd436e When in debug mode, check the staticfiles.finders before mangling urls 2012-08-10 10:13:18 -04:00
Calen Pennington
ecbb0ee39a Merge pull request #373 from MITx/MITx/feature/bridger/fast_course_grading
Make templates render on non-xml modulestores
2012-08-09 10:41:19 -07:00
Victor Shnayder
298954fc01 Clean up customtag handling
* load the template at descriptor init
* make it  export inline, not as a pointer
* update import/export test to do export to initial directory
2012-08-09 13:32:57 -04:00
Calen Pennington
4e5af13d52 Merge pull request #374 from MITx/kimth/lms-coderesponse
Kimth/lms coderesponse
2012-08-09 09:11:21 -07:00
kimth
062eff12c4 Remove test url of xqueue 2012-08-09 12:06:36 -04:00
kimth
6b1bf0d4ca Fix tests with new score_msg format 2012-08-09 12:05:34 -04:00
kimth
e47ff641f3 Testing new instances of xqueue 2012-08-09 11:57:59 -04:00
Calen Pennington
f2c8d5b427 Merge pull request #364 from MITx/MITx/feature/bridger/fast_course_grading
Even Faster Course Grading
2012-08-09 07:49:19 -07:00
Victor Shnayder
9867dceca5 Load templates at descriptor load
* instead of being lazy
2012-08-09 10:47:08 -04:00
Victor Shnayder
9d87710f59 Revert "Lazily loading capa problems (for faster grading)."
We don't want lazyness, and will save the proper fix (moving work into descriptor load for later)
2012-08-09 10:31:48 -04:00
kimth
e3ed383888 Move old externalresponse XML parser into subfunction, fix correctness bug (should be correct/incorrect not True/False) 2012-08-09 09:41:27 -04:00
kimth
58a1248d32 New external grader format: JSON-serialized dict 2012-08-09 08:29:12 -04:00
Kyle Fiedler
c3cd858e4b Remove black bars for video 2012-08-08 16:27:48 -04:00
Kyle Fiedler
23e52f02c3 Fix odd movement on hover for the next button on hover 2012-08-08 16:27:48 -04:00
Kyle Fiedler
643617599a Made sequnce nav black and white 2012-08-08 16:27:47 -04:00
Bridger Maxwell
3930dabdc9 Merge remote-tracking branch 'origin/master' into MITx/feature/bridger/fast_course_grading 2012-08-08 16:00:22 -04:00
Calen Pennington
6abc2d733f Merge pull request #370 from MITx/feature/bridger/django1.4
Feature/bridger/django1.4
2012-08-08 12:52:33 -07:00
Bridger Maxwell
14a35b9605 Upgrading to django 1.4. 2012-08-08 11:57:15 -04:00
Calen Pennington
80b8529f2f Merge branch 'hotfix/1.0.4'
Conflicts:
	common/djangoapps/util/middleware.py
2012-08-08 11:05:26 -04:00
Bridger Maxwell
696804da13 Changes from pull request comments. 2012-08-08 10:28:40 -04:00
Bridger Maxwell
0fe2abbbdb Added docstring. 2012-08-07 18:39:19 -04:00
Bridger Maxwell
718499d793 Fix test failure from recent commit. 2012-08-07 18:37:27 -04:00
Bridger Maxwell
eb58f7c37c Changed to more specific import of xmodule.util.decorators. 2012-08-07 18:32:53 -04:00
Bridger Maxwell
25662db914 Lazily loading capa problems (for faster grading). 2012-08-07 18:32:08 -04:00
Bridger Maxwell
1f34cf33fa Speed improvements by making the mako rendering in CustomTagModule lazy. 2012-08-07 16:01:42 -04:00
Bridger Maxwell
a9d67c3e8d Added has_score attribute to xmodule, for problem-like xmodules. 2012-08-07 15:20:47 -04:00
Bridger Maxwell
98d4d44e45 Fixed test from previous commit. 2012-08-07 14:49:00 -04:00
Bridger Maxwell
735488fa51 Merge remote-tracking branch 'origin/master' into MITx/feature/bridger/fast_course_grading 2012-08-07 14:40:37 -04:00
Bridger Maxwell
638a5059da Added stores_state attribute for xmoduledescriptors as a way to declare if the module stores state in the database. 2012-08-07 14:34:05 -04:00