Calen Pennington
99f9894f1c
Switch LMS over to using XBlock rendering commands
...
This makes the LMS use an XBlock's student_view, rather than an
XModule's get_html to render for display. However, it does not yet use
wrap_child to handle instructor debug information or url rewriting.
[LMS-219]
2013-07-31 09:22:10 -04:00
Adam Palay
2efcb0cdca
Change default names for various LMS components
...
Embedded discussion component defaults to "Discussion"
Blank HTML page defaults to "Text"
Video component defaults to "Video"
These default names show up in tooltips.
2013-07-25 10:38:47 -04:00
Chris Dodge
c5ef8dc526
add line break between arguments
2013-07-23 12:15:56 -04:00
Chris Dodge
345d2af540
address review feedback
2013-07-23 12:15:56 -04:00
Chris Dodge
e24eb3e4eb
added explicit unit test to verify the link rewriting
2013-07-23 12:15:55 -04:00
Chris Dodge
22802a4d29
change from_xml class method on video class to make sure we honor the fact that the xml string could actually be a pointer to another file on disk which actually contains the attributes
2013-07-19 13:54:22 -04:00
Diana Huang
3f9431e8cf
Provide implicit saves for XBlocks and XModules.
...
Update existing tests and provide new ones to test new paradigm.
2013-07-18 16:37:34 -04:00
JonahStanley
676da2d592
Removed set trace
2013-07-11 10:12:10 -04:00
JonahStanley
7fb5f505d6
Refactored out full from the lms tests
2013-07-11 10:12:06 -04:00
Jean Manuel Nater
72b4561e3a
Moved xml_store_config, mongo_store_config, and draft_mongo_store_config to xmodule/modulestore/tests/django_util.py
...
Removed some repeated instances of xml_store_config.
Reverted some changes to mongo_store_config so each modulestore gets it's own uuid.
2013-07-01 14:45:53 -04:00
Ned Batchelder
61b53713d2
Remove unused imports from lms, as detected by pylint.
2013-06-19 16:56:34 -04:00
Greg Price
37ec01dd8d
Handle ItemNotFoundError from the modulestore to avoid 500 errors
2013-05-16 16:50:03 -04:00
cahrens
16f4a3f9c1
Convert due date to a Date (vs. a string with no year).
2013-04-01 11:37:05 -04:00
Brian Wilson
c639799a07
fix missing import
2013-03-27 18:12:48 -04:00
Brian Wilson
bb7bc88847
merge out from master
2013-03-27 18:04:58 -04:00
Brian Wilson
99778b1b5b
add fixes for 500 bugs (lighthouse 287 and 293) by requiring login for accessing licenses and inline discussions. Add unit tests for licenses, and rearrange tests based off of (the former) PageLoad. Also cleanups for pylint and pep8.
2013-03-27 17:59:56 -04:00
Calen Pennington
2c0e5b82ff
Return a 403 when an anonymous user attempts to hit modx_dispatch. Fixes https://www.pivotaltracker.com/story/show/46916015 and https://www.pivotaltracker.com/story/show/46916029
2013-03-27 07:29:22 -04:00
Calen Pennington
6b64b4214f
Make relative imports explicitly relative
2013-03-15 11:23:22 -04:00
Calen Pennington
8a9ba79d1f
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
...
Conflicts:
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
common/lib/xmodule/xmodule/peer_grading_module.py
2013-03-06 12:15:07 -05:00
Jay Zoldak
b0a018195a
Pep8 fixes for tests
2013-03-05 11:53:00 -05:00
Jay Zoldak
cee24c5cb2
Import existing UserFactory
2013-03-05 11:18:07 -05:00
Will Daly
437aadb28e
Cleaned up some tests; deleted skip tests
2013-03-05 09:32:20 -05:00
Will Daly
faf5c3f0a2
Updated Deena's tests after merge with master to ensure that none
...
of the tests fail. Deleted some tests.
2013-03-05 09:10:02 -05:00
Deena Wang
d9fdccb567
testing testing tests
2013-01-29 14:23:55 -05:00
Deena Wang
7918c35414
fixing up tests
2013-01-28 15:29:55 -05:00
Deena Wang
9663973038
more tests for courseware/views
2013-01-24 14:59:46 -05:00
Deena Wang
61e12f57e7
experimenting with creating a course
2013-01-24 09:59:33 -05:00
Deena Wang
ca185c034f
Merge branch 'feature/deena/testing' of https://github.com/MITx/mitx into feature/deena/testing
...
Conflicts:
lms/djangoapps/courseware/tests/test_module_render.py
2013-01-23 10:50:37 -05:00
Jay Zoldak
26ee9a24ef
Add test for TOC rendering
2013-01-22 15:15:47 -05:00
Deena Wang
6e773909e4
added test_views
2013-01-22 10:36:05 -05:00
Deena Wang
1565cd5bd3
Test cases for lms/djangoapps/courseware/module_render in test_module_render
2013-01-18 14:44:17 -05:00