Commit Graph

24297 Commits

Author SHA1 Message Date
Muhammad Adeel Tajamul
b85929e2ee feat: added stats at subsection in topics v3 api (#31763)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-17 06:51:07 +05:00
Jansen Kantor
5436136609 feat: public video metadata + embed (#31753)
* feat: public video metadata + embed

* refactor: alphebetize template context

* feat: don't default show transcript when embed

* fix: rename var

* fix: remove padding in embed view

* style: newline

* test: add tests
2023-02-16 13:18:45 -05:00
Tim McCormack
41d97e71a4 chore: Update URL for DOT in code-owner mappings generator (#31782)
This repo has changed, so we need to update the URL, which is how these
apps get matched up with owners.
2023-02-16 18:17:19 +00:00
Syed Sajjad Hussain Shah
23db2c8a7a feat: add location restrictions to recommendations (#31728)
VAN-1293

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-16 15:39:47 +05:00
Tim McCormack
83f6e560b7 fix: Add code_owner decorator to remaining Celery tasks (#31762)
This will ensure that errors raised by these tasks will alert the right
team. `send_course_enrollment_email` is the one I set out to fix, but I
discovered a few others.

I located tasks that were missing decorators by running the following
search and visually inspecting the results, although semgrep might be able
to do better:

```
ack '^@.*task|^@set_code_owner_attribute' cms lms common openedx xmodule --ignore-dir=tests --python
```

Also, add more detailed explanation of why a couple of tasks can't use the
decorator. This should only be an issue on tasks inheriting from
UserTaskMixin, which in practice is just CourseExportTask and
CourseImportTask (and the apparently unused EnrollmentReadTask and
EnrollmentWriteTask), via UserTask.
2023-02-15 18:20:50 +00:00
Muhammad Adeel Tajamul
9f7bba85fc feat: added reverse_order param in comments sort (#31667)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-13 12:58:13 +05:00
Moeez Zahid
c8af0f607f Enable In-App purchases on edx-mobile app (#31512)
* feat: added mobile skus in course mode

* fix: changed api

---------

Co-authored-by: jawad-khan <jawadkhan444@gmail.com>
Co-authored-by: Robert Raposa <rraposa@edx.org>
2023-02-10 16:16:37 +05:00
Usama Sadiq
997f194669 Revert "build: remove boto old version (#31282)" (#31733)
This reverts commit 14e6040141.
2023-02-09 18:36:59 +05:00
Muhammad Umar Khan
14e6040141 build: remove boto old version (#31282) 2023-02-09 15:21:10 +05:00
Mohammad Ahtasham ul Hassan
3726d122f9 Migrate eslint-config-edx (#30460)
* feat: migrare eslint-config-edx

* refactor: updated package-lock

* refactor: updated package-lock

---------

Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
Co-authored-by: Mashal Malik <107556986+Mashal-m@users.noreply.github.com>
Co-authored-by: Abdullah Waheed <abdullah.waheed@arbisoft.com>
2023-02-09 13:57:18 +05:00
Syed Sajjad Hussain Shah
0e9136589f fix: remove programUpsell from api response (#31729)
VAN-1298

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-08 17:50:46 +05:00
Jenkins
62c381f856 chore(i18n): update translations 2023-02-07 11:33:49 -05:00
Muhammad Ammar
261bbe1e0e Revert "chore: add django settings variable for surveymonkey import data job" 2023-02-03 18:08:37 +05:00
muhammad-ammar
a010cf1d82 chore: add django settings variable for surveymonkey import data job 2023-02-03 17:12:09 +05:00
Syed Sajjad Hussain Shah
284e64d1f1 feat: add eventing to personalized recommendations (#31703)
VAN-1261
2023-02-03 16:40:22 +05:00
Attiya Ishaque
ca6272a50f feat: [VAN-1260] Program recomendation based on course (#31663) 2023-02-03 16:26:48 +05:00
Mubbshar Anwar
f1b57b3204 fix: camel case response (#31686)
return camel case response for course about page recommendations API.
2023-02-02 17:29:46 +05:00
Ned Batchelder
12765a7a59 refactor(test): use @skip_unless_lms uniformly 2023-02-01 13:52:26 -08:00
Feanil Patel
57f2ca1a21 fix: Prepare for the bleach 6.0.0 upgrad.
Changelog: https://bleach.readthedocs.io/en/latest/changes.html#version-6-0-0-january-23rd-2023

The major change is that the tags and protocols attributes and related
constants are expected to be sets rather than lists.
2023-02-01 11:46:44 -05:00
Zainab Amir
2e4a20eded feat: add tests for recommendation api and utils (#31679) 2023-02-01 21:10:59 +05:00
Zainab Amir
201499ae84 fix: missing marketing url (#31684) 2023-02-01 17:09:36 +05:00
Justin Hynes
213ade8cf7 fix: remove unused settings from edx-paltform related to learner record MFE
[APER-2240]

The monolith no longer needs to understand how to build URLs to the Learner Record MFE. The Credentials IDA has logic to determine if (and how) a request should be redirected to this MFE. This PR remove unused settings from edx-platform.

We have already removed the use of these settings in #31672.
2023-01-31 09:44:30 -05:00
Mubbshar Anwar
5e014651cb feat: [VAN-1259] Amplitude course recommendation api for course about page (#31650) 2023-01-31 16:30:54 +05:00
0x29a
3a1011bed8 refactor: replace usages of XModuleMixin.system with XBlock.runtime 2023-01-30 18:15:24 +01:00
0x29a
fd191db332 refactor: rename module (or item) -> block within remaining lms
Also, removed `_iter_scorable_xmodules` method from `lms/djangoapps/grades/transformer.py` file.
2023-01-30 18:15:23 +01:00
0x29a
af13a326be refactor: rename module (or item) -> block within lms/djangoapps/instructor 2023-01-30 18:15:23 +01:00
0x29a
e96155807a refactor: rename module (or item) -> block within common 2023-01-30 18:15:23 +01:00
0x29a
d338f00e39 refactor: rename module (or item) -> block within cms 2023-01-30 18:15:23 +01:00
0x29a
a299046540 refactor: rename module -> block within openedx/core 2023-01-30 18:15:22 +01:00
0x29a
a027f36724 refactor: rename module -> block within xmodule 2023-01-30 18:15:22 +01:00
0x29a
e348a8118d refactor: rename module -> block within lms/djangoapps/instructor_task 2023-01-30 18:15:22 +01:00
0x29a
9d8375ff99 refactor: rename module -> block within lms/djangoapps/courseware
Also, removed unused `_has_access_xmodule` methid from `lms/djangoapps/courseware/access.py`.
2023-01-30 18:15:22 +01:00
Feanil Patel
d846ea8558 Merge pull request #31633 from openedx/feanil/depr_bs_raise_error
feat!: Remove block_structure.raise_error_when_not_found waffle flag.
2023-01-30 10:17:00 -05:00
Jenkins
8b9ede9548 chore(i18n): update translations 2023-01-29 15:58:51 -05:00
Nathan Sprenkle
f783dce52d feat: Learner Home experimental rollout (#31642)
* feat: add experimental redirect for Learner Home

As a request by Data, this system repeatably groups users into
experiment groups. Based on end of user ID, users that fall beneath a
threshold (LEARNER_HOME_MFE_REDIRECT_PERCENTAGE) will be redirected to
the Learner Home experience, if enabled. Otherwise, learners will see
the legacy dashboard.

* feat: add learner home redirect percentage setting

Adds LEARNER_HOME_MFE_REDIRECT_PERCENTAGE to common settings to avoid a
failed lookup. Can be overridden through config.

* refactor: change test to not leak implementation
2023-01-25 10:59:39 -05:00
Alejandro Cardenas
045ae44184 feat: add generate report button in admin (#31429)
* feat: add generate report button in admin
2023-01-25 10:19:59 -05:00
Zainab Amir
53815f1d89 feat: refactor recommendations util methods (#31639) 2023-01-25 15:18:17 +05:00
Ahtisham Shahid
536fe66362 fix: remove chapters if thre are no sequentials in Topics v3 (#31625) 2023-01-24 13:18:27 +05:00
edx-transifex-bot
3a3d47f0ef chore(i18n): update translations (#31640)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
2023-01-23 19:30:05 +00:00
Arunmozhi
b6634a811a refactor: replace get_display_blocks with get_children 2023-01-23 14:47:47 +01:00
Arunmozhi
851eb65d53 refactor: rename get_displayable_items and displayable_items 2023-01-23 14:47:47 +01:00
Arunmozhi
d417a7561f refactor: rename ItemFactory to BlockFactory 2023-01-23 14:47:47 +01:00
Shafqat Farhan
68acdca9d7 feat: VAN-1221 - POC: Course skills based recommendations from Algolia 2023-01-23 12:10:28 +05:00
Feanil Patel
40eedc6889 test: Update query counts now that we've removed a waffle flag.
Various tests with query counts need to be updated now that we have
removed a waffle check that was in their codepath.
2023-01-22 18:39:51 -05:00
Mohammad Ahtasham ul Hassan
b01cf355a7 Unpin django-ratelimit (#31416)
* fix: fix ratelimit upgrade changes

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-01-19 16:39:23 +05:00
Zainab Amir
83437a9702 fix: redirect after the event has been fired (#31592) 2023-01-18 22:35:15 +05:00
Ahtisham Shahid
62f311c041 fix: removed subsections with no units from v3 topics api (#31553)
* fix: removed subsections with no units from v3 topics API

* fix: fixed unit test
2023-01-18 13:52:12 +05:00
Zainab Amir
b0ec8f31bf feat: update recommendations api for dashboard (#31563) 2023-01-18 12:48:43 +05:00
Shafqat Farhan
a21d947733 Merge pull request #31558 from openedx/shafqat/VAN-1247
fix: VAN-1247 - Add isControl property in recommendations response
2023-01-18 11:03:37 +05:00
Sagirov Eugeniy
f3de63058c test: tests for removing support for children in Old Mongo
* updated test_authoring_mixin.py
* updated test_xblock_utils.py
* updated TestOnboardingView tests (update default course key)
* updated UsersDefaultRole tests
2023-01-17 14:54:14 -05:00