Commit Graph

24976 Commits

Author SHA1 Message Date
Kyle D. McCormick
38d350f48c docs: document XBLOCK_MIXINS and XBLOCK_EXTRA_MIXINS 2024-04-17 09:43:12 -04:00
Jansen Kantor
8d8ff29d4c fix: don't urljoin empty string (#34516) 2024-04-16 11:30:15 -04:00
Glenn R. Martin
81e781c34d feat: waffle refunds for commerce-coordinator
# feat: waffle refunds for commerce-coordinator

Based on approved: #34438

However CLA is invalid now for initial creator so a new PR was required.
2024-04-12 10:43:37 -04:00
Glenn R. Martin
294c6a7768 fix: feedback from Shafqat 2024-04-09 11:12:57 -04:00
Glenn R. Martin
9e56c1d04b fix: broken lms test for CC switching in Ecommerce Service 2024-04-09 11:09:49 -04:00
Rodrigo Martin
b42e66bcdc fix(AU-1855): Fix email WCR email subject variable text (#34488)
* fix(AU-1855): Fix email WCR email subject variable text

* fix(AU-1855): Add filter force_escape before blockstrans
2024-04-08 13:42:15 -03:00
Glenn R. Martin
fc3a8f7ebb chore: exception handling 2024-04-08 10:32:22 -04:00
Irtaza Akram
a1f08d85bd Merge pull request #34398 from openedx/xblock2
upgrade xblock==2.0
References:
- https://github.com/openedx/public-engineering/issues/15
- https://github.com/openedx/XBlock/pull/680
2024-04-08 14:30:38 +05:00
michaelroytman
541bc6f5cb feat: add must_retry as valid status to approve_id_verifications management command
Sometimes, submissions to an IDV provider fail, which results in an IDV attempt moving from the "ready" status into the "must_retry" status instead of the "submitted" status.

We would like to approve these attempts too.
2024-04-05 14:01:45 -04:00
Rodrigo Martin
e768d6d9e5 feat: send email after course reset completion (#34460)
* feat: send email after course reset completion

* fix: lint test

* fix: clean code

* fix: correct expected email parts

* fix: logs

* fix: email assertion
2024-04-05 12:27:21 -03:00
Bryann Valderrama
85620ec73c feat: add grading method support for problems with multiple attempts (#33911)
A new field in the Problem settings for choosing a Grading Method. Currently, the only Grading Method is the Last Score. From now on, when turning the feature flag on, the new grading methods available for configuration in Studio are:
- Last Score (Default): The last score made is taken for grading.
- First Score: The first score made is taken for grading.
- Highest Score: The highest score made is taken for grading.
- Average Score: The average of all scores made is taken for grading.
2024-04-04 14:04:25 -04:00
Irtaza Akram
c810a1b3e5 Merge branch 'master' into xblock2 2024-04-04 15:16:55 +05:00
Jansen Kantor
e49628558c feat: add validation and actions to course reset django admins (#34453)
* fix: course opt in course id should be unique

* feat: add validation for opt in course id admin page

* feat: admin action to mark audits as failed
2024-04-03 10:08:50 -04:00
Jansen Kantor
9c5779ad9c feat: add flag to silence signals and events when clearing state (#34434)
* feat: add flag to silence signals and events when clearing state

* feat: don't emit signals and events when clearing entire course
2024-04-03 10:08:29 -04:00
Phillip Shiu
7535f27aa2 fix: change default for COORDINATOR_CHECKOUT_REDIRECT_PATH 2024-04-03 07:21:15 -04:00
Irtaza Akram
682a80addd fix: review changes 2024-04-03 16:03:56 +05:00
Phillip Shiu
ed5270469a chore: bypass invalid-django-waffle-import
This edx-lint check is to prevent:

    import waffle

However, we are doing:

    import .waffle

Where .waffle is importing correctly from edx_toggles instead of
directly from the Django waffle library.

See also:

be07c3739d/edx_lint/pylint/annotations_check.py (L379)
2024-04-02 04:53:22 -04:00
Phillip Shiu
5989d3e736 chore: remove unused import 2024-04-02 04:53:22 -04:00
Phillip Shiu
87a1469232 feat: waffle refunds for commerce-coordinator 2024-04-02 04:53:21 -04:00
Irtaza Akram
3faa773bb9 feat: add support for xblock 2 2024-04-01 16:02:06 +05:00
Jansen Kantor
104969c659 fix: add gradebook to devstack csrf trust list (#34451) 2024-03-29 14:20:59 -04:00
hajorg
7fc2f57059 feat: add clear grades to course reset task 2024-03-28 14:33:18 +01:00
Jansen Kantor
2764593f5c feat: add completion data reset to course reset (#34395) 2024-03-27 13:39:48 -04:00
Omar Al-Ithawi
5a437779d9 fix: add fallback gettext function if translations aren't pulled in dev envs (#34416) 2024-03-27 13:20:12 -04:00
Ihor Romaniuk
f1311108ce fix: decoration of see all children link in wiki pages (#33670) 2024-03-27 10:25:15 -04:00
Jorg Are
53da867e0b Merge pull request #34410 from openedx/hajorg/au-1912-delete-learner-course-grade
feat: api function to delete learner's course grades
2024-03-26 15:08:06 +01:00
Jansen Kantor
ce1064bf5f fix: clean up course reset post endpoint (#34419) 2024-03-26 10:00:39 -04:00
hajorg
1c3f403f38 fix: update and cleanup tests 2024-03-26 11:11:13 +01:00
Isaac Lee
40744eca36 fix: gate lti tools frorm onboarding function (#34413)
* fix: gate lti tools frorm onboarding function

- Block calls to does_backend_support_onboarding if the proctoring provider uses LTI

* fix: LTI onboarding false by default
2024-03-25 19:59:30 +00:00
hajorg
3bdd1e0a8a feat: update grade delete methods 2024-03-25 15:22:25 +01: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
hajorg
36f3895eaf feat: api function to delete learner's course grades 2024-03-22 12:27:44 +01:00
Muhammad Anas
09a8cfcccf fix: Fixed the BulkEmailFlag __str__ function to avoid infinite recursion (#33901) 2024-03-21 16:44:55 -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
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
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
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
Bryann Valderrama
67696699a3 fix: catch permissions error in ora2 initialize API endpoint (#34284) 2024-03-18 12:02:28 -07:00
hajorg
abbc4a67e0 feat: add video block to reset_student_course task test 2024-03-18 15:28:11 +01: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
Asad Ali
19c04fcf03 fix: clear block structure cache when usage key is not found (#33963) 2024-03-12 16:30:44 -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