Commit Graph

66833 Commits

Author SHA1 Message Date
Tobias Macey
44112aa12d fix: Respect the authsource kwarg for MongoDB connections (#35239)
* fix: Respect the authsource kwarg for MongoDB connections

The changes for upgrading to PyMongo 4.4 introduced an authentication
bug in Mongo connections. The `authSource` parameter was being
hard-coded to use the database being connected to. In Mongo the `admin`
db is typically the source of authentication, so unless the user was
explicitly created in the target db then any attempts to connect would
result in authentication failures.

This restores the behavior of allowing for the lowercased `authsource`
kwarg to be used for the `authSource` connection parameter, while
otherwise respecting the operator's configuration parameters.

* fix: Respect the authsource kwarg for MongoDB connections

The changes for upgrading to PyMongo 4.4 introduced an authentication
bug in Mongo connections. The `authSource` parameter was being
hard-coded to use the database being connected to. In Mongo the `admin`
db is typically the source of authentication, so unless the user was
explicitly created in the target db then any attempts to connect would
result in authentication failures.

This restores the behavior of allowing for the lowercased `authsource`
kwarg to be used for the `authSource` connection parameter, while
otherwise respecting the operator's configuration parameters.
2024-08-22 15:43:15 +05:00
Awais Qureshi
f93d16f31a feat: upgrading simple api to drf compatible ( 3rd api ) list_email_content (#35111)
* feat: upgrading simple api to drf compatible.
2024-08-22 13:37:45 +05:00
Abdullah Qureshi
e4d3eb332c fix: remove deprecated runtime.render_template 2024-08-22 10:42:24 +05:00
Prashant Makwana
0c2a919c3a chore: bumping version to 4.23.9 (#35335)
Co-authored-by: Kira Miller <31229189+kiram15@users.noreply.github.com>
2024-08-21 12:27:45 -06:00
Muhammad Soban Javed
9374717596 Merge pull request #35327 from openedx/repo-tools/upgrade-python-requirements-c3480b8
chore: Upgrade Python requirements
2024-08-21 20:23:10 +05:00
Muhammad Soban Javed
57ec4ff919 Merge pull request #35336 from openedx/iamsobanjaved/upgrade-algoliasearch-a8ee9a6
feat: Upgrade Python dependency algoliasearch
2024-08-21 19:57:46 +05:00
iamsobanjaved
30bfbd532c feat: Upgrade Python dependency algoliasearch
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-21 14:34:30 +00:00
Muhammad Soban Javed
a8ee9a6ca8 chore: Pin algoliasearch to v3
Recently algoliasearch released the new major version v4 of its Python client and it has multiple breaking changes, which will impact one of the edX platform plugins. So we must make that plugin compatible with algoliasearch v4 before upgrading this package.

Changelog: https://algolia.com/doc/libraries/python/v4/upgrade/
2024-08-21 19:17:32 +05:00
Muhammad Farhan Khan
375b9d9286 feat: Expose xmodule xblocks Sass variables as vanilla CSS variables (#35233)
* feat: Expose xmodule xblocks Sass variables as vanilla CSS variables
* https://github.com/openedx/edx-platform/issues/35173
2024-08-20 20:05:02 +05:00
Kyle McCormick
688242abd9 refactor: remove unused builtinblock webpack entry points (#35299)
Most blocks built into edx-platform have a pair of webpack entry
points, like this:

* {BlockName}Display    # js for student+author+public views
* {BlockName}Editor     # js for studio view

Prior to a past build refactoring [1], these entry points were
defined in an auto-genered webpack config file. In order
to simplify the js build process, this config generation
step was removed and the new file webpack.builtinblocks.config.js
was checked directly into edx-platform.

However, during that refactoring, pointless entry
points were introduced for HtmlBlock subclasses
About, CourseInfo, and StaticTab, all of which
just use their superclass's JS.

[1] https://github.com/openedx/edx-platform/issues/32481
2024-08-20 09:20:26 -04:00
Awais Qureshi
af9ae77bbc feat: upgrading simple api to drf compatible. (#35260) 2024-08-20 17:25:17 +05:00
edX requirements bot
860ca3c204 chore: Upgrade Python requirements 2024-08-19 22:23:27 -04:00
Navin Karkera
c3480b8f0b chore: add comment 2024-08-19 17:01:25 +05:30
Navin Karkera
fed8a803f1 test: delete documents that were never published on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
e1495398e2 refactor: delete documents that were never published on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
140b9bb968 refactor: delete all documents on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
2efff2697b refactor: parallelize content block update on discard 2024-08-19 17:01:25 +05:30
Navin Karkera
65258117d8 fix: delete discarded drafts from meilisearch index 2024-08-19 17:01:25 +05:30
Awais Qureshi
6bcbb1df29 feat: Upgrading api to use drf 5th api. register_and_enroll_students api (#35084)
* feat: upgrading simple api to drf compatible.
2024-08-19 14:25:08 +05:00
Muhammad Adeel Tajamul
00772693ef feat: added unsubscribe url in digest header (#35319) 2024-08-19 12:21:43 +05:00
Eemaan Amir
ca46c20abb fix: update content reported notification (#35315) 2024-08-16 14:20:33 +05:00
Yusuf Musleh
11de2a4055 feat: REST API to allow pasting clipboard (staged) content into a library (#35199) 2024-08-15 09:58:06 -07:00
Justin Hynes
e4855536fd Revert: revert generic retirement update (#35317)
* Revert "fix: change settings config to empty list not dict"

This reverts commit b65550c796.

* Revert "fix: dependencies again"

This reverts commit c06416bed7.

* Revert "feat: updated user retirement docs"

This reverts commit c9641b35d4.

* Revert "fix: install dependencies"

This reverts commit a5442b2409.

* Revert "Revert "fix: dependencies""

This reverts commit 4cde950007.

* Revert "fix: dependencies"

This reverts commit 8a1c30ebc5.

* Revert "fix: Add CI update for tests"

This reverts commit 64098b6dab.

* Revert "fix: tests"

This reverts commit 5e636dea16.

* Revert "fix: generalize internal services"

This reverts commit e8f9db428d.

* Revert "fix: quality"

This reverts commit 77ca0f754a.

* Revert "feat: Commerce Coordinator step in retirement pipeline"

This reverts commit c24c87499f.
2024-08-15 12:28:52 -04:00
Jade Olivier
3d7cc1c616 Merge pull request #35203 from openedx/jolivier/SONIC-561/coordinator-retirement
feat: Commerce Coordinator step in retirement pipeline
2024-08-15 12:43:58 +02:00
Hamza Waleed
d8ca2838fe Merge pull request #35223 from openedx/ENT-9201-add-PA-role
feat: add system-wide provisioning_admin role
2024-08-15 12:30:57 +05:00
hamzawaleed01
395bcd6b2d Merge branch 'master' of github.com:openedx/edx-platform into ENT-9201-add-PA-role 2024-08-15 12:03:29 +05:00
Jade Olivier
b65550c796 fix: change settings config to empty list not dict 2024-08-14 13:48:54 +02:00
Jade Olivier
c06416bed7 fix: dependencies again 2024-08-14 11:24:59 +02:00
Jade Olivier
c9641b35d4 feat: updated user retirement docs 2024-08-14 10:21:24 +02:00
Jade Olivier
a5442b2409 fix: install dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
4cde950007 Revert "fix: dependencies"
This reverts commit 2659ae9fff3ec9a85298cae623097177bd869659.
2024-08-14 10:21:24 +02:00
Jade Olivier
8a1c30ebc5 fix: dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
64098b6dab fix: Add CI update for tests 2024-08-14 10:21:24 +02:00
Jade Olivier
5e636dea16 fix: tests 2024-08-14 10:21:24 +02:00
Jade Olivier
e8f9db428d fix: generalize internal services 2024-08-14 10:21:24 +02:00
Jade Olivier
77ca0f754a fix: quality 2024-08-14 10:21:23 +02:00
Jade Olivier
c24c87499f feat: Commerce Coordinator step in retirement pipeline 2024-08-14 10:21:23 +02:00
Prashant Makwana
018ba9d42d chore: bumping version num to 4.23.8 (#35310) 2024-08-13 10:52:04 -06:00
Hamza Waleed
0e5a5bbcec Merge pull request #35307 from openedx/hamzawaleed01/upgrade-edx-enterprise-059f833
feat: Upgrade Python dependency edx-enterprise
2024-08-13 20:36:42 +05:00
hamzawaleed01
30f1c754b4 feat: Upgrade Python dependency edx-enterprise
feat: added migration for model updateroleassignmentswithcustomersconfig

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-13 15:15:01 +00:00
hamzawaleed01
31f6ebf2f4 Merge branch 'master' of github.com:openedx/edx-platform into ENT-9201-add-PA-role 2024-08-13 14:17:16 +05:00
MueezKhan246
059f833804 Merge pull request #35297 from openedx/MueezKhan246/upgrade-edx-enterprise-74af0e7
feat: Upgrade Python dependency edx-enterprise
2024-08-12 20:09:30 +05:00
renovate[bot]
200ee1a804 chore(deps): update dependency selenium-webdriver to v3.6.0 2024-08-12 13:43:56 +00:00
hamzawaleed01
e226ed957c Merge branch 'master' of github.com:openedx/edx-platform into ENT-9201-add-PA-role 2024-08-12 18:16:56 +05:00
MueezKhan246
04e507635c feat: Upgrade Python dependency edx-enterprise
added logs for data dog inspection for permission check in handler function.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-12 12:46:28 +00:00
renovate[bot]
74af0e71e8 chore(deps): update jest monorepo to v26.6.3 2024-08-12 12:43:06 +00:00
hamzawaleed01
534b938edc Merge branch 'ENT-9201-add-PA-role' of github.com:openedx/edx-platform into ENT-9201-add-PA-role 2024-08-12 16:59:22 +05:00
hamzawaleed01
a5c4b08edd Merge branch 'master' of github.com:openedx/edx-platform into ENT-9201-add-PA-role 2024-08-12 16:35:30 +05:00
hamzawaleed01
2ea6c25e44 feat: add PA role 2024-08-12 16:35:22 +05:00
renovate[bot]
5bd85597af fix(deps): update dependency backbone to v1.6.0 2024-08-12 11:28:24 +00:00