Commit Graph

63656 Commits

Author SHA1 Message Date
Robert Raposa
a3cb678a16 Merge pull request #33069 from openedx/robrap/remove-basic-auth
feat!: remove BasicAuthentication default
2023-08-22 09:18:07 -04:00
Usama Sadiq
7710e60328 fix: fix middleware get_response parameter deprecation warning (#33067) 2023-08-22 15:52:30 +05:00
bszabo
68e9a03708 Revert "fix: refactor MakoService to allow specifying namespace per template (#33061)" (#33070)
This reverts commit d60cdc2305.
2023-08-21 16:32:58 -04:00
Kristin Aoki
98cb27da36 feat: add file size length to returned json (#33068) 2023-08-21 16:26:14 -04:00
Robert Raposa
71136240ad feat!: remove BasicAuthentication default
Removed BasicAuthentication as a default from DRF
endpoints that have not overridden the authentication
classes. It appears this is not in use, and was just
implicitly a default because it came from DRF's
defaults.

See DEPR: https://github.com/openedx/edx-platform/issues/33028
2023-08-21 15:45:58 -04:00
Robert Raposa
c9734e3399 fix: change session_auth_result value to n/a
Changes one of the values of the custom attribute
session_auth_result from 'skipped' to 'n/a'.
2023-08-21 14:42:30 -04:00
German
3f20c75043 feat: [ACADEMIC-16209] Unit summary settings (#32855)
* feat: [ACADEMIC-16209] Unit summary settings

[https://jira.2u.com/browse/ACADEMIC-16209](https://jira.2u.com/browse/ACADEMIC-16209)

1. Add unit xpert unit summaries settings behind flag `summaryhook_summaries_configuration` added [here](https://github.com/edx/ai-aside/pull/45/files)
2. Only show the checkbox when the value is a `boolean` otherwise the feature is considerer `disabled` by the flag.
3. Update block handler to update this value via `api` exposed [here](https://github.com/edx/ai-aside/pull/43)
4. Create `AiAsideSummary` configuration class to provide access to the `ai_aside.api` endpoints.
2023-08-21 14:55:22 -03:00
Braden MacDonald
d60cdc2305 fix: refactor MakoService to allow specifying namespace per template (#33061) 2023-08-21 10:05:38 -07:00
Alexander J Sheehan
bb28c27f96 Merge pull request #33052 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-6b22286
feat: Upgrade Python dependency edx-enterprise
2023-08-21 12:03:29 -04:00
alex-sheehan-edx
eb276341d4 feat: Upgrade Python dependency edx-enterprise
restoring old stage historical table

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-08-21 15:36:33 +00:00
Muhammad Soban Javed
274aee2b9c fix: add few deps to base layer to fix reqs installation on dev image (#32985) 2023-08-21 17:49:46 +05:00
Syed Sajjad Hussain Shah
a0f5eddb6c fix: update cross product recommendations api endpoint docstring (#33066)
VAN-1593
2023-08-21 17:29:59 +05:00
Usama Sadiq
3949c73b35 fix: fix request.is_ajax() deprecation warning (#33055)
* fix: fix request.is_ajax() deprecation warning
2023-08-21 15:59:00 +05:00
Awais Qureshi
a61e7dc524 chore: Adding test to verify s3boto3 storages with invalid params. (#33058)
* chore: Adding test to verify s3boto3 storages with invalid params.
2023-08-21 11:26:28 +05:00
Jenkins
e0ba05d657 chore(i18n): update translations 2023-08-20 17:05:35 -04:00
Feanil Patel
a76238c689 Merge pull request #32971 from openedx/feanil/api-docs
feanil/api docs
2023-08-18 17:09:40 -04:00
Feanil Patel
b6fc5488c6 docs: Apply suggestions from code review 2023-08-18 14:21:56 -04:00
Feanil Patel
02354eff10 docs: Apply suggestions from code review 2023-08-18 14:21:27 -04:00
Yusuf Musleh
39e042cfbd feat: Remove component-level copy/paste feature flag (#32980)
This is so that the feature is on by default.
2023-08-18 09:54:48 -07:00
Feanil Patel
b111440b7f docs: Clarify comment for getting a refresh token. 2023-08-18 11:04:15 -04:00
Feanil Patel
73001b1a59 docs: Apply suggestions from code review
Typos and other small fixes.

Co-authored-by: Robert Raposa <rraposa@edx.org>
2023-08-18 10:14:02 -04:00
Awais Qureshi
64abfd126c fix: upgrade oauthlib and django-oauth-toolkit to new versions. (#32631)
* chore: bump django-oauth-toolkit and oauthlib
---------

Co-authored-by: Muhammad Umar Khan <m.umarkhan999@gmail.com>
2023-08-18 14:21:25 +05:00
Usama Sadiq
2dba053022 fix: fix django.utils.translations warnings (#33040)
* fix: fix ugetext and ngettext deprecation warnings
* fix: fix deprecation warnings from html templates
2023-08-18 11:34:56 +05:00
Yusuf Musleh
6b22286afd fix: Prevent multiple dropdowns opening at once (#33046)
This closes already open dropdown menus when opening another dropdown
menu, to prevent them from overlapping each other.
2023-08-17 11:37:57 -07:00
Feanil Patel
df5759ca37 docs: Make the docs easier to read and and some links. 2023-08-17 11:11:59 -04:00
Feanil Patel
5a1abcb64f fixup! docs: Add some basic docs on the Rest API. 2023-08-17 10:47:56 -04:00
Feanil Patel
1db57b574f fixup! docs: Add more examples related to Auth. 2023-08-17 10:44:39 -04:00
Feanil Patel
3e1a4ed311 fixup! docs: Add some basic docs on the Rest API. 2023-08-17 10:44:27 -04:00
Feanil Patel
88096cc54d docs: Add more examples related to Auth. 2023-08-17 10:30:06 -04:00
ruzniaievdm
ddb092c07c feat: Create DRF for course team (#32782) 2023-08-17 09:12:02 -04:00
Usama Sadiq
59782fa625 fix: fix is_safe_url and urlquote warnings (#33041)
* fix: fix is_safe_url and urlquote warnings
* fix: replace urlquote with quote
2023-08-17 16:59:23 +05:00
edX requirements bot
f20b7ec985 Python Requirements Update (#33034)
* chore: Updating Python Requirements and revert redis change.
2023-08-17 15:10:09 +05:00
Jenkins
0935e08a69 chore: geoip2: update maxmind geolite country database 2023-08-16 16:59:06 -04:00
Feanil Patel
e663988c10 docs: Add some basic docs on the Rest API.
There is probably a lot more to say but add a quick How-To and concept
docs that we can build on.
2023-08-16 15:35:06 -04:00
Ahtisham Shahid
62718f2ed3 fix: removed redundant unit update from task (#33017) 2023-08-16 19:33:13 +05:00
Usama Sadiq
852246db8c fix: replace ugettext with gettext (#33022) 2023-08-16 17:07:23 +05:00
Usama Sadiq
87216d360d fix: fix django4 deprecation warnings (#32978) 2023-08-16 17:07:09 +05:00
Usama Sadiq
9979017b69 fix: fix django4 deprecation warnings (#32975) 2023-08-16 16:20:54 +05:00
Awais Qureshi
c8bb65e8ab feat: replaced django-fernet-fields with django-fernet-fields-v2. (#32990)
* feat: replaced django-fernet-fields with django-fernet-fields-v2.
2023-08-16 16:20:03 +05:00
Muhammad Umar Khan
07fbf3b14b chore: update pymemcache settings (#33019) 2023-08-16 15:17:53 +05:00
Awais Qureshi
43315cb684 chore: upgrading django-simple-history to latest version. (#33010)
* chore: upgrading `django-simple-history` to latest version.
2023-08-16 15:17:21 +05:00
edX requirements bot
aca521f256 Merge pull request #32578 from openedx/usamasadiq/remove-language-session-key-usage
fix: remove language_session_key usage
2023-08-16 06:05:19 -04:00
Usama Sadiq
4ee5964855 fix: fix django4 deprecation warnings (#32957) 2023-08-16 14:39:49 +05:00
Usama Sadiq
4dea331486 fix: fix django4 deprecation warnings (#32948) 2023-08-16 11:15:17 +05:00
Tim McCormack
595c94b795 build: Fail PR if requirements files are inconsistent (#32057)
We have a few situations where requirements files can become
inconsistent or cause unnecessary review churn in later `make upgrade`
runs either due to manual editing, inconsistent environments, or
incorrectly specified git dependencies. This will produce a failing
check for any PR that does not produce a clean run of `make
compile-requirements` on Linux.

Addresses https://github.com/openedx/edx-platform/issues/31372
2023-08-15 20:40:24 +00:00
kenclary
fa22e01147 Merge pull request #32912 from openedx/kenclary/TNL-10912
fix: fix mako runtime bug with studio_view. TNL-10912
2023-08-15 16:37:11 -04:00
Tim McCormack
2ea5b1d0b3 fix: Run make compile-requirements to fix inconsistency (#33016) 2023-08-15 20:09:04 +00:00
Braden MacDonald
b8713faf76 fix: error on course outline in Studio due to browser caching old JS file (#33015)
This fixes a bug where some users would see an error that prevented the course outline page in Studio from loading, for any course.
2023-08-15 14:42:47 -04:00
Soban Javed
27edbc6055 fix: added back test_views file 2023-08-15 21:28:43 +05:00
Soban Javed
c45ac51475 fix: update urls and tests for cookies 2023-08-15 21:28:43 +05:00