Skip to content

Commit 23fafe1

Browse files
committed
Merge branch 'develop' into 10170-changelog
2 parents cb6d8bf + e0741cc commit 23fafe1

File tree

13 files changed

+56
-37
lines changed

13 files changed

+56
-37
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<!--
22
Thank you for your interest in contributing to NetBox! Please note
33
that our contribution policy requires that a feature request or bug
4-
report be opened for approval prior to filing a pull request. This
4+
report be approved and assigned prior to filing a pull request. This
55
helps avoid wasting time and effort on something that we might not
66
be able to accept.
77
8-
Please indicate the relevant feature request or bug report below.
9-
IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR
10-
FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED.
8+
Please indicate the assigned feature request or bug report below.
9+
IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED
10+
TO YOU, IT WE BE CLOSED AUTOMATICALLY. For example:
11+
12+
### Fixes: #1234
1113
-->
1214
### Fixes: <ISSUE NUMBER GOES HERE>
1315
<!--

CONTRIBUTING.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,28 @@ appropriate labels will be applied for categorization.
102102
[getting started](https://docs.netbox.dev/en/stable/development/getting-started/)
103103
documentation for tips on setting up your development environment.
104104

105-
* Be sure to open an issue **before** starting work on a pull request, and
106-
discuss your idea with the NetBox maintainers before beginning work. This will
107-
help prevent wasting time on something that might we might not be able to
108-
implement. When suggesting a new feature, also make sure it won't conflict with
109-
any work that's already in progress.
105+
* Be sure to open an issue and wait for it to be assigned to you **before**
106+
starting work on a pull request, and discuss your idea with the NetBox
107+
maintainers before beginning work. This will help prevent wasting time on
108+
proposed changes that we might not be able to accept. When suggesting a new
109+
feature, also make sure it won't conflict with any work that's already in
110+
progress.
110111

111112
* Once you've opened or identified an issue you'd like to work on, ask that it
112-
be assigned to you so that others are aware it's being worked on. A maintainer
113-
will then mark the issue as "accepted."
113+
be assigned to you so that others are aware it's being worked on. If it meets
114+
the acceptance criteria, a maintainer will then mark the issue as "accepted"
115+
and assign it to you. (Note that GitHub requires that a user first comment on
116+
an issue before it can be assigned to that user.)
114117

115-
* Any pull request which does _not_ relate to an **accepted** issue will be closed.
118+
* Any pull request which does not relate to an **assigned** issue will be
119+
closed.
116120

117121
* All new functionality must include relevant tests where applicable.
118122

119123
* When submitting a pull request, please be sure to work off of the `develop`
120124
branch, rather than `master`. The `develop` branch is used for ongoing
121-
development, while `master` is used for tagging stable releases.
125+
development, while `master` is used for tagging stable releases. (If you're
126+
developing for the next minor release, use `feature` instead.)
122127

123128
* In most cases, it is not necessary to add a changelog entry: A maintainer will
124129
take care of this when the PR is merged. (This helps avoid merge conflicts
@@ -136,8 +141,10 @@ these checks):
136141

137142
Only comment on an issue if you are sharing a relevant idea or constructive
138143
feedback. **Do not** comment on an issue just to show your support (give the
139-
top post a :+1: instead) or ask for an ETA. These comments will be deleted to
140-
reduce noise in the discussion.
144+
top post a :+1: instead) or to ask for an update. Doing so generates
145+
unnecessary noise in the discussion, and is especially annoying for people who
146+
have subscribed to updates for the issue. Any comments without substance
147+
relevant to the discussion will be deleted.
141148

