Commit Graph

11255 Commits

Author SHA1 Message Date
Don Mitchell
d85f7ac9be Merge pull request #1645 from MITx/feature/cdodge/pylint-cleanup
Feature/cdodge/pylint cleanup
2013-03-11 12:10:05 -07:00
Chris Dodge
4ec3683c3c clean up some pylint violations 2013-03-11 14:57:04 -04:00
Chris Dodge
26f4424581 clean up some pylint violations 2013-03-11 14:55:37 -04:00
Chris Dodge
78c8358957 clean up pyling violations from views.py 2013-03-11 14:51:44 -04:00
David Ormsbee
0605c94113 Merge pull request #1636 from MITx/feature/brian/htmlbook
Initial implementation of htmlbook.
2013-03-11 11:38:46 -07:00
Brian Wilson
53f85f2a07 return empty list if no html or pdf textbook appears in policy.json 2013-03-11 13:52:43 -04:00
David Ormsbee
aceb666076 Merge pull request #1642 from MITx/fix/rocha/numericresponse-exponential
Make numeric response handle plus sign exponential correctly
2013-03-11 10:03:44 -07:00
Christina Roberts
ce1807b735 Merge pull request #1641 from MITx/fix/cdodge/delete-not-removing-parent-reference
delete_item should update the parent's list of children to reflect the d...
2013-03-11 10:00:39 -07:00
Carlos Andrés Rocha
5f95c6848c Make numeric response handle plus sign exponential correctly
NumericResponse was failing to accept as correct an answer with a plus
sign in the exponential. For example: 5.0e+1 was marked as incorrect
if the answer was 50. However, 5.0e1 was marked as correct. This
caused confusion, since the answer shown to students included the plus
sign.

