Commit Graph

63999 Commits

Author SHA1 Message Date
Maxim Beder
755fa7fd31 feat: set course for wiki based on the wiki_slug
Learners want to have the usual course navigation when viewing a wiki,
so that they can go back to the course related to the wiki and browse
other tabs/sections of the course.

Wiki reads the course from the `request.course`. If it's not present,
i.e.  None or not set on the request, it will not show the course
navigation UI.

It seems like `WikiAccessMiddleware` already has the code that parses
course id from the request (when the request is for a wiki view) and
sets the course for the request. However, it doesn't work in most
scenarios, because the course id is not in the it's normal format in
most requests that go to wiki.

For example, when a leaner clicks on a wiki tab from the course
overview, they are redirected to `/wiki/<wiki_slug>/` path. The wiki
slug is taken from course's `wiki_slug` field. This slug can be used to
figure out what course this wiki belongs to in most (not all) cases.

This commit adds code to the `WikiAccessMiddleware` that attempts to
find a course based on wiki slug, and in case of success, sets the
course to the `request.course`, so that wiki can display course
navigation UI.
2023-10-16 21:15:59 +02:00
Rebecca Graber
80a25bc368 feat: use new event_bus_producer_config (#33458) 2023-10-16 14:07:10 -04:00
Alexander J Sheehan
388fa3bb9d Merge pull request #33489 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-90b0392
feat: Upgrade Python dependency edx-enterprise
2023-10-16 13:15:12 -04:00
alex-sheehan-edx
24b6b5a377 feat: Upgrade Python dependency edx-enterprise
enterprise version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-16 15:41:16 +00:00
edx-transifex-bot
7f84f1f556 chore(i18n): update translations (#33492)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
2023-10-16 15:20:50 +00:00
Jeremy Ristau
fd86ba15e1 Merge pull request #33343 from open-craft/kaustav/clarify_grade_range_numerical_values
fix: clarify grade range numerical values
2023-10-16 09:28:08 -04:00
Syed Sajjad Hussain Shah
7c25c5f4c8 feat: command to backfill users email addresses on braze (#33467) 2023-10-16 12:25:12 +05:00
SaadYousaf
bef05ab664 feat: add tracking event for following post 2023-10-14 02:00:34 +05:00
Ahtisham Shahid
90b039273d feat: added audit track expiry filter in notifications (#33381)
* feat: added audit track expiry filter in notifications
2023-10-13 11:23:30 +05:00
Ahtisham Shahid
4acd6c22b3 chore: updated version of notifications pref (#33486) 2023-10-13 10:35:41 +05:00
Raymond Zhou
2033dcf6ac fix: ref mgmt cmd logging (#33481) 2023-10-12 13:06:30 -04:00
Feanil Patel
b7286d7415 Merge pull request #33274 from openedx/dependabot/github_actions/aws-actions/configure-aws-credentials-4
build(deps): bump aws-actions/configure-aws-credentials from 3 to 4
2023-10-12 10:56:09 -04:00
Feanil Patel
126256735e Merge pull request #33479 from salman2013/salman/update-drf-endpoints
Update DRF endpoints to use default authentication
2023-10-12 10:50:09 -04:00
Feanil Patel
41eee898d4 Merge pull request #32363 from openedx/dependabot/github_actions/actions/download-artifact-3
build(deps): bump actions/download-artifact from 2 to 3
2023-10-12 10:22:19 -04:00
dependabot[bot]
f2db83530c build(deps): bump aws-actions/configure-aws-credentials from 3 to 4
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 3 to 4.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v3...v4)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 13:49:39 +00:00
dependabot[bot]
9e816e9754 build(deps): bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 13:49:16 +00:00
Feanil Patel
1ab9079486 Merge pull request #33465 from farhan/farhan/remove-xblockutils
Remove xblockutils package
2023-10-12 09:47:29 -04:00
dependabot[bot]
84f7fdfa2f build(deps): bump actions/setup-node from 2 to 3 (#32140)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 17:52:52 +05:00
salman2013
0d5ca66d44 Merge remote-tracking branch 'upstream/master' into salman/update-drf-endpoints 2023-10-12 15:17:27 +05:00
salman2013
f2bf289021 chore: test cases 2023-10-12 15:01:14 +05:00
Muhammad Ammar
960dcfb1be Merge pull request #33480 from openedx/muhammad-ammar/upgrade-edx-enterprise-22e2a23
feat: Upgrade Python dependency edx-enterprise
2023-10-12 14:52:55 +05:00
muhammad-ammar
571cc3b02c feat: Upgrade Python dependency edx-enterprise
remove unused fields from serializer

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-12 09:14:54 +00:00
Ahtisham Shahid
22e2a23b9f feat: add new notifiction type for discussions post followers (#33009)
feat: added model for subscription

feat: added logic for notifaction to followers
2023-10-12 13:03:02 +05:00
salman2013
5bbc17fd05 chore: fix test case 2023-10-12 11:48:00 +05:00
salman2013
4a640fec8b chore: update drf endpoints to use default authentication 2023-10-12 11:27:45 +05:00
Ehmad Saeed⚡
7e3346c64c Merge pull request #33466 from openedx/justEhmadSaeed/upgrade-edx-enterprise-25b991c
feat: Upgrade Python dependency edx-enterprise
2023-10-12 01:31:43 +05:00
Raymond Zhou
526db10d81 fix: library ref management cmds course id call (#33477) 2023-10-11 16:12:09 -04:00
Ehmad Saeed⚡
d71708d32f Merge branch 'master' into justEhmadSaeed/upgrade-edx-enterprise-25b991c 2023-10-12 01:09:49 +05:00
Erica Nwoga
95b658c2ae feat: toggle to enable/disable lti pii acknowledgement (#33437)
* feat: toggle to enable/disable lti pii acknowledgement
2023-10-11 15:00:42 -04:00
Jillian
ba5546e29d feat: adds endpoint for downloading taxonomy templates (#33464) 2023-10-11 10:59:11 -07:00
github-actions[bot]
43f46079b3 feat: Upgrade Python dependency edx-drf-extensions (#33462)
Add JWT Cookie vs Session user monitoring

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

Co-authored-by: robrap <robrap@users.noreply.github.com>
2023-10-11 16:20:41 +00:00
Rafay Ghafoor
b14396bbfb feat: Adds disable_progress_graph attribute to the returned course_metadata response
Currently, https://github.com/openedx/frontend-app-course-authoring/issues/517 faces an issue when the
progress graph toggle is enabled/disabled but the settings are not respected, the disable_progress_graph
attribute will allow the frontend-app-learning repo to use this attribute to respect the settings authored
from frontend-app-course-authoring and ultimately fix https://github.com/openedx/frontend-app-course-authoring/issues/517.
2023-10-11 20:39:16 +05:30
Awais Qureshi
254903531a feat!: Adding fall back method for sha1 in case default algo is sha256 (#33345)
* feat!: `sha1` has been deprecated in django32 and removed in django42.

* test: fix quality failure

* fixup! update custom attribute tests (#33436)

I was wondering about all the cases, so I
updated the test to reflect this. I also
made some other minor adjustments.

---------

Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com>
Co-authored-by: Robert Raposa <rraposa@edx.org>
Co-authored-by: Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com>
2023-10-11 19:54:01 +05:00
Feanil Patel
14b61aeb78 Merge pull request #32417 from openedx/dependabot/github_actions/re-actors/alls-green-1.2.2
build(deps): bump re-actors/alls-green from 1.2.1 to 1.2.2
2023-10-11 10:43:48 -04:00
dependabot[bot]
75bad83da2 build(deps): bump re-actors/alls-green from 1.2.1 to 1.2.2
Bumps [re-actors/alls-green](https://github.com/re-actors/alls-green) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/re-actors/alls-green/releases)
- [Commits](13b4244b31...05ac9388f0)

---
updated-dependencies:
- dependency-name: re-actors/alls-green
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 13:11:03 +00:00
farhan
23a44b9ddb chore: Upgrade python requirements 2023-10-11 14:46:09 +05:00
farhan
ff17e51699 refactor: remove xblockutils package 2023-10-11 14:46:09 +05:00
justEhmadSaeed
505039341b feat: Upgrade Python dependency edx-enterprise
feat: Upgrade Python dependency edx-enterprise

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-11 09:28:03 +00:00
dependabot[bot]
25b991c966 build(deps): bump actions/upload-artifact from 2 to 3 (#32139)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 12:51:21 +05:00
Syed Sajjad Hussain Shah
b0f5d1e8cd fix: name field validations (#33429) 2023-10-11 05:03:41 +00:00
Braden MacDonald
d6e21a1c29 feat: remove Taxonomy.required, squash taxonomy migrations (#33438)
* feat: remove Taxonomy.required, make allow_multiple True by default

* chore: squash migrations

* fix: more robust migration

Co-authored-by: Jillian <jill@opencraft.com>

* chore: version bump, use squashed migration

---------

Co-authored-by: Jillian <jill@opencraft.com>
2023-10-10 10:44:10 -07:00
Navin Karkera
565b34e4e0 feat: allow oauth configuration per site and backend (#32656)
Allows admins to configure same oauth backend for multiple sites.

This change includes site_id in KEY_FIELDS for oauth configuration
provider allowing a backend configuration for each site.
2023-10-10 11:33:23 -04:00
Usama Sadiq
1db6867edf fix: replace py2neo with forked package (#33453)
* fix: replace py2neo with overhangio py2neo fork
2023-10-10 18:29:12 +05:00
Ejaz Ahmad
427c98bd6e Merge pull request #33444 from openedx/jajjibhai008/upgrade-edx-enterprise-b353019
feat: Upgrade Python dependency edx-enterprise
2023-10-10 13:21:01 +05:00
edX requirements bot
b6179696e5 chore: Updating Python Requirements (#33452) 2023-10-10 12:24:00 +05:00
jajjibhai008
c6f4ea72bd feat: Upgrade Python dependency edx-enterprise
feat: Added enable_demo_data_for_analytics_and_lpr field to EnterpriseCustomer

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-09 14:09:37 +00:00
Awais Qureshi
b353019c3f chore: Adding condition to pick values in case of django42. (#33440)
* fix: add default for CSRF_TRUSTED_ORIGINS_WITH_SCHEME.
2023-10-09 14:25:35 +05:00
Saleem Latif
8eb236de99 Merge pull request #33430 from openedx/saleem-latif/upgrade-edx-enterprise-a59d7e5
feat: Upgrade Python dependency edx-enterprise
2023-10-09 13:18:47 +05:00
Jenkins
c3766619ed chore(i18n): update translations 2023-10-08 17:10:38 -04:00
connorhaugh
4d3ef54e60 fix: library ref mgmt cmd task params (#33427)
* fix: library ref mgmt cmd task params

* fix: lint fix

* fix: lint fix
2023-10-06 14:06:20 -04:00