Commit Graph

67158 Commits

Author SHA1 Message Date
Daniel Wong
2b9fb55231 feat: deprecate get_storage_class 2025-08-06 13:25:10 -06:00
Muhammad Faraz Maqsood
64a557d00f fix: course detail page error (#37132)
rest_framework.fields.BuiltinSignatureError: Field source for `InstructorInfoSerializer.title` maps to a built-in function type and is invalid. Define a property or method on the `str` instance that wraps the call to the built-in function.

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@A006-01130.local>
2025-08-06 12:58:03 -04:00
Raymond Zhou
56f6ef3238 Revert "chore: Upgrade Python requirements" (#37126) 2025-08-06 17:30:33 +05:00
Hunzlah Malik
13944afc91 feat: reset_student_attempts_for_entrance_exam to DRF (#37069)
* feat: reset_student_attempts_for_entrance_exam to DRF

* fix: update imports sequence

---------

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2025-08-06 16:29:54 +05:00
kshitij.sobti
96ace718f4 feat: Send an LTI launch event for LTI Launches 2025-08-06 16:25:13 +05:30
M. Sumair Khokhar
e5184a07e5 feat!: update finder method to work with django 42 and 52 (#37131) 2025-08-06 15:51:46 +05:00
Muhammad Adeel Tajamul
4cba98c513 temp: added logs for debugging in thread delete (#37127) 2025-08-06 12:06:58 +05:00
Feanil Patel
dc23ed7a31 Merge pull request #37047 from mubbsharanwar/mubbshar/issue-37032
refactor: convert function based view to class based
2025-08-05 16:08:56 -04:00
Feanil Patel
2ae9cc95cd Merge pull request #37111 from openedx/feanil/geoip2-bot-update-country-database-c988688
Update GeoLite Database
2025-08-05 10:01:34 -04:00
Feanil Patel
70e4cf44a1 Merge pull request #37121 from openedx/repo-tools/upgrade-python-requirements-16d9656
chore: Upgrade Python requirements
2025-08-05 09:57:17 -04:00
Devasia Joseph
aae3f62555 fix: Update vertical block test to use dynamic course id 2025-08-05 14:20:52 +05:00
jawad khan
e15fa506c0 fix: remove enrollment notification until functionality is live (#37116)
* fix: remove enrollment notification until functionality is live

* fix: updated config version

* fix: fixed test cases
2025-08-05 10:50:45 +05:00
edX requirements bot
df0bb51163 chore: Upgrade Python requirements 2025-08-04 22:54:03 -04:00
Taylor Payne
16d96565e3 refactor: move production defaults to common modules (#37045)
In the effort to simplify settings in edx-platform, as discussed in ADR 22 -
Settings Simplification, this PR brings some of the production defaults defined
in `lms/envs/production.py` and `cms/envs/production.py` up to
`openedx/envs/common.py` or `lms/envs/common.py` and `cms/envs/common.py` as
appropriate.

Bringing these defaults up from the `production.py` settings modules caused
changes in the rendered settings of the `test.py` modules, and so I have
settings to the `test.py` modules to bring the rendered settings back in line
with what is has been. I have not deeply looked at which settings are needed
for tests to pass or not, but just the differences between the rendered
settings between `master` and this branch.

ADR 22: https://github.com/openedx/edx-platform/blob/master/docs/decisions/0022-settings-simplification.rst
Fixes https://github.com/openedx/edx-platform/issues/36892.
2025-08-04 17:06:16 -04:00
Feanil Patel
674c748547 Merge pull request #37112 from openedx/dependabot/github_actions/supercharge/mongodb-github-action-1.12.0
build(deps): bump supercharge/mongodb-github-action from 1.11.0 to 1.12.0
2025-08-04 16:51:48 -04:00
dependabot[bot]
9d524a91f1 build(deps): bump supercharge/mongodb-github-action
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/supercharge/mongodb-github-action/releases)
- [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/mongodb-github-action/compare/1.11.0...1.12.0)

---
updated-dependencies:
- dependency-name: supercharge/mongodb-github-action
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 19:56:00 +00:00
feanil
e553d48a6a chore: geoip2: update maxmind geolite country database 2025-08-04 15:47:28 -04:00
Kyle McCormick
27369b3af7 fix: Sort the output of dump_settings (#37118)
The dump_settings management command is
used for debugging changes to Django settings.
When comparing settings between two branches or
modules side-by-side, it is very useful to have the keys
print out in a deterministic order.

Affects developers only. This has no end-user impact.
2025-08-04 14:43:19 -04:00
Eemaan Amir
0b4c75c21c chore: cleaned up course level preferences (#37106)
* chore: cleaned up course level preferences

* fix: fixed import issue

* fix: fixed lint errors
2025-08-04 12:20:54 +05:00
Muhammad Adeel Tajamul
d59f5b39fe fix: fixed missing course in bulk delete (#37103) 2025-08-04 11:25:50 +05:00
Navin Karkera
103a152c36 feat: disallow adding children to containers imported from library (#37088)
Updates `childAddable` action in xblocks that have upstream link to stop users from updating imported sections and subsections.
2025-08-04 06:05:12 +00:00
Ahtisham Shahid
c2a86534e6 fix: updated captcha api to use enterprise assessment (#37079)
* fix: updated captcha api to use enterprise assessment
2025-08-03 21:27:12 +00:00
Feanil Patel
32abbc2763 Update who gets tagged now that Arbi-bom is shutting down. (#37097)
* build: Update places where Arbi-bom was getting tagged.

The arbi-bom team no longer exists and we need to make sure these still
land in a timely manner.  So tag the maintainers to review and merge
these PRs

* build: Drop unnecessary common_constraint overrides.

These are no longer necessary now that
https://github.com/openedx/edx-lint/pull/500 has landed.
2025-08-02 07:42:18 +00:00
mubbsharanwar
95db5fb28d fix: remove redundant code 2025-08-01 18:46:58 +05:00
Hassan Raza
4793f883fc chore: Remove notification app waffle flags (#37086) 2025-08-01 14:59:40 +05:00
Ishan Masdekar
c9886882e3 feat: include the usage_key in API to get ancestor blocks (#37072)
- includes location along with the child ancestor block as it is
required in the frontend authoring app for unit scrolling purpose in the
breadcrumbs.

Required for https://github.com/openedx/frontend-app-authoring/issues/1924
2025-07-31 14:22:38 -07:00
Kyle McCormick
8485b2f353 docs: Update codeowners to use normal CC teams (#37098)
See https://github.com/openedx/axim-engineering/issues/1511

Referenced teams:

https://github.com/orgs/openedx/teams/committers-edx-platform-2u-infinity/members
https://github.com/orgs/openedx/teams/committers-edx-platform-2u-aperture/members
https://github.com/orgs/openedx/teams/committers-edx-platform-2u-tnl/members
2025-07-31 14:04:03 -04:00
Akanshu Aich
03771e0f24 feat: Upgrade Python dependency edx-toggles (#37096)
Commit generated by workflow `Akanshu-2u/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: Akanshu-2u <211787872+Akanshu-2u@users.noreply.github.com>
2025-07-31 10:40:41 -04:00
Feanil Patel
14a1ffd3b8 Merge pull request #37090 from openedx/repo-tools/upgrade-python-requirements-02c45c5
chore: Upgrade Python requirements
2025-07-31 10:08:40 -04:00
Mubbshar Anwar
6d150acf81 refactor: Remove HIBP settings from CMS (#36998)
Remove HIBP settings from CMS common settings module
2025-07-31 09:43:36 -04:00
Eemaan Amir
df7583778e chore: added show_prefrences flag to NotificationPreferencesView (#37085) 2025-07-31 18:19:53 +05:00
Muhammad Arslan
709ad82707 fix: find and match enterprise user only if enterprise is enabled (#36958)
Co-authored-by: Peter Pinch <pdpinch@mit.edu>
2025-07-31 08:58:14 -04:00
Muhammad Adeel Tajamul
b658470f8b feat: added configurable ratelimit feature in discussions (#37094) 2025-07-31 17:35:10 +05:00
mubbsharanwar
54164a918c refactor: convert function based view to class based 2025-07-31 15:40:42 +05:00
edX requirements bot
61946bba00 chore: Upgrade Python requirements 2025-07-30 13:47:43 -04:00
Nathan Sprenkle
02c45c5325 refactor: load learning mfe ports from env (#37082) 2025-07-30 11:59:26 -04:00
Ahtisham Shahid
7d3582c4ff chore: update forum version (#37089) 2025-07-30 14:14:26 +00:00
Pandi Ganesh
0bf88d225f feat: add course url to course team management GET API response (#37087)
* feat: add course_url to course team management GET API response

* fix: update docstring in api views

* feat: Implement CMS course URL generation with HTTPS scheme detection
2025-07-30 16:34:28 +05:30
Muhammad Arslan
d8ea16f6ec fix: refresh-saml-metadata beat task path fixed (#37080)
This PR fixes the task path in the Celery beat settings for the
refresh-saml-metadata scheduled task.

We had previously added the fetch_saml_metadata task to the Celery beat
schedule to run periodically (default: every 24 hours). However, due to a typo
in the task path, Celery workers were throwing errors. This fix corrects the
task path so the schedule can run as intended.
2025-07-29 15:46:59 -04:00
Ali-Salman29
d29171c046 feat!: remove cs_comments_service support for forum's subscription APIs
- This will force the use of the new v2 forum's APIs for subscriptions.
2025-07-29 10:44:37 -04:00
Hunzlah Malik
cdf5083544 feat: upgrading students_update_enrollment api to DRF (#37074)
* feat: upgrading students_update_enrollment api to DRF
2025-07-29 10:36:52 -04:00
Eemaan Amir
4e1ba65183 fix: added captcha exception for limited staff (#37077) 2025-07-29 15:42:09 +05:00
Feanil Patel
940ef91466 Merge pull request #37059 from openedx/feanil/unpin_urllib
feanil/unpin urllib
2025-07-29 05:30:15 -04:00
Pandi Ganesh
b5bcb37c5a feat: API to manage course team roles across multiple courses (#36990)
* feat: API to fetch course-roles mapping by user and org

* fix: added docstring and resolve pylint issues

* feat: support bulk course team role updates via PUT API

* fix: refactor APIs based on user permissions

* chore: improve Swagger schema for course_team endpoints

* fix: refactor GET and PUT api code

* fix: apply pylint rules and optimize code

* fix: resolve test cases for supoort apis

* fix: change url path
2025-07-29 11:33:09 +05:30
Feanil Patel
0913b51170 Merge pull request #37075 from openedx/feanil/update_readme
docs: Update README.rst
2025-07-28 11:45:05 -04:00
Feanil Patel
bcbbf38256 docs: Update README.rst
* Update supported OSes
* Fix a formatting issue.
2025-07-28 11:11:33 -04:00
Hunzlah Malik
96e5ce073f feat: override_problem_score to drf (#37006)
* feat: override_problem_score to drf
2025-07-28 11:03:04 -04:00
Feanil Patel
adcc3a2a7c chore: Run make upgrade 2025-07-28 10:09:20 -04:00
Feanil Patel
fcf833e62c build: Updates content_staging based on type checking.
In the serializer, return an empty string if there is no request object.

In content_tagging, just update the type declaration to match the
expectation since it can obviously be a None type.
2025-07-28 10:09:20 -04:00
Feanil Patel
3d773bf655 build: Drop urllib requirement so we can try to upgrade it.
Figure out what would break if we update urllib by dropping it from
common_constraints before we run `make upgrade`.
2025-07-28 10:09:20 -04:00