Will Daly
9c671163fd
Added exc_info=True to log.warning
...
Changed log.exception to log.warning
2013-03-27 17:11:02 -04:00
Will Daly
f038237ee9
Changed log.exception to log.warning
2013-03-27 16:34:08 -04:00
Will Daly
df1be87739
* Changed 404 errors to 400 errors
...
* Removed duplicate traceback log message
* Now provide string, not Exception, as second tuple item to raise
2013-03-27 15:20:40 -04:00
Will Daly
99cd3fafdb
Added error handling of XModule processing errors to CMS
...
Added tests for SchematicResponse error handling
2013-03-27 14:48:44 -04:00
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
Will Daly
cd6f92c7e2
Modified log.debug call to use exc_info=True
2013-03-26 14:27:41 -04:00
Will Daly
1b07b85ef2
Removed extra 'pass' statement
2013-03-26 13:43:26 -04:00
Will Daly
47e47303dc
Refactored CustomResponse to use the same private
...
func to handle all errors related to execution of
python code.
CustomResponse now returns subclasses of Exception
instead of general Exceptions
CustomResponse no longer includes tracebacks
in the exceptions it raises (and shows to students)
2013-03-26 13:36:27 -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
Calen Pennington
83c0feb84c
Merge pull request #1738 from MITx/fix/cdodge/too-many-depth-levels
...
it appears we are taking one too many round trips to do when pre-fetchin...
2013-03-26 03:42:19 -07: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
Will Daly
3084361042
Updated template to correctly handle checkbox values
2013-03-25 15:12:06 -04:00
Will Daly
1df35507a3
Changed 'in' to '==' to fix bug #258
2013-03-25 14:13:47 -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
Diana Huang
4bda05d9eb
Fix seed assignment priority and add clearer documentation
2013-03-25 11:22:56 -04:00
Diana Huang
cda0fa0aa5
Check for None specifically when setting a new seed.
2013-03-25 11:08:51 -04:00
Mark L. Chang
d7057ef56d
Merge pull request #1732 from MITx/bug/christina/studio
...
Upadate link to static documentation.
2013-03-25 07:58:14 -07:00
Victor Shnayder
235cce1323
Merge pull request #1713 from MITx/jmclaus/edit-molecule-css-fix
...
CSS from JSME doesn't affect surrounding content now
2013-03-25 07:51:02 -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
08c5ab3cc9
pep8 fixes
2013-03-22 11:38:58 -04:00
cahrens
a2a1478d92
Fix caching bug on back button.
2013-03-22 09:51:45 -04:00
Carlos Andrés Rocha
4d266fa3ca
Merge pull request #1718 from MITx/victor/fewer-phds-more-associates
...
In sign up form, merge PhD-science and PhD-other, add Associate's degree
2013-03-21 14:35:16 -07:00
Victor Shnayder
3f18e5c3d7
In sign up form, merge PhD-science and PhD-other, add Associate's degree
...
Includes corresponding documentation changes.
Per request from Harvard: LH #276
2013-03-21 17:23:46 -04:00
Chris Dodge
63fc2eecaf
drive by fix to get proper error handling
2013-03-21 16:32:58 -04: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
Brian Talbot
caae29a8ac
studio - fixing a default mixin value used when defining font-size for elements
2013-03-21 12:21:02 -04:00
Christina Roberts
e8401cf2bb
Merge pull request #1643 from MITx/fix/btalbot/studio-sasscleanup
...
Studio Sass Cleanup
2013-03-21 08:45:48 -07: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
jmclaus
d763a6fc3a
CSS from JSME doesn't affect surrounding content now
2013-03-21 12:19:40 +01: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
Diana Huang
204f89d4dc
Make sure we are still showing the
...
message when we are queued as well.
2013-03-20 17:16:04 -04:00
Brian Talbot
2876554cd7
Merge branch 'master' into fix/btalbot/studio-sasscleanup
2013-03-20 17:09:38 -04:00
Will Daly
7a282a9c54
Edited comments, ran pep8
2013-03-20 17:08:19 -04:00
Will Daly
f69778b367
Changed lettuce test log_in step to log in programatically
...
rather than using the login dialog.
2013-03-20 17:08:19 -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