Commit Graph

  • d26fcc9918 Annotated blocked TODO items Jeremy Stretch 2020-06-10 16:56:24 -04:00
  • 8e9dc9f20e Add EditObjectViewTestCase for VirtualChassis Jeremy Stretch 2020-06-10 16:51:35 -04:00
  • 81d08ac50b Stay consistent with codebase: i vs pos Jonathan Senecal 2020-06-10 16:41:52 -04:00
  • e13320f58d Fix permissions enforcement for VirtualChassisEditView Jeremy Stretch 2020-06-10 16:37:35 -04:00
  • 1f727f565f Adopted fix from #4743 and updated API tests Jeremy Stretch 2020-06-10 16:11:28 -04:00
  • 9fd36279ab Fixes #4743: Allow users to create "next available" IPs without needing permission to create prefixes Jeremy Stretch 2020-06-10 16:06:11 -04:00
  • 4078d9b669 Remove extraneous test Jeremy Stretch 2020-06-10 15:22:49 -04:00
  • 3b54d6f8e5 No need to reference the model itself Jonathan Senecal 2020-06-10 15:11:47 -04:00
  • 58b4f6abca Update v2.9 release notes Jeremy Stretch 2020-06-10 15:05:15 -04:00
  • f041c762ac Prevent the table cell from rendering empty for interface.label Jonathan Senecal 2020-06-10 14:59:23 -04:00
  • 88ae522c9a Closes #4742: Add tagging for cables, power panels, and rack reservations Jeremy Stretch 2020-06-10 14:55:46 -04:00
  • 5cdaaed311 Use a single migration for labels Jonathan Senecal 2020-06-10 14:04:55 -04:00
  • 40947f8cb2 Merge pull request #4734 from tyler-8/bulk_api_docs Jeremy Stretch 2020-06-10 11:39:44 -04:00
  • 9abc67bbeb Fixes #4737: Introduce ColoredLabelColumn for consistent display of colored labels Jeremy Stretch 2020-06-10 11:38:23 -04:00
  • 16cdf3006f Fixes #4736: Add cable trace endpoints for pass-through ports Jeremy Stretch 2020-06-09 15:12:10 -04:00
  • 15004c654f Add missing API cable trace test for interfaces Jeremy Stretch 2020-06-09 14:47:05 -04:00
  • 062a319a7c Add example of bulk object creation Tyler Bigler 2020-06-09 13:35:44 -04:00
  • ed9ca270a7 Add missing API tests for pass-through port templates Jeremy Stretch 2020-06-09 13:24:07 -04:00
  • e0037c7f70 pycodestyle Jonathan Senecal 2020-06-08 23:07:53 -04:00
  • 4301c06d17 Refactorization into LabeledComponentForm Jonathan Senecal 2020-06-08 23:07:12 -04:00
  • 90bc1cd951 Test forms and views with labels Jonathan Senecal 2020-06-08 20:04:31 -04:00
  • 67784c0568 Merge pull request #4713 from netbox-community/4348-ldap-auth-backend Jeremy Stretch 2020-06-08 17:07:52 -04:00
  • 20ec700045 Changelog for #4674 Jeremy Stretch 2020-06-08 17:00:47 -04:00
  • 892c0e3d8b Leftover fix Jonathan Senecal 2020-06-08 17:00:07 -04:00
  • ecd3963b7c Merge pull request #4718 from netbox-community/4674-drf_yasg_definitions Jeremy Stretch 2020-06-08 16:59:04 -04:00
  • 54dd20cdb4 Merge pull request #4733 from netbox-community/4730-api-test-permissions Jeremy Stretch 2020-06-08 16:53:22 -04:00
  • 2f53411efc Extend assertInstanceEqual() to handle M2M relations to ContentType Jeremy Stretch 2020-06-08 16:32:50 -04:00
  • 7a858cea23 Extend test_bulk_create_objects() to inspect created objects Jeremy Stretch 2020-06-08 15:58:54 -04:00
  • 987414ed7b Introduce NestedObjectPermissionSerializer Jeremy Stretch 2020-06-08 15:40:41 -04:00
  • 047286f9c0 Add a third initial object to VirtualChassisTest Jeremy Stretch 2020-06-08 15:27:55 -04:00
  • a2955196af Remove extraneous permission class from SecretRoleViewSet Jeremy Stretch 2020-06-08 15:21:11 -04:00
  • 62224857f0 Standardize ObjectPermissionTest Jeremy Stretch 2020-06-08 14:01:15 -04:00
  • c1a37db871 Fix managers on Graph and ExportTemplate Jeremy Stretch 2020-06-08 13:41:12 -04:00
  • a8145fe4c2 Add permission assignment to custom test methods Jeremy Stretch 2020-06-08 12:22:29 -04:00
  • 3b44e7c1c4 Update API test methods to evaluate permissions assignment Jeremy Stretch 2020-06-08 11:35:01 -04:00
  • 830fd5f83a Remove duplicate test method Jeremy Stretch 2020-06-08 11:22:12 -04:00
  • f83e435a90 Move APIViewTestCases to api.py Jeremy Stretch 2020-06-08 10:46:53 -04:00
  • 0ebd87bcb9 Merge branch 'develop' into develop-2.9 Jeremy Stretch 2020-06-08 10:33:23 -04:00
  • 1ea368856b Merge pull request #4728 from netbox-community/4722-api-tests Jeremy Stretch 2020-06-08 10:16:10 -04:00
  • a8077e6ed1 Extend assertInstanceEqual() to accommodate REST API data Jeremy Stretch 2020-06-08 09:47:14 -04:00
  • 7def37961a Correct exempted test methods on InterfaceTestCase Jeremy Stretch 2020-06-05 16:13:44 -04:00
  • 4f830c9c22 Fix list_brief tests Jeremy Stretch 2020-06-05 16:09:55 -04:00
  • 032f87caec Merge branch 'develop' into 4722-api-tests Jeremy Stretch 2020-06-05 15:50:14 -04:00
  • e616aad911 Fixes #4725: Fix "brief" rendering of various REST API endpoints Jeremy Stretch 2020-06-05 15:48:36 -04:00
  • c2f6f5a7cd Fix ProviderTest Jeremy Stretch 2020-06-05 15:18:18 -04:00
  • d3fbaca228 Standardize virtualization API tests Jeremy Stretch 2020-06-05 15:06:08 -04:00
  • ae913f14ce Standardize tenancy API tests Jeremy Stretch 2020-06-05 14:30:01 -04:00
  • 1ee79ee61e Standardize SecretRoleTest Jeremy Stretch 2020-06-05 14:18:07 -04:00
  • b5ebfd0b07 Standardize IPAM API tests Jeremy Stretch 2020-06-05 14:09:54 -04:00
  • 286a3e6ca2 Add label to forms, views and templates Jonathan Senecal 2020-06-05 13:59:59 -04:00
  • 665646707c Standardize extras API tests Jeremy Stretch 2020-06-05 13:41:54 -04:00
  • 279ae7ea10 Standardize DCIM API tests Jeremy Stretch 2020-06-05 10:31:29 -04:00
  • d65cead212 Return an empty list if value is None Jonathan Senecal 2020-06-05 12:34:09 -04:00
  • e21cbf2a06 Add the label to the string representation Jonathan Senecal 2020-06-05 11:01:39 -04:00
  • 1fae9aff0c Add label to *port serializers Jonathan Senecal 2020-06-05 10:42:13 -04:00
  • a06d74472d Add label to *ports models Jonathan Senecal 2020-06-05 10:32:59 -04:00
  • 8cc1dc9f1c Fix update data Jeremy Stretch 2020-06-05 10:05:54 -04:00
  • 86e5a09b01 Optimize test_get_provider_graphs() Jeremy Stretch 2020-06-05 09:36:38 -04:00
  • 1d5f2fbd11 Correct test method name Jeremy Stretch 2020-06-05 09:19:31 -04:00
  • f8851121ab Add the label to the string representation Jonathan Senecal 2020-06-04 17:11:27 -04:00
  • e9f8640ee6 Add label to Interface serializers Jonathan Senecal 2020-06-04 16:50:51 -04:00
  • 4219691e62 Update circuits API tests to use APIViewTestCases Jeremy Stretch 2020-06-04 16:47:15 -04:00
  • 4ae1879b87 Introduce APIViewTestCases for standardized API view testing Jeremy Stretch 2020-06-04 16:45:03 -04:00
  • cde1db4436 Add label to interface models Jonathan Senecal 2020-06-04 16:44:25 -04:00
  • d2dce6db25 Merge pull request #4719 from netbox-community/4715-avoid-unnecessary-queries Jeremy Stretch 2020-06-04 13:13:17 -04:00
  • fae115b995 Closes #4698: Improve display of template code for object in admin UI Jeremy Stretch 2020-06-04 13:11:24 -04:00
  • 8f9dcf5a97 Avoid unnecessary queries in Cable.from_db Sander Steffann 2020-06-04 17:46:09 +02:00
  • 91ba44cc96 Add local_requirements.txt to .gitignore Jeremy Stretch 2020-06-04 11:44:16 -04:00
  • 5330914431 #4674 - Correct many=False to many=True on the response serializers Daniel Sheppard 2020-06-04 09:42:00 -05:00
  • 927c012fc9 #4674 - Fix available-ips and available-prefixes swagger definitions Daniel Sheppard 2020-06-04 09:34:22 -05:00
  • dc161d9f2f Update LDAP configuration documentation Jeremy Stretch 2020-06-03 15:57:11 -04:00
  • 040fadb0c3 Move LDAP authentication support to LDAPBackend Jeremy Stretch 2020-06-03 15:42:24 -04:00
  • bb1484a444 Dropped backward compatibility for the /admin/webhook-backend-status URL Jeremy Stretch 2020-06-03 14:15:29 -04:00
  • b31cc89478 Dropped backward compatibility for 'webhooks' Redis queue Jeremy Stretch 2020-06-03 14:13:18 -04:00
  • 05c851301e Merge pull request #4705 from netbox-community/554-object-permissions Jeremy Stretch 2020-06-03 13:29:16 -04:00
  • dbf6c0a075 Split ObjectPermission model documentation Jeremy Stretch 2020-06-03 13:20:35 -04:00
  • 3084d58da1 Add REST API endpoint for ObjectPermissions Jeremy Stretch 2020-06-03 13:08:04 -04:00
  • 19b57aa1ea Update permissions documentation Jeremy Stretch 2020-06-03 10:00:58 -04:00
  • d157818d7e Rename attrs to constraints Jeremy Stretch 2020-06-03 09:43:46 -04:00
  • ddcd172af1 Rename content_types to object_types Jeremy Stretch 2020-06-03 09:27:20 -04:00
  • 19407ba3bc Uodate script and report views to use ObjectPermissionRequiredMixin Jeremy Stretch 2020-06-02 15:40:39 -04:00
  • 3502398d1d Remove delete_token permission from TokenDeleteView Jeremy Stretch 2020-06-02 15:36:31 -04:00
  • 205acd2c4d Update VirtualChassis views to support ObjectPermissions Jeremy Stretch 2020-06-02 15:33:41 -04:00
  • e463430d51 Change CableCreateView to use ObjectEditView Jeremy Stretch 2020-06-02 15:15:57 -04:00
  • cae412d280 Update ObjectImportView to support ObjectPermissions Jeremy Stretch 2020-06-02 14:19:08 -04:00
  • 56f6698ba5 Fixes #4707: Fix prefix_count population on VLAN API serializer Jeremy Stretch 2020-06-02 13:40:14 -04:00
  • a62b98ac50 Admin UI improvements Jeremy Stretch 2020-06-02 13:21:00 -04:00
  • 7a7634de2d Accomodate custom legacy permission in schema migration Jeremy Stretch 2020-06-02 10:50:58 -04:00
  • c6e85970d4 Remove activate_userkey permission Jeremy Stretch 2020-06-02 09:47:31 -04:00
  • 110bad7041 Update custom napalm_read, napalm_write permissions Jeremy Stretch 2020-06-02 09:36:45 -04:00
  • 85e932bfc1 Clean up permissions utility functions Jeremy Stretch 2020-06-02 09:26:45 -04:00
  • 886b59f400 Update tests for cables Sander Steffann 2020-06-02 13:14:51 +02:00
  • 8bd9b460cb Only complete path when there are not split_ends or position_stack Sander Steffann 2020-06-02 13:14:38 +02:00
  • 34ae57dfa3 Show warning when position stack is not empty after trace Sander Steffann 2020-06-02 13:13:41 +02:00
  • 81a322eaaf Add position_stack to returned values from trace() Sander Steffann 2020-06-02 13:13:10 +02:00
  • 2479b8a57f Validate against is_path_endpoint instead of specific classes, and only when positions > 1 Sander Steffann 2020-06-02 13:11:35 +02:00
  • 2fe4656db4 Permit connection of a multi-position RearPort to a FrontPort Jeremy Stretch 2020-05-08 11:23:36 -04:00
  • 6fc7c6a7d0 Update path validation tests for single-position rear port scenarios Jeremy Stretch 2020-05-08 11:17:09 -04:00
  • 1d33d7d205 Call full_clean() when saving Cable instances Jeremy Stretch 2020-05-08 10:44:06 -04:00
  • 56898f7e37 Restore original test_connection_via_single_rear_port test and make separate test for one-on-one panels Sander Steffann 2020-05-08 01:42:17 +02:00