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
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -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
Calen Pennington
83d676cbfa
Add Content Type Gating Behind Waffle Flag
...
Content Type Gating: Xblocks that have a graded component cannot be
accessed by audit track users.
- Caveats:
- In studio, instructors can set certain xblocks to be available to
all users, but graded components will default to not being
available for audit users
- If a course does not have a verified mode option, all users will
have access to graded content.
The Waffle Flag: The waffle flag is of for now.
It's name is: ```content_type_gating.debug```
This Commit Does NOT Include: Displaying for a user WHY they do not have
access to a specific piece of content. That change will be part of
another PR.
2018-10-31 12:34:48 -04:00
Calen Pennington
99f8918b74
Add an automatic UserPartition and Scheme for Content Type Gating.
...
For now, this UserPartition groups all users as Full-access users.
2018-10-29 12:37:30 -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
a2daa8d0fd
Move generate_course_blocks to block_structure
2017-03-20 00:04:16 -04:00
Nimisha Asthagiri
952143b776
Block Structure Storage management command
...
TNL-6524
2017-03-02 12:07:26 -05:00
Nimisha Asthagiri
00d466224e
Consolidate Block Structure folders
...
TNL-6518
2017-03-01 21:19:28 -05:00
Nimisha Asthagiri
1ee2c27f49
Storage-backed versioned Block Structures: Manager and Store
2017-02-28 23:54:57 -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
sanfordstudent
37c266f08f
Merge pull request #14423 from edx/sstudent/TNL-6219
...
add course and user id to library content assigned
2017-02-08 09:47:59 -05:00
Sanford Student
1a5e15fd5c
add course and user id to library content assigned
2017-02-07 13:52:15 -05:00
Nimisha Asthagiri
784ef04221
Merge pull request #14359 from edx/beryl/command_generate_cb_tasks
...
Update generate_course_blocks management command to enqueue tasks.
2017-01-24 17:24:30 -05:00
Nimisha Asthagiri
c04f4401dc
Update generate_course_blocks management command to enqueue tasks
2017-01-24 09:11:57 -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
Nimisha Asthagiri
e6240c56fc
Update generate_course_blocks management command.
2016-11-08 19:47:21 -05:00