6904666e2a
Remove deprecated usage of prefetch_related
...
Fixes #9699
2022-07-30 01:18:30 +02:00
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
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
a740203444
Fixes #8792 : Fix creation of circuit terminations via UI
2022-03-03 16:42:48 -05:00
23a80770e1
Move configure_table() logic to NetBoxTable.configure()
2022-02-09 14:10:54 -05:00
4a1b4e0485
Closes #8469 : Move BaseTable, columns to netbox core app
2022-01-27 15:00:10 -05:00
21e0e6e495
Closes #6954 : Remember users' table ordering preferences
2022-01-10 14:03:07 -05:00
2dad35186a
Generic view cleanup
2021-12-14 11:28:13 -05:00
9cb29f48a0
Use exclude() when instantiating tables to omit columns
2021-09-17 14:25:02 -04:00
cc0830bf28
Closes #7087 : Add search/filter forms for all organizational models
2021-09-16 16:04:46 -04:00
c7e0abc3fb
Merge v2.11.10
2021-07-28 16:26:04 -04:00
2ff3d0d5a2
Fixes #6774 : Fix A/Z assignment when swapping circuit terminations
2021-07-23 11:13:21 -04:00
c777daf6e6
Merge branch 'develop' into feature
2021-05-07 10:27:23 -04:00
a4955b420a
Fixes #6355 : Fix caching error when swapping A/Z circuit terminations
2021-05-06 13:29:52 -04:00
534b0e4cf6
Merge branch 'develop' into feature
2021-05-04 14:25:53 -04:00
1024782b9e
Rename FilterSet modules
2021-04-29 16:48:24 -04:00
3471c737b9
fix confirmation form styles
2021-04-21 13:19:08 -07:00
96759af86f
Closes #6071 : Cable traces now traverse circuits
2021-04-01 14:31:10 -04:00
d57222328b
Rename Cloud to ProviderNetwork
2021-04-01 10:21:41 -04:00
b7e44a744d
Add dedicated views for organizational models
2021-03-26 14:44:43 -04:00
bb00f2ff46
Introduce paginate_table() utility to simplify table pagination
2021-03-26 13:02:55 -04:00
2e97bf48c5
Include circuits list on cloud view
2021-03-18 14:05:32 -04:00
872e936924
Add termination FKs on Circuit model
2021-03-18 13:54:05 -04:00
6ff8a267e9
Introduce the Cloud model
2021-03-18 11:20:09 -04:00
61d23df83a
Closes #5972 : Bulk edit support for organizational models ( #5974 )
...
* Enable bulk editing of organizational models
* Enable bulk editing of nested group models
* Changelog for #5972
2021-03-12 16:14:42 -05:00
42e82f0ead
Update object edit template to use fieldsets where possible
2021-02-25 13:51:48 -05:00
4a066a1913
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
14a46f82ee
Fixes : #5463 - Add check for ip_addresses attribute on circuittermination connected_endpoint
2020-12-15 12:30:42 -06:00
915cf3e715
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -05:00
f55e966c8f
Closes #4865 : Replace all Count() annotations with subqueries ( #5385 )
...
* Convert circuits to use subqueries
* Convert dcim to use subqueries
* Convert extras to use subqueries
* Convert ipam to use subqueries
* Convert secrets to use subqueries
* Convert virtualization to use subqueries
* Update global search view to use subqueries where appropriate
* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
1d922ee813
Migrate all ObjectView subclasses to use get_extra_context()
2020-11-19 15:59:11 -05:00
d5d87e0fdd
Update templates to use "object" context var
2020-11-19 13:22:33 -05:00
b3c770216e
Relocate and group generic views
2020-11-11 16:07:38 -05:00
9a9babfc35
Remove extraneous prefetch_related() calls from object list views
2020-10-30 16:54:41 -04:00
96650b0216
Merge branch 'develop' into develop-2.10
2020-10-09 13:52:16 -04:00
079c42291c
Remove legacy connected endpoint fields
2020-10-05 09:56:46 -04:00
ae0a481c64
Fixes #5206 : Apply user pagination preferences to all paginated object lists
2020-10-02 13:54:57 -04:00
ec66e1a5c0
Closes #4349 : Drop support for embedded graphs
2020-08-21 11:57:46 -04:00
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
0f679e1f03
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
353d88f0a6
Use unrestricted querysets for prefetching related objects
2020-07-07 15:45:46 -04:00
8959d2e0a7
#4416 : Add individual delete views for organizational objects
2020-07-01 12:08:26 -04:00
4613b69c28
Extend GetReturnURLMixin to automatically resolve default return URL for querysets
2020-07-01 11:50:31 -04:00
ffa3a229b5
Fix restriction violations for provider, circuit models
2020-06-16 14:00:43 -04:00
3c334a0238
Update views to restrict all querysets
2020-06-01 11:43:49 -04:00
71d4b5c5df
Enforce object-level permissions for circuit termination swap view
2020-05-22 09:45:29 -04:00
e61fc1f709
Introduce ObjectView to enforce object-level permissions for individual object views
2020-05-21 15:53:00 -04:00
8fd860a413
Transition BulkDeleteView to use ObjectPermissionRequiredMixin
2020-05-21 15:14:29 -04:00
82c247f3cf
Transition BulkEditView to use ObjectPermissionRequiredMixin
2020-05-21 15:07:20 -04:00