Commit Graph

11047 Commits

Author SHA1 Message Date
Charly Forot
37027a9f3e README.md: typo
infrasucture -> infrastructure
2023-03-06 10:49:02 -05:00
jose_d
bbad25f471 README.md: typo 2023-03-03 11:29:47 -05:00
Ximalas
9ffff911ab Update choices.py: Adding Cisco StackWise-1T (#11886)
Cisco Catalyst 9300X Series adds Cisco StackWise-1T.
https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-9300-series-switches/nb-06-cat9300-ser-data-sheet-cte-en.html
2023-03-02 08:59:08 -05:00
jeremystretch
ffdb1b4c08 Changelog for #11470, #11871 2023-03-01 17:34:57 -05:00
jeremystretch
a8a0fd5b88 Closes #11325: Move help_texts from model forms to models 2023-03-01 17:31:54 -05:00
rmanyari
c289d378dd Fixes #11470: Validation and user friendly message on invalid address query param (#11858)
* Fixes #11470: Validation and user friendly message on invalid address query param

* Update invalid input handling to return empty set instead of raising exception
2023-03-01 16:49:40 -05:00
Daniel W. Anner
17f7b6d303 Implemented PoE choice for IEEE 802.3az 2023-03-01 15:30:19 -05:00
jeremystretch
70c7959ccf Add mark_utilized to IPRange 2023-03-01 09:27:06 -05:00
jeremystretch
846ff92424 Closes #10374: Require unique tenant names & slugs per group (not globally) 2023-02-28 20:03:41 -05:00
Jeremy Stretch
177843b5e5 Closes #10729: Add date & time custom field type (#11857)
* Add datetime custom field type

* Update custom field tests
2023-02-28 13:33:40 -05:00
Jeremy Stretch
2b8c41f3d6 Closes #8550: Implement ASN ranges (#11835)
* Move ASN to a separate module

* Move ASNField from dcim to ipam

* Introduce ASNRange model

* Add relationship from ASN to ASNRange

* Add an available-asns API endpoint

* Add RIR assignment for ASNRange

* Add standard tests

* Move child ASNs to a tabbed view

* Remove FK on ASN to ASNRange

* Add tests for provisioning available ASNs

* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
jeremystretch
92bdf8a6f4 Changelog for #11011 2023-02-27 15:38:21 -05:00
jeremystretch
bef7432dca Optimize shallow_compare_dict() 2023-02-27 15:38:21 -05:00
aron bergur jóhannsson
8a1246b250 Update toggle caption for vif 2023-02-27 14:53:52 -05:00
aron bergur jóhannsson
f40749bc4e include static assets 2023-02-27 14:53:52 -05:00
aron bergur jóhannsson
792d141f00 Closes #11011: Hide virtual interfaces 2023-02-27 14:53:52 -05:00
jeremystretch
b7463d8346 Changelog for #10058, #11565, #11758, #11817 2023-02-27 14:46:03 -05:00
jeremystretch
dfd4f5d4e8 #10058: Enable primary IP search for virtual machines too 2023-02-27 14:41:34 -05:00
Pieter Lambrecht
73795ebf88 remove DeviceIndex search for ipaddresses 2023-02-27 14:36:56 -05:00
Pieter Lambrecht
d3b950af8e Search device by primary IP address 2023-02-27 14:36:56 -05:00
Marc
6599262474 Change Interpreter in shebang to python3 2023-02-27 14:09:10 -05:00
Simon Toft
46fca8d42e Fixes #11565 - Populate custom field defaults when creating FHRP groups with VIP 2023-02-27 14:02:22 -05:00
Sebastian Himmler
9f2cd8d480 add conntected_enpoints property to graphql 2023-02-27 12:52:05 -05:00
Rafael Ganascim
4d435d8f27 Fixes #11758 - replace unsafe chars in menu label (#11831)
* Fixes #11758 - replace unsafe chars in menu label

* Fixes #11758 - replace unsafe chars in menu label
2023-02-27 11:42:30 -05:00
jeremystretch
b94f906f2f Closes #11807: Restore default page size when navigating between views 2023-02-27 09:22:48 -05:00
jeremystretch
251d7f13ce Fixes #11796: When importing devices, restrict rack by location only if the location field is specified 2023-02-27 08:26:32 -05:00
jeremystretch
d62d4db0de Fixes #11753: Avoid re-initializing SlimSelects 2023-02-25 12:09:06 -05:00
jeremystretch
28cc39c54c Update change log 2023-02-24 16:46:01 -05:00
Jeremy Stretch
f5869e7ec3 Closes #9416: Dashboard widgets (#11823)
* Replace masonry with gridstack

* Initial work on dashboard widgets

* Implement function to save dashboard layout

* Define a default dashboard

* Clean up widgets

* Implement widget configuration views & forms

* Permit merging dict value with existing dict in user config

* Add widget deletion view

* Enable HTMX for widget configuration

* Implement view to add dashboard widgets

* ObjectCountsWidget: Identify models by app_label & name

* Add color customization to dashboard widgets

* Introduce Dashboard model to store user dashboard layout & config

* Clean up utility functions

* Remove hard-coded API URL

* Use fixed grid cell height

* Add modal close button

* Clean up dashboard views

* Rebuild JS
2023-02-24 16:04:00 -05:00
Arthur Hanson
eb923e080e 10520 remove Napalm code references (#11768)
* 10520 remove all Napalm code references

* 10520 remove lldp

* 10520 remove config, status - rebuild js

* 10520 re-add config parameters

* 10520 re-add serializer

* 10520 update docs
2023-02-24 15:38:50 -05:00
jeremystretch
e1b80aaba4 Adjust inspector to accommodate non-detail views 2023-02-24 13:54:39 -05:00
jeremystretch
96466caa69 PRVB 2023-02-21 09:03:19 -05:00
Jeremy Stretch
42b248722f Merge pull request #11793 from netbox-community/develop
Release v3.4.5
2023-02-21 09:01:01 -05:00
jeremystretch
4329e0eb92 Release v3.4.5 2023-02-21 08:45:52 -05:00
jeremystretch
a046c508dd Arrange parameters alphabetically 2023-02-21 08:42:39 -05:00
jeremystretch
1ce4a198e8 #11685: Fix migration 2023-02-20 10:27:30 -05:00
jeremystretch
de8029d9d1 Closes #11787: Rebuild any missing search cache entires after upgrade 2023-02-20 09:49:13 -05:00
jeremystretch
043bc880cc #11685: Clear cached search records for relevant IPAM objects 2023-02-20 09:02:58 -05:00
jeremystretch
cc3ee78f17 Skip clearing cache when handling new objects 2023-02-20 08:17:39 -05:00
jeremystretch
f4ab37c234 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
jeremystretch
f2c9d6e4eb Clean up the application registry 2023-02-19 20:09:52 -05:00
jeremystretch
1c2f55668a #11625: Employ HTMX form rendering for device & VM interfaces 2023-02-19 20:09:52 -05:00
jeremystretch
df1668739d Add index for (source, path) to DataFile 2023-02-19 20:09:52 -05:00
Jeremy Stretch
86690d83a1 Closes #11559: Implement config template rendering (#11769)
* WIP

* Add config_template field to Device

* Pre-fetch referenced templates

* Correct up_to_date callable

* Add config_template FK to Device

* Update & merge migrations

* Add config_template FK to Platform

* Add tagging support for ConfigTemplate

* Catch exceptions when rendering device templates in UI

* Refactor ConfigTemplate.render()

* Add support for returning plain text content

* Add ConfigTemplate model documentation

* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
jeremystretch
345414e566 #11765: Avoid setting netbox-static-select on SelectMultiple with size 2023-02-19 20:09:52 -05:00
Jeremy Stretch
0e40cb0a1b Closes #11765: Remove StaticSelect & StaticSelectMultiple (#11767)
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
kkthxbye-code
f675e10240 Fix issues with the ContactAssignmentListView 2023-02-19 20:09:51 -05:00
kkthxbye-code
3f7b7d378a Fixes #9653 - Add default_platform to DeviceType 2023-02-19 20:09:51 -05:00
jeremystretch
916dde1d64 DataFile should not inherit from ChangeLoggingMixin 2023-02-19 20:09:51 -05:00
jeremystretch
5d70c2536c Check for change records only if objects being deleted support change logging 2023-02-19 20:09:51 -05:00