Cali Stenson
549941e608
Add has access tests to content gating graded problem types.
...
REV-492
2018-11-07 09:08:46 -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
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
Matthew Piatetsky
2665d6e4fb
Merge pull request #19161 from edx/user_course_expiration_clarifications
...
Add clarifying information regarding user course expiration
2018-10-25 15:27:27 -04:00
Douglas Hall
72300c620a
Enable OAuth2 clients to logout with a redirect back to the client site.
2018-10-25 14:54:43 -04:00
Alex Dusenbery
c11a2c0a6e
EDUCATOR-3471 | Add a grade override bulk update view.
2018-10-25 14:52:12 -04:00
Matthew Piatetsky
287acf5eef
Add clarifying information regarding user course expiration
2018-10-25 14:48:16 -04:00
Matt Tuchfarber
c4cea14ead
Merge pull request #19143 from edx/tuchfarber/REV-351
...
Determine expiration dates for self paced courses REV-531
2018-10-25 13:53:13 -04:00
Matt Tuchfarber
6a01093423
Flesh out expiration date for user-course combo logic
2018-10-25 12:55:53 -04:00
Dillon-Dumesnil
fbb5e6c99c
Merge pull request #19139 from edx/ddumesnil/entitlements-email-opt-in
...
Adding email opt in to create entitlement
2018-10-24 09:50:12 -04:00
emma-green
1cda241197
Merge pull request #19121 from edx/emma-green/EDUCATOR-3569/fix-programs-with-old-course_runs
...
catch-programs-with-old-course-runs
2018-10-24 09:42:44 -04:00
Dillon Dumesnil
ac43d5faac
Adding email opt in to create entitlement
2018-10-23 17:33:30 -04:00
Matthew Piatetsky
073df570fa
Merge pull request #19095 from edx/expired_dashboard_message
...
Add course duration limit and dashboard expiration code
2018-10-23 12:17:58 -04:00
Matthew Piatetsky
9037999bd2
add content gating waffle flag
2018-10-22 20:49:08 -04:00
Emma Green
ce7b094cfb
don't error out to user programs with really old course runs not in lms
2018-10-19 13:25:28 -04:00
Dillon Dumesnil
0a0df72fc9
Cleaning up unicode waffle flag
2018-10-19 13:25:08 -04:00
Dillon Dumesnil
a5f3f1cbee
Ensuring password to be normalized is unicode
2018-10-19 12:41:51 -04:00
Dillon-Dumesnil
3619ec0d3e
Merge pull request #19130 from edx/ddumesnil/pw_rollout_messaging
...
Improving the password complexity rollout messaging per UX's recommen…
2018-10-19 11:23:55 -04:00
Dillon Dumesnil
5910601cdd
Improving the password complexity rollout messaging per UX's recommendations
2018-10-19 10:34:00 -04:00
Cory Lee
78c7359563
Merge pull request #19127 from edx/coryleeio/reduce_logging_volume
...
Removing unnecessary log statements
2018-10-19 09:49:20 -04:00
Cory Lee
305167cd86
Removing unnecessary log statements
2018-10-18 11:08:54 -04:00
Nimisha Asthagiri
75a739e252
Merge pull request #19123 from edx/arch/email-profile-scopes
...
Add email and profile scopes in JWT Cookies
2018-10-18 09:35:41 -04:00
Brian Mesick
4ca6169131
Merge pull request #19083 from edx/bmedx/add_retirement_delete_api
...
Adds an API to bulk delete completed retirements
2018-10-18 08:54:34 -04:00
Nimisha Asthagiri
45dadca18b
Add email and profile scopes in JWT Cookies
2018-10-18 08:11:04 -04:00