Commit Graph

1142 Commits

Author SHA1 Message Date
Tobias Genannt
f2d070fc49
Added more tests (#965) 2023-03-16 21:44:08 +01:00
Tobias Genannt
c001b88a81
Merge pull request #964 from tobiasge/better-base-image-check
Simplified base image check
2023-03-16 09:46:35 +01:00
Tobias Genannt
b131b07af8 Simplified basse image check 2023-03-16 07:50:24 +01:00
Tobias Genannt
311629ade4 Preparation for 2.5.1 2023-03-16 07:39:38 +01:00
Tobias Genannt
256f23b4ad
Merge pull request #961 from MarcHagen/patch-1
Catch DoesNotExist preventing startup
2023-03-16 07:37:05 +01:00
Marc
29e37a31d7
Catch DoesNotExist preventing startup
Fixes failing startup because of python error:

```
Traceback (most recent call last):
  File "/opt/netbox/netbox/./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/commands/shell.py", line 127, in handle
    exec(sys.stdin.read(), globals())
  File "<string>", line 2, in <module>
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/models/query.py", line 650, in get
    raise self.model.DoesNotExist(
users.models.Token.DoesNotExist: Token matching query does not exist.
```
2023-03-15 23:04:04 +01:00
Tobias Genannt
ac8cb022ae Preparation for 2.5.0 2023-03-15 14:32:09 +01:00
Tobias Genannt
480cabaefe
Merge pull request #955 from tobiasge/953-default-admin
Don't create superuser with default credentials
2023-03-15 14:20:07 +01:00
Tobias Genannt
ab7e19df55
Merge pull request #958 from tobiasge/954-use-skopeo
Added check for commands to all scripts
2023-03-15 14:16:39 +01:00
Tobias Genannt
4ce89f9209 Added check for commands to all scripts 2023-03-15 13:02:25 +01:00
Tobias Genannt
3e2bf7ec93 Don't create superuser with default credentials 2023-03-15 12:23:36 +01:00
Tobias Genannt
4bad061bc4
Merge pull request #957 from tobiasge/fix-action-badge
Fixed Github action badge
2023-03-15 12:08:35 +01:00
Tobias Genannt
f9abdf2390
Merge pull request #956 from tobiasge/954-use-skopeo
Replaced curl with Skopeo for in image functions
2023-03-15 12:04:10 +01:00
Tobias Genannt
cc95a67df0 Fixed Github action badge 2023-03-15 10:16:50 +01:00
Tobias Genannt
fb5bacc4b4 Replaced curl with Skopeo for in image functions 2023-03-15 09:32:37 +01:00
Tobias Genannt
ed309a15b4
Merge pull request #948 from tobiasge/lazy-reindex-on-start
Fixes #947: Rebuild search index when needed
2023-03-14 20:46:44 +01:00
Tobias Genannt
5f8a09536c
Merge pull request #951 from tobiasge/new-unit
Updated to new unit version
2023-03-01 08:53:24 +01:00
Tobias Genannt
d3a30e1172 Updated to new unit version 2023-03-01 07:39:37 +01:00
Tobias Genannt
e60a746eee Fixes #947: Rebuild search index when needed
This rebuilds the search index when models where updated.
2023-02-23 08:37:53 +01:00
Tobias Genannt
879c700bb8
Merge pull request #939 from timrabl/fix-931
Actually fix #471 and #931
2023-02-01 10:08:59 +01: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
Tobias Genannt
350747c1cb
Merge pull request #910 from sc68cal/enforcing_shortname
Prepend docker.io to image URLs
2023-01-28 18:22:19 +01:00
Tobias Genannt
250b1fb093
Merge pull request #933 from tobiasge/fix-gh-warnings
Fix Github action warnings
2023-01-28 18:21:59 +01:00
Tobias Genannt
eef45c8197 Using new GITHUB_OUTPUT method 2023-01-28 15:49:13 +01:00
Tobias Genannt
f549b93b9d
Merge pull request #932 from tobiasge/gh-token
Using GITHUB_TOKEN for API
2023-01-28 15:31:53 +01:00
Tobias Genannt
f2b0375d5b Using GITHUB_TOKEN for API 2023-01-28 13:38:28 +01:00
Tobias Genannt
3202fb9446
Merge pull request #929 from christianharendt/create-redis-username
Add redis username parameter
2023-01-28 10:14:00 +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
Sean M. Collins
41d80d66b1 Prepend docker.io to image URLs
This is to make podman happy, since newer versions of podman
have set short-name-mode to enforcing

https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md
2023-01-10 14:10:15 +01:00
Tobias Genannt
015e131d99
Merge pull request #914 from kmanwar89/patch-1
Fix syntax of docker compose commands
2023-01-05 09:47:28 +01:00
Tobias Genannt
ff37e17eeb
Merge pull request #913 from tobiasge/start_period_explanation
Added start_period to docker-compose example
2023-01-04 09:27:20 +01:00
Tobias Genannt
1403f52d04
Merge pull request #912 from tobiasge/localhost_allowed_host
Ensure that '*' or 'localhost' is always in ALLOWED_HOSTS
2023-01-03 19:06:03 +01:00
Tobias Genannt
7e0a8fee82
Improved comment 2023-01-03 16:48:00 +01:00
Tobias Genannt
0c1b69ded0
Update docker-compose.override.yml.example
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2023-01-03 16:45:09 +01:00
Tobias Genannt
06e0815c70
Merge pull request #911 from netbox-community/renovate/python3-saml-1.x
Update dependency python3-saml to v1.15.0
2023-01-03 15:12:12 +01:00
Kadar Anwar
8f2820626c
Fix syntax of docker compose commands
Docker compose's syntax changed as of Compose v2 (source: https://docs.docker.com/compose/reference/).  Replaced references of "docker-compose" with "docker compose" to align with this change.
2023-01-03 09:06:46 -05:00
Tobias Genannt
b6faad36cb Added start_period to docker-compose example 2023-01-03 14:58:41 +01:00
Tobias Genannt
73f479d5db Ensure that '*' or 'localhost' is always in ALLOWED_HOSTS 2023-01-03 14:41:26 +01:00
renovate[bot]
89ad7588f0
Update dependency python3-saml to v1.15.0 2022-12-27 23:54:03 +00:00
Tobias Genannt
a4d986011d
Merge pull request #906 from netbox-community/renovate/django-storages-1.x
Update dependency django-storages to v1.13.2
2022-12-23 16:54:27 +01:00
renovate[bot]
f2bb1198dd
Update dependency django-storages to v1.13.2 2022-12-23 05:15:28 +00:00
Tobias Genannt
39c7de4af4
Merge pull request #899 from netbox-community/develop
Release 2.4.0
2022-12-15 15:36:27 +01:00
Tobias Genannt
238f95c5ce Preparation for 2.4.0 2022-12-15 12:57:51 +01:00
Christian Mäder
751a131b78
Merge pull request #889 from netbox-community/listenOnIPv6
Make nginx-unit listen on IPv4 and IPv6
2022-12-06 21:09:02 +01:00
Tobias Genannt
5e2158da24
Merge pull request #866 from ryanmerolle/issue_784
Address housekeeping traceback
2022-12-06 18:12:02 +01:00
Tobias Genannt
4a530947f8
Merge pull request #895 from tobiasge/ldap-cert-settings
Added settings for CA certificates for LDAP
2022-12-01 13:59:22 +01:00
Tobias Genannt
bdb4396275 Added settings for CA certificates for LDAP 2022-12-01 08:17:25 +01:00