Commit Graph

5763 Commits

Author SHA1 Message Date
Jeremy Stretch
f98092c028 Restrict ExportTemplates available via export button 2020-06-16 13:06:03 -04:00
Jeremy Stretch
cb442b33b8 Fix up permissions enforcement for home view, global search 2020-06-16 13:03:38 -04:00
Jeremy Stretch
20a7fd143a Introduce unrestricted() method on RestrictedQuerySet 2020-06-16 12:20:21 -04:00
Jeremy Stretch
515586727c Catch and log evaluation of RestrictedQuerySet without calling restrict() 2020-06-16 10:39:15 -04:00
Jeremy Stretch
59c5d1e57e Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
Jeremy Stretch
0f1a4740d5 Post-release version bump 2020-06-15 14:57:05 -04:00
Jeremy Stretch
7bc64b3b4c Release v2.8.6 2020-06-15 14:37:36 -04:00
Jeremy Stretch
505673d84e Fixes #4710: Fix merging of form fields among custom scripts 2020-06-15 14:20:00 -04:00
Jeremy Stretch
ec459c4f7d Closes #4744: Hide IP addresses tab when viewing a container prefix 2020-06-15 13:33:16 -04:00
Jeremy Stretch
888d93507b Closes #4761: Enable tag assignment during bulk creation of IP addresses 2020-06-15 13:24:34 -04:00
Jeremy Stretch
e6f68f0099 Fixes #4760: Enable power port template assignment when bulk editing power outlet templates 2020-06-15 13:18:26 -04:00
Jeremy Stretch
f1e2c1b397 Correction for #4756 2020-06-15 12:43:08 -04:00
Jeremy Stretch
0ea46c6a43 Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks 2020-06-15 11:53:47 -04:00
Jeremy Stretch
4f4bbcd2fc Fixes #4756: Filter parent group by site when creating rack groups 2020-06-15 10:02:35 -04:00
Jeremy Stretch
9d8a9333c0 Closes #4755: Enable creation of rack reservations directly from navigation menu 2020-06-12 15:11:27 -04:00
Jeremy Stretch
c8a25fb2cd Update tests for tag changes 2020-06-12 11:33:23 -04:00
Jeremy Stretch
0b288fb7a9 Remove TagField 2020-06-12 10:01:39 -04:00
Jeremy Stretch
a59d980cda Standardize add, import, and export functionality for tags 2020-06-12 09:48:23 -04:00
Jeremy Stretch
45b3b6f091 Clean up and improve UI view tests 2020-06-11 16:12:50 -04:00
Jeremy Stretch
d00371c36c Changelog and migrations fix for #4615 2020-06-11 13:42:20 -04:00
Jeremy Stretch
7c5a8c959d Merge pull request #4723 from jsenecal/4615_interface_label
Closes: #4615 Physical labels
2020-06-11 13:03:46 -04:00
Jonathan Senecal
441b371719 Add label to DeviceBay models and serializers 2020-06-11 10:19:53 -04:00
Jonathan Senecal
3bed2e9b09 Fix tests for LabeledComponentForm
* Added docstring
* Removed redundant tests since refactoration
2020-06-10 22:58:52 -04:00
Jonathan Senecal
a596b2663c 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
95f5b6a1bc Avoid component_type on subclasses 2020-06-10 22:10:45 -04:00
Jonathan Senecal
31a0d4eea4 Move __str__() to the abstract class 2020-06-10 22:04:45 -04:00
Jeremy Stretch
46bd859976 Annotated blocked TODO items 2020-06-10 16:56:24 -04:00
Jeremy Stretch
5bd26815f7 Add EditObjectViewTestCase for VirtualChassis 2020-06-10 16:51:35 -04:00
Jonathan Senecal
c3effc86aa Stay consistent with codebase: i vs pos 2020-06-10 16:41:52 -04:00
Jeremy Stretch
2a09da831e Fix permissions enforcement for VirtualChassisEditView 2020-06-10 16:37:35 -04:00
Jeremy Stretch
f88a9cada2 Adopted fix from #4743 and updated API tests 2020-06-10 16:11:28 -04:00
Jeremy Stretch
a3091feb7b 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
f994fa4001 Remove extraneous test 2020-06-10 15:22:49 -04:00
Jonathan Senecal
c71ca04579 No need to reference the model itself 2020-06-10 15:11:47 -04:00
Jeremy Stretch
43b5379daa Update v2.9 release notes 2020-06-10 15:05:15 -04:00
Jonathan Senecal
d81af40977 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
8103a31069 Closes #4742: Add tagging for cables, power panels, and rack reservations 2020-06-10 14:55:46 -04:00
Jonathan Senecal
5512b5df1a Use a single migration for labels 2020-06-10 14:04:55 -04:00
Jeremy Stretch
6cd6f6f253 Merge pull request #4734 from tyler-8/bulk_api_docs
Add example of bulk object creation in documentation
2020-06-10 11:39:44 -04:00
Jeremy Stretch
9f3c8b9820 Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels 2020-06-10 11:38:23 -04:00
Jeremy Stretch
cf78f3d3a1 Fixes #4736: Add cable trace endpoints for pass-through ports 2020-06-09 15:12:10 -04:00
Jeremy Stretch
cab84d3e29 Add missing API cable trace test for interfaces 2020-06-09 14:47:05 -04:00
Tyler Bigler
59515b0356 Add example of bulk object creation 2020-06-09 13:35:44 -04:00
Jeremy Stretch
dc370e5ee8 Add missing API tests for pass-through port templates 2020-06-09 13:24:07 -04:00
Jonathan Senecal
beb6488d9c pycodestyle 2020-06-08 23:07:53 -04:00
Jonathan Senecal
4c03dcfcaa Refactorization into LabeledComponentForm 2020-06-08 23:07:12 -04:00
Jonathan Senecal
ea18fa7630 Test forms and views with labels 2020-06-08 20:04:31 -04:00
Jeremy Stretch
8988c9228a Merge pull request #4713 from netbox-community/4348-ldap-auth-backend
Closes #4348: Introduce LDAPBackend
2020-06-08 17:07:52 -04:00
Jeremy Stretch
790c6695c9 Changelog for #4674 2020-06-08 17:00:47 -04:00
Jonathan Senecal
914b58586e Leftover fix 2020-06-08 17:00:07 -04:00