Commit Graph

14550 Commits

Author SHA1 Message Date
Jeremy Stretch
2e37e4919e Merge branch 'feature' into 20564-port-mappings 2025-11-25 14:54:47 -05:00
bctiemann
1505285aff Merge pull request #20829 from netbox-community/19338-graphql-in_list-on-feature
Closes: #19338 - GraphQL: Adds in_list lookups for id and enum fields
2025-11-25 13:41:23 -05:00
Jeremy Stretch
7cc7c7ab81 Closes #20788: Cable profiles and and position mapping (#20802) 2025-11-25 12:18:15 -06:00
Brian Tiemann
ae21a6a684 Change explicitly specified id fields to FilterLookups 2025-11-25 13:06:24 -05:00
Jeremy Stretch
d2afab9662 Remove obsolete GraphQL filters
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
2025-11-21 16:13:22 -05:00
Jeremy Stretch
b538ff80d5 Clean up tests 2025-11-21 15:24:00 -05:00
Brian Tiemann
1dcfc05c32 Add import Q back in
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
2025-11-21 14:59:27 -05:00
Jeremy Stretch
62620101db UI cleanup for front/rear ports 2025-11-21 14:12:00 -05:00
Jeremy Stretch
85d4066501 Simplify nested port assignment representation 2025-11-21 13:41:25 -05:00
Jeremy Stretch
66bbfa7a88 Remove rear_ports M2M fields from FrontPort & FrontPortTemplate 2025-11-21 13:15:57 -05:00
Jeremy Stretch
bfff2d7658 Update API tests 2025-11-21 12:41:06 -05:00
Brian Tiemann
5143003c68 Add filters for missing fields and for enums in filter_mixins files 2025-11-21 10:36:54 -05:00
Jeremy Stretch
5b8d80a371 Fix filterset tests 2025-11-21 10:06:43 -05:00
Jeremy Stretch
b9d57c74ca Update migrations 2025-11-21 08:35:25 -05:00
Jeremy Stretch
e71e4ef0ce Replicate front/rear port assignments from DeviceType
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-20 16:42:54 -05:00
Jeremy Stretch
1e0748e618 Refactor PortAssignment and PortAssignmentTemplate into PortAssignmentBase 2025-11-20 15:43:18 -05:00
Jeremy Stretch
f067122ccd Add PortAssignmentTemplate for device types 2025-11-20 15:32:11 -05:00
Jeremy Stretch
4f54b29f48 Default FrontPort.positions to 1, to match RearPort
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-20 08:34:59 -05:00
Brian Tiemann
45fc354d45 Fix unit tests
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
2025-11-19 18:25:00 -05:00
Jeremy Stretch
9dbb9bb51c Update cable path tests
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-19 16:20:44 -05:00
Brian Tiemann
38b2839a1e Remove version-specific unit tests
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-19 10:32:11 -05:00
Jeremy Stretch
f49b88ad5e Permit FrontPort.positions to be null 2025-11-19 09:47:36 -05:00
Brian Tiemann
5585b410f8 Remove all V1 files 2025-11-18 20:35:15 -05:00
Jeremy Stretch
47ac506d5c Add a test to validate versioned GraphQL types 2025-11-18 20:35:15 -05:00
Brian Tiemann
db3a4bc731 Incorporate Owner fields/types into V1 classes 2025-11-18 20:35:15 -05:00
Brian Tiemann
ebeceaaa21 Integrate Owner and JournalEntries fields 2025-11-18 20:35:15 -05:00
Brian Tiemann
3e1ccc80e9 Set GRAPHQL_DEFAULT_VERSION = 2 in testing environment 2025-11-18 20:35:15 -05:00
Brian Tiemann
d192c1e352 Merge feature 2025-11-18 20:35:15 -05:00
Brian Tiemann
c7d94bd529 Change usages of FilterLookup to BaseFilterLookup 2025-11-18 20:35:13 -05:00
Brian Tiemann
a718cb1173 Convert all id fields and enum fields to FilterLookups (with in_list and exact support) 2025-11-18 20:34:37 -05:00
Brian Tiemann
867a01fae5 Clone all GraphQL objects to V1 versions 2025-11-18 20:34:25 -05:00
Jeremy Stretch
5e8d57f231 Update path tracing logic (WIP)
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-18 16:53:53 -05:00
Jeremy Stretch
a7c3971a43 Fix FrontPortCreateForm 2025-11-18 11:21:29 -05:00
Jeremy Stretch
4790dbba96 Exclude occupied rear port & position pairs from list of choices 2025-11-18 10:56:05 -05:00
Jeremy Stretch
6a7027aebb Update FrontPort model form
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-18 10:41:47 -05:00
Jeremy Stretch
c09b0771b2 Add positions field on FrontPort; remove legacy fields 2025-11-17 14:59:56 -05:00
Jeremy Stretch
2b420bde3a Introduce PortAssignment M2M mapping 2025-11-17 14:22:16 -05:00
Jeremy Stretch
b235c5c99f Rebase migrations
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
2025-11-17 12:42:40 -05:00
Jeremy Stretch
5a7f86a6f5 Clean up cable profiles 2025-11-17 12:39:17 -05:00
Jeremy Stretch
576c0db77d Document profile field 2025-11-17 12:39:17 -05:00
Jeremy Stretch
aa7eedac42 Remove many-to-one profiles 2025-11-17 12:39:17 -05:00
Jeremy Stretch
a75dee745e Enable drag-and-drop of items within multiselect fields 2025-11-17 12:39:17 -05:00
Jeremy Stretch
24c6653356 Add profile for 4x4 MPO8 shuffle cable 2025-11-17 12:39:17 -05:00
Jeremy Stretch
fb2ea37443 Simplify A/B side popping logic 2025-11-17 12:39:17 -05:00
Jeremy Stretch
2fe5323dd2 Add topology tests for cable profiles 2025-11-17 12:39:17 -05:00
Jeremy Stretch
fe95d89db3 Fix test 2025-11-17 12:39:17 -05:00
Jeremy Stretch
7edea73f85 Add initial cable path tests for profiles 2025-11-17 12:39:17 -05:00
Jeremy Stretch
481811e487 Misc cleanup 2025-11-17 12:39:17 -05:00
Jeremy Stretch
a20ac40b48 Add missing filters for cable_position 2025-11-17 12:39:17 -05:00
Jeremy Stretch
0901694b2b Initial work on FR #20788 (cable profiles) 2025-11-17 12:39:17 -05:00