Commit Graph

67143 Commits

Author SHA1 Message Date
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
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
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
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
Feanil Patel
e389addd0a Merge pull request #34399 from raccoongang/fix-cohort-api-permissions
fix: cohorts api permissions
2025-07-28 09:54:44 -04:00
Eemaan Amir
24181468ec feat: showing captcha only for learners and not other roles (#37061)
* feat: showing captcha only for learners and not other roles

* test: added test cases

* fix: fixed pylint errors

* fix: fixed a bug with comment creation

* refactor: refactored code

* fix: fixed lint errors

* fix: fixed bug with utils

* test: added test case
2025-07-28 17:07:26 +05:00
Muhammad Adeel Tajamul
7af4b644d0 temp: added logs to debug issue in bulk delete count (#37073) 2025-07-28 14:33:48 +05:00
Eugene Dyudyunov
1ee0f8e225 fix: cohorts api permissions
Fix lack of the permissions for course staff/instructor roles.
Allows course staff/admin users use cohorts API, e.g. for
cohort filters in the Gradebook MFE.
2025-07-25 09:39:36 +03:00
Muhammad Adeel Tajamul
4d76c5ded0 refactor: updated bulk delete api task (#37068) 2025-07-25 11:07:39 +05:00
Muhammad Sameer Amin
9f454f6010 Merge pull request #37054 from openedx/sameeramin/ENT-10688 2025-07-25 04:54:57 +05:00
Muhammad Adeel Tajamul
19cc088399 temp: added logs when bulk deleting comments and threads (#37063) 2025-07-25 04:46:18 +05:00
Ahtisham Shahid
47d253a1fe chore: added logs to debug captcha issues (#37066) 2025-07-24 19:45:40 +00:00
Chris Chávez
faad8bf020 feat: New DownstreamListView to get all components and container links [FC-0097] (#37024)
There are two different views and entry points for components and containers, which have the same logic and filters. In this PR, a single view has been created that allows you to get all links or filter them by component or container.

* Rename `DownstreamComponentsListView` and mark it as deprecated.
* Mark `DownstreamContainerListView` as deprecated.
* Update `DownstreamSummaryView` to support container on the summary.
* Add `show` param in `get_course_outline_url`
2025-07-24 19:11:18 +00:00
Muhammad Sameer Amin
c660e065ea Merge branch 'master' into sameeramin/ENT-10688 2025-07-24 20:04:18 +05:00
Muhammad Sameer Amin
cb6df9eee3 Merge pull request #37065 from openedx/sameeramin/upgrade-enterprise-integrated-channels-89190cc
feat: Upgrade Python dependency enterprise-integrated-channels
2025-07-24 20:03:32 +05:00
sameeramin
5274accb49 feat: Upgrade Python dependency enterprise-integrated-channels
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-07-24 14:30:55 +00:00
Hunzlah Malik
89190cc55a Certificate activation handler to drf (#37037)
* feat: certificate_activation_handler to drf
2025-07-24 10:08:43 -04:00
Navin Karkera
5409baa5f8 feat: include upstream_info for all xblocks including sections and subsections (#37041) 2025-07-23 17:54:13 +00:00
andrey-canon
a7a7a5b6f0 fix: implement __repr__ method in order to avoid maximum recursion error 2025-07-23 13:49:29 -04:00