Jeremy Stretch
068d493cc6
Merge branch 'main' into feature
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-29 13:47:01 -04:00
Arthur
9b064e678d
20683 remove swap Circuit Terminations
2025-10-24 14:46:17 -07:00
Martin Hauser
ac7a4ec4a3
feat(views): Add FilterSet support to BulkRenameView
...
Allow passing a FilterSet to BulkRenameView for consistent behavior with
BulkEditView and BulkDeleteView. Enables the
"Select all N matching query" functionality to expand across the full
queryset. Updates logic to handle PK lists appropriately when editing
all matched objects.
Fixes #20389
2025-10-24 14:43:35 +02:00
Jeremy Stretch
24fca8fde4
#19231 : Add bulk rename support for virtual circuits
2025-08-14 14:40:01 -04:00
Jeremy Stretch
ce12de8b6d
Closes #19231 : Add bulk renaming support for all models ( #19795 )
...
* Closes #19231 : Add bulk renaming support for all models
* Introduce a template filter for getattr()
* Extend BulkRenameView to support arbitrary field names
* Address bulk renaming support for remaining models
* Bulk rename URL resolution should fail silently
* Update documentation
* Fix bulk button rendering for HTMX requests
2025-07-02 13:35:34 -05:00
Arthur Hanson
a17699d261
19644 Make atomic use correct database instead of default ( #19651 )
...
* 19644 set atomic transactions to appropriate database
* 19644 set atomic transactions for Job Script run
* 19644 set atomic transactions to appropriate database
* 19644 set atomic transactions to appropriate database
* 19644 fix review comments
* 19644 fix review comments
2025-06-25 15:00:26 -04:00
Jeremy Stretch
64b5867cb3
Merge branch 'main' into feature
2025-05-01 09:45:38 -04:00
Renato Almeida de Oliveira
e345ca2659
Add VirtualCircuit reference to ProviderView related models ( #19335 )
2025-04-28 07:54:10 -07:00
Jeremy Stretch
37cfc50202
Fixes #19322 : Correct URL paths for bulk import views ( #19323 )
2025-04-25 12:20:25 -05:00
Jeremy Stretch
6c7a0cf2b2
Merge branch 'main' into feature
2025-04-22 16:36:17 -04:00
Renato Almeida de Oliveira
7420c25687
Fixes : #18881 Site Groups are missing VLAN and VM related objects ( #18932 )
2025-04-21 09:11:01 -07:00
Jeremy Stretch
fc0acb020f
Merge main into feature
2025-04-10 17:17:21 -04:00
Renato Almeida de Oliveira
864db469ba
Fixes : #18305 make contacts mixin available for plugins ( #19029 )
2025-04-01 09:03:25 -04:00
Jason Novinger
09d867adc3
Fixes #18758 : Enable sorting by Account count on prodiver list ( #18763 )
2025-02-28 07:28:09 -08: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
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
ff7a59db2e
Closes #17752 : Rename URL paths for bulk import to *_bulk_import
2024-11-22 12:51:06 -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
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
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
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
Alexander Haase
5353f83710
15794 Make "related objects" dynamic ( #15876 )
...
* Closes #15794 : Make "related objects" dynamic
Instead of hardcoding relationships between models for the detail view,
they are now dynamically generated.
* Fix related models call
* Remove extra related models hook
Instead of providing a rarely used hook method, additional related
models can now be passed directly to the lookup method.
* Fix relations view for ASNs
ASNs have ManyToMany relationships and therefore can't used automatic
resolving. Explicit relations have been restored as before.
* Add method call keywords for clarification
* Cleanup related models
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-06-12 09:46:41 -04:00
Arthur Hanson
b2d2a23c26
15496 Add circuit termination to menu and associated forms ( #15980 )
...
* 15496 base changes
* 15496 detail view template
* 15496 tweaks
* 15496 bulk views
* 15496 filterset
* 15496 optimize qs
* 15496 bulk edit
* 15496 bulk import
* 15496 update tests
* Update netbox/templates/circuits/circuittermination.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* 15496 review changes
* 15496 template include
* 15496 expand filters
* 15496 split import form
* 15496 split import form
* 15496 add test for circuit bulk import with termiantions
* Add test for provider filters
* Rename provider column
* Fix test
* Misc cleanup
* Fix test
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-05-17 15:30:10 -04:00
Jeremy Stretch
ae8df77cc8
Move count_related() & dict_to_filter_params() to utilities.query
2024-03-22 08:59:52 -04:00
Jeremy Stretch
2aaa552067
Replace custom form templates with TabbedFieldGroups
2024-03-19 13:34:13 -04:00
Abhimanyu Saharan
a68831d3a1
fixes provider_network_id for related circuits #13343
2023-08-02 15:17:14 -04:00
Abhimanyu Saharan
4eb5e90ccc
Adds contact tabs ( #12460 )
...
* adds contact tabs #11599
* fixed lint issues
* changes as per review
* changes as per review
* replaces generic object template with base template
2023-05-12 10:26:26 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
Daniel Sheppard
9d709c84e7
Closes : #9047 - Add Provider Accounts ( #12057 )
...
* #9047 - ProviderAccount
* #9047 - Move to new selector types
* #9047 - Re-introduce provider FK to Circuit model
* #9047 - Fix broken tests
* Misc cleanup
* Revert errant change
* Fix tests
* Update circuit filter form
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-29 08:27:11 -04:00
Jeremy Stretch
206d578bc3
Closes #10242 : Redirect to filtered objects list after bulk import ( #12001 )
...
* Redirect user to filtered objects list after bulk import
* Remove obsolete table attribute from bulk import views
2023-03-17 09:23:40 -04:00
jeremystretch
8f7c100e22
Standard related object links across all models
2023-02-19 20:09:51 -05:00
jeremystretch
94797bb956
Standardize related model display for organizational models
2023-02-19 20:09:51 -05:00
Jeremy Stretch
1a2dae3471
Closes #8184 : Enable HTMX for embedded tables ( #11518 )
...
* Enable HTMX rendering for embedded tables
* Start converting embedded tables to use HTMX (WIP)
* Additional table conversions (WIP)
* Standardize HTMX usage for nested group models
* Enable HTMX for additional emebedded tables
* Fix HTMX table rendering for ObjectChildrenView
* Standardize usage of inc/panel_table.html
* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
jeremystretch
46e3883f19
Closes #815 : Enable specifying terminations when bulk importing circuits
2022-11-18 15:22:24 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
Kim Johansson
6904666e2a
Remove deprecated usage of prefetch_related
...
Fixes #9699
2022-07-30 01:18:30 +02:00
Kim Johansson
1539769c08
Prefetch Tenant Group on user configurable tables
...
Prefetch the Tenant Group in views which allows its table to be configured
by the user. This decreases the amount of database queries that are required
to fetch the data.
2022-07-10 17:17:56 +02:00
jeremystretch
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
jeremystretch
a740203444
Fixes #8792 : Fix creation of circuit terminations via UI
2022-03-03 16:42:48 -05:00
jeremystretch
23a80770e1
Move configure_table() logic to NetBoxTable.configure()
2022-02-09 14:10:54 -05:00
jeremystretch
4a1b4e0485
Closes #8469 : Move BaseTable, columns to netbox core app
2022-01-27 15:00:10 -05:00
jeremystretch
21e0e6e495
Closes #6954 : Remember users' table ordering preferences
2022-01-10 14:03:07 -05:00
jeremystretch
2dad35186a
Generic view cleanup
2021-12-14 11:28:13 -05:00
jeremystretch
9cb29f48a0
Use exclude() when instantiating tables to omit columns
2021-09-17 14:25:02 -04:00
jeremystretch
cc0830bf28
Closes #7087 : Add search/filter forms for all organizational models
2021-09-16 16:04:46 -04:00