Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
David Ormsbee
b1f3d2cef2
Revert "Fix the unpredictable order randomization issue with randomized content blocks"
2019-07-25 13:42:20 -04:00
Guruprasad Lakshmi Narayanan
d7647c66e3
Select children again when current children don't match the selections
...
This prevents errors when the current children do not match the
selected children any more.
2019-07-25 00:58:11 +05:30
Guruprasad Lakshmi Narayanan
df4aee23b9
Fix the order randomization behaviour of Randomized Content Block
...
The Randomized Content Block XBlock only randomizes the selection of
the children blocks and has unpredictable randomization of
the order of the selected child blocks due to the usage of sets, which
are unordered, for storing the selected blocks. This becomes apparent
when all the available child blocks in a library are chosen for a
Randomized Content Block, to randomize just the order of the child
blocks and not just the selection of the blocks. The order of the
selected blocks ends up being similar for multiple learners.
This change modifies the XBlock to store the selected child blocks in
a list, instead of a set, after randomly shuffling them.
2019-07-25 00:58:11 +05:30
DawoudSheraz
b37e679c39
remove staff exemption from the library_content transformer
2019-06-24 11:05:11 +05:00
Stu Young
1b2f061b73
incr-299 ( #20628 )
...
* run python modernize
* run isort
2019-05-15 21:08:02 -04:00
David Ormsbee
d2af1d4c5b
Revert "Fix the unpredictable order randomization issue with randomized content blocks"
2019-05-08 12:42:44 -04:00
David Ormsbee
21cc1f4719
Merge branch 'master' into guruprasad/randomize-question-order-pr
2019-05-06 16:33:51 -04:00
Guruprasad Lakshmi Narayanan
73ab30e342
Fix the order randomization behaviour of Randomized Content Block
...
The Randomized Content Block XBlock only randomizes the selection of
the children blocks and has unpredictable randomization of
the order of the selected child blocks due to the usage of sets, which
are unordered, for storing the selected blocks. This becomes apparent
when all the available child blocks in a library are chosen for a
Randomized Content Block, to randomize just the order of the child
blocks and not just the selection of the blocks. The order of the
selected blocks ends up being similar for multiple learners.
This change modifies the XBlock to store the selected child blocks in
a list, instead of a set, after randomly shuffling them.
2019-04-25 10:23:46 +05:30
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
Matthew Piatetsky
c77ba984c9
fix traversal bug and keep current behavior as default
2019-03-28 15:50:05 -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
4bb539c9aa
update user partition and access_denied_message_filter transformers
2019-03-26 15:26:59 -04:00
DawoudSheraz
24d63f25ce
add staff exemption for content access in library access
2019-02-18 12:17:19 +05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -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
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Calen Pennington
325fbe4eb2
Hide empty container blocks from the course blocks api when called by the mobile app
...
All code in this PR should be removed after REVE-52 is merged and mobile
traffic from older app versions falls to < 5% of the mobile traffic
to the course_blocks api
2018-12-20 15:17:24 -05:00
Cali Stenson
4dcda2858e
Add group partitions information to user metadata in the dom.
...
This information will inform our A/B testing and experiments.
REV-612
2018-11-16 16:34:17 -05:00
Cali Stenson
ecb052125c
Move get_user_partition_groups to partition_services to call
...
from multiple contexts.
2018-11-16 16:28:07 -05:00
Ned Batchelder
59d78031d8
Fix trailing-comma-tuple warnings
2018-11-02 11:06:59 -04:00
J Eskew
0e76d04819
Merge pull request #17682 from mitodl/fix_overrideing_due_date_issue
...
Fixed override due date by limiting scope to selected users
2018-10-12 17:37:32 -04:00
Calen Pennington
72f556c1a9
Import courseware module from fully-qualified module name
2018-10-10 15:34:33 -04:00
Ned Batchelder
93d4af35bd
No need for superstitious kwargs
2018-09-17 17:01:11 -04:00
Jeremy Bowman
1a5bf35357
TE-2689 Remove useless pylint suppressions part 2
2018-08-14 17:39:02 -04:00
Jeremy Bowman
4e8668d3be
TE-2524 Stop using nose.plugins - LMS 2
2018-08-01 13:54:06 -04:00
Amir Qayyum Khan
5ae5a531f4
Fixed override due date by limiting scope to selected users
...
Added selected user tests
updated my email
2018-07-19 14:25:34 +05:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
attiyaishaque
b239d7b8d7
Allow staff to see all units when viewing the course outline.
2018-03-15 15:02:36 +05:00
Amir Qayyum Khan
aa6f88382d
Fixed edX block structure api to load override data
2018-02-16 11:10:17 +05:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
John Eskew
3b57542ab0
Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
...
This reverts commit f97f052591 , reversing
changes made to 800bcd8e20 .
2017-05-30 12:42:54 -04:00
John Eskew
76389d8678
Run all files touched in inheritance/partition work through isort.
2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 13:24:08 -04:00
Robert Raposa
3b31270e07
Fix Start Course vs Resume Course using Course Blocks.
2017-05-03 15:02:42 -04:00
cahrens
e5035746bf
Introduce EnrollmentTrackUserPartition.
...
TNL-6674
2017-03-30 12:24:48 -04:00
Nimisha Asthagiri
00d466224e
Consolidate Block Structure folders
...
TNL-6518
2017-03-01 21:19:28 -05:00
Nimisha Asthagiri
b99e9ae252
Block Transformers: Transformers Version Hash
...
TNL-6519
2017-02-14 11:34:29 -05:00
Nimisha Asthagiri
71cce9bb73
Block Transformers: distinguish between READ and WRITE versions
...
TNL-6522
2017-02-13 12:20:22 -05:00
Sanford Student
1a5e15fd5c
add course and user id to library content assigned
2017-02-07 13:52:15 -05:00
Eric Fischer
507e621ccc
Revert "Merge pull request #14324 from edx/efischer/revertins"
...
This reverts commit c7d2d601b8 , reversing
changes made to fb2173f43e .
2017-01-18 10:56:13 -05:00
Eric Fischer
0b620ebbc1
Revert "Merge pull request #14225 from edx/efischer/tnl-6108"
...
This reverts commit 8b8cf5f9e0 , reversing
changes made to 2716ffbf8e .
2017-01-12 13:50:05 -05:00
Eric Fischer
6845c64977
Hide after course end
...
Hijacks the existing hide_after_due field to be repected as "hide after course
end" for self-paced courses. Includes tests.
TNL-6108
2017-01-12 09:12:54 -05:00
Nimisha Asthagiri
b90c21b138
Ensure selected blocks get saved into StudentModule when running
...
transform phase
TNL-6198
2016-12-21 15:58:41 -05:00