M. Zulqarnain
7aadf55387
feat: New codemods on OpenedX 4 ( #28779 )
2021-11-01 18:05:02 +05:00
Awais Qureshi
82ef28b43f
chore: Django3 has removed python_2_unicode_compatible.
...
Execute the codemodes.
2021-07-29 18:24:39 +05:00
Robert Raposa
8ef8b35a54
docs: update toggle docs
...
A variety of updates were made to improve the toggle documentation:
* Added comments to help ensure that the waffle(), waffle_switches(),
waffle_flags() anti-pattern won't be contagious (copied).
* Some minor toggle_description updates.
* Removed empty toggle_target_removal_date annotations for
non-temporary toggles.
* Removed empty optional toggle_warnings annotations.
* Removed empty optional toggle_tickets annotations.
* Removed deprecated toggle_category, toggle_status,
and toggle_expiration_date annotations.
* Fixed some indents, use cases, and implementations.
ARCHBOM-1721
2021-04-01 21:58:29 -04:00
Manjinder Singh
c74b623948
Fixing code-annotations ( #25539 )
...
* Fixing code-annotations
2020-11-06 12:52:08 -05:00
Régis Behmo
a4ba4ae45e
Clarify many feature toggle annotations across all applications
2020-09-16 15:20:43 +02:00
Régis Behmo
7d93715880
Rename toggle_expiration_date to toggle_target_removal_date
...
This is part of the changes brought by code-annotations==0.7.0
2020-09-16 15:19:16 +02:00
Régis Behmo
98a13d6a7e
Remove deprecated toggle_status annotation
...
This annotation is deprecated since code-annotations==0.7.0
2020-09-16 15:19:15 +02:00
Régis Behmo
7dc460d50a
Wrap toggle annotation lines with multiline comments
...
This takes advantage of the new multiline annotation format with
single-line comment prefix, from code-annotations.
2020-09-16 15:16:12 +02:00
Régis Behmo
d34aa1c643
Document lms/djangoapps/courseware feature toggles
2020-09-16 15:15:46 +02:00
Michael Terry
3030efec78
AA-177: Add masquerading for course home MFE
...
- Looks at masquerading config for dates, outline, metadata, and
celebration APIs in course_home_api / courseware_api.
- Consolidates and cleans up places we check whether masquerading
gives us full access to a course.
2020-06-29 12:37:47 -04: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
Matthew Piatetsky
8d8626ca1f
address comments
2019-11-01 13:41:01 -04:00
Matthew Piatetsky
c2774083ea
create table that excludes enrollments from FBE
2019-10-31 16:30:52 -04:00
Wei Lee
1d5a72ac33
INCR-236 ( #20502 )
...
* INCR-236
* Run python-modernize on openedx/features/course_duration_limits and
verify that the change makes sense and tests does not break
* Remove redundant import and update docstring style
2019-05-23 11:53:58 -04:00
Matthew Piatetsky
62b9bb89c8
Change content_type_gating enabled_for_enrollment to return false if a course has no verified mode or a user is not enrolled in the audit mode
2019-04-14 16:32:13 -04:00
Matthew Piatetsky
74bcc29417
Remove FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG
2019-03-07 15:46:33 -05:00
Matthew Piatetsky
49ae6b9d73
Remove CONTENT_TYPE_GATING flag
2019-03-07 15:46:33 -05:00
Matthew Piatetsky
80c9d04b83
Merge pull request #19947 from edx/REVMI-67
...
REVMI-67 update description to describe datetime as user local time
2019-03-07 09:18:38 -05:00
Matthew Piatetsky
9740746e9f
update description to describe datetime as user local time
2019-03-06 10:48:15 -05:00
Matthew Piatetsky
fd00ce1d0b
stop ignoring enrollment creation date if the user is masquerading
2019-03-05 16:05:17 -05:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
Matthew Piatetsky
5bb56fe45f
add informational banners when masquerading as user who would not have access due to start date
2019-01-10 11:06:30 -05:00
Matthew Piatetsky
c9dc4d116f
clean up where access checks happen
2019-01-07 17:02:33 -05:00
Bill Filler
c253374372
Conditionalize track selection based on settings of course duration and content gating
2019-01-07 09:47:37 -05:00
Matthew Piatetsky
1396ca9173
Ignore enrollment date for FBE when masquerading
2018-12-26 20:29:44 -05:00
Bessie Steinberg
6f2a2785e8
REVE-154 FBE Global Kill Switch
...
Create a global kill switch for feature based enrollment. To turn on
the kill switch (and turn off both course duration gating and content
type gating) enable a waffle flag named:
'content_type_gating.global_kill_switch'
2018-12-14 09:36:56 -05:00
Matthew Piatetsky
93f6dfa330
Remove username from holdback key
2018-12-12 20:46:45 -05:00
Matthew Piatetsky
14a899a65d
REVE-104 & REVE-108: Ensure Course Roles' Access
2018-12-07 16:39:09 -05:00
Gabe Mulley
3c5caaf762
REVE-103: Fix masquerade for feature based enrollments
2018-12-03 12:05:00 -05:00
Calen Pennington
bced52b728
Merge pull request #19334 from cpennington/enabled-as-of-datetime
...
Enabled as of datetime
2018-11-30 15:09:11 -05:00
Calen Pennington
31047260cc
Switch ContentTypeGatingConfig.enabled_as_of and CourseDurationLimitConfig.enabled_as_of to datetimes
2018-11-30 10:02:53 -05:00
Matthew Piatetsky
bbfbd43cb7
Merge pull request #19335 from edx/REVE-108
...
Ensure staff users do not see expiration banner
2018-11-29 12:42:25 -05:00
Calen Pennington
af86f7856c
Merge pull request #19333 from cpennington/enable-content-gate-partition-when-override-enabled
...
Enable content gate partition when override enabled
2018-11-29 10:59:47 -05:00
Matthew Piatetsky
08301a484e
Ensure staff users do not see expiration banner
2018-11-29 09:45:49 -05:00
Matthew Piatetsky
815acda002
Populate experiment data with holdback key post enrollment and check holdback key when setting user group
2018-11-28 13:40:57 -05:00
Calen Pennington
2a42628e19
Put actual data in ContentTypeGatingConfig and CourseDurationLimitConfig __str__ methods
2018-11-28 12:19:33 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05:00