Commit Graph

11228 Commits

Author SHA1 Message Date
Ryan Merolle
213c8cc5fb Add fieldsets functionality to scripts to allow for form field groupings (#11880)
* update script template

* update docs

* introduce default_fieldset

* correct custom script docs

* default to use fieldsets in scripts

* update scripts docs for new behavior

* Misc cleanup

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-14 15:50:49 -04:00
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
Arthur
1a1d6cca7a 8749 clone custom fields 2023-03-14 15:44:16 -04:00
jeremystretch
381657d22e Fix CSV import tests 2023-03-14 15:31:26 -04:00
jeremystretch
9b3651bd35 Closes #11780: Enable loading import data from remote sources 2023-03-14 14:53:26 -04:00
Jeremy Stretch
87847ec2e6 Closes #11826: RSS feed widget (#11976)
* Add feedparser as a dependency

* Introduce RSSFeedWidget

* Clean up widget templates
2023-03-14 11:59:27 -04:00
jeremystretch
041be7d518 Closes #11893: Convert ChangeLogWidget for use with all models 2023-03-14 08:39:18 -04:00
jeremystretch
f061817423 Closes #11968: Add navigation menu buttons to create device & VM components 2023-03-13 15:15:38 -04:00
Jeremy Stretch
763611b15a Closes #10054: Implement advanced UI controls for object selection (#11952)
* WIP

* WIP

* WIP

* Make object selector functional

* Replace extraneous form fields with selector widgets

* Avoid overlap with filterset field names

* Show checkmarks next to visibile filters

* Update results automatically when searching

* Include selector for device/VM component parent fields

* Use selector for filtering VLAN group/site

* Limit selector to 100 results
2023-03-13 12:44:26 -04:00
jeremystretch
5cc8650199 PRVB 2023-03-13 11:59:57 -04:00
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