Commit Graph

8713 Commits

Author SHA1 Message Date
Dave St.Germain
b4ccd03740 This adds a new django app -- edx-when -- that will copy start and due dates to mysql and allow per-learner overrides in the instructor dashboard, using the existing IDDE interface.
It adds a data migration for existing IDDE data.
2019-04-24 12:26:19 -04:00
Nimisha Asthagiri
aaa7b20654 Merge pull request #20126 from edx/depr/mobile-video-outline-api
DEPR-4: Remove Mobile Video Outlines API
2019-04-12 08:37:17 -04:00
Alan Zarembok
f9a5d93ce4 PROD-101: Do not rewrite URL for videos that do not have a video id. 2019-04-05 15:29:17 -04:00
Jolyon Bloomfield
27e1d28ed2 INCR-185 Modernize common/lib/xmodule/xmodule/assetstore and contentstore (#20124)
* INCR-185 Modernize common/lib/xmodule/xmodule/assetstore and contentstore

* Adding check for python version when making integer contracts
2019-04-02 19:56:28 -04:00
Nimisha Asthagiri
3d8b8a05ad DEPR-4: Remove Mobile Video Outlines API 2019-04-02 17:28:26 -04:00
Jeremy Bowman
95986c4f9a Merge pull request #20116 from jolyonb/incr-162
INCR-156 Migrated and cleaned up imports on /common/lib/capa/capa/tests/
2019-04-01 20:25:05 -04:00
Jolyon Bloomfield
932a76c958 INCR-162 Migrated and cleaned up imports on /common/lib/capa/capa/tests/ 2019-04-01 15:53:08 -04:00
Matthew Piatetsky
1f6cd7aa5a Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"" 2019-03-28 14:44:05 -04:00
Matthew Piatetsky
8eae694566 Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason" 2019-03-27 16:30:37 -04:00
Matthew Piatetsky
e6b55ede3d Merge pull request #20003 from edx/mobile-access-denied
REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason
2019-03-26 17:33:57 -04:00
Matthew Piatetsky
4bb539c9aa update user partition and access_denied_message_filter transformers 2019-03-26 15:26:59 -04:00
Jeremy Bowman
243f30ec83 TE-2886 Upgrade math/science packages in LMS and Studio 2019-03-22 10:02:36 -04:00
cclauss
bb31716c97 Use ==/!= to compare str, bytes, and int literals 2019-03-19 21:40:06 +01:00
Jeremy Bowman
5e37a0c0bb Merge pull request #19621 from cclauss/Fix-ur-strings-for-Python3
ur'strings' are syntax errors in Python 3
2019-03-19 15:34:55 -04:00
Dave St.Germain
39ad3b1dd8 Merge pull request #19848 from edx/dcs/decide-duedates
Proposed decision on due date refactoring
2019-03-18 13:11:58 -04:00
Dave St.Germain
5beddeb7ff Accepted ADR 2019-03-18 11:54:03 -04:00
cclauss
9a0c995885 ur'strings' are syntax errors in Python 3 2019-03-17 13:56:02 +01:00
DawoudSheraz
f64c602887 Add aria-label toggling for play/pause and fill browser buttons 2019-03-11 11:51:25 +05:00
AsadAzam
2a1cff52d5 Merge pull request #19898 from edx/asad/educator-3928-fix-transcript-txt-500
Fixed download txt transcript 500
2019-03-07 18:31:22 +05:00
noraiz-anwar
837219f792 add aria-label in video caption control 2019-03-07 15:47:30 +05:00
asadazam93
f7d918e7ca Fixed download txt transcript 500 2019-03-06 16:53:47 +05:00
DawoudSheraz
a5fe66863e fix video player speed adjustments 2019-03-05 17:37:33 +05:00
Calen Pennington
83de2e1913 Update common/lib/xmodule/xmodule/docs/decisions/0001-move-due-dates-to-db.rst
Co-Authored-By: davestgermain <dave@st.germa.in>
2019-02-27 16:10:01 -05:00
Dave St.Germain
571b2a7227 Addressed feedback 2019-02-26 16:27:21 -05:00
AsadAzam
69f2334934 Merge pull request #19867 from edx/asad/Educator-3928-add-logs
Added logs
2019-02-26 16:17:33 +05:00
Nimisha Asthagiri
3b411890a6 Merge pull request #19510 from CredoEducation/text-input-problem-pr
Bugfix: Text Input problem type expects numeric answer when correct answer starts with a number
2019-02-25 10:28:32 -05:00
asadazam93
12d20697c5 Added logs 2019-02-25 17:18:47 +05:00
Michael Youngstrom
9631fc2f88 Unpin sortedcontainers for python3 support 2019-02-21 17:27:13 -05:00
Dave St.Germain
426bdce361 Proposed decision on due date refactoring 2019-02-21 13:52:08 -05:00
cclauss
350b201e43 INCR-29: Run python-modernize on common/lib/chem
Signed-off-by: cclauss <cclauss@me.com>
2019-02-20 00:40:27 +01:00
cclauss
c0c935b685 Old style exceptions --> new style for Python 3 2019-02-19 13:09:23 +01:00
Awais Jibran
c3682237f8 Merge pull request #19782 from edx/aj/fix-capa-problem-response-csv
Fix csv of problem responses silent failure
2019-02-15 16:32:35 +05:00
Awais Jibran
04d17d55a9 Fix csv of problem responses silent failure 2019-02-14 11:37:32 +05:00
singuliere
631c173b1b INCR-82 remove dependency on code_block_timer 2019-02-14 00:51:04 +01:00
Michael Youngstrom
4bbd1dee0b Remove shards from commonlib-unit tests 2019-02-12 14:28:35 -05:00
Joseph Okonda
4a98e4626a Add new Option to Show Answer Dropdown.
In Studio: Introduces a new option, `after some number of attempts`
and a new entry box for specifying the number of attempts.
This allows course creators to specify that a given question's
answer is only viewable, i.e its show answer button is visible,
after the learner has attempted answering the question -
by hitting the submit button - a given number of times. Included
in this commit are unit tests for the new feature.
2019-02-08 12:33:40 -08:00
Christopher Pappas
bfc0c5acf5 INCR-24 | Run python-modernize on common/lib/calc 2019-02-08 14:52:17 -05:00
David Ormsbee
4aa6446533 Merge pull request #19385 from open-craft/pooja/implement-public-cohort
Implement public cohort for anonymous and unenrolled users
2019-02-08 13:28:02 -05:00
Michael Roytman
f15fd361ae Merge pull request #19684 from edx/mroytman/EDUCATOR-3952-practice-proctored-to-onboarding
Change "practice exam" to "onboarding" for courses that support onboarding exams.
2019-02-08 11:48:56 -05:00
Michael Roytman
af319f3c9a Update version of edx-proctoring and update copy to refer to onboarding exams in Studio for proctoring backends that support onboarding exams. 2019-02-07 14:29:26 -05:00
Pooja Kulkarni
9ddb1cc074 Implement public cohort
This PR is based on #19284 and is part of the
series of work related to the proposal #18134.

This PR avoids the assignment of
anonymous/unenrolled users to any cohort when
course is public. Anonymous or unenrolled users
will only see content that does not have a
content group assigned.
The "View Course" link to the course outline
is shown on the course about page for a course
marked public/public outline.
It also makes course handouts available for
public courses (not for public_outline).
This PR also hides the different warnings and
messages asking the user to sign-in and enroll
in the course, when the course is marked public.
It modifies the default public_view text to
include the component display_name when
unenrolled access is not available.
2019-02-07 21:42:21 +05:30
David Ormsbee
d0c353609d Don't break exports for uninstalled XBlock content
When an unknown content type is encountered, it's imported as a
RawDescriptor, which will preserve the OLX and export it back out. But
if we import a course while an XBlock is installed and then export it
after that XBlock is removed, we export RawDescriptors that never got to
save the original OLX and have a blank "data" field. Attempting to
export this used to fail and break export altogether. We now test that
the export continues to complete, and just skips over anything it can't
serialize out.

Note that this will stil export pointers in the export, so if you
uninstalled a "AmazingBlock" and exported, you might see something like
the following in a vertical's XML::

<vertical display_name="Unit">
  <amazing url_name="2edebb68d5734395a06b8a62b9bb677e"/>
</vertical>

However there would be no corresponding file at:
  /amazing/2edebb68d5734395a06b8a62b9bb677e.xml

In fact, there would be no /amazing directory at all in the export.

The better long term solution is probably to leave the pointer as-is
and export some generic file that can't be mistaken for OLX (say a
JSON file) that represents the raw key-value data we have in
Modulstore for the now unknown XBlock type. However, this commit at
least keeps export from crashing out entirely.
2019-02-06 15:36:59 -05:00
Matthew Piatetsky
9681ca36b8 fix unicode strings in common/ 2019-02-05 10:57:00 -05:00
Michael Youngstrom
e7898d153d Move to python3-saml 2019-01-30 16:35:16 -05:00
Jeff Witt
13bfc7dc1b Update 09_play_pause_control.js
change title attribute to aria-label on Play button for better screen reader UX
2019-01-28 11:47:39 -05:00
Rabia Iftikhar
4e1b3f0b22 Merge pull request #19645 from edx/ri/EDUCATOR-3930-video-player-speed
EDUCATOR-3930 fix video player speed adjustments
2019-01-24 16:04:03 +05:00
rabiaiftikhar
a85256e109 EDUCATOR-3930 fix video player speed adjustments 2019-01-23 17:15:25 +05:00
Jeremy Bowman
f7799bad9e Fix coverage on remote xdist nodes 2019-01-22 14:42:07 -05:00
Jeff Witt
ccbd9d5b83 fix video player various buttons accessibility 2019-01-21 12:10:32 +05:00
cclauss
8fca11b85c Use print() function in both Python 2 and Python 3 2019-01-13 17:16:37 +01:00