Commit Graph

4463 Commits

Author SHA1 Message Date
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
Saleem Latif
782be9e43a chore: edx-enterprise version upgrade to 3.59.9, new vesion contains a fix for validating pgp keys. 2022-11-21 14:17:59 +05:00
Andrew Shultz
4b6e1ab48f Merge pull request #31284 from openedx/ashultz0/lti610
fix: update xblock LTI to 6.1.0 to fix bugs with lti studio in 6.0.0
2022-11-14 12:53:23 -05:00
Alexander Sheehan
f53e2585e5 chore: bumping enterprise to version 3.58.8 2022-11-14 09:45:55 -05:00
Andy Shultz
f13cd1d5a3 fix: update xblock LTI to 6.1.0 to fix bugs with lti studio in 6.0.0 2022-11-14 09:04:36 -05:00
Andy Shultz
996646fef0 fix: pin LTI xblock to version 5.0.1 while 6 is fixed
6.0.0 refactored this xblock in a way that does not work with studio
leaving blocks partialy broken. While that is being fixed, roll back
to 5.0.1.

Bug ticket: MST-1697
2022-11-07 09:30:51 -05:00
Kira Miller
c0f23d0bb8 Merge pull request #31248 from openedx/kiram15/ENT-6461-1
fix: edx-enterprise version update
2022-11-03 09:35:58 -04:00
Usama Sadiq
605a0a66e7 Install pip and pip tools (#31206)
* fix: install pip & pip-tools in make upgrade
* chore: Updating Python Requirements (#31205)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-11-03 16:28:32 +05:00
Shahbaz Shabbir
2ad42ef7c7 Merge pull request #31242 from openedx/shahbaz/VAN-1147
chore: upgrade edx-braze-client package
2022-11-03 14:56:34 +05:00
Kira
4d36c91626 fix: version update 2022-11-02 16:27:16 -04:00
Andy Shultz
385c53651e fix: update proctoring library for better expiration date sharing 2022-11-02 14:02:58 -04:00
Rebecca Graber
972b4eff1d feat: upgrade edx-event-bus-kafka to bring in new error logging and monitoring (#31245) 2022-11-02 13:45:21 -04:00
shahbaz-arbisoft
7947bcd647 chore: upgrade packages, specifically edx-braze-client 2022-11-02 15:19:53 +05:00
Rebecca Graber
5b4330fcc5 feat: update event bus dependencies to bring in schema fix (#31237) 2022-11-01 09:38:12 -04:00
Alexander Sheehan
1848356626 chore: bumping enterprise version to 3.58.4 2022-10-31 11:55:50 -04:00
Andy Shultz
7587e5a169 feat: update lti xblock to refactored version 6.0.0 2022-10-28 15:15:36 -04:00
Alexander Sheehan
7f94ee6625 chore: bumping enterprise version to 3.58.3 2022-10-28 14:04:29 -04:00
Andy Shultz
0bc5de4bf2 feat: proctoring to 4.13.1 to pick up two to one year change 2022-10-27 10:56:20 -04:00
Mohammad Ahtasham ul Hassan
c2506ea8d0 Revert "chore: install codejail from PyPI (#31207)" (#31213)
This reverts commit 66e4902e9e.
2022-10-27 17:10:29 +05:00
Mohammad Ahtasham ul Hassan
66e4902e9e chore: install codejail from PyPI (#31207) 2022-10-27 14:26:11 +05:00
Usama Sadiq
4734f9f16e fix: bump pylint version (#31084) 2022-10-27 12:19:09 +05:00
Andy Shultz
d89751fb01 fix: pick up a due date fix in proctoring 4.13.0 2022-10-26 09:26:03 -04:00
Mohammad Ahtasham ul Hassan
c349f9318d Install xblock-google-drive from pypi (#31201)
* chore: install xblock-google-drive from pypi
2022-10-26 15:48:38 +05:00
Brian Citro
cef28c6dec chore: bump enterprise version 2022-10-25 11:34:06 -04:00
Mohammad Ahtasham ul Hassan
3f46d489eb chore: install xblock-drag-and-drop from pypi (#31196) 2022-10-25 13:09:50 +05:00
Zachary Hancock
672b1341c4 chore: update edx-proctoring python and js (#31185) 2022-10-24 11:09:23 -04:00
Rebecca Graber
b8d13812a4 feat: remove constraint on and upgrade openedx-events, edx-event-bus-kafka (#31182)
This will remove the "effort" field from COURSE_CATALOG_INFO_CHANGED event data
2022-10-24 08:03:01 -04:00
muhammad-ammar
33e822aaff chore: upgrade edx-enterprise to 3.58.0
Add a new endpoint to generate a signed token for plotly analytics.
2022-10-21 15:47:43 +05:00
Kyle McCormick
5bc00b373c revert: Optimize and reorganize GitHub-hosted dependencies (attempt 2) (#31184)
codejail is specified twice: once as `edx-codejail==3.3.0` (correct)
and once as `codejail==3.1.3` (incorrect).

We are reverting everything now, and later we will fix
the original PR (https://github.com/openedx/edx-platform/pull/31104)later.

This reverts commit 475cb801cd.
This reverts commit 23ebd5a113.
This reverts commit 545b2dc0d8.
This reverts commit c417455b4e.
This reverts commit cce13a5011.
This reverts commit edfd66498b.
2022-10-20 14:55:01 -04:00
Kyle McCormick
475cb801cd build: make compile-requirements
Copmiles the changes made to GitHub-hosted requirements
in previous commits. Should result in no functional
changes to edx-platform.
2022-10-20 13:15:46 -04:00
Kyle McCormick
23ebd5a113 build: upgrade codejail from 3.1.3 to 3.3.0
Changes: https://github.com/openedx/codejail/compare/3.1.3...3.3.0

The only notable change here is that codejail's setup.py
has been fixed so that it includes all necessary files
in its distribution. This addresses an issue that happened
last time we tried to update codejail's pin in edx-platform
to be a wheel instead of editable (development) mode:
the proxy_main.py and memory_stress.py files were missing.
2022-10-20 13:15:46 -04:00
Kyle McCormick
545b2dc0d8 build: install GitHub-hosted dependencies as wheels
We update github.in to use the proper git-based depencency
format specified in the file comment. This format installs
a package as a pre-built wheel:

    git+https://github.com/...

instead of a development-mode editable requirement:

   -e https://github.com/...

Installing packages in editable mode increases the amount of time
it takes to install edx-platform  dependencies, increases the
resulting virtual environment's size, and installs packages in a
way that has several subtle differences compared to the way
wheels are installed:
https://setuptools.pypa.io/en/latest/userguide/development_mode.html#limitations

NOTE: This commit also upgrades django-require its latest version.
(changelog:
https://github.com/openedx/django-require/compare/0c54ad...f4f01e)
The difference between the current version and the latest version
is entirely clerical; there are no code changes.

NOTE: This commit also upgrades blockstore from 1.2.4 to 1.2.5
(changelog:
https://github.com/openedx/blockstore/compare/1.2.4...1.2.5).
The only outward-facing difference between those two releases
is that 1.2.4 can only be installed in editable mode, whereas
1.2.5 has its setup.py fixed so that it can be installed as
a pre-build wheel.
2022-10-20 13:15:46 -04:00
Kyle McCormick
c417455b4e style: alphabetize GitHub-based dependencies 2022-10-20 13:15:46 -04:00
Kyle McCormick
cce13a5011 docs: remove section headers from github.in
They give the impression that, for example,
third-party XBlocks belong in github.in.
In reality, GitHub-hosted requirements should be avoided
in all circumstances. Third-party XBlocks are best
added to base.in as a PyPI-hosted dependency.

Furthermore, the existing section headers are not
even being followed.
2022-10-20 13:15:46 -04:00
Kyle McCormick
edfd66498b docs: update & improve instructions for GitHub-hosted deps
They have fallen out of date since we switched from Jenkins-
run upgrades to GitHub Actions -run upgrades.
2022-10-20 13:15:46 -04:00
Rebecca Graber
cc0a07d437 chore: update edx-i18n-tools (#31174)
Update edx-i18n-tools to bring in a fix for the transifex pull command.
2022-10-19 12:15:01 -04:00