Diana Huang
2dbf9442a6
Revise course mode choose page.
...
LMS-2796
2014-06-16 14:08:40 -04:00
Jay Zoldak
b47e397d64
Merge pull request #4089 from edx/zoldak/courses-test
...
Fix the CoursePagesTest
2014-06-16 10:45:39 -04:00
Jim Abramson
c74b34c1a8
Merge pull request #4041 from edx/jsa/forums-search-users
...
implement forums endpoint for searching users.
2014-06-16 10:15:01 -04:00
Alexander Kryklia
e032ab1877
Add examples of html5 videos to docstrings.
2014-06-16 12:46:13 +03:00
jmclaus
27cdb6820f
Merge pull request #4084 from edx/jmclaus/i18n-formula-equation-input
...
FormulaEquationInput: i18n
2014-06-13 23:48:48 +02:00
jmclaus
c3520fa1e0
Merge pull request #4085 from edx/jmclaus/i18n-chemical-equation-input
...
ChemicalEquationInput: i18n
2014-06-13 23:48:07 +02:00
jmclaus
a14be4716d
Merge pull request #4087 from edx/jmclaus/i18n-matlab-input
...
MatlabInput: i18n
2014-06-13 23:44:06 +02:00
David Baumgold
290906acb0
Merge pull request #4094 from edx/db/http-stub-respond-to-HEAD
...
make our HTTP stub services respond to HEAD requests
2014-06-13 16:33:40 -04:00
Steven Burch
7c71725f11
Merge pull request #4008 from edx/stv/jsinput
...
Fix Jasmine tests for JSInput
2014-06-13 13:01:31 -07:00
David Baumgold
bafdb8ecb1
make our HTTP stub services respond to HEAD requests
2014-06-13 14:42:23 -04:00
stv
fd10fbf725
Fix JSInput scope leak
...
Declare variables locally
- The `allSections` variable was leaking into the global scope, due to a
typo in the declaration.
- `dataProcessed` can be declared more narrowly within the callback.
2014-06-13 11:04:24 -07:00
stv
cf14dee790
Fix JSInput test fixture
...
Clean up fixtures automatically between tests
- Nesting test fixture markup within a DIV allows Jasmine to
automatically restore the fixture to a clean state between each test
run.
Fix id attribute collision typo
- This looks like a copy/pasta gone wrong; the two test INPUT elements
were both declared with the same id, `input_1`.
Remove trailing whitespace
2014-06-13 11:04:24 -07:00
stv
bdf90bfcfb
Remove superfluous JSInput test
...
The behavior previously tested here was to check that if a JSInput
element was marked as not processed, re-walking the DOM *should* have
reinitialized it. Unfortunately, this behavior is not supported by the
underlying JSChannel library. In fact, if JSChannel detects an existing
channel with the same origin and scope, it throws an uncaught exception,
leaving the DOM in a "broken" state.
JSInput will prevent duplicates from being added, as long as we don't
manually update the `data-processed` attribute. This behavior is already
being tested.
2014-06-13 11:04:24 -07:00
stv
60a9e99871
Fix JSInput tests
...
Select DOM elements with wildcard syntax
- DOM lookups were being done with non-existent literal selectors, so it
was returning empty lists. As assertions were to be made while
iterating over the list of elements, nothing was actually being
verified.
- Common code has been centralized in the setup function. By declaring
CSS selectors once, we minimize the odds of inadvertently using the
wrong selector, as happened here.
- Had these tests actually been iterating over a non-empty list, this
would have thrown undefined exceptions. jQuery.each calls its handler
with an index and an item/object as the arguments. However, the object
is a DOM-object, not a jQuery-object. These tests break, as they had
assumed the latter.
2014-06-13 11:04:24 -07:00
stv
e2cab19084
Ensure JSInput tests actually run
...
This test currently fails, meaning that the existing tests weren't
testing what they claimed.
Assertions are made for each element returned by the CSS selectors.
However, the selectors are assumed to be wildcard matches, but are
actually literal selectors. As there are no matched elements, this
causes the assertions to be (silently) checked zero times, without
failure.
2014-06-13 11:04:24 -07:00
Muhammad Ammar
dc135e4398
Video Test Improvements
2014-06-13 14:52:04 +00:00
Jay Zoldak
b2c0e0584d
Fix the CoursePagesTest
2014-06-13 08:17:29 -04:00
jmclaus
5833af2489
MatlabInput: i18n
2014-06-13 14:01:09 +02:00
jmclaus
e7d3538c07
ChemicalEquationInput: i18n
2014-06-13 13:29:08 +02:00
jmclaus
f52c1d48de
FormulaEquationInput: i18n
2014-06-13 12:10:47 +02:00
Alexander Kryklia
eb8d45b97c
Fix incorrect video bok choy test.
2014-06-13 10:25:45 +03:00
Alexander Kryklia
6ea3c8cbdd
Fix failing test and update docstrings for video player
...
Fixes BLD-1115
2014-06-12 19:06:07 +03:00
Don Mitchell
ed2358ab04
Merge pull request #4063 from edx/dhm/mongo_tweaks
...
Fix wiki search query
2014-06-12 10:07:03 -04:00
Brian Talbot
14ad71f206
Merge pull request #3462 from edx/andya/source-maps
...
Update SASS ( 3.3.5), Bourbon ( 4.0.2), Neat (1.6.0)
2014-06-11 22:31:37 -04:00
Sarina Canelake
3adc2f0a2e
Fix opaque_keys imports from hotfixes
2014-06-11 21:32:41 -04:00
Sarina Canelake
7e36c35043
Merge branch 'release'
2014-06-11 21:30:05 -04:00
Brian Talbot
786655f890
correcting poorly scoped Sass variables set in xmodules' .scss files to adhere to Sass 3.3 scoping
...
see http://blog.sass-lang.com/posts/184094-sass-33-is-released for more information on 3.3+ variable scoping
2014-06-11 21:19:46 -04:00
Brian Talbot
02b0725456
correcting for Bourbon deprecated inline-block() mixin
2014-06-11 21:19:46 -04:00
Brian Talbot
71ea2fe27b
updating static common/static/sass bourbon/neat files
2014-06-11 21:19:26 -04:00
Don Mitchell
4959f3b85b
Fix wiki search query
...
and formatting error in a doc file.
2014-06-11 15:57:51 -04:00
Sarina Canelake
236f36b349
Merge pull request #4057 from louyihua/dark_lang
...
Do not merge zh-hk into zh-tw in darklang
2014-06-11 14:16:46 -04:00
louyihua
6d7839007a
Do not merge zh-hk into zh-tw in darklang
2014-06-12 01:19:49 +08:00
Jim Abramson
b6bf1b8848
Merge pull request #4056 from edx/jsa/search-spell-correction-fixes
...
clarify and internationalize the search spell correction message.
2014-06-11 13:14:56 -04:00
Calen Pennington
13ec3698d5
Merge pull request #4058 from cpennington/hotfix/lms-2830
...
Allow users that have unregistered from a verified course to re-register.
2014-06-11 13:05:12 -04:00
jsa
5dfd4d4dcc
clarify and internationalize the search spell correction message.
2014-06-11 12:41:34 -04:00
Calen Pennington
f6ea16223b
Allow users that have unregistered from a verified course to re-register.
...
Fixes LMS-2830
2014-06-11 12:37:53 -04:00
Anton Stupak
beca9b51d9
Merge pull request #4051 from edx/anton/i18n-choicetextgroup
...
ChoiceTextGroup i18n.
2014-06-11 18:19:24 +03:00
lduarte1991
e48cc16d45
Annotations Tools: i18n Make stati strings extractable
...
Original changes found in this commit
https://github.com/edx/edx-platform/commit/a6bae4d238fdc6a60c8ee9f1b80ca
3512bb085eb
Conflicts:
common/lib/xmodule/xmodule/textannotation_module.py
common/lib/xmodule/xmodule/videoannotation_module.py
2014-06-11 10:23:45 -04:00
lduarte1991
848c7165e3
Annotation Tool: PR #4019
...
Reverting commit @3bfb633 and updating openseadragon.js for latest build
Conflicts:
common/lib/xmodule/xmodule/imageannotation_module.py
common/lib/xmodule/xmodule/textannotation_module.py
common/lib/xmodule/xmodule/videoannotation_module.py
2014-06-11 10:21:08 -04:00
lduarte1991
fecb2e1682
Annotation Tool: PR #3969
...
Text Annotation Tool: Added Instructor Filter and Clear Search
Video Annotation Tool: Added Instructor Filter
Image Annotation Tool: Added Instructor Filter
Image Annotation Tool: Annotation Mode for AB Testing
Annotation Tools PR Fixes
- forgot to overwrite the previous line
Annotation Tools: PR Fixes
- Fixed camel case for variable name
- Fixed indentation in imageannotation.html
- Changed all mentions of Instructor Username to Email
- Turned annotation_mode into phrase
- Fixed indentation in imageannotation.html
- Added comments in imageannotation.html
- Changing annotation_mode in OSDA
Annotator Tools: OpaqueKeys update for Notes
Annotation Tools: Added CommonAnnotatorMixin
Annotator Tool: Fixed delete bug and factored out settings
Removed print context
Conflicts:
common/lib/xmodule/xmodule/imageannotation_module.py
common/lib/xmodule/xmodule/textannotation_module.py
common/lib/xmodule/xmodule/videoannotation_module.py
lms/djangoapps/notes/views.py
2014-06-11 10:19:06 -04:00
lduarte1991
643a7bfa95
Annotation Tools: PR #3907
...
Annotation Tools: Load Tinymce in student_view
Annotation Tools: Fixing tests for student_view
Fixed typo from autocomplete
Fixed dict for tests
2014-06-11 10:15:14 -04:00
polesye
0e2bf2234d
BLD-726: ChoiceTextGroup i18n.
2014-06-11 16:09:58 +03:00
Don Mitchell
fa94360d69
Review all fs.files and modulestore indices
...
and fix some gridfs calls to reduce traffic
2014-06-11 08:33:48 -04:00
polesye
d9d11a21ef
BLD-933: Add table of contents.
2014-06-11 13:42:57 +03:00
Diana Huang
0df7037650
Send the serialized string to the track_function in split_test_module.
2014-06-10 17:02:53 -04:00
Sarina Canelake
2aea261d48
Merge branch 'release'
...
Conflicts:
common/djangoapps/course_modes/views.py
common/djangoapps/student/tests/test_roles.py
common/djangoapps/student/views.py
common/lib/opaque_keys/opaque_keys/__init__.py
common/lib/opaque_keys/opaque_keys/tests/test_opaque_keys.py
common/lib/xmodule/xmodule/contentstore/mongo.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/notes/views.py
2014-06-10 16:59:23 -04:00
jsa
526d4b1d49
forums: fix assign_default_role to use the correct constant.
2014-06-10 12:26:21 -04:00
Julia Hansbrough
6e702c3131
Fix conditional module rendering
2014-06-10 15:32:32 +00:00
Sarina Canelake
bf6c342dcf
Fix location.url [LMS-2786]
2014-06-09 15:17:20 -04:00
Calen Pennington
87557a1af8
Add tests of RoleCache
2014-06-09 15:15:03 -04:00