Commit Graph

109 Commits

Author SHA1 Message Date
jeremystretch
f34fb28d59 Fixes #6517: Fix assignment of user when creating rack reservations via REST API 2021-06-02 16:02:22 -04:00
Jeremy Stretch
2cf2627984 Add missing tests for SiteGroup 2021-03-30 11:06:59 -04:00
Jeremy Stretch
fdaa4a6eb8 Add 'display' field to all REST API serializers 2021-03-16 10:06:25 -04:00
Jeremy Stretch
a4944f2b97 Closes #5892: Introduce SiteGroup model (#5937)
* Initial work on #5892

* Add site group selection to object edit forms

* Add documentation for site groups

* Changelog for #5892

* Finish application of site groups to config context
2021-03-08 13:28:53 -05:00
Jeremy Stretch
f7d6275959 Closes #5895: Rename RackGroup to Location 2021-03-03 13:30:33 -05:00
Jeremy Stretch
9581d72f9d Closes #3648: Mark cable termination models as connected without attaching a cable 2021-03-01 21:34:42 -05:00
Jeremy Stretch
9331d5130d Fixes #5574: Restrict the creation of device bay templates on non-parent device types 2021-01-19 10:49:56 -05:00
Jeremy Stretch
0e1fb87153 Correct FrontPortTemplate update data 2020-11-11 13:02:58 -05:00
Jeremy Stretch
3b2328053f Add missing bulk update test data 2020-11-02 16:56:04 -05:00
Jeremy Stretch
89ca56a975 Remove legacy connection_status fields 2020-10-05 10:47:41 -04:00
Jeremy Stretch
8251a14f3b Remove dcim.tests.test_api.ConnectionTest 2020-10-02 11:45:42 -04:00
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