Commit Graph

65817 Commits

Author SHA1 Message Date
Shahbaz Shabbir
936a236273 refactor: mfe_context response to serialize object keys to camelcase (#31930) 2023-04-20 12:28:17 +05:00
connorhaugh
62e59d8ace feat: add hotjar tracking to studio (#32095) 2023-04-19 21:03:04 +00:00
Jenkins
7b0c5b87b6 chore: geoip2: update maxmind geolite country database 2023-04-19 16:58:43 -04:00
Justin Hynes
2e68ca2377 feat: publish CERTIFICATE_CREATED events to the event bus
[APER-2344]

We would like to start consuming Certificate related events in Credentials from the event bus. This PR starts the process by publishing CERTIFICATE_CREATED events to the event bus. It also introduces a new feature flag (`SEND_CERTIFICATE_CREATED_SIGNAL`) to gate the functionality.
2023-04-19 19:53:35 +00:00
alangsto
67e870d79c chore: update proctoring version (#32101) 2023-04-19 14:28:33 -04:00
Alexander J Sheehan
f6d5461ac2 Merge pull request #32102 from openedx/asheehan-edx/bumping-enterprise-version-3.61.14
chore: bumping enterprise package version to 3.61.14
2023-04-19 12:44:11 -04:00
Alexander J Sheehan
3b15a3c16d chore: bumping enterprise package version to 3.61.14 2023-04-19 16:20:35 +00:00
David Ormsbee
7bc6ff8c34 feat: pre-fill location to Unit URL in Studio sidebar
Studio has a panel on the right side in the Unit view that shows authors
how to create a jump_to_id link to that Unit from HTML components that
are elsewhere in the course. However, that link was the literal text:

  "/jump_to_id/<location ID>"

The expectation was that people would then copy the location ID as well,
and construct the link manually. This commit is a minor tweak that just
displays the link address with the location ID pre-filled. Doing this
does cause a little bit of text overflow, which is why this commit also
removes the quotes surrounding the URL. It's still doesn't always fit
perfectly, but the increased usability is worth the small visual issue.
2023-04-19 11:09:26 -04:00
Muhammad Adeel Tajamul
2f036e2df6 feat: added edit_by_label and closed_by_label in threads response (#32070) 2023-04-19 19:55:10 +05:00
leangseu-edx
9fd2920c4c chore: update public video logo and CTA styling (#32078)
* chore: update public video logo and CTA styling

* chore: update logo styling
2023-04-19 10:21:50 -04:00
Michael Roytman
f6e1ccbc35 Merge pull request #32092 from openedx/mroytman/MST-1853-xblock-lti-consumer-bump-9.0.3
feat: add logging for access token view and key handlers
2023-04-19 09:21:15 -04:00
michaelroytman
c50ae58e20 feat: add logging for access token view and key handlers
This commit upgrades the version of the lti-consumer-xblock library from version 9.0.2 to version 9.0.3. Version 9.0.3 includes a change to add logging for error cases in the access_token_endpoint view and the key handler classes.

Please see the CHANGELOG entry for this version for a full description of the change: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#903---2023-04-18.
2023-04-18 16:36:25 -04:00
Tim McCormack
66b8b1dd79 build: Remove workarounds for missing packages (#32088)
We'd prefer to install the OS packages rather than have these workarounds
for missing system libraries.
2023-04-18 18:29:52 +00:00
Rebecca Graber
66c22d2e9f feat: add grace period when deleting accesstokens (#32040) 2023-04-18 13:17:53 -04:00
Brian Mesick
b2b78f3ca8 Merge pull request #32032 from raccoongang/sagirov/tCRIL_GA-18
[FC-0014] Add GA 4 support to edX platform
2023-04-18 10:02:49 -04:00
Tim McCormack
be80f2788e test: Remove unneeded signing key from CMS dev/test environments (#32082)
This key should only be needed by the LMS, as the CMS uses OAuth login and
maintains its own session.
2023-04-18 13:37:13 +00:00
Usama Sadiq
0ec7b8cc30 fix: fix make upgrade job and _mysql issue (#32084)
* fix: upgrade pip & pip-tools versions
* fix: install libmysqlclient-dev system package again
* fix: skip reinstalling mysqlclient package
* fix: add pytz package constraint

---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-04-18 18:10:01 +05:00
Mohammad Ahtasham ul Hassan
2a7b400770 fix: fix buy_subscription_url to use get method (#32079)
* fix: fix buy_subscription_url to use get method
2023-04-18 15:31:32 +05:00
Jade Olivier
0c8f2f3a93 feat: Updated Program Details breakpoints 2023-04-18 08:40:42 +02:00
Jade Olivier
cadb2ad287 feat: Update Program Details breakpoints 2023-04-18 08:40:42 +02:00
Jade Olivier
75c523f39f feat: Updated program details breakpoints 2023-04-18 08:40:42 +02:00
Tim McCormack
b852344fcf build: Deduplicate mismatched pip.txt files that caused build failure (#32081)
There was a `requirements/pip.txt` with old versions, and a newer
`requirements/edx/pip.txt` managed via a `pip.in` file. The old one was
used in most places, but came out of sync with pip-tools.txt, which was
managed properly. Eventually this caused a `pip check` failure due to the
mismatch.

This should resolve at least part of https://github.com/edx/edx-arch-experiments/issues/267

This PR moves pip.in and pip-tools.in and their corresponding pin files
up to the `requirements/` dir, since they should be shared between the edx
and sandbox environments. This also has the effect of upgrading pip to
match the version in the file we've been uselessly upgrading.

Other improvements:

- Remove `-q` option from pip and pip-sync calls, as it was hiding some
  debugging information that would have resolved this sooner.
- Depend on `pre-requirements` from `compile-requirements`, rather than
  from `upgrade`. (The base target is the one that actually needs it.)
  This also lets us remove the explicit `pip install pip-tools` line.
- Install the recompiled pip and pip-tools files right away, not after the
  loop. When we upgrade pip-tools, we want to use the upgraded version,
  not the previous version. This requires moving the pip-tools.txt
  recompilation outside of the loop and into its own explicit line.
- Don't upgrade pip if we're not running `make upgrade` (respect the
  compile options).
- Remove apparently-unneeded `--no-emit-trusted-host --no-emit-index-url`
  options (we don't pass trusted-host or index-url options).
2023-04-17 17:21:48 +00:00
Braden MacDonald
2dc79bcab4 feat: New django app for copying and pasting OLX content in Studio (#31904)
[FC-0009]
2023-04-14 11:41:41 -07:00
Jansen Kantor
de047cd6f9 feat: add assignment type count warning (#32068)
* feat: add assignment type count warning

* style: quality
2023-04-14 12:26:29 -04:00
Mohammad Ahtasham ul Hassan
e973266b2f feat: fetch program subscription details (#32023)
* feat: fetch program subscription details
2023-04-14 16:33:12 +05:00
SaadYousaf
dc63e525f8 feat: add platform notification app and models 2023-04-14 14:32:17 +05:00
Tim McCormack
d7f9fc3023 feat: Upgrade edx-django-utils to 5.4.0 and add CSP middleware (#32061) 2023-04-13 21:00:22 +00:00
sundasnoreen12
87070d7a5a Merge pull request #32065 from openedx/sundas/INF-854
fix: updated text for info banner
2023-04-13 00:51:39 -07:00
Ali Nawaz
9c06ef5c17 chore: log the user triggering the retirement flow
chore: change user retirement permissions to allow support staff
2023-04-13 02:29:39 +05:00
Jenkins
1436125864 chore: geoip2: update maxmind geolite country database 2023-04-12 16:58:40 -04:00
Zachary Hancock
ed7924361a chore: update lti-consumer-xblock (#32064) 2023-04-12 14:09:03 -04:00
sundasnoreen12
7cbfb2d8b0 fix: updated text for info banner 2023-04-12 22:39:59 +05:00
Tim McCormack
20f889145a chore: Upgrade edx-drf-extensions (and edx-django-utils, apparently) (#32056)
This brings in some JWT verification monitoring.

This also includes a delayed upgrade of `edx-django-utils`, which had been manually and incompletely bumped in some previous PR.
2023-04-12 14:32:46 +00:00
Zachary Hancock
d622db59b7 feat: update xblock-lti-consumer (#32050) 2023-04-11 11:02:47 -04:00
Brian Citro
8e6e299715 Merge pull request #32049 from openedx/bcitro/ENT-7005
chore: bump edx-enterprise version to 3.61.11
2023-04-11 09:54:31 -04:00
Brian Citro
604ba5d067 chore: bump edx-enterprise version to 3.61.11 2023-04-11 09:15:30 -04:00
Mubbshar Anwar
3b991e6620 Revert "refactor: recommendations code refactoring (#31990)" (#32047)
This reverts commit 20b1e65c21.
2023-04-11 11:17:29 +05:00
Robert Raposa
6cae1fa429 feat: allow for forcing asymmetric jwts (#32045)
Add a temporary feature toggle to force the LMS to
only produce asymmetric JWTs. This is a part of
DEPR of Symmetric JWTs:
https://github.com/openedx/public-engineering/issues/83
2023-04-10 14:46:44 -04:00
Alexander J Sheehan
1e35bc10eb Merge pull request #32044 from openedx/asheehan-edx/bump-enterprise-3.61.10
chore: bumping enterprise package version to 3.61.10
2023-04-10 12:31:04 -04:00
Alexander J Sheehan
70b9bb9c14 chore: bumping enterprise package version to 3.61.10 2023-04-10 15:40:42 +00:00
Mubbshar Anwar
20b1e65c21 refactor: recommendations code refactoring (#31990)
After moving the recommendations code from learner_home to learner_recommendations we need to remove the legacy code.
Point the learner dashboard recommendations API from legacy to new endpoint.

VAN-1310
2023-04-10 15:31:37 +05:00
Jenkins
098b7de8f5 chore(i18n): update translations 2023-04-09 17:03:56 -04:00
Ben Warzeski
0fb7a807e8 Bw/video fb share (#32041)
* feat: video block fb share

* feat: video linkedin share
2023-04-07 19:22:33 +00:00
Sathis
714b6cb109 fix: Allow download url in video component when MP4/WEBM format is available
When creating a new video component in Studio and specifying an HLS URL and MP4 URL along with setting Video Download Allowed equal to True the download link for MP4 has to be shown.

Fixes: https://github.com/openedx/edx-platform/issues/31300
2023-04-07 10:47:38 -05:00
Ben Warzeski
54c3a4c59b feat: video block fb share (#32037)
* feat: video block fb share

* feat: video linkedin share
2023-04-07 15:02:39 +00:00
Jody Bailey
ba1c018a2e feat: Cross Product Recommendations Logic (#32003)
* feat: added get_cross_product_recommendations method

* feat: Cross Product Recommendations Logic

* fix: lint errors

* fix: removed unused utility method get_programs_based_on_course

* fix: lint errors

* fix: views test case removed decorator

* fix: edited serializer to no longer extend from existing

* fix: included mocked data for tests and handled empty discovery responses

* fix: removed settings import

* test: add module docstring

* test: removed log resultitng in failure

* fix: moved recommendations dictionary to settings variable

* fix: cleaned up logic for Cross Product Recommendations view

* refactor: requested changes to view and serializer tests

* fix: fixed list passed into serializer in cross product view

* fix: added query string to course query and removed production course keys

* fix: moved query string argument value to separate variable
2023-04-07 13:17:17 +02:00
Ahtisham Shahid
bbcd3124a6 fix: added delay of 30sec to update_discussions_settings_from_course_task (#32038)
* fix: added delay of 30sec to update_discussions_settings_from_course_task

* fix: resolved linter issues
2023-04-07 15:09:04 +05:00
Ahtisham Shahid
0815d7a0cd fix: skip update_discussions_settings_from_course_task if rerun is not completed (#32036) 2023-04-06 18:30:45 +00:00
Tim McCormack
ce3d1a3207 feat: Stop code owner mapping script with error when URL can't be matched (#32012)
We don't actually review the output of this script for warnings, and had
been missing a mapping. This turns it into an error so we'll notice in the
future.
2023-04-06 16:19:46 +00:00
Sagirov Eugeniy
18b8044fdf fix: add js_escaped_string filter for ga_4_id 2023-04-06 17:15:20 +03:00