Commit Graph

  • 6128ef4b37 Remove redundant ObjectPermissionViewTestCase Jeremy Stretch 2020-06-26 15:00:47 -04:00
  • 84db1adfaf Fix create, edit view test methods Jeremy Stretch 2020-06-26 14:48:04 -04:00
  • 2c354c7f86 Fix automatic creation of UserConfig for user created via admin UI Jeremy Stretch 2020-06-26 14:29:24 -04:00
  • edc65a6a34 Introduce restrict_form_fields() to automatically restrict field querysets based on user Jeremy Stretch 2020-06-26 13:59:53 -04:00
  • 8412f9481c Force restriction of RestrictedQuerySet even for superusers Jeremy Stretch 2020-06-26 13:18:12 -04:00
  • b26fc81187 Sort the list for consistent output Sander Steffann 2020-06-26 18:42:08 +02:00
  • 0455947597 Make sure that the endpoint is actually a CableTermination Sander Steffann 2020-06-26 18:24:04 +02:00
  • 95965d65c9 Fix some instances where RestrictedQuerySet is evaluated prematurely Jeremy Stretch 2020-06-26 12:22:02 -04:00
  • 8179cfa4c1 #4695 - Rename LimitedMetaData to ContentTypeMetadata Daniel Sheppard 2020-06-26 11:09:27 -05:00
  • d21881e207 #4695 - Add Metadata class that returns content type choices Daniel Sheppard 2020-06-26 10:57:11 -05:00
  • 9777f25b9f Set the default action to 'view' for restrict() Jeremy Stretch 2020-06-26 11:57:07 -04:00
  • 6e3a32567c Move utility functions to utils.py Jeremy Stretch 2020-06-26 11:56:30 -04:00
  • 25926e32f0 Replace is_connected_endpoint with simple isinstance check It was only used in a single location anyway… Sander Steffann 2020-06-26 17:30:59 +02:00
  • 3fdc8e7d3d Replace is_path_endpoint with simple isinstance check It was only used in a single location anyway… Sander Steffann 2020-06-26 17:25:07 +02:00
  • 71afba4d2e Fixes #4791: Update custom script documentation for ObjectVar Jeremy Stretch 2020-06-25 17:33:41 -04:00
  • 319799b5ce Closes #4795: Add bulk disconnect capability for console and power ports Jeremy Stretch 2020-06-25 17:08:51 -04:00
  • 128327b8a3 Split url_name template filter into viewname() and validated_viewname() Jeremy Stretch 2020-06-25 16:50:35 -04:00
  • 6f8f3f98b4 Tweak ObjectChangeLogView to work with both restricted and unrestricted querysets Jeremy Stretch 2020-06-25 15:58:13 -04:00
  • 2e272132b0 Add test method for changelog view Jeremy Stretch 2020-06-25 15:43:47 -04:00
  • 1dbae5b64c Closes #4792: Add bulk rename capability for console and power ports Jeremy Stretch 2020-06-25 14:18:29 -04:00
  • 6d23d9ebb7 Merge pull request #4790 from netbox-community/4788-component-views Jeremy Stretch 2020-06-25 13:38:09 -04:00
  • ec9b33ac97 Fix typo Jeremy Stretch 2020-06-25 13:36:54 -04:00
  • 5aa2a6eefe Add plugin buttons & content to device component views Jeremy Stretch 2020-06-25 13:27:01 -04:00
  • 103a44991a Changelog for #4788 Jeremy Stretch 2020-06-25 12:22:21 -04:00
  • 0fcdd63941 Linkify components under device view Jeremy Stretch 2020-06-25 12:21:25 -04:00
  • 8695714c65 Fix device component changelog display Jeremy Stretch 2020-06-25 12:09:56 -04:00
  • 2001cfe864 Update and simplify device component tables Jeremy Stretch 2020-06-25 11:56:31 -04:00
  • 3badfd756c Extend DeviceComponentViewTestCase to include GetObjectViewTestCase Jeremy Stretch 2020-06-25 11:04:42 -04:00
  • b08d9a5a8e Add individual views for device components Jeremy Stretch 2020-06-25 11:01:18 -04:00
  • ecf40e1525 Add/update device component templates Jeremy Stretch 2020-06-25 11:00:25 -04:00
  • 909ddd653c Extend ObjectView to provide a default get() method Jeremy Stretch 2020-06-25 10:53:00 -04:00
  • 2f19350ff5 Tweak url_name template filter to work with URLs which need a PK Jeremy Stretch 2020-06-25 10:49:30 -04:00
  • 68ef5177f0 Introduce template filters for checking dynamic permissions Jeremy Stretch 2020-06-25 10:48:21 -04:00
  • ba138de53b Fix display of tags Jeremy Stretch 2020-06-24 16:27:44 -04:00
  • 2303034c92 Changelog for #2018 Jeremy Stretch 2020-06-24 16:22:37 -04:00
  • 2ceed475d5 Merge pull request #4787 from netbox-community/2018-virtual-chassis-name Jeremy Stretch 2020-06-24 16:14:21 -04:00
  • e2398c8c0e Fix signal logic Jeremy Stretch 2020-06-24 15:57:52 -04:00
  • 36cf40f25c Enable CSV import for virtual chassis Jeremy Stretch 2020-06-24 15:29:25 -04:00
  • 59c1e34024 Initial work on #2018: Add name to VirtualChassis Jeremy Stretch 2020-06-24 15:12:22 -04:00
  • 2ac53afd96 Update changelog for #4721 Jeremy Stretch 2020-06-24 12:44:00 -04:00
  • d60a2d3723 Merge pull request #4781 from netbox-community/4721-virtualmachine-interface Jeremy Stretch 2020-06-24 12:10:20 -04:00
  • 4d2c75a824 Restore ability to assign interface when editing an IPAddress Jeremy Stretch 2020-06-24 11:30:28 -04:00
  • 99c72c78c1 Update VMInterface view names Jeremy Stretch 2020-06-24 10:09:22 -04:00
  • 052555c3f7 Add bulk renaming function for VM interfaces Jeremy Stretch 2020-06-24 10:02:40 -04:00
  • 9a0bc16c86 Update device/VM interface templates Jeremy Stretch 2020-06-24 09:52:22 -04:00
  • 6663844a86 Rename 'vm_interface' to 'vminterface'; misc cleanup Jeremy Stretch 2020-06-24 09:27:30 -04:00
  • d6386f739e Restore interface filtering for IPAddresses Jeremy Stretch 2020-06-24 09:22:35 -04:00
  • ed1717f858 Revert "Bumping version just to test the GitHub Action" Sander Steffann 2020-06-24 13:09:11 +02:00
  • 1cf0868e30 Bumping version just to test the GitHub Action Sander Steffann 2020-06-24 13:07:54 +02:00
  • afda46d587 Fix VMInterface bulk creation Jeremy Stretch 2020-06-23 17:28:34 -04:00
  • 603c804535 Add VMInterface CSV import view Jeremy Stretch 2020-06-23 17:01:57 -04:00
  • fce19a363d Add VMInterface list view Jeremy Stretch 2020-06-23 16:52:05 -04:00
  • e3820e93b7 Misc cleanup, renaming Jeremy Stretch 2020-06-23 16:39:43 -04:00
  • 459e485555 Restore interface assignment for IPAddress CSV import Jeremy Stretch 2020-06-23 16:09:31 -04:00
  • 548127cc88 Rename VMInterface serializers Jeremy Stretch 2020-06-23 15:46:20 -04:00
  • a1b816b403 Remove 'parent' attribute from VMinterface Jeremy Stretch 2020-06-23 15:31:53 -04:00
  • 5ad5994b9d Update interface view templates Jeremy Stretch 2020-06-23 15:09:32 -04:00
  • 25d6bbf659 Update view and permission names for VMInterface Jeremy Stretch 2020-06-23 14:38:45 -04:00
  • 75354a8a78 Rename Interface to VMInterface Jeremy Stretch 2020-06-23 13:16:21 -04:00
  • d1bd010e05 Fix Interface tag replication in schema migration Jeremy Stretch 2020-06-23 12:50:22 -04:00
  • bb6be8e3d3 Disable editing assigned interface under IPAddress form Jeremy Stretch 2020-06-22 16:36:06 -04:00
  • fc2d08c407 Set related_query_name for GenericRelations to IPAddress Jeremy Stretch 2020-06-22 16:27:13 -04:00
  • 40938f0c8a Retain ip_addresses name for related IPAddress objects Jeremy Stretch 2020-06-22 16:13:18 -04:00
  • 490dee1fa0 Merge branch 'develop-2.9' into 4721-virtualmachine-interface Jeremy Stretch 2020-06-22 16:04:20 -04:00
  • 27796bbd08 Add queryset to IPAddressBulkCreateView Jeremy Stretch 2020-06-22 15:58:47 -04:00
  • b5d53fa850 Fix schema deconstruction for NaturalOrderingField Jeremy Stretch 2020-06-22 15:49:09 -04:00
  • 7b24984280 Update IPAddressSerializer Jeremy Stretch 2020-06-22 15:39:57 -04:00
  • 37564d630a Misc test fixes Jeremy Stretch 2020-06-22 15:17:01 -04:00
  • 380a5cf8a7 Fix IP choices for DeviceForm Jeremy Stretch 2020-06-22 15:12:35 -04:00
  • f2b26282b8 Disable VM interface bulk creation testing Jeremy Stretch 2020-06-22 15:09:16 -04:00
  • 31bb70d9a2 Fixed IPAM tests Jeremy Stretch 2020-06-22 14:46:25 -04:00
  • 2608b3f9f3 Separate VM interface view and template Jeremy Stretch 2020-06-22 14:33:53 -04:00
  • e76b1f1daa Fix assigned_object field Jeremy Stretch 2020-06-22 13:50:14 -04:00
  • 6cb31a274f Initial work on #4721 (WIP) Jeremy Stretch 2020-06-22 13:10:56 -04:00
  • 181bcd70ad Fix schema migrations for device components Jeremy Stretch 2020-06-22 12:01:57 -04:00
  • eb8c0539c5 Update REST API changes for #4615 Jeremy Stretch 2020-06-18 14:24:50 -04:00
  • 4f3fde8055 #4615: Add label field to component tables Jeremy Stretch 2020-06-18 13:57:15 -04:00
  • c832e3c2c7 #4615: Add missing label field to device bay forms Jeremy Stretch 2020-06-18 13:35:11 -04:00
  • 88bf183af5 Merge branch 'develop' into develop-2.9 Jeremy Stretch 2020-06-18 13:20:32 -04:00
  • 462f992a2b Introduce ComponentCreateForm to standardize forms for device component creation Jeremy Stretch 2020-06-18 12:09:28 -04:00
  • c5dc075fb0 Fixes #4775: Allow selecting an alternate device type when creating component templates Jeremy Stretch 2020-06-18 11:59:24 -04:00
  • 11a247edc2 Fix up tests Jeremy Stretch 2020-06-18 10:32:22 -04:00
  • 328d639886 Merge branch 'develop' into develop-2.9 Jeremy Stretch 2020-06-17 16:57:17 -04:00
  • 0800279325 Standardize SecretTest Jeremy Stretch 2020-06-17 15:37:28 -04:00
  • 26770515e1 Refactor TestCase to provide model_to_dict(), prepare_instance() Jeremy Stretch 2020-06-17 15:36:56 -04:00
  • b0c24de596 Fixes #4772: Fix "brief" format for the secrets REST API endpoint Jeremy Stretch 2020-06-17 14:22:55 -04:00
  • fd18395f78 Fix queryset for TagBulkImportView Jeremy Stretch 2020-06-17 13:31:26 -04:00
  • 360c56ec34 Fix permission evaluation for BulkComponentCreateViews Jeremy Stretch 2020-06-17 13:30:00 -04:00
  • 3890d17c61 Clean up errant references to TagField Jeremy Stretch 2020-06-17 13:29:27 -04:00
  • 2d4694e72d Merge pull request #4770 from netbox-community/3703-limit-tag-creation Jeremy Stretch 2020-06-17 12:28:04 -04:00
  • 54ece346bc DummyQuerySet should be iterable to allow for serialization Jeremy Stretch 2020-06-17 12:20:56 -04:00
  • 5e71bad5cf Fix serialization of tags upon object deletion Jeremy Stretch 2020-06-17 12:00:50 -04:00
  • d1adc5ea9b Update release notes for #3703 Jeremy Stretch 2020-06-17 11:29:59 -04:00
  • bb755daf8b Update tests Jeremy Stretch 2020-06-17 11:14:41 -04:00
  • 715ddc6b02 Define is_path_endpoint and is_connected_endpoint separately, as a CableTermination is a possible connected endpoint but not always the end of the path. Sander Steffann 2020-06-17 17:11:28 +02:00
  • ef978b2ebf Update TaggedItemTest Jeremy Stretch 2020-06-17 10:50:37 -04:00
  • d0f0aef2ef Remove django-taggit-serializer Jeremy Stretch 2020-06-17 10:00:21 -04:00
  • 448dc1442c Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer Jeremy Stretch 2020-06-17 09:57:17 -04:00
  • e23a5ad141 Fixes #4766: Fix redirect after login when next is not specified Jeremy Stretch 2020-06-17 09:15:03 -04:00
  • 4ae05dddeb Tag should use a stock manager by default Jeremy Stretch 2020-06-16 16:57:32 -04:00