Commit Graph

28558 Commits

Author SHA1 Message Date
David Adams
d821ac77f3 Merge pull request #2737 from edx/dcadams/fix_tinymce
Fixes tinymce bug:
2014-03-05 13:20:37 -08:00
Alison Hodges
6689b3f4e4 Merge pull request #2826 from edx/ahodges/documentation.imageconversion
Converted 104 existing gif files to png format
2014-03-05 15:52:25 -05:00
cahrens
4ec669c855 Slightly reorder the toolbar buttons so that the image button is more likely to be visible.
Hopefully we will get a better solution with the TinyMCE upgrade PR.
2014-03-05 15:44:51 -05:00
Alison Hodges
68d4248a0e Converted 104 existing gif files to png format 2014-03-05 15:24:33 -05:00
Don Mitchell
e915a32aed xblock save only affects draft
Fix test which caused error
2014-03-05 14:40:36 -05:00
Don Mitchell
41f5159b37 Test special code paths in create_item 2014-03-05 14:40:35 -05:00
Don Mitchell
71ac844120 Add tests for get_orphans 2014-03-05 14:40:35 -05:00
Don Mitchell
e972b23064 Requesting an xmodule field in wrong app context raises exception rather than assertion 2014-03-05 14:40:35 -05:00
Don Mitchell
563b713a3f Test exception on read-only db 2014-03-05 14:40:35 -05:00
Don Mitchell
aecc037e2d pylint and pep8 fixes 2014-03-05 14:40:35 -05:00
Don Mitchell
fc1ca7b3a2 No longer create loc maps on create_(item|course) 2014-03-05 14:40:35 -05:00
Don Mitchell
dcc6f54409 Change get_courses default branch to draft.
We need to figure out how apps configure what default they want or ensure they get the one they want
2014-03-05 14:40:34 -05:00
Don Mitchell
aab5e0441b Mixed modulestore handles most modulestore functions, cont. 2014-03-05 14:40:34 -05:00
Don Mitchell
371ecb08e8 Better sorting of stores for get_courses
May apply to all store ordering
2014-03-05 14:40:34 -05:00
Don Mitchell
43df25d42b Point to prefer_xmodules new locn 2014-03-05 14:40:34 -05:00
Don Mitchell
f371c4f5ae Pass user id to update_item 2014-03-05 14:40:34 -05:00
Don Mitchell
c9285de433 unicode correctly and understandably 2014-03-05 14:40:33 -05:00
Don Mitchell
ca0dd8390f Mixed no longer translates 2014-03-05 14:40:33 -05:00
Han Su Kim
d2c147bfc4 Merge pull request #2824 from cpennington/rc-ab-tests
A/B Test Module
2014-03-05 14:38:10 -05:00
Don Mitchell
432249e9cf making mixed ms capable of front ending all modulestores for most operations including CRUD
STUD-600
2014-03-05 14:32:56 -05:00
David Adams
d45251164e Fixes tinymce bug:
On using the image plugin, the image was not appearing in the
    visual editor immediately after using the command.

    Selenium test added.
2014-03-05 11:30:32 -08:00
Christina Roberts
cc8594acd2 Merge pull request #2807 from edx/christina/containers
Support xblocks with children on the container page.
2014-03-05 13:57:34 -05:00
Diana Huang
bce7d9e43d Add tests and clean up A/B testing
Also fixes STUD-1351
2014-03-05 13:46:03 -05:00
Calen Pennington
2d5c37b2a0 Track renders of split_test children
[LMS-2098]
2014-03-05 13:45:08 -05:00
Calen Pennington
d101933617 Add course tags to all events where a course-id can be extracted from the url
[LMS-2105]
2014-03-05 13:45:08 -05:00
Victor Shnayder
281ad63d2b split testing support in the LMS.
Adds a split_test_module XModule, that can choose one of its children
to display, based on a get_condition_for_user API added to the runtime.

To test, add something like this to an xml course, or make equivalent
 tweaks in mongo.

 <vertical url_name="split_test_vert">
    <split_test url_name="split1" experiment_id="0" condition_id_to_child='{"0": "i4x://MITx/6.00x/html/split_test_cond0", "1": "i4x://MITx/6.00x/html/split_test_cond1"}'>
       <html url_name="split_test_cond0">condition 0</html>
       <html url_name="split_test_cond1">condition 1</html>
    </split_test>
  </vertical>

