Commit Graph

64216 Commits

Author SHA1 Message Date
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
github-actions[bot]
f87006f778 feat: Upgrade Python dependency tox (#33736)
* feat: Upgrade Python dependency tox

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

* fix: add back py in requirements

* chore: upgrade py package in requirements

---------

Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-11-17 17:57:15 +05:00
Jesper Hodge
7fd4c30daf Chore adjust swagger for api gateway (#33694)
* chore: add api.edx.org server and correct route to swagger file endpoints

* chore: make server urls for swagger doc depend on env variables

* chore: add yaml file server descriptions

* chore: rename authoring api route and add description to swagger

* Update cms/urls.py

Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com>

* fix: lint

* fix: lint

* fix: lint

---------

Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com>
2023-11-16 15:39:46 -05:00
Braden MacDonald
ed379926c2 feat: display tag counts on course outline page (feature flagged) (#33696)
* feat: display tag counts on outline

* fix: taxonomies should default to allow_multiple=True

* fix: only load counts once per request

* chore: version bump for openedx-learning
2023-11-16 10:03:13 -08:00
Robert Raposa
e5386df557 fix: upgrade to edx-drf-extensions 8.13.1 (#33718)
Upgrade to edx-drf-extensions 8.13.1 that includes
a fix for JWT vs Session monitoring that caused
errors in edx-platform in 8.13.0.
2023-11-16 11:01:18 -05:00
Andrew Shultz
6c6ecab27a Merge pull request #33732 from openedx/ashultz0/es-search-log-settings
ES courseware search log settings
2023-11-16 10:32:07 -05:00
Andy Shultz
3fba263fea feat: bump edx-search to 3.7.1 2023-11-16 10:01:15 -05:00
Andy Shultz
8526601466 fix: fix upgrade-package usage string 2023-11-16 10:01:15 -05:00
Andy Shultz
3da6578e9b feat: add settings for detailed search logging (default off)
devstack on, production load from environment
2023-11-16 10:00:30 -05:00
Feanil Patel
942a2419f1 Merge pull request #33295 from raccoongang/rg/feat/FC0031/add_profile_image_to_api_discussion
feat: [FC-0031] Add field profile_image to CommentSerializer
2023-11-16 09:57:03 -05:00
Ahtisham Shahid
c6b36a8558 feat: added beamer to edx-platform (#33701) 2023-11-16 14:56:08 +05:00
Muhammad Adeel Tajamul
1806b290b8 fix: course wide preferences are visible when patch call is sent (#33726) 2023-11-16 14:41:28 +05:00
Phillip Shiu
94658f5890 feat: add ip_chain.safest_client_ip to emitted XForwardedForMiddleware metrics (#33720)
This commit adds the result of get_safest_client_ip() to the emitted metrics of
XForwardedForMiddleware.
2023-11-15 22:13:32 +00:00
Jenkins
dcd6786112 chore: geoip2: update maxmind geolite country database 2023-11-15 15:59:13 -05:00
Shadi Naif
ffe3bf8271 feat: add (--no-segment) option to extract_translations (#33368)
The flag is added if and only if (IS_OPENEDX_TRANSLATIONS_WORKFLOW) is set to "yes"

Refs: FC-0012 OEP-58
2023-11-15 12:28:07 -05:00
Glib Glugovskiy
e27f674e12 fix: remove duplicate implementation and correct the docstring 2023-11-14 21:45:18 +02:00
KyryloKireiev
da9266e31d refactor: [FC-0031] Move get_profile_image method to api 2023-11-14 21:45:18 +02:00
KyryloKireiev
ae3830b023 feat: [AXIM-20] Add profile_image to API CommentViewSet 2023-11-14 21:45:18 +02:00
Rômulo Penido
034d6322d0 feat: add import taxonomy endpoint to content_tagging (#33663) 2023-11-14 11:12:18 -08:00
Jason Wesson
3c40052579 Merge pull request #31668 from raccoongang/lunyachek/fix/absent-notification-message-certificate-exception-generation
fix: Fix absent notification message after submit Generate Exception …
2023-11-14 10:20:50 -08:00
github-actions[bot]
ed56222929 feat: Upgrade Python dependency ora2 (#33709)
Added Hotjar survey to legacy ORA view

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>
Co-authored-by: jszewczulak <128841175+jszewczulak@users.noreply.github.com>
2023-11-14 16:04:55 +00:00
Andrew Shultz
e59a1dc4cc Merge pull request #33710 from openedx/ashultz0/simple-course-filter
feat: if course is specified, do not build the course limiting filters
2023-11-14 10:23:02 -05:00
Andy Shultz
aeaa1f8628 feat: if course is specified, do not build the course limiting filters
Adding these filters in the course case makes it harder to understand
what is going on in the search engine for no benefit.
2023-11-14 09:08:41 -05:00
Rodrigo Martin
55ee25461a feat: Create video_config.xpert_translations_ui Course Waffleflag (#33688) 2023-11-14 10:44:34 -03:00
Arunmozhi
5b2f012acc feat: link LTI Provider launches to authenticated users
With this change, the platform users who access content via LTI will be 
automatically linked to their platform account instead of the new (anonymous) 
one. The following conditions need to be met:
* The `LtiConsumer` should be configured to auto-link the users via email.
* The LTI Consumer should share the user's email using the
`lis_person_contact_email_primary` parameter in the LTI Launch POST data.

This also replaces the one-to-one relationship of the `User` and `LtiUser` 
with one-to-many. This way, multiple `LtiUser` objects can refer to the same 
`edx_user`. With the auto-linking, multiple LTI Consumers can create 
independent `LtiUser` objects with the same `edx_user`.

Co-authored-by: Piotr Surowiec <piotr@surowiec.it>
2023-11-13 19:38:37 +01:00
edX requirements bot
7050eca5a6 fix: Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery (#33558)
* fix: update tox config
* feat: Upgrade Python dependency tox-battery (#33702)
---------
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2023-11-13 15:24:08 +05:00
edX requirements bot
e46c1d1e61 Python Requirements Update (#33695)
* chore: Updating Python Requirements
* fix: fix completion test query count
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-11-13 14:37:53 +05:00
Alex Dusenbery
893157db8c docs: edx-enterprise-4.7.0 for enterprise api-docs 2023-11-09 15:31:49 -05:00
Jillian
dad31a393a fix: allows taxonomy list to "filter by org" even if org does not exist (#33686)
If the user requests the taxonomies linked to a non-existent org, then
we still want to see the non-org taxonomies.
2023-11-09 11:23:12 -08:00
Kristin Aoki
cca1e9e365 fix: video drf 500 error (#33658) 2023-11-09 11:34:06 -05:00
Feanil Patel
c4598c5527 Merge pull request #33293 from raccoongang/rg/fix/FC0031/fix_count_items_in_pagination_for_api_courses_list
fix: [FC-0031] Fix count items in pagination for api courses list.
2023-11-09 10:23:37 -05:00
Artur Gaspar
dea15c23d3 fix: hide instructor tab when masquerading as user role with no masquerade user 2023-11-09 16:04:53 +01:00
Kshitij Sobti
f494586b84 feat: Add toggle to allow redirecting to courseware after enrollment.
This change adds a new waffle switch to redirect a student to coursware after
enrolment instead of the dashboard.
2023-11-09 15:38:11 +01:00
Feanil Patel
d32def97ab Merge pull request #33576 from thezaeemaanwar/badges_deletion_migrations
feat: Migrations for badges deletion
2023-11-09 09:06:54 -05:00
Zachary Hancock
10805a6a24 feat: remove old proctoring settings url (#33679)
This flag was introduced to gate the rollout of moving the UI component for proctoring settings into the pages and resources view and was never cleaned up. At this point we should always be linking the the new page for proctoring settings.
2023-11-09 08:54:28 -05:00
Jenkins
115833c323 chore: geoip2: update maxmind geolite country database 2023-11-08 16:00:17 -05:00
Yusuf Musleh
e311ef50ec feat: Studio menu/button to display Unit's Tags (feature flagged) (#33563) 2023-11-08 12:23:05 -08:00
Robert Raposa
6cc9313ffc Merge pull request #33683 from openedx/robrap/add-edx-drf-extensions-constraint
temp: add constraint to edx-drf-extensions 8.12.0
2023-11-08 15:08:58 -05:00
Robert Raposa
4963963cac Merge pull request #33682 from openedx/revert-33660-robrap/upgrade-edx-drf-extensions-89c8f21
Revert "feat: Upgrade Python dependency edx-drf-extensions"
2023-11-08 14:55:51 -05:00
Robert Raposa
8b1da4d801 temp: add constraint to edx-drf-extensions 8.12.0
edx-drf-extensions 8.13.0 was causing errors, as mentioned in this revert PR to 8.12.0:
https://github.com/openedx/edx-platform/pull/33682

This adds a temporary constraint to keep it at 8.12.0.
2023-11-08 14:48:02 -05:00