Commit Graph

4368 Commits

Author SHA1 Message Date
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
Tim McCormack
f95b414551 fix: Use non-yanked version of snowflake-python-connector (#30821)
2.7.10 was yanked for not having the right dependency constraints:
https://github.com/snowflakedb/snowflake-connector-python/issues/1206#issuecomment-1195840226
2022-08-02 20:04:10 +00:00
Alexander Sheehan
37b3c40428 chore: bumping enterprise version to 3.55.1 2022-08-01 10:45:25 -04:00
Long Lin
124bd83124 chore: bump edx-enterprise version 2022-08-01 09:34:46 -04:00
Mohammad Ahtasham ul Hassan
bd90ebde7b fix: unpin numpy (#30761) 2022-07-28 15:56:03 +05:00
Muhammad Soban Javed
d053bba952 Revert "Revert "refactor: move common/lib/capa/capa to xmodule/capa" (#30762)"
This reverts commit 4463ee751d.
2022-07-27 15:36:08 +05:00
John Nagro
ca13defc90 feat: release edx-enterprise 3.54.2 (#30788) 2022-07-26 14:14:28 -04:00
John Nagro
a69171204d feat: release edx-enterprise 3.54.1 (#30787) 2022-07-26 10:22:09 -04:00
Muneeb Ur Rehman
6d8201b603 build(deps): upgrade edx-enterprise to latest version (#30785) 2022-07-26 18:40:42 +05:00
edX requirements bot
fee05710f4 Python Requirements Update (#30780)
* chore: Updating Python Requirements
2022-07-26 17:59:39 +05:00
Keith Grootboom
7021b0e977 chore: bump django-wiki version to 1.1.1 (#30709) 2022-07-25 12:35:31 -04:00
michaelroytman
efc59de056 test: add debugging log statements for user_id LtiError
This commit updates the version of the lti-consumer-xblock from 4.3.1 to 4.3.2. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

This commit adds supplemental logging to diagnose the bug reported in MST-1540: https://2u-internal.atlassian.net/browse/MST-1540. The bug is that learners are encountering the LtiError when trying to do an LTI launch. The learners appear to be authenticated, so this error should not occur. The bug is not easily reproducible in production or development, so this supplemental logging is added to help understand the user's state when the error is raised.

The current hypothesis is that user is temporarily represented by the AnonymousUser in the request that is made when doing the LTI launch, despite the user otherwise being authenticated. Logging in Splunk suggests that this is the case, because logs are of the following form, "2022-07-22 15:10:14,214 ERROR 5067 [django.request] [user None] [ip <ip>] log.py:224 - Internal Server Error: /courses/<course_key>/xblock/<usage_key>/handler/lti_launch_handler", where the "user" is "None". This logging should prove or disprove this hypothesis and provide direction about where else to look.

This logging should be removed once MST-1540 is resolved.
2022-07-22 12:41:23 -04:00
michaelroytman
85207225fc fix: hidden lti_version and 1.3 fields in edit view and incorrect menu behavior in Javascript
This commit updates the version of the lti-consumer-xblock from 4.3.0 to 4.3.1. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

This commit fixes three bugs.

1. The first bug is that the lti_version field is inappropriately hidden in the Studio author view edit menu when the selected config_type is database.

2. The second bug is that the editable_fields property of the LtiConsumerXBlock is inappropriately excluding LTI 1.3 fields when the config_type is database. The editable_fields property should include LTI 1.3 fields even when the config_type is database, because the Javascript defined in xblock_studio_view.js may want to show these fields if the user selects a different config_type in the menu. We want to support a dynamic edit menu, so these fields must be considered editable by the XBlock in order for the Javascript to be able to manipulate them.

3. The third bug is in inconsistent rendering of the Studio author view edit menu. Depending on the order in which a user selects lti_version, config_type, or lti_1p3_tool_key_mode, different sets of fields are displayed, due to the overlapping sets of rules that govern what fields should be hidden or shown for a given field selection. This commit corrects this inconsistent rendering by first showing all fields and then gradually hiding fields depending on the sets of rules, for each change to the fields.
2022-07-22 10:19:27 -04:00