Also needs an experiment configured in the course policy json: e.g.

        "user_partitions": [{"id": 0,
                                      "name": "Experiment 0",
                                      "description": "Unicorns?",
                                      "version": 1,
                                      "groups": [{"id": 0,
                                                        "name": "group 0",
                                                        "version": 1},
                                                        {"id": 1,
                                                        "name": "group 1",
                                                        "version": 1}]}]

(This particular snippet will work inside a course with org MITx
 and course name 6.00x)

Co-Author: Sarina Canelake <sarina@edx.org>
Co-Author: Julia Hansbrough <julia@edx.org>
Co-Author: Diana Huang <diana@edx.org>
Co-Author: Calen Pennington <cale@edx.org>

[LMS-2095]
2014-03-05 13:45:08 -05:00
cahrens
653df428f1 Improve code clarity. 2014-03-05 12:59:09 -05:00
cahrens
9b2a78b12d Increase max-width for breadcrumb trail. 2014-03-05 12:06:37 -05:00
cahrens
efe3833a30 Use display_name_with_default instead of display_name. 2014-03-05 12:01:24 -05:00
Dave St.Germain
72e876fe40 Prevent reflected XSS in instructor dashboard. 2014-03-05 11:45:45 -05:00
Han Su Kim
cd42c91726 Merge pull request #2818 from edx/alex/allow_html_in_grader_msg
Allow HTML in grader messages.
2014-03-05 11:25:31 -05:00
Han Su Kim
5e14d045b6 Merge pull request #2814 from gsehub/xblock-mentoring
xblock-mentoring: Add repository to requirements & installed apps
2014-03-05 11:22:05 -05:00
Xavier Antoviaque
0864d57588 Activate XBlocks by default in LMS & Studio 2014-03-05 12:19:27 -04:00
Xavier Antoviaque
3856257e80 xblock-mentoring: Add repository to requirements & installed apps
Adding to installed Django applications is required due to the use
of a Django model by the XBlock
2014-03-05 12:19:24 -04:00
Mark Hoeber
edafb7c09a Merge pull request #2800 from edx/ahodges/documentation/reformatevents
Reformatted event type info to get it out of wide tables
2014-03-05 11:04:55 -05:00
Alison Hodges
cefb47669a Reformatted event type info to get it out of wide tables 2014-03-05 11:02:50 -05:00
Alexander Kryklia
c7785d8f54 Allow HTML in grader messages. 2014-03-05 17:24:55 +02:00
Han Su Kim
b0a4cc7aaf Merge pull request #2817 from edx/jarv/update-js-draw-commit
updating commit
2014-03-05 10:23:15 -05:00
John Jarvis
955950164a updating commit 2014-03-05 10:21:46 -05:00
Jay Zoldak
ad714a1435 Merge pull request #2517 from ionis-education-group/remove-video-autoplay
Remove autoplay for video in course about page
2014-03-05 10:19:52 -05:00
Alexander Kryklia
6772faa0a5 Merge pull request #2796 from edx/alex/no_default_subs_en
Catch exception if for en no default subs is uploaded.
2014-03-05 16:49:54 +02:00
Ned Batchelder
f5eb5286a2 Merge pull request #2802 from ionis-education-group/gender-education-translation
Translate gender and education level from user profile
2014-03-05 07:35:54 -05:00
cahrens
0dbabc7ad8 Support xblocks with children on the container page.
STUD-1363
2014-03-04 17:11:01 -05:00
John Jarvis
40fbbdf1e4 Merge pull request #2804 from edx/jarv/update-jsdraw-commit
updating commit
2014-03-04 16:49:38 -05:00
Jay Zoldak
469bf774b0 Merge pull request #2809 from edx/zoldak/bok-choy-coverage
Create coverage reports for bok choy tests in Jenkins
2014-03-04 16:42:36 -05:00
Jay Zoldak
810883c1ef Create coverage reports for bok choy tests in Jenkins 2014-03-04 15:36:03 -05:00
Han Su Kim
8e4b924bfc Merge pull request #2806 from edx/frances/fix/lms-modal-button
making LMS modal buttons more flexible to handle longer strings in trans...
2014-03-04 11:07:00 -05:00
Han Su Kim
5ddab10065 Merge pull request #2805 from edx/gprice/comment-edit-button-key-activation
Make forum comment buttons activate by keyboard
2014-03-04 11:06:44 -05:00
Frances Botsford
68a679b351 making LMS modal buttons more flexible to handle longer strings in translation, eg. French 2014-03-04 11:02:55 -05:00
Greg Price
b4caf75cbb Make forum comment buttons activate by keyboard
Neither edit nor delete activated on pressing the space key.
2014-03-04 10:42:07 -05:00