Commit Graph

66603 Commits

Author SHA1 Message Date
leoaulasneo98
1dfe43af76 Edx platform 35175 deprecate assert dict contains subset (#36236)
* fix: replace deprecated assertDictContainsSubset with assertEqual
2025-03-25 14:58:16 +05:00
Muhammad Faraz Maqsood
d1318836ab chore: remove braze client settings from edx-platform 2025-03-25 10:31:32 +05:00
Muhammad Faraz Maqsood
b3f9903a4b chore: rename braze_client to email_client 2025-03-25 10:31:32 +05:00
iloveagent57
5858be028b feat: Upgrade Python dependency edx-enterprise
quiets braze import error logging

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-24 14:36:51 -04:00
Hassan Raza
57c1115791 fix: Resolve digest email on new enrollment after one click email unsubscribe (#36365) 2025-03-24 22:09:47 +05:00
Deborah Kaplan
3136134be8 chore: move the program dashboard APIs (#36420)
Moves the Program Dashboard APIs out of the deprecated remnants of the legacy learner dashboard, into the Programs djangoapp.

Keeps the old legacy routes for this API, left over from the deprecated remnants of the legacy learner dashboard, alongside future-proofed routes which will work when the deprecated, legacy Program Dashboard is eventually replaced with functionality in the Learner Dashboard MFE.

FIXES: APER-3949
2025-03-24 12:06:52 -04:00
Muhammad Umar Khan
43493c79ca chore: add monitoring on collected_blockstructure_size (#36435)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-03-24 17:01:04 +05:00
Hina Khadim
de62ca70ac fix: replace is_locked with linkState to handle various link types in Course Optimizer (#36406) 2025-03-24 16:41:17 +05:00
Ali Salman
65cf7a9288 fix: legacy discussion issues (#36433)
Explicitly passed course_id to all views
2025-03-24 14:26:22 +05:00
jesperhodge
eb03cfbe53 feat: Upgrade Python dependency edx-enterprise.
Adds foreign key to ECU table. Run management command from version 5.9.2 before deploying this to ensure good migration performance.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-21 11:03:38 -04:00
edX requirements bot
93a3853a27 chore: Upgrade Python requirements (#36421)
* chore: Upgrade Python requirements
* fix: pin xmlsec to 1.3.14 version
* fix: pin social-auth-core version
* docs: add the issue to unpin constraints

---------

Co-authored-by: Usama Sadiq <usama7274@gmail.com>
2025-03-21 15:27:46 +05:00
Saad Yousaf
811fe1ba48 fix: make course optimizer specific changes to user task completion email 2025-03-21 15:13:24 +05:00
Ahtisham Shahid
cab3ef46b4 fix: enable core notification pref editing (#36327)
fix: enable core notification pref editing
2025-03-21 14:51:43 +05:00
Muhammad Umar Khan
ae6b9c1b4a chore: add monitoring on blockstructure_size (#36424)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-03-21 14:41:19 +05:00
Ahtisham Shahid
9775ceff2b fix: Account level preference visibility WRT roles (#36391)
fix: Account level preference visibility WRT roles
2025-03-21 14:19:33 +05:00
Tim McCormack
2009e8972c feat: Set TMPDIR for codejail executions (#36412)
This makes it easier to run matplotlib in codejail, and should prevent a
number of other issues in the future with other packages that need to
create tempfiles.

No change is required for existing codejail installations, but after this
change operators may be able to tighten their apparmor configuration to
prevent write access to global temp or cache dirs.

Manual testing instructions: Create a codejail problem that runs
`import matplotlib` and confirm that it runs without error. (Unit tests
aren't feasible here because this requires a fully configured codejail in
order for the tmp subdirectory to exist.)

Also: Add comment for `OPENBLAS_NUM_THREADS` and numpy support.
2025-03-20 15:41:43 -04:00
Kyle McCormick
f8775087a3 docs: Nix "service-oriented" (#36417)
In acknowledgement of the architectural direction of the
openedx codebase over the past 4 years.
2025-03-20 13:58:43 -04:00
Feanil Patel
46503e4466 Merge pull request #36383 from openedx/robrap/remove-eslint
style: remove eslint with frontend code removal ADR
2025-03-20 13:00:26 -04:00
Andres Malagon
4638615f31 Unpin Click - issue #35279 (#36191)
* build: unpin click
2025-03-20 20:59:40 +05:00
Robert Raposa
399be67fc4 style: remove eslint with frontend code removal ADR
- Add ADR for frontend code removal
- Drop eslint, as explained in the ADR
2025-03-20 11:03:41 -04:00
Muhammad Farhan
e9c52100ef fix: improve regex to exclude data: urls (#36415) 2025-03-20 19:33:10 +05:00
Muhammad Soban Javed
314e604f4c Merge pull request #36386 from openedx/iamsobanjaved/unpin-optimzely-sdk
chore: remove optimizely-sdk constraint
2025-03-20 19:17:49 +05:00
Muhammad Noyan Aziz
ca463f918d SONIC-917: Added pluggable_override on `get_program_price_info` util (#36382)
* feat: add override for one click purchase eligibility

* refactor: remove extra line

* chore: move service worker inside util

* refactor: pylint issue

* fix: pylint errors

* fix: pycodestyle

---------

Co-authored-by: Muhammad Noyan  Aziz <noyan.aziz@A006-01474.local>
2025-03-20 15:37:17 +05:00
Taimoor Ahmed
be0a53834e chore: update openedx-forum version to 0.1.9 (#36411)
Co-authored-by: Taimoor  Ahmed <taimoor.ahmed@A006-01434.local>
2025-03-20 13:00:13 +05:00
Taimoor Ahmed
0d4281aa2e fix: discussion xblock not compatible with forum v2 (#36315)
fix all endpoints that were currently breaking with the discussion xblock.

Co-authored-by: Taimoor  Ahmed <taimoor.ahmed@A006-01434.local>
2025-03-20 12:17:39 +05:00
Rodrigo Martin
8d00b093c3 fix: video transcript links wrapping up (#36392) 2025-03-19 14:39:03 -03:00
Hassan Raza
033bcda99d Hraza/add embargo restricted country (#36398)
* feat: add country disabling feature in embargo app

* revert: disabled countries list in env

* fix: resolved linter issues

---------

Co-authored-by: Hassan Raza <h.raza@192.168.1.12>
2025-03-19 12:22:45 +05:00
Marlon Keating
f20b9cf466 Merge pull request #36405 from openedx/marlonkeating/upgrade-edx-enterprise-d1415bd
feat: Upgrade Python dependency edx-enterprise
2025-03-18 12:07:17 -07:00
Marlon Keating
0ebf1601cb Merge branch 'master' into marlonkeating/upgrade-edx-enterprise-d1415bd 2025-03-18 11:44:43 -07:00
Jillian
626f40c499 chore: bumps the versions for edx-sga and lti-consumer-xblock (#36395)
Specifically to bump the versions for edx-sga and lti-consumer-xblock
2025-03-18 18:36:33 +00:00
marlonkeating
53cc4e3b11 feat: Upgrade Python dependency edx-enterprise
Adds group_uuid field to enterprise group membership api payload.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-18 18:11:30 +00:00
github-actions[bot]
d1415bd752 feat: Upgrade Python dependency edx-enterprise (#36394)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
2025-03-18 12:00:58 -06:00
Maxwell Frank
372884781f feat: remove algoliasearch package (#36403) 2025-03-18 11:33:41 -04:00
Muhammad Farhan
dcf95f4f6a fix: handle /jump_to_id/ URLs in course optimizer urls (#36400) 2025-03-18 19:25:30 +05:00
Muhammad Umar Khan
4195186b04 chore: skip data caching for blockstructure content more than or equal to 2MB (#36397)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-03-18 14:05:10 +05:00
Ahtisham Shahid
e7100d813f Revert "feat: refactor country disable logic into the Embargo app (#36202)" (#36393)
This reverts commit 72959ad9d5.
2025-03-17 23:55:59 +05:00
Braden MacDonald
f700c89357 refactor: convert content libraries python API from attr.s to dataclass, fix types [FC-0083] (#36381)
* refactor: convert libraries API from attr.s to dataclass, fix types
* fix: make corresponding updates to 'search' code
2025-03-18 02:40:55 +10:30
Alexander Dusenbery
f685234b48 feat: upgrade enterprise to 5.10.1, removing braze-client 2025-03-17 12:09:17 -04:00
Hassan Raza
72959ad9d5 feat: refactor country disable logic into the Embargo app (#36202)
* feat: add country disabling feature in embargo app

* revert: disabled countries list in env

* fix: resolved linter issues

---------

Co-authored-by: Hassan Raza <h.raza@192.168.1.12>
2025-03-17 16:07:18 +05:00
Muhammad Soban Javed
5e519ec4a9 feat: Upgrade Python dependency optimizely-sdk
Merge pull request #36387 from openedx/iamsobanjaved/upgrade-optimizely-sdk-0c7846c
2025-03-17 12:39:16 +05:00
iamsobanjaved
894f1d650b feat: Upgrade Python dependency optimizely-sdk
chore: upgrade optimizely-sdk to the latest version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-17 07:14:41 +00:00
Muhammad Soban Javed
0c7846cf39 chore: remove optimizely-sdk constraint 2025-03-17 12:06:05 +05:00
Hina Khadim
ee7fd497a7 fix: add target='_blank' for videos hosted outside edx (#36361) 2025-03-17 11:10:49 +05:00
Deborah Kaplan
77fe61c19c fix: CourseEnrollment list serializer error on deleted Course (#36378)
If a course is deleted or unpublished, the CourseEnrollment list serializer was causing a AttributeErrors when called for a learner who had been enrolled in the formerly-existing course.

Why no test? Because cache invalidation is the worst problem. tl;dr I could create a mock response for the `course_overview` property, but if I mocked up a response to the queryset filter in `CourseEnrollmentsApiListView`, I was effectively guessing that my code worked correctly and then creating a mock response that was an assertion of correctness. That would make any mocked test deceptive; it would appear to test behavior but it would actually just test that I had constructed a mock that passed the test.

I wanted to make an actual test for what would happen if a Course was deleted, so I made one character code fix, and then spent two days unsuccessfully attempting to completely clear out the ModuleStore so I could actually test what would happen in this instance.

IMO an actual verification by hand (which I performed, and it works) was the better part of valor.

in short, cache invalidation aaaaaaaaargh.

FIXES: APER-3913
2025-03-14 08:45:32 -04:00
Awais Qureshi
62e5904286 feat!: upgrade generate_bulk_certificate_exceptions to drf ( 26 ) (#35577)
* feat!: upgrading api to DRF.
2025-03-14 15:48:06 +05:00
Bryann Valderrama
f90e59e52a docs: add event_type inline code annotation for open edX events (#36355) 2025-03-14 09:55:50 +01:00
jesperhodge
7ef0d61e5f feat: Upgrade Python dependency edx-enterprise
fix ECU table backfill command.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-13 15:15:49 -04:00
jesperhodge
89020c3e98 feat: Upgrade Python dependency edx-enterprise
fix ECU table backfill command to also backfill historical table.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-13 14:08:27 -04:00
Braden MacDonald
3b5edaa1ad chore: fix a few JS lint issues that eslint is warning about (#36177) 2025-03-13 10:08:02 -07:00
renovate[bot]
75185c0c86 fix(deps): update dependency sass to v1.85.1 (#36373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-13 15:59:19 +00:00