Commit Graph

66833 Commits

Author SHA1 Message Date
UsamaSadiq
69632ee702 fix: pin openedx-events version 2022-10-03 17:21:24 +05:00
UsamaSadiq
ec24b974e1 fix: pin pytz==2022.2.1 2022-10-03 17:21:24 +05:00
UsamaSadiq
24a019b0b3 fix: pin pyopenssl==22.1.0 to resolve upgrade job failure 2022-10-03 17:21:24 +05:00
SaadYousaf
8ecb39826a fix: add missing context for discussion events 2022-10-03 15:26:31 +05:00
SaadYousaf
6aca8abe87 feat: add event for edited content in discussions 2022-10-03 15:00:03 +05:00
Ned Batchelder
1e0f0e344b build: add a collection step so we can simplify required checks 2022-09-30 12:48:21 -07:00
Ned Batchelder
18fcbc33ef style: make the action syntax more uniform 2022-09-30 12:48:21 -07:00
Alexander J Sheehan
ef7974a146 Merge pull request #31070 from openedx/asheehan-edx/bumping-enterprise-3.57.1
chore: bumping enterprise version to 3.57.1
2022-09-30 12:17:39 -04:00
Alexander Sheehan
dc0dc91c36 chore: bumping enterprise version to 3.57.1 2022-09-30 11:37:15 -04:00
Muhammad Adeel Tajamul
e96102b2f1 feat: removed discussion sort options from advanced settings (#30963)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-30 11:42:59 +05:00
Alex Dusenbery
ab011b4469 feat: edx-enterprise 3.57.0 | adds an EnterpriseCatalogQuery.include_exec_ed_2u_courses field.
https://github.com/openedx/edx-enterprise/releases/tag/3.57.0
2022-09-29 15:02:28 -04:00
Justin Hynes
8fd59044f9 fix: improve Celery task that sends certificate availability date data to Credentials IDA
[APER-1941]

We are aware of a product issue that causes a `certificate_available_date` (CAD) to be set for self-paced courses (and thus copied to the course-run's (course) certificate configuration) that causes an issue with learners' Program Records to be inaccurate. The stored CAD in Credentials is causing these certificates to be marked as "unearned" on the Program Record in Credentials, as the IDA believes the learner should *not* have access to them yet (but these certificates are available in the LMS).

A management command was recently introduced in Studio that can be used to clean/remove the `certificate_available_date` data from a course-run in Mongo. These updates aren't making it to the Credentials IDA because of an issue with our logic in the `update_certificate_visible_date_on_course_update` Celery task. This task assumes that we only want to send updates for *Instructor-Paced* courses that have a Certificate Display Behavior set to `end_with_date`. In reality, we need updates to pass to Credentials for _some_ self-paced courses with bad data.

This PR hopes to update our infrastructure to allow these updates to flow to Credentials.

* Improve logging for failed requests to the Credentials IDA's `course_certificates` endpoint when updating a course certificate configuration.
* Update docstrings and comments where appropriate
* Split the logic of the update_certificate_visible_date_on_course_update task into two tasks. The former task will continue to _just_ handle visible_date attribute updates. The latter (new) task will be dedicated to making the REST API call that updates the `certificate_available_date` data in Credentials.
* Update the `handle_course_cert_date_change` function wqhen the COURSE_CERT_DATE_CHANGE signal is received to queue both the "visible_date" and "certificate available date" Celery tasks.
* Update existing tests for the task changes.
2022-09-29 14:42:22 -04:00
Matthew Carter
121fefdadb chore: bump ORA2 version to 4.5.1 (#31064) 2022-09-29 14:26:10 -04:00
Nathan Sprenkle
dc5b14b723 fix: fix enrollment.has_started check (#31059)
Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-09-29 10:39:55 -04:00
Kshitij Sobti
346257dadf fix: discussion topic links not created in some cases (#31032)
This commit attempts to fix cases where dicussion topic links aren't created
during a provider change.

It does so by eliminating areas where there could be desynchronisation between
the configuration the course configuration in Mogo and the discussion config
in MySQL.

The topic creation code now uses the database version of the config which is
more recent.
2022-09-29 17:16:03 +05:00
Jenkins
74a12ed796 chore: geoip2: update maxmind geolite country database 2022-09-28 17:24:13 -04:00
John Nagro
4bd13f3df5 feat: release edx-enterprise 3.56.16 (#31057) 2022-09-28 16:08:22 -04:00
Alexander J Sheehan
4e9e59ad59 Merge pull request #31056 from openedx/asheehan-edx/bumping-enterprise-3.56.15
chore: bumping enterprise version to 3.56.15
2022-09-28 14:26:14 -04:00
Alexander Sheehan
044722bdd2 chore: bumping enterprise version to 3.56.15 2022-09-28 14:04:15 -04:00
Nathan Sprenkle
b6bc647e18 fix: fix routing for mock path (#31047)
Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-09-28 11:12:01 -04:00
Mubbshar Anwar
3ba556801f fix: add variation condition (#31042)
2u LOBs cards only shows to users who fall in variation.

VAN-1097
2022-09-28 18:44:25 +05:00
Alfredo Guillem
cff5dd9121 Merge pull request #31046 from openedx/alfredoguillem/enterprise-bump
chore: bumping enterprise to version 3.56.14
2022-09-27 21:08:19 +02:00
Alfredo Guillem
4e0daf54ab Merge branch 'master' into alfredoguillem/enterprise-bump 2022-09-27 20:47:05 +02:00
Nathan Sprenkle
511363ee04 fix: resolve backend issues in learner home (#31041)
* fix: un-null course provider

* fix: update enterprise dashboard URL

* fix: update course thumbnail source

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-09-27 12:23:19 -04:00
Alfredo Guillem
a943d9c406 chore: bumping enterprise to version 3.56.14 2022-09-27 15:48:09 +00:00
Ihor Romaniuk
60f81897a8 fix: add ability to observe iframe content height on content load and change (#30942)
These changes allow the ability to adapt to update/resize the unit content after loading and interaction. Main cases were with Open Response Assessment (ORA) and Discussion blocks.
2022-09-27 11:21:14 -04:00
Brian Beggs
07c3b9b718 Merge pull request #31040 from openedx/bbeggs/enterprise_segment_evt
Add enterprise_uuid to segment enrollment events
2022-09-26 15:40:34 -04:00
Brian Beggs
a9525fb1d3 feat: Add enterprise_uuid to segment enrollment events 2022-09-26 15:21:11 -04:00
Deimer Morales
74878ac29c feat: adding persistent grade event with test (#30916)
Adds a new Open edX Event which will be triggered when a persistent grade is created or updated.
2022-09-26 13:40:30 -04:00
Piotr Surowiec
fcb594d635 Merge pull request #30715 from open-craft/agrendalath/bd-13-deprecate_course_id
refactor: deprecate course_id from ModuleSystem [BD-13]
2022-09-26 14:23:11 +02:00
Mubbshar Anwar
3bb45d2547 feat: activate optimizely experiment (#31035)
activate optimizely experiment manually for only B2C users.

VAN-1097
2022-09-26 16:03:42 +05:00
jawad khan
4f74d8a16a feat: added mobile configs in enrollments api (#31036)
* feat: added mobile configs in enrollments api

Mobile team needs some cnfigs after user has logged in, enrollment api seems to be the best place
to put this data. They can change these flags or values from admin side.
LEARNER-9039
2022-09-26 14:27:23 +05:00
Jenkins
d308a6affa chore(i18n): update translations 2022-09-25 17:22:34 -04:00
Alexander J Sheehan
154cc8141d Merge pull request #31037 from openedx/asheehan-edx/bumping-enterprise-3.56.13
chore: bumping enterprise to version 3.56.13
2022-09-23 09:59:41 -04:00
Alexander Sheehan
90ac26cb80 chore: bumping enterprise to version 3.56.13 2022-09-23 09:34:26 -04:00
shahbaz-arbisoft
b685d09067 fix: use timeout from settings 2022-09-23 18:16:16 +05:00
Mubbshar Anwar
0d66bb6db9 fix: return error code (#31027)
return error code instead of error message and use this code for error message in authn mfe.

VAN-1082
2022-09-23 11:30:15 +05:00
Alexander J Sheehan
b5d1cfce42 Merge pull request #31029 from openedx/asheehan-edx/bumping-enterprise-3.56.12
chore bumping enterprise version to 3.56.12
2022-09-22 14:12:12 -04:00
Ben Warzeski
69d1e3029d feat: update learner home mock data bannerImgSrc to be relative (#31033) 2022-09-22 11:26:19 -04:00
UsamaSadiq
897cb3617f refactor!: delete common/lib and related usages 2022-09-22 14:16:34 +05:00
Syed Sajjad Hussain Shah
96f6174d9e feat: Add 2U recommendations in dashboard [VAN-1094] (#31026) 2022-09-22 13:01:10 +05:00
Jenkins
62fd296b7c chore: geoip2: update maxmind geolite country database 2022-09-21 16:52:27 -04:00
Ben Warzeski
c81136997a fix: update learner home mock api data (#31028) 2022-09-21 14:50:19 -04:00
Alexander Sheehan
83ebc35e93 chore: bumping enterprise version to 3.56.12 2022-09-21 14:27:41 -04:00
Agrendalath
1afb32c775 fix: move service initialization from LMS runtime init to module render 2022-09-21 19:05:03 +02:00
Agrendalath
dd97c74fde refactor: deprecate course_id from ModuleSystem
This attribute is already deprecated for XBlocks in favour of directly
retrieving it like `block.scope_ids.usage_id.context_key`.

This commit also removes some redundant logging code which was omitted in the
Datadog removal in #19420.
2022-09-21 18:53:45 +02:00
Agrendalath
c2ac3d83c3 refactor: remove deprecated runtime.course_id from edxnotes decorator
We will use `context_key` instead.
2022-09-21 18:52:28 +02:00
Agrendalath
99042f6282 refactor: remove deprecated runtime.course_id from Timed Exams
We will use `context_key` instead.
2022-09-21 18:52:28 +02:00
Agrendalath
8c89c755c1 refactor: remove deprecated runtime.course_id from student field overrides
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00
Agrendalath
98bb30dcd8 refactor: remove deprecated runtime.course_id from VideoBlock
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00