Commit Graph

6303 Commits

Author SHA1 Message Date
Ehmad Saeed⚡
57970bd0e0 Merge pull request #34300 from openedx/asaeed/add-application-scopes-to-default-scopes
feat: add user_id in the default scopes if no scopes are requested from payload
2024-03-19 14:46:28 +05:00
Muhammad Adeel Tajamul
692965af4d feat: added edx-ace template and message type for email notifications (#34315) 2024-03-19 13:55:28 +05:00
Zia Fazal
1556be5851 feat: Add EnrollmentsService in XBlockRuntime and block renderer (#34238)
* feat: Add EnrollmentsService in XBlockRuntime and block renderer

These changes give ability to use `EnrollmentsService` in XBlocks
Add `get_active_enrollments_by_course_and_user` method to `EnrollmentsService` which can be used to get active enrollment of user for a give course
2024-03-19 09:41:11 +05:00
Justin Hynes
8d7a13f358 feat: update task and signals responsible for cert available dates in Credentials
[APER-3229]

The monolith and the Credentials IDA keep independent records of a course runs certificate availability/visibility preferences. This PR aims to improve the communication between the monolith and the Credentiala IDA to keep the availability date/preference in sync with the monoliths records.

The current code is too strict and actually prevents valid updates in some configurations.

Additionally, the Credentials IDA doesn't understand the concept of "course pacing" (instructor-paced vs self-paced) and has troubles with courses with an availability date of "end". Instead of having to add the concept of course pacing (and syncing more data between the two systems), this PR proposes sending the end date of a course as the "certificate available date" to Credentials.

This way, the Credentials IDA can manage the visibility of awarded credentials in a course run with a display behavior of "end" using the existing feature set and models of the Credentials service.
2024-03-18 12:30:40 +00:00
Ehmad Saeed
de6047184f fix: add toggle_target_removal_date annotation 2024-03-16 02:47:48 +05:00
Ehmad Saeed
c48fbb9b48 fix: toggle_use_cases and public ticket for its removal 2024-03-16 02:31:56 +05:00
Ehmad Saeed
fe1fcc2b7d fix: toggle annotations for ENABLE_USER_ID_SCOPE 2024-03-16 02:07:12 +05:00
Ehmad Saeed
070582aed6 docs: add ENABLE_USER_ID_SCOPE feature flag documentation 2024-03-16 01:39:28 +05:00
Ehmad Saeed
f07f8f220f fix: quality check for trailing whitespace 2024-03-16 01:05:43 +05:00
Ehmad Saeed
5be6ed6d66 fix: update ADRs and add test cases with ENABLE_USER_ID_SCOPE flag off 2024-03-16 00:54:08 +05:00
Ehmad Saeed
2694f82654 fix: copy default scopes to prevent mutating the original list 2024-03-15 03:29:15 +05:00
Ehmad Saeed
14199e5b99 chore: use feature-flag, remove mocks for tests and add ADR in decisions 2024-03-15 02:16:43 +05:00
Ehmad Saeed
51de2c6197 feat: add user_id in the default scopes 2024-03-12 22:58:11 +05:00
Rômulo Penido
cb6801dbfd feat: paste tags when pasting xblocks with tag data (#34270) 2024-03-08 12:03:43 -08:00
Kshitij Sobti
c3c0adf978 feat: add support for zip files to course and library import code (#34191)
Co-authored-by: Rodrigo Ferreira de Souza <rodfersou@gmail.com>
2024-03-08 18:51:35 +01:00
Rômulo Penido
42418fb3a0 feat: export tagged content library as CSV (#34246) 2024-03-04 11:35:19 -08:00
Blue
e11474db6b fix: add country field error message (#34316)
Description: Add country field error message in api response
VAN-1862
2024-03-01 12:09:51 +05:00
Mubbshar Anwar
b6d89bcd59 fix: fir segment event (#34279)
fire segment event for PWNED_PASSWORD on registration page password validation

VAN-1830
2024-03-01 10:22:57 +05:00
ayesha waris
c913a55b17 feat: updated api to get all question type reponses (#34215)
* feat: updated api to get all question type reponses

* test: fixed and added new test cases
2024-02-29 11:58:07 +05:00
Ehmad Saeed
4a8cc1e77e feat: add application scopes into default 2024-02-27 16:36:08 +05:00
Zainab Amir
383f5d636a feat: update account verification email context (#34294) 2024-02-27 03:20:15 -08:00
Saad Yousaf
a110fc79d5 feat: add notification for course updates 2024-02-27 13:58:50 +05:00
Alison Langston
78afee7573 feat: remove learning assistant waffle flag (#34272) 2024-02-23 11:39:15 -05:00
David Ormsbee
86f1e5e8aa feat!: Switch v2 libraries to Learning Core data models (#34066)
This moves the Content Libraries V2 backend from Blockstore [1] over to
Learning Core [2] For high-level overview and rationale of this move, see
the Blockstore DEPR [3]. There are several follow-up tasks [4], most notably
adding support for static assets in libraries.

BREAKING CHANGE: Existing V2 libraries, backed by Blockstore, will stop
working. They will continue to be listed in Studio, but their content
will be unavailable. They need to be deleted (via Django admin) or manually
migrated to Learning Core. We do not expect production sites to be in
this situation, as the feature has never left "experimental" status.

[1] https://github.com/openedx-unsupported/blockstore
[2] https://github.com/openedx/openedx-learning/
[3] https://github.com/openedx/public-engineering/issues/238
[4] https://github.com/openedx/edx-platform/issues/34283
2024-02-22 16:38:05 +00:00
Feanil Patel
92cde34d4f Merge pull request #34257 from Zeit-Labs/pythonize_pull_translations
chore: pull_translations: use less Makefile commands and move it to Python | FC-0012
2024-02-20 12:05:18 -05:00
Alison Langston
4fb1dba298 feat: replace la waffle flag with django setting (#34236) 2024-02-20 09:00:23 -05:00
Mubbshar Anwar
9fd5157577 fix: update activation email (#34136)
update account activation email message copy in body

VAN-1800
2024-02-20 11:48:50 +05:00
Omar Al-Ithawi
25b3794e90 chore: pull_translations: use less Makefile commands and move it to Python
`mkdir` should be in Python
2024-02-19 20:02:18 +03:00
Jillian
b6366b67b3 perf: reduce number of queries for content tagging endpoints (#34200) 2024-02-16 12:15:26 -08:00
Rômulo Penido
4d1d82dd35 feat: export all course tags as csv (#34091) 2024-02-16 09:56:30 -08:00
Ahtisham Shahid
008467c6e5 fix: updated failing notification pref unit test (#34243) 2024-02-15 23:13:44 +05:00
Ahtisham Shahid
63d1848060 fix: added preference visibility to reported notification (#34188) 2024-02-15 15:59:25 +05:00
Yusuf Musleh
6e0bc66a77 feat: Serialize tag data in OLX for blocks (#34145) 2024-02-14 10:30:23 -08:00
Cristhian Garcia
5a36fa9163 feat: add open_managed team type (#33672)
Ref: https://openedx.atlassian.net/wiki/spaces/COMM/pages/3885760525/Open+Managed+Group+Type
2024-02-14 11:30:19 -04:00
salmannawaz
f76b6b4e10 Remove bok-choy reference (#34216)
* chore: remove bok-choy references
2024-02-14 09:42:08 -05:00
Blue
4bd0981e68 fix: update registration api response and replace username with name (#34226)
Update api registration api response and add full_name in response
2024-02-14 13:51:25 +05:00
salmannawaz
57b480b04f Update all edx-platform REST endpoints to support JWT Auth (#34152)
* chore: update API endpoints to support default JWT auth

The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.

Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Rômulo Penido
c2d91c343e refactor: remove ContentObjectTag model and related functions (#34146) 2024-02-08 11:55:39 -08:00
Chris Chávez
e22b938b27 feat: Export ID on Taxonomy (in Studio's tagging API) (#34143) 2024-02-08 10:01:55 -08:00
Priyanshu
81611a7a8e fix: change deprecated defusedxml.lxml to defusedxml.common (#34177) 2024-02-08 08:41:42 +10:30
Agrendalath
c1bd558ad6 fix: handle countries not recognized by geoip2 DB
The `geoip2` library returns `None` when it only identifies the continent
related to the IP address.
2024-02-07 17:14:39 +01:00
ayesha waris
48f74fd8f3 feat: make notification channel headings clickable (#34194)
* feat: make notification channel headings clickable in notification preferences

* refactor: serializer code updated for better readability

* test: added a test for UserNotificationChannelPreferenceView API

* fix: updated the api test that was failing due to conflicts

---------

Co-authored-by: eemaanamir <eemaan.amir@gmail.com>
2024-02-07 14:40:55 +05:00
Muhammad Adeel Tajamul
d9d5531db6 feat: skip notification creation if context is not valid (#34133) 2024-02-06 12:17:12 +05:00
Ben Lu
2de48c1177 fix: auth JWKS endpoint
The original implementation of the endpoint returned
a string instead of a JSON object. This fixes the
return value to be the JSON object.
2024-02-02 16:46:07 -06:00
Benny
43747ee8f0 Merge pull request #34153 from hilltop16/hilltop16/add-auth-JWKS-endpoint
feat: add auth JWKS endpoint
2024-02-02 09:16:37 -06:00
Muhammad Soban Javed
e40a01c7cc feat!: upgrade Django version to 4.2 (LTS)
This reverts commit 23659d5ba8.
2024-02-02 17:08:54 +05:00
David Ormsbee
a9bd61d015 fix: make content_libraries ADR headers match doc guidelines
https://docs.openedx.org/en/latest/documentors/references/quick_reference_rst.html#headings
2024-02-01 16:15:42 -05:00
David Ormsbee
9d3625717c docs: ADR for course data independence from libraries
This is an ADR around the idea that course content should not need to
sync metadata from libraries during the import process or when copy and
pasting.
2024-02-01 16:15:42 -05:00
Feanil Patel
e6333d0c3d Merge pull request #33922 from Zeit-Labs/plugins-i18n
feat: atlas pull plugins translation | FC-0012
2024-02-01 13:07:32 -05:00
Usama Sadiq
23659d5ba8 Revert "feat!: upgrade Django version to 4.2 (LTS) (#34162)" (#34165)
This reverts commit 1fc2e8a771.
2024-02-01 19:29:56 +05:00