Commit Graph

66612 Commits

Author SHA1 Message Date
Muhammad Umar Khan
9f5500a7f4 chore: use zpickle to compute collected_blocksture size before cacheing (#36452)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-03-27 13:30:03 +05:00
irfanuddinahmad
dc8896ee73 Merge pull request #36444 from openedx/irfanuddinahmad/upgrade-edx-enterprise-bf53eaa
feat: Upgrade Python dependency edx-enterprise
2025-03-26 11:31:55 +05:00
Muhammad Faraz Maqsood
9706caed6a chore: remove braze client settings from edx-platform 2025-03-26 11:21:56 +05:00
Muhammad Faraz Maqsood
591008280f chore: rename braze_client to email_client 2025-03-26 11:21:56 +05:00
irfanuddinahmad
f7e037e340 feat: Upgrade Python dependency edx-enterprise
feat: external_identifier added as url param in course_run_url

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-03-26 04:49:41 +00:00
Rodrigo Martin
bf53eaa9bb fix: video transcript links wrapping up (#36428) 2025-03-25 10:56:23 -03:00
Deborah Kaplan
ce8d3211f9 chore: improving programs rest API docs, type hints (#36438)
* chore:  improving programs rest API docs, type hints

reformatting the docstrings  so they appear correctly in the  openAPI
docs.
* moving them into the `GET`
* some cleanup and simplification of language
* removing real data that refers to specific hosts

regenerated the open API documentation.

also adding type hints to the API and telling `mypy`  to check this
file.  This was primarily because these models are confusing enough in
order to verify that the documentation was correct I had to do a lot of
jumping through the code.

FIXES: APER-3950
2025-03-25 09:39:25 -04:00
Muhammad Faraz Maqsood
2b83fe3bf4 Revert "chore: rename braze_client to email_client"
This reverts commit b3f9903a4b.
2025-03-25 17:38:32 +05:00
Muhammad Faraz Maqsood
fc1b608f17 Revert "chore: remove braze client settings from edx-platform"
This reverts commit d1318836ab.
2025-03-25 17:38:32 +05:00
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