Skip to content

Commit 6c744b1

Browse files
authored
Merge pull request #119 from ryanmerolle/dev
release 1.2.2
2 parents 69823ec + 9611816 commit 6c744b1

File tree

5 files changed

+48
-3
lines changed

5 files changed

+48
-3
lines changed

.devcontainer/configuration/configuration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def _read_secret(secret_name, default=None):
155155
# on a production system.
156156
DEBUG = environ.get("DEBUG", "False").lower() == "true"
157157

158+
# Set to True to enable DEVELOPER Mode. WARNING: ONLY netbox developers or plugin developers need this access.
159+
DEVELOPER = environ.get("DEVELOPER_MODE", "False").lower() == "true"
160+
158161
# Email settings
159162
EMAIL = {
160163
"SERVER": environ.get("EMAIL_SERVER", "localhost"),

.devcontainer/env/netbox.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ DB_NAME=netbox
55
DB_PASSWORD=J5brHrAXFLQSif0K
66
DB_USER=netbox
77
DEBUG=true
8+
DEVELOPER_MODE=true
89
ENFORCE_GLOBAL_UNIQUE=true
910
LOGIN_REQUIRED=false
1011
GRAPHQL_ENABLED=true
@@ -19,5 +20,4 @@ SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
1920
SUPERUSER_EMAIL=admin@example.com
2021
SUPERUSER_NAME=admin
2122
SUPERUSER_PASSWORD=admin
22-
STARTUP_SCRIPTS=false
2323
WEBHOOKS_ENABLED=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Each Plugin Version listed below has been tested with its corresponding NetBox V
4040
|:--------------:|:--------------:|
4141
| 3.2 | 1.0.1 |
4242
| 3.3 | 1.1.0 |
43-
| 3.4 | 1.2.1 |
43+
| 3.4 | 1.2.2 |
4444

4545
## Installing
4646

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Generated by Django 4.1.5 on 2023-01-25 20:08
2+
3+
import utilities.json
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
("netbox_acls", "0002_alter_accesslist_options_and_more"),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name="accesslist",
16+
name="custom_field_data",
17+
field=models.JSONField(
18+
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
19+
),
20+
),
21+
migrations.AlterField(
22+
model_name="aclextendedrule",
23+
name="custom_field_data",
24+
field=models.JSONField(
25+
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
26+
),
27+
),
28+
migrations.AlterField(
29+
model_name="aclinterfaceassignment",
30+
name="custom_field_data",
31+
field=models.JSONField(
32+
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
33+
),
34+
),
35+
migrations.AlterField(
36+
model_name="aclstandardrule",
37+
name="custom_field_data",
38+
field=models.JSONField(
39+
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
40+
),
41+
),
42+
]

netbox_acls/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.1"
1+
__version__ = "1.2.2"

0 commit comments

Comments
 (0)