Commit Graph

64801 Commits

Author SHA1 Message Date
Syed Sajjad Hussain Shah
fc63719ceb chore: moved user_authn all urls in urls.py (#34396) 2024-03-25 22:05:55 +05:00
github-actions[bot]
b0e3136d77 feat: Upgrade Python dependency ora2 (#34420)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>
Co-authored-by: Jansen Kantor <jkantor@edx.org>
2024-03-25 16:08:11 +00:00
Kristin Aoki
6c54c8fd15 fix: infinite load for library content block view (#34412)
* fix: hide view button when block is not configured

* fix: remove script for load timer if no children or library

* fix: remove print message

* fix: NoneType error is tests
2024-03-25 11:04:16 -04:00
ruzniaievdm
6d13b77495 feat: [FC-0044] group configurations API DRF (#34389) 2024-03-25 10:02:34 -04:00
Braden MacDonald
f663739510 feat: Index Studio content using Meilisearch [experimental] (#34310) 2024-03-22 10:08:31 -07:00
Jansen Kantor
e07a0cc163 feat: add comment to course reset model and endpoints (#34411)
* feat: add comment to course reset model

* feat: add comment info to list endpoint

* feat: add comment to post endpoint

* fixup! feat: add comment to post endpoint
2024-03-22 12:23:48 -04:00
ruzniaievdm
85dd7f35e3 feat: [FC-0044] certificates API DRF (#34339)
* feat: [FC-0044] certificates API DRF

* fix: remove unused import from previous commits
2024-03-22 10:46:34 -04:00
Muhammad Anas
09a8cfcccf fix: Fixed the BulkEmailFlag __str__ function to avoid infinite recursion (#33901) 2024-03-21 16:44:55 -04:00
Justin Hynes
907c32ae6d fix: add validation to cdb and cad settings on update (#34406)
[APER-3228]

This PR tries to correct bad data on a course update before it enters the system. There are times when we are updating a course (via Studio) and we save bad data that has been persisted and passed to the backend from the CMS's legacy Django template-based frontend.

The bad data doesn't affect the LMS or CMS much, as there is extra logic in the monolith around course pacing. However, downstream services (e.g. Credentials) don't understand the concept of course pacing and will persist bad data (like a certificate available date associated with a self-paced course run).

The most common problem that manifests is that Credentials will hide a certificate from a learner on their Learner Record, even though the course certificate is visible and accessible to the learner from the LMS.
2024-03-21 13:46:45 -04:00
ruzniaievdm
3ecc4bf6a0 feat: [FC-0044] textbooks API DRF (#34388)
* feat: [FC-0044] textbooks API DRF

* fix: resolve discussions
2024-03-21 13:39:03 -04:00
Jorg Are
9c3833cd32 Merge pull request #34350 from openedx/hajorg/au-1848-course-reset-celery-task
feat: add celery task to reset course progress for learner
2024-03-21 16:21:33 +01:00
github-actions[bot]
8d8d9ba5ba feat: Upgrade Python dependency edx-completion (#34407)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>
2024-03-21 14:38:02 +00:00
Dmytro
d19bd263c4 fix: email templates caching (#32627) 2024-03-21 09:37:44 -04:00
Ahtisham Shahid
09cb944801 fix: removed cohorts filter from reported notifications (#34369) 2024-03-21 15:44:49 +05:00
Dmytro
79f6223f69 fix: validation error for empty Batch Enrollment/Beta Tester (#32684)
Co-authored-by: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com>
2024-03-21 14:24:30 +05:00
Syed Sajjad Hussain Shah
71396c33a5 feat: add authn mfe in csrf trusted origins list (#34397) 2024-03-21 11:03:04 +05:00
Alexander Mendoza
e7f02fea2e feat: making lms.djangoapps.ccx AppConfig ready. (#34220) 2024-03-20 16:15:52 -04:00
Maria Grimaldi
45178e0ced feat: add paginated HomePageCoursesV2 view with filtering & ordering (#34173) 2024-03-20 11:31:59 -04:00
Nathan Sprenkle
8571eeca61 feat: add course language to courseware API (#34392) 2024-03-20 11:02:41 -04:00
ABBOUD Moncef
02dc68221b fix: replace resize event with ResizeObserver in xblock iframe (#34387) 2024-03-20 18:04:29 +05:00
Diana Olarte
490a3d4c75 feat: allow instructors to manage certificates (#31265)
* feat: Add context to certificate webview.

Add support to instructor certificates generation. If user has instructor permissions over a course, the staff permissions are also granted.
* fix: rename local parameters to fix pylint redefined-outer-name alert
* feat: create a setting to enable certificate panel for instructors
* fix: remove unnecessary permisions
* fix: update persmissions and testing
* style: fix pylint issues

---------

Co-authored-by: Squirrel18 <daniel.quiroga@edunext.co>
Co-authored-by: Maria Fernanda Magallanes Zubillaga <maria.magallanes@edunext.co>
2024-03-20 07:46:15 -04:00
Ahtisham Shahid
c344fdc698 feat: added channels column to send notification on specific channels (#34289)
* feat: added channels column to send notifications on specific channels
2024-03-20 13:17:45 +05:00
Troy Sankey
cee42fd543 Merge pull request #34383 from openedx/pwnage101/upgrade-edx-enterprise-762730a
feat: Upgrade Python dependency edx-enterprise
2024-03-19 08:16:11 -07:00
pwnage101
9ee167ea8a feat: Upgrade Python dependency edx-enterprise
pass force_enrollment when bulk enrolling learners

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-03-19 07:42:50 -07:00
ruzniaievdm
7189bd6484 feat: [FC-0044] add waffle flag support (#34338)
* feat: [FC-0044] add waffle flag support

* fix: resolve discussions
2024-03-19 10:16:16 -04:00
Maria Grimaldi
9600a90c1e docs: document ENABLE_HIDE_FROM_TOC_UI feature toggle (#34377)
Docs for the ENABLE_HIDE_FROM_TOC_UI feature toggle so it can be extracted by the feature toggle sphinx plugin.
2024-03-19 09:08:45 -04:00
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
Troy Sankey
762730ab6f Merge pull request #34376 from openedx/pwnage101/ENT-8525
feat: support the core enrollment API's force_enrollment flag from enterprise_support
2024-03-18 13:59:13 -07:00
ruzniaievdm
1bcf25f22b feat: manage Tags on block level (#34361) 2024-03-18 16:09:47 -04:00
Jonas Burigo
1247254fbe test: un-skip test of course export tarball (#33697) 2024-03-18 12:30:02 -07:00
Lewis M. Kabui
3a84339a95 fix: Use Locator property block_id. (#34187)
This change has been made to address 9 deprecation warnings which
can be seen after the tests are run.

`name` property of Locators has been deprecated and replaced by the
`block_id` property.

Co-authored-by: Lewis Kabui <lewisemm@users.noreply.github.com>
2024-03-18 12:10:25 -07:00
Bryann Valderrama
67696699a3 fix: catch permissions error in ora2 initialize API endpoint (#34284) 2024-03-18 12:02:28 -07:00
Hamza Waleed
72063a4272 Merge pull request #34382 from openedx/hamzawaleed01/upgrade-edx-enterprise-334348d
feat: Upgrade Python dependency edx-enterprise
2024-03-18 23:02:41 +05:00
hamzawaleed01
ef658f244d feat: Upgrade Python dependency edx-enterprise
fix: remove filter to debug failing transmissions

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-03-18 17:28:56 +00:00
ruzniaievdm
334348d65f feat: Manage access API (#2500) (#34360)
* feat: [AXIMST-418] Manage access API

* fix: tests and linter

---------

Co-authored-by: monteri <36768631+monteri@users.noreply.github.com>
2024-03-18 12:58:11 -04:00
hajorg
abbc4a67e0 feat: add video block to reset_student_course task test 2024-03-18 15:28:11 +01:00
Justin Hynes
a976498341 Merge pull request #34363 from openedx/jhynes/APER-3229_fix-v2
feat: update task and signals responsible for cert available dates in Credentials
2024-03-18 09:11:41 -04: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
Troy Sankey
7e3e3a3049 feat: support the core enrollment API's force_enrollment flag from enterprise_support
This enables enterprise-specific callers trying to create lms
enrollments to be able to create enrollments even after the enrollment
deadline. The target use case for this feature is the enterprise bulk
enrollment endpoint in edx-enterprise.

ENT-8525
2024-03-15 09:28:58 -07:00
Omar Al-Ithawi
49c1d7c9f9 fix: avoid removing Open_edX.egg-info/ with git clean (#34380)
git clean when used with glob pattern (*/) removes non-translations
files.

using `$ rm` to fix the issue.
2024-03-15 13:31:29 +00: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