Commit Graph

  • b318bde76c Fix queryset reference under BulkDeleteView Jeremy Stretch 2020-06-16 16:40:16 -04:00
  • 3876efe494 Fix is_path_endpoint flag on CableTermination Sander Steffann 2020-06-16 21:56:46 +02:00
  • f075339c5f Improve test comments and remove over-enthusiastic tests Sander Steffann 2020-06-16 21:48:26 +02:00
  • abaf0daa6e Store the front ports on the position_stack so we can provide better feedback to the user Sander Steffann 2020-06-16 21:47:37 +02:00
  • 4a11800d9e Better comments Sander Steffann 2020-06-16 21:47:10 +02:00
  • cafecb091d Replace temporary comment with proper one Sander Steffann 2020-06-16 21:46:16 +02:00
  • 7cf0e6034b Optimize tag population under prepare_cloned_fields() Jeremy Stretch 2020-06-16 15:12:50 -04:00
  • c7aa0a2321 Fix prepare_cloned_fields() inefficiency Jeremy Stretch 2020-06-16 15:08:14 -04:00
  • 58f4e3756c Fix ObjectChangeLogView Jeremy Stretch 2020-06-16 15:04:34 -04:00
  • 067e89f6a0 Allow unrestricted access to assigned tags Jeremy Stretch 2020-06-16 14:59:22 -04:00
  • efed2bc262 Fix restriction violations for rack model Jeremy Stretch 2020-06-16 14:53:51 -04:00
  • adf0255bdf Allow unrestricted access to assigned tags Jeremy Stretch 2020-06-16 14:17:40 -04:00
  • 1e259f3043 Allow unrestricted retrieval of MPTT ancestors Jeremy Stretch 2020-06-16 14:10:56 -04:00
  • ffa3a229b5 Fix restriction violations for provider, circuit models Jeremy Stretch 2020-06-16 14:00:43 -04:00
  • 0f8df8c985 Add unrestricted() to Rack methods Jeremy Stretch 2020-06-16 13:31:51 -04:00
  • ed0b38c7a7 Bypass restriction for querysets used for filtering by related object Jeremy Stretch 2020-06-16 13:15:58 -04:00
  • fa0ff8be39 Restrict ExportTemplates available via export button Jeremy Stretch 2020-06-16 13:06:03 -04:00
  • 5d724f6b84 Fix up permissions enforcement for home view, global search Jeremy Stretch 2020-06-16 13:03:38 -04:00
  • ffb43a8534 Introduce unrestricted() method on RestrictedQuerySet Jeremy Stretch 2020-06-16 12:20:21 -04:00
  • ce5fd7955f Catch and log evaluation of RestrictedQuerySet without calling restrict() Jeremy Stretch 2020-06-16 10:25:37 -04:00
  • e917535380 Merge branch 'develop' into develop-2.9 Jeremy Stretch 2020-06-15 16:04:32 -04:00
  • a5512dd4c4 Post-release version bump Jeremy Stretch 2020-06-15 14:57:05 -04:00
  • bac3ace8fc Merge pull request #4762 from netbox-community/develop v2.8.6 Jeremy Stretch 2020-06-15 14:45:01 -04:00
  • 60deb3f0ba Release v2.8.6 Jeremy Stretch 2020-06-15 14:37:36 -04:00
  • eaaaaec5a5 Fixes #4710: Fix merging of form fields among custom scripts Jeremy Stretch 2020-06-15 14:20:00 -04:00
  • 5bcf85e57d Closes #4744: Hide IP addresses tab when viewing a container prefix Jeremy Stretch 2020-06-15 13:33:16 -04:00
  • 1d466d6fd1 Closes #4761: Enable tag assignment during bulk creation of IP addresses Jeremy Stretch 2020-06-15 13:24:34 -04:00
  • 57cfb4ed7e Fixes #4760: Enable power port template assignment when bulk editing power outlet templates Jeremy Stretch 2020-06-15 13:18:26 -04:00
  • 9fa4cbdfa5 Correction for #4756 Jeremy Stretch 2020-06-15 12:43:08 -04:00
  • 5af2b3c2f5 Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks Jeremy Stretch 2020-06-15 11:53:47 -04:00
  • 2e5058c4c9 Fixes #4756: Filter parent group by site when creating rack groups Jeremy Stretch 2020-06-15 10:02:35 -04:00
  • 9fc4a4f24a Closes #4755: Enable creation of rack reservations directly from navigation menu Jeremy Stretch 2020-06-12 15:11:27 -04:00
  • e905a36fb2 Update tests for tag changes Jeremy Stretch 2020-06-12 11:33:23 -04:00
  • 7dc4f8d5cc Remove TagField Jeremy Stretch 2020-06-12 09:58:59 -04:00
  • da906f48d9 Standardize add, import, and export functionality for tags Jeremy Stretch 2020-06-12 09:48:23 -04:00
  • 057a022205 Clean up and improve UI view tests Jeremy Stretch 2020-06-11 16:12:50 -04:00
  • 7a54bd9f2a Changelog and migrations fix for #4615 Jeremy Stretch 2020-06-11 13:42:20 -04:00
  • 9b48a26aef Merge pull request #4723 from jsenecal/4615_interface_label Jeremy Stretch 2020-06-11 13:03:46 -04:00
  • a37d06064a Add label to DeviceBay models and serializers Jonathan Senecal 2020-06-11 10:19:53 -04:00
  • c1eea166c9 Fix tests for LabeledComponentForm * Added docstring * Removed redundant tests since refactoration Jonathan Senecal 2020-06-10 22:58:52 -04:00
  • 25cbab2ea4 Avoid checking field twice on all iterations Jonathan Senecal 2020-06-10 22:16:46 -04:00
  • cf81a8979f Avoid component_type on subclasses Jonathan Senecal 2020-06-10 22:10:45 -04:00
  • e3a8638471 Move __str__() to the abstract class Jonathan Senecal 2020-06-10 22:04:45 -04:00
  • 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