Commit Graph

24320 Commits

Author SHA1 Message Date
Muhammad Adeel Tajamul
63b5c841cd fix: blocks v2 will filter discussion xblocks (#31820)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-03-01 06:25:37 +05:00
Darius Zivertas
afaf9a920e Merge branch 'master' into zzzarius/seo-240-cookie-policy-feature 2023-02-27 15:51:21 +02:00
Jenkins
860fff6a4d chore(i18n): update translations 2023-02-26 16:03:54 -05:00
Diana Huang
c73e5ba518 docs: add CertificateModel ADR. (#31825)
Adds an ADR explaining that historical fields
used by CertificateModel were not removed.

Adds comments to point to ADR.
2023-02-24 10:06:00 -05:00
ALi Raza
0ff7c5b13f feat: Enable Certificate Display Behavior add certificate_available_date in course detail API
feat: Enable Certificate Display Behavior add certificate_available_date in course detail API

fix: reviwed changes, certificate_available_date in Course Detail API but not in Course List API

fix: reviewed changes, certificate available date display condition updated

fix: final reviewed changes

fix: serializer and linting tests

fix: serializer and tests

fix: docstring

fix: docstring and tests

fix: typo and mock call
2023-02-23 22:34:11 +05:00
Awais Qureshi
ebdcf2f34e fix: Adding boto3 exceptions. (#31802)
* fix: Adding boto3 exceptions
2023-02-23 13:30:42 +05:00
Navin Karkera
5ed5cc5bc1 feat: put sending xblock events over bus behind feature flag (#31813) 2023-02-22 11:03:24 -05:00
Pooja Kulkarni
0d22e4ec87 Merge pull request #31788 from open-craft/agrendalath/allow_using_all_rcb_components
feat: allow using all components of LibraryContentBlock
2023-02-22 09:53:26 -05:00
Darius Zivertas
317108a173 Merge branch 'master' into zzzarius/seo-240-cookie-policy-feature 2023-02-22 09:47:15 +02:00
Darius Zivertas
6d7716552a feat: Feature configuration option for disabling CookiePolicyBanner
ENABLE_COOKIE_POLICY_BANNER
2023-02-21 18:15:48 +02:00
Alejandro Cardenas
7f90b5d3e1 feat: add SurveyReportUpload and add send report method (#31431)
* feat: add SurveyReportUpload and add send report method

* docs: Update openedx/features/survey_report/management/commands/generate_report.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* docs: Update openedx/features/survey_report/models.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* refactor: Update openedx/features/survey_report/models.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* style: Update openedx/features/survey_report/api.py

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>

* feat: add migratio file and update status field name

* refactor: rename send report method

* test: fix test errors

* test: add command options

* refactor: simple conditional instead of ok method

* fix: remove useless imports

* fix: use status code instead of status

* feat: add zapier endpoint

* style: solve pylint issues

* feat: add id field to send report data

* refactor: regenerate migration with correct history

* feat: add anonymous site id model

* feat: update zapier url

---------

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
Co-authored-by: Alejandro Cardenas <alejandrocardenas@Alejandros-MacBook-Pro.local>
2023-02-21 10:51:36 -05:00
Jenkins
9ed2688cb4 chore(i18n): update translations 2023-02-21 10:44:39 -05:00
Muhammad Adeel Tajamul
16842ec51a fix: remove empty topics for topics v2 as v1 (#31803)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-02-21 20:26:01 +05:00
SaadYousaf
4cc9bfb6cf fix: update response for marked events for discussion content 2023-02-21 15:39:35 +05:00
Syed Sajjad Hussain Shah
d694b70439 fix: recommend only available courses (#31773)
VAN-1306

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-02-21 09:04:08 +05:00
Jansen Kantor
d6f1fd54ac fix: video share improvements (#31792)
* feat: show poster thumbnail for social media preview

* fix: hide video downloads in public_view

* fixup! fix: hide video downloads in public_view

* test: fix failing video tests
2023-02-17 17:35:34 -05:00
Zachary Hancock
9522cbdc8b feat: gate exam content using access token (#31653)
Gate access to exam content by requiring an access token. This is a signed JWT issued by the edx-exams service that grants a user access to a sequence locator for a short lived window while an exam is in progress. This feature only applies to courses using the new exam service instead of edx-proctoring.
2023-02-17 10:00:52 -05:00
Jansen Kantor
3b1c049429 fix: player height (#31789) 2023-02-17 09:47:27 -05:00
Piotr Surowiec
ffc8c0217d Merge pull request #31491 from open-craft/farhaan/upstream-submission-history-api
feat: Added submission history API and extended enrollment API to support grading and finished flags.
2023-02-17 14:21:19 +01:00
Agrendalath
a12c003215 feat: allow using all components of LibraryContentBlock
Setting max_count to a negative value resulted in raising an unhandled
ValueError. Currently, it selects all children of the LibraryContentBlock.
2023-02-17 12:49:33 +01:00
Attiya Ishaque
bf36c42950 fix: [VAN-1292] Remove personalized recommendation cookie (#31748) 2023-02-17 13:45:29 +05:00
Farhaan Bukhsh
5e24f5de41 feat: Added grades API for submission history and section grades breakdown.
This feature helps to add submission history for each ProblemBlock in
the course. It also adds API for section grades breakdown, that gives
information about grades scored in each section of the course.

Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
2023-02-17 11:49:22 +05:30
Jansen Kantor
dc7c74e890 fix: hide download urls and fix margin for video embed view (#31784)
* fix: hide all download links if embed

* style: remove embed margin

* test: fix failing video context tests
2023-02-16 21:17:03 -05:00
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