Compare commits

...

13 Commits

Author SHA1 Message Date
Tobias Genannt
7ab38e63e5 Preparation for 4.0.1 2026-02-24 19:42:41 +01:00
Tobias Genannt
75825d28f3 Merge pull request #1626 from SUSE/feature/oidc-upstream
Add OIDC configuration
2026-02-23 15:55:00 +01:00
Felix Prasse
fec1c0b0ae OIDC configuration 2026-02-20 12:52:57 +01:00
Tobias Genannt
e476ecbb73 Merge pull request #1623 from netbox-community/renovate/dulwich-1.x
chore(deps): update dependency dulwich to v1.1.0
2026-02-18 07:15:55 +01:00
renovate[bot]
51fa7a3484 chore(deps): update dependency dulwich to v1.1.0 2026-02-17 23:14:30 +00:00
renovate[bot]
be59b22e53 chore(deps): update dependency sentry-sdk to v2.53.0 (#1622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 14:34:55 +00:00
OMGhast
42892c1d3a Copilot config setting for configuraiton.py (#1620)
* Update configuration.py - COPILOT_ENABLED
2026-02-12 07:11:01 +01:00
Tobias Genannt
b9c64695af Merge pull request #1616 from netbox-community/renovate/granian-2.x
chore(deps): update dependency granian to v2.7.1
2026-02-09 07:37:20 +01:00
renovate[bot]
99cf56960c chore(deps): update dependency granian to v2.7.1 2026-02-08 20:41:47 +00:00
Tobias Genannt
aa6250c1e6 Merge pull request #1612 from netbox-community/renovate/ghcr.io-astral-sh-uv-0.x
chore(deps): update ghcr.io/astral-sh/uv docker tag to v0.10
2026-02-06 06:56:25 +01:00
renovate[bot]
f0d0bbc852 chore(deps): update ghcr.io/astral-sh/uv docker tag to v0.10 2026-02-05 22:28:03 +00:00
Tobias Genannt
0997c32752 Merge pull request #1611 from netbox-community/renovate/sentry-sdk-2.x
chore(deps): update dependency sentry-sdk to v2.52.0
2026-02-04 17:03:56 +01:00
renovate[bot]
3e984c50bf chore(deps): update dependency sentry-sdk to v2.52.0 2026-02-04 15:34:40 +00:00
6 changed files with 26 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
ARG FROM
FROM ${FROM} AS builder
COPY --from=ghcr.io/astral-sh/uv:0.9 /uv /usr/local/bin/
COPY --from=ghcr.io/astral-sh/uv:0.10 /uv /usr/local/bin/
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -qq \
&& apt-get upgrade \

View File

@@ -1 +1 @@
4.0.0
4.0.1

View File

@@ -317,6 +317,14 @@ SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL = environ.get('SOCIAL_AUTH_OKTA_OPENIDCON
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = environ.get('SOCIAL_AUTH_GOOGLE_OAUTH2_KEY')
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = _read_secret('google_oauth2_secret', environ.get('SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET', ''))
# OIDC Configuration
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')
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
# version check or use the URL below to check for release in the official NetBox repository.
RELEASE_CHECK_URL = environ.get('RELEASE_CHECK_URL', None)
@@ -363,3 +371,6 @@ TIME_ZONE = environ.get('TIME_ZONE', 'UTC')
# If true disables miscellaneous functionality which depends on access to the Internet.
ISOLATED_DEPLOYMENT = _environ_get_and_map('ISOLATED_DEPLOYMENT', 'False', _AS_BOOL)
# Enables or disables the NetBox Copilot agent globally. When enabled, users can opt to toggle the agent individually.
COPILOT_ENABLED = _environ_get_and_map('COPILOT_ENABLED', 'True', _AS_BOOL)

View File

@@ -1,6 +1,6 @@
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.0}
image: docker.io/netboxcommunity/netbox:${VERSION-v4.5-4.0.1}
depends_on:
- postgres
- redis

9
env/netbox.env vendored
View File

@@ -42,3 +42,12 @@ SKIP_SUPERUSER=true
# SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=your_google_client_id
# SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=your_google_client_secret
WEBHOOKS_ENABLED=true
# Configuration for OIDC
# REMOTE_AUTH_BACKEND='social_core.backends.open_id_connect.OpenIdConnectAuth'
# SOCIAL_AUTH_OIDC_OIDC_ENDPOINT='https://example.org'
# SOCIAL_AUTH_OIDC_KEY=''
# SOCIAL_AUTH_OIDC_SECRET=''
# SOCIAL_AUTH_OIDC_SCOPE=openid profile email roles
# LOGOUT_REDIRECT_URL='https://example.org'
# SOCIAL_AUTH_OIDC_JWT_ALGORITHMS=RS256

View File

@@ -1,7 +1,7 @@
django-auth-ldap==5.3.0
dulwich==1.0.0
granian[uvloop]==2.7.0
dulwich==1.1.0
granian[uvloop]==2.7.1
python3-saml==1.16.0
--no-binary lxml
--no-binary xmlsec
sentry-sdk[django]==2.51.0
sentry-sdk[django]==2.53.0