Commit Graph

64256 Commits

Author SHA1 Message Date
Rodrigo Martin
8d02b8808f feat: rename 'video_uuid' to 'video_id' in AI translation request (#33787) 2023-11-28 20:56:42 -03:00
Kristin Aoki
9085bc140e fix: usage_locations always returning empty (#33830) 2023-11-28 16:35:45 -05:00
Jillian
7ff1506d32 fix: allows viewing an ObjectTag even if no taxonomy is provided (#33757) 2023-11-28 09:37:26 -08:00
Kristin Aoki
a7ce23602c fix: page redirect for libraries (#33806) 2023-11-28 12:29:12 -05:00
leangseu-edx
e1b1d486ca feat: Upgrade Python dependency ora2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-28 10:21:18 -05:00
Awais Qureshi
0848eeccc0 build: upgrading algoliasearch. (#33771)
* build: upgrading algoliasearch.
2023-11-28 15:55:11 +05:00
Awais Qureshi
52019d3d1f Upgrade pillow lat (#33814)
* chore: upgrade pillow.
2023-11-28 15:03:04 +05:00
github-actions[bot]
e4f2cba945 feat: Upgrade Python dependency edx-django-utils (#33823)
chore: upgrade django utils

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

Co-authored-by: mumarkhan999 <mumarkhan999@users.noreply.github.com>
2023-11-28 14:24:52 +05:00
Leangseu Kim
ae6914fe3d chore: add ora mfe url env 2023-11-27 16:36:23 -05:00
jszewczulak
a9a37bc277 chore: ORA version bump (#33817) 2023-11-27 21:11:12 +00:00
Rômulo Penido
6d4463db99 fix: overwrite previous tags on taxonomy import (#33752) 2023-11-27 11:43:21 -08:00
github-actions[bot]
3b902c8f6f feat: Upgrade Python dependency edx-drf-extensions 9.0.0 (#33807)
Upgrade edx-drf-extensions 9.0.0

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

edx-drf-extensions 9.0.0 requires VERIFY_LMS_USER_ID_PROPERTY_NAME
to be properly set in LMS to get the appropriate verification when
forgiving JWTs is enabled (which will soon be by default).

See openedx/edx-drf-extensions#408 for details.

This is part of:
edx/edx-arch-experiments#429

Co-authored-by: robrap <robrap@users.noreply.github.com>
2023-11-27 18:19:57 +00:00
Feanil Patel
c67a774506 Merge pull request #33497 from openedx/dependabot/github_actions/docker/login-action-3
build(deps): bump docker/login-action from 2 to 3
2023-11-27 13:18:19 -05:00
Feanil Patel
a958097630 Merge pull request #33294 from raccoongang/rg/feat/FC0031/add_pagination_in_user_course_enrollments
feat: [FC-0031] Add DefaultPagination in UserCourseEnrollmentsList
2023-11-27 11:23:18 -05:00
Awais Qureshi
9d959c7d33 build: upgrading babel. (#33778)
* build: upgrading babel.
2023-11-27 16:37:35 +05:00
Awais Qureshi
9998dc58fe Upgrade pillow (#33769)
* build: upgrading pillow.
2023-11-27 13:45:59 +05:00
mubbsharanwar
487b870ae4 revert: remove learner_recommendations app 2023-11-27 10:38:24 +05:00
Jenkins
1734fdc0dc chore(i18n): update translations 2023-11-26 16:09:14 -05:00
Mohammad Ahtasham ul Hassan
a57dd7325b feat: add course key param to track selection url (#33716) 2023-11-24 15:23:36 +05:00
Moeez Zahid
f880855f66 feat: Publish mobile SKUs to LMS (#33754) 2023-11-24 14:14:33 +05:00
Régis Behmo
09dfd8718e fix: CSRF errors in POST requests to LMS (#33727)
POST requests to the LMS are failing systematically when HTTPS is
enabled. This issue is observed in the Quince release branch. Here is
the root cause analysis:

- CorsCSRFMiddleware overrides the `is_secure` attribute by setting it
  to "false".
- CorsCSRFMiddleware calls the parent `process_view` method, from the
  CsrfViewMiddleware.
- CsrfViewMiddleware checks the Origin header, including the scheme. It
  is equal to "https://LMSHOST". But because the request is not
  considered secure, the expected origin is "http://LMSHOST".
- The check fails with "Origin checking failed"

We resolve this issue by running the CsrfViewMiddleware *before* the
custom CorsCSRFMiddleware. After a successful check of the
CsrfViewMiddleware, the request has the "csrf_processing_done = True"
attribute, and CorsCSRFMiddleware is short-circuited.

This issue did not happen in the following environments:

- in Palm because the CsrfViewMiddleware did not check the "Origin" header in Django 3.
- in the Studio, because the Studio already runs the CsrfViewMiddleware before
  the CorsCSRFMiddleware.
- in the master branch because the master branch does not yet run on
  Django 4. But the issue will happen in the master branch without this
  proposed change.

To bypass this issue in the master branch, it was proposed that we add
"https://LMSHOST" to CSRF_TRUSTED_ORIGINS. This would effectily bypass
CSRF checking entirely for all requests that originate from the LMS.
Such a solution would not be acceptable, as we would lose the security
guarantees offered by CSRF.

See discussion: https://github.com/openedx/wg-build-test-release/issues/325
2023-11-23 13:52:16 -04:00
Navin Karkera
e9ca49d3a6 fix: session_language url renamed to update_language
The url was renamed from session_language to update_language but it was still referred to in some html templates
2023-11-23 22:06:19 +05:30
Jenkins
4529d6f105 chore: geoip2: update maxmind geolite country database 2023-11-22 15:59:03 -05:00
Ehmad Saeed⚡
304a2bc982 Merge pull request #33777 from openedx/justEhmadSaeed/upgrade-edx-enterprise-ce2734e
feat: Upgrade Python dependency edx-enterprise
2023-11-22 23:01:07 +05:00
justEhmadSaeed
bd417e3036 feat: Upgrade Python dependency edx-enterprise
chore: remove unnecessary logs from the integrated channels

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-22 22:40:51 +05:00
Kristin Aoki
ce2734e907 feat: update video and asset api to include usage loactions (#33746) 2023-11-22 12:11:35 -05:00
David Ormsbee
119bb46151 docs: create ADR for Wasm-based safe code execution (#33705) 2023-11-22 09:28:43 -05:00
Awais Qureshi
5e6ebea4db build: upgrading django-storages. (#33775)
* build: upgrading django-storages.
2023-11-22 16:35:36 +05:00
Awais Qureshi
7634301111 Upgrading pytz package (#33760)
* chore: upgrading pytz.
2023-11-22 15:04:35 +05:00
github-actions[bot]
c41a5066a0 feat: Upgrade Python dependency ora2 (#33763)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jszewczulak <jszewczulak@users.noreply.github.com>
2023-11-21 21:21:42 +00:00
Chris Chávez
f72710e261 feat: Display tags on the Unit page in Studio (feature-flagged) - Take 2 (#33761) 2023-11-21 12:12:17 -08:00
Nathan Sprenkle
debcf27664 chore: bump ORA versions to 6.0.4 (#33762) 2023-11-21 11:34:53 -05:00
jszewczulak
2df2030811 feat: added hotjar site id property (#33738) 2023-11-21 10:27:20 -05:00
Hamza Waleed
6ab768714b Merge pull request #33759 from openedx/hamzawaleed01/upgrade-edx-enterprise-7165bb5
feat: Upgrade Python dependency edx-enterprise
2023-11-21 18:02:49 +05:00
hamzawaleed01
bc34e78185 feat: Upgrade Python dependency edx-enterprise
feat: added management command to re-encrypt enterprise customer reporting configs

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-21 11:51:29 +00:00
Ahtisham Shahid
7165bb528b feat: updated filter logic to send notifications (#33743)
* feat: updated filter logic to send notifications
2023-11-21 13:35:36 +05:00
Muhammad Adeel Tajamul
3fc8e5a9fb test: added tests for send_notification (#33728) 2023-11-21 12:22:05 +05:00
Ahtisham Shahid
8c871e3e7f fix: sync discussions config and course data (#33675)
* fix: sync discussions config and  course data
2023-11-21 12:21:08 +05:00
Glib Glugovskiy
3da85a994e fix: remove trailing whitespace failing quality check 2023-11-20 23:08:56 +02:00
Glib Glugovskiy
95fcb124dd docs: add docstring for the paginator property override 2023-11-20 22:40:28 +02:00
KyryloKireiev
ee4b92ca10 feat: [AXIM-6] Add DefaultPagination for UserCourseEnrollmentsList v3 2023-11-20 22:40:28 +02:00
Jenkins
c5cbb96a48 chore: geoip2: update maxmind geolite country database 2023-11-20 13:10:50 -05:00
Jesper Hodge
e5ff63c312 fix: remove slashes from authoring api (#33741) 2023-11-20 12:45:35 -05:00
Kyle McCormick
e800ae7622 feat: provisionally support V2 libraries in LibraryContentBlock (randomized only) (#33263)
Refactors and reworks the LibraryContentBlock so that its
sync-from-library operations are asynchronous and work with
V2 content libraries. This also required us to make
library_content block duplication asynchronous, as that
involves syncing from the source library.

For the sake of clarity, this PR includes two major method renames:

* update_children(...) -> sync_from_library(...)
* refresh_library(...) -> sync_from_library(upgrade_to_latest=True, ...)

an an XBlock HTTP handler rename:

  /refresh_children -> /upgrade_and_sync

There are still a couple issues with import or duplication
of library_content blocks referencing V2 libraries other than
latest. These will be resolved in an upcoming PR.

Part of: https://openedx.atlassian.net/wiki/spaces/COMM/pages/3820617729/Spec+Memo+Content+Library+Authoring+Experience+V2
Follow-up work: https://github.com/openedx/edx-platform/issues/33640

Co-authored-by: Connor Haugh <chaugh@2u.com>
Co-authored-by: Eugene Dyudyunov <evgen.dyudyunov@raccoongang.com>
2023-11-20 15:58:10 +00:00
Jenkins
c53cf9f1c3 chore(i18n): update translations 2023-11-20 10:57:40 -05:00
Ehmad Saeed⚡
5677e60730 Merge pull request #33745 from openedx/justEhmadSaeed/upgrade-edx-enterprise-c66ed87
feat: Upgrade Python dependency edx-enterprise
2023-11-20 19:36:42 +05:00
justEhmadSaeed
0300831636 feat: Upgrade Python dependency edx-enterprise
stops learner data transmissions for course runs

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-20 19:13:31 +05:00
Rebecca Graber
c66ed87f65 Revert "feat: Tag List on Unit page (feature-flagged) (#33645)" (#33740)
This reverts commit 104d42c67a.
2023-11-17 20:12:47 +00:00
edX requirements bot
c240fd8b52 Python Requirements Update (#33737)
* chore: Updating Python Requirements
* fix: fix test failure occurring due to faker upgrade
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-11-17 23:56:24 +05:00
Chris Chávez
104d42c67a feat: Tag List on Unit page (feature-flagged) (#33645) 2023-11-17 10:03:28 -08:00