Jeremy Stretch
|
52a13b1960
|
Closes #4793: Add description field to device component templates
|
2020-06-30 15:12:53 -04:00 |
|
Jeremy Stretch
|
52cff1ee50
|
Fixes #4771: Fix add/remove tag population when bulk editing objects
|
2020-06-30 09:55:54 -04:00 |
|
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 |
|