Commit Graph

5666 Commits

Author SHA1 Message Date
David Baumgold
ac4caf0b59 Merge pull request #2969 from edx/db/fix-mkdir-error
Mongo modulestore: create data dir
2014-03-18 16:52:35 -04:00
Diana Huang
865496cc2e Merge pull request #2973 from edx/diana/ab-import-export
Fix split_test import and export.
2014-03-18 15:41:25 -04:00
Diana Huang
6f7c73cd4f Fix split_test import and export.
LMS-2405
2014-03-18 14:15:13 -04:00
David Baumgold
a564d4d9bf Ensure that mongo modulestore can create its data directory if it does not exist on disk 2014-03-18 09:38:08 -04:00
Valera Rozuvan
0f0b2622eb Merge pull request #2942 from edx/valera/start_introduction_of_jslint
Start introduction of JSLint for JavaScript
2014-03-18 08:34:39 +02:00
Calen Pennington
c4c998b55a Merge pull request #2954 from cpennington/pure-xblocks-progress-page
Fix LMS-2349 (Progress page broken for pure xblocks)
2014-03-17 12:01:30 -04:00
Valera Rozuvan
54d1af1679 Update 10_main.js
Removing JSLint configuration.
2014-03-17 17:30:31 +02:00
Calen Pennington
a5498bcbd7 Make progress page work with pure xblocks
[LMS-2349]
2014-03-17 10:45:14 -04:00
Dave St.Germain
2a20b3f67e This fixes LMS-2387 by removing a resize call that prevented scrolling.
It also enables syntax highlighting for matlab input fields, which
wasn't previously enabled.
2014-03-17 10:35:53 -04:00
Don Mitchell
e13d167045 Merge pull request #2918 from edx/dhm/meld_pretty_factory
Dhm/meld pretty factory
2014-03-17 09:44:19 -04:00
Valera Rozuvan
9d21d75f6e Initial commit. 2014-03-17 08:12:45 +02:00
Alexander Kryklia
dd20e84c84 Fix donwload subs for non youtube videos and non-en language.
Check for status in test.
Add test for track url.
Fix test to use cookie.
Use download_track in feature file.
Add new tests for get_transcript.
Add html5 test.
Add content check.
Add tests for available_translations dispatch.
Disable flaky cms test.
Add  w/o english transcript tests.
Add to changelog.
2014-03-14 18:30:42 +02:00
Alexander Kryklia
e457135ee7 Merge pull request #2931 from edx/alex/allow_uppercase_srt_extension
Allow uppercase transcripts srt extension.
2014-03-13 18:27:35 +02:00
Alexander Kryklia
7fe675b1d0 Allow uppercase transcripts srt extension. 2014-03-13 17:06:17 +02:00
Andy Armstrong
58483c0649 Fix split_test xblock so that it can render in Studio
This change addresses STUD-1403 where split_test modules could not render in Studio.
It changes Studio to pass a new parameter 'runtime-type' of 'studio' when rendering
 an xblock. In split_test, this will then cause all of the children to be rendered,
 rather than just the one that matches the conditional.
