Skip to content

Commit

Permalink
Merge branch 'release/7.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbonothing64 committed Apr 19, 2024
2 parents 2f98f57 + 4c0afde commit 414eff7
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 6 deletions.
2 changes: 1 addition & 1 deletion csunplugged/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Module for Django system configuration."""

__version__ = "7.4.0"
__version__ = "7.4.1"
5 changes: 0 additions & 5 deletions csunplugged/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,5 @@
"https://canterbury.ac.nz"
]

CSRF_TRUSTED_ORIGINS = [
"https://*.localhost",
"https://*.canterbury.ac.nz"
]

# Used by speaker notes for at a distance slides
X_FRAME_OPTIONS = "SAMEORIGIN"
9 changes: 9 additions & 0 deletions csunplugged/config/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,12 @@ def show_django_debug_toolbar(request):
# Suppress these loggers in local development for less noise in logs
logging.getLogger('gunicorn.access').handlers = [] # noqa F405
logging.getLogger('gunicorn.error').handlers = [] # noqa F405


# CSRF
# ------------------------------------------------------------------------------
CSRF_TRUSTED_ORIGINS = [
"https://www.csunplugged.org",
"https://cs-unplugged-dev.csse.canterbury.ac.nz",
"https://cs-unplugged.localhost",
]
6 changes: 6 additions & 0 deletions csunplugged/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@
# SECURE_SSL_REDIRECT = env.bool("DJANGO_SECURE_SSL_REDIRECT", default=True) # noqa: F405
# CSRF_COOKIE_SECURE = True
# CSRF_COOKIE_HTTPONLY = True

# CSRF
# ------------------------------------------------------------------------------
CSRF_TRUSTED_ORIGINS = [
"https://www.csunplugged.org",
]
8 changes: 8 additions & 0 deletions csunplugged/config/settings/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@
("de", "German"),
("fr", "French"),
)

# CSRF
# ------------------------------------------------------------------------------
CSRF_TRUSTED_ORIGINS = [
"https://www.csunplugged.org",
"https://cs-unplugged-dev.csse.canterbury.ac.nz",
"https://cs-unplugged.localhost",
]
9 changes: 9 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ All notable changes to this project will be documented in this file.
fit the Semantic Versioning model. However these version numbers can still
provide a good indication of the changes in each version.
7.2.1
==============================================================================

**Release date:** 19 April 2024

**Changelog:**

- Fix jobe access issue breaking Plugging it in test code button.

7.4.0
==============================================================================

Expand Down

0 comments on commit 414eff7

Please sign in to comment.