Commit Graph

67117 Commits

Author SHA1 Message Date
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
Muhammad Qasim Gulzar
9bf923784f fix: Improve error for missing (Translate)CustomTagBlock template #35829 (#37013)
Fixes: https://github.com/openedx/edx-platform/issues/35829
2025-07-23 10:00:30 -04:00
Hassan Raza
fb124d01f5 feat: add management command to fix 'mixed' values in email_cadence field (#37055) 2025-07-23 13:12:59 +05:00
Muhammad Adeel Tajamul
082819cca2 chore: added tracker event for bulk delete posts api (#37060) 2025-07-23 12:21:43 +05:00
Marlon Keating
ce13251596 Merge pull request #37058 from openedx/marlonkeating/upgrade-edx-enterprise-aa68800
feat: Upgrade Python dependency edx-enterprise
2025-07-22 13:31:04 -07:00
marlonkeating
ccc4b4b52e feat: Upgrade Python dependency edx-enterprise
feat: adds EDIT_HIGHLIGHTS_ENABLED toggle

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2025-07-22 20:01:36 +00:00
Kyle McCormick
aa68800e5f feat: Upgrade openedx-learning to get better Container admin pages (#37049)
Upgrades openedx-learning from 0.26.0 to 0.27.0.
Full upgrade details:
https://github.com/openedx/openedx-learning/releases/tag/v0.27.0
2025-07-22 13:21:38 -04:00
github-actions[bot]
9c07c074a9 feat: Upgrade Python dependency edx-enterprise (#37057)
chore: upgrade edx-enterprise to 6.2.12

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: bcitro <67378070+bcitro@users.noreply.github.com>
2025-07-22 12:00:26 -04:00
Muhammad Sameer Amin
ce57c7f35b feat: Add channel integrations URLs to LMS 2025-07-22 19:33:27 +05:00
Kyle McCormick
7a77652cd6 fix: devstack_docker -> devstack
In the context of edx-platform django settings,
devstack_docker is an alias to devstack. Both
are deprecated, technically, but we currently
want to remove all devstack-related settings files
except devstack.py (which tutor still uses). So,
in order to remove devstack_docker.py, we update
its references to devstack.py
2025-07-22 10:27:50 -04:00
Kyle McCormick
a7eb261330 feat!: Remove unused Django settings files
BREAKING CHANGE: This removes all Django settings files
except {lms,cms}/envs/{production,devstack,test}.py.
Operators using any other edx-platform Django settings
files should move to {lms,cms}/envs/production.py, or
they should copy the settings file they need out of edx-platform
and into their own configuration sources.

Part of: https://github.com/openedx/edx-platform/issues/36905
2025-07-22 10:27:50 -04:00
Muhammad Adeel Tajamul
01beca4ebb chore: added waffle for allowing only verified users to create post (#37051) 2025-07-22 14:59:54 +05:00
Rômulo Penido
e1a801a700 feat: link section/subsection to course
Allows adding and syncing containers from libraries into courses
2025-07-21 15:35:51 -05:00
Ram Chandra Bhavirisetty
c9912b2661 feat: remove mongodb_proxy in favor of MongoDB's built-in retryReads (#37011)
This PR removes the usage of the custom `mongodb_proxy` package from
edx-platform, replacing it with MongoDB's built-in retry functionality via
`retryReads=True`.

Changes:

* Removed all references to `mongodb_proxy.MongoProxy` from connection logic.
* Updated `connect_to_mongodb()` to always use `retryReads=True`.
* Uninstalled `openedx-mongodbproxy` from edx-platform requirements.

Fixes: https://github.com/openedx/edx-platform/issues/35210
2025-07-21 13:52:55 -04:00
Ivan Niedielnitsev
7e8d8888f2 fix: sort Advanced components alphabetically by display name (#36767)
adding sorting of Advanced components in the studio by display name
2025-07-21 11:28:54 -05:00
Taylor Payne
36327ff27c refactor: import constants into platform-wide settings module 2025-07-21 08:08:34 -04:00
Taylor Payne
e19577b4d4 docs: add platform-wide settings section to settings reference 2025-07-21 08:08:34 -04:00
Taylor Payne
a98dd3f748 refactor: move explicitly shared settings into new common module 2025-07-21 08:08:34 -04:00
Muhammad Adeel Tajamul
ef6dbd9e03 chore: added email verified in course view api (#37046) 2025-07-21 16:32:28 +05:00
Hassan Raza
cc2126749a chore: Exclude course staff preferences from general user notifications (#37040) 2025-07-21 15:07:00 +05:00
jawad khan
692caf0f46 feat: Added audit access expiry soon notification (#36414)
* feat: Added audit access expiry soon notification
2025-07-21 14:01:11 +05:00
Muhammad Adeel Tajamul
989ecfe5a0 feat: added endpoint for priviledged roles to delete threads of a user (#37030)
* feat: added endpoint for priviledged roles to delete threads of a user

* chore: moved forum calls to django comment common app

* fix: fixed nits
2025-07-21 09:43:55 +05:00
Deborah Kaplan
e3d3eedd8b feat: fixing swagger doc for user accounts (#37043)
* feat:  fixing swagger doc for user accounts

user API docstrings reformatted so that the generated openAPI
documentation automatically picks up the documentation and formatted
correctly.

Still some work to do,  since these endpoints don't use serializers and
we should use  drg_yasg Schema declarations to make the generated
openAPI correctly understand the request and response formats, but this
is already a big improvement.

Fixed some restructured text markup

FIXES: APER-4065
2025-07-18 16:31:25 -04:00
Feanil Patel
9a91797e80 Merge pull request #36927 from dwong2708/upgrade-dj-storage-xmodule
fix: use import_string instead of get_storage_class to import classes
2025-07-18 14:15:41 -04:00
Bryann Valderrama
a807d0e280 chore: add missing inline code annotations in events (#36473) 2025-07-18 17:55:54 +02:00
Bryann Valderrama
2a1d1debad chore: add missing inline code annotations in filters (#36474) 2025-07-18 17:53:51 +02:00
sundasnoreen12
789bc36378 Merge pull request #37021 from openedx/sundas/self-paced-email
fix: added proper course name and weeks
2025-07-18 18:17:02 +05:00