Jeremy Stretch
|
8a26f475a7
|
Fixes #4774: Fix exception when deleting a device with device bays
|
2020-06-30 09:43:05 -04:00 |
|
John Anderson
|
1d922a1848
|
fix previous job result deletion
|
2020-06-30 09:29:50 -04:00 |
|
Jeremy Stretch
|
51e9b0a22a
|
Closes #4796: Introduce configuration parameters for default rack elevation size
|
2020-06-30 09:26:32 -04:00 |
|
Jeremy Stretch
|
268b4c854e
|
Closes #4802: Allow changing page size when displaying only a single page of results
|
2020-06-30 09:00:42 -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 |
|
John Anderson
|
f48a079ae6
|
fix tests and cleanup
|
2020-06-29 14:34:42 -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 |
|
John Anderson
|
1681dbfa39
|
refactor migration
|
2020-06-29 04:22:01 -04:00 |
|
John Anderson
|
3777fbccc3
|
Implements #2006 - run reports and scripts in the background
|
2020-06-29 03:50:05 -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 |
|
Ryan Merolle
|
c8461095c9
|
add missing NEMA power ports/outlets (#4784)
* add various NEMA power ports/outlets
|
2020-06-26 15:34:38 -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
|
5dfa80c0b9
|
Fix the initial permissions check on create/edit/delete view tests
|
2020-06-26 15:17:07 -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 |
|
Sander Steffann
|
b26fc81187
|
Sort the list for consistent output
|
2020-06-26 18:42:08 +02:00 |
|
Sander Steffann
|
0455947597
|
Make sure that the endpoint is actually a CableTermination
|
2020-06-26 18:24:04 +02:00 |
|
Jeremy Stretch
|
95965d65c9
|
Fix some instances where RestrictedQuerySet is evaluated prematurely
|
2020-06-26 12:22:02 -04:00 |
|
Daniel Sheppard
|
8179cfa4c1
|
#4695 - Rename LimitedMetaData to ContentTypeMetadata
|
2020-06-26 11:09:27 -05:00 |
|
Daniel Sheppard
|
d21881e207
|
#4695 - Add Metadata class that returns content type choices
|
2020-06-26 10:59:21 -05: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 |
|
Sander Steffann
|
25926e32f0
|
Replace is_connected_endpoint with simple isinstance check
It was only used in a single location anyway…
|
2020-06-26 17:30:59 +02:00 |
|
Sander Steffann
|
3fdc8e7d3d
|
Replace is_path_endpoint with simple isinstance check
It was only used in a single location anyway…
|
2020-06-26 17:25:07 +02:00 |
|
Jeremy Stretch
|
71afba4d2e
|
Fixes #4791: Update custom script documentation for ObjectVar
|
2020-06-25 17:33:41 -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
|
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
|
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 |
|
Jeremy Stretch
|
2001cfe864
|
Update and simplify device component tables
|
2020-06-25 12:03:44 -04:00 |
|
Jeremy Stretch
|
3badfd756c
|
Extend DeviceComponentViewTestCase to include GetObjectViewTestCase
|
2020-06-25 11:04:42 -04:00 |
|
Jeremy Stretch
|
b08d9a5a8e
|
Add individual views for device components
|
2020-06-25 11:01:18 -04:00 |
|
Jeremy Stretch
|
ecf40e1525
|
Add/update device component templates
|
2020-06-25 11:00:25 -04:00 |
|
Jeremy Stretch
|
909ddd653c
|
Extend ObjectView to provide a default get() method
|
2020-06-25 10:53:00 -04:00 |
|
Jeremy Stretch
|
2f19350ff5
|
Tweak url_name template filter to work with URLs which need a PK
|
2020-06-25 10:49:30 -04:00 |
|
Jeremy Stretch
|
68ef5177f0
|
Introduce template filters for checking dynamic permissions
|
2020-06-25 10:48:21 -04:00 |
|
Jeremy Stretch
|
ba138de53b
|
Fix display of tags
|
2020-06-24 16:27:44 -04:00 |
|
Jeremy Stretch
|
e2398c8c0e
|
Fix signal logic
|
2020-06-24 15:57:52 -04:00 |
|
Jeremy Stretch
|
36cf40f25c
|
Enable CSV import for virtual chassis
|
2020-06-24 15:29:25 -04:00 |
|
Jeremy Stretch
|
59c1e34024
|
Initial work on #2018: Add name to VirtualChassis
|
2020-06-24 15:21:42 -04:00 |
|
Jeremy Stretch
|
4d2c75a824
|
Restore ability to assign interface when editing an IPAddress
|
2020-06-24 11:30:28 -04:00 |
|
Jeremy Stretch
|
99c72c78c1
|
Update VMInterface view names
|
2020-06-24 10:09:22 -04:00 |
|
Jeremy Stretch
|
052555c3f7
|
Add bulk renaming function for VM interfaces
|
2020-06-24 10:02:40 -04:00 |
|
Jeremy Stretch
|
9a0bc16c86
|
Update device/VM interface templates
|
2020-06-24 09:52:22 -04:00 |
|
Jeremy Stretch
|
6663844a86
|
Rename 'vm_interface' to 'vminterface'; misc cleanup
|
2020-06-24 09:27:30 -04:00 |
|
Jeremy Stretch
|
d6386f739e
|
Restore interface filtering for IPAddresses
|
2020-06-24 09:22:35 -04:00 |
|
Sander Steffann
|
ed1717f858
|
Revert "Bumping version just to test the GitHub Action"
This reverts commit 1cf0868e
|
2020-06-24 13:09:11 +02:00 |
|
Sander Steffann
|
1cf0868e30
|
Bumping version just to test the GitHub Action
|
2020-06-24 13:07:54 +02:00 |
|
Jeremy Stretch
|
afda46d587
|
Fix VMInterface bulk creation
|
2020-06-23 17:28:34 -04:00 |
|
Jeremy Stretch
|
603c804535
|
Add VMInterface CSV import view
|
2020-06-23 17:09:21 -04:00 |
|
Jeremy Stretch
|
fce19a363d
|
Add VMInterface list view
|
2020-06-23 16:52:05 -04:00 |
|
Jeremy Stretch
|
e3820e93b7
|
Misc cleanup, renaming
|
2020-06-23 16:39:43 -04:00 |
|
Jeremy Stretch
|
459e485555
|
Restore interface assignment for IPAddress CSV import
|
2020-06-23 16:09:31 -04:00 |
|
Jeremy Stretch
|
548127cc88
|
Rename VMInterface serializers
|
2020-06-23 15:46:20 -04:00 |
|
Jeremy Stretch
|
a1b816b403
|
Remove 'parent' attribute from VMinterface
|
2020-06-23 15:31:53 -04:00 |
|
Jeremy Stretch
|
5ad5994b9d
|
Update interface view templates
|
2020-06-23 15:09:32 -04:00 |
|
Jeremy Stretch
|
25d6bbf659
|
Update view and permission names for VMInterface
|
2020-06-23 14:48:37 -04:00 |
|
Jeremy Stretch
|
75354a8a78
|
Rename Interface to VMInterface
|
2020-06-23 13:21:44 -04:00 |
|
Jeremy Stretch
|
d1bd010e05
|
Fix Interface tag replication in schema migration
|
2020-06-23 12:50:22 -04:00 |
|
Jeremy Stretch
|
bb6be8e3d3
|
Disable editing assigned interface under IPAddress form
|
2020-06-22 16:36:06 -04:00 |
|
Jeremy Stretch
|
fc2d08c407
|
Set related_query_name for GenericRelations to IPAddress
|
2020-06-22 16:27:13 -04:00 |
|
Jeremy Stretch
|
40938f0c8a
|
Retain ip_addresses name for related IPAddress objects
|
2020-06-22 16:13:18 -04:00 |
|
Jeremy Stretch
|
490dee1fa0
|
Merge branch 'develop-2.9' into 4721-virtualmachine-interface
|
2020-06-22 16:04:20 -04:00 |
|
Jeremy Stretch
|
27796bbd08
|
Add queryset to IPAddressBulkCreateView
|
2020-06-22 15:58:47 -04:00 |
|
Jeremy Stretch
|
b5d53fa850
|
Fix schema deconstruction for NaturalOrderingField
|
2020-06-22 15:49:09 -04:00 |
|
Jeremy Stretch
|
7b24984280
|
Update IPAddressSerializer
|
2020-06-22 15:39:57 -04:00 |
|
Jeremy Stretch
|
37564d630a
|
Misc test fixes
|
2020-06-22 15:22:03 -04:00 |
|
Jeremy Stretch
|
380a5cf8a7
|
Fix IP choices for DeviceForm
|
2020-06-22 15:12:35 -04:00 |
|
Jeremy Stretch
|
f2b26282b8
|
Disable VM interface bulk creation testing
|
2020-06-22 15:09:16 -04:00 |
|
Jeremy Stretch
|
31bb70d9a2
|
Fixed IPAM tests
|
2020-06-22 14:46:25 -04:00 |
|
Jeremy Stretch
|
2608b3f9f3
|
Separate VM interface view and template
|
2020-06-22 14:33:53 -04:00 |
|
Jeremy Stretch
|
e76b1f1daa
|
Fix assigned_object field
|
2020-06-22 13:50:14 -04:00 |
|
Jeremy Stretch
|
6cb31a274f
|
Initial work on #4721 (WIP)
|
2020-06-22 13:10:56 -04:00 |
|
Jeremy Stretch
|
181bcd70ad
|
Fix schema migrations for device components
|
2020-06-22 12:01:57 -04:00 |
|
Jeremy Stretch
|
4f3fde8055
|
#4615: Add label field to component tables
|
2020-06-18 13:57:15 -04:00 |
|
Jeremy Stretch
|
c832e3c2c7
|
#4615: Add missing label field to device bay forms
|
2020-06-18 13:35:11 -04:00 |
|
Jeremy Stretch
|
88bf183af5
|
Merge branch 'develop' into develop-2.9
|
2020-06-18 13:20:32 -04:00 |
|
Jeremy Stretch
|
462f992a2b
|
Introduce ComponentCreateForm to standardize forms for device component creation
|
2020-06-18 12:09:28 -04:00 |
|
Jeremy Stretch
|
c5dc075fb0
|
Fixes #4775: Allow selecting an alternate device type when creating component templates
|
2020-06-18 11:59:24 -04:00 |
|
Jeremy Stretch
|
11a247edc2
|
Fix up tests
|
2020-06-18 10:32:22 -04:00 |
|
Jeremy Stretch
|
328d639886
|
Merge branch 'develop' into develop-2.9
|
2020-06-17 16:57:17 -04:00 |
|
Jeremy Stretch
|
0800279325
|
Standardize SecretTest
|
2020-06-17 15:37:28 -04:00 |
|
Jeremy Stretch
|
26770515e1
|
Refactor TestCase to provide model_to_dict(), prepare_instance()
|
2020-06-17 15:36:56 -04:00 |
|
Jeremy Stretch
|
b0c24de596
|
Fixes #4772: Fix "brief" format for the secrets REST API endpoint
|
2020-06-17 14:22:55 -04:00 |
|
Jeremy Stretch
|
fd18395f78
|
Fix queryset for TagBulkImportView
|
2020-06-17 13:31:26 -04:00 |
|
Jeremy Stretch
|
360c56ec34
|
Fix permission evaluation for BulkComponentCreateViews
|
2020-06-17 13:30:00 -04:00 |
|
Jeremy Stretch
|
3890d17c61
|
Clean up errant references to TagField
|
2020-06-17 13:29:27 -04:00 |
|
Jeremy Stretch
|
2d4694e72d
|
Merge pull request #4770 from netbox-community/3703-limit-tag-creation
Closes #3703: Restrict tag creation
|
2020-06-17 12:28:04 -04:00 |
|
Jeremy Stretch
|
54ece346bc
|
DummyQuerySet should be iterable to allow for serialization
|
2020-06-17 12:20:56 -04:00 |
|
Jeremy Stretch
|
5e71bad5cf
|
Fix serialization of tags upon object deletion
|
2020-06-17 12:00:50 -04:00 |
|
Jeremy Stretch
|
bb755daf8b
|
Update tests
|
2020-06-17 11:14:41 -04:00 |
|
Sander Steffann
|
715ddc6b02
|
Define is_path_endpoint and is_connected_endpoint separately, as a CableTermination is a possible connected endpoint but not always the end of the path.
|
2020-06-17 17:11:28 +02:00 |
|
Jeremy Stretch
|
ef978b2ebf
|
Update TaggedItemTest
|
2020-06-17 10:50:37 -04:00 |
|
Jeremy Stretch
|
d0f0aef2ef
|
Remove django-taggit-serializer
|
2020-06-17 10:00:21 -04:00 |
|
Jeremy Stretch
|
448dc1442c
|
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
|
2020-06-17 09:57:17 -04:00 |
|
Jeremy Stretch
|
e23a5ad141
|
Fixes #4766: Fix redirect after login when next is not specified
|
2020-06-17 09:15:03 -04:00 |
|
Jeremy Stretch
|
4ae05dddeb
|
Tag should use a stock manager by default
|
2020-06-16 17:02:03 -04:00 |
|
Jeremy Stretch
|
b318bde76c
|
Fix queryset reference under BulkDeleteView
|
2020-06-16 16:40:16 -04:00 |
|
Sander Steffann
|
3876efe494
|
Fix is_path_endpoint flag on CableTermination
|
2020-06-16 21:56:46 +02:00 |
|
Sander Steffann
|
f075339c5f
|
Improve test comments and remove over-enthusiastic tests
|
2020-06-16 21:48:26 +02:00 |
|
Sander Steffann
|
abaf0daa6e
|
Store the front ports on the position_stack so we can provide better feedback to the user
|
2020-06-16 21:47:37 +02:00 |
|
Sander Steffann
|
4a11800d9e
|
Better comments
|
2020-06-16 21:47:10 +02:00 |
|
Sander Steffann
|
cafecb091d
|
Replace temporary comment with proper one
|
2020-06-16 21:46:16 +02:00 |
|
Jeremy Stretch
|
7cf0e6034b
|
Optimize tag population under prepare_cloned_fields()
|
2020-06-16 15:12:50 -04:00 |
|
Jeremy Stretch
|
c7aa0a2321
|
Fix prepare_cloned_fields() inefficiency
|
2020-06-16 15:08:14 -04:00 |
|
Jeremy Stretch
|
58f4e3756c
|
Fix ObjectChangeLogView
|
2020-06-16 15:04:34 -04:00 |
|
Jeremy Stretch
|
067e89f6a0
|
Allow unrestricted access to assigned tags
|
2020-06-16 14:59:22 -04:00 |
|
Jeremy Stretch
|
efed2bc262
|
Fix restriction violations for rack model
|
2020-06-16 14:53:51 -04:00 |
|
Jeremy Stretch
|
adf0255bdf
|
Allow unrestricted access to assigned tags
|
2020-06-16 14:17:40 -04:00 |
|
Jeremy Stretch
|
1e259f3043
|
Allow unrestricted retrieval of MPTT ancestors
|
2020-06-16 14:10:56 -04:00 |
|
Jeremy Stretch
|
ffa3a229b5
|
Fix restriction violations for provider, circuit models
|
2020-06-16 14:00:43 -04:00 |
|
Jeremy Stretch
|
0f8df8c985
|
Add unrestricted() to Rack methods
|
2020-06-16 13:31:51 -04:00 |
|
Jeremy Stretch
|
ed0b38c7a7
|
Bypass restriction for querysets used for filtering by related object
|
2020-06-16 13:15:58 -04:00 |
|
Jeremy Stretch
|
fa0ff8be39
|
Restrict ExportTemplates available via export button
|
2020-06-16 13:06:03 -04:00 |
|
Jeremy Stretch
|
5d724f6b84
|
Fix up permissions enforcement for home view, global search
|
2020-06-16 13:03:38 -04:00 |
|
Jeremy Stretch
|
ffb43a8534
|
Introduce unrestricted() method on RestrictedQuerySet
|
2020-06-16 12:20:21 -04:00 |
|
Jeremy Stretch
|
ce5fd7955f
|
Catch and log evaluation of RestrictedQuerySet without calling restrict()
|
2020-06-16 10:39:15 -04:00 |
|
Jeremy Stretch
|
e917535380
|
Merge branch 'develop' into develop-2.9
|
2020-06-15 16:04:32 -04:00 |
|
Jeremy Stretch
|
a5512dd4c4
|
Post-release version bump
|
2020-06-15 14:57:05 -04:00 |
|
Jeremy Stretch
|
60deb3f0ba
|
Release v2.8.6
|
2020-06-15 14:37:36 -04:00 |
|
Jeremy Stretch
|
eaaaaec5a5
|
Fixes #4710: Fix merging of form fields among custom scripts
|
2020-06-15 14:20:00 -04:00 |
|
Jeremy Stretch
|
5bcf85e57d
|
Closes #4744: Hide IP addresses tab when viewing a container prefix
|
2020-06-15 13:33:16 -04:00 |
|
Jeremy Stretch
|
1d466d6fd1
|
Closes #4761: Enable tag assignment during bulk creation of IP addresses
|
2020-06-15 13:24:34 -04:00 |
|
Jeremy Stretch
|
57cfb4ed7e
|
Fixes #4760: Enable power port template assignment when bulk editing power outlet templates
|
2020-06-15 13:18:26 -04:00 |
|
Jeremy Stretch
|
9fa4cbdfa5
|
Correction for #4756
|
2020-06-15 12:43:08 -04:00 |
|
Jeremy Stretch
|
5af2b3c2f5
|
Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks
|
2020-06-15 11:53:47 -04:00 |
|
Jeremy Stretch
|
2e5058c4c9
|
Fixes #4756: Filter parent group by site when creating rack groups
|
2020-06-15 10:02:35 -04:00 |
|
Jeremy Stretch
|
9fc4a4f24a
|
Closes #4755: Enable creation of rack reservations directly from navigation menu
|
2020-06-12 15:11:27 -04:00 |
|
Jeremy Stretch
|
e905a36fb2
|
Update tests for tag changes
|
2020-06-12 11:33:23 -04:00 |
|
Jeremy Stretch
|
7dc4f8d5cc
|
Remove TagField
|
2020-06-12 10:01:39 -04:00 |
|
Jeremy Stretch
|
da906f48d9
|
Standardize add, import, and export functionality for tags
|
2020-06-12 09:48:23 -04:00 |
|
Jeremy Stretch
|
057a022205
|
Clean up and improve UI view tests
|
2020-06-11 16:12:50 -04:00 |
|
Jeremy Stretch
|
7a54bd9f2a
|
Changelog and migrations fix for #4615
|
2020-06-11 13:42:20 -04:00 |
|
Jeremy Stretch
|
9b48a26aef
|
Merge pull request #4723 from jsenecal/4615_interface_label
Closes: #4615 Physical labels
|
2020-06-11 13:03:46 -04:00 |
|
Jonathan Senecal
|
a37d06064a
|
Add label to DeviceBay models and serializers
|
2020-06-11 10:19:53 -04:00 |
|
Jonathan Senecal
|
c1eea166c9
|
Fix tests for LabeledComponentForm
* Added docstring
* Removed redundant tests since refactoration
|
2020-06-10 22:58:52 -04:00 |
|
Jonathan Senecal
|
25cbab2ea4
|
Avoid checking field twice on all iterations
Yields a small performance improvement
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
|
2020-06-10 22:16:46 -04:00 |
|
Jonathan Senecal
|
cf81a8979f
|
Avoid component_type on subclasses
|
2020-06-10 22:10:45 -04:00 |
|
Jonathan Senecal
|
e3a8638471
|
Move __str__() to the abstract class
|
2020-06-10 22:04:45 -04:00 |
|
Jeremy Stretch
|
d26fcc9918
|
Annotated blocked TODO items
|
2020-06-10 16:56:24 -04:00 |
|
Jeremy Stretch
|
8e9dc9f20e
|
Add EditObjectViewTestCase for VirtualChassis
|
2020-06-10 16:51:35 -04:00 |
|
Jonathan Senecal
|
81d08ac50b
|
Stay consistent with codebase: i vs pos
|
2020-06-10 16:41:52 -04:00 |
|
Jeremy Stretch
|
e13320f58d
|
Fix permissions enforcement for VirtualChassisEditView
|
2020-06-10 16:37:35 -04:00 |
|
Jeremy Stretch
|
1f727f565f
|
Adopted fix from #4743 and updated API tests
|
2020-06-10 16:11:28 -04:00 |
|
Jeremy Stretch
|
9fd36279ab
|
Fixes #4743: Allow users to create "next available" IPs without needing permission to create prefixes
|
2020-06-10 16:06:11 -04:00 |
|
Jeremy Stretch
|
4078d9b669
|
Remove extraneous test
|
2020-06-10 15:22:49 -04:00 |
|
Jonathan Senecal
|
3b54d6f8e5
|
No need to reference the model itself
|
2020-06-10 15:11:47 -04:00 |
|
Jonathan Senecal
|
f041c762ac
|
Prevent the table cell from rendering empty for interface.label
Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
|
2020-06-10 14:59:23 -04:00 |
|
Jeremy Stretch
|
88ae522c9a
|
Closes #4742: Add tagging for cables, power panels, and rack reservations
|
2020-06-10 14:55:46 -04:00 |
|
Jonathan Senecal
|
5cdaaed311
|
Use a single migration for labels
|
2020-06-10 14:04:55 -04:00 |
|
Jeremy Stretch
|
9abc67bbeb
|
Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels
|
2020-06-10 11:38:23 -04:00 |
|
Jeremy Stretch
|
16cdf3006f
|
Fixes #4736: Add cable trace endpoints for pass-through ports
|
2020-06-09 15:12:10 -04:00 |
|
Jeremy Stretch
|
15004c654f
|
Add missing API cable trace test for interfaces
|
2020-06-09 14:47:05 -04:00 |
|
Jeremy Stretch
|
ed9ca270a7
|
Add missing API tests for pass-through port templates
|
2020-06-09 13:24:07 -04:00 |
|
Jonathan Senecal
|
e0037c7f70
|
pycodestyle
|
2020-06-08 23:07:53 -04:00 |
|
Jonathan Senecal
|
4301c06d17
|
Refactorization into LabeledComponentForm
|
2020-06-08 23:07:12 -04:00 |
|
Jonathan Senecal
|
90bc1cd951
|
Test forms and views with labels
|
2020-06-08 20:04:31 -04:00 |
|
Jeremy Stretch
|
67784c0568
|
Merge pull request #4713 from netbox-community/4348-ldap-auth-backend
Closes #4348: Introduce LDAPBackend
|
2020-06-08 17:07:52 -04:00 |
|
Jonathan Senecal
|
892c0e3d8b
|
Leftover fix
|
2020-06-08 17:00:07 -04:00 |
|
Jeremy Stretch
|
ecd3963b7c
|
Merge pull request #4718 from netbox-community/4674-drf_yasg_definitions
Fixes #4674 - Fix available-ips and available-prefixes swagger definitions
|
2020-06-08 16:59:04 -04:00 |
|
Jeremy Stretch
|
2f53411efc
|
Extend assertInstanceEqual() to handle M2M relations to ContentType
|
2020-06-08 16:32:50 -04:00 |
|
Jeremy Stretch
|
7a858cea23
|
Extend test_bulk_create_objects() to inspect created objects
|
2020-06-08 15:58:54 -04:00 |
|
Jeremy Stretch
|
987414ed7b
|
Introduce NestedObjectPermissionSerializer
|
2020-06-08 15:44:16 -04:00 |
|
Jeremy Stretch
|
047286f9c0
|
Add a third initial object to VirtualChassisTest
|
2020-06-08 15:27:55 -04:00 |
|
Jeremy Stretch
|
a2955196af
|
Remove extraneous permission class from SecretRoleViewSet
|
2020-06-08 15:21:11 -04:00 |
|
Jeremy Stretch
|
62224857f0
|
Standardize ObjectPermissionTest
|
2020-06-08 14:01:15 -04:00 |
|
Jeremy Stretch
|
c1a37db871
|
Fix managers on Graph and ExportTemplate
|
2020-06-08 13:41:12 -04:00 |
|
Jeremy Stretch
|
a8145fe4c2
|
Add permission assignment to custom test methods
|
2020-06-08 13:40:46 -04:00 |
|
Jeremy Stretch
|
3b44e7c1c4
|
Update API test methods to evaluate permissions assignment
|
2020-06-08 11:52:29 -04:00 |
|
Jeremy Stretch
|
830fd5f83a
|
Remove duplicate test method
|
2020-06-08 11:22:12 -04:00 |
|
Jeremy Stretch
|
f83e435a90
|
Move APIViewTestCases to api.py
|
2020-06-08 10:46:53 -04:00 |
|
Jeremy Stretch
|
0ebd87bcb9
|
Merge branch 'develop' into develop-2.9
|
2020-06-08 10:33:23 -04:00 |
|
Jeremy Stretch
|
a8077e6ed1
|
Extend assertInstanceEqual() to accommodate REST API data
|
2020-06-08 09:47:14 -04:00 |
|
Jeremy Stretch
|
7def37961a
|
Correct exempted test methods on InterfaceTestCase
|
2020-06-05 16:17:10 -04:00 |
|
Jeremy Stretch
|
4f830c9c22
|
Fix list_brief tests
|
2020-06-05 16:09:55 -04:00 |
|
Jeremy Stretch
|
032f87caec
|
Merge branch 'develop' into 4722-api-tests
|
2020-06-05 15:50:14 -04:00 |
|
Jeremy Stretch
|
e616aad911
|
Fixes #4725: Fix "brief" rendering of various REST API endpoints
|
2020-06-05 15:49:06 -04:00 |
|
Jeremy Stretch
|
c2f6f5a7cd
|
Fix ProviderTest
|
2020-06-05 15:18:18 -04:00 |
|
Jeremy Stretch
|
d3fbaca228
|
Standardize virtualization API tests
|
2020-06-05 15:06:08 -04:00 |
|
Jeremy Stretch
|
ae913f14ce
|
Standardize tenancy API tests
|
2020-06-05 14:30:01 -04:00 |
|
Jeremy Stretch
|
1ee79ee61e
|
Standardize SecretRoleTest
|
2020-06-05 14:18:38 -04:00 |
|
Jeremy Stretch
|
b5ebfd0b07
|
Standardize IPAM API tests
|
2020-06-05 14:09:54 -04:00 |
|
Jonathan Senecal
|
286a3e6ca2
|
Add label to forms, views and templates
|
2020-06-05 13:59:59 -04:00 |
|
Jeremy Stretch
|
665646707c
|
Standardize extras API tests
|
2020-06-05 13:41:54 -04:00 |
|
Jeremy Stretch
|
279ae7ea10
|
Standardize DCIM API tests
|
2020-06-05 13:23:33 -04:00 |
|
Jonathan Senecal
|
d65cead212
|
Return an empty list if value is None
|
2020-06-05 12:34:09 -04:00 |
|
Jonathan Senecal
|
e21cbf2a06
|
Add the label to the string representation
|
2020-06-05 11:01:39 -04:00 |
|
Jonathan Senecal
|
1fae9aff0c
|
Add label to *port serializers
|
2020-06-05 10:42:13 -04:00 |
|
Jonathan Senecal
|
a06d74472d
|
Add label to *ports models
|
2020-06-05 10:32:59 -04:00 |
|
Jeremy Stretch
|
8cc1dc9f1c
|
Fix update data
|
2020-06-05 10:05:54 -04:00 |
|
Jeremy Stretch
|
86e5a09b01
|
Optimize test_get_provider_graphs()
|
2020-06-05 09:36:38 -04:00 |
|
Jeremy Stretch
|
1d5f2fbd11
|
Correct test method name
|
2020-06-05 09:19:31 -04:00 |
|
Jonathan Senecal
|
f8851121ab
|
Add the label to the string representation
|
2020-06-04 17:11:27 -04:00 |
|
Jonathan Senecal
|
e9f8640ee6
|
Add label to Interface serializers
|
2020-06-04 16:50:51 -04:00 |
|
Jeremy Stretch
|
4219691e62
|
Update circuits API tests to use APIViewTestCases
|
2020-06-04 16:47:15 -04:00 |
|
Jeremy Stretch
|
4ae1879b87
|
Introduce APIViewTestCases for standardized API view testing
|
2020-06-04 16:45:03 -04:00 |
|
Jonathan Senecal
|
cde1db4436
|
Add label to interface models
|
2020-06-04 16:44:25 -04:00 |
|
Jeremy Stretch
|
d2dce6db25
|
Merge pull request #4719 from netbox-community/4715-avoid-unnecessary-queries
Fixes #4715: Avoid unnecessary queries in Cable.from_db
|
2020-06-04 13:13:17 -04:00 |
|
Jeremy Stretch
|
fae115b995
|
Closes #4698: Improve display of template code for object in admin UI
|
2020-06-04 13:11:24 -04:00 |
|
Sander Steffann
|
8f9dcf5a97
|
Avoid unnecessary queries in Cable.from_db
|
2020-06-04 17:46:09 +02:00 |
|
Daniel Sheppard
|
5330914431
|
#4674 - Correct many=False to many=True on the response serializers
|
2020-06-04 09:42:00 -05:00 |
|
Daniel Sheppard
|
927c012fc9
|
#4674 - Fix available-ips and available-prefixes swagger definitions
|
2020-06-04 09:35:58 -05:00 |
|
Jeremy Stretch
|
040fadb0c3
|
Move LDAP authentication support to LDAPBackend
|
2020-06-03 15:42:24 -04:00 |
|
Jeremy Stretch
|
bb1484a444
|
Dropped backward compatibility for the /admin/webhook-backend-status URL
|
2020-06-03 14:15:29 -04:00 |
|
Jeremy Stretch
|
b31cc89478
|
Dropped backward compatibility for 'webhooks' Redis queue
|
2020-06-03 14:13:18 -04:00 |
|
Jeremy Stretch
|
3084d58da1
|
Add REST API endpoint for ObjectPermissions
|
2020-06-03 13:08:04 -04:00 |
|
Jeremy Stretch
|
d157818d7e
|
Rename attrs to constraints
|
2020-06-03 09:43:46 -04:00 |
|
Jeremy Stretch
|
ddcd172af1
|
Rename content_types to object_types
|
2020-06-03 09:27:20 -04:00 |
|
Jeremy Stretch
|
19407ba3bc
|
Uodate script and report views to use ObjectPermissionRequiredMixin
|
2020-06-02 15:40:39 -04:00 |
|
Jeremy Stretch
|
3502398d1d
|
Remove delete_token permission from TokenDeleteView
|
2020-06-02 15:36:31 -04:00 |
|
Jeremy Stretch
|
205acd2c4d
|
Update VirtualChassis views to support ObjectPermissions
|
2020-06-02 15:33:41 -04:00 |
|
Jeremy Stretch
|
e463430d51
|
Change CableCreateView to use ObjectEditView
|
2020-06-02 15:15:57 -04:00 |
|
Jeremy Stretch
|
cae412d280
|
Update ObjectImportView to support ObjectPermissions
|
2020-06-02 14:23:04 -04:00 |
|
Jeremy Stretch
|
56f6698ba5
|
Fixes #4707: Fix prefix_count population on VLAN API serializer
|
2020-06-02 13:40:14 -04:00 |
|
Jeremy Stretch
|
a62b98ac50
|
Admin UI improvements
|
2020-06-02 13:21:58 -04:00 |
|
Jeremy Stretch
|
7a7634de2d
|
Accomodate custom legacy permission in schema migration
|
2020-06-02 10:50:58 -04:00 |
|
Jeremy Stretch
|
c6e85970d4
|
Remove activate_userkey permission
|
2020-06-02 09:51:56 -04:00 |
|
Jeremy Stretch
|
110bad7041
|
Update custom napalm_read, napalm_write permissions
|
2020-06-02 09:46:32 -04:00 |
|
Jeremy Stretch
|
85e932bfc1
|
Clean up permissions utility functions
|
2020-06-02 09:31:59 -04:00 |
|
Sander Steffann
|
886b59f400
|
Update tests for cables
|
2020-06-02 13:14:51 +02:00 |
|
Sander Steffann
|
8bd9b460cb
|
Only complete path when there are not split_ends or position_stack
|
2020-06-02 13:14:38 +02:00 |
|
Sander Steffann
|
34ae57dfa3
|
Show warning when position stack is not empty after trace
|
2020-06-02 13:13:41 +02:00 |
|
Sander Steffann
|
81a322eaaf
|
Add position_stack to returned values from trace()
|
2020-06-02 13:13:10 +02:00 |
|
Sander Steffann
|
2479b8a57f
|
Validate against is_path_endpoint instead of specific classes, and only when positions > 1
|
2020-06-02 13:11:35 +02:00 |
|
Jeremy Stretch
|
2fe4656db4
|
Permit connection of a multi-position RearPort to a FrontPort
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
6fc7c6a7d0
|
Update path validation tests for single-position rear port scenarios
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
1d33d7d205
|
Call full_clean() when saving Cable instances
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
56898f7e37
|
Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
3278cc8cc0
|
Recreate the model instance instead of re-saving a deleted model
Same end result, but easier to read
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
112dfb865b
|
Integrate patch panel building into one list
|
2020-06-02 12:03:02 +02:00 |
|
Sander Steffann
|
a0f4d481dc
|
make single front/rear port work when between panels
|
2020-06-02 12:03:02 +02:00 |
|
Jeremy Stretch
|
7b01ba9776
|
Fix external auth permissions test
|
2020-06-01 16:46:14 -04:00 |
|
Jeremy Stretch
|
76f74f479b
|
Support permission attribute assignment via REMOTE_AUTH_DEFAULT_PERMISSIONS
|
2020-06-01 16:23:45 -04:00 |
|
Jeremy Stretch
|
5d4cc5bf3d
|
Fix ordering of group and user fields in ObjectPermission admin
|
2020-06-01 13:59:58 -04:00 |
|
Jeremy Stretch
|
26d7c21314
|
Move authentication backends
|
2020-06-01 13:47:34 -04:00 |
|
Jeremy Stretch
|
a4af270ea8
|
Restrict querysets for home, search views
|
2020-06-01 13:36:57 -04:00 |
|
Jeremy Stretch
|
b6c38ceb73
|
Call permission_is_exempt() to check for exempt permissions
|
2020-06-01 13:17:59 -04:00 |
|
Jeremy Stretch
|
3a9512f086
|
Refine queryset restriction logic
|
2020-06-01 13:09:34 -04:00 |
|
Jeremy Stretch
|
9679557747
|
Add permission_is_exempt()
|
2020-06-01 12:31:18 -04:00 |
|
Jeremy Stretch
|
3c334a0238
|
Update views to restrict all querysets
|
2020-06-01 11:43:49 -04:00 |
|
Jeremy Stretch
|
5574aaa8cb
|
Tweak restrict() to accept only an action keyword
|
2020-06-01 10:45:49 -04:00 |
|
Jeremy Stretch
|
edf15532d2
|
Fixes #4702: Catch IntegrityError exception when adding a non-unique secret
|
2020-06-01 10:00:32 -04:00 |
|
Jeremy Stretch
|
e23b2c4c4f
|
Implement RestrictedQuerySet as a manager
|
2020-05-29 16:27:36 -04:00 |
|
Jeremy Stretch
|
5b6a6fb63e
|
Move restrict_queryset() function to RestrictedQuerySet
|
2020-05-29 15:09:08 -04:00 |
|
Jeremy Stretch
|
58989b85c8
|
Introduce restrict_queryset()
|
2020-05-29 14:12:24 -04:00 |
|
Jeremy Stretch
|
8786bb25c5
|
Fix instance evaluation
|
2020-05-29 13:57:38 -04:00 |
|
Jeremy Stretch
|
670139492d
|
Fix permission action evaluation
|
2020-05-29 13:47:19 -04:00 |
|
Jeremy Stretch
|
5d3cf8074b
|
Add migration for replicating legact permissions to ObjectPermissions
|
2020-05-29 13:42:38 -04:00 |
|
Jeremy Stretch
|
85c54703ec
|
Improve the admin form for ObjectPermissions
|
2020-05-29 12:08:51 -04:00 |
|
Jeremy Stretch
|
02687453f2
|
Add ArrayField on ObjectPermission to store actions
|
2020-05-29 11:25:13 -04:00 |
|
Jeremy Stretch
|
90828cedae
|
Introduce proxy models for User and Group to organize admin UI
|
2020-05-29 10:43:12 -04:00 |
|
Jeremy Stretch
|
f65b2278f0
|
Enable many-to-many model assignment for ObjectPermissions
|
2020-05-28 15:04:46 -04:00 |
|
Jeremy Stretch
|
bdfc0364d5
|
Fix up ObjectPermission content type assignment
|
2020-05-28 14:20:18 -04:00 |
|
Jeremy Stretch
|
65bd3fbddb
|
Remove built-in permission assignment from admin UI
|
2020-05-28 14:03:08 -04:00 |
|
Jeremy Stretch
|
f8e29ea66a
|
Remove ObjectPermissionManager
|
2020-05-28 13:47:52 -04:00 |
|
Jeremy Stretch
|
a8ed04c4d2
|
Expose assigned ObjectPermissions on User instance
|
2020-05-28 13:25:37 -04:00 |
|
Jeremy Stretch
|
73b7eb0c7f
|
Skip queryset filtering for superusers
|
2020-05-28 13:25:12 -04:00 |
|
Jeremy Stretch
|
486f1a74ab
|
Standardize base classes for view test cases
|
2020-05-28 12:05:54 -04:00 |
|
Jeremy Stretch
|
5d36d81ae1
|
Restore model-level permission tests
|
2020-05-28 11:08:35 -04:00 |
|
Jeremy Stretch
|
dc56e49410
|
Introduce resolve_permission() utility function
|
2020-05-28 10:35:59 -04:00 |
|
Jeremy Stretch
|
ca199cdefe
|
Reduce ObjectPermission creation boilerplate
|
2020-05-28 10:27:25 -04:00 |
|
Jeremy Stretch
|
b2ba9d68c9
|
Fix default permissions assignment under RemoteUserBackend
|
2020-05-28 10:04:19 -04:00 |
|
Jeremy Stretch
|
00ce3588d3
|
Fix secrets API tests
|
2020-05-28 09:51:02 -04:00 |
|
Jeremy Stretch
|
814aff78b5
|
Update ObjectPermission evaluation to support null attrs
|
2020-05-28 09:39:27 -04:00 |
|
Jeremy Stretch
|
a261d10bfd
|
Fix permissions assignment for SecretTest
|
2020-05-27 17:10:45 -04:00 |
|
Jeremy Stretch
|
ce46512c74
|
Fix permission assignment in tests
|
2020-05-27 16:53:30 -04:00 |
|
Jeremy Stretch
|
fb7446487e
|
Fix up permissions evaluation
|
2020-05-27 11:31:07 -04:00 |
|
Jeremy Stretch
|
a6a88a0d2e
|
Delete extraneous test case
|
2020-05-27 11:30:36 -04:00 |
|
Jeremy Stretch
|
4cee506710
|
Rebase RemoteUserBackend on BaseBackend
|
2020-05-27 10:52:59 -04:00 |
|
Jeremy Stretch
|
5dddf6846b
|
Disable built-in model permissions
|
2020-05-27 10:48:56 -04:00 |
|
Jeremy Stretch
|
03da9348e5
|
Merge branch 'develop-2.9' into 554-object-permissions
|
2020-05-26 16:42:39 -04:00 |
|
Jeremy Stretch
|
28a14cf5ae
|
Merge branch 'develop' into develop-2.9
|
2020-05-26 16:39:23 -04:00 |
|
Jeremy Stretch
|
56b7ab1734
|
Post-release version bump
|
2020-05-26 16:30:36 -04:00 |
|
Jeremy Stretch
|
c9a7527f33
|
Release v2.8.5
|
2020-05-26 16:17:01 -04:00 |
|
Jeremy Stretch
|
ccc31b2c7c
|
Fixes #4525: Allow passing initial data to custom script MultiObjectVar
|
2020-05-26 15:34:29 -04:00 |
|
Jeremy Stretch
|
88cffca270
|
Closes #4650: Expose INTERNAL_IPS configuration parameter
|
2020-05-26 10:01:49 -04:00 |
|
Jeremy Stretch
|
92f49b4711
|
Closes #4672: Set default color for rack and devices roles
|
2020-05-26 09:36:27 -04:00 |
|
Jeremy Stretch
|
f04340679e
|
Merge branch 'develop' into 4684-devicetype-import-comment
|
2020-05-26 09:11:50 -04:00 |
|
Jeremy Stretch
|
4545c15173
|
Merge branch 'develop' into 4651-csrf-in-plugintemplateextension
|
2020-05-26 09:02:39 -04:00 |
|
kobayashi
|
74c29b0bb7
|
Fixes #4684: Fix ignored comment when importing DeviceType
|
2020-05-26 01:17:10 -04:00 |
|
Jeremy Stretch
|
635fefcb5c
|
Update exempted tests
|
2020-05-22 16:33:56 -04:00 |
|
Sander Steffann
|
ff3b348771
|
Add csrf_token to PluginTemplateExtension context
|
2020-05-22 22:28:04 +02:00 |
|
Sander Steffann
|
27700d316f
|
Add perms to PluginTemplateExtension context
|
2020-05-22 22:24:39 +02:00 |
|
Jeremy Stretch
|
77a49fa40e
|
Extend bulk import/edit/delete view tests to support object-level permissions
|
2020-05-22 16:04:43 -04:00 |
|
Jeremy Stretch
|
5273b9d0ee
|
Rename ImportObjectsViewTestCase
|
2020-05-22 14:57:35 -04:00 |
|
Jeremy Stretch
|
ae7445ee8e
|
Test object permissions for individual/list model views
|
2020-05-22 14:53:52 -04:00 |
|
Jeremy Stretch
|
3ef4287d57
|
Add additional_permissions to ObjectPermissionRequiredMixin
|
2020-05-22 12:41:20 -04:00 |
|
Jeremy Stretch
|
581dc4e070
|
Enforce object-level permissions for CableTraceView
|
2020-05-22 12:05:34 -04:00 |
|
Jeremy Stretch
|
1bce148be2
|
Enforce object-level permissions for ObjectConfigContextView
|
2020-05-22 11:55:56 -04:00 |
|
Jeremy Stretch
|
eb9147a575
|
Enforce object-level permissions for DeviceBay population views
|
2020-05-22 11:52:19 -04:00 |
|
Jeremy Stretch
|
781334b615
|
Enforce object-level permissions for RackElevationListView
|
2020-05-22 11:51:04 -04:00 |
|
Jeremy Stretch
|
5282ae2250
|
Enforce object-level permissions for cluster add/remove devices views
|
2020-05-22 11:30:46 -04:00 |
|
Jeremy Stretch
|
bae050e689
|
Replace legacy add/edit secret views with SecretEditView
|
2020-05-22 11:24:49 -04:00 |
|
Jeremy Stretch
|
ab60a5d73d
|
Enforce object-level permissions for IPAddressAssignView, VLANGroupVLANsView
|
2020-05-22 09:51:57 -04:00 |
|
Jeremy Stretch
|
71d4b5c5df
|
Enforce object-level permissions for circuit termination swap view
|
2020-05-22 09:45:29 -04:00 |
|
Jeremy Stretch
|
7e64d3e653
|
Transition BulkComponentCreateView to use ObjectPermissionRequiredMixin
|
2020-05-22 09:23:00 -04:00 |
|
Jeremy Stretch
|
e7fde2795f
|
Fix BulkDisconnectView
|
2020-05-21 16:34:15 -04:00 |
|
Jeremy Stretch
|
f36c797e98
|
Transition ComponentCreateView to use ObjectPermissionRequiredMixin
|
2020-05-21 16:28:11 -04:00 |
|
Jeremy Stretch
|
49b780358e
|
Transition BulkRenameView, BulkDisconnectView to use ObjectPermissionRequiredMixin
|
2020-05-21 16:11:46 -04:00 |
|
Jeremy Stretch
|
af8e1a6472
|
Strip 'param' indicators from docstrings
|
2020-05-21 16:00:18 -04:00 |
|
Jeremy Stretch
|
91362b0f82
|
Transition BulkCreateView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:53:50 -04:00 |
|
Jeremy Stretch
|
e61fc1f709
|
Introduce ObjectView to enforce object-level permissions for individual object views
|
2020-05-21 15:53:00 -04:00 |
|
Jeremy Stretch
|
8fd860a413
|
Transition BulkDeleteView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:14:29 -04:00 |
|
Jeremy Stretch
|
82c247f3cf
|
Transition BulkEditView to use ObjectPermissionRequiredMixin
|
2020-05-21 15:07:20 -04:00 |
|
Jeremy Stretch
|
5e5038d780
|
Transition BulkImportView to use ObjectPermissionRequiredMixin
|
2020-05-21 14:43:27 -04:00 |
|
Jeremy Stretch
|
2b32430a10
|
Transition ObjectDeleteView to use ObjectPermissionRequiredMixin
|
2020-05-21 14:34:40 -04:00 |
|
Jeremy Stretch
|
5381c4e0ae
|
Tweak evaluation of required permission for ObjectEditView
|
2020-05-21 14:26:56 -04:00 |
|
Jeremy Stretch
|
406b076b95
|
Transition ObjectEditView to use ObjectPermissionRequiredMixin
|
2020-05-21 13:59:19 -04:00 |
|
Jeremy Stretch
|
993ee8c900
|
Transition ObjectListView to use ObjectPermissionRequiredMixin
|
2020-05-21 13:22:09 -04:00 |
|
Jeremy Stretch
|
cc6e74dfd5
|
Move ObjectPermissionRequiredMixin to utilities.views
|
2020-05-21 13:12:15 -04:00 |
|
Jeremy Stretch
|
40c590f445
|
Add queryset to all BulkImportViews
|
2020-05-21 12:01:42 -04:00 |
|
Jeremy Stretch
|
5486cff441
|
Add object permission support, tests for bulk import/edit/delete views
|
2020-05-21 11:49:50 -04:00 |
|
Jeremy Stretch
|
a928d337d9
|
Add object permission support for create/update/delete API views
|
2020-05-21 10:51:40 -04:00 |
|
Jeremy Stretch
|
fa8407371b
|
Swap position of REMOTE_AUTH_BACKEND
|
2020-05-20 16:56:40 -04:00 |
|
Jeremy Stretch
|
8c40148ca7
|
Add object permission tests for get and list API views
|
2020-05-20 16:47:33 -04:00 |
|
Jeremy Stretch
|
8eb4d0a36b
|
Remove ViewExemptBackend; use same for model- and object-level permissions
|
2020-05-20 16:27:56 -04:00 |
|
Jeremy Stretch
|
64f60228ec
|
Add web UI view tests for object-level permissions
|
2020-05-20 13:35:54 -04:00 |
|
Jeremy Stretch
|
d2e1428c75
|
Closes #4665: Add NEMA L14 and L21 power port/outlet types
|
2020-05-20 09:36:55 -04:00 |
|
Jeremy Stretch
|
f3b22acc9a
|
Merge branch 'develop' into develop-2.9
|
2020-05-15 11:29:07 -04:00 |
|
Jeremy Stretch
|
cd236aa886
|
Closes #4645: Update minimum required version of PostgreSQL to 9.6
|
2020-05-15 10:11:36 -04:00 |
|
Jeremy Stretch
|
3c8e7e739d
|
Fixes #4649: Fix interface assignment for bulk-imported IP addresses
|
2020-05-15 09:44:00 -04:00 |
|
Jeremy Stretch
|
a64351279d
|
Fixes #4648: Fix bulk CSV import of child devices
|
2020-05-15 09:36:16 -04:00 |
|