749fc31bc4
limits ip addresses on interface tables #14645
2024-01-19 14:53:24 -05:00
2221a9d71f
Fixes #14749 : Remove errant translation wrapper from DeviceBay installed_device
2024-01-10 14:18:46 -05:00
224484ebb6
Closes #14434 : Add termination object filters for cables ( #14617 )
...
* Add termination object filters for cables
* Add tests for new filters
2023-12-28 15:39:14 -05:00
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
3ef2db81e8
Closes #14629 : Add filter tests for all q and description filters
2023-12-28 13:53:16 -05:00
3bacee16bd
Closes #14631 : Ensure description filters are available on all relevant models
2023-12-28 13:53:16 -05:00
fedcbaf4c8
Fixes #14620 : Permit setting device type U height to 0 during bulk edit
2023-12-28 10:06:25 -05:00
359c0cf3a0
Fix typo in filtersets.py
...
fix typo which causing exception `Cannot resolve keyword 'description_icontains' into field`
2023-12-28 08:47:43 -05:00
1f2f0860fe
Merge branch 'develop' into feature
2023-12-27 16:34:38 -05:00
8a237561ef
Closes #14596 : Match against description field when searching for devices
2023-12-27 13:49:39 -05:00
b955751349
Fixes #14517 : Ensure reservations tab is always displayed under rack view
2023-12-27 13:42:26 -05:00
43909ee33f
Fixes #13649 : Permit zero-length cables
2023-12-26 09:27:58 -05:00
f0b9008529
Fixes #14575 : Fix display of the tags column under VDC table
2023-12-21 16:00:44 -05:00
58f925c261
Closes #14503 : Include additional display attributes for search indexers
2023-12-21 14:36:42 -05:00
25e67eb555
Merge branch 'develop' into feature
2023-12-15 16:52:42 -05:00
8d39181842
Fixes #12751 - Usability improvements for object selector ( #14387 )
...
* Usability improvements for object selector:
* Adds preselected filters
* Applies the filter on selection instead of requiring the search button to be pushed
* Declare selector_fields on base form class
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-12-15 16:07:15 -05:00
b532435a6d
Closes #14436 : Add indexes for all GenericForeignKey fields ( #14463 )
...
* Closes #14436 : Add PostgreSQL indexes for all GenericForeignKeys
* Add note about GFK indexes to developer docs
2023-12-07 14:02:51 -05:00
fe3f21105c
Fixes #14448 : Fix exception when creating a power feed with rack and panel in different sites
2023-12-06 15:28:47 -05:00
32264ac3e3
Fixes #14322 : Populate default custom field values when instantiating templated device components
2023-12-06 15:21:34 -05:00
b34daeaacb
14401 review changes - remove migration
2023-12-06 15:16:03 -05:00
d2c3a39ebb
14401 validate rack startion position > 0
2023-12-06 15:16:03 -05:00
8db1093fdc
#9816 : Add TunnelGroup
2023-12-04 15:44:52 -05:00
dcd3f098ce
#13230 : Tweak field description
2023-12-01 10:10:44 -05:00
d2fea4edc4
Closes #14311 : Move L2VPN models from ipam
to vpn
( #14358 )
...
* Move L2VPN and L2VPNTermination models from ipam to vpn
* Move L2VPN resources from ipam to vpn
* Extend migration to update content types
* Misc cleanup
2023-11-28 13:45:00 -05:00
6678880db5
Closes #9816 : VPN tunnel support ( #14276 )
...
- Introduces a new `vpn` app with the following models:
- Tunnel
- TunnelTermination
- IKEProposal
- IKEPolicy
- IPSecProposal
- IPSecPolicy
- IPSecProfile
2023-11-27 16:17:15 -05:00
18422e1d26
Closes #14326 : Move form mixins ( #14327 )
...
* Move form mixins from extras app to netbox app
* Remove obsolete extras/admin.py
2023-11-22 13:49:26 -05:00
e13bf48a35
Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint ( #14287 )
...
* Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint
* Update Docstring "Device" -> "Virtual Machine"
Docstring should mention "..this Virtual Machine" instead of "...this Device", thanks @LuPo!
* Move config rendering logic to new RenderConfigMixin
* Add tests for render-config API endpoint
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-17 08:32:58 -05:00
e15647a2ce
Closes #14153 : Filter ContentTypes by supported feature ( #14191 )
...
* WIP
* Remove FeatureQuery
* Standardize use of proxy ContentType for models
* Remove TODO
* Correctly filter BookmarksWidget object_types choices
* Add feature-specific object type validation
2023-11-16 12:12:51 -05:00
3d20276f55
Closes #14134 : Display additional object attributes in global search results ( #14154 )
...
* WIP
* Add display_attrs for all indexers
* Linkify object attributes
* Clean up prefetch logic
* Use tooltips for display attributes
* Simplify template code
* Introduce get_indexer() utility function
* Add to examples in docs
* Use tooltips to display long strings
2023-11-09 16:21:09 -05:00
ac91d4e5e5
Merge branch 'develop' into feature
2023-11-09 16:06:26 -05:00
5c27d29b08
Adds unit to the power port draw ( #14208 )
...
* adds unit to the power port draw #13587
* review changes #13587
* moved units to header #13587
* 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
6b89da2233
Closes #13936 : Add primary_ip4 and primary_ip6 filters to VirtualMachine and VirtualDeviceContext filtersets ( #14203 )
...
* Add primary_ip4 and primary_ip6 filters for VirtualMachine and VirtualDeviceContext filtersets (#13936 )
* 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 ( #14047 )
...
* Add manufacturer for filters in the virtual machine and device #12741
* 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 #14117 : Validate the number of front ports to be created
2023-11-09 09:50:54 -05:00
0603dd1be4
Adds inventory item children view ( #14217 )
...
* adds inventory item children view #14112
* Use existing child_items relation
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 08:47:24 -05:00
d2c727c0a2
review changes #13743
2023-11-09 08:36:39 -05:00
ac4b46b502
adds site column to power feeds #13743
2023-11-09 08:36:39 -05:00
6e8ee9db89
review changes #14113
2023-11-09 08:34:41 -05:00
94858ac13f
adds parent to inventory item table #14113
2023-11-09 08:34:41 -05:00
60e98324c3
adds inventory items to interface #13723
2023-11-08 12:57:22 -05:00
8dcbd66de6
Closes #13427 : Public model registration ( #14152 )
...
* Initial work on #13427
* Clarify documentation
* Reference public models registry when populating models for ConfigTemplate context
2023-11-03 10:32:59 -04:00
b3fb393490
14033 raise validation error if A and B term go to same object ( #14050 )
...
* 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
944008d475
Closes #12135 : Prevent the deletion of interfaces with children ( #14091 )
...
* Closes #12135 : 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
c4e765c4a8
Closes #14141 : translation cleanup ( #14143 )
...
* Translations cleanup
* Tweak variable names; misc string cleanup
* Misc cleanup
2023-10-30 13:38:03 -04:00
7274e75b26
13230 Allow Devices to be excluded from Rack utilization ( #14099 )
...
* 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 ( #14098 )
...
* 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 #13550 : Refactor view action mappings ( #14062 )
...
* 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
d77d45e795
12336 make region API calls atomic ( #13942 )
...
* 12336 make region API calls atomic
* 12336 switch to pg locks
* 12336 add locks to all views using mptt models
* 12336 fix ADVISORY_LOCK_KEYS reference
* 12336 review changes
* Tweak advisory lock numbering
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-17 10:35:01 -04:00
18a813aa39
13972 allow filtering of cables if have terminations ( #13949 )
...
* 10769 allow filtering of cables if have terminations
* 10769 change to termianted
* 10769 add test case
* 10769 review cleanup
2023-10-17 09:32:42 -04:00
06ed7ac8a5
Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable ( #14029 )
...
* Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/dcim/views.py
Co-authored-by: Daniel Sheppard <dans@dansheps.com>
* Code cleanup & i18n fix
* Restore original termination count logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-13 13:57:58 -04:00