Commit Graph

400 Commits

Author SHA1 Message Date
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
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
Cali Stenson
1ec08701d2 Add LTI problem type tests on content gating.
REV-492
2018-11-09 09:23:44 -05:00
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
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 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
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00
Ned Batchelder
8acea435cf setUpClassAndTestData is tricker than pylint understands 2018-11-02 11:06:59 -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
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
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
Calen Pennington
0adb654724 Add a shell app for content_type_gating 2018-10-29 11:44:44 -04:00
Matthew Piatetsky
287acf5eef Add clarifying information regarding user course expiration 2018-10-25 14:48:16 -04:00
Matt Tuchfarber
6a01093423 Flesh out expiration date for user-course combo logic 2018-10-25 12:55:53 -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
Matthew Piatetsky
3c47d19a52 add redirect behavior when accessing expired course and add tests 2018-10-17 21:37:28 -04:00
Matthew Piatetsky
c51ee5ecba move user course expiration date into separate function 2018-10-17 09:20:46 -04:00
Matthew Piatetsky
3e87cb7c7d fix expired message on dashboard and some of the tests 2018-10-17 09:20:45 -04:00
Nimisha Asthagiri
dc56a63e03 Remove deprecated JwtBuilder
ARCH-248
2018-10-17 07:43:59 -04:00
Calen Pennington
97a659c416 Limit access for Audit users to courses after a specified period of time 2018-10-12 16:43:23 -04:00
Calen Pennington
4642efbf08 Create shell django app for course duration feature 2018-10-12 16:43:13 -04:00
Nimisha Asthagiri
02ba5fb0e8 Login service support for JWT Cookies 2018-10-01 13:08:40 -04:00
Nimisha Asthagiri
b7deedfb36 Refactor Login Cookies 2018-09-25 09:12:08 -04:00
Nimisha Asthagiri
e2ff1ec537 Merge pull request #18917 from edx/arch/user-authn-app
Consolidate user login and authentication code
2018-09-15 10:00:51 -04:00
Nimisha Asthagiri
8cf44283c9 Consolidate user login and authentication code 2018-09-15 03:21:39 -04:00
Nimisha Asthagiri
700a902b68 Cleanup and remove deprecated RequestCache Django app
ARCH-223
2018-09-12 14:39:11 -04:00
hasnain-naveed
d8eca3f299 WL-1687 | Added journals access in xblock rendering 2018-09-11 17:15:54 +05:00
Bill Filler
a8b1fee847 Add support for Journals frontend app 2018-09-06 14:20:45 -04:00
Jeremy Bowman
3ff3eee2f2 TE-2689 Remove useless pylint suppressions part 4 2018-08-20 12:54:22 -04:00
Jeremy Bowman
713d64e1e2 TE-2702 Update Read the Docs links to HTTPS 2018-08-15 17:34:01 -04:00
Calen Pennington
44d612bae5 Fix unrelated pylint errors that cropped up 2018-08-10 13:32:55 -04:00
Dillon Dumesnil
f59eafa1c0 Removing student records waffle flag from LMS 2018-08-08 15:04:27 -04:00
Jeremy Bowman
c290bf8a07 TE-2524 Stop using nose.plugins - openedx 2018-08-02 14:54:50 -04:00
Bill Filler
df52ff0038 Merge pull request #18395 from edx/whitelabel/journal
Add journals support in LMS
2018-07-23 15:10:38 -04:00
Bill Filler
c746a4e630 Add Journals support
Enable the journal app in LMS. Add support to display Journals on index
and courseware pages and dashboard.
2018-07-23 13:11:26 -04:00
attiyaishaque
e0472a7a15 Fix screen reader issue on profile page. 2018-07-19 12:49:48 +05:00
Adeel Khan
5a730aa934 Improve CourseListView end point latency by removing CourseWaffleFlag.
This patch would remove CourseListView slow transaction by changing
CourseWaffleFlag to WaffleFlag. This removes extra hit on
WaffleUtil's model (WaffleFlagCourseOverrideModel).

LEARNER-5566
2018-07-13 16:09:05 +05:00
Robert Raposa
df94c82a04 Merge pull request #17332 from open-craft/john/improve-search-error-messages
Improve search error messages
2018-07-02 16:53:20 -04:00
Awais Jibran
4b81ab6312 Merge pull request #18367 from edx/aj/EDUCATOR-3035/screenreader-issue
Screen reader issue with structure of LMS course outline
2018-07-02 15:33:54 +05:00