Commit Graph

24405 Commits

Author SHA1 Message Date
Pooja Kulkarni
c80fba689a refactor: rename descriptor -> block within lms/djangoapps/courseware
Co-authored-by: Agrendalath <piotr@surowiec.it>
2023-04-26 17:10:53 +02:00
Pooja Kulkarni
79f67b9ce3 refactor: rename descriptor -> block within lms/djangoapps/certificates
Co-authored-by: Agrendalath <piotr@surowiec.it>
2023-04-26 17:10:53 +02:00
Nathan Sprenkle
df6a60b0e0 feat: video share icons (#32111)
* feat: replace video share links with icons

* feat: add download / share icons to video block

* feat: consistent styling for transcript links

* feat: change order of download/share for videos
2023-04-24 10:04:03 -04:00
Jeremy Ristau
472a3b5442 Merge pull request #31472 from open-craft/kaustav/unify_modulesystem_descriptorsystem
feat: unify ModuleSystem and DescriptorSystem [BD-13]
2023-04-24 10:03:19 -04:00
Jansen Kantor
9c769dd311 feat: gradebook api real name for masters students (#32104) 2023-04-21 13:57:59 -04:00
Leangseu Kim
96f1c93779 feat: add videos meta tags 2023-04-21 10:07:03 -04:00
Kyle McCormick
151c4fcfb2 build: move collectstatic ignore patterns into configuration (#31934)
Adds a tiny `openedx.core.djangoapps.staticfiles` app so that
static asset ignore patterns can be coded into configuration rather
than supplied on the command line or coded into pavelib.
Makes it easier to run static asset collection without Paver.

See ADR for details:
openedx/core/djangoapps/staticfiles/docs/decisions/0001-purpose-of-app.rst

Closes: https://github.com/openedx/edx-platform/issues/31658
2023-04-21 08:26:48 -04:00
Agrendalath
522c48c137 refactor: do not rely on LmsModuleSystem in Video XBlock
It was introduced in 159b707. We are removing this class.
This also adds a missing test case.
2023-04-21 11:53:49 +02:00
Kaustav Banerjee
c5439221cb chore: address review comments 2023-04-21 11:53:49 +02:00
Kaustav Banerjee
d0fa2d65e3 test: fix test cases and lint issues 2023-04-21 11:53:49 +02:00
Kaustav Banerjee
20ed3d64ec feat: add _runtime_services attribute to DescriptorSystem 2023-04-21 11:53:49 +02:00
Kaustav Banerjee
7d8f54fa88 chore: cleanup LmsModuleSystem and PreviewModuleSystem 2023-04-21 11:53:49 +02:00
Kaustav Banerjee
09e1197053 feat: remove CombinedSystem 2023-04-21 11:53:49 +02:00
Kaustav Banerjee
18fea868a9 feat: remove usage of LmsModuleSystem and PreviewModuleSystem 2023-04-21 11:53:48 +02:00
Kaustav Banerjee
017f8469de feat: merge ModuleSystem with DescriptorSystem 2023-04-21 11:53:48 +02:00
Jenkins
e01afb1c3a chore(i18n): update translations 2023-04-20 17:12:22 -04:00
Braden MacDonald
626f11f608 test: Import linter: optionally enforce usage of a package's public API (#31903)
* test: warn about dependencies from cms->openedx->lms and vice versa

* test: warn about importing from package's internal implementation code

* chore: Update some imports to use public APIs only

* chore: Update 'bookmarks' app to have stricter public API

* fix: we are sharing 'adapters' from olx_rest_api to content_staging
2023-04-20 11:34:51 -07:00
Justin Hynes
72d8d830c9 Merge pull request #32071 from openedx/jhynes/APER-2344
feat: publish CERTIFICATE_CREATED events to the event bus
2023-04-20 13:11:27 -04:00
Tim McCormack
06969e6c50 feat: Add a script to enhance JWKs in preparation for move from pyjwkest (#32089)
* feat: Add a script to enhance JWKs in preparation for move from pyjwkest

This script accepts a signing JWK (presumably `JWT_PRIVATE_SIGNING_JWK`)
and ensures that it has all of the precomputed private numbers that are
required for top performance. This is necessary before moving away from
pyjwkest to PyJWT for signing JWTs. See issue
<https://github.com/openedx/edx-drf-extensions/issues/290>. (Alternatively,
one could remove the p, q, dp, dq, and qi params, but there is an unknown
performance cost to doing so as we are not currently caching these keys,
and the precompution happens on every load due to the way pyjwkest's API
works.)

* fixup! Upgrade devstack at the same time
2023-04-20 09:08:14 -04:00
Jade Olivier
5142a21016 Merge branch 'master' into jade-REV-3505-prog-details-brk-pnts 2023-04-20 09:57:39 +02:00
Jade Olivier
e6f484083e feat: updated left margin on program details page 2023-04-20 09:56:53 +02: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
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
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
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
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
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
Mubbshar Anwar
3b991e6620 Revert "refactor: recommendations code refactoring (#31990)" (#32047)
This reverts commit 20b1e65c21.
2023-04-11 11:17:29 +05: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
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
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
Sagirov Eugeniy
4a551aa1bb feat: add google_analytics_4_id template tag for main_django.html 2023-04-06 17:15:20 +03:00
Sagirov Eugeniy
64238e5931 feat: add a snippet to public_video_share_embed.html 2023-04-06 17:15:20 +03:00
Sagirov Eugeniy
7213f27ca5 feat: Add GA 4 support to edX platform 2023-04-06 17:15:20 +03:00
Isaac Lee
b0da68aa3a fix: resubmit IDV attempts for early march 2023 (#31999)
* fix: resubmit IDV attempts for early march 2023

- initial commit w/ direct copy of retry_failed_photo_verifications.py

* fix: resubmit IDV attempts for early march 2023

- corrected filter and comments

* feat: re-submit in date range

* feat: reworked other command instead

* temp: building tests

* test: unit test complete

* fix: quality

* fix: remove old file

* temp: building tests

* temp: tests w/ debug

* test: reverted old files + removed debug

* chore: quality

* chore: NITs
2023-04-04 15:38:34 -04:00
Jansen Kantor
cfc0e43eeb fix: remove field filtering on catalog lookup (#32022)
* fix: remove field filtering on catalog lookup

* style: quality
2023-04-03 15:22:39 +00:00
Jenkins
9caa31bb06 chore(i18n): update translations 2023-04-02 17:04:08 -04:00
Jansen Kantor
0ec8939eac fix: owner -> owners (#32016) 2023-03-31 14:49:18 +00:00
Jansen Kantor
2f64020259 feat: get info from catalog service (#32009) 2023-03-30 12:01:51 -04:00
Attiya Ishaque
bb9d0b27c0 fix: fix subject email and body html code (#31995) 2023-03-30 16:00:11 +05:00