Robert Raposa
26d4cc6596
add newrelic metrics and trace details
...
Add newrelic metrics and trace details to determine performance issue
in CourseListView.
BOM-897
2020-01-28 12:44:11 -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
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ayub khan
af2e7705b1
INCR-434 python3 compatibility
2019-07-16 15:54:54 +05:00
Calen Pennington
755a5c7db6
Augment content_type_gating tests to detect the failure case from the original REVMI-34 implementation
2019-05-16 15:17:33 -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
Mike Dikan
2c149ca6be
Removing the Deprecated the 'external_auth' package in favor of 'third_party_auth' which is the current recommendation.
2019-03-02 16:06:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Calen Pennington
b295472363
Use generator expressions to make Mobile API constraints clearer
2018-11-21 12:18:10 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05: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
Matthew Piatetsky
9037999bd2
add content gating waffle flag
2018-10-22 20:49:08 -04:00
Matthew Piatetsky
3e87cb7c7d
fix expired message on dashboard and some of the tests
2018-10-17 09:20:45 -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
Jeremy Bowman
d671c4b1d0
TE-2689 Remove useless pylint suppressions part 1
2018-08-13 17:01:21 -04:00
Eric Fischer
8172b49552
Revert "Merge pull request #18125 from edx/efischer/the_code_also_gazes_into_you"
...
This reverts commit 86282eb850 , reversing
changes made to be097fed99 .
2018-05-04 14:45:06 -04:00
Eric Fischer
c78bf811fd
Prefetch user group data for bulk access checks
2018-05-03 16:38:52 -04:00
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Jesse Shapiro
1f5c94d9b6
Process pending enrollments when a user is activated or changes their email address
2018-03-06 16:38:00 +02:00
Bill Filler
4fe5f3457d
Conditionally display gated content in courseware
...
Display gated sections in course outline, navigation and in the course
when user has met prerequiste condition.
WL-1273, WL-1317
2018-01-18 12:34:19 -05:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
John Eskew
7dfb6cc681
Change all UTC timezones to import from pytz instead of Django.
2017-10-05 11:12:52 -04:00
Diana Huang
c338b751f2
Consolidate access checks for prereqs and surveys.
2017-07-24 11:42:39 -04:00
Andy Armstrong
aeecf34387
Enable conditional pre-start-date access to courses
...
LEARNER-1854
2017-07-14 14:00:48 -04: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
noraiz-anwar
d78d52e132
Add masquerading feature for preview mode
2017-05-03 18:50:50 +05:00
cahrens
e5035746bf
Introduce EnrollmentTrackUserPartition.
...
TNL-6674
2017-03-30 12:24:48 -04:00
Christopher Lee
b287f48f8b
Merge pull request #14301 from edx/clee/return-all-courses-on-mobile
...
MA-3091: Return non-mobile courses from the mobile enrollments API
2017-01-23 15:55:08 -05:00
christopher lee
b5e987ba61
MA-3091: Added mobile_available flag override admin setting
2017-01-23 15:04:40 -05:00
cahrens
a6776f6973
Always check group access when masquerading.
...
TNL-6050
2017-01-19 14:47:10 -05:00
Jillian Vogel
8493ff6028
Checks access using the CCX course key,
...
instead of using the base course key (which does not contain the CCX info).
This removes the need for special checking of CCXKey/CCXLocator types, and just
treats them like normal CourseKeys.
This fix allows users with a Staff role on a CCX course to view CCX courses in Insights.
2016-12-22 08:37:49 +10:30
Nimisha Asthagiri
fd49f88e08
Moves external_auth from common to openedx/core.
2016-10-07 12:34:22 -04:00
Sanford Student
fc943ff539
moving milestones check to access.py and upgrading milestones version
2016-08-04 14:47:15 -04:00
Eric Fischer
cae03d0349
Revert "moving milestones check to access.py" ( #13060 ) ( #13061 )
...
This reverts commit 5db58c0038 .
2016-07-21 13:58:35 -04:00
Sanford Student
5db58c0038
moving milestones check to access.py
2016-07-11 14:32:52 -04:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04:00
muzaffaryousaf
e572eafaa4
Staff should be able to masquerade when previewing content.
...
TNL-4291
2016-03-31 19:12:16 +05:00
Amir Qayyum Khan
795ead82b5
Added master course staff and admins to ccx and fixed same issues related to ccx
2016-03-26 03:18:39 +05:00
muzaffaryousaf
bb952e148f
Restrice non-staff users to access preview content.
...
TNL-4194
2016-03-21 20:08:24 +05:00
Amir Qayyum Khan
c0a131e5d6
Allowed ccx coaches to see individual students progress from grade book
2016-01-08 16:05:33 +05:00
Nimisha Asthagiri
44abf7a9a2
Performance enhancement in see_exists: reverse order of checks
2015-12-23 16:40:38 -05:00
Nimisha Asthagiri
2b8441a072
Update Course Catalog to use CourseOverview
2015-12-10 20:37:50 -05:00
Nimisha Asthagiri
801165b266
Remove support for outdated ispublic field on Course Descriptor
...
Also remove its corresponding ACCESS_REQUIRE_STAFF_FOR_COURSE feature
flag.
2015-12-10 20:37:39 -05:00
Michael Frey
29b6ccf5e4
Added new Course List API.
2015-11-24 15:54:03 +00:00