Commit Graph

64300 Commits

Author SHA1 Message Date
hajorg
b70e29a0ab feat: add test for is_ai_translations_enabled 2023-12-05 17:34:32 +01:00
hajorg
00d1cf5e0b feat: add is_ai_translations_enabled to get_course_videos_context util 2023-12-05 17:34:32 +01:00
Deborah Kaplan
5e3bc1ca30 Merge pull request #33879 from openedx/dkaplan1/APER-2941_datamigration-to-remove-the-records
feat:  remove old microbachelor's coaching external IDs
2023-12-05 11:18:14 -05:00
Jenkins
5547ec6ff3 chore(i18n): update translations 2023-12-05 09:53:06 -05:00
Kiran Chauhan
e78e6d307a fix: Added feature toggle check for account deletion API (#32846) (#33062)
---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-12-04 15:34:51 -08:00
Deborah Kaplan
c43fd10339 feat: remove old microbachelor's coaching external IDs
The microbachelor coaching facility has been deprecated and the external
IDs are no longer supported. Remove existing ones from the DB.

FIXES: APER-2941
2023-12-04 21:32:40 +00:00
Jason Wesson
0650b4ff5e Merge pull request #33501 from Inferato/lytvynenko/additional_name_check
Name length validation
2023-12-04 11:55:21 -08:00
Jesper Hodge
17d4a55869 refactor: remove function and class duplications (#33673)
This PR: https://github.com/openedx/edx-platform/pull/32282 introduced some duplications of existing functions and classes by accident. I am cleaning them up here:
- `StudioPermissionsService` class
- `duplicate_block function`
- `load_services_for_studio` function
2023-12-04 14:44:13 -05:00
SaadYousaf
fed784a664 feat: add course wide notification event for notifications having wider audience 2023-12-04 15:46:12 +05:00
Maham Akif
ecc46cbe7d Merge pull request #33873 from openedx/mahamakifdar19/upgrade-edx-enterprise-f9b6e45
feat: Upgrade Python dependency edx-enterprise
2023-12-04 15:00:27 +05:00
mahamakifdar19
e2bf660755 feat: Upgrade Python dependency edx-enterprise
fix: fixed the domain issue to point to "courses.edx.org" for the resumeCourseRunUrl

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-12-04 09:33:33 +00:00
MueezKhan246
f9b6e453e4 Merge pull request #33870 from openedx/MueezKhan246/upgrade-edx-enterprise-abfc61e
feat: Upgrade Python dependency edx-enterprise
2023-12-04 14:21:36 +05:00
MueezKhan246
7cdb535557 feat: Upgrade Python dependency edx-enterprise
adds log for learner data transmission run

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-12-04 08:17:46 +00:00
dependabot[bot]
abfc61eacf build(deps): bump actions/setup-node from 3 to 4 (#33831)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
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-12-04 11:00:05 +05:00
Braden MacDonald
99667f6fb6 fix: "Copy Unit" button should be behind enable_copy_paste_units flag (#33867) 2023-12-01 13:35:58 -08:00
Pooja Kulkarni
f5b246d0e9 feat: copy/paste unit from within a unit in Studio - feature flagged (#33724)
(requires the contentstore.enable_copy_paste_units waffle flag)
2023-12-01 11:33:34 -08:00
Tim McCormack
94441861e0 feat!: Remove legacy-ip code and Waffle switch (#33735)
This switch has been kept disabled in edx.org for well over a year with no
trouble, and the migration to `CLOSEST_CLIENT_IP_FROM_HEADERS`
was introduced in Nutmeg.

DEPR issue: https://github.com/openedx/edx-platform/issues/33733
2023-12-01 14:44:59 +00:00
Awais Qureshi
29a0edd7aa Remove boto pin (#33853)
* chore: upgrade boto.
2023-12-01 15:44:09 +05:00
Kyle McCormick
129940b562 fix: load children in a consistent manner when duplicating LC blocks (#33860)
After refactoring the library_content block to use asynchronous tasks
for syncing and duplicating children, we are seeing an error arise
during library_content duplication process on edx.org:

Traceback (most recent call last):
  File "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/content_libraries/tasks.py", line 305, in duplicate_children
    _copy_overrides(store=store, user_id=user_id, source_block=source_block, dest_block=dest_block)
  File "/edx/app/edxapp/edx-platform/openedx/core/djangoapps/content_libraries/tasks.py", line 383, in _copy_overrides
    dest_block=dest_block.runtime.get_block(dest_child_key),
  File "/edx/app/edxapp/edx-platform/xmodule/x_module.py", line 1401, in get_block
    block = self.load_item(usage_id, for_parent=for_parent)
  File "/edx/app/edxapp/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 127, in _load_item
    block_data = self.get_module_data(block_key, course_key)
  File "/edx/app/edxapp/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 154, in get_module_data
    raise ItemNotFoundError(block_key)
xmodule.modulestore.exceptions.ItemNotFoundError: BlockKey(...)

We cannot reproduce the issue locally.
We are not entirely certain the cause of this, but we think it might
have do with caching. Specifically, the `store.get_item` and
`source_block.runtime.get_block` methods might use a different cache
than `dest_block.runtime.get_block`. It's possible that writes to
Mongo are sitting in one of those caches, causing reads from the
`dest_block.runtime`'s cache to fail to find dest_block's children.

We attempt to fix this by using the same "block getting" method
consistently. So instead of using a mix of `store.get_item`,
`source_block.runtime.get_block`, and `dest_block.runtime.get_block`,
we just use `store.get_item` everywhere.
2023-11-30 14:59:40 -05:00
alangsto
0ffa84df6f chore: update lti-consumer-xblock version (#33859) 2023-11-30 14:09:19 -05:00
nsprenkle
d12b9e48d5 chore: bump ORA to 6.0.10 2023-11-30 13:21:30 -05:00
Awais Qureshi
285f1fbfd7 Remove doc utils pin (#33850)
* chore: removing docutils constraint.
2023-11-30 17:21:59 +05:00
edX requirements bot
b2cc7f8f7e chore: Updating Python Requirements (#33843)
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-11-30 16:43:46 +05:00
Awais Qureshi
a3ff59cca2 Update cons desc (#33849)
* chore: updating constraint description.
2023-11-30 16:22:07 +05:00
Maham Akif
5849952c7e Merge pull request #33847 from openedx/mahamakifdar19/upgrade-edx-enterprise-54b351c
feat: Upgrade Python dependency edx-enterprise
2023-11-30 14:47:20 +05:00
mahamakifdar19
539461365f feat: Upgrade Python dependency edx-enterprise
feat: integrated resumeCourseRunUrl into enrollments API

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-30 08:55:09 +00:00
leangseu-edx
54b351c52c feat: Upgrade Python dependency ora2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-29 16:58:59 -05:00
Jenkins
e95b40e266 chore: geoip2: update maxmind geolite country database 2023-11-29 15:59:05 -05:00
Brandon Bodine
443e36517a Merge pull request #33706 from openedx/fix/NOVA-124
fix: hide feedback widget by default
2023-11-29 11:57:16 -07:00
Brandon Bodine
ce2621642f fix: lint 2023-11-29 11:34:55 -07:00
Rodrigo Martin
d7482735c3 fix: hide feedback widget by default 2023-11-29 11:34:55 -07:00
Yusuf Musleh
370507a035 chore: bump openedx-learning to 0.3.6 (#33839) 2023-11-29 10:10:39 -08:00
connorhaugh
183e04d8b1 feat: add duplicate_children logging (#33829)
Add some logging to better capture the failures we've seen in duplication of library blocks.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2023-11-29 12:56:24 -05:00
Awais Qureshi
f852594f54 Upgrading ipware (#33804)
* feat: Upgrade Python dependency django-ipware (#33805)
2023-11-29 16:15:38 +05:00
Saleem Latif
2b8f2a1b0f Merge pull request #33833 from openedx/saleem-latif/ENT-8059
Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise
2023-11-29 13:03:52 +05:00
github-actions[bot]
5b5d0f6646 feat: Upgrade Python dependency openai (#33835)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: awais786 <awais786@users.noreply.github.com>
2023-11-29 12:25:17 +05:00
Saleem Latif
6ea07a2ab2 fix: Open AI version 1.0.0 dropped support for APIs in use, so pinning the version. 2023-11-29 11:57:45 +05:00
Irtaza Akram
4d16bad88e Merge pull request #33665 from openedx/dependabot#483
Fix gap in dependabot GitHub Action updates
2023-11-29 10:57:13 +05:00
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