Cali Stenson
adffc11856
REVE-18: Test Content Type Gating For All Modes
2018-11-09 16:57:12 -05:00
Bill Filler
8409515be5
Only display content upsell message for Audit track
...
REVE-39
2018-11-09 13:18:55 -05:00
bmedx
1716b97cfc
PLAT-2371 - speed up the LMS_MISC retirement step
2018-11-09 13:00:36 -05:00
Awais Jibran
194c6bacb6
Revert "Merge pull request #18720 from open-craft/paulo/anonymous-views"
...
This reverts commit f9ae594dfe , reversing
changes made to 7c08e50fde .
2018-11-09 22:49:14 +05:00
Bill Filler
7a80e91af0
Merge pull request #19257 from edx/bfiller/fix-broken-imports
...
Fix edx-drf-extension imports
2018-11-09 10:31:07 -05:00
Cali
72bdb24cdd
Merge pull request #19247 from edx/cstenson/lti_problem_content_gating_tests
...
Add LTI problem type tests on content gating.
2018-11-09 10:01:15 -05:00
Bill Filler
a1f2c2cdde
Fix edx-drf-extension imports
2018-11-09 09:56:23 -05:00
Cali Stenson
1ec08701d2
Add LTI problem type tests on content gating.
...
REV-492
2018-11-09 09:23:44 -05:00
Dave St.Germain
efa583283d
Merge pull request #18975 from open-craft/MCKIN-8395/cohorts-api
...
Cohorting API
2018-11-09 07:25:38 -05:00
Paulo Viadanna
17c0d6d59f
Add an alternative cohort management API
...
This is primarily intended to be used for server to server
communication. The endpoints support OAuth2 authentication.
2018-11-09 15:13:55 +05:30
Matthew Piatetsky
98069ba2cb
Merge pull request #19250 from edx/REV-503/add-banner-to-courseware
...
add expiration banner
2018-11-08 18:17:43 -05:00
Matthew Piatetsky
6cc4fb34be
add expiration banner
2018-11-08 17:27:12 -05:00
Matt Tuchfarber
be472a8d52
Extract upsell into template, extract ecomm call, use mobile utils
2018-11-08 11:40:06 -05:00
Gabe Mulley
372d51fd46
Display an upsell message instead of gated content
...
REV-504
2018-11-08 11:40:02 -05:00
Matthew Piatetsky
bd6018a4be
Merge pull request #19236 from edx/REVE-78
...
change access_duration to be weeks_to_complete or default MIN_DURATION for all courses
2018-11-07 15:23:36 -05:00
Diana Huang
7c0aa06d5d
Force new page if not set in site configs.
2018-11-07 15:10:58 -05:00
Matthew Piatetsky
dfe189e9bb
change access_duration to be weeks_to_complete or MIN_DURATION for both SP and IP courses
2018-11-07 13:18:25 -05:00
Matthew Piatetsky
b996fd1b6e
do not gate zero weight problems
2018-11-07 12:18:53 -05:00
Cali
eafbc0c8d2
Merge pull request #19195 from edx/cstenson/has_access_tests
...
Add has access tests to content gating graded problem types.
2018-11-07 10:05:01 -05:00
Cali Stenson
549941e608
Add has access tests to content gating graded problem types.
...
REV-492
2018-11-07 09:08:46 -05:00
Albert (AJ) St. Aubin
f5ef546652
Merge pull request #19240 from edx/aj/program_cache_logging
...
Updated logging to include stack trace
2018-11-07 09:07:26 -05:00
David Ormsbee
f9ae594dfe
Merge pull request #18720 from open-craft/paulo/anonymous-views
...
Support for anonymous_view
2018-11-07 08:45:15 -05:00
Albert St. Aubin
caf89550f2
Updated logging to include stack trace
2018-11-07 08:19:53 -05:00
Paulo Viadanna
e6e0a02e0a
Adds CouseModule.course_visibility and XBlock.public_view() for unenrolled users access to courses.
...
The course_visiblity field can have one of three values:
1. private (default): This keeps the standard access rules.
2. public_outline: Allows unenrolled and anonymous users access to the outline.
3. public: Allows unenrolled and anonymous users access to both outline and
course content.
When an unenrolled user accesses course content, instead of student_view(),
public_view() is used. A default implementation is provided for XBlocks
which do not implement this view. The public_view() must not have any
functionality which assumes the presence of a valid User and should show
a readonly only interface for the XBlock content.
2018-11-07 16:18:39 +05:00
Michael Youngstrom
5880fd36bc
Add waffle to installed_apps for commonlib
2018-11-06 14:53:33 -05:00
Ned Batchelder
63d84d65e5
Merge pull request #19215 from edx/nedbat/remove-unused-imports
...
Remove unused imports
2018-11-06 13:57:46 -05:00
Calen Pennington
6c5ee7209c
Merge pull request #19108 from cpennington/stacked-configuration-models
...
Stacked configuration models
2018-11-05 13:43:25 -05:00
Shadi Naif
4df2073376
Fix exceptions raised when a lazy text is used in json dump
2018-11-05 12:24:45 +02:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Calen Pennington
8901bf4482
Add a facility for building stacked configuration models that control the same configuration on a Global, Site, Org and Course level
2018-11-02 15:36:01 -04:00
Ned Batchelder
8acea435cf
setUpClassAndTestData is tricker than pylint understands
2018-11-02 11:06:59 -04:00
Ned Batchelder
59d78031d8
Fix trailing-comma-tuple warnings
2018-11-02 11:06:59 -04:00
Ned Batchelder
2d438d8bb5
Fix 'W605 invalid escape sequence' errors from pycodestyle
2018-11-02 06:06:43 -04:00
Bessie Steinberg
062b90c9ec
Merge pull request #19204 from cpennington/fix-reve-68
...
Don't add the ContentGatingPartition to group_access in content_type_…
2018-11-01 15:55:14 -04:00
Calen Pennington
76859f04a8
Don't add the ContentGatingPartition to group_access in content_type_gating.field_overrides if the waffle flag is off
2018-11-01 15:20:15 -04:00
Brian Beggs
49015e6d1a
Reset learners password when user is unGDPRed/unretired via django admin.
2018-11-01 15:09:36 -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
Robert Raposa
53239bdf37
Remove JWT_COOKIES_FLAG.
...
The JWT_COOKIES_FLAG was a temporary flag used for rollout of the new
JWT cookies. These are live in Production, so we are removing the flag.
Without this flag, we set JWT cookies during login. However, this
requires an oAuth Client that isn't always available during unit tests.
We introduced a feature flag that is only used for unit tests to
disable setting the JWT cookies. The code explains a bit more why this
solution was selected over adding the oauth client to the database.
ARCH-247
2018-10-31 10:29:05 -04:00
Douglas Hall
ebede18831
Merge pull request #19183 from edx/douglashall/explicit_jwt_cookie
...
Use JWT cookies for authentication when explicitly requested by client.
2018-10-30 20:04:00 -04:00
Douglas Hall
d8d18829e6
Use JWT cookies for authentication when explicitly requested by client.
2018-10-30 15:56:26 -04:00
Dillon-Dumesnil
1754dc5119
Merge pull request #19105 from edx/ddumesnil/unicode_cleanup
...
Cleaning up unicode waffle flag
2018-10-30 13:20:41 -04:00
Calen Pennington
c02b195ff7
Merge pull request #19155 from edx/rev/allow-studio-content-gating-override
...
Add Studio UI for tagging Full/Limited access contont
2018-10-29 13:19:45 -04:00
Calen Pennington
f9dd7fe223
Allow Studio override of Feature Based Enrollment status for individual xblocks
2018-10-29 12:37:30 -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
Brian Mesick
6092dfbb94
Merge pull request #19168 from edx/bmedx/fixup_populate_retirement_states
...
Add dry run option to populate_retirement_states command
2018-10-29 11:48:47 -04:00
Calen Pennington
0adb654724
Add a shell app for content_type_gating
2018-10-29 11:44:44 -04:00
Brian Mesick
01309bd1a8
Merge pull request #19164 from edx/bmedx/bulk_cleanup_to_post
...
Change bulk delete retirements to a POST
2018-10-29 09:52:34 -04:00
bmedx
e5613a59ce
Add dry run option to populate_retirement_states command
2018-10-26 16:07:59 -04:00
bmedx
bff1cf3b74
Change bulk delete retirements to a POST
2018-10-26 14:49:15 -04:00
Douglas Hall
653d8592b8
Merge pull request #19160 from edx/douglashall/oauth2_logout_redirect
...
Enable OAuth2 clients to logout with a redirect back to the client site.
2018-10-25 15:53:06 -04:00