Commit Graph

11068 Commits

Author SHA1 Message Date
jeremystretch
6acc947c65 Merge branch 'develop' into feature 2023-03-13 11:58:37 -04:00
Jeremy Stretch
2311bd3cef Merge pull request #11965 from netbox-community/develop
Release v3.4.6
2023-03-13 11:49:41 -04:00
jeremystretch
3a38fceb49 Release v3.4.6 2023-03-13 11:16:31 -04:00
kkthxbye
7d9bc29da5 Fixes #11929 - Strip whitespace from csv headers (#11956)
* Strip whitespace from csv headers

* Move strip() call to parse_csv()

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-13 10:55:18 -04:00
jeremystretch
654bb4becd Fixes #11631: Fix filtering changelog & journal entries by multiple content type IDs 2023-03-13 10:00:05 -04:00
jeremystretch
076338ea2f Fixes #11927: Correct loading of plugin resources with custom paths 2023-03-13 08:52:38 -04:00
jeremystretch
0041123644 Changelog for #11850, #11851 2023-03-13 08:38:57 -04:00
kkthxbye-code
865c8092ff Fix loading of CSV files with BOM 2023-03-13 08:13:59 -04:00
rmanyari
36e016f21c Closes #11851: Add family field to IPAddress queries in GraphQL (#11870)
* Closes #11851: Add family field to IPAddress queries in GraphQL

* Add family field support to Prefix and Aggregate, fix tests
2023-03-10 14:48:45 -05:00
rganascim
94961a521b Closes #11638: add http redirect to apache 2023-03-10 09:55:22 -05:00
jeremystretch
b0767b3aef Changelog for #8272, #8958 2023-03-10 09:00:28 -05:00
Jeremy Stretch
c4b41a7282 Changelog for #11294, #11819 2023-03-09 08:37:03 -05:00
Aron Bergur Jóhannsson
bcfeb07ff2 Closes #11294: Markdown Preview (#11894)
* MarkdownWidget

* Change border and color of active markdown tab

* Fix template name typo

* Add render markdown endpoint

* Static assets for markdown widget

* widget style fix and unique ids based on name

* Replace SmallTextArea with SmallMarkdownWidget

* Clear innerHTML before swapping

* render markdown directly in template

* change render markdown view path

* remove small markdown widget

* Simplify rendering logic

* Use a form to clean input Markdown data

---------

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-03-09 08:21:13 -05:00
jeremystretch
a2704e7a73 Undo change to default status for object type_* fields on Webhook 2023-03-07 18:01:32 -05:00
jeremystretch
ace24b1bd3 Add trigger_webhooks() to JobResult 2023-03-07 18:01:32 -05:00
jeremystretch
bb7ab748bd Replace JobResult.set_status() with terminate() 2023-03-07 18:01:32 -05:00
jeremystretch
9388a7370c Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -05:00
kkthxbye-code
d52ab431ac Move update_interface_bridges to a utility function 2023-03-07 18:00:24 -05:00
kkthxbye-code
82841d3767 Add bridge to InterfaceTemplate 2023-03-07 18:00:24 -05:00
Abhimanyu Saharan
b742d477d3 added the missing filterset 2023-03-07 17:42:23 -05:00
jeremystretch
8fce469fba Fixes #11903: Fix escaping of return URL values for action buttons in tables 2023-03-07 09:34:25 -05:00
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