Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2023-12-09 18:15:12 +00:00
commit 073fe08a04
6 changed files with 14 additions and 3 deletions

View File

@ -19,6 +19,13 @@ instructions, because git commits are used to generate release notes:
<!-- scriv-insert-here --> <!-- scriv-insert-here -->
<a id='changelog-16.0.2'></a>
## v16.0.2 (2023-12-09)
- [Improvement] Added Typing to code, Makefile and test action to the repository and formatted code with Black and isort. (by @CodeWithEmad)
- [Improvement] Introduced Course Discovery Repository and Version settings. (by @Faraz32123)
- [BugFix] Fix base url for discovery media files, including program banner images. (by @Faraz32123)
<a id='changelog-16.0.1'></a> <a id='changelog-16.0.1'></a>
## v16.0.1 (2023-11-08) ## v16.0.1 (2023-11-08)

View File

@ -1 +0,0 @@
- [Improvement] Added Typing to code, Makefile and test action to the repository and formatted code with Black and isort. (by @CodeWithEmad)

View File

@ -1 +0,0 @@
- [Improvement] Introduced Course Discovery Repository and Version settings. (by @Faraz32123)

View File

@ -1 +1 @@
__version__ = "16.0.1" __version__ = "16.0.2"

View File

@ -16,4 +16,7 @@ SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL = SOCIAL_AUTH_EDX_OAUTH2_ISSUER + "/logout"
# Disable API caching, which makes it a pain to troubleshoot issues # Disable API caching, which makes it a pain to troubleshoot issues
USE_API_CACHING = False USE_API_CACHING = False
DISCOVERY_BASE_URL = "http://{{ DISCOVERY_HOST }}:8381"
MEDIA_URL = DISCOVERY_BASE_URL + "/media/"
{{ patch("discovery-development-settings") }} {{ patch("discovery-development-settings") }}

View File

@ -15,4 +15,7 @@ SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL = SOCIAL_AUTH_EDX_OAUTH2_ISSUER + "/logout"
SOCIAL_AUTH_REDIRECT_IS_HTTPS = {% if ENABLE_HTTPS %}True{% else %}False{% endif %} SOCIAL_AUTH_REDIRECT_IS_HTTPS = {% if ENABLE_HTTPS %}True{% else %}False{% endif %}
DISCOVERY_BASE_URL = "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}"
MEDIA_URL = DISCOVERY_BASE_URL + "/media/"
{{ patch("discovery-production-settings") }} {{ patch("discovery-production-settings") }}