Daniel Sheppard
29d4859e02
Fixes #8375 - Change ASN display column from ASDOT to ASPLAIN. Add ASDOT display column.
2022-01-18 11:23:52 -06:00
jeremystretch
38963e7960
Fixes #8377 : Fix calculation of absolute cable lengths when specified in fractional units
2022-01-18 11:09:12 -05:00
jeremystretch
3e3880823b
Merge v3.1.6
2022-01-17 11:12:54 -05:00
jeremystretch
1584d51433
PRVB
2022-01-17 10:16:37 -05:00
jeremystretch
69f525bfd3
Release v3.1.6
2022-01-17 09:49:16 -05:00
jeremystretch
2b31154834
Fixes #8358 : Fix inconsistent styling of custom fields on filter & bulk edit forms
2022-01-14 14:23:58 -05:00
Jeremy Stretch
a50e4e3380
Merge pull request #8352 from jasonyates/8342-created-updated
...
Fixes #8342
2022-01-14 11:48:52 -05:00
Jason Yates
1ae5a2c808
Fixes #8357 - Filter view for Locations is missing tags field
...
Adding tag field to Locations filter view
2022-01-14 06:19:25 -08:00
Jason Yates
0181a25d70
Fixes #8342
...
created & last_updated fields are missing from some REST API calls. Added missing fields to the following API calls
/api/dcim/virtual-chassis/
/api/dcim/cables/
/api/dcim/power-panels/
/api/dcim/rack-reservations/
/api/circuits/circuit-terminations/
/api/extras/webhooks/
/api/extras/custom-fields/
/api/extras/custom-links/
/api/extras/export-templates/
/api/extras/tags/
2022-01-13 19:13:28 -08:00
Jeremy Stretch
3802a78c9d
Merge pull request #8341 from jasonyates/8337-created-updated
...
Add created & last updated as available fields to all tables
2022-01-13 15:23:12 -05:00
jeremystretch
0ca6d73614
#8293 : Tweak table column output & add changelog
2022-01-13 15:10:06 -05:00
Jeremy Stretch
5077ff169e
Merge pull request #8343 from netbox-community/1591-service-templates
...
Closes #1591 : Service templates
2022-01-13 12:09:36 -05:00
jeremystretch
b21b6238cf
Fix test permissions
2022-01-13 11:52:06 -05:00
Jeremy Stretch
cf89984c7a
Merge pull request #8339 from rodvand/feature
...
Fixes : #8295 Render the payload_url of a Webhook with Jinja2
2022-01-13 11:36:56 -05:00
jeremystretch
707aad234e
Add view test for creating service from template
2022-01-13 11:27:29 -05:00
jeremystretch
bb5ded2039
Enable creating services from templates in the UI
2022-01-13 10:32:42 -05:00
Jason Yates
381796e708
Add created & last updated as available fields to all tables
...
Adds two fields to all relevant tables to allow the addition of Created & Last Updated columns.
All tables with a Configure Table option were updated.
Some sections reformatted to comply with E501 line length as a result of changes
2022-01-13 09:22:32 +00:00
Jason Yates
62fc7717c8
Suggested changes
...
* Updating asdot computation to use an fstring
* Cleaning code. Custom property now returns either the ASN with ASDOT notation or just the ASN. asn_with_asdot can now be referenced in ASNTable & objet template.
2022-01-13 04:58:51 +00:00
jeremystretch
b07a7ba9bc
Fix display of custom object fields within tables
2022-01-12 17:07:54 -05:00
jeremystretch
97e7ef9a3f
Introduce ServiceTemplate
2022-01-12 16:42:28 -05:00
Martin Rødvand
5cbc978cad
Render the payload_url of the Webhook with Jinja2
...
- Update markdown documentation
- Expand on the help text for the Webhook model
2022-01-12 21:58:19 +01:00
Jason Yates
85f588e8c9
Updating page title to include asdot notation
2022-01-12 16:44:22 +00:00
Jason Yates
ea644868a6
Adding asdot notation to ASN views
...
Adds custom property to asn model to compute asdot notation if required.
Updates asn view to show asdot notation if one exists in the format xxxxx (yyy.yyy)
Adds a custom column renderer to asn table to display asdot notation if one exists
2022-01-12 14:06:22 +00:00
jeremystretch
c8713d94d8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
Jason Yates
be8fef0228
Fixes #8279
...
A device that is part of a VC that has no name should display [virtual-chassis name]:[virtual-chassis position] as opposed to [device_type] in the rack rendering.
2022-01-11 21:03:18 +00:00
jeremystretch
b584f09223
Fixes #8319 : Custom URL fields should honor ALLOWED_URL_SCHEMES config parameter
2022-01-11 15:32:04 -05:00
jeremystretch
d2968c95df
Fixes #8314 : Prevent custom fields with default values from appearing as applied filters erroneously
2022-01-11 15:02:10 -05:00
jeremystretch
7421e5f7d7
Fixes #8317 : Fix CSV import of multi-select custom field values
2022-01-11 14:52:47 -05:00
jeremystretch
dd0b16bff5
Fixes #8305 : Fix assignment of custom field data to FHRP groups via UI
2022-01-10 15:26:01 -05:00
jeremystretch
d5443adc74
Tweak sidebar colors & remove hover delay
2022-01-10 15:13:12 -05:00
jeremystretch
9152ba72f1
Fixes #8306 : Redirect user to previous page after login
2022-01-10 14:44:25 -05:00
jeremystretch
ff396b5953
Fix CSV import test & form cleanup
2022-01-10 14:27:52 -05:00
jeremystretch
21e0e6e495
Closes #6954 : Remember users' table ordering preferences
2022-01-10 14:03:07 -05:00
jeremystretch
72e17914e2
Closes #8296 : Allow disabling custom links
2022-01-10 12:11:37 -05:00
Jeremy Stretch
17aa37ae21
Merge pull request #8303 from netbox-community/7679-table-actions
...
Closes #7679 : Object table actions menus
2022-01-10 11:38:07 -05:00
jeremystretch
aed23d61fc
Replace ButtonsColumn with ActionsColumn
2022-01-10 11:17:40 -05:00
jeremystretch
076ca46ab4
Closes #8302 : Linkify role column in device & VM tables
2022-01-10 09:48:14 -05:00
jeremystretch
02519b270e
Fixes #8301 : Fix delete button for various object children views
2022-01-10 09:30:50 -05:00
Jeremy Stretch
6383dfa854
Merge pull request #8292 from jasonyates/8246-commit-rate
...
Fixes #8246 - Circuits list view to display formatted commit rate
2022-01-10 08:36:47 -05:00
Jeremy Stretch
5a4fb0323b
Merge pull request #8286 from jasonyates/8285-cluster-count-tenant
...
Fixes #8285 tenant cluster count
2022-01-10 08:34:02 -05:00
jeremystretch
e84a282aa6
Revert REST API changes from #8284
2022-01-10 08:24:45 -05:00
Jason Yates
f732493473
Fixing code style E302
2022-01-08 22:24:25 +00:00
Jason Yates
f66a265fcf
Fixes #8246 - Circuits list view to display formatted commit rate
...
Adds a custom column class to format the commit rate in the circuits table view using humanize_speed template helper. Export still exports the raw number.
2022-01-08 21:55:07 +00:00
Daniel Sheppard
0f58faaddb
#7853 - Initial work on Speed/Duplex.
...
TODO: Documentation, Tests, Form order
2022-01-08 12:25:30 -06:00
Daniel Sheppard
d65c05aacd
Merge pull request #8269 from bluikko/cisco-stackwise-n
...
Merge PR from bluikko for #8265
2022-01-08 00:20:43 -06:00
Daniel Sheppard
2b28ffa2f4
Merge pull request #8284 from jasonyates/8262-tenant-cable-stat
...
Fixes #8262 - Add Cable stat for Tenant
2022-01-08 00:15:35 -06:00
Daniel Sheppard
10ec31df3e
Fix #8287 - Correct label in export template form
2022-01-08 00:13:58 -06:00
Jason Yates
184b1055dc
Fixes #8285 - Cluster count missing from tenant api output
2022-01-07 20:17:43 +00:00
Jason Yates
eaec25e6c2
Fixes #8262 - Add Cable stat for Tenant
2022-01-07 20:02:45 +00:00
jeremystretch
3e277de82d
Closes #7852 : Enable assigning interfaces to VRFs
2022-01-07 14:57:43 -05:00
jeremystretch
8b07fbc554
Allow passing additional columns & specifying a sequence
2022-01-07 11:56:18 -05:00
jeremystretch
bff7400de4
Convert ActionsMenuItem to dataclass
2022-01-07 11:23:04 -05:00
jeremystretch
1024adca72
Exclude actions column from export
2022-01-07 11:00:35 -05:00
jeremystretch
ededa69e4a
Only show relevant links for user permissions
2022-01-07 10:53:00 -05:00
jeremystretch
6d48ce4a25
Always include actions as a default column
2022-01-07 10:36:58 -05:00
jeremystretch
00a8fd654e
Refactor table utilities
2022-01-07 09:12:48 -05:00
bluikko
b63e29610e
Add Cisco StackWise-n choices
2022-01-07 11:56:54 +07:00
jeremystretch
58f7eb319f
Initial work on #7679
2022-01-06 16:53:24 -05:00
jeremystretch
bfc695434c
Add object_type validation
2022-01-06 13:43:40 -05:00
jeremystretch
1e80cc6db5
Clean up & extend custom field tests
2022-01-06 13:24:37 -05:00
jeremystretch
b0db5a8b0a
PRVB
2022-01-06 09:58:50 -05:00
jeremystretch
e90b9f6c19
Release v3.1.5
2022-01-06 09:24:28 -05:00
jeremystretch
4c1199e009
Fixes #8255 : Fix bulk editing of authentication parameters for wireless LANs and links
2022-01-06 08:54:05 -05:00
jeremystretch
65471068b6
Closes #8252 : Linkify type and group columns in clusters table
2022-01-05 21:36:20 -05:00
jeremystretch
7aa1fabbd7
Fix tests
2022-01-05 21:21:23 -05:00
jeremystretch
85c06372ff
Fix bulk editing for custom object fields
2022-01-05 21:04:44 -05:00
jeremystretch
c6467a824b
#8228 : Always add a blank choice
2022-01-05 17:10:59 -05:00
jeremystretch
271b7adeb8
Extend to support the assignment of multiple objects per field
2022-01-05 17:05:54 -05:00
jeremystretch
b1d1f3c6b2
Fixes #8228 : Optional ChoiceVar fields should not force a selection
2022-01-05 15:46:04 -05:00
jeremystretch
574c2e2770
Closes #8244 : Add length & length unit fields to cable filter form
2022-01-05 15:32:34 -05:00
jeremystretch
ccda73494f
Center modal dialog vertically
2022-01-05 14:57:56 -05:00
jeremystretch
443b4ccc57
Initial work on #8231
2022-01-05 14:06:56 -05:00
Daniel Sheppard
88ac0f5d34
Work on #6221 - Make templatetags safe for consumption when using plugins and update ButtonColumn to use viewname helper.
2022-01-05 11:31:00 -06:00
jeremystretch
511aedd5db
Omit table configuration form from rack elevations view
2022-01-05 11:39:58 -05:00
jeremystretch
2524290099
Introduce modals template block
2022-01-05 09:21:48 -05:00
jeremystretch
01e8017265
Clean up template blocks
2022-01-05 09:09:39 -05:00
jeremystretch
8338fc405f
Simplify theme color palette
2022-01-04 20:51:10 -05:00
jeremystretch
0a22b3990f
#7450 : Clean up footer and navbar styles
2022-01-04 20:42:44 -05:00
jeremystretch
954d81147e
Reindex migrations
2022-01-04 17:07:37 -05:00
jeremystretch
fa1e28e860
Initial work on #7006
2022-01-04 16:59:52 -05:00
jeremystretch
662cafe416
Form widgets & style cleanup
2022-01-04 15:01:16 -05:00
jeremystretch
ea961ba8f2
Fixes #8224 : Fix KeyError exception when creating FHRP group with IP address and protocol "other"
2022-01-04 13:49:07 -05:00
jeremystretch
8c8774cd2f
Fixes #8226 : Honor return URL after populating a device bay
2022-01-04 13:24:15 -05:00
jeremystretch
2fe02ddb1f
Add tests for IPAM object children views
2022-01-04 09:32:41 -05:00
jeremystretch
e11e8a5d64
Fixes #8213 : Fix ValueError exception under prefix IP addresses view
2022-01-04 09:15:25 -05:00
jeremystretch
0978777eec
Merge v3.1.4
2022-01-03 11:20:58 -05:00
jeremystretch
79bebf7c9b
PRVB
2022-01-03 11:18:46 -05:00
jeremystretch
9de53fe070
Release v3.1.4
2022-01-03 11:00:23 -05:00
jeremystretch
ecb9fc65b7
Closes #8197 : Allow filtering sites by group when connecting a cable
2022-01-03 10:41:43 -05:00
jeremystretch
05d4176d34
Fixes #8201 : Custom integer fields should allow negative integers as minimum/maximum values
2022-01-03 10:07:19 -05:00
jeremystretch
1c7604e0fe
Fixes #8200 : Correct typo in navigation menu
2022-01-03 09:20:26 -05:00
jeremystretch
e18dc43aae
Fixes #8196 : Fix IndexError exception when viewing large IPv6 prefixes in UI
2022-01-03 09:17:15 -05:00
jeremystretch
cdd51aee75
Closes #8194 : Enable bulk user assignment to groups under admin UI
2021-12-30 13:19:18 -05:00
jeremystretch
51851f6c99
Refactor users.admin
2021-12-30 13:08:09 -05:00
jeremystretch
ab98aa489c
Related objects should be prefetched for Prefix/IPRange child object views
2021-12-30 12:43:37 -05:00
jeremystretch
5829985ca8
Remove power utilization as default column from racks table
2021-12-30 12:02:20 -05:00
jeremystretch
2fa8e27f05
Fixes #8192 : Add "add prefix" button to aggregate child prefixes view
2021-12-30 12:00:37 -05:00
jeremystretch
68f92dfd5d
Fix redirection URL for prefix IP ranges view
2021-12-30 11:47:21 -05:00
jeremystretch
67aeb380e7
Fix DNS name label in IP address bulk edit form
2021-12-30 11:46:09 -05:00
jeremystretch
2319fce092
Add tab to cable connect view
2021-12-30 09:51:30 -05:00
jeremystretch
a5f1707662
Fixes #8191 : Fix return URL when adding IP addresses to VM interfaces
2021-12-30 09:46:02 -05:00
jeremystretch
6cda55da06
Fixes #8187 : Fix rendering of tags column in object tables
2021-12-30 09:41:35 -05:00
jeremystretch
8e69961744
Fix CustomLinkButtonClassChoices references in tests
2021-12-30 08:15:43 -05:00
jeremystretch
9f53497e39
Clean up & expand button color choices
2021-12-29 20:28:12 -05:00
jeremystretch
791cc093f4
Enable the association of inventory item templates with component templates
2021-12-29 16:30:44 -05:00
jeremystretch
4c15f4a84f
Initial work on #8118
2021-12-29 15:37:01 -05:00
jeremystretch
3bb485d0b8
Merge v3.1.3
2021-12-29 12:41:56 -05:00
jeremystretch
c3f2fee633
PRVB
2021-12-29 12:40:04 -05:00
jeremystretch
13c4d13157
Release NetBox v3.1.3
2021-12-29 12:10:46 -05:00
jeremystretch
43fadab3bb
Closes #8034 : Enable specifying custom field validators during CSV import
2021-12-29 11:57:27 -05:00
jeremystretch
82a0240d2e
Closes #8182 : Introduce checkmark template tag
2021-12-29 10:26:42 -05:00
jeremystretch
f2aa35d3d2
Closes #7600 : Include count of available IPs on prefix view
2021-12-29 09:59:25 -05:00
jeremystretch
9c9fcaf42f
Fixes #7290 : Defer loading API-backed form fields
2021-12-29 09:30:43 -05:00
jeremystretch
146a51ceba
Clean up API tokens view
2021-12-29 09:10:56 -05:00
jeremystretch
b0350e9e96
Remove navbar background color
2021-12-29 08:56:59 -05:00
jeremystretch
b3ea007e0a
Update ChoiceSets to use base colors
2021-12-28 20:18:07 -05:00
jeremystretch
a0d6cb1fd3
Simplify theme color palette
2021-12-28 17:14:04 -05:00
jeremystretch
7b66dae2f0
Merge branch 'develop' into feature
2021-12-28 16:14:24 -05:00
jeremystretch
35e346c4b9
Fix circuit termination button style
2021-12-28 16:13:58 -05:00
jeremystretch
3982f13569
Show parent device/VM when creating new components
2021-12-28 15:19:41 -05:00
jeremystretch
21356b487a
#7846 : Show assigned component (if any) when creating inventory item
2021-12-28 14:15:06 -05:00
jeremystretch
1987647cc3
Closes #8175 : Display parent object when attaching an image
2021-12-28 13:06:27 -05:00
jeremystretch
a0836b6876
Add inventory items panel to device component views
2021-12-28 11:06:34 -05:00
jeremystretch
e0319cc894
Clean up form rendering
2021-12-28 10:22:00 -05:00
jeremystretch
4075cc8518
Restore front port component creation
2021-12-28 09:53:56 -05:00
jeremystretch
8ca09ec07f
Clean up form display
2021-12-28 08:54:03 -05:00
jeremystretch
ba85101d30
Update component model forms to use DynamicModelChoiceField query_params for related objects
2021-12-27 21:25:47 -05:00
jeremystretch
a237c01b4b
Refactor ComponentCreateView to use separate forms for names/labels and model creation
2021-12-27 21:04:29 -05:00
jeremystretch
99d5013de3
Initial work on #7846
2021-12-27 14:01:25 -05:00
jeremystretch
6e9afccfd7
#8037 : Add role field to InventoryItem
2021-12-27 10:45:33 -05:00
jeremystretch
04fb5e544d
#3087 : Add InvetoryItemRole
2021-12-27 10:18:39 -05:00
jeremystretch
542534aeba
Add direct link to preferences in user menu
2021-12-23 14:41:39 -05:00
jeremystretch
908a2824ba
Reduce saturation of 'info' theme color
2021-12-23 14:34:09 -05:00
jeremystretch
77dd684916
Closes #7784 : Support cluster type assignment for config contexts
2021-12-23 14:20:03 -05:00
jeremystretch
bffd22038b
Closes #7681 : Add service_id field for provider networks
2021-12-23 13:50:01 -05:00
jeremystretch
544d991e1e
Closes #8168 : Add min/max VID fields to VLANGroup
2021-12-23 11:22:10 -05:00
jeremystretch
083fda3172
#2658 : Fix test permissions
2021-12-23 10:46:57 -05:00
jeremystretch
e0cfd5e49b
Closes #2658 : Avalable VLANs API endpoint for VLAN groups
2021-12-23 10:14:28 -05:00
jeremystretch
2dd165bbef
Merge branch 'develop' into feature
2021-12-23 08:32:40 -05:00
jeremystretch
9dafb36c88
Introduce CustomLinkColumn
2021-12-22 20:56:11 -05:00
jeremystretch
3d7d19b608
Move rendering logic under CustomLink class
2021-12-22 20:25:57 -05:00
jeremystretch
d650d10cb2
#7449 : Apply distinctive styling to top navbar
2021-12-22 15:32:35 -05:00
jeremystretch
7fe45018e9
#7449 : Remove red color from logout link
2021-12-22 15:22:06 -05:00
jeremystretch
4c4cab87fb
#7449 : Don't color valid form fields
2021-12-22 15:18:24 -05:00
jeremystretch
94c7f64baf
Relocate confirmation_form.html
2021-12-22 15:08:04 -05:00
jeremystretch
f369b5f588
Reorganize & clean up templatetag templates
2021-12-22 15:05:24 -05:00
jeremystretch
37065b7c50
Remove obsolete template
2021-12-22 14:47:42 -05:00
Jeremy Stretch
063abc8ef7
Merge pull request #8153 from davama/develop
...
Add missing HTTP_X_FORWARDED_FOR
2021-12-22 12:46:22 -05:00
jeremystretch
fb4511d099
Fixes #8140 : Restore missing fields on wireless LAN & link REST API serializers
2021-12-22 10:55:06 -05:00
jeremystretch
7343ae7339
Fix invalid key retrieval
2021-12-22 10:45:21 -05:00
jeremystretch
cb6342c874
Reference DEFAULT_USER_PREFERENCES for undefined preferences
2021-12-22 10:13:08 -05:00
jeremystretch
01997efcbe
Add tests & cleanup
2021-12-22 09:51:31 -05:00
jeremystretch
7926225e9b
Improve preferences form rendering
2021-12-22 09:35:29 -05:00
jeremystretch
1aafcf241f
Enable plugins to define user preferences
2021-12-22 09:10:50 -05:00
jeremystretch
1eeac7f4f4
Introduce DEFAULT_USER_PREFERENCES dynamic config setting
2021-12-21 20:30:59 -05:00
jeremystretch
2c01e178c7
Update config context display to reference data_format preference
2021-12-21 19:59:33 -05:00
jeremystretch
36d2422eef
Introduce UserPreference to define user preferences
2021-12-21 17:05:06 -05:00
jeremystretch
70f257b1ea
Introduce UserConfigForm for managing user preferences
2021-12-21 16:29:01 -05:00
jeremystretch
275560698f
Fixes #8139 : Fix rendering of table configuration form under VM interfaces view
2021-12-21 14:10:12 -05:00
jeremystretch
d4b6fe14c3
Fixes #8138 : Fix alignment of tags panel within IP address view
2021-12-21 14:04:15 -05:00
jeremystretch
f1350a1022
FIxes #7972 : Standardize name of RemoteUserBackend logger
2021-12-21 13:57:12 -05:00
jeremystretch
344fb638fd
Fixes #8127 : Fix disassociation of interface under IP address edit view
2021-12-21 13:17:54 -05:00
thatmattlove
373cc74a33
Fixes #8134 : reinitialize event listeners when HTMX swaps elements
2021-12-21 11:11:33 -07:00
jeremystretch
8e95ac42c2
Closes #8100 : Add "other" choice for FHRP group protocol
2021-12-21 13:05:38 -05:00
jeremystretch
ceb941df81
Closes #8135 : Append version when fetching static assets
2021-12-21 13:00:52 -05:00
jeremystretch
d275538116
Changelog & cleanup for #7246 , #8097
2021-12-21 11:53:31 -05:00
Jeremy Stretch
fa38cdbc0d
Merge pull request #8121 from kkthxbye-code/fix-8097
...
Fix #8097 : Re-fix markdown table rendering
2021-12-21 11:50:24 -05:00
Jeremy Stretch
7569544b7b
Merge pull request #8063 from rizlas/develop
...
Get_Environment from napalm should not need any decoding
2021-12-21 11:43:23 -05:00
Jeremy Stretch
853a52f3ca
Merge branch 'develop' into fix-8097
2021-12-21 11:37:58 -05:00
jeremystretch
5e32c69e0e
Merge branch 'develop' into feature
2021-12-21 11:28:16 -05:00
rizlas
39a0b15df4
Update netbox/dcim/api/views.py
...
Test without decode_dict function
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-12-21 17:15:54 +01:00
jeremystretch
a0db10838b
Fixes #8131 : Restore annotation of available IPs under prefix IPs view
2021-12-21 11:09:30 -05:00
jeremystretch
f2f10dff92
Fix RearPortTemplateTable buttons
2021-12-21 10:57:46 -05:00
jeremystretch
7ba45b2887
Clean up imports
2021-12-21 10:48:10 -05:00
jeremystretch
c91eb8f406
Remove extraneous output from service edit template
2021-12-21 10:30:30 -05:00
jeremystretch
57a78b3cad
Clean up device/devicetype tab views
2021-12-21 10:28:28 -05:00
jeremystretch
8af12b22bb
Clean up report & script templates
2021-12-21 08:43:01 -05:00
jeremystretch
17ba0a97d5
Remove jobs Javascript
2021-12-20 20:59:14 -05:00
jeremystretch
4ae2b4e0b9
Convert reports to use HTMX
2021-12-20 20:52:29 -05:00
jeremystretch
872691a138
Convert scripts to use HTMX
2021-12-20 20:45:32 -05:00
kkthxbye-code
3a54ecb522
Fix #8097 : Re-fix markdown table rendering
2021-12-20 23:31:24 +01:00
jeremystretch
71b4641e18
Merge v3.1.2
2021-12-20 16:28:11 -05:00
jeremystretch
42b590af77
PRVB
2021-12-20 16:06:42 -05:00
jeremystretch
df4f80e773
Release v3.1.2
2021-12-20 15:48:28 -05:00
jeremystretch
b8b485af4d
Changelog & PEP8 cleanup for #7999
2021-12-20 14:17:52 -05:00
Jeremy Stretch
892d6b55ec
Merge pull request #8000 from joni1993/more-channels
...
feat: add 6GHz & 60Ghz channels
2021-12-20 14:16:12 -05:00
Jeremy Stretch
4a3bc8d365
Merge pull request #8111 from bonktree/opaque-icon
...
templates: add an opaque icon for mobile home screens
2021-12-20 13:58:25 -05:00
jeremystretch
e12da72615
Fixes #8101 : Preserve return URL when using "create and add another" button
2021-12-20 13:41:22 -05:00
jeremystretch
f95e510060
Fixes #8102 : Raise validation error when attempting to assign an IP address to multiple objects
2021-12-20 13:09:28 -05:00
Daniel Sheppard
82932ae7a5
Fixes #8102 - Add validation around assigned objects
2021-12-20 11:07:44 -06:00
jeremystretch
eaa1165611
Add position field for module bays
2021-12-20 09:51:55 -05:00
jeremystretch
14fc37a8b8
Closes #7661 : Remove forced styling of custom banners
2021-12-19 15:33:48 -05:00
Arseny Maslennikov
7b23856cc8
templates: add an opaque icon for mobile home screens
...
The netbox_touch-icon-180.png icon was produced by rendering
netbox_icon.svg into a 160x160 square, centered in a 180x180 PNG filled
by the background colour of #212529 .
In other words, it is a screenshot of the following HTML element:
```html
<div style="width: 180px;height: 180px;background-color: #212529;">
<svg xmlns="http://www.w3.org/2000/svg " viewBox="0 0 320 320" style="padding: 10px;">
<g fill="#9cc8f8" stroke="#9cc8f8">
<circle cx="37" cy="284" r="23"></circle>
<circle cx="101" cy="37" r="23"></circle>
<circle cx="101" cy="220" r="23"></circle>
<circle cx="284" cy="220" r="23"></circle>
<rect x="93" y="37" width="16" height="180"></rect>
<rect x="101" y="212" width="180" height="16"></rect>
<rect x="93" y="212" width="16" height="90" transform="rotate(45 101 220)"></rect>
</g>
<g fill="#1685fc" stroke="#1685fc">
<circle cx="284" cy="37" r="23"></circle>
<circle cx="37" cy="101" r="23"></circle>
<circle cx="220" cy="101" r="23"></circle>
<circle cx="220" cy="284" r="23"></circle>
<rect x="37" y="93" width="180" height="16"></rect>
<rect x="212" y="101" width="16" height="180"></rect>
<rect x="212" y="93" width="16" height="90" transform="rotate(225 220 101)"></rect>
</g>
</svg>
</div>
```
2021-12-19 01:32:15 +03:00
jeremystretch
85f9690377
Closes #8083 : Removed "related devices" panel from device view
2021-12-18 14:30:28 -05:00
jeremystretch
4723500c5f
Fixes #8092 : Rack elevations should not include device asset tags
2021-12-18 14:26:32 -05:00
jeremystretch
2db82a73a5
#8096 : Include only first assigned IP in FHRPGroup string representation
2021-12-18 14:19:57 -05:00
jeremystretch
b00eeb86ea
Fixes #8096 : Fix DataError during change logging of objects with very long string representations
2021-12-18 14:16:37 -05:00
jeremystretch
628e186846
Closes #8108 : Improve breadcrumb links for device/VM components
2021-12-18 14:02:01 -05:00
jeremystretch
cf4a55bc2f
Closes #8107 : Correct template name
2021-12-18 13:52:39 -05:00
jeremystretch
ed6a160372
Add modules to device component serializers
2021-12-17 20:31:15 -05:00
jeremystretch
7dc4e00b4d
Add module, module_bay columns to device component tables
2021-12-17 20:15:49 -05:00
jeremystretch
e0d7511eaa
Misc cleanup
2021-12-17 16:34:51 -05:00
jeremystretch
7777922bef
Add Module model
2021-12-17 16:12:03 -05:00
jeremystretch
5bd223a468
Fix YAML import for ModuleTypes
2021-12-17 13:28:17 -05:00
jeremystretch
7c60e3c0ff
Add Module model
2021-12-17 12:18:37 -05:00
jeremystretch
e529d7fd3b
Add ModuleBay and ModuleBayTemplate models
2021-12-17 09:35:57 -05:00
jeremystretch
5f9f0e3ed3
Split generic views into separate modules
2021-12-16 16:41:43 -05:00
jeremystretch
e91a76c936
Refactor bulk generic views
2021-12-16 16:28:23 -05:00
Christian Jonak
cab07c7c4b
fix: non 20Mhz-wide channel centers
2021-12-16 19:28:39 +01:00
jeremystretch
7735a539e9
Fixes #8088 : Improve legibility of text in labels with light-colored backgrounds
2021-12-16 12:44:18 -05:00
Christian Jonak
68eb6fc3c1
fix: use center freq instead of beginning of freq range for 6Ghz
2021-12-16 18:14:56 +01:00
jeremystretch
ea6cdc9673
Closes #7650 : Add support for local account password validation
2021-12-16 11:28:57 -05:00
jeremystretch
d8be8e25a5
ChoiceSet cleanup
2021-12-16 10:31:32 -05:00
jeremystretch
1902ecb8ca
Drop as_dict() method from ChoiceSet
2021-12-16 10:22:05 -05:00
jeremystretch
124302908a
Support nested choice groups
2021-12-16 10:19:16 -05:00
jeremystretch
0d3b50a5e5
Support CSS class definition directly in CHOICES iterable
2021-12-16 10:03:23 -05:00
jeremystretch
419f86a4a5
#8054 : Support configurable status choices
2021-12-16 09:36:15 -05:00
jeremystretch
fd785fc9a5
Move speed select dropdown menu to widget template
2021-12-16 08:41:43 -05:00
jeremystretch
8d06908353
Bulk component add view should use tabs
2021-12-15 16:57:30 -05:00
jeremystretch
28f577738a
Merge branch 'develop' into feature
2021-12-15 13:19:17 -05:00
jeremystretch
044e203eab
Standardize button colors
2021-12-15 12:16:50 -05:00
jeremystretch
fcc7207b67
Restore actions column under VM interfaces table
2021-12-15 12:11:20 -05:00
jeremystretch
8dbd3f332b
Closes #8081 : Allow creating services directly from navigation menu
2021-12-15 11:55:27 -05:00
jeremystretch
f43ec7c05d
Add "add IP range" button to prefix IP ranges view
2021-12-15 11:03:38 -05:00
jeremystretch
997e88af00
Merge branch 'develop' into feature
2021-12-15 10:53:21 -05:00
jeremystretch
ff9dde54e3
Ensure consistent placement of table paginator
2021-12-15 10:34:20 -05:00
jeremystretch
3699f16848
Show per-page selector only when results are present
2021-12-15 09:46:59 -05:00
Jeremy Stretch
57d3bfcfc9
Merge pull request #8073 from netbox-community/8057-htmx-tables
...
Closes #8057 : Dynamic object tables using HTMX
2021-12-15 09:16:41 -05:00
jeremystretch
b92e34556f
Fixes #8077 : Fix exception when attaching image to location, circuit, or power panel
2021-12-15 08:45:17 -05:00
jeremystretch
b6ff55309e
Fixes #8078 : Add missing wireless models to lsmodels() in nbshell
2021-12-15 08:38:19 -05:00
jeremystretch
305d88ebda
Fixes #8079 : Fix validation of LLDP neighbors when connected device has an asset tag
2021-12-15 08:36:03 -05:00
jeremystretch
cdc73d4f56
Closes #8080 : Link to NAT IPs for device/VM primary IPs
2021-12-15 08:35:01 -05:00
jeremystretch
0e50c964d5
Remove obsolete pagination TS/CSS
2021-12-14 21:00:48 -05:00
jeremystretch
863fb9aa47
Sync HTMX and non-HTMX paginator styles
2021-12-14 20:53:24 -05:00
jeremystretch
298fb00a3e
Remove obsolete "quick find" TS
2021-12-14 20:04:49 -05:00
jeremystretch
d1e8c06d36
Fixes #8074 : Ordering VMs by name should reference naturalized value
2021-12-14 17:03:03 -05:00
jeremystretch
8ed79d5973
Remove obsolete templates
2021-12-14 16:44:03 -05:00
jeremystretch
85b10b59e4
Introduce child prefixes view for aggregates
2021-12-14 16:38:25 -05:00
jeremystretch
9a53c22833
Serve HTMX JS locally
2021-12-14 15:55:40 -05:00
jeremystretch
c981b5cba0
Add prep_table_data() method to ObjectChildrenView
2021-12-14 15:42:28 -05:00
jeremystretch
4ffa823ab8
Enable HTMX for all ObjectChildrenViews
2021-12-14 15:31:42 -05:00
jeremystretch
402136dc8f
Merge branch '8069-generic-children-view' into 8057-htmx-tables
2021-12-14 14:21:08 -05:00
jeremystretch
59ee30f056
Update cluster VM/device views to use ObjectChildrenView
2021-12-14 14:08:44 -05:00
jeremystretch
c795068a78
Update VLAN member interface views to use ObjectChildrenView
2021-12-14 14:03:44 -05:00
jeremystretch
5ce080779b
Update IPRange IP addresses view to use ObjectChildrenView
2021-12-14 13:55:09 -05:00
jeremystretch
8d3b296eed
Update device/VM component views to use ObjectChildrenView
2021-12-14 13:47:40 -05:00
jeremystretch
cfdb985d00
Update prefix children views to use ObjectChildrenView
2021-12-14 13:33:53 -05:00
jeremystretch
af6f0db284
Introduce ObjectChildrenView
2021-12-14 13:33:36 -05:00
jeremystretch
491eac184e
Enable HTMX for connections lists
2021-12-14 11:53:16 -05:00
jeremystretch
414d33eb26
Refactor HTMX table template
2021-12-14 11:41:39 -05:00
jeremystretch
2dad35186a
Generic view cleanup
2021-12-14 11:28:13 -05:00
jeremystretch
6dd6094088
Push HTMX URL to browser location
2021-12-14 08:25:17 -05:00
rizlas
2ec64a2ea2
Get_Environment from napalm should not need any decoding
2021-12-14 10:17:00 +01:00
jeremystretch
5c34a75032
Enable HTMX for quick table search
2021-12-13 20:15:03 -05:00
jeremystretch
91f33d3289
#8057 : Enable dynamic tables for object list views
2021-12-13 16:51:59 -05:00
jeremystretch
c50dc1eb35
Standardize usage of table template
2021-12-13 15:36:51 -05:00
jeremystretch
dc1331e736
Fixes #7674 : Fix inadvertent application of device type context to virtual machines
2021-12-13 13:42:59 -05:00
jeremystretch
afc866eee4
#7665 : Refactored add_requested_prefixes(); removed button icons
2021-12-13 12:15:43 -05:00
Jeremy Stretch
5d6158dd64
Merge pull request #7826 from WillIrvine/develop
...
Add filter for optionally including assigned prefixes
2021-12-13 12:04:38 -05:00
jeremystretch
f2f6edabf9
Merge branch 'develop' into feature
2021-12-13 11:29:54 -05:00
jeremystretch
e9549ab0bd
PRVB
2021-12-13 09:16:55 -05:00
jeremystretch
66d206a710
Release v3.1.1
2021-12-13 08:51:55 -05:00
jeremystretch
bfc1cab6df
Fixes #8051 : Contact group parent assignment should not be required under REST API
2021-12-13 08:22:48 -05:00
jeremystretch
5b0c79629e
Closes #8047 : Display sorting indicator in table column headers
2021-12-10 21:03:24 -05:00
jeremystretch
7922d3909a
Fixes #8042 : Fix filtering cables list by site slug or rack name
2021-12-10 16:41:03 -05:00
jeremystretch
ee6e2e0af1
Fixes #7690 : Fix custom field integer support for MultiValueNumberFilter
2021-12-10 16:34:38 -05:00
jeremystretch
326a6be91c
#7519 : Update REST API tests
2021-12-10 15:45:22 -05:00
jeremystretch
58095e1916
Fixes #8038 : Placeholder filter should display zero integer values
2021-12-10 15:38:51 -05:00
jeremystretch
3dae077b4d
Fixes #8035 : Redirect back to parent prefix after creating IP address(es) where applicable
2021-12-10 15:34:12 -05:00
jeremystretch
7c14c0812b
Fixes #7519 : Return a 409 status for unfulfillable available prefix/IP requests
2021-12-10 15:11:45 -05:00
jeremystretch
d850b3ac7e
Fix available prefix creation test
2021-12-10 13:58:11 -05:00
jeremystretch
91fe158c26
Restore endpoint schema documentation
2021-12-10 13:23:49 -05:00
jeremystretch
661b3c4bfb
Fix queryset restrictions
2021-12-10 12:52:48 -05:00
jeremystretch
35eabc0353
Move available IPs endpoints to separate views
2021-12-10 12:37:55 -05:00
jeremystretch
ef5bbdb1e2
Move available prefixes endpoint to its own view
2021-12-10 11:40:57 -05:00
jeremystretch
88fae2171d
Closes #7691 : Remove field_order from filterset forms
2021-12-10 08:57:19 -05:00
jeremystretch
7d99e15dc3
Closes #7743 : Remove legacy ASN field from site model
2021-12-09 17:01:27 -05:00
jeremystretch
d2d2978288
Closes #7748 : Remove legacy contact fields from site model
2021-12-09 16:23:39 -05:00
jeremystretch
8680981990
Closes #8031 : Remove automatic redirection of legacy slug-based URLs
2021-12-09 15:43:41 -05:00
jeremystretch
62e5680eaf
Closes #7731 : Require Python 3.8 or later
2021-12-09 15:35:40 -05:00
jeremystretch
de698154cd
Fixes #8030 : Validate custom field names
2021-12-09 15:19:19 -05:00
jeremystretch
1df05715c2
Fixes #8033 : Fix display of zero values for custom integer fields in tables
2021-12-09 14:56:12 -05:00
jeremystretch
e5524da40e
Fixes #8009 : Validate IP addresses for uniqueness when creating an FHRP group
2021-12-09 13:46:19 -05:00
jeremystretch
50d393e0f9
Clean up user preferences view
2021-12-08 16:36:06 -05:00
jeremystretch
cd08836f3e
Refresh user profile view; add recent activity
2021-12-08 16:32:31 -05:00
jeremystretch
45ac1cfd54
Fixes #8019 : Exclude metrics endpoint when LOGIN_REQUIRED is true
2021-12-08 15:47:41 -05:00
jeremystretch
dda11ec69e
Fixes #8003 : Fix cable tracing across bridged interfaces with no cable
2021-12-08 11:35:50 -05:00
jeremystretch
7be6206d9d
Fixes #8010 : Allow filtering devices by multiple serial numbers
2021-12-08 11:08:19 -05:00
jeremystretch
4d896573b1
Fixes #8005 : Fix contact email display
2021-12-08 11:04:03 -05:00
jeremystretch
988383648c
Fixes #8001 : Correct verbose name for wireless LAN group model
2021-12-08 10:45:27 -05:00
Daniel Sheppard
d59847537d
Fix #7990 - Fix title display on contact view
2021-12-07 10:58:44 -06:00
jeremystretch
36859d89c8
Fixes #7996 : Show WWN field in interface creation form
2021-12-07 10:59:08 -05:00
Christian Jonak-Möchel
cc50e22928
feat: add 6GHz & 60Ghz channels
2021-12-07 15:14:17 +01:00
William Irvine
13414dcd25
pep8 compliance...
2021-12-07 10:13:54 +13:00
jeremystretch
ba8b593351
PRVB
2021-12-06 16:13:48 -05:00
William Irvine
aebfccfd4b
Merge branch 'develop' into develop
2021-12-07 10:06:35 +13:00
jeremystretch
5164b78da1
Release v3.1.0
2021-12-06 15:01:36 -05:00
jeremystretch
029605f926
Clean up site view
2021-12-06 13:43:02 -05:00
jeremystretch
0cd173f9df
Update django-taggit to 2.0
2021-12-06 13:25:09 -05:00
jeremystretch
f94c1e91ea
Merge branch 'develop' into feature
2021-12-06 12:10:31 -05:00
jeremystretch
dc6decd404
Release v3.0.12
2021-12-06 11:54:50 -05:00
jeremystretch
40c6b172f7
Fixes #7981 : Fix Markdown sanitization regex
2021-12-06 11:33:00 -05:00
thatmattlove
7cb9cedfe1
Fixes #7823 : Properly handle return_url when Save & Continue button is present
2021-12-03 16:20:05 -07:00
jeremystretch
b43980d660
Fixes #7960 : Prevent creation of regions/site groups/locations with duplicate names (see #7354 )
2021-12-03 15:09:56 -05:00
jeremystretch
09b612546b
Omit actions column from non-paginated child object tables
2021-12-03 11:07:16 -05:00
jeremystretch
a99d14c13f
Closes #7924 : Include child groups on contact group view
2021-12-03 11:00:00 -05:00
jeremystretch
68f322a03b
Closes #7925 : Linkify contact phone and email attributes
2021-12-03 10:51:24 -05:00
Jeremy Stretch
d5f308d9c9
Merge pull request #7928 from kkthxbye-code/fix-7751
...
Fix #7751 : LDAP: Only get API user from ldap when FIND_GROUP_PERMS is on
2021-12-03 09:48:58 -05:00
Jonathan Senecal
1377eda0ba
Add support for L22-30P power port type ( #7915 )
...
* Add support for L22-30P power port type
Fixes #7892
* Add support for L22-30R power outlet type
2021-12-03 09:43:42 -05:00
Rhys Barrie
f1466d6da3
netbox-community/netbox#7885 : Linkify VLAN name in VLAN tables
2021-12-02 12:27:30 -05:00
Will Irvine
ca07a88674
fix spelling...
2021-12-02 10:47:19 +13:00
Will Irvine
dcfd332cbf
Moved filtering logic to utils, adjusted show buttons
2021-12-01 19:24:44 +13:00
thatmattlove
dc3040550d
Merge branch 'fast-filter' into develop
2021-11-30 10:10:38 -07:00
bluikko
bbdd3804c7
Add multistandard ITA power outlet type
2021-11-26 10:06:52 +07:00
kkthxbye
a0b9ac7bcc
UI: Improve performance of the quick filter
2021-11-25 12:14:07 +01:00
kkthxbye
8bb0cba949
Fix #7751 - LDAP: Only get API user from ldap when FIND_GROUP_PERMS is enabled
2021-11-25 08:09:50 +01:00
jeremystretch
870aa3a265
Merge branch 'develop' into feature
2021-11-24 14:00:37 -05:00
jeremystretch
86ada33577
PRVB
2021-11-24 13:58:57 -05:00
jeremystretch
57ccbf44b8
Release v3.0.11
2021-11-24 13:25:57 -05:00
jeremystretch
416caa8f50
Hide code blocks when not needed
2021-11-24 13:17:59 -05:00
Jeremy Stretch
c9b00891ed
Merge pull request #7861 from netbox-community/7657-threadsafe-changelog
...
Fixes #7657 : Make request/webhook caching thread-safe
2021-11-24 09:06:48 -05:00
Robin Schneider
175498940e
Fixes #7897 : CEE 7/5 is only a power outlet, no power port
...
Ref:
* https://en.wikipedia.org/wiki/CEE_7_standard_AC_plugs_and_sockets#CEE_7/5_socket_and_CEE_7/6_plug_(French;_Type_E)
* https://blog.packetsar.com/wp-content/uploads/Power_and_Cooling_Cheat_Sheet.pdf
2021-11-21 23:41:36 +01:00
Robin Schneider
eded00cbb3
chore: Always use "CEE 7" (with the space) consistently
2021-11-21 22:23:29 +01:00
Dave
038d7e0fa6
Add missing HTTP_X_FORWARDED_FOR
...
See discussion [here](https://github.com/netbox-community/netbox/discussions/7876 ) for background.
From the [doc](https://netbox.readthedocs.io/en/stable/customization/custom-scripts/ ) i should be able to access `META.HTTP_X_FORWARDED_FOR` but i was not able to since they were not being sent downstream
2021-11-19 15:20:00 -05:00
jeremystretch
b7c9ca720a
Closes #7886 : Introduce a base FilterForm class
2021-11-19 15:12:45 -05:00
jeremystretch
5f59f458f4
Fixes #7880 : Include assigned IP addresses in FHRP group object representation
2021-11-19 11:34:59 -05:00
jeremystretch
b6fe613329
Fix redirection after creating FHRP group assignment
2021-11-19 10:42:13 -05:00
jeremystretch
cd128e557c
Closes #7884 : Add FHRP groups column to interface tables
2021-11-19 10:27:56 -05:00
jeremystretch
beca978af5
Clean up imports
2021-11-18 16:48:29 -05:00
jeremystretch
98a830a6a0
Apply BootstrapMixin to ComponentForm
2021-11-18 16:32:22 -05:00
jeremystretch
ed2231e34b
Apply BootstrapMixin to CustomFieldModelFilterForm
2021-11-18 16:27:06 -05:00
jeremystretch
55049bb303
Apply BootstrapMixin to BulkEditForm
2021-11-18 16:23:26 -05:00
jeremystretch
c210c6937b
Apply BootstrapMixin to CustomFieldModelForm
2021-11-18 16:19:25 -05:00
jeremystretch
1c9d39d3e6
Fix REST API version reporting for beta releases
2021-11-18 11:19:00 -05:00
jeremystretch
f16c6d81cf
Merge branch 'develop' into feature
2021-11-18 11:06:54 -05:00
Jeremy Stretch
8299845615
Merge pull request #7676 from kkthxbye-code/develop
...
Fix #7399 : LDAP excessive CPU usage when AUTH_LDAP_FIND_GROUP_PERMS is enabled
2021-11-18 09:58:34 -05:00
jeremystretch
9ae5865c2d
Fixes #7865 : REST API should support null values for console port speeds
2021-11-18 09:34:41 -05:00
jeremystretch
c2d0cfdfc0
Fixes #7864 : power_port can be null when creating power outlets
2021-11-18 09:27:45 -05:00
jeremystretch
6a369ac985
Closes #7531 : Add Markdown support for strikethrough formatting
2021-11-17 16:50:23 -05:00
jeremystretch
23d90823a3
Fixes #7720 : Fix initialization of custom script MultiObjectVar field with multiple values
2021-11-17 16:22:47 -05:00
jeremystretch
4bfb6b476c
Fixes #7859 : Fix styling of form widgets under cable connection views
2021-11-17 15:53:26 -05:00
jeremystretch
0d60099588
Move request object and webhook queue to TLS
2021-11-17 15:12:19 -05:00
jeremystretch
9a45547cda
Closes #5143 : Include a device's asset tag in its display value
2021-11-17 13:06:57 -05:00
jeremystretch
a000ded350
Remove "primary for" references to Device on IPAddress
2021-11-17 12:50:46 -05:00
jeremystretch
424ac29131
Closes #7812 : Enable change logging for image attachments
2021-11-17 11:52:50 -05:00
jeremystretch
b7b5a5788f
Fixes #7589 : Correct 128GFC interface type identifier
2021-11-17 11:18:41 -05:00
jeremystretch
9de179cba8
Closes #7858 : Standardize the representation of content types across import & export functions
2021-11-17 11:02:22 -05:00
jeremystretch
94069e76c9
Fixes #7857 : Fix ordering IP addresses by assignment status
2021-11-17 08:51:17 -05:00
jeremystretch
df9d67b873
Fixes #7851 : Add missing cluster name filter for virtual machines
2021-11-17 08:48:09 -05:00
jeremystretch
6f7fbf7686
Fixes #7849 : Fix exception when creating an FHRPGroup with an invalid IP address
2021-11-16 16:50:20 -05:00