Commit Graph

98 Commits

Author SHA1 Message Date
Jeremy Stretch
c4271ce131 Add test for API bulk updates 2020-09-22 13:50:55 -04:00
Jeremy Stretch
42b17aa9a4 Closes #1846: Enable MPTT for InventoryItem hierarchy 2020-09-18 10:18:03 -04:00
Jeremy Stretch
dd06bbcaf6 Closes #4349: Drop support for embedded graphs 2020-08-21 11:57:46 -04:00
Jeremy Stretch
f3f4c38b07 Closes #4994: Add cable attribute to PowerFeed API serializer 2020-08-13 10:30:28 -04:00
Jeremy Stretch
05e7af702b Remove restriction enforcement from RestrictedQuerySet 2020-07-23 12:48:03 -04:00
Jeremy Stretch
df464eb929 #4837: Fix API tests 2020-07-09 12:06:13 -04:00
Jeremy Stretch
bf15f1f46a Fix permissions evaluation for nonstandard tests 2020-07-02 11:43:03 -04:00
Jeremy Stretch
1858f588f4 Wrap ComponentTraceMixin in a parent class 2020-06-29 15:14:12 -04:00
Jeremy Stretch
c5007f6099 Introduce ComponentTraceMixin to minimize boilerplate 2020-06-29 14:40:36 -04:00
Jeremy Stretch
3445147773 Fix unrestricted evaluations of RestrictedQuerySet 2020-06-29 13:31:26 -04:00
Jeremy Stretch
487013fd25 Call restrict() when retrieving related Graphs 2020-06-29 10:14:43 -04:00
Jeremy Stretch
1a52a7b88a Initial work on #2018: Add name to VirtualChassis 2020-06-24 15:21:42 -04:00
Jeremy Stretch
59c5d1e57e Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
Jeremy Stretch
f994fa4001 Remove extraneous test 2020-06-10 15:22:49 -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
Jeremy Stretch
dc370e5ee8 Add missing API tests for pass-through port templates 2020-06-09 13:24:07 -04:00
Jeremy Stretch
989fce0c95 Add a third initial object to VirtualChassisTest 2020-06-08 15:27:55 -04:00
Jeremy Stretch
fd7987d703 Add permission assignment to custom test methods 2020-06-08 13:40:46 -04:00
Jeremy Stretch
2d3619c4e1 Fix list_brief tests 2020-06-05 16:09:55 -04:00
Jeremy Stretch
b96d28b862 Standardize DCIM API tests 2020-06-05 13:23:33 -04:00
Jeremy Stretch
d8bdc0eb62 Fixes #4496: Fix exception when validating certain models via REST API 2020-04-15 09:37:30 -04:00
John Anderson
7d717fb788 Merge branch 'develop' into develop-2.8 2020-03-15 00:18:32 -04:00
Jeremy Stretch
8c1d4ac3e7 Remove tests for API _choices endpoints 2020-03-12 10:48:53 -04:00
Jeremy Stretch
b2b15ebdd1 Implement nested RackGroups 2020-03-11 14:40:29 -04:00
John Anderson
04faf4edbf closes #4340 - Enforce unique constraints for device and virtual machine names in the API 2020-03-10 19:15:24 -04:00
Jeremy Stretch
ed2f997c9c Merge branch 'develop' into develop-2.8 2020-03-03 13:20:00 -05:00
Jeremy Stretch
d61f0b6983 Fixes #4272: Interface type should be required by API serializer 2020-02-25 11:20:43 -05:00
Dan Sheppard
28b8952299 Fixes: #4230 - Fixes filtering by position on elevation endpoint
* Add tests for rack elevation filtering
* Add q variable to serializers for RackElevationDetailFilterSerializer
* Add code to allow filtering of position on the rack elevation
2020-02-22 08:24:26 -06:00
Jeremy Stretch
e100ca3992 Update tests to match new string representation of ContentTypes 2020-02-19 15:31:15 -05:00
Jeremy Stretch
30788b3873 Closes #3753: Remove rack units endpoint (replaced with elevation) 2020-02-14 13:59:07 -05:00
Jeremy Stretch
068e65e7d7 Add tests for rack elevation API endpoint 2020-01-21 17:36:38 -05:00
Jeremy Stretch
42376126ae Add test for device graphs API endpoint 2020-01-21 17:11:26 -05:00
Jeremy Stretch
0f3f41fa65 Add tests for front/rear port API endpoints 2020-01-21 17:00:30 -05:00
Jeremy Stretch
1b475ebe1b Add tests for cable tracing endpoints 2020-01-21 16:24:03 -05:00
Jeremy Stretch
fc9b5a5adf Add tests for browsable API endpoints 2020-01-15 17:47:55 -05:00
Jeremy Stretch
4909a8b672 #3892: Convert CABLE_TERMINATION_TYPES to a Q object 2020-01-15 15:51:51 -05:00
Jeremy Stretch
b41258a287 Add tests for dynamic choices 2020-01-14 16:38:14 -05:00
Jeremy Stretch
a1f62f63f7 Add _choices endpoint tests for all apps 2020-01-14 16:13:11 -05:00
Jeremy Stretch
dc53a3e94e Cable.status to slug (#3569) 2019-12-10 09:55:10 -05:00
Jeremy Stretch
ad9d33550f Closes #3731: Change Graph.type to a ContentType foreign key field 2019-12-06 10:32:59 -05:00
Jeremy Stretch
f197dd5f5d PowerFeed.type to slug (#3569) 2019-11-25 21:03:11 -05:00
Jeremy Stretch
9aff8a6568 Front/RearPort.type to slug (#3569) 2019-11-25 19:39:25 -05:00
Jeremy Stretch
b1a4be03fb Site.status to slug (#3569) 2019-11-21 22:54:01 -05:00
Jeremy Stretch
67b014ab14 Interface.mode to slug (#3569) 2019-11-21 22:50:01 -05:00
Jeremy Stretch
7cf5445365 Interface.type to slug (#3569) 2019-11-21 22:11:02 -05:00
Jeremy Stretch
0c2d66952b DeviceType.subdevice_role to slug (#3569) 2019-11-18 22:08:33 -05:00
Jeremy Stretch
e8d09e97fa Added child counts to API serializers (WIP) 2019-04-12 17:07:56 -04:00
Jeremy Stretch
fd4802b8f3 Rename form_factor to type on dcim.Interface 2019-04-12 13:42:56 -04:00
Jeremy Stretch
6d9ef51be7 Added tests for power panels, power feeds 2019-04-11 12:29:43 -04:00