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

4410 Commits

Author SHA1 Message Date
ce5fd7955f Catch and log evaluation of RestrictedQuerySet without calling restrict() 2020-06-16 10:39:15 -04:00
e917535380 Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
a5512dd4c4 Post-release version bump 2020-06-15 14:57:05 -04:00
60deb3f0ba Release v2.8.6 2020-06-15 14:37:36 -04:00
eaaaaec5a5 Fixes #4710: Fix merging of form fields among custom scripts 2020-06-15 14:20:00 -04:00
5bcf85e57d Closes #4744: Hide IP addresses tab when viewing a container prefix 2020-06-15 13:33:16 -04:00
1d466d6fd1 Closes #4761: Enable tag assignment during bulk creation of IP addresses 2020-06-15 13:24:34 -04:00
57cfb4ed7e Fixes #4760: Enable power port template assignment when bulk editing power outlet templates 2020-06-15 13:18:26 -04:00
9fa4cbdfa5 Correction for #4756 2020-06-15 12:43:08 -04:00
5af2b3c2f5 Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks 2020-06-15 11:53:47 -04:00
2e5058c4c9 Fixes #4756: Filter parent group by site when creating rack groups 2020-06-15 10:02:35 -04:00
9fc4a4f24a Closes #4755: Enable creation of rack reservations directly from navigation menu 2020-06-12 15:11:27 -04:00
057a022205 Clean up and improve UI view tests 2020-06-11 16:12:50 -04:00
7a54bd9f2a Changelog and migrations fix for #4615 2020-06-11 13:42:20 -04:00
9b48a26aef Merge pull request #4723 from jsenecal/4615_interface_label
Closes: #4615 Physical labels
2020-06-11 13:03:46 -04:00
a37d06064a Add label to DeviceBay models and serializers 2020-06-11 10:19:53 -04:00
c1eea166c9 Fix tests for LabeledComponentForm
* Added docstring
* Removed redundant tests since refactoration
2020-06-10 22:58:52 -04:00
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
cf81a8979f Avoid component_type on subclasses 2020-06-10 22:10:45 -04:00
e3a8638471 Move __str__() to the abstract class 2020-06-10 22:04:45 -04:00
d26fcc9918 Annotated blocked TODO items 2020-06-10 16:56:24 -04:00
8e9dc9f20e Add EditObjectViewTestCase for VirtualChassis 2020-06-10 16:51:35 -04:00
81d08ac50b Stay consistent with codebase: i vs pos 2020-06-10 16:41:52 -04:00
e13320f58d Fix permissions enforcement for VirtualChassisEditView 2020-06-10 16:37:35 -04:00
1f727f565f Adopted fix from #4743 and updated API tests 2020-06-10 16:11:28 -04:00
9fd36279ab Fixes #4743: Allow users to create "next available" IPs without needing permission to create prefixes 2020-06-10 16:06:11 -04:00
4078d9b669 Remove extraneous test 2020-06-10 15:22:49 -04:00
3b54d6f8e5 No need to reference the model itself 2020-06-10 15:11:47 -04:00
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
88ae522c9a Closes #4742: Add tagging for cables, power panels, and rack reservations 2020-06-10 14:55:46 -04:00
5cdaaed311 Use a single migration for labels 2020-06-10 14:04:55 -04:00
9abc67bbeb Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels 2020-06-10 11:38:23 -04:00
16cdf3006f Fixes #4736: Add cable trace endpoints for pass-through ports 2020-06-09 15:12:10 -04:00
15004c654f Add missing API cable trace test for interfaces 2020-06-09 14:47:05 -04:00
ed9ca270a7 Add missing API tests for pass-through port templates 2020-06-09 13:24:07 -04:00
e0037c7f70 pycodestyle 2020-06-08 23:07:53 -04:00
4301c06d17 Refactorization into LabeledComponentForm 2020-06-08 23:07:12 -04:00
90bc1cd951 Test forms and views with labels 2020-06-08 20:04:31 -04:00
67784c0568 Merge pull request #4713 from netbox-community/4348-ldap-auth-backend
Closes #4348: Introduce LDAPBackend
2020-06-08 17:07:52 -04:00
892c0e3d8b Leftover fix 2020-06-08 17:00:07 -04:00
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
2f53411efc Extend assertInstanceEqual() to handle M2M relations to ContentType 2020-06-08 16:32:50 -04:00
7a858cea23 Extend test_bulk_create_objects() to inspect created objects 2020-06-08 15:58:54 -04:00
987414ed7b Introduce NestedObjectPermissionSerializer 2020-06-08 15:44:16 -04:00
047286f9c0 Add a third initial object to VirtualChassisTest 2020-06-08 15:27:55 -04:00
a2955196af Remove extraneous permission class from SecretRoleViewSet 2020-06-08 15:21:11 -04:00
62224857f0 Standardize ObjectPermissionTest 2020-06-08 14:01:15 -04:00
c1a37db871 Fix managers on Graph and ExportTemplate 2020-06-08 13:41:12 -04:00
a8145fe4c2 Add permission assignment to custom test methods 2020-06-08 13:40:46 -04:00
3b44e7c1c4 Update API test methods to evaluate permissions assignment 2020-06-08 11:52:29 -04:00