Commit Graph

58450 Commits

Author SHA1 Message Date
Robert Raposa
20e5a3247b add course overrides and computed_status
Adds the following additions to the toggle state endpoint:

- course override data from CourseWaffleFlag.
- computed_status for waffle flags (accounting for
course overrides when applicable), and waffle switches.

Note: the waffle switch computed_status will make more
sense when we include WaffleSwitch instances that don't
have any data in the database.

ARCHBOM-1429
ARCHBOM-1366
2020-08-14 10:16:19 -04:00
Aarif
740d266996 Updating Python Requirements (#24780) 2020-08-14 13:00:53 +05:00
edX requirements bot
cbab8d5d26 Updating Python Requirements 2020-08-14 01:39:29 -04:00
stvn
70dbd1ab75 Merge PR #24772 add/kill-switch
* Commits:
  Implement kill-switch for the Learning MFE
2020-08-13 14:47:03 -07:00
Martin Segado
b2a32bbb69 Fix double-wrapped exception in capa/inputtypes.py
(accidentally introduced in 07df64eb8c last year)
2020-08-13 16:01:11 -04:00
alangsto
458b8b14ce added override settings for test (#24777) 2020-08-13 15:46:54 -04:00
Dillon Dumesnil
da9a248247 Merge pull request #24776 from edx/ddumesnil/turn-off-showanswer-override
Temporarily disable Show Answer Override for self-paced courses
2020-08-13 12:24:28 -07:00
David Joy
c6ae82db57 Implement kill-switch for the Learning MFE
by overriding can_load_courseware if the MFE is disabled for the user

If the user would be allowed to see the courseware MFE
(can_load_courseware), we check whether the MFE is disabled for them,
based on global settings, course settings (mongo courses), or their
particular bucketing in our ExperimentWaffleFlag.

If we determine they shouldn’t be allowed to see it, we return a new
CoursewareMicrofrontendDisabledAccessError access response, which the
MFE will use to know it should redirect to the old LMS experience.

Fixes: TNL-7362
Co-authored-by: stvn <stvn@mit.edu>
2020-08-13 12:05:49 -07:00
Dillon Dumesnil
c702d12957 Temporarily disable Show Answer Override for self-paced courses 2020-08-13 11:56:25 -07:00
David Ormsbee
5d33501c82 Merge pull request #19986 from open-craft/kshitij/report-status
Inline problem response report status
2020-08-13 12:51:55 -04:00
Robert Raposa
b481be873f Merge pull request #24774 from edx/robrap/ARCHBOM-1427-add-waffle-flag-state
ARCHBOM-1427: add waffle flags and switches to toggle state
2020-08-13 12:50:28 -04:00
Anirudh Naidu
e7099518d9 Merge pull request #24771 from edx/chavesj/ENT-2939
ENT-2939: remove ENTERPRISE_CUSTOMERS_EXCLUDED_FROM_CATALOG list and upgrade edx-enterprise
2020-08-13 12:04:58 -04:00
Robert Raposa
c7fb891600 add flags and switches to toggle state
Adds basic waffle flag and waffle switch data
to the toggle state endpoint.

ARCHBOM-1427
2020-08-13 12:02:51 -04:00
Brittney Exline
1091702c9d Merge pull request #24763 from edx/bexline/ent3315
[ENT-3315] Reduce calls to enterprise-learner endpoint by looking up data from db
2020-08-13 09:38:39 -06:00
alangsto
1f5b1e6c4d Removed waffle flag for proctoring backend advanced setting (#24606)
* 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
2020-08-13 11:37:17 -04:00
Robert Raposa
e74149e04d Merge pull request #24770 from edx/robrap/ARCHBOM-1427-toggle-view-tests
ARCHBOM-1427: add tests for toggle state view
2020-08-13 10:08:11 -04:00
Carla Duarte
41c741ae94 Merge pull request #24768 from edx/ciduarte/resume-course-fix
AA-129: Resume Course bug fix
2020-08-13 08:03:33 -04:00
M. Zulqarnain
8039b3f384 Merge pull request #24773 from edx/jenkins/upgrade-python-requirements-d2693e0
Python Requirements Update
2020-08-13 15:24:55 +05:00
Ali Akbar
1f14dc27d2 Merge pull request #24764 from edx/aakbar/PROD-1128
update edx-val
2020-08-13 11:28:01 +05:00
edX requirements bot
0ce0f530a0 Updating Python Requirements 2020-08-13 00:46:05 -04:00
chavesj
c09914b7de removing ENTERPRISE_CUSTOMERS_EXCLUDED_FROM_CATALOG list 2020-08-12 17:51:58 -04:00
chavesj
72c338a8dd upgrading edx-enterprise 2020-08-12 17:50:17 -04:00
Brittney Exline
1af80ff205 [ENT-3315] Reduce calls to enterprise-learner endpoint by looking up data from db 2020-08-12 15:24:39 -06:00
Robert Raposa
eb0f62ee16 add tests for toggle state view
ARCHBOM-1427
2020-08-12 17:18:16 -04:00
edX Transifex Bot
d2693e09fd geoip2: update maxmind geolite country database 2020-08-12 17:07:17 -04:00
M. Zulqarnain
c8ea2c5fde Unpin psutil (#24745) 2020-08-13 01:20:04 +05:00
Bianca Severino
d9aaa58247 Merge pull request #24761 from edx/bseverino/idv-email
[MST-354] Update URLs in ID verification-related emails
2020-08-12 15:50:47 -04:00
Carla Duarte
2298966bfe AA-129: Resume Course bug fix 2020-08-12 15:14:49 -04:00
Diana Huang
e31f688787 Merge pull request #24767 from edx/diana/toggle-endpoint
ARCHBOM-1410 - Add barebones toggles endpoint for development.
2020-08-12 13:51:03 -04:00
Aura Milena Alba
0192de00b2 [BD-10] [DEPR-92] Remove scss files that use pattern library 2020-08-12 13:12:36 -04:00
Diana Huang
0827a3749d Add barebones toggles endpoint for development. 2020-08-12 12:47:38 -04:00
Manjinder Singh
dbe40dae1a exposing constants to be backwards compatible (#24765)
* exposing constants to be backwards compatible
2020-08-12 12:43:07 -04:00
Nathan Sprenkle
34aa87d231 Update ORA to 2.9.1 (#24753) 2020-08-12 12:01:55 -04:00
Ali-D-Akbar
686504bfed update edx-val 2020-08-12 20:01:18 +05:00
Nick
10ac2780de Merge pull request #24733 from edx/ndalfonso/AA-287-cta-events
AA-287 cta events
2020-08-12 09:37:13 -04:00
Kshitij Sobti
559ff54a06 Add UI to display report creation progress.
Adds an in-line status display for problem report generation progress.

Co-authored-by: Adam Kovari <adam@opencraft.com>
Co-authored-by: Eugeny Kolpakov <eugeny.kolpakov@gmail.com>
Co-authored-by: Kshitij Sobti <kshitij@sobti.in>
Co-authored-by: Braden MacDonald <braden@opencraft.com>
2020-08-12 19:05:31 +05:30
Adam Stankiewicz
241db5ff47 bump edx-enterprise to 3.5.3 (#24755) 2020-08-12 09:25:11 -04:00
Bianca Severino
4d19d9687c Change URLs in IDV related emails to the new experience 2020-08-12 09:22:42 -04:00
edx-pipeline-bot
a64970de74 Merge pull request #24760 from edx/private_to_public_8df43bd
Mergeback PR from private to public.
2020-08-12 17:38:12 +05:00
Manjinder Singh
c76ed6ae45 Extracting plugin app from edx-platform (#24678)
* Moving plugins infrastructure to edx-django-utils
This PR extracts the code that enables plugins in edx-platform and puts it in edx-django-utils. This is done to allow other IDAS to add plugin functionality.
2020-08-12 07:48:53 -04:00
Ali Akbar
8df43bd201 Merge pull request #194 from edx/aakbar/PROD-1534
PROD-1534 security fixes
2020-08-12 12:30:25 +05:00
Ali Akbar
fb94f09bea Merge pull request #186 from edx/sustaining/security-fixes-2
Sustaining/security fixes 2
2020-08-12 12:30:14 +05:00
Aarif
7666e131f2 Updating Python Requirements (#24756) 2020-08-12 11:29:09 +05:00
Zia Fazal
601dc79ded Merge pull request #24743 from edx/ziafazal/e2e-tests-devstack
[BD-18] Disable django debug toolbar when running e2e tests
2020-08-12 09:51:47 +05:00
edX requirements bot
52773ff9b6 Updating Python Requirements 2020-08-12 00:46:03 -04:00
Alexander J Sheehan
e93c4e1038 Merge pull request #24750 from edx/alex-sheehan-edx/enterprise-version-bump
bump edx-enterprise to version 3.5.1
2020-08-11 15:37:41 -04:00
Albert (AJ) St. Aubin
c9893421ca [MICROBA-497] CSS update to fix hover positioning for Coaching CTA 2020-08-11 15:23:01 -04:00
Alexander Sheehan
98d261537c bump edx-enterprise to version 3.5.1 2020-08-11 15:05:02 -04:00
Guruprasad Lakshmi Narayanan
149ebfec58 Fix the order randomization behaviour of Randomized Content Block
The Randomized Content Block XBlock only randomizes the selection of
the children blocks and has unpredictable randomization of
the order of the selected child blocks due to the usage of sets, which
are unordered, for storing the selected blocks. This becomes apparent
when all the available child blocks in a library are chosen for a
Randomized Content Block, to randomize just the order of the child
blocks and not just the selection of the blocks. The order of the
selected blocks ends up being similar for multiple learners.

This change modifies the XBlock to store the selected child blocks in
a list, instead of a set, after randomly shuffling them.

A new block structure transformer, ContentLibraryOrderTransformer has
been added to transform the order of the selected children XBlocks to
match the order of the selections made in the
ContentLibraryTransformer. This ensures that same correct randomized order
of blocks is also returned by the course blocks API.
2020-08-11 11:46:49 -04:00
Dave St.Germain
8795bb8c82 Merge pull request #24680 from open-craft/ahmed/fix-capa-dropdown-indexing
[TNL-6993] [BD-29]: Handle edge case where dropdown values are not being indexed
2020-08-11 11:35:29 -04:00