LMS Lighthouse [#242]
2013-03-11 12:53:01 -04:00
Calen Pennington
81527d60d8 Move pep8 and pylint into test suite, so that we can rachet down the number of violations 2013-03-11 12:27:56 -04:00
Brian Wilson
cd95872b52 htmlbook-specific styling to make Heroes text presentable. 2013-03-11 11:56:48 -04:00
David Ormsbee
7806acc7cb Merge pull request #1638 from MITx/feature/diana/show-correctness
Add the ability to hide correctness markers
2013-03-11 08:14:18 -07:00
Brian Wilson
2199ae673b add checks that book_index is in range 2013-03-11 11:10:08 -04:00
Calen Pennington
fcc3113bbf Merge pull request #1637 from MITx/fix/cdodge/performance-optimize-comment-client-use-jumpto
Fix/cdodge/performance optimize comment client use jumpto
2013-03-11 08:02:28 -07:00
Chris Dodge
d38b37f0b4 delete_item should update the parent's list of children to reflect the delete operation. Also added unit test 2013-03-11 10:47:22 -04:00
Brian Wilson
fcb618f04e fix basic alignment issue with html textbook display 2013-03-11 10:38:32 -04:00
e0d
5b0849d4fc Merge pull request #1640 from MITx/feature/cale/specify-ruby-1.9.3
Specify that mitx should use ruby 1.9.3-p374 for consistancy with prod
2013-03-11 07:37:58 -07:00
Calen Pennington
a1febce86b Specify that mitx should use ruby 1.9.3-p374 for consistancy with prod 2013-03-11 10:33:09 -04:00
Diana Huang
421e169e1e Update tests with new attributes. 2013-03-11 10:29:18 -04:00
David Ormsbee
43ec6eaa52 Merge pull request #1639 from MITx/feature/dave/delft_logo
Update of Delft logo (lighthouse ticket #234)
2013-03-11 07:21:55 -07:00
David Ormsbee
a8ff7911f6 Update of Delft logo (lighthouse ticket #234) 2013-03-11 10:21:03 -04:00
Diana Huang
0c949d20c9 Add the ability to hide correctness markers
with a custom message for when they submit something.
2013-03-11 10:12:33 -04:00
Chris Dodge
cbcda0fc65 oops didn't mean to commit the test API key 2013-03-10 11:14:25 -04:00
Chris Dodge
18ee1018e6 optimize forum page rendering as we don't pre-compute the link urls to inline discussions. We can use jump_to urls and then figure out the link path if/when end-user clicks on it. This saves a lot of unnecessary round trips to the DB as path computation is expensive, especially when it being done for every discussion module in a course in a loop. 2013-03-10 11:11:17 -04:00
Brian Wilson
bed7dbdb6b fix plumbing for anchors and chapters. 2013-03-08 18:25:33 -05:00
Carlos Andrés Rocha
fb407e3cb8 Merge pull request #1633 from MITx/fix/will/choicegroup_html_render_error
Fixed undefined variable error in choicegroup.html
2013-03-08 14:30:59 -08:00
e0d
7eee7a0d2a Merge pull request #1635 from MITx/fix/cale/handle-grading-json-breakage
Set grading policy to an empty dict if it can't be decoded from json
2013-03-08 12:47:37 -08:00
Calen Pennington
8bb0c64ff9 Set grading policy to an empty dict if it can't be decoded from json 2013-03-08 15:36:19 -05:00
Don Mitchell
3d9878515e Merge pull request #1634 from MITx/bug/christina/advanced-settings
Need to trigger invalid instead of error, after changes for new version ...
2013-03-08 12:03:51 -08:00
cahrens
f5dd5d35e9 Need to trigger invalid instead of error, after changes for new version of Backbone. 2013-03-08 14:51:29 -05:00
Will Daly
607f27e715 Fixed undefined variable error in choicegroup.html 2013-03-08 14:06:45 -05:00
Christina Roberts
5eb43a627c Merge pull request #1632 from MITx/fix/zoldak/lettuce-click
Fix lettuce tests so all studio ones are working and faster
2013-03-08 11:04:50 -08:00
Jay Zoldak
c5a9ec5e86 Speed up the lettuce test for no policy settings. 2013-03-08 13:34:28 -05:00
Jay Zoldak
3c3f6c3cbe Revert lettuce css_find function to not fail if it does not find the element. 2013-03-08 13:34:28 -05:00
Calen Pennington
d9b68e2de2 Merge pull request #1628 from MITx/feature/cale/heartbeat-metrics
Add datadog metrics capture around heartbeat timing
2013-03-08 08:59:44 -08:00
Calen Pennington
fab07597d2 Use https to talk to rubygems 2013-03-08 11:59:02 -05:00
Christina Roberts
849e8d6cdc Merge pull request #1630 from MITx/fix/zoldak/lettuce-click
Fix lettuce tests to work with phantomJS
2013-03-08 08:23:01 -08:00
Jay Zoldak
55eefd0ef6 Fix test that sets release date to work on all platforms 2013-03-08 11:15:15 -05:00
Jay Zoldak
24d088933e Fix intermittent lettuce test failure on ubuntu. 2013-03-08 11:15:15 -05:00
Jay Zoldak
1f30baabfd Change default browser for lettuce back to chrome. 2013-03-08 11:15:14 -05:00
Jay Zoldak
21e7bc5128 More robust handling for finding and clicking on objects by css.
Tag tests not working under PhantomJS to skip for now.
2013-03-08 11:15:14 -05:00
Jay Zoldak
b66d0cf5da Fix signup test on ubuntu 2013-03-08 11:15:14 -05:00
Jay Zoldak
ad5d2a9624 Update update_templates reference 2013-03-08 11:15:14 -05:00
Jay Zoldak
e84fa63826 Catch WebDriverException 2013-03-08 11:15:14 -05:00
Jay Zoldak
21c15d8f1f Click in the upper left of an element instead of the middle. 2013-03-08 11:15:14 -05:00
Jay Zoldak
3cec8f1a76 Catch WebDriverException 2013-03-08 11:15:14 -05:00
Jay Zoldak
b9e5ed9525 Click in the upper left of an element instead of the middle. 2013-03-08 11:15:14 -05:00
Calen Pennington
ae610aebaa Set the dogapi version 2013-03-08 10:48:55 -05:00
Calen Pennington
cd802d8e14 Add datadog metrics capture around heartbeat timing 2013-03-08 10:36:59 -05:00
Jay Zoldak
e7bf05ea54 Merge pull request #1627 from MITx/fix/will/update_correctmap_npoints_test
Updated tests for correct_map to match changes made to get_npoints
2013-03-08 07:29:34 -08:00