Commit Graph

23143 Commits

Author SHA1 Message Date
polesye
642c239a01 Fix speed persistence per video. 2014-01-29 16:49:39 +02:00
Mark Hoeber
5728518b7d Fixed link 2014-01-29 09:39:22 -05:00
Calen Pennington
8424f610d5 Merge pull request #2171 from cpennington/pylint-cleanup
Fix pylint violations from #2129
2014-01-29 06:38:17 -08:00
Mark Hoeber
f72e9d29d5 Fixed link 2014-01-29 09:35:20 -05:00
Will Daly
021bece881 Merge pull request #2239 from edx/will/ora-ai-and-peer-tests
ORA AI and Peer acceptance tests
2014-01-29 06:28:39 -08:00
Mark Hoeber
735b84039c First draft 1-29-14 release notes 2014-01-29 09:27:42 -05:00
Calen Pennington
d379b35fa9 Add config_model, a library for database backed configuration
ConfigurationModels can be managed using the admin site. They are
append-only, and track the user who is making the change, and the time
that the change was made. The configuration is stored in the database,
and cached for performance.

[LMS-1220]
2014-01-29 09:17:19 -05:00
Calen Pennington
881e3ba564 Add the ability to dark-launch languages
To mark a language as dark-launched, add it to the DARK_LANGUAGES
django conf setting. To activate a dark-launched language, set he
query parameter `preview-lang` to the language code on any url.

[LMS-2045]
[LMS-2077]
[LMS-2076]
2014-01-29 09:16:16 -05:00
Alexander Kryklia
9876c993c5 Fix test for isnan student answer. 2014-01-29 16:07:26 +02:00
Alexander Kryklia
2653e9634a Should not raise exception on empty answer. 2014-01-29 16:07:19 +02:00
Xavier Antoviaque
386115aecf Selectively require/hide registration fields & add country/city fields
Extend the capabilities of the REGISTRATION_OPTIONAL_FIELDS
configuration variable, to allow to select, for each individual field,
if it should be 'hidden', 'optional' or 'required'.

Rename the configuration variable to REGISTRATION_EXTRA_FIELDS to reflect
the additional capabilities, and updates the defaults.

As extra fields, configurable through the REGISTRATION_EXTRA_FIELDS
variable. Hidden by default.

Tickets: MCKIN-168 MCKIN-184

Note: Studio also has a registration page, which uses the same account
creation page. It should be possible to use it without requiring the
variable from the LMS, as the fields are different.
2014-01-29 09:01:28 -05:00
daniel cebrian
38798b91c4 annotation tools
First set of fixes from the pull request

This does not include some of the testing files. The textannotation and
videoannotation test files are not ready. waiting for an answer on the
issue.

Deleted token line in api.py and added test for token generator

Added notes_spec.coffee

remove spec file

fixed minor error with the test

fixes some quality errors

fixed unit test

fixed unit test

added advanced module

Added notes_spec.coffee

remove spec file

Quality and  Testing Coverage

1. in test_textannotation.py I already check for line 75 as it states
in the diff in line 43, same with test_videoanntotation
2. Like you said, exceptions cannot be checked for
firebase_token_generator.py. The version of python that is active on
the edx server is 2.7 or higher, but the code is there for correctness.
Error checking works the same way.
3. I added a test for student/views/.py within tests and deleted the
unused secret assignment.
4. test_token_generator.py is now its own file

Added Secret Token data input

fixed token generator

Annotation Tools in Place

The purpose of this pull request is to install two major modules: (1) a
module to annotate text and (2) a module to annotate video. In either
case an instructor can declare them in advanced settings under
advanced_modules and input content (HTML in text, mp4 or YouTube videos
for video). Students will be able to highlight portions and add their
comments as well as reply to each other. There needs to be a storage
server set up per course as well as a secret token to talk with said
storage.

Changes:
1. Added test to check for the creation of a token in tests.py (along
with the rest of the tests for student/view.py)
2. Removed items in cms pertaining to annotation as this will only be
possible in the lms
3. Added more comments to firebase_token_generator.py, the test files,
students/views.py
4. Added some internationalization stuff to textannotation.html and
videoannotation.html. I need some help with doing it in javascript, but
the html is covered.

incorporated lib for traslate

fixed quality errors

fixed my notes with catch token

Text and Video Annotation Modules - First Iteration

The following code-change is the first iteration of the modules for
text and video annotation.

Installing Modules:
1. Under “Advanced Settings”, add “textannotation” and
“videoannotation” to the list of advanced_modules.
2. Add link to an external storage for annotations under
“annotation_storage_url”
3. Add the secret token for talking with said storage under
“annotation_token_secret”

Using Modules
1. When creating  new unit, you can find Text and Video annotation
modules under “Advanced” component
2. Make sure you have either Text or Video in one unit, but not both.
3. Annotations are only allowed on Live/Public version and not Studio.

Added missing templates and fixed more of the quality errors

Fixed annotator not existing issue in cmd and tried to find the get_html() from the annotation module class to the descriptor

Added a space after # in comments

Fixed issue with an empty Module and token links

Added licenses and fixed vis naming scheme and location.

Updating Annotator CSS

The change in the css keeps fonts as they were and does not change them
purely based on annotating a section.

