Yi
b1d014b520
Fixes #18949 : Add missing GraphQL ContactsMixin in types with ContactAssignments
2025-03-21 13:00:50 -05:00
Jeremy Stretch
292463c0de
Closes #18857 : Fix deprecation warnings ( #18858 )
2025-03-10 14:40:08 -07:00
Renato Almeida de Oliveira
3ef7ab4416
Fixes : #18579 Add contact filters to services ( #18818 )
...
* Add Contact filter to Services
* Add ContactModelFilterForm to ProviderAccountFilterForm
* Add Contact filter support for Aggregate
* Add Contact filter support for Prefix
* Add Contact filter to IPRange
* Add Contact filter to IPAddress
* Add Contact filter to L2VPN
* Add Contact filter to TunnelGroup
* Add Contact filter to Tunnel
* Add ContactModelFilterSet to ProviderAccountFilterSet
* Fixes classes inheritance order
Setup NetBoxModelFilterSetForm as the last inherited class
Co-authored-by: Jason Novinger <jnovinger@gmail.com>
---------
Co-authored-by: Jason Novinger <jnovinger@gmail.com>
2025-03-06 09:41:41 -06:00
Renato Almeida de Oliveira Zaroubin
d3a9a6827f
fix typo in VirtualCircuitFilterForm
2025-03-05 09:28:00 -05:00
Jason Novinger
09d867adc3
Fixes #18758 : Enable sorting by Account count on prodiver list ( #18763 )
2025-02-28 07:28:09 -08:00
Jeremy Stretch
a4ecb82330
Clarify error message
2025-02-24 10:14:52 -05:00
Jason Novinger
2a44affd03
Fixes #18594 : asn_count sort in Sites list ( #18634 )
...
* Fixes #18594 : asn_count sort in Sites list
* Fixes similar issue in `circuits.views.ProviderListView`
Thanks @bctiemann for point this out!
2025-02-20 10:01:04 -05:00
Jason Novinger
70dddb673b
Fixes #18585 : filtering circuits by location ( #18641 )
...
* Fixes #18585 : filtering circuits by location
This also fixes a related issue where selected filter is not shown in
the filter form.
Changes:
- Adds `CircuitFilterSet.location_id` field to enable filtering with
incoming GET params
- Adds `CirciotFilterForm.location_id` field to enable filtering from
list form
- Adds `location_id` to the Location fieldset on `CircuitFilterForm`
* Adds test for new CircuitFilterset.location_id filter
2025-02-18 13:33:05 -05:00
Brian Tiemann
b2bc842f1c
Remove 'provider' from VirtualCircuitIndex.display_attrs
2025-01-31 14:42:39 -05:00
Jeremy Stretch
b913661297
Fixes #18438 : Specify batch_size for migrations which run bulk_update()
2025-01-21 09:48:35 -05:00
bctiemann
c3efa2149c
Fixes : #18350 - Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs ( #18351 )
...
* Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs
* Use '_site' and '_provider_network' in display_attrs
* Replace private fields with 'termination'
2025-01-17 08:28:43 -05: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
ff7a59db2e
Closes #17752 : Rename URL paths for bulk import to *_bulk_import
2024-11-22 12:51:06 -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
a0b4b0afe0
Closes #18023 : Employ register_model_view()
for list views ( #18029 )
...
* Extend register_model_view() to enable registering list views
* Register circuits list views with register_model_view()
* Register core list views with register_model_view()
* Fix bulk_edit & bulk_delete URL paths
* Register dcim list views with register_model_view() (WIP)
* Register dcim list views with register_model_view()
* Register extras list views with register_model_view()
* Register ipam list views with register_model_view()
* Register tenancy list views with register_model_view()
* Register users list views with register_model_view()
* Register virtualization list views with register_model_view()
* Register vpn list views with register_model_view()
* Register wireless list views with register_model_view()
* Add change note for register_model_view()
2024-11-20 15:54:37 -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
Jeremy Stretch
b4f15092db
Closes #5858 : Implement a quick-add UI widget for related objects ( #18016 )
...
* WIP
* Misc cleanup
* Add warning re: nested quick-adds
2024-11-18 14:44:57 -05:00
Arthur Hanson
6ab0792f02
Closes #11279 : Replace _name
natural key sorting with collation ( #18009 )
...
* 11279 add collation
* 11279 add collation
* 11279 add collation
* 11279 add collation
* 11279 fix tables /tests
* 11279 fix tests
* 11279 refactor VirtualDisk
* Clean up migrations
* Misc cleanup
* Correct errant file inclusion
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-11-15 09:32:09 -05:00
Jeremy Stretch
a183048891
Closes #17951 : Extend Ruff ruleset
2024-11-07 11:52:02 -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
Jeremy Stretch
ef1fdf0a01
Closes #17761 : Store empty CharField choices as null
2024-10-21 13:12:05 -04:00
Jeremy Stretch
a8ec06687a
Reomove obsolete nested serializers
2024-10-18 08:16:30 -04:00
Jeremy Stretch
727de0fb59
Remove unused imports
2024-10-11 12:27:39 -04:00
Jeremy Stretch
256b5dc676
Merge branch 'develop' into feature
2024-10-11 11:29:36 -04:00
Jeremy Stretch
7ac6dff96d
Closes #17733 : Replace pycodestyle
with ruff
( #17734 )
...
* Resolve F541 errors
* Resolve F841 errors
* Resolve F811 errors
* Resolve F901 errors
* Resolve E714 errors
* Ignore F821 errors for GraphQL mixins
* Replace pycodestyle with ruff
* Move ignores to ruff.toml
2024-10-11 07:43:46 -04:00
Jeremy Stretch
e59f776e02
Closes #17725 : Clean up import
statements ( #17728 )
...
* #17725 : Resolve all F401 errors
* Tweak noqa designation
2024-10-10 14:52:47 -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
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
a777850702
Merge branch 'develop' into feature
2024-09-03 11:59:59 -04:00
Daniel Sheppard
4fead1c85f
Fixes : #17310 - Properly restrict GraphQL related object queries ( #17312 )
...
* Fixes : #17310 - Fix GraphQL restriction of related objects
* Fix some failing tests
* Fix test
2024-08-30 14:22:58 -04:00
Jeremy Stretch
b797fcc03d
Closes #17318 : Include provider in nested API representation of circuits
2024-08-30 13:13:33 -04:00
Jeremy Stretch
9a11191ac5
#7025 : Cleanup
2024-08-29 15:38:16 -04:00
Jeremy Stretch
6f7bf5baf4
Merge branch 'develop' into feature
2024-08-29 10:51:38 -04:00
Daniel Sheppard
0464dacf7e
Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set ( #17244 )
...
* Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set
* Update netbox/netbox/settings.py
* Apply schema adaptations across all apps
* Extend GraphQL API tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-28 12:23:25 -04:00
Jeremy Stretch
e3d681be54
Closes #17143 : Deprecate the use of dedicated nested API serializers
2024-08-15 08:00:33 -04:00
Jeremy Stretch
8b91fb8d2d
Merge branch 'develop' into feature
2024-08-14 10:54:31 -04:00
Arthur Hanson
34d20fccd5
17036 international messages ( #17041 )
...
* 17036 international messages
* 17036 fix typo
* 17036 fix _
* Misc cleanup & fixes
* More cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-10 11:47:06 -04:00
Jeremy Stretch
dbd503bcc8
#7025 : Misc cleanup
2024-07-30 13:50:42 -04:00
Jeremy Stretch
a12fdd6e2d
Merge branch 'develop' into feature
2024-07-26 16:39:58 -04:00
Jonathan Senecal
f3d1924453
Use provider_id
instead of account_id
in url_params
2024-07-26 15:10:25 -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
Jeremy Stretch
02ae91589d
Merge branch 'develop' into feature
2024-07-09 15:16:05 -04:00
Adam Brutsaert
f4532dd4ab
Closes #16817 : Added 200 & 400 Gbps selections for circuit commit rate
2024-07-04 11:31:10 -04:00
Jeremy Stretch
94c2e7582e
Closes #16791 : Add 200 & 400 Gbps selections for circuit termination port speed
2024-07-03 08:28:12 -04:00
Julio Oliveira at Encora
b605dfcba0
16704 - Define a default help_text for ColorField ( #16708 )
...
* Added `help_text` to ColorField.
* Addressed PR comment to remove the redundant help_text from all the forms where ColorField was used.
* Add space before example value
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-06-26 09:14:08 -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
d2a8e52585
Fixes #16444 : Disable ordering circuits list by A/Z termination
2024-06-17 12:49:00 -04:00