Commit Graph

65817 Commits

Author SHA1 Message Date
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
Kyle McCormick
4d969b73b5 build: avoid using glob in make clean_translations
Co-authored-by: Omar Al-Ithawi <i@omardo.com>
2024-03-27 08:30:40 -04:00
Kyle D. McCormick
3dc5d9b984 build: clean_translations without .git
We reimplement `make translations` so that it does not depend on the
presence of the `.git` directory. This fixes the Tutor build error:

     > [production 18/34] RUN make clean_translations:
    git clean -fdX conf/locale
    fatal: not a git repository (or any of the parent directories): .git
    make: *** [Makefile:57: clean_translations] Error 128

Why is the .git directory missing during the Tutor translations build?
Because if it were present, it would tie the translations' layer cache
up with git state, which would lead to the Docker layer being rebuilt
any time there was any change to git state.
2024-03-27 08:30:40 -04:00
Syed Sajjad Hussain Shah
4d4f8f457d Revert "chore: moved user_authn all urls in urls.py (#34396)" (#34431)
This reverts commit fc63719ceb.
2024-03-27 11:33:38 +05:00
Omar Al-Ithawi
6dab71e2cb chore: clean_translations refactored into separate makefile target (#34428)
This will allow external tools like Tutor to easily clean existing
translations without having to use the full pull_translations
makefile target.
2024-03-26 19:56:14 +00: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
Justin Hynes
7f62080c95 refactor: update logs, remove direct use of CredentialsApiConfig model (#34393)
[APER-3229]

In a previous PR, I created a new utility function named `is_credentials_enabled()` that can be used to determine if use of the Credentials IDA is enabled by config in an Open edX instance.

This PR is some additional cleanup that replaces the direct import and use of the `CredentialsApiConfig` model with the new utility function.

I took some additional time to update some existing log messages to include more info while reducing our need to log PII. I've removed as much use of a learner's username as possible, replacing it with logging the learner's LMS User Id instead.
2024-03-26 08:29:11 -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
Alison Langston
f944e67ce4 fix: register exams without due date or course end date (#34421) 2024-03-25 15:21:46 -04:00
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
hajorg
3bdd1e0a8a feat: update grade delete methods 2024-03-25 15:22:25 +01: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
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
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