diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4eb4efd..b9114cf 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,8 +19,15 @@ jobs: runs-on: ubuntu-24.04 name: Checks syntax of our code permissions: + # contents permission to clone the repository contents: read packages: read + # issues and pull-requests permissions to write results as pull + # request comments. Omit them if you don't need summary comments + issues: write + pull-requests: write + # To report GitHub Actions status checks. Omit if you don't need + # to update commit status statuses: write steps: - uses: actions/checkout@v6 diff --git a/VERSION b/VERSION index cc868b6..4bac418 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.1 \ No newline at end of file +4.0.2 \ No newline at end of file diff --git a/configuration/configuration.py b/configuration/configuration.py index 5fb5206..03c5d91 100644 --- a/configuration/configuration.py +++ b/configuration/configuration.py @@ -322,7 +322,7 @@ SOCIAL_AUTH_OIDC_OIDC_ENDPOINT = environ.get('SOCIAL_AUTH_OIDC_OIDC_ENDPOINT') SOCIAL_AUTH_OIDC_KEY = environ.get('SOCIAL_AUTH_OIDC_KEY') SOCIAL_AUTH_OIDC_SECRET = _read_secret('oidc_secret', environ.get('SOCIAL_AUTH_OIDC_SECRET', '')) SOCIAL_AUTH_OIDC_SCOPE = _environ_get_and_map('SOCIAL_AUTH_OIDC_SCOPE', '', _AS_LIST) -LOGOUT_REDIRECT_URL = environ.get('LOGOUT_REDIRECT_URL') +LOGOUT_REDIRECT_URL = environ.get('LOGOUT_REDIRECT_URL','/') SOCIAL_AUTH_OIDC_JWT_ALGORITHMS = _environ_get_and_map('SOCIAL_AUTH_OIDC_JWT_ALGORITHMS', "RS256", _AS_LIST) # This repository is used to check whether there is a new release of NetBox available. Set to None to disable the diff --git a/docker-compose.yml b/docker-compose.yml index 5d06e2a..f86aa53 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: netbox: &netbox - image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.1} + image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.2} depends_on: - postgres - redis diff --git a/requirements-container.txt b/requirements-container.txt index 4a56580..9cd3455 100644 --- a/requirements-container.txt +++ b/requirements-container.txt @@ -1,7 +1,7 @@ django-auth-ldap==5.3.0 dulwich==1.1.0 -granian[uvloop]==2.7.1 +granian[uvloop]==2.7.2 python3-saml==1.16.0 --no-binary lxml --no-binary xmlsec -sentry-sdk[django]==2.53.0 +sentry-sdk[django]==2.54.0