Jeremy Stretch
619728a048
Ensure cable paths are retraced when port mappings are changes via form
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
2025-12-01 13:35:14 -05:00
Jeremy Stretch
5597664b74
Cleaned up debugging logs in CablePath
2025-12-01 09:53:09 -05:00
Jeremy Stretch
9e367b8fc1
Update logic for handling split cable paths
2025-11-26 14:44:38 -05:00
Jeremy Stretch
b993ec978a
Rename port assignments to port mappings
2025-11-26 09:56:42 -05:00
Jeremy Stretch
81858388de
Merge branch 'feature' into 20564-port-mappings
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
2025-11-25 16:25:07 -05:00
Jeremy Stretch
afba5b2791
Merge branch 'main' into feature
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
2025-11-25 15:25:53 -05:00
Jeremy Stretch
2e37e4919e
Merge branch 'feature' into 20564-port-mappings
2025-11-25 14:54:47 -05:00
Jeremy Stretch
7cc7c7ab81
Closes #20788 : Cable profiles and and position mapping ( #20802 )
2025-11-25 12:18:15 -06:00
Jeremy Stretch
4f54b29f48
Default FrontPort.positions to 1, to match RearPort
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
Jeremy Stretch
9dbb9bb51c
Update cable path tests
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
Jeremy Stretch
f49b88ad5e
Permit FrontPort.positions to be null
2025-11-19 09:47:36 -05:00
Jeremy Stretch
5e8d57f231
Update path tracing logic (WIP)
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
aa7eedac42
Remove many-to-one profiles
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
481811e487
Misc cleanup
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
Daniel Sheppard
9b89af75e4
Fixes #20432 : Allow cablepaths with CircuitTerminations that have different parent Circuit's ( #20770 )
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-11-14 17:09:53 -06:00
Martin Hauser
d433a28524
Fixes #20646 : Prevent cables from connecting to marked objects ( #20678 )
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
2025-10-25 10:22:03 -05:00
Jeremy Stretch
873372f61e
Closes #20241 : Record A & B terminations on cable changelog records ( #20246 )
2025-09-09 11:56:08 -05:00
Jeremy Stretch
a7247f8815
Merge branch 'main' into feature
2025-08-12 16:03:45 -04:00
Jonathan Ramstedt
c7b68664f9
Closes #18843 : use color name in cable export ( #19983 )
2025-08-01 09:51:00 -07:00
Jeremy Stretch
b610cf37cf
Closes #19924 : Record model features on ObjectType ( #19939 )
...
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
* Convert ObjectType to a concrete child model of ContentType
* Add public flag to ObjectType
* Catch post_migrate signal to update ObjectTypes
* Reference ObjectType records instead of registry for feature support
* Automatically create ObjectTypes
* Introduce has_feature() utility function
* ObjectTypeManager should not inherit from ContentTypeManager
* Misc cleanup
* Don't populate ObjectTypes during migration
* Don't automatically create ObjectTypes when a ContentType is created
* Fix test
* Extend has_feature() to accept a model or OT/CT
* Misc cleanup
* Deprecate get_for_id() on ObjectTypeManager
* Rename contenttypes.py to object_types.py
* Add index to features ArrayField
* Keep FK & M2M fields pointing to ContentType
* Add get_for_models() to ObjectTypeManager
* Add tests for manager methods & utility functions
* Fix migrations for M2M relations to ObjectType
* model_is_public() should return False for non-core & non-plugin models
* Order ObjectType by app_label & model name
* Resolve migrations conflict
2025-07-30 13:05:34 -04:00
Jeremy Stretch
64b5867cb3
Merge branch 'main' into feature
2025-05-01 09:45:38 -04:00
Jeremy Stretch
5342552054
Fixes #15739 : Account for parallel cables when calculating total path length ( #19356 )
2025-04-29 11:32:43 -05:00
Jeremy Stretch
fc0acb020f
Merge main into feature
2025-04-10 17:17:21 -04:00
bctiemann
3902cab925
Merge pull request #19070 from netbox-community/17166-remove-limit_choices_to
...
Closes #17166 : Remove obsolete `limit_choices_to` argument from ForeignKey & M2M fields
2025-04-07 14:10:05 -04:00
Jeremy Stretch
67480dcf4f
Closes #18191 : Remove duplicate SQL indexes ( #19074 )
...
* Closes #18191 : Remove redundant SQL indexes
* Update developer documentation
* Add a system check for duplicate indexes
2025-04-03 15:16:57 -05:00
Jeremy Stretch
d93d398afa
Closes #17166 : Remove obsolete limit_choices_to argument from ForeignKey & M2M fields
2025-04-03 09:17:20 -04:00
Andrey Tikhonov
cdd25368e7
Merge branch 'main' into fix/generic_prefetch_4.2
2025-03-12 16:27:12 +01:00
Andrey Tikhonov
7d64d3b5ed
Move GenericArrayForeignKey to fields module
2025-03-12 16:22:11 +01:00
Andrey Tikhonov
741645c9f7
Merge branch 'develop' into fix/generic_prefetch_4.2
2025-03-06 16:05:25 +01:00
Andrey Tikhonov
5c88317745
cleanup unused imports and extra line
2025-03-06 16:01:59 +01:00
Daniel Sheppard
4ab58f2da9
Fixes : #15016 - Catch AssertionError from cable trace and throw ValidationError ( #16384 )
2025-03-04 10:57:27 -08:00
Andrey Tikhonov
9c3e7f2c5d
Cleanup
2025-02-24 15:38:19 +01:00
Andrey Tikhonov
8dc1d68aee
port generic field to 4.2
2025-02-24 15:20:18 +01:00
Jeremy Stretch
5d1070796d
Merge branch 'develop' into feature
2025-01-06 13:42:57 -05:00
bctiemann
c9ee699633
Fixes : #18263 - Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints ( #18264 )
...
* Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints
* Add defensive break if q_filter has not been populated
2025-01-06 09:54:13 -05:00
Arthur Hanson
a8eb455f3e
9604 Add Termination to CircuitTermination ( #17821 )
...
* 9604 add scope type to CircuitTermination
* 9604 add scope type to CircuitTermination
* 9604 add scope type to CircuitTermination
* 9604 model_forms
* 9604 form filtersets
* 9604 form bulk_import
* 9604 form bulk_edit
* 9604 serializers
* 9604 graphql
* 9604 tests and detail template
* 9604 fix migration merge
* 9604 fix tests
* 9604 fix tests
* 9604 fix table
* 9604 updates
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* 9604 remove provider_network
* 9604 fix tests
* 9604 fix tests
* 9604 fix forms
* 9604 review changes
* 9604 scope->termination
* 9604 fix _circuit_terminations
* 9604 fix _circuit_terminations
* 9604 sitegroup -> site_group
* 9604 update docs
* 9604 fix form termination side reference
* Misc cleanup
* Fix terminations in circuits table
* Fix missing imports
* Clean up termination attrs display
* Add termination & type to CircuitTerminationTable
* Update cable tracing logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-31 09:55:08 -04:00
Arthur Hanson
99904c1518
Merge branch 'develop' into feature
2024-10-28 14:29:48 -07:00
Jeremy Stretch
97eb5bda50
Closes #17832 : Don't validate terminations on Cable instance when importing from serialzied data
2024-10-24 08:28:30 -04:00
Jeremy Stretch
ef1fdf0a01
Closes #17761 : Store empty CharField choices as null
2024-10-21 13:12:05 -04:00
Jeremy Stretch
e370cadcef
Merge branch 'develop' into feature
2024-10-16 08:13:43 -04:00
Erik Hetland
111a1ad888
Fixes #17400 : Handle cablepaths directly via multiple single-position rear ports
2024-10-15 12:28:46 -04:00
Jeremy Stretch
727de0fb59
Remove unused imports
2024-10-11 12:27:39 -04:00
Arthur Hanson
ed1327eeb7
16546 define get_absolute_url method in NetBoxModel ( #17693 )
...
* 16546 define get_absolute_url method in NetBoxModel
* 16546 define get_absolute_url method in NetBoxModel
* 16546 define get_absolute_url method in NetBoxModel
* 16546 move get_absolute_url to NetBoxFeatureSet
* 16546 fix CircuitTermination
* Fix linebreaks
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-10 09:59:19 -04:00
Jeremy Stretch
85396866bc
Fixes #17601 : Record change to terminating object when disconnecting a cable
2024-09-25 10:20:31 -04:00
Jeremy Stretch
b46a89640f
Closes #17577 : Reference ModelState when determining whether an object is being created
2024-09-24 09:14:07 -04:00
Arthur Hanson
30b9fcf4f8
16357 clone tenant and type for cable
2024-07-26 16:20:46 -04:00
Jeremy Stretch
4242546270
Fixes #16376 : Log changes on terminating objects when attaching a cable
2024-06-04 14:37:33 -04:00