2014-03-12 17:21:04 -04:00
Andy Armstrong
6d2cd987dc Merge release-2014-03-12 back to master.
https://edx-wiki.atlassian.net/wiki/display/ENG/Release+Page%3A+2014-03-12
2014-03-12 16:07:00 -04:00
Don Mitchell
fedc06806d Test schema is set in each collection 2014-03-12 15:15:47 -04:00
Don Mitchell
0895e90ab8 Generate split test data via split 2014-03-12 15:15:47 -04:00
Giulio Gratta
e555a2d9f9 Merge pull request #2851 from edx/giulio/high-a11y-issues-mar2014
High priority a11y issues march 2014
2014-03-12 09:28:02 -07:00
Don Mitchell
542b146f2f Split: add schema version and drop pretty_id (was placeholder looking for purpose)
STUD-1359
2014-03-12 11:30:44 -04:00
ichuang
21ac2e4cc9 Merge pull request #2667 from edx/fix/ichuang/infinity
add infinity symbol to calc preview
2014-03-11 22:10:35 -04:00
Valera Rozuvan
28bdb0bb3e Merge pull request #2822 from edx/valera/convert_collapsible_to_js
Converting Collapsible module to JS.
2014-03-11 22:53:28 +02:00
Dave St.Germain
5e4c25dd82 Merge pull request #2894 from edx/dcs/a11y-restore-outline
Remove outline:none to assist keyboard navigation
2014-03-11 14:33:37 -04:00
Dave St.Germain
6d9ca6008c Remove outline:none 2014-03-11 14:33:04 -04:00
Anton Stupak
d64049c4c3 Merge pull request #2901 from edx/anton/fix-video-in-flash-mode
Video: Fix issues related to videos that have separate YouTube IDs for the different video speeds.
2014-03-11 20:32:12 +02:00
polesye
ddf41ce9c5 BLD-915: Fix issues with different videoIDs. 2014-03-11 20:21:06 +02:00
Giulio Gratta
61a4aaa9a9 raise contrast of 'points possible' text to WCAG AA 2014-03-11 11:05:42 -07:00
Andy Armstrong
750640b6f0 Merge pull request #2902 from edx/usman/lms2136-wiki-slug-renamespacing-fix
Do not remap the wiki_slug if reimporting into the same course.
2014-03-11 13:08:03 -04:00
Sarina Canelake
e6c9a6c9d9 Merge pull request #2889 from edx/sarina/fix-abtest-for-sequentials
Bugfix for split test on sequential save
2014-03-11 11:59:17 -04:00
Usman Khalid
cb2243a495 Do not remap the wiki_slug if reimporting into the same course.
LMS-2136
2014-03-11 20:47:21 +05:00
polesye
43c16bd093 BLD-915: Fix issues with different videoIDs. 2014-03-11 17:38:29 +02:00
Valera Rozuvan
481253d6ec Merge pull request #2893 from edx/valera/add_missing_comment
Add a missing comment documenting the changes done in PR 2841.
2014-03-11 17:11:53 +02:00
Sarina Canelake
119ffd4677 Bugfix for split test on sequential save
Bug would occur when comparing Groups or UserPartitions - because these types
lacked comparator methods, different objects would come up as different when
their values were equal.
2014-03-11 10:51:39 -04:00
Don Mitchell
adb7fbcb4b Merge pull request #2849 from edx/dhm/split_course_id
Make course_id a required arg to split.create_course
2014-03-11 10:22:46 -04:00
Sarina Canelake
e3a70ce6df Fix for CourseFactory bug - course object not saved after setattr called 2014-03-11 10:00:42 -04:00
Valera Rozuvan
fc4686b8e2 Add a missing comment documenting the changes done in PR 2841. 2014-03-11 15:20:59 +02:00
Valera Rozuvan
1136336fc4 Converting collapsible module to JavaScript. 2014-03-11 11:28:46 +00:00
Valera Rozuvan
cf47f522c0 Fix Firefox YouTube default Flash mode
BLD-895
2014-03-11 10:47:47 +00:00
Calen Pennington
31a070d480 Merge remote-tracking branch 'edx/release' into merge-release-2014-03-10
Conflicts:
	cms/envs/common.py
	lms/envs/common.py
2014-03-10 16:21:08 -04:00
Calen Pennington
0a79b30ec4 Delay import of xmodule packages until after sys.path fixup 2014-03-10 12:04:00 -04:00
Calen Pennington
760027bd2a Normalize the representation of Scope.content data in MongoModulestore FieldData
Without this, the new 'items' field in the course_info xmodule caused
bizarre behavior. If you added the text 'items' to a course_info
section, then the LMS would throw a 500, because the field name isn't
'data', but the stored data is a string, leading to the check of
`key.field_name in self._data`, where key.field_name is the string 'items',
and self._data is the content string.
2014-03-10 12:01:57 -04:00
ichuang
171650d253 Merge pull request #2870 from edx/bugfix/ichuang/capa-display-status
fix capa textline display to leave "inline" alone upon status change
2014-03-10 10:47:47 -04:00
ichuang
c543dbb695 Merge pull request #2869 from edx/bugfix/ichuang/textline-inline-for-jspre
fix capa textline to properly use inline if specified when using math preprocessor
2014-03-10 10:47:01 -04:00
ichuang
cac669364f more robust capa math preprocessor test, and new test for inline 2014-03-10 09:52:25 -04:00
jmclaus
76de7f6055 Merge pull request #2855 from edx/anton/fix-fullscreen-in-flash
Fix video resizing in Flash mode.
2014-03-10 14:08:18 +01:00
Usman Khalid
d335713da5 Export CourseDescriptor wiki_slug field to xml.
LMS-2136
2014-03-10 16:13:18 +05:00
Usman Khalid
8f3cfa5a5f When creating a course in studio set a unique wiki_slug for it.
Currently wiki_slug is set to course number. However, since multiple
courses can have the same number this may lead to clashes. So wiki_slug
will be set to org.course.name. To maintain the active wiki_slugs for
xml courses this cannot be changed in the CourseDescriptor.

LMS-2136
2014-03-10 16:13:18 +05:00
Usman Khalid
3c55c91c5a Added get_courses_for_wiki(self, wiki_slug) to mongo, xml and mixed modulestores.
This method returns a list of courses which use the particular wiki_slug. It is used for
checking permissions in the course_wiki app.

LMS-2136
2014-03-10 16:13:17 +05:00
Don Mitchell
98c66d9035 Added get_courses_for_wiki method.
LMS-2136
2014-03-10 16:13:17 +05:00
polesye
07ed368505 BLD-905: Fix video resizing in Flash mode. 2014-03-09 12:36:17 +02:00