Commit Graph

5731 Commits

Author SHA1 Message Date
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
Jeremy Stretch
4bcb568bb1 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
debec071e7 Merge pull request #4733 from netbox-community/4730-api-test-permissions
Closes #4730: Update REST API tests to enforce ObjectPermissions
2020-06-08 16:53:22 -04:00
Jeremy Stretch
b8ded3149d Extend assertInstanceEqual() to handle M2M relations to ContentType 2020-06-08 16:32:50 -04:00
Jeremy Stretch
fa8541fda8 Extend test_bulk_create_objects() to inspect created objects 2020-06-08 15:58:54 -04:00
Jeremy Stretch
29dc8fa857 Introduce NestedObjectPermissionSerializer 2020-06-08 15:44:16 -04:00
Jeremy Stretch
989fce0c95 Add a third initial object to VirtualChassisTest 2020-06-08 15:27:55 -04:00
Jeremy Stretch
c9670cbe09 Remove extraneous permission class from SecretRoleViewSet 2020-06-08 15:21:11 -04:00
Jeremy Stretch
4bad617fa9 Standardize ObjectPermissionTest 2020-06-08 14:01:15 -04:00
Jeremy Stretch
44b03590db Fix managers on Graph and ExportTemplate 2020-06-08 13:41:12 -04:00
Jeremy Stretch
fd7987d703 Add permission assignment to custom test methods 2020-06-08 13:40:46 -04:00
Jeremy Stretch
7ee0f2252e Update API test methods to evaluate permissions assignment 2020-06-08 11:52:29 -04:00
Jeremy Stretch
c005a349b9 Remove duplicate test method 2020-06-08 11:22:12 -04:00
Jeremy Stretch
e218ceb328 Move APIViewTestCases to api.py 2020-06-08 10:46:53 -04:00
Jeremy Stretch
90f0a72e94 Merge branch 'develop' into develop-2.9 2020-06-08 10:33:23 -04:00
Jeremy Stretch
40096d8446 Merge pull request #4728 from netbox-community/4722-api-tests
Closes #4722: Standardize API view tests
2020-06-08 10:16:10 -04:00
Jeremy Stretch
2382066301 Extend assertInstanceEqual() to accommodate REST API data 2020-06-08 09:47:14 -04:00
Jeremy Stretch
1dbbbf5188 Correct exempted test methods on InterfaceTestCase 2020-06-05 16:17:10 -04:00
Jeremy Stretch
2d3619c4e1 Fix list_brief tests 2020-06-05 16:09:55 -04:00
Jeremy Stretch
1aa90fd717 Merge branch 'develop' into 4722-api-tests 2020-06-05 15:50:14 -04:00
Jeremy Stretch
7d13c80400 Fixes #4725: Fix "brief" rendering of various REST API endpoints 2020-06-05 15:49:06 -04:00
Jeremy Stretch
f03ac636fd Fix ProviderTest 2020-06-05 15:18:18 -04:00
Jeremy Stretch
f526920391 Standardize virtualization API tests 2020-06-05 15:06:08 -04:00
Jeremy Stretch
9e691188dd Standardize tenancy API tests 2020-06-05 14:30:01 -04:00
Jeremy Stretch
23f1221a5b Standardize SecretRoleTest 2020-06-05 14:18:38 -04:00
Jeremy Stretch
5367431c49 Standardize IPAM API tests 2020-06-05 14:09:54 -04:00
Jonathan Senecal
881aae63dc Add label to forms, views and templates 2020-06-05 13:59:59 -04:00
Jeremy Stretch
79f66ea76d Standardize extras API tests 2020-06-05 13:41:54 -04:00
Jeremy Stretch
b96d28b862 Standardize DCIM API tests 2020-06-05 13:23:33 -04:00
Jonathan Senecal
73d6c7de43 Return an empty list if value is None 2020-06-05 12:34:09 -04:00
Jonathan Senecal
87dd31f3cd Add the label to the string representation 2020-06-05 11:01:39 -04:00
Jonathan Senecal
d59102e98c Add label to *port serializers 2020-06-05 10:42:13 -04:00
Jonathan Senecal
b19f1de203 Add label to *ports models 2020-06-05 10:32:59 -04:00