Commit Graph

8376 Commits

Author SHA1 Message Date
Sofiya Semenova
b159c2712e Merge pull request #16864 from edx/sofiya/symmath
Educator-1879 Symmath fails to initialize because of requests library
2017-12-13 10:18:44 -05:00
Ned Batchelder
3d49d80b58 Fix safe_lxml. SEC-338
The imports were sorted in May, which broke the monkeypatching in
safe_lxml.  I added two tests that the XML parsers are properly patched,
but they didn't pass until I added the monkeypatching to the start of
the test runs.  Once that was done, some tests failed because they
relied on specific details of how empty elements are represented.  Those
tests are now fixed.
2017-12-12 16:13:47 -05:00
Sofiya Semenova
8030f82e1c Ed-1879 Remove requests import in symmath 2017-12-12 15:57:42 -05:00
Jeremy Bowman
05e7a4d671 PLAT-1830 Allow running any test suite in tox 2017-12-11 15:43:01 -05:00
Eric Fischer
25eb31877b Merge pull request #16843 from edx/why_did_we_not_do_this_sooner
fix some eslint ish
2017-12-11 12:08:21 -05:00
Jillian Vogel
b43ac4e80e Merge pull request #16590 from open-craft/jill/video-block-all-sources
Adds all HTML5 sources to the returned video API data
2017-12-12 02:19:02 +10:30
Jillian Vogel
cdcb4be077 Adds "all_sources" field to Mobile API and video module Course Blocks
student_view_data.

Added to both places because the iOS app uses both APIs data to provide
downloadable videos.
2017-12-11 23:59:52 +10:30
Eric Fischer
5bc6b31e29 eslint --fix 2017-12-08 14:38:41 -05:00
John Eskew
b14d2e9cf7 Fix video transcript model import before Django initialization occurs. 2017-12-07 09:56:44 -05:00
Michael Terry
64bcfa2a04 Merge pull request #16810 from mikix/mikix/LEARNER-3125
Fix breadcrumb tooltips in IE
2017-12-06 16:00:15 -05:00
Michael Terry
e9b3ba72df Fix breadcrumb tooltips in IE
IE11 is not using 'overflow: visible' as the default overflow,
so set that manually. This allows our tooltips on the course nav
buttons to appear on hover or focus.

LEARNER-3125
2017-12-06 11:58:07 -05:00
AlasdairSwan
acab64be4d LEARNER-3128 add role=presentation to sequence nav list items 2017-12-06 08:38:56 -05:00
Jeremy Bowman
fdc50c3aa8 PLAT-1419 Make edxmako a proper template backend 2017-12-01 17:01:52 -05:00
Qubad786
dc335a2215 EDUCATOR-1628
Enable Video Uploads by default with course rollout flag.
2017-11-29 12:27:20 +05:00
J. Cliff Dyer
b8202e40de Handle default complete-by-viewing completion method.
* Vertical marks blocks completed when viewed.
* Functionality is hidden behind a waffle switch
* Submissions from front-end are limited to known-incomplete blocks
* Upgrades xblock to version 1.1.1
* Related future requirements listed in TODO tagged with EDUCATOR-1778
  and relevant opencraft OC-* ticket IDs.

