Skye Fugate
b51be3f075
Merge 39d2b726af into 993628d8f0
2025-09-30 13:45:42 +02:00
Kelly Shutt
109ef8afd2
Update DATABASES syntax.
2025-08-04 13:10:06 -04:00
Skye A. Fugate
eaad696666
feat: add SSO environment variable support for OKTA and Google OAuth2
...
Add native support for SSO configuration through environment variables
and Docker secrets, eliminating the need to modify configuration.py
for common SSO providers.
Changes:
- Add OKTA OpenID Connect configuration variables:
- SOCIAL_AUTH_OKTA_OPENIDCONNECT_KEY (env var)
- SOCIAL_AUTH_OKTA_OPENIDCONNECT_SECRET (env var + Docker secret: okta_openidconnect_secret)
- SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL (env var)
- Add Google OAuth2 configuration variables:
- SOCIAL_AUTH_GOOGLE_OAUTH2_KEY (env var)
- SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET (env var + Docker secret: google_oauth2_secret)
Follows existing patterns with _read_secret() for sensitive data and
environ.get() for non-sensitive configuration.
Resolves : netbox-community/netbox-docker#1139
2025-07-03 13:12:52 -05:00
Marco Kamner
f394400b2b
Feature: Support ISOLATED_DEPLOYMENT setting
2025-01-17 15:33:01 +01:00
Christian Mäder
8017bb72b9
Merge pull request #1255 from threes33/HTTP_PROXIES
...
Add HTTP_PROXIES related parameters
2024-06-06 18:14:51 +02:00
threes33
f0b3a0701c
Adds HTTP_PROXIES related parameters
2024-06-04 12:29:35 -07:00
Christian Mäder
2bbb2d16e1
Merge pull request #1144 from hendrikbl/remote-auth-env
...
add missing REMOTE_AUTH config options
2024-05-25 15:43:23 +02:00
Tobias Genannt
8c691f1308
Change LOGIN_REQUIRED default to 'True'
2024-05-21 13:42:13 +02:00
Tobias Genannt
1a4ef09a16
Merge branch 'develop' into prepare-nb40
2024-05-04 10:02:19 +02:00
Christian Mäder
e1335a1194
Adds SECURE_* parameters introduced in 3.7.6
...
See https://github.com/netbox-community/netbox/issues/15644
2024-04-23 16:40:40 +02:00
Tobias Genannt
e141d9f16d
Prepare for Netbox 4.0
2024-04-17 14:09:24 +02:00
Hendrik Blöß
9169fc7684
added missing REMOTE_AUTH config options
2024-01-30 12:14:16 +01:00
Tobias Genannt
b8a7ffdb7b
Merge pull request #1134 from NeodymiumFerBore/feat/redis-sentinel-config
...
Add Redis Sentinel config as environment vars
2024-01-20 10:46:06 +01:00
NdFeB
291ba760f1
Add Redis Sentinel config as environment vars
2024-01-16 14:28:59 +01:00
kindlich
2fbb5dd0b0
Add env var for CENSUS_REPORTING_ENABLED
...
See #999
2024-01-16 10:20:03 +01:00
NeodymiumFerBore
12af4233bd
Map REMOTE_AUTH_BACKEND env var to list
2023-08-25 11:26:36 +02:00
NeodymiumFerBore
ec603633ea
Set REMOTE_AUTH_AUTO_CREATE_USER default to False
2023-08-04 23:49:44 +02:00
Tobias Genannt
055538cc21
Fixed type in else
2023-05-08 17:44:09 +02:00
Marc Leuser
5408cf5af0
rename JOBRESULT_RETENTION to JOB_RETENTION
2023-05-07 21:23:10 +02:00
Tobias Genannt
155e90c99f
Removed BASE_PATH from configuration
...
Setting the BASE_PATH is a more involved process than just setting this variable.
To prevent surprises the option to set this via ENV variable was removed.
2023-04-27 09:32:42 +02:00
Tobias Genannt
cb524c32ed
Preparation for Netbox 3.5
...
- Reports and Scripts have changed in Netbox 3.5. They need to be uploaded now.
The Docker compose now creates a volume as it does for the media files
- Napalm has been removed from Netbox 3.5
All configuration entries for Napalm were removed and napalm itself is removed from the requirements file
- Removed Gunicorn from the image
Nginx Unit has been used for a while now. No need to install Gunicorn
2023-04-27 09:32:42 +02:00
Christian Harendt
ff373bd60d
Update configuration.py
2023-01-27 15:05:17 +01:00
Christian Harendt
bd07a7a5a2
Add redis username parameter
2023-01-27 15:02:11 +01:00
Tobias Genannt
7e0a8fee82
Improved comment
2023-01-03 16:48:00 +01:00
Tobias Genannt
73f479d5db
Ensure that '*' or 'localhost' is always in ALLOWED_HOSTS
2023-01-03 14:41:26 +01:00
Christian Mäder
df8f406432
Remove unnecessary import
2022-10-15 10:23:14 +02:00
Christian Mäder
b8b1c8fc63
Rename conversion lambdas
2022-10-15 10:23:14 +02:00
Christian Mäder
41ff541225
Simplified test for existance of dynamic parameters
2022-10-15 10:17:49 +02:00
Christian Mäder
26399e224d
Make dynamic configuration parameters actually work
2022-10-15 10:17:17 +02:00
Christian Mäder
951c12132a
Updates the configuration, changes default for dynamic paramters to None
2022-10-15 10:15:55 +02:00
Michal Tyminski
53dcdc7bfc
add JOBRESULT_RETENTION to configuration.py
...
Netbox v3.2.1 introduces new enhancement to retain old script
and report results for configured lifetime.
2022-09-01 10:03:19 -07:00
Thomas McWork
596bb6953c
preserve sort order
2022-04-19 12:59:27 +02:00
Thomas McWork
bf910dea02
Handle MAPS_URL config value
...
Regarding https://github.com/netbox-community/netbox/blob/develop/docs/configuration/dynamic-settings.md#maps_url
2022-04-19 12:21:07 +02:00
Robin Beismann
19280c2bb0
Fixed default value to reflect upstream
2022-04-08 15:36:49 +02:00
Robin Beismann
d5b1d9ce39
Added environment variable for CSRF_TRUSTED_ORIGINS
2022-04-07 16:09:27 +02:00
ryanmerolle
52876be723
add graphql
2022-01-31 21:45:29 -05:00
Tobias Genannt
a1dabcb758
Added ENV variables for INSECURE_SKIP_TLS_VERIFY
2021-10-20 09:27:18 +02:00
Tobias Genannt
c5a1557800
Removed deprecated settings
2021-08-21 18:22:24 +02:00
Ageev Pavel
dd41d09b43
Add possibility to disable server side cursors
2021-06-24 18:21:08 +03:00
Christian Mäder
493fc60401
Use black as formatter for python files
2021-02-08 18:24:29 +01:00
Christian Mäder
9d51762161
Merge pull request #359 from devon-mar/login-timeout-fix
...
Fix TypeError when using LOGIN_TIMEOUT
2020-11-13 15:36:16 +01:00
devon-mar
4276c941eb
Change LOGIN_TIMEOUT default to int
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2020-11-03 14:57:12 -08:00
devon-mar
fbfce46ce5
Fix TypeError when using LOGIN_TIMEOUT
2020-11-02 22:39:06 -08:00
Tim Oliver Rabl
255889288c
Rename SESSION_FILE_PATH default environment variable in configration.py
2020-10-30 23:06:42 +01:00
Christian Mäder
2dba2b8811
Fix default for secret_key in configuration.py
2020-10-20 21:45:37 +02:00
Christian Mäder
d0c7b87925
Improve order in configuration.py
2020-10-20 21:40:14 +02:00
Christian Mäder
ec3fd8a790
Revert accidential change to _read_secret order
2020-10-20 21:36:40 +02:00
Christian Mäder
dad0608834
Rename example.py to extra.py
...
And add some comments to the the file that hopefully guide the user.
2020-10-20 20:51:43 +02:00
Christian Mäder
553c8ea470
Update configuration.py
2020-10-20 20:49:59 +02:00
Christian Mäder
fd3d3d11d1
Tiny refactoring
2020-10-20 20:46:43 +02:00