Commit Graph

5439 Commits

Author SHA1 Message Date
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
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
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
Jeremy Stretch
790c6695c9 Changelog for #4674 2020-06-08 17:00:47 -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
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
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
Jeremy Stretch
4aa6e6b3a4 Fix update data 2020-06-05 10:05:54 -04:00
Jeremy Stretch
b503d2920f Optimize test_get_provider_graphs() 2020-06-05 09:36:38 -04:00
Jeremy Stretch
bf7071ff3b Correct test method name 2020-06-05 09:19:31 -04:00
Jeremy Stretch
02f3dc4cdd Update circuits API tests to use APIViewTestCases 2020-06-04 16:47:15 -04:00
Jeremy Stretch
c753a30dfd Introduce APIViewTestCases for standardized API view testing 2020-06-04 16:45:03 -04:00
Jeremy Stretch
14bcd3f353 Merge pull request #4719 from netbox-community/4715-avoid-unnecessary-queries
Fixes #4715: Avoid unnecessary queries in Cable.from_db
2020-06-04 13:13:17 -04:00
Jeremy Stretch
ba0746e027 Closes #4698: Improve display of template code for object in admin UI 2020-06-04 13:11:24 -04:00
Sander Steffann
0c91682c39 Avoid unnecessary queries in Cable.from_db 2020-06-04 17:46:09 +02:00
Jeremy Stretch
50a9b810b1 Add local_requirements.txt to .gitignore 2020-06-04 11:44:16 -04:00
Daniel Sheppard
0ba253a13b #4674 - Correct many=False to many=True on the response serializers 2020-06-04 09:42:00 -05:00
Daniel Sheppard
7136fcffc1 #4674 - Fix available-ips and available-prefixes swagger definitions 2020-06-04 09:35:58 -05:00
Jeremy Stretch
e50c4e50ee Fixes #4707: Fix prefix_count population on VLAN API serializer 2020-06-02 13:40:14 -04:00
Sander Steffann
2633748f2d Update tests for cables 2020-06-02 13:14:51 +02:00
Sander Steffann
5dc5f08046 Only complete path when there are not split_ends or position_stack 2020-06-02 13:14:38 +02:00
Sander Steffann
7291f7a27b Show warning when position stack is not empty after trace 2020-06-02 13:13:41 +02:00
Sander Steffann
3eccbe51ff Add position_stack to returned values from trace() 2020-06-02 13:13:10 +02:00
Sander Steffann
0ee994e6b9 Validate against is_path_endpoint instead of specific classes, and only when positions > 1 2020-06-02 13:11:35 +02:00
Jeremy Stretch
9d41ee3017 Permit connection of a multi-position RearPort to a FrontPort 2020-06-02 12:03:02 +02:00
Jeremy Stretch
016b334302 Update path validation tests for single-position rear port scenarios 2020-06-02 12:03:02 +02:00
Jeremy Stretch
3df38af185 Call full_clean() when saving Cable instances 2020-06-02 12:03:02 +02:00
Sander Steffann
451696c4d9 Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels 2020-06-02 12:03:02 +02:00
Sander Steffann
350a4dbec0 Recreate the model instance instead of re-saving a deleted model
Same end result, but easier to read
2020-06-02 12:03:02 +02:00
Sander Steffann
1ae2897abf Integrate patch panel building into one list 2020-06-02 12:03:02 +02:00
Sander Steffann
a639f4ce14 make single front/rear port work when between panels 2020-06-02 12:03:02 +02:00
Jeremy Stretch
13d0e01a23 Fixes #4702: Catch IntegrityError exception when adding a non-unique secret 2020-06-01 10:00:32 -04:00
Jeremy Stretch
6948230dea Fixes #4704: Update example template code 2020-06-01 09:40:58 -04:00