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
By explicitly importing the legacy namespace classes, we make it clear
that we are using soon-to-be-deprecated classes. We will then be able to
start removing the legacy classes, one module at a time.
Instead of going up the stacktrace to find the module names of waffle
flags and switches, we manually pass the module __name__ whenever the
flag is created. This is similar to `logging.getLogger(__name__)`
standard behaviour.
As the waffle classes are used outside of edx-platform, we make the new
module_name argument an optional keyword argument. This will change once
we pull waffle_utils outside of edx-platform.
Note that the module name is normally only required to view the list of
existing waffle flags and switches. The module name should not be
necessary to verify if a flag is enabled. Thus, maybe it would make
sense to create a `add` class methor similar to:
class WaffleFlag:
@classmethod
def add(cls, namespace, flag, module):
instance = cls(namespace, flag)
cls._class_instances.add((instance, module))
* remove waffle flag for proctoring providers
removed waffle flag
removed tests
updates for requested changes
corrected mistake
Add edX Django Rest Framework Extensions CSRF App URLS to Studio
MST-334 Make sure the CSRF hooks are in INSTALLED_APPS on Studio (#24607)
ENT-2894: Use new welcome template when redirected from enterprise proxy login view (#24587)
* using new welcome template when redirected from enterprise proxy login view
* enabling safe redirects to enterprise learner portal from login in devstack
* ading admin portal to login redirect whitelist
* running make upgrade to version bump edx-enterprise
fix(i18n): update translations
Updating Python Requirements
[REV-1257] Add upsell tracking for upgrading all programs button on program dashboard (#24589)
Added upsell tracking to the course upgrade all button on the program dashboard so we have a better understanding of when users are clicking our upsell links.
POST proctored exam settings (#24597)
allow blank escalation email (#24613)
[BD-10] Remove _uses_pattern_library property from EdxFragmentViews (#24536)
[BD-10] remove edx-pattern-library from JS bundles (#24165)
Co-authored-by: Sankar Raj <sankar.raj@crystaldelta.com>
Make the ExperimentWaffleFlag respect course masquerading when checking if it's active for a specific enrollment
[REV-1205] Add doc location comment so future devs can easily find it (#24615)
AA-204: passing correct section information to frontend to complete outline portion of tab
AA-204: adding tests
AA-204: fixed up documentation and tests
[BD-10] Remove uses bootstrap method (#24535)
Remove pattern library of certificate styles.
update search description on new search string (#24619)
* update search description on new search string
* disable xss-lint rule for jquery.html
make comment more general, to allow for future changes (#24618)
[BD-10] [DEPR-92] Remove pattern library of pavelib folder (#24591)
[BD-10] [DEPR-92] Remove directories that includes pattern-library. (#24602)
Add SSO Records endpoint for support tools
Bucket users regardless of enrollment in courseware MFE experiment
Updating Python Requirements
Change the default value of allow_proctoring_opt_out (#24626)
MST-333
ENT-3143: display message banner guiding user to their enterprise LP if enabled (#24625)
* display message banner guiding user to their enterprise LP if enabled
* adding new sass class name to use same styling as recovery email alert
Add "Source from library" XBlock
This lets the user import a block from a blockstore-based content library into a (modulestore based) course, by copying the block into the course.
Revert "[BD-10] [DEPR-92] Remove pattern library of certificate styles." (#24633)
Revert "[BD-10] [DEPR-92] Remove directories that includes pattern-library. (#24602)"
This reverts commit e4f28debb7.
Revert "[BD-10] [DEPR-92] Remove pattern library of pavelib folder (#24591)" (#24635)
This reverts commit 6980291d96.
allow plus or minus one (#24637)
geoip2: update maxmind geolite country database
fix keyerror with request.session (#24642)
* fix keyerror with request.session
* improve the conditional
AA-127: Created MFE Outline Tab Waffle Flag
Note: The team settled on raising a 404 when the waffle flag is disabled.
Upon receiving the 404, the frontend will redirect to the LMS.
Fixes session caching for enterprise portal links by only caching for auth'd learners
BUG: fixes for saml provider config/data lookup
Fix xss in edit member template
Fix xss while rendering file-upload
Fix xss in date
Fix xss in base site template
* revert
* removed from test_views
To toggle proctored exam advanced settings
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
Updated JS UT and acceptance
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
Fix Pylint for enrollments
README for enrollments app
Move command arguments to common settings
Move command parameter arguments, resend-days and days-range, to
common settings. This will help in creating a consistency when the
default values are changed in the future.
LEARNER-7313
Bumped edx-enterprise version and added cornerstone app
Updating Bokchoy testing database cache (#20713)
complete waiting enrollments. fixed
Remove microsites from user_authn
DEPR-30
Remove microsites from certificates
DEPR-26
Remove microsites from shoppingcart
DEPR-27
Updating Bokchoy testing database cache (#20715)
add arch decision of computation of course-user discount
Mark missing string for internationalization
Remove microsites from static_template_view
DEPR-28
README for commerce and shoppingcart
README for certificates
README for course_experience
geoip2: update maxmind geolite country database
user existence check updated to use email only
Bumped edx-when
Use our fork of this repo instead of the mitocw one.
Make platform bootstrap footer match other footer
Changes:
- Add logo back
- Fix up spacing
- Change font sizes and color
Mark alt text for translation
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - test_settings.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
waffle flag - studio.show_review_rules
To toggle proctored exam advanced settings
acceptance testing update.
Added CR comments - moved UI vis toggle to template instead of js. Moved waffle flag to waffle.py
Updated JS UT and acceptance
Move common/djangoapps/enrollment to openedx/core/djangoapps/enrollments
Fix Pylint for enrollments
README for enrollments app
Move command arguments to common settings
Move command parameter arguments, resend-days and days-range, to
common settings. This will help in creating a consistency when the
default values are changed in the future.
LEARNER-7313
Bumped edx-enterprise version and added cornerstone app
Updating Bokchoy testing database cache (#20713)
complete waiting enrollments. fixed
Remove microsites from user_authn
DEPR-30
Remove microsites from certificates
DEPR-26
Remove microsites from shoppingcart
DEPR-27
Updating Bokchoy testing database cache (#20715)
add arch decision of computation of course-user discount
Mark missing string for internationalization
Remove microsites from static_template_view
DEPR-28
README for commerce and shoppingcart
README for certificates
README for course_experience
geoip2: update maxmind geolite country database
user existence check updated to use email only
Bumped edx-when
Use our fork of this repo instead of the mitocw one.
Make platform bootstrap footer match other footer
Changes:
- Add logo back
- Fix up spacing
- Change font sizes and color
Mark alt text for translation
Open edit image modal via a custom signal
Send img tag attributes in open signal
Send natural image dimensions if no attr specified
Add new modal button in addition to old button
Also load built CSS when waffle switch on
Swap out TinyMCE toolbar button on waffle switch
Pass LANGUAGE_CODE from Django to template to studio-frontend
Define request.LANGUAGE_CODE in test_container_page.py