Commit Graph

114 Commits

Author SHA1 Message Date
NdFeB
291ba760f1 Add Redis Sentinel config as environment vars 2024-01-16 14:28:59 +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
Tim Rabl
6f70b88972 squash commits that revert AUTH_LDAP_USER_SEARCH
add missing AUTH_LDAP_USER_SEARCH, removed while modifying....

revert AUTH_LDAP_USER_SEARCH variable that was accidentally removed in #931 and change behaviour to requested features in #471

remove duplicate AUTH_LDAP_USER_SEARCH variable now and fix this finally, hopefully
2023-02-01 08:18:34 +01:00
Tobias Genannt
7a9aef3791
Merge pull request #931 from timrabl/fix-471
implement extra LDAP user and group filters as requested in #471
2023-01-30 10:17:13 +01:00
Tim Oliver Rabl
3071c500da implement extra LDAP user and group filters as requested in #471 2023-01-30 09:06:22 +01: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
Tobias Genannt
bdb4396275 Added settings for CA certificates for LDAP 2022-12-01 08:17:25 +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
Tobias Genannt
d385cd2aa9
Merge pull request #779 from BegBlev/ldap-group-search-issue
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER is now loaded from environment
2022-09-21 13:03:13 +02:00
Vincent Catros
7f285af7b4
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER defaults to false 2022-09-09 16:11:21 +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
Tobias Genannt
fceb6e0e13 Removed CSRF_TRUSTED_ORIGINS from extra.py
CSRF_TRUSTED_ORIGINS is already in configuration.py
2022-07-12 17:16:20 +02:00
Vincent Catros
5ff292ba5f AUTH_LDAP_BIND_AS_AUTHENTICATING_USER is now loaded from environment 2022-06-20 14:10:37 +02:00
SejiL
993c93b34a Add CSRF option to extra.py 2022-06-12 10:51:56 +02: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
f924e76adf
Formatting 2021-04-26 08:55:22 +02:00
Christian Mäder
604ff3b76d
Merge branch 'plugins-and-logging' of https://github.com/ryanmerolle/netbox-docker into ryanmerolle-plugins-and-logging 2021-04-26 08:54:31 +02:00
ryanmerolle
96545135cb remove example evn var for logging 2021-04-25 16:38:03 -04:00
ryanmerolle
ff0bc9757a correct ldap example var name case 2021-04-24 10:57:15 -04:00
ryanmerolle
45889c3811 commented out the logging 2021-04-23 22:38:38 -04:00
ryanmerolle
69dd87689c switch plugin example to netbox_bgp 2021-04-20 07:55:12 -04:00
ryanmerolle
9fab9a3434 mention plugin wiki page in plugins.py comment 2021-04-20 07:52:08 -04:00
ryanmerolle
8176ef8499 Add expample logging configuration 2021-04-20 07:46:39 -04:00
ryanmerolle
eb5cc88b25 Add expample plugin configuration 2021-04-20 07:46:29 -04:00
ryanmerolle
6f4d025cb7 backed out ldap_config changes 2021-04-20 03:38:20 -04:00
ryanmerolle
222ede2c4b enahance ldap extra.py with more examples 2021-04-20 03:35:57 -04:00
Ryan Merolle
0dec4d8df4
Add extra.py example for ldap config 2021-02-22 16:00:08 -05:00
ryanmerolle
22186b267d do not set AUTH_LDAP_MIRROR_GROUPS if not defined 2021-02-22 15:55:40 -05: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