Commit Graph

7088 Commits

Author SHA1 Message Date
Jillian
7ff1506d32 fix: allows viewing an ObjectTag even if no taxonomy is provided (#33757) 2023-11-28 09:37:26 -08:00
Rômulo Penido
6d4463db99 fix: overwrite previous tags on taxonomy import (#33752) 2023-11-27 11:43:21 -08:00
Awais Qureshi
9998dc58fe Upgrade pillow (#33769)
* build: upgrading pillow.
2023-11-27 13:45:59 +05:00
Awais Qureshi
7634301111 Upgrading pytz package (#33760)
* chore: upgrading pytz.
2023-11-22 15:04:35 +05: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
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
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
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
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
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
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
Rômulo Penido
034d6322d0 feat: add import taxonomy endpoint to content_tagging (#33663) 2023-11-14 11:12:18 -08:00
Rodrigo Martin
55ee25461a feat: Create video_config.xpert_translations_ui Course Waffleflag (#33688) 2023-11-14 10:44:34 -03: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
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
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
Rômulo Penido
4b4e370656 feat: add update taxonomy orgs REST API (#33611) 2023-11-07 11:24:43 -08:00
Muhammad Adeel Tajamul
bee0a98613 feat: added new thread notifications behind new course wide waffle flag (#33602) 2023-11-07 11:47:43 +05:00
Braden MacDonald
32bb4c5057 chore: update openedx-learning, new object tags API format (unstable) (#33651) 2023-11-06 11:54:16 -08:00
Rodrigo Martin
e51c01bf4e feat: add support for user feedback on autogenerated transcripts (#33518)
* feat: WIP transcript feedback

* feat: Add UI mock for Transcript Feedbacks (#33416)

* feat: Add UI mock for Transcript Feedbacks

* fix: Fix mongo tests

* feat: Get video_uuid, user_uuid and language for request (#33445)

* feat: make call to ai-translations to obtain feedback

* feat: Show widget if transcript was AI generated

* feat: bind all class methods

* fix: async calls

* feat: send request when choosing feedback

* feat: update showing condition (#33474)

* fix: ajax success lint

* fix: video caption specs errors fixed

* feat: add coverage to feedback widget

* chore: connect XT to LMS and CMS

* feat: use url

* chore: add vars to devstack

* chore: fix url name

* feat: update unit tests regarding env vars

* fix: fix test_video_mongo

* feat: add more tests

* feat: remove console log

Co-authored-by: Jesper Hodge <19345795+jesperhodge@users.noreply.github.com>

* fix: rename shouldShowWidget to loadAndSetVisibility

---------

Co-authored-by: María Guillermina Véscovo <mvescovo@2u.com>
Co-authored-by: Jesper Hodge <19345795+jesperhodge@users.noreply.github.com>
2023-11-06 16:33:53 +00:00
Piotr Surowiec
2cf4d73a98 Merge pull request #33601 from DanielVZ96/dvz/clean-warnings
chore: clean and fix console warnings
2023-11-06 16:50:37 +01:00
Rebecca Graber
ddabba458b feat: remove manual sends of events (#33642) 2023-11-03 10:36:50 -04:00
Feanil Patel
9ba9935fb6 Merge pull request #32802 from openedx/feanil/default_drf_auth_class
feat: Add JwtAuthentication as a default DRF auth class.
2023-11-02 10:05:50 -04:00
Feanil Patel
66e987997c Revert "Revert "chore: remove bok-choy settings"" 2023-11-01 13:41:37 -04:00
Feanil Patel
ac2cc158f8 test: Update tests to the new return code.
When including `JwtAuthentication`, the auth_header becomes `JWT
realm="api"`. Without it, it is `None`. This changes the behavior of the
code in DRF and returns a slightly different auth response.

Relevant Code: 56946fac8f/rest_framework/views.py (L456C3-L456C3)
2023-11-01 11:03:03 -04:00
Mashal Malik
4f1503fbed Merge branch 'master' into dvz/clean-warnings 2023-11-01 12:17:11 +05:00
Muhammad Adeel Tajamul
44b62cafe7 fix: notification audience was not filtering users with no preference (#33625) 2023-11-01 09:32:35 +05:00
Daniel Valenzuela
398c84e1bc chore: ignore 'etree' is deprecated
Related issue: https://github.com/openedx/edx-platform/issues/32888
2023-11-01 00:18:40 -03:00
Daniel Valenzuela
9752da2b03 chore: ignore warning from pkg_resources.declare_namespace
Related issue: https://github.com/openedx/edx-platform/issues/33592
2023-11-01 00:18:40 -03:00
Daniel Valenzuela
72be4812bf chore: replace newrelic add_custom_parameter deprecated method
related issue: https://github.com/openedx/edx-platform/issues/33584

note: it has been replaced with add_custom_attribute. it is just a rename
https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-80300/
2023-11-01 00:18:40 -03:00
Daniel Valenzuela
ef0a9c00af chore: ignore import ABCs from 'collections' warning
related issue: https://github.com/openedx/edx-platform/issues/33584

note: this warning is from a third party library (libsass)
2023-11-01 00:18:40 -03:00
Daniel Valenzuela
d2f427a672 chore: ignore HTTPResponse.getheaders() deprecation warning
related issue: https://github.com/openedx/edx-platform/issues/33584

note: this warning is rased from a third party library (elasticsearch)
2023-11-01 00:18:40 -03:00
Daniel Valenzuela
66c5be8c02 chore: ignore default_app_config warning
related issue: https://github.com/openedx/edx-platform/issues/33572
2023-11-01 00:18:40 -03:00
Robert Raposa
083ccbf09b Revert "chore: remove bok-choy settings" 2023-10-31 15:27:44 -04:00
Feanil Patel
3003abb092 Merge pull request #33350 from salman2013/salman/remove-bok-choy
chore: remove bok-choy settings
2023-10-31 11:19:56 -04:00
Moeez Zahid
ba1f382471 feat: Add scope user_id to JWT payload (#33455) 2023-10-30 07:56:58 +05:00
Braden MacDonald
e6e124bf16 chore: tagging - version bump to latest openedx-learning (#33553) 2023-10-27 10:06:47 -07:00
Ahtisham Shahid
3c50f3e029 fix: update CourseOverviewTab while changing discussions settings (#33605) 2023-10-27 15:14:31 +05:00
salman2013
942e713ff0 chore: resolve conflicts 2023-10-26 14:20:26 +05:00
Muhammad Adeel Tajamul
808390ace8 fix: sender list was empty in notification generated event (#33590) 2023-10-26 06:49:20 +05:00
Ahtisham Shahid
5009d052e5 chore: added debug logs to notifications filters (#33568) 2023-10-24 14:42:38 +05:00
Muhammad Adeel Tajamul
07ae24aaab feat: added sender_id to notification generated events (#33544) 2023-10-24 11:09:00 +05:00
salman2013
8d7e451c98 Merge remote-tracking branch 'upstream/master' into salman/remove-bok-choy 2023-10-24 09:06:15 +05:00
Yusuf Musleh
08d6607636 feat: Add url that exposes taxonomy tags CRUD API (#33525)
* feat: Add url that exposes taxonomy tags CRUD API

Include `content_tagging` namespace for content_tagging urls in cms
for `sub_tags_link` to work in multi-level taxonomy tags.

* chore: Bump openedx-learning version
2023-10-23 11:07:46 -07:00
Ahtisham Shahid
e9323737c3 fix: updated , notification config name from filter to filters (#33557) 2023-10-23 16:29:34 +05:00
salman2013
9452cef97d chore: resolve conflicts 2023-10-23 12:05:25 +05:00
Feanil Patel
2e75ced467 Merge pull request #33186 from thezaeemaanwar/remove_badges_app
[DEPR]: lms/djangoapps/badges
2023-10-20 10:29:43 -04:00