Commit Graph

66833 Commits

Author SHA1 Message Date
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
Robert Raposa
8d3a77a0ee Revert "feat: Upgrade Python dependency edx-drf-extensions" 2023-11-08 14:35:00 -05:00
Nathan Sprenkle
3bcc1f894b chore: bump ORA version (#33674) 2023-11-07 15:33:59 -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
Irtaza Akram
f1c561bbde feat: add github actions to dependabot 2023-11-07 11:22:23 +05:00
Zachary Hancock
a4b593193d fix: practice exams assigned to wrong type (#33661) 2023-11-06 16:16:45 -05:00
Braden MacDonald
32bb4c5057 chore: update openedx-learning, new object tags API format (unstable) (#33651) 2023-11-06 11:54:16 -08:00
Robert Raposa
4f4e6dccf6 Merge pull request #33660 from openedx/robrap/upgrade-edx-drf-extensions-89c8f21
feat: Upgrade Python dependency edx-drf-extensions
2023-11-06 14:47:28 -05:00
Robert Raposa
cc8ee59cc5 Merge branch 'master' into robrap/upgrade-edx-drf-extensions-89c8f21 2023-11-06 14:25:40 -05:00
Hamza Waleed
e0f6cbae85 Merge pull request #33659 from openedx/hamzawaleed01/upgrade-edx-enterprise-e51c01b
feat: Upgrade Python dependency edx-enterprise
2023-11-06 23:54:31 +05:00
robrap
0c87bc32a9 feat: Upgrade Python dependency edx-drf-extensions
Removes ENABLE_JWT_VS_SESSION_USER_CHECK setting

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-06 18:54:16 +00:00
Hamza Waleed
291860529d Merge branch 'master' into hamzawaleed01/upgrade-edx-enterprise-e51c01b 2023-11-06 23:41:35 +05:00
hamzawaleed01
edcadc9825 feat: Upgrade Python dependency edx-enterprise
feat: unlink degreed2 inactive user

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-06 17:36:06 +00:00
Alexander J Sheehan
89c8f21b94 Merge pull request #33657 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-5d6e925
feat: Upgrade Python dependency edx-enterprise
2023-11-06 12:31:01 -05:00
alex-sheehan-edx
5d25733b28 feat: Upgrade Python dependency edx-enterprise
enterprise version bump 4.6.11

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-11-06 16:49:14 +00: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
bszabo
5d6e925c83 feat: TNL-11173 Authoring API is v0 for now (#33644)
* feat: TNL-11173 authoring API offered as v0, not v1

* docs: correct swaggerfile for authoring api

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>
Co-authored-by: Jesper Hodge <jhodge@outlook.de>
2023-11-03 11:49:35 -04: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
f16414efca Merge pull request #33641 from openedx/revert-33630-revert-33350-salman/remove-bok-choy
Revert "Revert "chore: remove bok-choy settings""
2023-11-02 08:52:02 -04:00
Jenkins
4860ef8a7f chore: geoip2: update maxmind geolite country database 2023-11-01 17:00:04 -04:00
Brian Beggs
be4aa3f6b6 Merge pull request #33638 from openedx/bbeggs/version_enterrpise
Update edx-enterprise to 4.6.10
2023-11-01 15:43:17 -04:00
Brian Beggs
d604ce6887 Merge branch 'master' into bbeggs/version_enterrpise 2023-11-01 15:08:44 -04:00
Brian Beggs
212b8fc1f7 chore: Update edx-enterprise to 4.6.10 2023-11-01 15:07:53 -04:00
Feanil Patel
825503a750 fix: Remove call to print_devstack_warnings
This is the only call to the removed function and the removed function
printed a dead link about an issue that may no longer be relevant so
we're just removing this call rather than putting the message back.
2023-11-01 13:45:44 -04:00
Feanil Patel
66e987997c Revert "Revert "chore: remove bok-choy settings"" 2023-11-01 13:41:37 -04:00
KyryloKireiev
258f3fc8a0 fix: [FC-0031] Add limit the number of returned results for mobile_search 2023-11-01 17:07:52 +02:00
Kyrylo Kireiev
763b102ac9 fix: [AXIM-50] Fix count items in pagination 2023-11-01 17:07:52 +02: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
Feanil Patel
7af2b1db24 feat!: Add JwtAuthentication as a default DRF auth class.
By default DRF sets 'DEFAULT_AUTHENTICATION_CLASSES' to:

```
[
    'rest_framework.authentication.SessionAuthentication',
    'rest_framework.authentication.BasicAuthentication'
]
```

We also want to allow for JWT Authentication as a valid default auth
choice.  This will allow users to send JWT tokens in the authorization
header to any existing API endpoints and access them. If any APIs have
set custom authentication classes, this will not override that.

I believe this is a fairly safe change to make since it only adds one
authentication class and does not impact authorization of any of the
endpoints that might be affected.

Note: This change changes the default for both the LMS and CMS because
`cms/envs/common.py` imports this value from the LMS.

BREAKING CHANGE: For any affected endpoint that also required the user
to be authenticated, the endpoint will now return a 401 in place of a
403 when the user is not authenticated.

- See [these DRF docs](https://github.com/encode/django-rest-framework/blob/master/docs/api-guide/authentication.md#unauthorized-and-forbidden-responses) for a deeper explanation about why this changes.

- Here is [an example endpoint](b8ecfed67d/openedx/core/djangoapps/embargo/views.py (L20-L21)) that does not override defaults and checks for IsAuthenticated.

Generally speaking, this is should not be a problem. An issue would
appear only if the caller of the endpoint is specifically handling 403s
in a way that would be missed for 401s.
2023-11-01 11:03:03 -04:00
alangsto
b9ee4a9ad2 test: remove echoes in dockerfile (#33639) 2023-11-01 10:11:02 -04:00
github-actions[bot]
fa14382c2d feat: Upgrade Python dependency openedx-events (#33637)
fix: event bus producer config merging

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

Co-authored-by: rgraber <rgraber@users.noreply.github.com>
2023-11-01 10:10:13 -04:00
Muhammad Ammar
0301bdad58 Merge pull request #33635 from openedx/ammar/add-vsf-enterprise-uuid-setting
feat: add enterprise customer related setting
2023-11-01 16:25:16 +05:00
muhammad-ammar
55442ec2a9 feat: add enterprise customer related setting 2023-11-01 15:53:28 +05: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