Jeremy Stretch
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
Jeremy Stretch
3ef2db81e8
Closes #14629 : Add filter tests for all q and description filters
2023-12-28 13:53:16 -05:00
Jeremy Stretch
3bacee16bd
Closes #14631 : Ensure description filters are available on all relevant models
2023-12-28 13:53:16 -05:00
Daniel Sheppard
45c646dcec
Fixes #14482 - Fix validation error when primary IP is moved ( #14514 )
...
* Fix validation when primary IP is moved.
* Fix views test
* Work on excluding assigned_objects
* Modify clean() on model and form to properly catch error
* Fix test failure
* Fix test to check for PK
* Remove model_form check
2023-12-28 13:28:05 -05:00
Jeremy Stretch
1f2f0860fe
Merge branch 'develop' into feature
2023-12-27 16:34:38 -05:00
Jeremy Stretch
d6c8d1581c
Closes #11039 : List parent prefixes under IP range view
2023-12-27 12:53:30 -05:00
Jeremy Stretch
e6642b5f5b
Fixes #11816 : Detach group/site validation error from group field
2023-12-27 12:51:51 -05:00
Jeremy Stretch
0d08205ab1
Fixes #14532 : Device/VM change record should accurately reflect when primary/OOB IP is deleted
2023-12-22 08:47:51 -05:00
Daniel Sheppard
8dfec7e2b2
Closes #14538 - Add available_at_site filter ( #14541 )
...
* Closes #14538 - Add available_at_site filter
* Add tests
* Fix tests
2023-12-21 15:40:57 -05:00
Jeremy Stretch
a233dc91fe
Closes #14536 : Enable ENFORCE_GLOBAL_UNIQUE by default
2023-12-20 11:09:40 -05:00
Jeremy Stretch
25e67eb555
Merge branch 'develop' into feature
2023-12-15 16:52:42 -05:00
kkthxbye
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
Jeremy Stretch
c81869c795
Fixes #14533 : Fix quick search under VLAN group VLANs list
2023-12-15 13:59:31 -05:00
Prince Kumar
81fa4265da
add tags field in L2VPN Termination
2023-12-12 14:23:16 -05:00
Jeremy Stretch
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
Jeremy Stretch
e59ee3e01e
Fixes #14397 : Pass a mutable copy of request data when provisioning available IPs
2023-12-07 11:20:03 -05:00
Jeremy Stretch
b83fcc6077
Merge branch 'develop' into feature
2023-11-29 20:25:44 -05:00
Jeremy Stretch
7d413ea3c2
Fixes #14343 : Set order_by accessor for asn_asdot column ( #14369 )
2023-11-28 17:02:07 -05:00
Jeremy Stretch
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
Jeremy Stretch
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
Jeremy Stretch
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
Jeremy Stretch
ac91d4e5e5
Merge branch 'develop' into feature
2023-11-09 16:06:26 -05:00
Abhimanyu Saharan
57bf2a2f00
fix asn view under asn range #14195
2023-11-09 10:58:28 -05:00
Jeremy Stretch
e5c38e0829
Closes #13022 : Add IP assignment support when bulk importing services ( #14230 )
...
* 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
Artem Kotik
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
Abhimanyu Saharan
95519b42a0
Adds device and vm to service filter form ( #14215 )
...
* adds device and vm to service filter form #13951
* Tweak labels
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-11-09 09:13:46 -05:00
Abhimanyu Saharan
1203d761f4
Adds mask length filters on ipaddress ( #14218 )
...
* adds mask length filters on ipaddress #14101
* 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
Jeremy Stretch
c4e765c4a8
Closes #14141 : translation cleanup ( #14143 )
...
* Translations cleanup
* Tweak variable names; misc string cleanup
* Misc cleanup
2023-10-30 13:38:03 -04:00
Prince Kumar
c671ac2f28
Add dns_name filter on the IP Address page ( #14046 )
...
* Add dns_name filter on the IP Address page #13957
* add dns_name field in the filterset field and remove extra method
2023-10-17 10:06:33 -04:00
Tobias Genannt
72f01b3e89
Fix #14026 : Only get the needed amount of objects
2023-10-13 09:25:12 -04:00
Arthur Hanson
d03859b27b
13746 fix available ips API for posting custom-fields ( #13889 )
2023-10-05 15:53:57 -04:00
Arthur Hanson
db40119faa
13130 dont allow reassigning ipaddress assigned object if primary ip ( #13893 )
...
* 13130 dont allow reassigning ipaddress assigned object if primary ip
* 13130 add tests fix parent check
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-26 15:16:02 -04:00
Jeremy Stretch
1ad6d94dc3
Fixes #13843 : Fix assignment of VLAN group scope during bulk edit ( #13887 )
...
* Update VLANGroup bulk edit form to support all scope types
* Fixes #13843 : Fix scope assignment for VLAN groups during bulk edit
* Add missed static file
* Restore graphiql static assets
2023-09-26 13:09:20 -04:00
Arthur
685ac5f571
13891 fix primary ip assignment if assigning ip
2023-09-26 08:56:35 -04:00
Arthur Hanson
8e251ac33c
13757 Fix ConfigContext reference to DeviceType ( #13804 )
...
* 13757 do prefetch to work around Django issue with vars in init (DeviceType)
* 13757 use self.__dict to access vars in init
* 13757 change test
2023-09-20 09:56:52 -04:00
Jeremy Stretch
2dfbd72f10
Fixes #13767 : Fix support for comments when creating a new service via web UI
2023-09-15 10:33:54 -04:00
Daniel Sheppard
e4cb0c3cc2
Fixes #11209 - Fix PrefixIPAddress view with saved sort preferences ( #12820 )
...
* Fixes #11209 - Do not add available ips when IPAddressTable sort preferences are saved
* Refine check to account scenario right after clearing ordering string
* Introduce get_table_ordering() utility to determine intended ordering given a request
* Apply fix to VLAN ranges as well
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-13 10:51:24 -04:00
Jeremy Stretch
75b71890a4
Misc i18n cleanup
2023-09-11 15:59:50 -04:00
Jeremy Stretch
b5125e512f
Fixes #13721 : Filter VLAN choices by selected site (if any) when creating a prefix
2023-09-11 13:52:19 -04:00
Arthur Hanson
bb6b4d01c1
12553 prefix serializer to IPAddress ( #13592 )
...
* 12553 prefix serializer to IPAddress
* Introduce IPNetworkField to handle prefix serialization
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-06 10:49:40 -04:00
Jeremy Stretch
06f2c6f867
Fixes #13632 : Avoid raising exception when checking if FHRP group IP address is primary
2023-08-31 11:09:49 -04:00
Jamie (Bear) Murphy
46f734eba2
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
2a4e3dd09f
Merge branch 'develop' into feature
2023-08-29 10:45:55 -04:00
Abhimanyu Saharan
8d8f57e8b8
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
a75e8416a4
adds vlan child table to vlan group #13536
2023-08-23 13:39:10 -04:00
Arthur
fe95cb434a
13500 fix l2vpntermination bulk update
2023-08-17 15:25:23 -04:00
Jeremy Stretch
44f8a777df
Merge branch 'develop' into feature
2023-08-15 11:04:03 -04:00
Abhimanyu Saharan
be3f48c677
Fixed spelling for Attributes #13460
2023-08-14 13:29:11 +05:30
Arthur Hanson
9fd07b594c
11578 mark swagger available- apis to accept lists in post ( #13445 )
...
* 11578 change swagger for available-ips to accept lists
* 11578 change swagger for available-xxx to accept lists
2023-08-11 09:49:03 -04:00
Jeremy Stretch
914588f55d
Merge branch 'develop' into feature
2023-08-09 15:31:21 -04:00