-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/netbox-community/netbox …
…into 14044-bulkrename-nameless-devices
- Loading branch information
Showing
732 changed files
with
117,894 additions
and
176,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
repos: | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.6.9 | ||
hooks: | ||
- id: ruff | ||
name: "Ruff linter" | ||
args: [ netbox/ ] | ||
- repo: local | ||
hooks: | ||
- id: django-check | ||
name: "Django system check" | ||
description: "Run Django's internal check for common problems" | ||
entry: python netbox/manage.py check | ||
language: system | ||
pass_filenames: false | ||
types: [python] | ||
- id: django-makemigrations | ||
name: "Django migrations check" | ||
description: "Check for any missing Django migrations" | ||
entry: python netbox/manage.py makemigrations --check | ||
language: system | ||
pass_filenames: false | ||
types: [python] | ||
- id: mkdocs-build | ||
name: "Build documentation" | ||
description: "Build the documentation with mkdocs" | ||
files: 'docs/' | ||
entry: mkdocs build | ||
language: system | ||
pass_filenames: false | ||
- id: yarn-validate | ||
name: "Yarn validate" | ||
description: "Check UI ESLint, TypeScript, and Prettier compliance" | ||
files: 'netbox/project-static/' | ||
entry: yarn --cwd netbox/project-static validate | ||
language: system | ||
pass_filenames: false | ||
- id: verify-bundles | ||
name: "Verify static asset bundles" | ||
description: "Ensure that any modified static assets have been compiled" | ||
files: 'netbox/project-static/' | ||
entry: scripts/verify-bundles.sh | ||
language: system | ||
pass_filenames: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="md-copyright"> | ||
{% if config.copyright %} | ||
<div class="md-copyright__highlight"> | ||
{{ config.copyright }} | ||
</div> | ||
{% endif %} | ||
{% if not config.extra.generator == false %} | ||
Made with | ||
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> | ||
Material for MkDocs | ||
</a> | ||
{% endif %} | ||
</div> | ||
{% if not config.extra.build_public %} | ||
<div class="md-copyright"> | ||
ℹ️ Documentation is being served locally | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# GraphQL API Parameters | ||
|
||
## GRAPHQL_ENABLED | ||
|
||
!!! tip "Dynamic Configuration Parameter" | ||
|
||
Default: True | ||
|
||
Setting this to False will disable the GraphQL API. | ||
|
||
--- | ||
|
||
## GRAPHQL_MAX_ALIASES | ||
|
||
Default: 10 | ||
|
||
The maximum number of queries that a GraphQL API request may contain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.