Merge pull request #119 from ryanmerolle/dev

release 1.2.2
This commit is contained in:
Ryan Merolle 2023-01-25 15:23:30 -05:00 committed by GitHub
commit 6c744b1064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 3 deletions

View File

@ -155,6 +155,9 @@ CORS_ORIGIN_REGEX_WHITELIST = [
# on a production system. # on a production system.
DEBUG = environ.get("DEBUG", "False").lower() == "true" DEBUG = environ.get("DEBUG", "False").lower() == "true"
# Set to True to enable DEVELOPER Mode. WARNING: ONLY netbox developers or plugin developers need this access.
DEVELOPER = environ.get("DEVELOPER_MODE", "False").lower() == "true"
# Email settings # Email settings
EMAIL = { EMAIL = {
"SERVER": environ.get("EMAIL_SERVER", "localhost"), "SERVER": environ.get("EMAIL_SERVER", "localhost"),

View File

@ -5,6 +5,7 @@ DB_NAME=netbox
DB_PASSWORD=J5brHrAXFLQSif0K DB_PASSWORD=J5brHrAXFLQSif0K
DB_USER=netbox DB_USER=netbox
DEBUG=true DEBUG=true
DEVELOPER_MODE=true
ENFORCE_GLOBAL_UNIQUE=true ENFORCE_GLOBAL_UNIQUE=true
LOGIN_REQUIRED=false LOGIN_REQUIRED=false
GRAPHQL_ENABLED=true GRAPHQL_ENABLED=true
@ -19,5 +20,4 @@ SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
SUPERUSER_EMAIL=admin@example.com SUPERUSER_EMAIL=admin@example.com
SUPERUSER_NAME=admin SUPERUSER_NAME=admin
SUPERUSER_PASSWORD=admin SUPERUSER_PASSWORD=admin
STARTUP_SCRIPTS=false
WEBHOOKS_ENABLED=true WEBHOOKS_ENABLED=true

View File

@ -40,7 +40,7 @@ Each Plugin Version listed below has been tested with its corresponding NetBox V
|:--------------:|:--------------:| |:--------------:|:--------------:|
| 3.2 | 1.0.1 | | 3.2 | 1.0.1 |
| 3.3 | 1.1.0 | | 3.3 | 1.1.0 |
| 3.4 | 1.2.1 | | 3.4 | 1.2.2 |
## Installing ## Installing

View File

@ -0,0 +1,42 @@
# Generated by Django 4.1.5 on 2023-01-25 20:08
import utilities.json
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("netbox_acls", "0002_alter_accesslist_options_and_more"),
]
operations = [
migrations.AlterField(
model_name="accesslist",
name="custom_field_data",
field=models.JSONField(
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
),
),
migrations.AlterField(
model_name="aclextendedrule",
name="custom_field_data",
field=models.JSONField(
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
),
),
migrations.AlterField(
model_name="aclinterfaceassignment",
name="custom_field_data",
field=models.JSONField(
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
),
),
migrations.AlterField(
model_name="aclstandardrule",
name="custom_field_data",
field=models.JSONField(
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
),
),
]

View File

@ -1 +1 @@
__version__ = "1.2.1" __version__ = "1.2.2"