Commit Graph

4380 Commits

Author SHA1 Message Date
Kyle McCormick
d8442484a0 Revert "docs: update & improve instructions for GitHub-hosted deps"
This reverts commit 8bb39fa6c7.
2022-09-20 06:35:46 -04:00
Kyle McCormick
6f7ceaf80b Revert "docs: remove section headers from github.in"
This reverts commit 7ed0e8d0e9.
2022-09-20 06:35:46 -04:00
Kyle McCormick
211aa9856a Revert "style: alphabetize GitHub-based dependencies"
This reverts commit 40158f5991.
2022-09-20 06:35:46 -04:00
Kyle McCormick
2ac7a6f774 Revert "build: install GitHub-hosted dependencies as wheels"
This reverts commit 6490f5b585.
2022-09-20 06:35:46 -04:00
Kyle McCormick
29cebb7f92 Revert "chore: Updating Python Requirements"
This reverts commit 6d00e4b320.
2022-09-20 06:35:46 -04:00
Kyle McCormick
8632193b8d Revert "build: fix -e . in requirements pins"
This reverts commit f42427a1f6.
2022-09-20 06:35:46 -04:00
Tim McCormack
f6965b9555 chore: Unpin edx-event-bus-kafka and upgrade (#30966)
The producer API is stable enough now.

Make use of new topic prefixing feature for devstack (introduced in 0.6.2)
2022-09-19 19:43:34 +00:00
Kyle McCormick
f42427a1f6 build: fix -e . in requirements pins
I would expect the post-pip-compile steps in `make upgrade`
to have taken care of chaninging `-e file://...`
into `-e .`, but it didn't for some reason.

Normally I would debug this, but
https://github.com/openedx/edx-platform/pull/30890
is going to merge in a week or two and it
will remove `-e .` from the requirement pins
entirely, so I'm just going to fix it manually for now.
2022-09-19 13:54:21 -04:00
edX requirements bot
6d00e4b320 chore: Updating Python Requirements 2022-09-19 13:54:21 -04:00
Kyle McCormick
6490f5b585 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
2022-09-19 13:54:21 -04:00
Kyle McCormick
40158f5991 style: alphabetize GitHub-based dependencies 2022-09-19 13:54:21 -04:00
Kyle McCormick
7ed0e8d0e9 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-09-19 13:54:21 -04:00
Kyle McCormick
8bb39fa6c7 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-09-19 13:54:21 -04:00
Sandeep Dubey
51b5e624b3 feat: upgrade TinyMCE v4.0.20 to TinyMCE v5.5.1 (#30335)
Co-authored-by: Arunmozhi <arunmozhi@opencraft.com>
2022-09-19 12:43:19 +02:00
Sarina Canelake
69f0849165 fix: update path to .github workflows to read from openedx org 2022-09-15 14:52:28 -04:00
Sarina Canelake
4a2f231302 fix: fix github url strings (org edx -> openedx) 2022-09-15 14:52:28 -04:00
alangsto
8ab34fd918 chore: upgrade edx-proctoring version (#31002) 2022-09-15 10:31:57 -04:00
edX requirements bot
2d0f7ccc5c chore: Updating Python Requirements (#30982)
Co-authored-by: Mohammad Ahtasham ul Hassan <ahthassan74@gmail.com>
2022-09-13 12:48:48 +05:00
Zaman Afzal
45276ed5d1 chore: Upgrade learner pathway progress from 1.3.1 to 1.3.2 (#30974) 2022-09-13 08:31:01 +05:00
alangsto
f4cd798429 chore: upgrade name affirmation version (#30971) 2022-09-09 11:03:36 -04:00
Muhammad Ammar
b8e5540fcc Merge pull request #30947 from openedx/ammar/upgrade-outcome-surveys-package
feat!: Add ability to track sent follow up events via a boolean field
2022-09-07 15:36:42 +05:00
edX requirements bot
39a9082ace Python Requirements Update (#30944)
* chore: Updating Python Requirements
* fix: fix relative paths

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-09-07 15:00:41 +05:00
muhammad-ammar
dbdcfb7cd1 feat!: Add ability to track sent follow up events via a boolean field 2022-09-06 17:49:59 +05:00
Saleem Latif
99b81cdc8e chore: Upgraded learner-pathway-progress version to 1.3.1 2022-09-02 15:39:10 +05:00
Tim McCormack
322c22a4eb chore: Upgrade event-bus-kafka to 0.6.0 (#30934) 2022-09-01 17:27:34 +00:00
John Nagro
21362344d4 feat: release edx-enterprise 3.56.9 (#30928) 2022-08-31 14:28:51 -04:00
Andy Shultz
210d9fbee6 fix: requirements changesd from proctoring pin to 4.10.3 2022-08-30 15:40:24 -04:00
Andy Shultz
818371a672 fix: pin proctoring library to 4.10.3 2022-08-30 15:37:07 -04:00
John Nagro
bdd7ca60c1 feat: release edx-enterprise 3.56.8 (#30922) 2022-08-30 14:38:56 -04:00
edX requirements bot
08d4538c8b Python Requirements Update (#30917)
* chore: Updating Python Requirements
* fix: fix relative paths in requirements

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-08-30 15:12:50 +05:00
Zachary Hancock
7e05c9cf0e Revert "chore: edx-proctoring update (#30913)" (#30915)
This reverts commit f55fe0f138.
2022-08-29 15:18:33 -04:00
John Nagro
d3b5efe551 feat: release edx-enterprise 3.56.7 (#30914) 2022-08-29 14:29:06 -04:00
Zachary Hancock
f55fe0f138 chore: edx-proctoring update (#30913) 2022-08-29 11:22:23 -04:00
John Nagro
ad15abe6b9 feat: release edx-enterprise 3.56.6 (#30899) 2022-08-24 16:23:46 -04:00
Rebecca Graber
c1009b56f6 feat: emit COURSE_CATALOG_INFO_CHANGED signal on publish (#30805)
Implements https://github.com/openedx/edx-platform/issues/30682

Produce signal only once transaction for a course publish is
committed, and only for actual courses (not libraries).

- Use newer openedx-events version that has a fix for None datetime
  and that has CourseCatalogData without org, number.
- Add edx-event-bus-kafka -- specify recent version that drops
  confluent-kafka from explicit deps, fixes common auth settings, and has
  a multi-producer caching tweak.
- New functionality is behind toggle

As per https://github.com/openedx/openedx-events/issues/88 we're going to
try explicit dependencies on implementations for now, rather than solve
all the problems we'd encounter by using private dependencies.

Co-authored-by: Tim McCormack <tmccormack@edx.org>
Co-authored-by: Rebecca Graber <rgraber@edx.org>
2022-08-24 16:39:24 +00:00
Michael Roytman
fe8a8ef228 Merge pull request #30884 from openedx/mroytman/bump-xblock-lti-consumer-4.5.0
feat: decouple LTI handlers from XBlock and improve LTI error handling for unauthenticated users
2022-08-23 12:29:33 -04:00
Matjaz Gregoric
a5bc75c2dd Merge pull request #30773 from open-craft/tecoholic/add-filter-hook-to-vertical-block-rendering
Add openedx-filters hook to VerticalBlock before rendering of child blocks
2022-08-23 17:19:09 +02:00
michaelroytman
8fd2c9849f feat: decouple LTI handlers from XBlock and improve LTI error handling for unauthenticated users
This commit updates the version of the lti-consumer-xblock from 4.3.3 to 4.5.0. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes, from versions 4.4.0 and 4.5.0 of the library.

* Move LTI XBlock Handlers to Django Plugin (4.4.0)

1. The functionality of LTI 1.3 Launch Handler is moved from the XBlock to the Django plugin.
2. The functionality of the Access Token endpoint is moved from XBlock to the Django plugin.
3. A new URL format using the LtiConfiguration ID is introduced for the Access Token endpoint and is used when a LTI Consumer is configured without a location allowing LTI integrations to be created without the XBlock context.
4. A new URL format using the LtiConfiguration ID is introduced for the Keyset Endpoint and is used with the location of the XBlock is not available in the configuration.

* Handle LtiError Error During LTI 1.1 Launch for Unauthenticated User (4.5.0)

1. Improve error handling for LTI errors raised during LTI 1.1 launch when user is unauthenticated by returning a 400 response instead of falling through to the 500 error.
2. Change the error template to be generic to both LTI 1.1 and LTI 1.3 launches.
3. Revert logging amendments that were made to investigate the nature of the LTI errors.
2022-08-22 15:11:33 -04:00
Shafqat Farhan
a791759202 feat: VAN-1051 - Integrated Optimizely fullstack Client and experiment 2022-08-22 14:33:25 +05:00
Arunmozhi
6867d55364 feat: adds openedx-filter hook to the child blocks of VerticalBlock
This commit adds a openedx-filters hook to the VerticalBlock XBlock
before rendering of it's children. This allows Open edX plugins to
customize the presentation of specific blocks based on the context.
2022-08-20 13:09:10 +05:30
Jansen Kantor
29f41c8a81 chore: bump submissions to get json encoding fix (#30876)
* chore: bump submissions to get json encoding fix

* fixup! chore: bump submissions to get json encoding fix

* chore: version bump again
2022-08-19 10:07:11 -04:00
John Nagro
0c4e59f389 feat: release edx-enterprise 3.56.5 (#30873) 2022-08-17 16:45:17 -04:00
John Nagro
dd88a4201e feat: release edx-enterprise 3.56.2 (#30852) 2022-08-12 12:41:31 -04:00
Muneeb Ur Rehman
fd06c5b399 chore: bump the version of learner-pathway-progress (#30849) 2022-08-12 17:54:33 +05:00
Alexander Sheehan
a5992fa080 chore: bumping enterprise requirements to 3.56.1 2022-08-10 12:36:20 -04:00
John Nagro
691a866b87 feat: release edx-enterprise 3.56.0 (#30841) 2022-08-10 11:16:18 -04:00
Alexander Sheehan
e84502647f chore: bumping enterprise version to 3.55.3 2022-08-09 12:56:27 -04:00
Alexander J Sheehan
b164b87c38 chore: bumping enterprise version to 3.55.2 (#30833) 2022-08-08 13:01:28 -04:00
michaelroytman
5d5fce2949 fix: missing exception details in xblock-lti-consumer logs
This commit updates the version of the lti-consumer-xblock from 4.3.2 to 4.3.3. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

The error handler in LtiConsumerXBlock.lti_1p3_launch_callback logs a warning when a select set of exceptions are handled. That log does not contain useful information about the nature of the exception, because the exceptions were not being instantiated with error messages. The try...catch is a large block that contains code that can raise a multitude of errors, so these changes will enable better debugging.

This commit:
* adds helpful messages to the raised exceptions.
* adds the "exc_info=True" argument to include the stack trace of the handled exception.
* adds ValueError and TypeError to the list of handled exceptions, because the code can raise exceptions of these types.
2022-08-03 08:17:25 -04:00
edX requirements bot
d9377ca414 Django 3.2.15 security patch update (#30822)
* chore: Updating Python Requirements
* fix: pin pycodestyle<2.9.0 to fix quality

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-08-03 14:28:22 +05:00