Commit Graph

59729 Commits

Author SHA1 Message Date
Kshitij Sobti
8cf751a405 feat: Add REST APIs for course advanced settings and course tabs
This commit adds new APIs that allow MFEs to modify a course's advanced settings
and to update tab settings to show/hide/move tabs.
2021-08-31 11:11:46 +05:00
alangsto
c2ba5e7975 chore: update edx-proctoring version (#28586) 2021-08-30 19:29:00 -04:00
Manjinder Singh
4ff02c50a4 feat: fixing javascript in sandbox (#28565) 2021-08-30 15:41:32 -04:00
Alex Dusenbery
23bf7f1795 refactor: edx-enterprise 3.27.26
Refactor data-sharing consent GET and POST handlers to not have too many statements, because readability matters.
2021-08-30 15:04:03 -04:00
Felipe Montoya
6e48ffd9f6 Merge pull request #28547 from eduNEXT/MJG/fix_missing_profile_for_tests
refactor: replace User.objects.create_user for UserFactory p2
2021-08-30 10:33:29 -05:00
Feanil Patel
ca6ef04b1f Merge pull request #28036 from regisb/regisb/fix-milestones-docs
fix: Milestones app feature flag docs
2021-08-30 11:18:48 -04:00
Maria Grimaldi
54627e1101 refactor: replace User for UserFactory and its methods
This change is done so the profile is automatically created for tests users
2021-08-30 11:03:49 -04:00
Binod Pant
9983ed9885 feat: ENT-4776 blackboard client oauth refresh token fixes (#28566)
ENT-4776
2021-08-30 10:51:33 -04:00
Régis Behmo
6b1700803c fix: Milestones app feature flag docs
The feature flag that should be set is not ENABLE_MILESTONES_APP but
MILESTONES_APP.
2021-08-30 16:40:48 +02:00
Olivia Ruiz-Knott
79b8b376fa Merge pull request #28567 from edx/ork/MICROBA-1399_certificate-date-override-adr
doc: ADR for date override
2021-08-30 08:31:32 -06:00
David Ormsbee
8b17afc818 fix: prefer HTML5 video when youtube support is deprecated.
In the case where a server/course has both:

* YouTube deprecated (waffle flag: videos.deprecate_youtube = True)
* HLS enabled (ConfigModel: HLSPlaybackEnabledFlag, in video_config)

Prior to this commit, we would prefer the HLS source if one of the
HTML5 video sources specified a .m3u8 file. However it looks like this
file isn't always guaranteed to be produced.

This fix always prefers HTML5 video sources to YouTube if the server or
course is configured to deprecate YouTube, as long as at least one
non-YouTube source is found. TNL-8594.

Note that this may confuse users because we're essentially bypassing
their Studio-specified preferred primary source with a server-wide
setting.
2021-08-30 10:12:12 -04:00
alangsto
b9d5e8c3f9 chore: update name affirmation version (#28576) 2021-08-30 09:30:24 -04:00
Usama Sadiq
358e846768 BOM-2747: Remove django-ipware constraint (#28529)
* fix: remove django-ipware constraint
2021-08-30 18:24:59 +05:00
alangsto
9b97071647 chore: update edx-proctoring version to latest release (#28559) 2021-08-30 08:12:27 -04:00
Usama Sadiq
cde050618e build: Moved user and group management commands and unit tests to edx-django-utils
- Removed manage_user and manage_group commands and their unit tests from edx-platform and added then to edx-django-utils.
- Modified User.post_save signal to ensure the user profile is created when manage_user management command is run to create a user.
- Added edx-django-utils to INSTALLED_APPS for LMS and Studio.
- Moved generate_password from openedx.core.djangoapps.user_authn.utils to edx_django_utils.user along with its unit test.
2021-08-30 12:03:37 +05:00
edX Transifex Bot
2ed89f5805 fix(i18n): update translations 2021-08-30 02:42:58 +05:00
oliviaruizknott
2bd9d663cd doc: ADR for date override 2021-08-27 14:21:31 -06:00
julianajlk
646245508a fix: format audit deadline in Track Selection (#28558)
REV-2133
2021-08-27 13:45:03 -04:00
Michael Roytman
15438cab49 Merge pull request #28564 from edx/mroytman/update-edx-name-affirmation-version-0.7.0
chore: Update version of edx-name-affirmation library from 0.6.4 to 0.7.0.
2021-08-27 11:14:03 -04:00
Leangseu Kim
79369f01b6 bump ora version 2021-08-27 10:19:28 -04:00
michaelroytman
4198975928 chore: Update version of edx-name-affirmation library from 0.6.4 to 0.7.0.
This package includes a change that adds two key fields to the VerifiedNameHistoryView, verified_name_enabled and use_verified_name_for_certs.

MST-954 (https://openedx.atlassian.net/browse/MST-954)
2021-08-27 09:53:26 -04:00
alangsto
b6cb629849 feat: add signal emitters for IDV (#28511)
MST-805. A signal should be emitted upon an IDV attempt being submitted or reviewed for consumption by other applications.
2021-08-26 15:29:48 -04:00
Phillip Shiu
0b4aaa90c7 Merge pull request #28544 from edx/pshiu/REV-2214_AddResumeAccent
fix: add accent to e in resumé

Closes: REV-2214
2021-08-26 12:58:24 -04:00
Olivia Ruiz-Knott
6e85d6d59e Merge pull request #28550 from edx/ork/MICROBA-1423_send-date-override
refactor: send cert changed signal on_commit
2021-08-26 08:19:57 -06:00
edX Transifex Bot
52a9487bd2 fix(i18n): update translations 2021-08-26 13:31:05 +05:00
oliviaruizknott
eb2d606283 refactor: send cert changed signal on_commit
Because we have ATOMIC_REQUESTS turned on, the COURSE_CERT_CHANGED
signal was being sent *before* the date override was committed to the
database. This means that the date override data sent to credentials on
CertificateDateOverride save() was always one commit behind.

Django provides an on_commit() function to allow us to perform actions
only after a transaction is completed successfully. I believe this
is when we want this signal to be sent.

This is an alternative to 1) disabling atomic transactions for a view
(honestly, I’m not sure which view we would target anyway), or 2)
passing more data down through the signal.

Toward MICROBA-1423
2021-08-25 15:45:17 -06:00
edX Transifex Bot
83e2d46dc9 geoip2: update maxmind geolite country database 2021-08-26 02:04:21 +05:00
Tim McCormack
90b48d68b6 feat: Activate Studio SSO for devstack (#28534)
This also requires using different session cookie names in devstack for
LMS and Studio so that we can properly use the OAuth flow locally, rather
than just sharing a session cookie on the localhost domain. (Note that
ports are not used for cookie segmentation in browsers.)

This depends on the following provisioning PR:
https://github.com/edx/devstack/pull/825
2021-08-25 20:37:05 +00:00
Tim McCormack
303d7923eb doc: Add logout-uri step in studio oauth instructions (#28548) 2021-08-25 19:54:36 +00:00
Matt Hughes
cc8522c13f revert: https://github.com/edx/edx-proctoring/pull/902
Causing AttributeErrors refering to `is_verified` for some reason
2021-08-25 15:05:05 -04:00
Phillip Shiu
9dc20e1432 fix: add accent to e in resumé in html files
Fixes: REV-2214
2021-08-25 13:33:06 -04:00
Phillip Shiu
1932b6ecb9 fix: add accent to e in resumé in conf/locale
git grep -lI resume | xargs sed -i '' "s/to your CV or resume/to your CV or resumé/"
git grep -lI resume | xargs sed -i '' "s/showcase on your resume/showcase on your resumé/"
git grep -lI resume | xargs sed -i '' "s/a verified certificate on my resume/a verified certificate on my resumé/"
git grep -lI resume | xargs sed -i '' "s/resume - I feel like this certificate/resumé - I feel like this certificate/"

Manually reviewed using git diff --word-diff-regex="."

Fixes: REV-2214
2021-08-25 13:33:06 -04:00
julianajlk
f427828361 Update waffle flag for Value Prop Track Selection (#28536)
REV-2133
2021-08-25 13:26:40 -04:00
Sarina Canelake
31854bd7d7 Merge pull request #28486 from open-craft/shimulch/fix-duplicate-arabic-month
[BB-4649] fix: Duplicate Arabic month
2021-08-25 13:11:58 -04:00
Manjinder Singh
5d6f163a0b feat: Adding new CookieNameChange middleware (#28404)
Description: Adds a new middleware to help with cookie name changes. It uses the idea of expand and contract, where after we've changed the name, the middleware allows up to accept either a cookie with new name (given higher priority when both are present) or cookie with old name.

This is also helpful when changing domain of a cookie.

impacts: developers, users(anyone that has cookies)
Change depends on django setting changes. See CookieNameChange middleware for more info.
2021-08-25 12:43:21 -04:00
Simon Chen
f1a603edcd fix: Fix bug where username is being used as DOM ID for accordian on bulk exam allowance view. (#28542)
MST-994

Fix the bug introduce when the username contains special characters like @. These causes javascript errors on bulk exam allowance view

The change is all on edx-proctoring library. This is a version update to fix the above bug

Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2021-08-25 12:33:26 -04:00
Tim McCormack
f75ae33580 feat: Implement (but don't activate) LMS OAuth2 SSO login for Studio (#28533)
Once LOGIN_URL is changed for an environment, the OAuth flow will be
activated. (See included temporary doc.)

This is for ARCHBOM-1860: Convert Studio to use LMS OAuth login.
2021-08-25 16:16:48 +00:00
Albert (AJ) St. Aubin
18a3cdaeb8 fix: Correct an issue where cert available date was not sent to Credentials 2021-08-25 11:01:51 -04:00
Kyle McCormick
cd3957b987 fix: upgrade py2neo from 3.1.2 to 2021.1.5 (#28480)
* fix: upgrade py2neo from 3.1.2 to 2021.1.5

The dump_to_neo4j management command has not been working
since the upgrade to python 3.8. The latest version of
python that py2neo 3.1.2 states support for is python 3.5,
so this isn't surprising.

The earliest non-prerelease version of py2neo that supports
python 3.8 is 2020.x (skipping the 4.x and 5.x series). Since
we're going as far as a 2020.x, we may as well upgrade all the
way to the newest series, 2021.x. This commit does that upgrade,
as well as a handful of minor code modifications in order
to handle breaking changes that have been made to the py2neo
API, and some unrelated pin bumps as the result of
'make upgrade'.

This will also require an upgrade of Coursegraph's Neo4j
version from 3.2.x to 3.5.x.

TNL-8386
2021-08-25 09:34:41 -04:00
Felipe Montoya
8304e4fc42 Merge pull request #28525 from eduNEXT/MJG/fix_profile_tests
refactor: changed create_user with UserFactory to avoid errors
2021-08-24 15:58:16 -05:00
Kira Miller
2aae2994f8 Merge pull request #28531 from edx/kiram15/ent-update
chore: bump edx-enterprise to 3.27.24
2021-08-24 15:53:39 -04:00
Maria Grimaldi
2ee52ea96c refactor: replace some create_user with UserFactory to avoid non-existent profile errors 2021-08-24 15:49:21 -04:00
Andrew Shultz
b7dfaa9b17 Merge pull request #28532 from edx/ashultz0/proctoring-3237
chore: update edx-proctoring to 3.23.7
2021-08-24 14:32:23 -04:00
Andy Shultz
8fcfe64b50 chore: update edx-proctoring to 3.23.7
MST-1001
2021-08-24 13:15:46 -04:00
julianajlk
572965b742 Add waffle flag settings for new Track Selection template (#28523)
REV-2133
2021-08-24 13:02:30 -04:00
Kira
945436d018 chore: bump edx-enterprise to 3.27.24 2021-08-24 12:08:05 -04:00
alangsto
6fa89e610a fix: Allow masquerading users to see content (#28458)
If a user with staff access is masquerading as a specific student, they should be able to see content that would normally be gated for that student.
2021-08-24 09:14:01 -04:00
Azan Bin Zahid
de0f42c93e Merge pull request #28289 from edx/azan/PROD-2400
Pact Provider Verification Setup
2021-08-24 17:19:59 +05:00
Zainab Amir
3f0aa42d84 feat: add activation link to registration event (#28513)
Added activation key to the registration event to be used by braze.
Specifically it will be used by activation reminder emails.

VAN-693
2021-08-24 16:12:45 +05:00
Azan Bin Zahid
1cce2e952d feat: add pact verification method 2021-08-24 14:59:46 +05:00