Commit Graph

11679 Commits

Author SHA1 Message Date
Jeremy Stretch
9d0f1446cd Add description & expires fields to token test 2023-09-01 12:33:02 -04:00
Abhimanyu Saharan
6c62bade8f adds additional parameters for token provision api #12870 2023-09-01 12:33:02 -04:00
Jeremy Stretch
b60fb8aa1a Fixes #13656: Correct decoding of BinaryField content for Django 4.2 2023-09-01 11:06:19 -04:00
Jeremy Stretch
4cc4d232e8 Fixes #13596: Always display "render config" tab for devices & VMs 2023-08-31 14:36:03 -04:00
Jeremy Stretch
ab614b3405 Fixes #13642: Move migration logic overrides from individual mgmt commands to core 2023-08-31 14:34:26 -04:00
Jeremy Stretch
c16c229d58 Changelog for #13619, #13620, #13622, #13628, #13632, #13638 2023-08-31 12:23:59 -04:00
Jeremy Stretch
8e54033d3b Fixes #13620: Show admin menu items only for staff users 2023-08-31 12:20:46 -04:00
Jeremy Stretch
3384aebce7 Closes #13638: Add optional staff_only attribute to MenuItem (#13639)
* Closes #13638: Add optional staff_only attribute to MenuItem

* Add missing file

