Commit Graph

66833 Commits

Author SHA1 Message Date
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
hajorg
72a85ee0ff feat: address CR 2024-03-14 15:14:07 +01:00
Omar Al-Ithawi
a10fce3379 feat!: remove Transifex calls for FC-0012 - OEP-58 (#34355) 2024-03-14 13:38:28 +00:00
Hamza Waleed
4659103c6e Merge pull request #34371 from openedx/hamzawaleed01/upgrade-edx-enterprise-42f7fef
feat: Upgrade Python dependency edx-enterprise
2024-03-14 18:36:12 +05:00
hamzawaleed01
b8684bc6d0 feat: Upgrade Python dependency edx-enterprise
fix: add missing filter to disable failing transmissions for 24hrs

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-03-14 13:00:47 +00:00
Feanil Patel
42f7fef88b Merge pull request #34365 from openedx/feanil/edx-platform-mongo
docs: Update README with new Mongo Version
2024-03-14 08:40:39 -04:00
Feanil Patel
0d92c3ebcc docs: Update README with new Mongo Version
Support was verified via https://github.com/openedx/edx-platform/pull/34213
but we forgot to update the README with this info.
2024-03-13 15:25:39 -04:00
MueezKhan246
1510196bf5 Merge pull request #34362 from openedx/MueezKhan246/upgrade-edx-enterprise-ec1e58f
feat: Upgrade Python dependency edx-enterprise
2024-03-13 21:04:09 +05:00
Kristin Aoki
dc234d5acc feat: update page renders for studio-frontend pages (#34329)
* feat: update page renders for studio-frontend pages

* fix: checklist redirect url

* fix: failing tests

* fix: checklist link

* fix: redirect url typo

* fix: no newline error
2024-03-13 09:57:58 -04:00
MueezKhan246
a9af752e17 feat: Upgrade Python dependency edx-enterprise
added get_queryset for fix of integrated channel api logs loading

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-03-13 12:08:37 +00:00
Hamza Waleed
ec1e58f442 Merge pull request #34359 from openedx/hamzawaleed01/upgrade-edx-enterprise-19c04fc
feat: Upgrade Python dependency edx-enterprise
2024-03-13 14:01:38 +05:00
hamzawaleed01
86215c82f4 feat: Upgrade Python dependency edx-enterprise
feat: disable failing content transmissions for 24hrs

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-03-13 08:07:03 +00:00
Asad Ali
19c04fcf03 fix: clear block structure cache when usage key is not found (#33963) 2024-03-12 16:30:44 -04:00
Ehmad Saeed
51de2c6197 feat: add user_id in the default scopes 2024-03-12 22:58:11 +05:00
Maria Grimaldi
794c6781fa feat: return navigation disabled as sequence metadata (#34049)
Return navigation disabled as sequence metadata when Hide From TOC
is enabled, so the student cannot navigate to another sequences in
the course outline.
https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
2024-03-12 11:21:16 -04:00
ruzniaievdm
cd5c4c992b feat: [FC-0044] XBlock's children API as DRF (#34055)
* feat: XBlock's children API as DRF

* fix: 500 error appears if user adds a Content Experiment

* fix: wrap into try/except block getting icon for xblock (#2509)

* fix: wrap into try/except block getting icon for xblock

* fix: revision after review
2024-03-12 11:07:32 -04:00
hajorg
9b6a117a05 feat: update learner's course reset tests 2024-03-12 15:32:50 +01:00
hajorg
9a4e56005d feat: add celery task to reset course progress for learner 2024-03-12 15:32:15 +01:00
ruzniaievdm
844db29d64 feat: add sequence_ids to container response (#34337)
* feat: add sequence_ids to container response

* fix: PR comments fix

* fix: update

---------

Co-authored-by: monteri <36768631+monteri@users.noreply.github.com>
2024-03-12 10:27:23 -04:00
Muhammad Farhan Khan
7808913916 chore: Moved structures.py from tubular repository (#34328)
* chore: Moved structures.py from tubular repository
2024-03-12 09:46:34 -04:00
Hamza Waleed
da244a99d3 Merge pull request #34354 from openedx/hamzawaleed01/devstack-whitelist-admin-portal
feat: add frontend-app-admin-portal to whitelisted origins
2024-03-12 15:29:17 +05:00