Fixed Annotation issue with static_url oversight
2014-01-29 08:52:44 -05:00
Will Daly
ce2c067da9 Merge pull request #2351 from edx/will/pin-test-lib-versions
Pin test lib versions (fix to test failures in master)
2014-01-29 05:34:22 -08:00
Will Daly
382fa9be1f Pin subunit and testtools libraries to prevent test failures after release of these libraries on 1/29/14 2014-01-29 08:08:40 -05:00
jsa
40fcc6b9a5 Allow new response pagination parameters to pass through thread model.
JIRA: FOR-374
2014-01-28 17:24:37 -05:00
jorr
58c76afa9e Use the publish() api from xblock.runtime.Runtime 2014-01-28 14:16:34 -08:00
jsa
9b54abe308 add "Add A Response" button to thread views in discussion tab / inline
JIRA: FOR-373
2014-01-28 17:13:16 -05:00
davestgermain
b18945d1cf Merge pull request #2332 from edx/dstgermain/a11y-html-lang
Set the HTML language to the browser's specified language
2014-01-28 13:44:21 -08:00
Dave St.Germain
6d50ff7b61 Set the html language to the browser's specified language 2014-01-28 16:43:29 -05:00
Mark Hoeber
c4465be45f Component Duplicate Documentation
Updated document and all instances of component screen shots
2014-01-28 15:19:09 -05:00
Will Daly
b73c6f63fc Added stub XQueue server to bok_choy test suite.
Added feedback check for AI-assessment test

Added peer assessment feedback test
2014-01-28 14:57:28 -05:00
Will Daly
a86d56ccba Cache databases to speed up acceptance tests 2014-01-28 14:39:26 -05:00
Will Daly
a6b97b402f Merge pull request #2340 from edx/will/disable-transcript-test
Disable transcript test
2014-01-28 11:03:54 -08:00
Matt Drayer
a410e50940 Merge pull request #2339 from edx/dhm/bug_perf_loc
Dhm/bug perf loc
2014-01-28 11:01:08 -08:00
Will Daly
eb55ed1930 Disable transcript test 2014-01-28 14:00:54 -05:00
Don Mitchell
56e28d3bb4 Merge pull request #2337 from edx/dhm/bug_perf_loc
Dhm/bug perf loc
2014-01-28 10:40:54 -08:00
Sarina Canelake
88789c1d21 Convert i18n/make_dummy.py to a standalone script
LMS-1967
2014-01-28 12:55:48 -05:00
Giulio Gratta
b615de5728 Merge pull request #2224 from edx/giulio/static-pages-text
Notify instructors that static page content is publicly accessible
2014-01-28 09:34:20 -08:00
David Ormsbee
6e6a1d5021 Only create loc_cache CACHE entry if it doesn't exist in ENV_TOKENS config. 2014-01-28 12:30:38 -05:00
Don Mitchell
38a6bf6824 Add set to mocked cache 2014-01-28 12:24:41 -05:00
Mark Hoeber
5003c786c5 Merge pull request #2325 from edx/sylvia/documentation/small_fixes
Sylvia/documentation/small fixes
2014-01-28 09:09:24 -08:00
Sylvia Pearce
92945ce5d9 Further update randomization documentation 2014-01-28 12:08:51 -05:00
Sylvia Pearce
c59e215909 Revise randomization information per feedback from Victor 2014-01-28 12:08:51 -05:00
Sylvia Pearce
fcc842f3c7 Update information about Randomization setting 2014-01-28 12:08:51 -05:00
Sylvia Pearce
9226f69ad7 Minor updates and typo fixes 2014-01-28 12:08:51 -05:00
Sylvia Pearce
2a88ced1aa Further update randomization documentation 2014-01-28 12:08:04 -05:00
Sylvia Pearce
7c2d6dc070 Revise randomization information per feedback from Victor 2014-01-28 12:08:04 -05:00
Sylvia Pearce
31bf081ac5 Minor update to text of "Randomization" 2014-01-28 12:08:04 -05:00
Sylvia Pearce
a50cf94635 Update information about Randomization setting 2014-01-28 12:08:04 -05:00
Sylvia Pearce
34affe8a07 Minor updates and typo fixes 2014-01-28 12:08:04 -05:00
Mark Hoeber
0f8d6f03f3 Merge pull request #2336 from edx/sylvia/documentation/DOC-corrections
Fix image link and Zooming Image text
2014-01-28 08:04:28 -08:00
David Ormsbee
ee5ee92b37 Create local memory caching entry for location mapping. 2014-01-28 10:57:15 -05:00
Don Mitchell
14be0b6c7a Cache course location translations 2014-01-28 10:34:31 -05:00
Usman Khalid
954cacf670 Merge pull request #2148 from edx/usman/ora197-error-on-xqueue-down
If unable to send submission/feedback to xqueue return an error instead of silently failing
2014-01-28 07:12:24 -08:00
Sylvia Pearce
8e21b6b1d1 Fix image link and Zooming Image text 2014-01-28 09:53:50 -05:00
Usman Khalid
1efe74ec53 Refactored tests so that individual fields in the body arg are checked and not the whole serialized body.
ORA-197
2014-01-28 18:44:16 +05:00
Usman Khalid
989a1b6252 If unable to send submission to grader store it instead.
ORA-197
2014-01-28 17:57:16 +05:00
Usman Khalid
d2ede8339a For multistep openended problems after moving to a openendedmodule step keep trying to resend submission to grader until it succeeds.
ORA-197
2014-01-28 17:57:16 +05:00
Usman Khalid
b21d606494 If unable to send submission/feedback to xqueue return an error instead of silently failing.
ORA-197
2014-01-28 17:57:16 +05:00
Waheed Ahmed
a7d3a23f1b Merge pull request #2192 from edx/waheed/ora249-flash-of-text-on-staff-grading
Flash of text appears when instructor goes to staff grading fixed.
2014-01-28 04:11:12 -08:00