* Add release note
2023-08-31 11:23:44 -04:00
Jeremy Stretch
b91a829971 Fixes #13622: Fix exception when viewing current config and no revisions have been created 2023-08-31 11:11:56 -04:00
Jeremy Stretch
b1aaae5a6a Fixes #13632: Avoid raising exception when checking if FHRP group IP address is primary 2023-08-31 11:09:49 -04:00
Abhimanyu Saharan
60c759592a removes napalm references #13628 2023-08-31 09:54:35 -04:00
Jeremy Stretch
d6a4640a66 Fixes #13626: Correct filtering of recent activity list under user view 2023-08-31 08:19:17 -04:00
Jeremy Stretch
a499fa2562 Fixes #13630: Fix display of active status under user view 2023-08-31 08:16:11 -04:00
Jamie (Bear) Murphy
6f7ffb3422 fix error for is_oob_ip for non-device parents (#13621)
* fix error for is_oob_ip for non-device parents

* adjust oob_ip_id check to use hasattr
2023-08-31 07:57:14 -04:00
Jeremy Stretch
cff2340f1e PRVB 2023-08-30 14:57:16 -04:00
Jeremy Stretch
73ac4a7736 Merge pull request #13614 from netbox-community/develop
Release v3.6.0
2023-08-30 14:51:04 -04:00
Jeremy Stretch
7bd96bc916 Release v3.6.0 2023-08-30 14:27:07 -04:00
Jeremy Stretch
cff3087ca3 Fix invalid links 2023-08-30 14:21:04 -04:00
Jeremy Stretch
bdd22492ee #12591: Add a dedicated view for the active config revision 2023-08-30 11:13:56 -04:00
Jeremy Stretch
1c46d7e7e8 Display last_updated time only if defined 2023-08-30 11:13:02 -04:00
Jeremy Stretch
54f401191f Changelog for #11478, #13513, #13599, #13605 2023-08-30 09:36:44 -04:00
Daniel Sheppard
a1beaf9921 Fix #11478 - Add vc_interfaces flag to control selection of VC interfaces (#13296)
* Add `vc_interfaces` flag to control interface queryset

* Fix test failure

* Add new filters instead of using undocumented query params

* Cleanup filterset, add test

* Rename filter and re-introduce virtual_chassis filtering method (required)

* Fix test

* Adjust tests to more accurately provide coverage

* Add breaking change note

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-30 09:33:02 -04:00
Jeremy Stretch
6faf5d80f6 Fixes #13605: Specify batch size for cached counter migrations (#13610)
* Specify batch size for cached counter migrations

* Remove list() casting of querysets
2023-08-30 09:18:24 -04:00
Arthur Hanson
bccf89a9d7 13599 fix cached counter for edit object (#13600)
* 13599 fix cache counter

* 13599 update test

* Merge conditionals

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-29 15:31:13 -04:00
Jeremy Stretch
23a988e6ba #12814: Add context data section to config rendering doc 2023-08-29 14:43:07 -04:00
Jeremy Stretch
0b1722ac35 #12590: Exclude proxy model for Token from permission object types 2023-08-29 14:41:14 -04:00
Jeremy Stretch
7fc70779c0 #11305: Add latitude & longitude to DeviceWithConfigContextSerializer 2023-08-29 14:31:42 -04:00
Jeremy Stretch
5a5f05508d Merge branch 'develop' into feature 2023-08-29 10:45:55 -04:00
Jeremy Stretch
25c0a5ff60 Merge pull request #13591 from netbox-community/develop
Correct version number
2023-08-28 17:07:15 -04:00
Jeremy Stretch
30797b5b95 Merge branch 'master' into develop 2023-08-28 17:05:59 -04:00
Jeremy Stretch
9410f8fa77 Correct version number 2023-08-28 17:04:37 -04:00
Jeremy Stretch
7e535ff7a6 Merge pull request #13589 from netbox-community/develop
Release v3.5.9
2023-08-28 16:58:09 -04:00
Jeremy Stretch
bdcc96831d Merge branch 'master' into develop 2023-08-28 16:19:44 -04:00
Jeremy Stretch
6f9577b1d8 Release v3.5.9 2023-08-28 16:13:13 -04:00
Arthur Hanson
0a48f3e27f 12489 Use HTMX for Location and Non-Racked Devices in Site detail view (#12491)
* 12489 use htmx for site view locations and non-racked-devices

* 12489 remove now unused queries in context

* adds device type and role to device component filter #12015

* Revert "Fixes #12463: Fix the association of completed jobs with reports & scripts in the REST API"

This reverts commit 25d8c7ccf2.

* 12489 update nonracked_devices on rack and location templates

* 12489 fix whitespace issue

* Undo errant commits

* 12489 update site id in templates

* 12489 remove nonracked_devices include

* 12489 add has_position filter

* Use empty lookup for position field

* Remove non-racked devices list from rack view (was moved to a tab)

* Clean up location and device tables

* Restore plugins block on rack template

---------

Co-authored-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-08-28 16:03:35 -04:00
Jeremy Stretch
d23deb6500 Closes #13585: Introduce 'empty' lookup for numeric value filters 2023-08-28 15:25:37 -04:00
Jeremy Stretch
4560115365 Fixes #13569: Fix selection widgets for related interfaces when bulk editing interfaces under device view 2023-08-28 13:04:42 -04:00
Jeremy Stretch
901474018f Changelog for #12825, #13313, #13415, #13507, #13542, #13543, #13544, #13556 2023-08-28 09:10:44 -04:00
Abhimanyu Saharan
94ee9023ee Adds parent filter on iprange (#13568)
* adds parent filter on iprange #13313

* lint fix

* adds filterset test

* Filter should match both start & end of IP range

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-28 09:05:43 -04:00
Abhimanyu Saharan
444c255102 adds related models count on custom field #12825 2023-08-28 08:34:33 -04:00
Abhimanyu Saharan
c57f4bda38 adds related models count on custom field #12825 2023-08-28 08:34:33 -04:00
Jeremy Stretch
b2287e80a7 Closes #13415: Pass request context when rendering custom links in a table column 2023-08-25 13:14:47 -04:00
Abhimanyu Saharan
a04f234a78 fixes the swagger schema for token provisioning #13557 2023-08-25 09:45:03 -04:00
Abhimanyu Saharan
839a940fc1 adds missing status choicefield for vdc #13556 2023-08-25 09:40:04 -04:00
Arthur
44d86a25f4 13396 upgrade graphiql 2023-08-24 14:17:09 -04:00
Abhimanyu Saharan
449d90f344 Fixed permission for config context UI view (#13547)
* fixed permission for config context UI view #13543

* removed extras.view_configcontext permission #13543
2023-08-24 14:13:31 -04:00
Abhimanyu Saharan
5e519e6dc7 adds additional safe HTTP headers to request #13542 2023-08-24 14:12:08 -04:00
Abhimanyu Saharan
169942959f fixes global search when the content type is not found #13507 2023-08-24 14:09:48 -04:00
Jeremy Stretch
b9f02b8417 Revert changes from #13373 pending further discussion around implementation
This reverts commit 54fabc9ef5.
2023-08-24 14:02:15 -04:00
Abhimanyu Saharan
d5d5630fc9 clear all cache when lazy is not used #13544 2023-08-24 10:12:48 -04:00