1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

11970 Commits

Author SHA1 Message Date
6ac25eeb65 Merge pull request from netbox-community/develop
Release v3.6.5
v3.6.5
2023-11-09 16:00:56 -05:00
41eae1bc19 Release v3.6.5 2023-11-09 15:45:49 -05:00
351aaf8397 Changelog for , , , , , , , , , 2023-11-09 15:20:24 -05:00
5c27d29b08 Adds unit to the power port draw ()
* adds unit to the power port draw 

* review changes 

* moved units to header 

* Abbreviate unit for consistency with e.g. PowerFeedTable available_power column

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 15:09:16 -05:00
e1bedb8350 restores config revision during cache clear 2023-11-09 14:50:45 -05:00
dd5e20aa1a allow login and logout in maintenance mode 2023-11-09 14:45:47 -05:00
217a9edb4c handles the port in the ip 2023-11-09 14:43:36 -05:00
ad95760ead adds contact group on contact assignment table 2023-11-09 14:12:10 -05:00
57bf2a2f00 fix asn view under asn range 2023-11-09 10:58:28 -05:00
e5c38e0829 Closes : Add IP assignment support when bulk importing services ()
* issue 13022 resolved, ipaddress added into bulk_import form

* validation of ip address for device and virtual machine

* error message modified

* error message modified

* error message modified

* Fix form validation

* Extend bulk import test

---------

Co-authored-by: yash-pal1 <ypal@onemindservices.com>
Co-authored-by: yash-pal1 <ypal@onemindservies.com>
2023-11-09 10:55:55 -05:00
6b89da2233 Closes : Add primary_ip4 and primary_ip6 filters to VirtualMachine and VirtualDeviceContext filtersets ()
* Add primary_ip4 and primary_ip6 filters for VirtualMachine and VirtualDeviceContext filtersets ()

* Add PrimaryIPFilterSet to __all__

---------

Co-authored-by: Artem I. Kotik <artem.i.kotik@ringcentral.com>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 09:56:43 -05:00
092f2b06ab Enhance Virtual Machine and Device Platform Filter with Manufacturer Information ()
* Add manufacturer for filters in the virtual machine and device 

* reverse the filtersets of device and vm

* revert the filtersets of vm

* add advance selector in platform

* remove manufacture from imports
2023-11-09 09:55:44 -05:00
6900097e2d Fixes : Validate the number of front ports to be created 2023-11-09 09:50:54 -05:00
5000564430 Changelog for , , , , , , , , , 2023-11-09 09:19:49 -05:00
95519b42a0 Adds device and vm to service filter form ()
* adds device and vm to service filter form 

* Tweak labels

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 09:13:46 -05:00
dfef89ab88 Fix ordering on JobTable. 2023-11-09 08:50:15 -05:00
0603dd1be4 Adds inventory item children view ()
* adds inventory item children view 

* Use existing child_items relation

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 08:47:24 -05:00
1203d761f4 Adds mask length filters on ipaddress ()
* adds mask length filters on ipaddress 

* Change IPaddress mask_length filter to multi-value; extend tests

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 08:46:14 -05:00
d2c727c0a2 review changes 2023-11-09 08:36:39 -05:00
ac4b46b502 adds site column to power feeds 2023-11-09 08:36:39 -05:00
6e8ee9db89 review changes 2023-11-09 08:34:41 -05:00
94858ac13f adds parent to inventory item table 2023-11-09 08:34:41 -05:00
b0f2de5bd7 order available columns 2023-11-09 08:07:17 -05:00
60e98324c3 adds inventory items to interface 2023-11-08 12:57:22 -05:00
66b9cdf141 adds import button on the contact assignment table 2023-11-08 12:37:13 -05:00
8dcbd66de6 Closes : Public model registration ()
* Initial work on 

* Clarify documentation

* Reference public models registry when populating models for ConfigTemplate context
2023-11-03 10:32:59 -04:00
22e474ff96 Update attr in conditions example 2023-11-02 10:22:54 -04:00
b3fb393490 14033 raise validation error if A and B term go to same object ()
* 14033 raise validation error if A and B term go to same object

* 14033 move check to cable model clean

* 14033 fix tests
2023-11-01 16:30:10 -04:00
f6338abf14 Closes : List all objects to be deleted ()
* show objects that would be deleted by cascade

* some items were not showing (eg ips on devices)