142149
## Issue Lifecycle
143150

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
![Master branch build status](https://github.com/netbox-community/netbox/workflows/CI/badge.svg?branch=master)
66

7-
NetBox is an infrastructure resource modeling (IRM) tool designed to empower
8-
network automation, used by thousands of organizations around the world.
9-
Initially conceived by the network engineering team at
10-
[DigitalOcean](https://www.digitalocean.com/), NetBox was developed specifically
11-
to address the needs of network and infrastructure engineers. It is intended to
12-
function as a domain-specific source of truth for network operations.
7+
NetBox is the leading solution for modeling and documenting modern networks. By
8+
combining the traditional disciplines of IP address management (IPAM) and
9+
datacenter infrastructure management (DCIM) with powerful APIs and extensions,
10+
NetBox provides the ideal "source of truth" to power network automation.
11+
Available as open source software under the Apache 2.0 license, NetBox is
12+
employed by thousands of organizations around the world.
13+
14+
![Screenshot of Netbox UI](docs/media/screenshots/netbox-ui.png "NetBox UI")
1315

1416
Myriad infrastructure components can be modeled in NetBox, including:
1517

@@ -21,6 +23,7 @@ Myriad infrastructure components can be modeled in NetBox, including:
2123
* Virtual machines and clusters
2224
* IP prefixes, ranges, and addresses
2325
* VRFs and route targets
26+
* L2VPN and overlays
2427
* FHRP groups (VRRP, HSRP, etc.)
2528
* AS numbers
2629
* VLANs and scoped VLAN groups
@@ -45,11 +48,13 @@ customized and extended through the use of:
4548
NetBox also features a complete REST API as well as a GraphQL API for easily
4649
integrating with other tools and systems.
4750

51+
The complete documentation for NetBox can be found at [docs.netbox.dev](https://docs.netbox.dev/).
52+
A public demo instance is available at [demo.netbox.dev](https://demo.netbox.dev).
53+
4854
NetBox runs as a web application atop the [Django](https://www.djangoproject.com/)
4955
Python framework with a [PostgreSQL](https://www.postgresql.org/) database. For a
50-
complete list of requirements, see `requirements.txt`. The code is available [on GitHub](https://github.com/netbox-community/netbox).
51-
52-
The complete documentation for NetBox can be found at [docs.netbox.dev](https://docs.netbox.dev/). A public demo instance is available at https://demo.netbox.dev.
56+
complete list of requirements, see `requirements.txt`. The code is available
57+
[on GitHub](https://github.com/netbox-community/netbox).
5358

5459
<div align="center">
5560
<h4>Thank you to our sponsors!</h4>
@@ -90,8 +95,6 @@ our [contributing guide](CONTRIBUTING.md) prior to beginning any work.
9095

9196
### Screenshots
9297

93-
![Screenshot of main page (light mode)](docs/media/screenshots/home-light.png "Main page (light mode)")
94-
9598
![Screenshot of main page (dark mode)](docs/media/screenshots/home-dark.png "Main page (dark mode)")
9699

97100
![Screenshot of rack elevation](docs/media/screenshots/rack.png "Rack elevation")

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
NetBox is the leading solution for modeling and documenting modern networks. By combining the traditional disciplines of IP address management (IPAM) and datacenter infrastructure management (DCIM) with powerful APIs and extensions, NetBox provides the ideal "source of truth" to power network automation. Read on to discover why thousands of organizations worldwide put NetBox at the heart of their infrastructure.
66

7+
[![NetBox UI](./media/screenshots/netbox-ui.png)](./media/screenshots/netbox-ui.png)
8+
79
## :material-server-network: Built for Networks
810

911
Unlike general-purpose CMDBs, NetBox has curated a data model which caters specifically to the needs of network engineers and operators. It delivers a wide assortment of object types carefully crafted to best serve the needs of infrastructure design and documentation. These cover all facets of network technology, from IP address managements to cabling to overlays and more:
78.6 KB
Loading
-96.1 KB
Binary file not shown.
173 KB
Loading

docs/plugins/development/filtersets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ To utilize a filter set in a subclass of one of NetBox's generic views (such as
3434
```python
3535
# views.py
3636
from netbox.views.generic import ObjectListView
37-
from .filtersets import MyModelFitlerSet
37+
from .filtersets import MyModelFilterSet
3838
from .models import MyModel
3939

4040
class MyModelListView(ObjectListView):
4141
queryset = MyModel.objects.all()
42-
filterset = MyModelFitlerSet
42+
filterset = MyModelFilterSet
4343
```
4444

4545
To enable a filter set on a REST API endpoint, set the `filterset_class` attribute on the API view:

docs/release-notes/version-3.3.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
### Bug Fixes
66

77
* [#10155](https://github.com/netbox-community/netbox/issues/10155) - Fix rear port display when editing front port template for module type
8+
* [#10156](https://github.com/netbox-community/netbox/issues/10156) - Avoid forcing SVG image links to open in a new window
9+
* [#10161](https://github.com/netbox-community/netbox/issues/10161) - Restore "set null" option for custom fields during bulk edit
10+
* [#10181](https://github.com/netbox-community/netbox/issues/10181) - Restore MultiPartParser (regression from #10031)
811

912
---
1013

netbox/dcim/svg/cables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, start, url, color, labels=[], **extra):
9494
self.add(cable)
9595

9696
# Add link
97-
link = Hyperlink(href=url, target='_blank')
97+
link = Hyperlink(href=url, target='_parent')
9898

9999
# Add text label(s)
100100
cursor = start[1]
@@ -281,7 +281,7 @@ def draw_wirelesslink(self, wirelesslink):
281281
self.cursor += PADDING * 2
282282

283283
# Add link
284-
link = Hyperlink(href=f'{self.base_url}{wirelesslink.get_absolute_url()}', target='_blank')
284+
link = Hyperlink(href=f'{self.base_url}{wirelesslink.get_absolute_url()}', target='_parent')
285285

286286
# Add text label(s)
287287
for i, label in enumerate(labels):

0 commit comments

Comments
 (0)