Skip to content

Commit

Permalink
Merge pull request #10758 from netbox-community/develop
Browse files Browse the repository at this point in the history
Release v3.3.6
  • Loading branch information
jeremystretch authored Oct 26, 2022
2 parents 56d9725 + eac2ace commit f1a7bce
Show file tree
Hide file tree
Showing 76 changed files with 2,124 additions and 2,486 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body:
attributes:
label: NetBox version
description: What version of NetBox are you currently running?
placeholder: v3.3.5
placeholder: v3.3.6
validations:
required: true
- type: dropdown
Expand Down
14 changes: 9 additions & 5 deletions .github/ISSUE_TEMPLATE/documentation_change.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ body:
label: Area
description: To what section of the documentation does this change primarily pertain?
options:
- Installation instructions
- Configuration parameters
- Functionality/features
- REST API
- Administration/development
- Features
- Installation/upgrade
- Getting started
- Configuration
- Customization
- Integrations/API
- Plugins
- Administration
- Development
- Other
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body:
attributes:
label: NetBox version
description: What version of NetBox are you currently running?
placeholder: v3.3.5
placeholder: v3.3.6
validations:
required: true
- type: dropdown
Expand Down
9 changes: 5 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<!--
Thank you for your interest in contributing to NetBox! Please note that
our contribution policy requires that a feature request or bug report be
approved and assigned prior to filing a pull request. This helps avoid
wasting time and effort on something that we might not be able to accept.
approved and assigned prior to opening a pull request. This helps avoid
waste time and effort on a proposed change that we might not be able to
accept.
IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED
TO YOU, IT WE BE CLOSED AUTOMATICALLY.
TO YOU, IT WILL BE CLOSED AUTOMATICALLY.
Specify your assigned issue number on the line below.
Please specify your assigned issue number on the line below.
-->
### Fixes: #1234

