Commit Graph

62063 Commits

Author SHA1 Message Date
Muhammad Bilal Tahir
0d41371d35 Merge pull request #31140 from openedx/btahir/ENT-6387
chore: upgrade learenr-pathway-progress version
2022-10-11 16:22:30 +05:00
Muhammad Bilal Tahir
39dd842c37 chore: upgrade learenr-pathway-progress version 2022-10-11 14:43:03 +05:00
edX requirements bot
882f3a9710 chore: Updating Python Requirements 2022-10-11 12:22:45 +05:00
Syed Sajjad Hussain Shah
52de7e9066 feat: integrate amplitude API with learner_home frontend [VAN-1124] (#31098) 2022-10-10 12:09:28 +05:00
Jenkins
3bd94f78f9 chore(i18n): update translations 2022-10-09 16:58:34 -04:00
Saad Yousaf
3423feb4fd Revert "fix: filter out discussion topics that have not started yet."
This reverts commit 54b5d59fc3.
2022-10-08 14:58:14 +05:00
SaadYousaf
54b5d59fc3 fix: filter out discussion topics that have not started yet. 2022-10-07 15:17:12 +05:00
Alejandro Cardenas
43158404bc perf: add lru_cache to improve performance with multiple themes
These changes should improve the performance caused by the file I/O
when it's running in docker, using lru_cache to save thousands of calls to listdir
when running with a handful of themes defined in COMPREHENSIVE_THEME_DIRS.
2022-10-06 14:32:14 -04:00
Nathan Sprenkle
5deeff3da1 fix: update enrollment.canUpgrade (#31122)
Had previously expected use_ecommerce_payment_flow which we forgot to
pass as part of context. Instead, simplify to infer from
ecommerce_payment_page (which will be None if the ecommerce flow is
disabled).
2022-10-06 13:20:22 -04:00
Tim McCormack
71686cddb9 fix: Pin newrelic to unreleased version fixing kafka instrumentation (#31119)
This will allow us to resume producing events with edx-event-bus-kafka
and help validate NR's fix. Unpinning is be tracked in
<https://github.com/openedx/event-bus-kafka/issues/52>.
2022-10-06 16:03:59 +00:00
Justin Hynes
5245c69d17 Merge pull request #31092 from openedx/jhynes/aper-1941_route-new-task-to-program-cert-queue
fix: update new `update_certificate_available_date_on_course_update` task to use dedicated credentials queue
2022-10-06 07:51:22 -04:00
Ned Batchelder
f3031d0b2a build(fix): use alls-green to correctly aggregate earlier steps
If a job "needs" earlier jobs, and one of the earlier jobs fails, then
the "needs" job will be marked as Skipped.  A required check that is
skipped doesn't block merging.

The alls-green action has the correct logic to fail the aggregation job
if any of its required jobs fail.
2022-10-06 04:22:42 -07:00
Syed Sajjad Hussain Shah
0509bb3acd feat: launch hotjar recommendations survey [VAN-1108] (#31118) 2022-10-06 16:08:32 +05:00
Muhammad Adeel Tajamul
5cb6e9859a feat: remove support for discussion mfe iframe (#31067)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-10-06 06:04:33 +05:00
Jenkins
2bae5df47c chore: geoip2: update maxmind geolite country database 2022-10-05 16:53:26 -04:00
Nathan Sprenkle
2f10ba0992 fix: learner home entitlement image fallback (#31107)
* fix: add default for pseudo session image

This keeps the serializer from breaking when image is not present in a
pseudo session.
2022-10-05 15:56:08 -04:00
Leangseu Kim
27006febcd fix: safe wrapper for no program banner image 2022-10-05 14:40:06 -04:00
Kyle McCormick
56961ce0e6 build: fix syntax error in GH-hosted tests workflow (#31105)
We were seeing this error whenever unit tests
were run from a fork (only forks use the GH-hosted
workflow, which is why this was able to merge
into master):

  You have an error in your yaml syntax on line 65

The comment hash (#) needs to be aligned
with the rest of the text block.
2022-10-05 13:30:01 -04:00
Kristin Aoki
0d0f9e7b3c feat: add video_images_upload_enabled api so new video editor knows val 2022-10-05 11:09:24 -04:00
Mohammad Ahtasham ul Hassan
78999c8af5 fix: fix CI badge (#31097) 2022-10-05 14:35:47 +05:00
Syed Sajjad Hussain Shah
893c025d0c feat: add course recommendations api unit tests [VAN-1104] (#31069) 2022-10-05 11:37:55 +05:00
Jenkins
8f90ba5f32 chore(i18n): update translations 2022-10-04 16:54:59 -04:00
Justin Hynes
479129eb21 fix: update new update_certificate_available_date_on_course_update task to use credentials queue
[APER-1941]

* update new `update_certificate_available_date_on_course_update` task to use dedicated credentials queue (like the other import Credentials tasks)
2022-10-04 13:25:32 -04:00
Justin Hynes
2a54414eaf Merge pull request #31063 from openedx/jhynes/APER-1941_fix-cad-mgmt-cmd
fix issue with cert available dates not being removed from credentials
2022-10-04 08:20:25 -04:00
Shahbaz Shabbir
a41552b905 Merge pull request #31060 from shahbaz-arbisoft/shahbaz/VAN-1091
fix: use timeout from settings
2022-10-04 15:57:14 +05:00
edX requirements bot
354f825d3e chore: Updating Python Requirements 2022-10-04 11:17:13 +05:00
Tim McCormack
2edbdcf7f4 build: Clear out stale dependencies when installing requirements (#31080)
We've been seeing some cross-version caching issues in the
edx-platform-runner unit tests, which apparently run on a "dirty"
environment—the virtualenv does not get cleared out between runs,
which probably improves performance but allows installed dependencies
to "leak" between runs. This results in errors between master and older
open-releases but could also prevent us from noticing missing deps.

By using pip-sync in the new CI Make targets (as we already do for
the regular `make requirements` target) we can ensure that any stale
dependencies from runs by other branches (or older versions of the
code) are removed.

Calling `make local-requirements` at the end of each `*-requirements`
target rather than making it a prerequisite is necessary for using sync,
since otherwise the local reqs would be wiped out.

The `requirements` target is also deduplicated into the newer
`dev-requirements` (aliased to it, with both installing private deps now.)

Adding a prerequisite of `pre-requirements` allows us to simplify some
workflow calls slightly. This ends up being the bulk of the commit by
line count. The pip lockfile also wasn't being used in the Makefile, so
I added that to pre-requirements as well.

Also fix leading whitespace issue in Makefile.
2022-10-03 20:26:40 +00:00
Rebecca Graber
d2377d348a chore: upgrade edx-event-bus-kafka (#31081)
* chore: upgrade edx-event-bus-kafka
2022-10-03 14:06:45 -04:00
Ned Batchelder
a5f687bf70 build: add a success aggregation step to simplify required check configuration 2022-10-03 07:11:53 -07:00
Ned Batchelder
63f6baf528 style: make action style more uniform 2022-10-03 07:11:53 -07:00
Ned Batchelder
a78f8f9496 style: make action style more uniform 2022-10-03 07:11:53 -07:00
edX requirements bot
3744647bd6 chore: Updating Python Requirements 2022-10-03 17:21:24 +05:00
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