1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

96 Commits

Author SHA1 Message Date
4a066a1913 Rename get_subquery() to count_related() 2020-12-17 14:47:49 -05:00
14a46f82ee Fixes: - 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 : Replace all Count() annotations with subqueries ()
* 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 : Apply user pagination preferences to all paginated object lists 2020-10-02 13:54:57 -04:00
ec66e1a5c0 Closes : 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 : 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 : 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
5e5038d780 Transition BulkImportView to use ObjectPermissionRequiredMixin 2020-05-21 14:43:27 -04:00
2b32430a10 Transition ObjectDeleteView to use ObjectPermissionRequiredMixin 2020-05-21 14:34:40 -04:00
406b076b95 Transition ObjectEditView to use ObjectPermissionRequiredMixin 2020-05-21 13:59:19 -04:00
993ee8c900 Transition ObjectListView to use ObjectPermissionRequiredMixin 2020-05-21 13:22:09 -04:00
40c590f445 Add queryset to all BulkImportViews 2020-05-21 12:01:42 -04:00
3abb52a085 : Refactor ObjectDeleteView to use a queryset 2020-05-11 12:47:01 -04:00
87fa6bc252 : Refactor ObjectEditView to use a queryset 2020-05-11 12:37:22 -04:00
725e3cdbf3 Extend circuits tables to include all relevant model fields 2020-04-28 16:20:11 -04:00
5a00939512 Fixes : Include A/Z termination sites in provider circuits table 2020-02-26 16:41:59 -05:00
4ef15e4dc8 Migrate circuits views to use common object list template 2020-02-13 13:31:04 -05:00
9f627fd0d3 Merge branch 'develop' into develop-2.7 2020-01-10 13:33:51 -05:00
da0ac4ff1e Rename filter variables for utility views 2020-01-09 20:57:13 -05:00
847cf9d038 Renamed circuits FilterSets 2020-01-09 20:25:33 -05:00
94a7d8e493 Hid the provider column 2020-01-09 20:15:22 +00:00
883655ce71 Fixes : Paginate circuits at the provider details view 2020-01-09 20:10:51 +00:00
7518174374 Closes : Change Graph.type to a ContentType foreign key field 2019-12-06 10:32:59 -05:00
4e2863e4ec Move CircuitTermination.term_side choices to a ChoiceSet 2019-11-21 21:28:59 -05:00
ade844f7a7 fixes - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
6c3c6fba62 Closes : Allow ordering circuits by A/Z side 2019-06-27 12:30:17 -04:00
c2d0e8fd95 Cleanup from earlier work on caching 2019-04-22 14:49:31 -04:00
4723ddb5ce move caching to views 2019-04-15 14:41:04 -04:00
e710ccb0e6 Enforce view permissions for UI views 2019-04-11 17:27:38 -04:00
4df74780b8 Extended Cables to connect CircuitTerminations 2018-10-30 12:16:22 -04:00
980d62d579 Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
beac676a6e Cleaned up BulkEditView and BulkDeleteView 2018-07-20 21:18:10 -04:00
cd56e51a61 Closes : Standardize usage of GetReturnURLMixin 2018-07-02 11:54:41 -04:00
00986fd7bf Closes : Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00