* dont include the item being deleted in the list of related items

* Revert "dont include the item being deleted in the list of related items"

This reverts commit 298a7860b20c2fd90e887c66c4f196460097e71e.

* cleanup

- migrate code to use collector directly instead of the NestedObjects wrapper from admin.utils

- adjust object names and text output

* requested adjustments

* remove comma from end of list

* linting

* refactor, add accordion

* migrate to defaultdict, use title for capitalisation of accordian titles

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-01 15:13:45 -04:00
944008d475 Closes : Prevent the deletion of interfaces with children ()
* Closes : Prevent the deletion of interfaces with children

* Change PROTECT to RESTRICT

* Extend handle_protectederror() to also handle RestrictedError

* Fix string translation

* Update migrations

* Support bulk removal of parent interfaces via UI if all children are included

* Add support for the bulk deletion of restricted objects via REST API
2023-11-01 13:47:14 -04:00
c2d1988cb3 Closes : Order global search results of equivalent weight by value () 2023-11-01 11:56:14 -04:00
77208bf5f3 Fix migrations 2023-10-31 08:41:24 -04:00
7323668dd0 Closes : Record error message on failed jobs () 2023-10-31 08:34:57 -04:00
edc4a35296 Initial work on : Protection rules () 2023-10-30 14:36:56 -04:00
c4e765c4a8 Closes : translation cleanup ()
* Translations cleanup

* Tweak variable names; misc string cleanup

* Misc cleanup
2023-10-30 13:38:03 -04:00
30ce9edf1c Closes : Enable plugins to register custom data backends ()
* Initial work on 

* Fix backend type display in table column

* Fix data source type choices during bulk edit

* Misc cleanup

* Move backend utils from core app to netbox

* Move backend type validation from serializer to model
2023-10-24 11:35:53 -04:00
7274e75b26 13230 Allow Devices to be excluded from Rack utilization ()
* 13230 add exclusion flag to device type

* 13230 forms, detail views

* 13230 add tests

* 13230 extraneous model field

* 13230 extraneous form field

* Update netbox/dcim/forms/bulk_edit.py

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* 13230 review feedback

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-24 11:29:24 -04:00
ae447bd187 12216 Add color to circuit-type and add to SVG rendering ()
* 12216 add color to model

* 12216 add forms, serializers for color

* 12216 color to detail view, add type to svg

* 12216 add color to svg

* 12216 review changes
2023-10-24 08:19:04 -04:00
450790ab4a Closes : Refactor view action mappings ()
* Merge actions and action_perms into a single mapping

* Update obsolete permission maps

* Update obsolete action lists

* Normalize empty permission mappings

* Cleanup

* Add deprecation warnings

* Introduce DEFAULT_ACTION_PERMISSIONS constant
2023-10-20 15:08:09 -04:00
3f40ee5501 Closes : Move extras.plugins to netbox.plugins ()
* Move extras.plugins to netbox.plugins & add deprecation warnings

* Move plugin template tags from extras to utilities

* Move plugins tests from extras to netbox

* Add TODO reminders for v4.0
2023-10-20 11:24:08 -04:00
5b2f29480a Tweak translation issue form 2023-10-18 11:57:21 -04:00
809b049590 YAML fix 2023-10-18 11:29:31 -04:00
2a0a7d45aa Add GitHub issue template for translations 2023-10-18 11:24:14 -04:00
7efbfabc0b PRVB 2023-10-17 13:07:29 -04:00
d195f9c6ea Merge pull request from netbox-community/develop
Release v3.6.4
v3.6.4
2023-10-17 13:04:39 -04:00
de298224f1 Pin django-mptt to v0.14.0, for Python 3.8 2023-10-17 12:48:42 -04:00
3fd8e48fac Release v3.6.4 2023-10-17 12:37:14 -04:00
ab9de43447 Changelog for , , , , , 2023-10-17 12:25:49 -04:00
51ef4fb920 Closes : Add a copy-to-clipboard button to the key field of the API token creation form 2023-10-17 11:34:37 -04:00
7983c2590e 14025 fix script name checking ()
* 14025 fix script name checking

* 14025 fix script name checking

* 14025 add file extension validation and simplify get logic

* 14025 match start of string with regex

* 14025 backout changes to model_forms

* 14025 add filepatch checking to reports
2023-10-17 10:57:50 -04:00