Expand Down
12 changes: 11 additions & 1 deletion docs/installation/6-ldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Next, create a file in the same directory as `configuration.py` (typically `/opt
### General Server Configuration

!!! info
When using Windows Server 2012 you may need to specify a port on `AUTH_LDAP_SERVER_URI`. Use `3269` for secure, or `3268` for non-secure.
When using Active Directory you may need to specify a port on `AUTH_LDAP_SERVER_URI` to authenticate users from all domains in the forest. Use `3269` for secure, or `3268` for non-secure access to the GC (Global Catalog).

```python
import ldap
Expand All @@ -67,6 +67,16 @@ AUTH_LDAP_BIND_PASSWORD = "demo"
# Note that this is a NetBox-specific setting which sets:
# ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER)
LDAP_IGNORE_CERT_ERRORS = True

# Include this setting if you want to validate the LDAP server certificates against a CA certificate directory on your server
# Note that this is a NetBox-specific setting which sets:
# ldap.set_option(ldap.OPT_X_TLS_CACERTDIR, LDAP_CA_CERT_DIR)
LDAP_CA_CERT_DIR = '/etc/ssl/certs'

# Include this setting if you want to validate the LDAP server certificates against your own CA.
# Note that this is a NetBox-specific setting which sets:
# ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, LDAP_CA_CERT_FILE)
LDAP_CA_CERT_FILE = '/path/to/example-CA.crt'
```

STARTTLS can be configured by setting `AUTH_LDAP_START_TLS = True` and using the `ldap://` URI scheme.
Expand Down
32 changes: 16 additions & 16 deletions docs/plugins/development/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,73 +144,73 @@ class MyModelFilterForm(NetBoxModelFilterSetForm):
In addition to the [form fields provided by Django](https://docs.djangoproject.com/en/stable/ref/forms/fields/), NetBox provides several field classes for use within forms to handle specific types of data. These can be imported from `utilities.forms.fields` and are documented below.

::: utilities.forms.ColorField
selection:
options:
members: false

::: utilities.forms.CommentField
selection:
options:
members: false

::: utilities.forms.JSONField
selection:
options:
members: false

::: utilities.forms.MACAddressField
selection:
options:
members: false

::: utilities.forms.SlugField
selection:
options:
members: false

## Choice Fields

::: utilities.forms.ChoiceField
selection:
options:
members: false

::: utilities.forms.MultipleChoiceField
selection:
options:
members: false

## Dynamic Object Fields

::: utilities.forms.DynamicModelChoiceField
selection:
options:
members: false

::: utilities.forms.DynamicModelMultipleChoiceField
selection:
options:
members: false

## Content Type Fields

::: utilities.forms.ContentTypeChoiceField
selection:
options:
members: false

::: utilities.forms.ContentTypeMultipleChoiceField
selection:
options:
members: false

## CSV Import Fields

::: utilities.forms.CSVChoiceField
selection:
options:
members: false

::: utilities.forms.CSVMultipleChoiceField
selection:
options:
members: false

::: utilities.forms.CSVModelChoiceField
selection:
options:
members: false

::: utilities.forms.CSVContentTypeField
selection:
options:
members: false

::: utilities.forms.CSVMultipleContentTypeField
selection:
options:
members: false
8 changes: 4 additions & 4 deletions docs/plugins/development/graphql-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ schema = MyQuery
NetBox provides two object type classes for use by plugins.

::: netbox.graphql.types.BaseObjectType
selection:
options:
members: false

::: netbox.graphql.types.NetBoxObjectType
selection:
options:
members: false

## GraphQL Fields

NetBox provides two field classes for use by plugins.

::: netbox.graphql.fields.ObjectField
selection:
options:
members: false

::: netbox.graphql.fields.ObjectListField
selection:
options:
members: false
18 changes: 9 additions & 9 deletions docs/plugins/development/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,38 +52,38 @@ This will automatically apply any user-specific preferences for the table. (If u
The table column classes listed below are supported for use in plugins. These classes can be imported from `netbox.tables.columns`.

::: netbox.tables.BooleanColumn
selection:
options:
members: false

::: netbox.tables.ChoiceFieldColumn
selection:
options:
members: false

::: netbox.tables.ColorColumn
selection:
options:
members: false

::: netbox.tables.ColoredLabelColumn
selection:
options:
members: false

::: netbox.tables.ContentTypeColumn
selection:
options:
members: false

::: netbox.tables.ContentTypesColumn
selection:
options:
members: false

::: netbox.tables.MarkdownColumn
selection:
options:
members: false

::: netbox.tables.TagColumn
selection:
options:
members: false

::: netbox.tables.TemplateColumn
selection:
options:
members:
- __init__
20 changes: 10 additions & 10 deletions docs/plugins/development/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,24 +84,24 @@ Below are the class definitions for NetBox's object views. These views handle CR
::: netbox.views.generic.base.BaseObjectView

::: netbox.views.generic.ObjectView
selection:
options:
members:
- get_object
- get_template_name

::: netbox.views.generic.ObjectEditView
selection:
options:
members:
- get_object
- alter_object

::: netbox.views.generic.ObjectDeleteView
selection:
options:
members:
- get_object

::: netbox.views.generic.ObjectChildrenView
selection:
options:
members:
- get_children
- prep_table_data
Expand All @@ -113,22 +113,22 @@ Below are the class definitions for NetBox's multi-object views. These views han
::: netbox.views.generic.base.BaseMultiObjectView

::: netbox.views.generic.ObjectListView
selection:
options:
members:
- get_table
- export_table
- export_template

::: netbox.views.generic.BulkImportView
selection:
options:
members: false

::: netbox.views.generic.BulkEditView
selection:
options:
members: false

::: netbox.views.generic.BulkDeleteView
selection:
options:
members:
- get_form

Expand All @@ -137,12 +137,12 @@ Below are the class definitions for NetBox's multi-object views. These views han
These views are provided to enable or enhance certain NetBox model features, such as change logging or journaling. These typically do not need to be subclassed: They can be used directly e.g. in a URL path.

::: netbox.views.generic.ObjectChangeLogView
selection:
options:
members:
- get_form

::: netbox.views.generic.ObjectJournalView
selection:
options:
members:
- get_form

Expand Down
29 changes: 29 additions & 0 deletions docs/release-notes/version-3.3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# NetBox v3.3

## v3.3.6 (2022-10-26)

### Enhancements

* [#9584](https://github.com/netbox-community/netbox/issues/9584) - Enable filtering devices by device type slug
* [#9722](https://github.com/netbox-community/netbox/issues/9722) - Add LDAP configuration parameters to specify certificates
* [#10580](https://github.com/netbox-community/netbox/issues/10580) - Link "assigned" checkbox in IP address table to assigned interface
* [#10639](https://github.com/netbox-community/netbox/issues/10639) - Set cookie paths according to configured `BASE_PATH`
* [#10685](https://github.com/netbox-community/netbox/issues/10685) - Position A/Z termination cards above the fold under circuit view

### Bug Fixes

* [#9669](https://github.com/netbox-community/netbox/issues/9669) - Strip colons from usernames when using remote authentication
* [#10575](https://github.com/netbox-community/netbox/issues/10575) - Include OIDC dependencies for python-social-auth
* [#10584](https://github.com/netbox-community/netbox/issues/10584) - Fix service clone link
* [#10610](https://github.com/netbox-community/netbox/issues/10610) - Allow assignment of VC member to LAG on non-master peer
* [#10643](https://github.com/netbox-community/netbox/issues/10643) - Ensure consistent display of custom fields for all model forms
* [#10646](https://github.com/netbox-community/netbox/issues/10646) - Fix filtering of power feed by power panel when connecting a cable
* [#10655](https://github.com/netbox-community/netbox/issues/10655) - Correct display of assigned contacts in object tables
* [#10682](https://github.com/netbox-community/netbox/issues/10682) - Correct home view links to connection lists
* [#10712](https://github.com/netbox-community/netbox/issues/10712) - Fix ModuleNotFoundError exception when generating API schema under Python 3.9+
* [#10716](https://github.com/netbox-community/netbox/issues/10716) - Add left/right page plugin content embeds for tag view
* [#10719](https://github.com/netbox-community/netbox/issues/10719) - Prevent user without sufficient permission from creating an IP address via FHRP group creation
* [#10723](https://github.com/netbox-community/netbox/issues/10723) - Distinguish between inside/outside NAT assignments for device/VM primary IPs
* [#10745](https://github.com/netbox-community/netbox/issues/10745) - Correct display of status field in clusters list
* [#10746](https://github.com/netbox-community/netbox/issues/10746) - Add missing status attribute to cluster view

---

## v3.3.5 (2022-10-05)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plugins:
- os.chdir('netbox/')
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "netbox.settings")
- django.setup()
rendering:
options:
heading_level: 3
members_order: source
show_root_heading: true
Expand Down
6 changes: 6 additions & 0 deletions netbox/circuits/forms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ class Meta:
class CircuitTypeForm(NetBoxModelForm):
slug = SlugField()

fieldsets = (
('Circuit Type', (
'name', 'slug', 'description', 'tags',
)),
)

class Meta:
model = CircuitType
fields = [
Expand Down
Loading

0 comments on commit f1a7bce

Please sign in to comment.