OC-3088
2017-11-28 15:07:06 -05:00
Calen Pennington
64dd633fc9 Merge pull request #15846 from edx/ormsbee/decaffeinate_tests_2
WIP: Decaffeinate Test Files (Part 2)
2017-11-28 13:34:26 -05:00
Brian Beggs
622ee7a7e3 Merge pull request #16540 from open-craft/mtyaka/mongo-read-preference
Convert mongo read_preference setting at a lower level.
2017-11-28 09:14:56 -05:00
David Ormsbee
94614db46e CoffeeScript tests migration: Remove implicit returns 2017-11-22 15:39:50 -05:00
David Ormsbee
0880502f26 CoffeeScript tests migration: Decaffeinate files
This is running decaffeinate, with no additional cleanup.
2017-11-22 15:39:50 -05:00
David Ormsbee
5c64da2f63 CoffeeScript tests migration: Rename files
Step 1 in our migration steps is to rename the CoffeeScript files to
the JS files they will be replaced with, so that we can preserve file
history.
2017-11-22 15:39:50 -05:00
Calen Pennington
48abc492ae Fix linting errors from https://github.com/edx/edx-platform/pull/16615 2017-11-22 14:47:49 -05:00
Ned Batchelder
a2e2aace82 Merge pull request #16650 from edx/nedbat/fix-unused-imports
Fix a number of unused-import pylint violations
2017-11-22 11:17:07 -05:00
Calen Pennington
7aa1a3460b Merge pull request #16615 from edx/cale/schedules-admin-improvements
Cale/schedules admin improvements
2017-11-21 22:06:37 -05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
sandroroux
98233c0a84 New management command for setting up a test environment. The command creates a ScheduleConfig and schedules if they don't exist (the schedule starts three days before the time the command is run). If a schedule already exists, the command updates the schedule's start time and upgrade deadline. The values set by the command will allow send_recurring_nudge to send three-day nudges. 2017-11-21 14:25:55 -05:00
Matjaz Gregoric
abd4859f8b Convert test to DDT and test for primary, nearest modes. 2017-11-20 08:09:58 +01:00
Nimisha Asthagiri
fabccf6163 Merge pull request #16614 from edx/pacing/enable-highlights-field
Add highlights_enabled_for_messaging course field
2017-11-17 19:47:09 -05:00
Nimisha Asthagiri
8b0693f229 Add highlights_enabled_for_messaging course field 2017-11-17 14:42:46 -05:00
Fred Smith
14c7c5086e be able to configure default video cdn url 2017-11-16 14:30:18 -05:00
Jose Antonio Gonzalez
f38e5ab939 add DEFAULT_MOBILE_AVAILABLE flag 2017-11-16 16:50:37 +02:00
Jeremy Bowman
d6dc209569 Fixes for common/lib tests in Django 1.9+ 2017-11-15 11:00:39 -05:00
Clinton Blackburn
3a005c492f Disabled anonymous access for tabs that require enrollment 2017-11-14 08:00:16 -05:00
noraiz-anwar
73f9c02d6d optimize libraries iter for studio dashboard 2017-11-14 12:52:36 +05:00
Ayub khan
a1f30644d9 Merge pull request #16541 from edx/LEARNER-2653-minor-code-refactor
Minor Code Refactor
2017-11-13 18:54:15 +05:00
ayub-khan
e0d96abf1c Minor Code Refactor
LEARNER-2653
Jenkins translation job pybabel process
was not able to interpret this line
and causing syntax error.
2017-11-13 18:00:00 +05:00
Matjaz Gregoric
e4a3a30c8b Convert mongo read_preference setting at a lower level.
Doing it at the modulestore level does not cover all usages of mongo,
for example when connecting to the contentstore.
2017-11-13 11:18:34 +01:00
Harry Rein
aa853a930e Styling changes for responsive behavior on LMS. 2017-11-09 12:46:48 -05:00
Muhammad Ammar
4813929f1d Merge pull request #16458 from edx/ammar/fix-capa-hint-focus
fix capa hint focus
2017-11-08 08:11:46 +05:00
muhammad-ammar
690542c998 fix capa hint focus
EDUCATOR-1555
2017-11-08 00:18:50 +05:00
Jeremy Bowman
1f1ad26137 Merge pull request #16465 from edx/jmbowman/PLAT-1774
PLAT-1774 Move x_module monkey-patching
2017-11-07 10:34:44 -05:00
Clinton Blackburn
69eeca61d8 Opening courseware to anonymous users
Anonymous users may now view units in the courseware. This access is limited to units that are not considered problems/graded (e.g. homework, exams).
2017-11-06 16:42:06 -05:00
Harry Rein
7f61828e12 Cleaning up mobile web. 2017-11-06 12:33:23 -05:00
Jeremy Bowman
c24a919856 PLAT-1774 Move x_module monkey-patching 2017-11-06 11:32:55 -05:00
muhammad-ammar
feee575014 add video duration to events
EDUCATOR-1409
2017-11-03 15:35:56 +05:00
Andy Armstrong
268bea9e62 Make the course content page responsive
LEARNER-2754
2017-11-01 17:34:04 -04:00
Nimisha Asthagiri
6dc8e2125c Merge pull request #15905 from open-craft/bradmerlin/html-xblock-student_view_data-upgrade
Add student_view_data to HTML XBlock
2017-11-01 07:46:47 -04:00
noraiz-anwar
5ffe588abe add logs to time frame course listing 2017-11-01 10:50:38 +05:00
bradmerlin
ab011314ef Add student_view_data to HTML XBlock
to allow the HTML to be downloadable via the Course Blocks API.

Feature flag ENABLE_HTML_XBLOCK_STUDENT_VIEW_DATA must be set to enable this feature.
2017-11-01 13:38:54 +10:30
Andy Armstrong
ae1c760ea4 Use Bootstrap theme colors and fonts in old stylesheets
LEARNER-2977

Fixes
2017-10-29 22:22:08 -04:00
M. Rehan
f04594b8f6 Merge pull request #16290 from edx/mrehan/exlude-bumper
Exclude bumper from VAL handling the transcripts
2017-10-27 17:37:27 +05:00