Don Mitchell
d1ed6fbc34
More xblock.save() calls to handle fields set during inits
2013-07-29 09:08:37 -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
Calen Pennington
76055aa211
Add a manage.py command that understands the extra edX options
2013-07-24 09:04:12 -04:00
Adam
420b092033
Merge pull request #467 from edx/fix/adam/file-upload
...
Fix/adam/file upload
2013-07-23 15:05:18 -07:00
Diana Huang
86ee2bca7a
Merge branch 'release'
...
Conflicts:
lms/djangoapps/courseware/tests/test_views.py
2013-07-23 17:57:07 -04:00
Diana Huang
2926c94330
Prevent XSS attack via submission_history page.
...
Conflicts:
lms/djangoapps/courseware/tests/test_views.py
2013-07-23 17:23:59 -04:00
Chris Dodge
c5ef8dc526
add line break between arguments
2013-07-23 12:15:56 -04:00
Chris Dodge
f78e3a221b
fix fat finger string formatting
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
63c5cfda94
add comment and fix mistake in test
2013-07-23 12:10:49 -04:00
Chris Dodge
1c79b9c874
add a /jump_to_id/ shortcut for producing more durable links between courseware in Studio
2013-07-23 12:10:49 -04:00
chrisndodge
8c94be8083
Merge pull request #436 from edx/fix/cdodge/stop-using-unmunged-urlnames-as-display-names
...
change from_xml class method on video class to make sure we honor the fa...
2013-07-23 08:33:27 -07:00
Alexander Kryklia
1eaba8b0b4
Merge pull request #41 from edx/alex/word_cloud_course_factory
...
Word cloud tests
2013-07-23 04:47:38 -07:00
Adam Palay
af522af2ca
formatting
2013-07-22 17:39:11 -04:00
Renzo Lucioni
1fc4ac864e
Add feature showing current score next to problem title
2013-07-19 16:14:24 -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
Joe Blaylock
044a69d63d
Merge pull request #52 from edx/nate/simple-chat
...
Simple port of Class2Go's chat feature
2013-07-19 10:10:32 -07:00
Ned Batchelder
66ca7d750e
Merge pull request #411 from edx/ned/studentmodulehistory-cleaner-command
...
Ned/studentmodulehistory cleaner command
2013-07-19 08:33:37 -07:00
Joe Blaylock
50c906732f
Chat rebase, test update
...
Rebase on today's master and update to unit test to include settings
where needed.
2013-07-18 15:00:54 -07:00
Nate Hardison
293bd30a59
Use chat settings when deciding whether to render
...
Only render the chat widget if both the site has enabled it in the
`MITX_FEATURES` and if the course has enabled it. In addition, fail
gracefully with a log warning if the `JABBER_DOMAIN` is not set, and
do not try to render the widget. However, do go ahead and render the
rest of the courseware.
2013-07-18 15:00:54 -07:00
Nate Hardison
f4ae0e0cae
Test generation of chat settings
...
Ensure that the chat connection settings are generated properly for
the template context.
2013-07-18 15:00:54 -07:00
Nate Hardison
bf8e5e6ba1
Simple port of Class2Go's chat feature
...
Embed a chat widget (much like the calculator widget) into the
courseware. To use, you must point it at an ejabberd box,
configured as `JABBER_DOMAIN` in the settings.
2013-07-18 15:00:53 -07:00
Sarina Canelake
7615a0638b
Merge pull request #310 from robertjmarks/master
...
Adds in changes for stat2.3x question type
2013-07-18 13:44:00 -07: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
Sarina Canelake
f0c9aa3916
Provide set_many methods for Lms and Mongo KeyValueStores
...
Refactor new set_many and update XBlock version number.
2013-07-18 15:30:13 -04:00
RobertMarks
4d880db1b5
Updated behavior for split_answer_dict, get_score, and check_student_inputs (responsetypes.py)
2013-07-18 10:18:53 -07:00
RobertMarks
46ae2f9c26
Added support for a new problem type: ChoicetextResponse
2013-07-18 10:12:56 -07:00
Ned Batchelder
900e794c02
Only quiet the particular logger we think is too noisy.
2013-07-18 11:53:21 -04:00
Ned Batchelder
3d67c506a3
Use TransactionTestCase, to keep other tests from failing, even though it slows them down.
2013-07-18 11:16:46 -04:00
Ned Batchelder
10f062cf18
Records should be sorted by created,id so that timestamp ties will be broken by id.
2013-07-18 11:16:46 -04:00
Ned Batchelder
83cb3d1924
Add batch and sleep arguments so we can control the speed from the command line.
2013-07-18 11:16:46 -04:00
Ned Batchelder
3a49136f03
Quiet some debug output, get transactions right.
2013-07-18 11:16:46 -04:00
Ned Batchelder
07aad29684
The clean_history management command to remove excess courseware_studentmodulehistory records.
2013-07-18 11:16:46 -04:00
Don Mitchell
6dda90f6f8
Merge pull request #419 from edx/dhm/template_acceptance
...
Missing comma on template -> category refactoring
2013-07-17 10:13:58 -07:00
Adam Palay
dfa435012b
notify students for NotFoundErrors from capa_module, improve error logging
2013-07-17 11:03:47 -04:00
Don Mitchell
5b367e8321
Missing comma on template -> category refactoring
...
And several pep8 changes
2013-07-17 09:22:34 -04:00
Alexander Kryklia
813c22d138
Adds integration tests for word_cloud module
2013-07-17 14:57:32 +03:00
Don Mitchell
be4fbc562e
Refactor tests to no longer use templates
...
Add boilerplate option to ItemFactory
Minor start date fix to not use microsecs
2013-07-16 16:00:28 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
Don Mitchell
ef8618f7ad
Make DraftModuleStore mongo only
...
DraftModuleStore was originally designed as a mixin, but never used that
way, and with the upcoming changes to use the versioned module store,
never will be. This changes removes a circular dependency between
mongo.py and draft.py.
2013-07-16 08:55:26 -04:00
JonahStanley
484e217de3
Fixed some errors
2013-07-12 10:32:48 -04:00
JonahStanley
1f1bba5507
Scenario Dictionary now holds objects
2013-07-12 10:32:48 -04:00
JonahStanley
131f1a49c4
All lms acceptance tests refactored to use world dictionaries
2013-07-12 10:32:47 -04:00
JonahStanley
35094a968b
Beginnings of refactoring the acceptance tests
2013-07-12 10:32:45 -04:00
JonahStanley
c37a9e3e23
Refactored problem_setup to use retry_on_exception
2013-07-12 09:28:51 -04:00
JonahStanley
b4036c66cf
Refactored the ui tests to use retry_on_exception
2013-07-12 09:28:50 -04:00
JonahStanley
ebc9fa9e2a
Made a retry_on_exception world function that will retry the given function
2013-07-12 09:28:50 -04:00
JonahStanley
f1dd81a67a
Refactored LMS so all potential stale element exceptions are avoided
2013-07-12 09:28:49 -04:00
JonahStanley
676da2d592
Removed set trace
2013-07-11 10:12:10 -04:00