Arthur
7bf84eb400
update fields
2025-12-08 10:49:15 -08:00
bctiemann
bcffc383bf
Closes : #17936 - GFK serializer field ( #20706 )
...
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
* Establish GFKSerializerField and replace get_* methods in circuits.py
* Set read_only=True
* Apply GFKSerializerField to all matching SerializerMethodFields
* Use GFKSerializerField for ObjectChangeSerializer.changed_object and EventRuleSerializer.action_object
2025-11-04 10:01:22 -05:00
Jeremy Stretch
be74436884
Closes #20304 : Object owners ( #20634 )
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
2025-10-24 13:08:01 -07:00
Jeremy Stretch
83d62315cc
Closes #18153 : Introduce virtual circuit types ( #18300 )
...
* Closes #18153 : Introduce virtual circuit types
* Fix TagTestCase
* Fix GraphQL API test
2025-01-06 13:37:43 -05:00
Jeremy Stretch
c3b0de3ebd
Closes #18281 : Support group assignment for virtual circuits ( #18291 )
...
* Rename circuit to member on CircuitGroupAssignment
* Support group assignment for virtual circuits
* Update release notes
* Introduce separate nav menu heading for circuit groups
* Add generic relations for group assignments
* Remove obsolete code
* Clean up bulk import & extend tests
2025-01-03 13:42:47 -05:00
Jeremy Stretch
f17545788f
#16547 : Reorder API serializer fields for Circuit
2024-11-25 15:26:20 -05:00
Jeremy Stretch
02cbdc10f2
#9604 : Remove provider_network from CircuitTerminationSerializer & CircuitCircuitTerminationSerializer
2024-11-25 13:28:17 -05:00
Jeremy Stretch
343a4af591
Closes #18022 : Extend linter (ruff) to enforce line length limit (120 chars) ( #18067 )
...
* Enable E501 rule
* Configure ruff formatter
* Reformat migration files to fix line length violations
* Fix various E501 errors
* Move table template code to template_code.py & ignore E501 errors
* Reformat raw SQL
2024-11-21 15:58:11 -05:00
Jeremy Stretch
d2168b107f
Closes #13086 : Virtual circuits ( #17933 )
...
* WIP
* Add API tests
* Add remaining tests
* Add model docs
* Show virtual circuit connections on interfaces
* Misc cleanup per PR feedback
* Renumber migration
* Support nested terminations for virtual circuit bulk import
2024-11-19 10:58:39 -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
65687851fe
16547 Add distance to Circuit ( #17629 )
...
* 16547 Add distance to Circuit
* 16547 fix test cases
* 16547 fix test cases
* 16547 add distance to API, forms, tables
* 16547 fixes
* 16547 fixes
* 16547 review changes
* 16547 review changes
* Clean up DistanceColumn
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-10-10 14:37:33 -04:00
Jeremy Stretch
b797fcc03d
Closes #17318 : Include provider in nested API representation of circuits
2024-08-30 13:13:33 -04:00
Arthur Hanson
8237c6accc
7025 circuit redundancy ( #16945 )
...
* 7025 CircuitRedundancyGroups
* 7025 CircuitRedundancyGroups api
* 7025 CircuitRedundancyGroups api
* 7025 CircuitRedundancyGroups tests
* 7025 CircuitRedundancyGroup -> CircuitGroup
* 7025 add tenancy
* 7025 linkify name
* 7025 missing file
* 7025 circuitgroupassignment
* 7025 base group assignment working
* 7025 assignments
* 7025 fix forms/tests for CircuitGroup
* 7025 fix api tests
* 7025 view tests
* 7025 CircuitGroupAssignment tests
* 7025 fix typo
* 7025 fix typo
* 7025 fix tests
* 7025 remove m2m
* 7025 add count to serializer
* 7025 fix test
* 7025 documentation
* 7025 review comments
* 7025 review comments
* 7025 add search index
* Make CircuitPriorityChoices extensible
* Add group assignment table to circuit view
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-07-24 12:24:44 -04:00
Arthur Hanson
52546608f6
15156 Add display_url to REST API ( #16412 )
...
* 15156 add display_url to REST API
* 15156 fix view name
* 15156 fix typo
* 15156 fix tests
* 15156 add url display_url to base class
* 15156 add url display_url to base class
* 15156 add url display_url to base class
* 15156 review changes
* 15156 review changes
* 15156 review changes
* 15156 review changes
* 15156 remove bogus code
* 15156 remove bogus code
* 15156 review changes
* 15156 review changes
* 15156 review changes
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-06-25 09:59:58 -04:00
Jeremy Stretch
4d40699f2c
Fixes #15995 : Permit nullable fields referenced by unique constraints to be omitted from REST API requests
2024-05-07 15:33:14 -04:00
Jeremy Stretch
c382ba0ae0
Refactor REST API serializers to avoid circular imports
2024-02-27 13:26:43 -05:00