Commit Graph

62264 Commits

Author SHA1 Message Date
bydawen
b83f5fc328 fix: bootstrap classes for the program_details template (#30998)
Co-authored-by: Attiya Ishaque <atiya.ishaq@arbisoft.com>
2022-11-29 08:37:16 -05:00
Mohammad Ahtasham ul Hassan
19ee9f0354 chore: install django-wiki from pypi (#31271) 2022-11-29 13:29:07 +05:00
Feanil Patel
1a869ec7ce Merge pull request #31360 from openedx/feanil/compile_requirements
feanil/compile requirements
2022-11-28 15:42:46 -05:00
Feanil Patel
28fd02d6d2 Merge pull request #31346 from openedx/feanil/ubuntu_reqs
feat: Add a target for ubuntu requirements.
2022-11-28 15:00:09 -05:00
Jenkins
fc219e0adb chore(i18n): update translations 2022-11-28 14:40:15 -05:00
Feanil Patel
7b7022ba54 feat: Add a target for ubuntu requirements.
I found this useful because then I can run some basic dev commands
locally instead of needing a full container environment just to run
pylint or other basic dev tasks.

Co-authored-by: Kyle McCormick <kdmc@pm.me>
2022-11-28 14:39:59 -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
edx-transifex-bot
1cb7401f75 chore(i18n): update translations (#31347)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2022-11-28 19:18:05 +00:00
Feanil Patel
03d3a174d7 Merge pull request #31359 from openedx/feanil/update_drag_and_drop
feat!: update Drag and Drop v2 XBlock to prevent XSS vulnerabilities
2022-11-28 14:01:07 -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
1999bf7dc5 Merge pull request #31351 from openedx/kiram15-versionbump
chore: version bump
2022-11-28 13:40:18 -05: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
Ahtisham Shahid
ee35ae6a59 fix: allow user to save/update custom email (#31337) 2022-11-28 16:03:01 +05:00
Syed Sajjad Hussain Shah
9d30f45776 fix: change register button text (#31343)
VAN-1174
2022-11-25 16:01:37 +05:00
Mubbshar Anwar
3941fa5083 fix: hide course dates block (#31335)
If course is archived hide the course dates block from email..

VAN-1176
2022-11-24 23:29:12 +05:00
Pooja Kulkarni
e456965c36 Merge pull request #30999 from open-craft/agrendalath/invalidate_cache_on_due_date_extension
fix: regenerate the cache on due date extensions
2022-11-24 11:10:05 -05:00
Arunmozhi
54507c1e08 feat: allow overriding TinyMCE config using settings
The TinyMCE configuration can be overridden by adding a
`TINYMCE_CONFIG_OVERRIDES` dict to the `JS_ENV_EXTRA_CONFIG`.
2022-11-23 19:55:28 +01:00
Nicholas Moy
e5b4879cd4 Merge pull request #31322 from openedx/nmoy/PSRE-2015_tracking_logs
fix: change docker-production log settings
2022-11-23 11:02:07 -05:00
Nathan Sprenkle
af050d46cb feat: add enterprise UUID to learner home init data (#31328)
* feat: add enterprise UUID to return object

* style: run black
2022-11-22 12:03:43 -05:00
Brian Citro
231ddd0c57 Merge pull request #31329 from openedx/bcitro/ENT-6530
chore: upgrade edx-enterprise version to 3.58.12
2022-11-22 11:32:55 -05:00
Brian Citro
4b6f55af5a chore: upgrade edx-enterprise version to 3.58.12 2022-11-22 10:54:28 -05:00
Saleem Latif
f4b572fb28 Merge pull request #31327 from openedx/saleem-latif/ENT-6480-fix
ENT-6480: chore: upgrade edx-enterprise version to 3.58.11
2022-11-22 16:08:48 +05:00
Saleem Latif
c75737d647 chore: upgrade edx-enterprise version to 3.58.11 2022-11-22 15:44:32 +05:00
Muhammad Ammar
133729c967 Merge pull request #31325 from openedx/ammar/upgrade-edx-enterprise-to-3.58.10
chore: upgrade edx-enterprise to 3.58.10
2022-11-22 14:48:52 +05:00
muhammad-ammar
91f7992754 chore: upgrade edx-enterprise to 3.58.10 2022-11-22 13:55:28 +05:00
Mubbshar Anwar
dccb792f73 fix: Add segment event (#31316)
- add segment event to analyze course enrolment email sections data.
- update exception logs.

VAN-1168
2022-11-22 11:10:26 +05:00
ohnickmoy
9cd84f9a9b fix: change docker-production log settings 2022-11-21 16:33:47 -05:00
Andrew Shultz
00b35d04f5 Merge pull request #31314 from openedx/ashultz0/close-goal-hole
fix: after failing to get course, stop trying to make a course message
2022-11-21 13:29:21 -05:00
Michael Roytman
bfea413a95 Merge pull request #31321 from openedx/mroytman/bump-xblock-lti-consumer-6.4.0
feat: upgrade lti-consumer-xblock to install proctoring support and LTI 1.1 launch user_id changes
2022-11-21 10:34:46 -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
SaadYousaf
1a0906bc7a feat: add discussion event coverage for legacy experience. 2022-11-21 14:59:50 +05:00
Saleem Latif
026956f9f5 Merge pull request #31317 from openedx/saleem-latif/ENT-6480
edx-enterprise version upgrade to 3.59.9, new version contains a fix for validating pgp keys.
2022-11-21 14:49:11 +05:00
SaadYousaf
1cb1e2f61d fix: add fix for search event for learner search in discussions 2022-11-21 14:29:14 +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
Syed Sajjad Hussain Shah
9478b5f422 feat: show general recommendations (#31278)
Show general recommendations for
* API failure
* and when no enrollable courses are present

VAN-1158
2022-11-21 10:48:14 +05:00
connorhaugh
fe15171209 feat: author permission studio xblock handler (#31239)
Conversation around a hasty fix for security reasons led to a fix-forward improvement. You can find that conversation here. #31221 .
2022-11-18 16:39:51 -05:00
Andy Shultz
686b586ab1 fix: after failing to get course, stop trying to make a course message
we were failing to get the course and then going on to try course.field
which would generate a worse exception

also wraps the email send in an exception absorb because a single email
can fail to send for infinitely many boring reasons
2022-11-18 15:56:38 -05:00
Muhammad Soban Javed
0afdda3b9a Merge pull request #31302 from openedx/iamsobanjaved/fix-tests-for-open-releases
build: run tests for open-release branches on GH hosted runners
2022-11-18 19:17:43 +05:00
Shahbaz Shabbir
ee6f3164c3 feat: add course enrollment email task (#31241) 2022-11-18 17:25:52 +05:00
Kshitij Sobti
de0b132f10 fix: delay creation of course topics after course publish (#31307)
When running in a sharded MongoDB setup it's possible that querying the
modulestore right after the course publish signal will not return the
latest data.

This commit adds a delay similar to the one used in other places in the
codebase for a similar reason.
2022-11-18 16:49:29 +05:00
Maximiliano Fernandez
5fa05289a4 fix: remove course pre requisite only if is not entrance exam (#22529)
See details in the related PR

Co-authored-by: Omar Al-Ithawi <i@omardo.com>
Co-authored-by: Shadi Naif <shadinaif@gmail.com>
2022-11-17 08:20:38 -04:00
Soban Javed
89ce1a52a7 build: run tests for open-release branches on GH hosted runners 2022-11-17 16:40:41 +05:00
SaadYousaf
c0631c320e fix: legacy coverage and add missing properties for reported events 2022-11-17 13:03:47 +05:00
Jenkins
1638535665 chore: geoip2: update maxmind geolite country database 2022-11-16 15:48:26 -05:00
Piotr Surowiec
c2e6d96ea8 Merge pull request #31112 from open-craft/0x29a/bb6734/remove_prefer_xmodules
refactor: Remove prefer_xmodules() [BD-13]
2022-11-16 18:34:08 +01:00
0x29a
010ecb354a refactor: remove lms/djangoapps/debug/management directory
It contained only one management command, "dump_xml_courses", which
didn't work since the late 2015.
2022-11-16 13:08:22 +01:00