Commit Graph

24373 Commits

Author SHA1 Message Date
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
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
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
Jansen Kantor
da1982f432 fix: get marketing url from overview, with override (#31998)
* fix: get marketing url from overview, with override

* style: quality
2023-03-28 16:02:36 -04:00
Leangseu Kim
4e1ec05d9a chore: remove resume last course 2023-03-27 11:49:38 -04:00
Jenkins
be3f83cb25 chore(i18n): update translations 2023-03-26 17:03:56 -04:00
Jansen Kantor
7f5320183d fix: change video embed url (#31988)
* fix: change video embed url

* fix: trailing slash
2023-03-24 13:47:46 -04:00
Jansen Kantor
d277cc0eb1 fix: video share page visual issues (#31974)
* fix: video share page visual issues

* fix: better video sizing

* fixup! fix: better video sizing

* docs: comment explaining width funkiness
2023-03-24 10:59:38 -04:00
Mubbshar Anwar
773f97d324 refactor: Reduce redundant code (#31975)
Move recommendations related code to learner_recommendations app.

VAN-1310
2023-03-24 16:18:57 +05:00
Muhammad Adeel Tajamul
198103635c fix: remove discussion xblocks from unit children (#31964) 2023-03-24 08:05:45 +05:00
Jansen Kantor
035bd6ae2d fix: allow iframe embed v2 (#31983) 2023-03-23 14:42:52 -04:00
Jansen Kantor
c319b55f9c fix: xframe options (#31981) 2023-03-23 10:22:41 -04:00
alangsto
6ca5ea0c81 fix: update exams service url (#31977) 2023-03-22 10:51:33 -04:00
Jenkins
a76df6ec57 chore(i18n): update translations 2023-03-19 17:03:54 -04:00
Syed Sajjad Hussain Shah
278dbba646 fix: fix CS50 enrollment and filtering issue for recommendations (#31916)
VAN-1314

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-03-17 10:04:09 +05:00
Nathan Sprenkle
4d999ed3f7 feat: add organization logo to public video page (#31922)
* feat: add org logo to public video page

Refactors CTA banner slightly to allow for left org logo float.

* fix: hide org logo if not provided

* test: add tests for org logo
2023-03-16 10:35:02 -04:00
Jansen Kantor
b6ba32830a feat: add endpoint to tell if video sharing feature is enabled for a course (#31931)
* feat: add endpoint to tell if video sharing feature is enabled for a course

* feat: create video setting endpoint

* feat: move toggle out of lms

* docs: update toggle location in comment

* docs: fix toggle annotation
2023-03-16 09:51:05 -04:00
Leangseu Kim
5c47374483 test: behavior test for public video xblock 2023-03-15 16:02:35 -04:00
Troy Sankey
f085bfd94f chore: prevent enterprise-{access,subsidy} from being excessively throttled
The enterprise-access and enterprise-subsidy IDAs should be given a
greater latitude for repeatedly calling enterprise API endpoints.

ENT-6913
2023-03-14 20:18:43 -04:00
Awais Qureshi
2ae2fbd4f5 fix: removing s3boto storage backend. (#31876)
* fix: removing s3boto storage backend
2023-03-13 13:32:19 +05:00
Jenkins
a4ee38dc39 chore(i18n): update translations 2023-03-12 17:03:55 -04:00
Jansen Kantor
9ad3f0ff60 fix: share link should show even if video download is disabled (#31902)
* fix: share link should show even if video download is disabled

* fixup! fix: share link should show even if video download is disabled

* chore: update test

* chore: linting

---------

Co-authored-by: Leangseu Kim <lkim@edx.org>
2023-03-10 12:54:07 -05:00
Muhammad Adeel Tajamul
7f769b4755 feat: added reverse_order option in comments sort (#31906)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-03-10 19:01:01 +05:00
Leangseu Kim
e3e83c74dc feat: add twitter share button to public access video 2023-03-09 13:50:09 -05:00
SaadYousaf
32e792d1f4 feat: add differentiation for tracking in-context and mfe events 2023-03-09 07:32:00 +05:00
Muhammad Abdullah Waheed
90c4ca6e47 Revert "FC-0001: Account pages -> micro-frontend (#30336)" (#31888)
This reverts commit 0f02c7b3d9.
2023-03-07 17:41:56 -05:00
Jansen Kantor
ef30d2d32e feat: add cta buttons to public video xblock page
* feat: video share page buttons
* feat: pass along utm params
* feat: disbale register button on public video page
* fix: convert to class-based view
2023-03-07 14:24:27 -05:00
Sagirov Evgeniy
0f02c7b3d9 FC-0001: Account pages -> micro-frontend (#30336)
* feat: Account pages. Learner Profile page

* feat: Account pages. Account Settings page

* feat: Account pages. Removed unused styles

* feat: Account pages. Removed unused toggles

* feat: fixed tests and pylint errors

* feat: update redirect to account settings for student_dashboard

* feat: fix pylint errors
2023-03-07 17:41:52 +05:00
Awais Qureshi
20ef29da53 chore: Replaced boto usage with boto3. (#31886)
* chore: Replaced boto usage with boto3.
2023-03-07 15:47:48 +05:00
Eugene Dyudyunov
c51f0dad00 chore: disable forum digest subscription section by default (#31459)
Current State of the feature

Initially, this feature used the Notifier Django app but was deprecated
and removed from the configuration in favor of edx-notifications.
More info about this deprecation can be found in the GitHub issue (
https://github.com/openedx/build-test-release-wg/issues/22).

The edx-notifications app was not supported though, so its repository
was archived and moved to openedx-unsupported/edx-notifications.
Check the deprecation ticket (https://github.com/openedx/edx-notifications/issues/253)
and corresponding discussion (https://discuss.openedx.org/t/deprecation-removal-edx-notifications-repository/6748)
for details.

What remains in the edx-platform

The forum initial page contains the how-to info with the notification
preferences toggle.

This section is responsible for toggling the "notification_pref" user
preference (aka NOTIFICATION_PREF_KEY). I didn't find any usage of this
preference across the platform, so I'm suggesting hiding it by default
by setting the ENABLE_FORUM_DAILY_DIGEST setting to `False`.
2023-03-07 13:28:04 +05:00
Shahbaz Shabbir
a99826b1ef revert: remove algolia API endpoint and unit tests from lms (#31868) 2023-03-07 10:32:57 +05:00
Jansen Kantor
e809344701 fix: waffle flag gates public video (#31881)
* fix: waffle flag gates public video

* test: move test into existing file
2023-03-06 15:16:22 -05:00
Ahtisham Shahid
acbb66a911 feat: added backward compatibility for urls and images in threads (#31807)
* feat: added backward compatibility for URLs and images in threads

* feat: added unit tests for markdown converter
2023-03-06 11:23:11 +05:00
Syed Sajjad Hussain Shah
7b0b14c703 feat: add masters program restrictions for UT Austin (#31873)
Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-03-06 10:31:23 +05:00
Syed Sajjad Hussain Shah
1ef66409c9 feat: add masters program restrictions on recommendations (#31857)
Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-03-03 15:31:52 +05:00