Commit Graph

4498 Commits

Author SHA1 Message Date
John Nagro
f4a4dfedad feat: release edx-enterprise 3.60.9 (#31507) 2023-01-06 13:07:36 -05:00
John Nagro
64620e0156 feat: release edx-enterprise 3.60.8 (#31499) 2023-01-04 17:11:01 -05:00
John Nagro
20a985f6d4 feat: release edx-enterprise 3.60.7 (#31496) 2023-01-04 14:37:52 -05:00
John Nagro
37b3607f50 feat: release edx-enterprise 3.60.5 (#31489) 2023-01-03 12:43:25 -05:00
Rebecca Graber
757ae953f3 fix: update edx-enterprise to bring in provisioning fix (#31474)
* fix: update edx-enterprise to bring in provisioning fix
2022-12-23 15:09:20 -06:00
Robert Raposa
20fac60c0c feat: upgrade edx-drf-extensions (#31471)
Upgrade edx-drf-extensions to pull in new enduser.id
custom attribute for monitoring.

See https://github.com/openedx/edx-drf-extensions/blob/master/CHANGELOG.rst#840---2022-12-16
2022-12-21 16:57:02 -05:00
Alex Sheehan
d20f624b76 chore: bumping enterprise package version to latest 2022-12-21 20:22:10 +00:00
Matthew Carter
cabeb65211 chore: Update edx-bulk-grades (#31469)
Defect prevents logging error messages https://2u-internal.atlassian.net/browse/AU-977
2022-12-21 14:24:20 -05:00
John Nagro
497644185f feat: release edx-enterprise 3.60.1 (#31465) 2022-12-20 14:55:41 -05:00
Alex Sheehan
ea385c7139 chore: bumping enterprise version to 3.59.2 2022-12-16 16:29:08 +00:00
michaelroytman
ce56c40009 feat: update xblock-lti-consumer library to fix PII sharing bugs and enable PII sharing in LTI 1.3
This commit upgrades the version of the lti-consumer-xblock library from version 7.1.0 to version 7.2.0. Version 7.2.0 includes a number of fixes to bugs relating to personally identifiable information (PII) sharing in LTI launches in both LTI 1.1 and LTI 1.3. Version 7.2.0 also enables PII sharing (username and email) in LTI 1.3 launches.

Please see the CHANGELOG entry for these versions for a full description of the changes: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#720---2022-12-15.
2022-12-15 14:58:34 -05:00
bszabo
05542a3f52 Merge pull request #31344 from openedx/bszabo/TNL-10136-reapply-course-enrollment-changes
feat: TNL-10136 tease course enrollment from student model
2022-12-15 13:17:59 -05:00
John Nagro
7653e408c1 feat: release edx-enterprise 3.59.1 (#31450)
- also adjusting retirement and GDPR tests to reflect new schema
2022-12-14 19:08:26 -05:00
Bernard Szabo
6e75002bb4 feat: TNL-10136 fix dependencies
Multiple commits squashed. Common theme was to resolve dependencies with master branch
2022-12-13 18:02:25 -05:00
Bernard Szabo
2d544f94be feat: TNL-10136 tease course enrollment from student model
Reapply changes developed in bszabo/TNL-10136-student-course-enrollment branch to current master
2022-12-13 17:19:34 -05:00
Saleem Latif
d7f2b555c7 Merge pull request #31434 from openedx/saleem-latif/ENT-6518-updates
ENT-6518: chore: Updated edx-enterprise version to 3.59.0
2022-12-13 11:31:39 +05:00
Tim McCormack
b8a34f0c57 build: Set Django version for tests more safely; drop support for non-GHA (#31387)
We have a need to lock the version of Django for production and tests, but
also to test on newer versions of Django so that we can get the repo ready
for long-term-support releases.

We've been doing that by extracting the `django==x.y.z` from the
pip-compiled files and moving it to a django.txt that is then co-installed
but can be overridden during tests. The problem is that this can result
in broken packages.

The approach here is to have `make test-requirements` continue to
ensure a consistent set of packages, and then install a different
Django on top of that in the CI script -- and call `pip check` to make
sure that combination isn't broken.

Adding Django 4.0 to the unit-tests.yml matrix will now correctly
result in this error and a failing job:
`django-splash 1.2.1 has requirement Django<4.0, but you have django 4.0.8.`

The other half of this is to change other CI runners to remove their
ability to control the Django version, since it's complicated to make
this work, and we probably only need it in unit-tests.yml. Convert them
to just use `make test-requirements`.

Also:

- Simplify handling of `pip --src` by setting `PIP_SRC` (rather than our
  own `PIP_SRC_DIR`, which pip ignores because `--src-dir` isn't an option
  that it knows). This is needed to allow `make test-requirements` to do
  the pip calls. An alternative would be to set a pip-options env var for
  the make target to use, but `PIP_SRC` already exists.
- Remove outdated modifications to common_constraints
- Add comment explaining why pylint tests need dev-requirements
2022-12-12 21:45:15 +00:00
Zachary Hancock
35b3eacc96 feat: update lti-consumer lib (#31437)
Adds support for a platform setting to disable sharing of pii over the LTI names and roles provisioning service.
2022-12-12 09:54:33 -05:00
Saleem Latif
0fcd4334f8 chore: Updated edx-enterprise version to 3.59.0 2022-12-12 17:26:02 +05:00
Kira
b717a76d64 chore: version bump 2022-12-09 12:04:03 -05:00
Sameen Fatima
7819221ce5 chore: upgrade edx-enterpise to 3.58.17 (#31419) 2022-12-09 10:35:09 +05:00
Muhammad Umar Khan
9c279444df build: add import linter check (#31062)
* build: add import linter check
2022-12-07 12:07:09 +05:00
Kira Miller
2df1b60469 Merge pull request #31406 from openedx/kiram15/version
chore: version bump
2022-12-06 12:04:45 -05:00
Andy Shultz
197bfa2b83 fix: update proctoring library to 4.13.3
4.13.3 merely brings the proctoring library celery version up to date
with the platform celery version, which is already the case when
proctoring is deployed since as a plugin it does not control celery
2022-12-06 11:28:31 -05:00
Kira
db7f18a13b chore: version bump 2022-12-06 09:49:49 -05:00
Rebecca Graber
23e12ac779 feat: pass event_metadata to event bus (#31390) 2022-12-02 09:42:14 -05:00
Alfredo Guillem
5a5edd4efb chore: version bump edx-enterprise to 3.58.15 2022-12-01 17:33:01 +00:00
Alfredo Guillem
817722b16a Update development.txt 2022-12-01 16:07:04 +01:00
Alfredo Guillem
fbec399650 chore: version bump edx-enterprise to 3.58.15 2022-12-01 16:06:35 +01:00
Alfredo Guillem
1ded84e2c5 chore: version bump edx-enterprise to 3.58.15 2022-12-01 16:05:15 +01:00
Usama Sadiq
9bfcc6ca3d fix: Remove custom mypy admin classes (#31379)
* fix: remove custom mypy admin classes
2022-12-01 16:13:18 +05:00
michaelroytman
32d48e7881 feat: upgrade lti-consumer-xblock to install fixes to Basic Outcomes Service and Result Service
This commit upgrades the version of the lti-consumer-xblock library from version 6.4.0 to version 7.0.2. This includes versions 7.0.0, 7.0.1, and 7.0.2.

Version 7.0.0 includes refactoring to remove deprecated method calls to rebind_noauth_module_to_user, get_real_user, runtime.hostname, and runtime.course_id.

Version 7.0.1 includes a fix to the clean method of the LtiConfiguration model. The fix changes the way we look up the course ID so that we can access the course ID without needing to load the XBlock.

Version 7.0.2 includes fixes to LTI 1.1 Basic Outcomes Services and LTI 2.0 Result Service when using an external_user_id as a user identifier.

Note that version 7.0.1 was originally deployed in https://github.com/openedx/edx-platform/pull/31369. It was reverted soon after in https://github.com/openedx/edx-platform/pull/31377. The issue occurred in version 7.0.0, in the following line https://github.com/openedx/xblock-lti-consumer/pull/249/files#diff-ab027143adc95b9776c12e973e28f025a21b0d88112937af93645829686527fdL186. self in the call to the service is an instance of the OutcomeService. self should be an instance of an XBlock (i.e. LtiConsumerXBlock). Version 7.0.2 fixes this bug by moving the call to the service to the LtiConsumerXBlock, where self is an instance of an XBlock. Therefore, we are deploying this version to fix forward.

Please see the CHANGELOG entries below for these versions for a full description of the changes.

Version 7.0.0: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#700---2022-11-29
Version 7.0.1: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#701---2022-11-29
Version 7.0.2: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#702---2022-11-29.

The commit messages of each version are included below for convenience.

7.0.0
-----
refactor: replace block.location with block.scope_ids.usage_id

7.0.1
-----
fix: do not attempt to load the block just to look at the location
the block is not loadable in exams so clean fails in that IDA, but
we shouldn't need the block to ask a question about the course

7.0.2
-----
In #307, we added the ability to send a stable, static user identifier (i.e. external user ID) to fix failed launches with the QwikLabs tool. This is because the QwikLabs tool did not work with the course-anonymized user IDs we used to send (i.e. anonymous user IDs). Inadvertently, this change broke the LTI 1.1 Basic Outcomes Service and the LTI 2.0 Result Service for courses that use the external user ID (i.e. they have the lti_consumer.enable_external_user_id_1p1_launches CourseWaffleFlag enabled). The Basic Outcomes Service and Result Service handle grade pass backs. Because we now have two ways to identify a user in LTI 1.1/2.0, we must update the Basic Outcomes Service and Result Service to support both. This commit fixes this bug.
2022-11-30 11:40:51 -05:00
Usama Sadiq
929d4b97d2 Revert "feat: update xblock lti library to version 7" (#31377) 2022-11-30 13:19:49 +05:00
Marlon Keating
1582b800c7 Merge pull request #31371 from openedx/marlonkeating-versionbump
chore: version bump edx-enterprise to 3.58.14
2022-11-29 11:59:35 -08:00
Marlon Keating
8dca5638df chore: version bump edx-enterprise to 3.58.14 2022-11-29 18:03:19 +00:00
Andy Shultz
1985cd6d15 feat: update xblock lti library to version 7
7 removed use of various deprecated block methods, 7.0.1 includes
a minor bugfix
2022-11-29 11:54:32 -05:00
Feanil Patel
8ccf2a3b88 chore: Run compile requirements 2022-11-29 10:49:02 -05:00
Feanil Patel
15251640a9 fix: Explicitly ask for the css extra package.
Based on https://github.com/openedx/edx-platform/pull/31360/files#r1033984433
it looks like compile-requirements runs differently on different OSes
potentially.  But we need this because it's used by the CSSSanitizer in
capa (xmodule/capa/util.py).
2022-11-29 10:45:48 -05:00
Mohammad Ahtasham ul Hassan
19ee9f0354 chore: install django-wiki from pypi (#31271) 2022-11-29 13:29:07 +05:00
Feanil Patel
8f446759f5 chore: Run make compile-requirements 2022-11-28 14:19:59 -05:00
Feanil Patel
cd3a7cbbec chore: Remove explicit dependency.
This dependency was explicitly added but doesn't need to be because
it's only required as a sub-dependency of edx-enterprise.  We can
pull it in by recompiling the requirements instead.
2022-11-28 14:19:53 -05:00
Agrendalath
8662672444 feat!: update Drag and Drop v2 XBlock to prevent XSS vulnerabilities
BREAKING CHANGE: disallowed HTML tags (e.g. <script>) will no longer be
rendered in LMS and Studio.
2022-11-28 13:45:18 -05:00
Tim McCormack
279e4d0b67 feat: Use new configurable producer API for event bus (#31356)
This involves a breaking-change update to edx-event-bus-kafka 2.0.0.
2022-11-28 18:41:35 +00:00
Kira Miller
f56dcc9f1b Merge branch 'master' into kiram15-versionbump 2022-11-28 13:21:05 -05:00
Kira
4b08efc18d chore: version bump 2022-11-28 13:19:12 -05:00
Brian Beggs
cff40f2142 chore: Add PGPy as a requirement see ENT-6547 (#31355)
This is intended as a temporary fix to unblock the pipeline.
2022-11-28 18:15:41 +00:00
Brian Citro
4b6f55af5a chore: upgrade edx-enterprise version to 3.58.12 2022-11-22 10:54:28 -05:00
Saleem Latif
c75737d647 chore: upgrade edx-enterprise version to 3.58.11 2022-11-22 15:44:32 +05:00
muhammad-ammar
91f7992754 chore: upgrade edx-enterprise to 3.58.10 2022-11-22 13:55:28 +05:00
michaelroytman
abe8fcbe47 feat: upgrade lti-consumer-xblock to install proctoring support and LTI 1.1 launch user_id changes
This commit upgrades the version of the lti-consumer-xblock library from version 6.1.0 to version 6.4.0. Version 6.3.0 includes support for the Proctoring Assessment Messages of the 1EdTech Proctoring Services Specification (i.e. the in-browser proctoring launch). Version 6.4.0 includes changes to the user_id attribute in the LTI launch message of the LTI 1.1 XBlock launch.

Please see the CHANGELOG entry for these versions for a full description of the changes: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#630---2022-11-16 and https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#640---2022-11-18. The commit messages are included below for convenience.

6.3.0

feat: adds support for LTI 1.3 Proctoring Service specification in-browser proctoring launch.

  * Adds an Lti1p3ProctoringLaunchData data class. It should be included as an attribute of the Lti1p3LaunchData
    data class to provide necessary proctoring data for a proctoring launch.
  * Adds an LtiProctoringConsumer class. This class is used to generate LTI proctoring launch requests and to decode
    and validate the JWT send back by the Tool with the LtiStartAssessment message.
  * Adds an lti_1p3_proctoring_enabled BooleanField to the LtiConfiguration model. This field controls whether
    proctoring is enabled for a particular LTI integration.
  * Modifies the launch_gate_endpoint to support LtiStartProctoring and LtiEndAssessment LTI launch messages.
  * Adds an start_proctoring_assessment_endpoint to support LtiStartAssessment messages from the Tool.
  * Adds an LTI_1P3_PROCTORING_ASSESSMENT_STARTED signal. This signal is emitted when the LtiStartAssessment message is
    sent from the Tool to inform users of the library that the LtiStartAssessment message has been received.

6.4.0

feat: add course flag to send external_user_id as user_id in LTI 1.1 XBlock launches

This commit introduces a new CourseWaffleFlag lti_consumer.enable_external_user_id_1p1_launches. When this flag is enabled for a course, LTI 1.1 XBlock launches in that course will send the user's external_user_id as the user_id attribute of the launch. external_user_id is the user's external user ID as defined, created, and stored by the external_user_ids Djangoapp in the edx-platform. When this waffle is not enabled for a course - the default case - LTI 1.1 XBlock launches in that course will continue to send the user's anonymous_user_id as the user_id attribute of the launch, as before.

This provides an opt-in opportunity for courses to send a consistent, static, and opaque user identifier in an LTI 1.1 XBlock launch. This may be necessary for integration with LTI tools that require such an identifier.

Please be aware that toggling this flag in a running course carries the risk of breaking the LTI integrations in the course. This flag should also only be enabled for new courses in which no LTI attempts have been made.
2022-11-21 10:01:07 -05:00