Commit Graph

65817 Commits

Author SHA1 Message Date
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
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
115c65aa18 fix: flags not at the start of the expression
related issue: https://github.com/openedx/edx-platform/issues/33585
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
2f49af300c Merge pull request #33630 from openedx/revert-33350-salman/remove-bok-choy
Revert "chore: remove bok-choy settings"
2023-10-31 16:22:09 -04:00
Robert Raposa
083ccbf09b Revert "chore: remove bok-choy settings" 2023-10-31 15:27:44 -04:00
alangsto
eec67f4799 test: modify dockerfile to test environment variables (#33629) 2023-10-31 14:20:02 -04:00
Feanil Patel
063204161c docs: Update the security e-mail address.
This repository is now managed by the Axim Collaborative and security issues
with it should be reported to security@openedx.org instead of security@edx.org

This work is being done as a part of https://github.com/openedx/wg-security/issues/16
2023-10-31 12:37:55 -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
salman2013
a97845294f chore: update lms,cms port variable names 2023-10-31 15:11:42 +05:00
lunyachek
9649e55502 fix: Absent message after submiting "Generate Exception Certificates" button at Instructor tab 2023-10-30 18:58:32 +02:00
Cristhian Garcia
9e65024744 feat: emit signal for thread, response, and comment created events (#33395) 2023-10-30 11:46:39 -04:00
Jenkins
99b6f6b6e9 chore: geoip2: update maxmind geolite country database 2023-10-30 10:26:42 -04:00
Taras Lytvynenko
25800858fc Merge branch 'master' of github.com:openedx/edx-platform into lytvynenko/additional_name_check 2023-10-30 15:07:24 +02:00