Will Daly
ac86687fa1
Added exception handling that solves SchematicResponse exceptions
...
causing a 500 error.
When XModule raises a ProcessingError during an AJAX request,
this module_render now returns a 404 to further reduce number of 500
responses.
2013-03-27 14:33:59 -04:00
Will Daly
6edee96caf
Added "Staff Debug Info" prefix to traceback message.
2013-03-27 11:24:16 -04:00
Will Daly
0f5e8c5f3b
pep8 fixes
2013-03-27 11:17:21 -04:00
Will Daly
5bc44e50da
Changed error messages to account for NumericalResponse formatting,
...
which is the only other response type to use StudentInputError.
2013-03-27 11:13:31 -04:00
Will Daly
8252ba15df
Changed error message for StudentInputError for non-staff to
...
a generic message. Otherwise, the default exception messages
are cryptic for students (e.g. "cannot convert string to float")
2013-03-27 11:02:30 -04:00
Will Daly
285e3ee1ed
Capa response now displays full stack trace on student input error
...
if the user is a staff member.
Otherwise, it displays just the exception message.
2013-03-27 10:49:47 -04:00
Carlos Andrés Rocha
586f566b42
Use advertised_start as a simple string
...
LMS Lighthouse [#297 ]
2013-03-26 11:54:32 -04:00
Chris Dodge
7dcb1bf7c6
it appears we are taking one too many round trips to do when pre-fetching children. This can be very expensive as the tree gets wider the deeper we go. For example, in courseware we want depth=2 (course, chapter, sequential). But looking at log output we were also getting verticals, which there can be a lot of. This should cut down on the total data we are grabbing from the DB.
2013-03-25 16:09:13 -04:00
Carlos Andrés Rocha
a5a126ac93
Fix incorrect date in test for course xmodule
2013-03-25 11:28:40 -04:00
Victor Shnayder
f0e1b477f7
Merge pull request #1703 from MITx/feature/diana/matlab-input
...
Matlab Input Type
2013-03-25 08:27:56 -07:00
cahrens
ecf395d692
Upadate link to static documentation.
2013-03-25 10:39:35 -04:00
Don Mitchell
264ca65640
Add some comments
2013-03-25 09:37:00 -04:00
Don Mitchell
884019b14c
Merge branch 'bug/dhm/date-parse' of github.com:MITx/mitx into bug/dhm/date-parse
...
Conflicts:
cms/djangoapps/models/settings/course_metadata.py
cms/urls.py
2013-03-22 16:56:31 -04:00
Don Mitchell
056b7d3427
More unit tests which found another timezone assumption :-)
2013-03-22 16:45:21 -04:00
David Ormsbee
5863ba5ac4
Merge pull request #1686 from MITx/feature/vaxxxa/docs-poll-conditional-xml
...
Feature/vaxxxa/docs poll conditional xml
2013-03-22 13:30:47 -07:00
Don Mitchell
8370124e2b
Make to and from json for dates use iso format esp for timezone.
2013-03-22 16:16:32 -04:00
Don Mitchell
2dcfd1eba1
Merge pull request #1719 from MITx/feature/btalbot/studio-checklists
...
Add course checklists to Studio
2013-03-22 12:49:30 -07:00
Jay Zoldak
25ceea175c
Merge pull request #1710 from MITx/feature/will/speed_up_lettuce_tests
...
Feature/will/speed up lettuce tests
2013-03-21 12:17:07 -07:00
cahrens
1ae9e9bde3
Tests for opening action links.
2013-03-21 13:56:11 -04:00
cahrens
8ca6e324af
Merge branch 'master' into feature/btalbot/studio-checklists
...
Conflicts:
cms/djangoapps/contentstore/views.py
cms/static/sass/base-style.scss
cms/urls.py
2013-03-21 12:23:13 -04:00
Will Daly
6728f16ae4
Merge branch 'feature/zoldak/refactor-factories' into feature/will/speed_up_lettuce_tests
...
Conflicts:
lms/djangoapps/courseware/features/problems.py
2013-03-21 10:49:04 -04:00
Chris Dodge
9cd38d115e
import needs to enumerate through the fields for all content scopes. Also add unit test
2013-03-20 21:37:09 -04:00
cahrens
fd9c29f449
Merge branch 'master' into feature/btalbot/studio-checklists
2013-03-20 16:37:56 -04:00
cahrens
6d6e144c35
Urls working.
2013-03-20 16:37:08 -04:00
Calen Pennington
93eebdcd97
Merge pull request #1709 from MITx/fix/cdodge/dont-compute-inherited-metadata-on-course-loads-with-depth-zero
...
if we're loading a course module with depth = 0, then we don't need to f...
2013-03-20 12:45:18 -07:00
Chris Dodge
133bd767d5
small refactoring to use a better semantic with regards to the parameter
2013-03-20 15:26:29 -04:00
Chris Dodge
f462cd6efa
if we're loading a course module with depth = 0, then we don't need to fetch/compute inherited metadata
2013-03-20 15:14:14 -04:00
Chris Dodge
5dbb153abe
ooops. didn't clean up the merge conflicts
2013-03-20 14:32:18 -04:00
Chris Dodge
8849ce084f
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/disable-metadata-inheritence-computation-on-import
...
Conflicts:
common/lib/xmodule/xmodule/modulestore/mongo.py
2013-03-20 14:29:43 -04:00
Diana Huang
af1af8c6d1
Address code review feedback:
...
- improve docstrings
- only pass in the state for a particular input and
not the whole dictionary
- refactor some common code
- minor syntax cleanup
2013-03-20 14:14:54 -04:00
Jay Zoldak
23364d8b0f
Merge branch 'master' into feature/zoldak/refactor-factories
2013-03-20 13:36:01 -04:00
Jay Zoldak
5eba299dca
Move course and item factories to xmodule.modulestore.tests
2013-03-20 12:10:18 -04:00
chrisndodge
f7700dfc6a
Merge pull request #1700 from MITx/feature/christina/mongo-debug-toolbar
...
Reduce pep8 warnings.
2013-03-20 08:27:32 -07:00
Diana Huang
57f7acf863
Unbreak grading for capa problems
...
Clean up some pylint errors
2013-03-20 09:23:25 -04:00
Diana Huang
f4d68d77f6
Add Javascript for new button and fix Python backend issues
2013-03-20 09:23:25 -04:00
Diana Huang
8649d67b9d
Force the progress bar update when we get a code response answer.
2013-03-20 09:23:25 -04:00
Diana Huang
521c469a35
Add the ability for input types to have their own state
...
and add in a handler for ungraded responses via xqueue
2013-03-20 09:23:25 -04:00
Diana Huang
eda6169b8b
Pass along a url creator as opposed to just a url through
...
the ModuleSystem.
2013-03-20 09:23:25 -04:00
Diana Huang
58e8f7db12
- Pep8 and pylint fixes
...
- beginnings of new Matlab input type
- update progress after getting a response from xqueue
2013-03-20 09:23:25 -04:00
Alexander Kryklia
05ba082c8f
Merge pull request #1692 from MITx/fix/valera/polls_firefox_button_not_blue
...
Bug fix for Polls tool.
2013-03-20 01:53:15 -07:00
Mark L. Chang
10ac7e04f8
copy finalized
2013-03-19 21:31:59 -04:00
Chris Dodge
e0d1449e91
add a finally statement to be sure to turn back on event firing on writes in case an import throws an exception
2013-03-19 17:42:21 -04:00
cahrens
f5bae8d8e3
Reduce pep8 warnings.
2013-03-19 17:29:06 -04:00
cahrens
b5a587d8d0
Have to explicitly specify safe option on mongo insert, remove, update because the debug toolbar specifies a default of safe=False.
2013-03-19 16:57:19 -04:00
Valera Rozuvan
0884051b32
Fixed bug where in firefox a marked poll button was not highlighted in blue.
2013-03-19 19:29:09 +02:00
Vasyl Nakvasiuk
3c645de43f
extend xmodule.ConditionalModule docstrings
2013-03-19 17:29:28 +02:00
Calen Pennington
8fda5af4e4
Comment cleanup
2013-03-19 10:54:46 -04:00
Calen Pennington
0209c883bb
Remove trailing whitespace
2013-03-19 10:41:38 -04:00
Calen Pennington
94d3ccf674
Always compute the metadata inheritance tree, even on a course module, so that when walking down the tree, we always get the right data
2013-03-19 10:41:12 -04:00
cahrens
dc89a4b3d5
Beginning of Selenium test, updates to work with master.
2013-03-18 21:25:44 -04:00