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

5683 Commits

Author SHA1 Message Date
Jeremy Stretch
c484fa99e2 Introduce ButtonsColumn to reduce boilerplate and standardize organizational object links 2020-07-01 13:47:01 -04:00
Jeremy Stretch
8959d2e0a7 #4416: Add individual delete views for organizational objects 2020-07-01 12:08:26 -04:00
Jeremy Stretch
4613b69c28 Extend GetReturnURLMixin to automatically resolve default return URL for querysets 2020-07-01 11:50:31 -04:00
Jeremy Stretch
7fab929194 Fix evaluation of empty label_pattern 2020-06-30 16:30:54 -04:00
Jeremy Stretch
89ea34015d Enable bulk editing of device component labels 2020-06-30 16:15:17 -04:00
Jeremy Stretch
88e3ac30b6 Closes #4807: Add bulk edit ability for device bay templates 2020-06-30 15:22:30 -04:00
Jeremy Stretch
52a13b1960 Closes #4793: Add description field to device component templates 2020-06-30 15:12:53 -04:00
Jeremy Stretch
af778f8fca TagFilter should call unrestricted() on its queryset 2020-06-29 16:07:14 -04:00
Jeremy Stretch
15f32bdd73 Wrap ComponentTraceMixin in a parent class 2020-06-29 15:14:12 -04:00
Jeremy Stretch
36498c9dd2 Base manager for Tag should use RestrictedQuerySet 2020-06-29 14:57:29 -04:00
Jeremy Stretch
66703d8963 Fix evaluation of RestrictedQuerySet 2020-06-29 14:42:37 -04:00
Jeremy Stretch
71812d1bd5 Fix evaluation of RestrictedQuerySet 2020-06-29 14:41:43 -04:00
Jeremy Stretch
5ed6136915 Introduce ComponentTraceMixin to minimize boilerplate 2020-06-29 14:40:36 -04:00
Jeremy Stretch
a47a100cb7 Fix unrestricted evaluations of RestrictedQuerySet 2020-06-29 13:31:26 -04:00
Jeremy Stretch
9ea4f82eaa Prefetch tagged VLANs for VMInterfaces 2020-06-29 12:18:59 -04:00
Jeremy Stretch
617e20af0b Standardize VMInterfaceTest 2020-06-29 12:06:36 -04:00
Jeremy Stretch
89ff59d048 Add graphs endpoint to VMInterfaceViewSet 2020-06-29 12:05:00 -04:00
Jeremy Stretch
6ecbf45974 Fix evaluation of RestrictedQuerySets 2020-06-29 11:48:36 -04:00
Jeremy Stretch
eb45ad600e Fix evaluation of RestrictedQuerySets 2020-06-29 11:35:13 -04:00
Jeremy Stretch
10e6b6ca66 Fix RestrictedQuerySet evaluation in tests 2020-06-29 11:27:23 -04:00
Jeremy Stretch
5732466e56 Signal receiver should call unrestricted() 2020-06-29 11:07:11 -04:00
Jeremy Stretch
ce55d0c791 Tweak querysets to work with restriction 2020-06-29 10:57:09 -04:00
Jeremy Stretch
6ab4640cdc Update API tests to work with RestrictedQuerySet 2020-06-29 10:39:06 -04:00
Jeremy Stretch
a6b03b8884 Update WritableNestedSerializer to call unrestricted() on RestrictedQuerySets 2020-06-29 10:38:32 -04:00
Jeremy Stretch
0dbe248df8 Call restrict() when retrieving related Graphs 2020-06-29 10:14:43 -04:00
Jeremy Stretch
86d1370512 Apply restrict_form_fields() to import views 2020-06-26 16:26:22 -04:00
Jeremy Stretch
8c0adc9c61 Update test methods to call unrestricted() on RestrictedQuerySets 2020-06-26 16:15:21 -04:00
Jeremy Stretch
a452e78fa6 Use unrestricted() when compiling ObjectPermissions for user 2020-06-26 15:28:08 -04:00
Jeremy Stretch
04571ce920 Fix the initial permissions check on create/edit view tests 2020-06-26 15:21:59 -04:00
Jeremy Stretch
40c416618a Link to cable termination objects 2020-06-26 15:13:41 -04:00
Jeremy Stretch
9a1531442a Apply restrict_form_fields() to bulk edit views 2020-06-26 15:11:05 -04:00
Jeremy Stretch
6128ef4b37 Remove redundant ObjectPermissionViewTestCase 2020-06-26 15:00:47 -04:00
Jeremy Stretch
84db1adfaf Fix create, edit view test methods 2020-06-26 14:48:04 -04:00
Jeremy Stretch
2c354c7f86 Fix automatic creation of UserConfig for user created via admin UI 2020-06-26 14:29:24 -04:00
Jeremy Stretch
edc65a6a34 Introduce restrict_form_fields() to automatically restrict field querysets based on user 2020-06-26 13:59:53 -04:00
Jeremy Stretch
8412f9481c Force restriction of RestrictedQuerySet even for superusers 2020-06-26 13:18:12 -04:00
Jeremy Stretch
95965d65c9 Fix some instances where RestrictedQuerySet is evaluated prematurely 2020-06-26 12:22:02 -04:00
Jeremy Stretch
9777f25b9f Set the default action to 'view' for restrict() 2020-06-26 11:57:07 -04:00
Jeremy Stretch
6e3a32567c Move utility functions to utils.py 2020-06-26 11:56:30 -04:00
Jeremy Stretch
319799b5ce Closes #4795: Add bulk disconnect capability for console and power ports 2020-06-25 17:08:51 -04:00
Jeremy Stretch
128327b8a3 Split url_name template filter into viewname() and validated_viewname() 2020-06-25 16:50:35 -04:00
Jeremy Stretch
6f8f3f98b4 Tweak ObjectChangeLogView to work with both restricted and unrestricted querysets 2020-06-25 15:58:13 -04:00
Jeremy Stretch
2e272132b0 Add test method for changelog view 2020-06-25 15:43:47 -04:00
Jeremy Stretch
1dbae5b64c Closes #4792: Add bulk rename capability for console and power ports 2020-06-25 14:18:29 -04:00
Jeremy Stretch
6d23d9ebb7 Merge pull request #4790 from netbox-community/4788-component-views
#4788: Add individual views for device components
2020-06-25 13:38:09 -04:00
Jeremy Stretch
ec9b33ac97 Fix typo 2020-06-25 13:36:54 -04:00
Jeremy Stretch
5aa2a6eefe Add plugin buttons & content to device component views 2020-06-25 13:27:01 -04:00
Jeremy Stretch
103a44991a Changelog for #4788 2020-06-25 12:22:21 -04:00
Jeremy Stretch
0fcdd63941 Linkify components under device view 2020-06-25 12:21:25 -04:00
Jeremy Stretch
8695714c65 Fix device component changelog display 2020-06-25 12:09:56 -04:00