Commit Graph

  • e67f08c745 #4695 - Add metadata class to other classes Daniel Sheppard 2020-07-02 09:26:08 -05:00
  • 8d7377ba04 Merge branch 'develop' into develop-2.9 Jeremy Stretch 2020-07-02 10:01:01 -04:00
  • 1c5af01a82 Merge pull request #4816 from netbox-community/develop v2.8.7 Jeremy Stretch 2020-07-02 09:42:41 -04:00
  • 95462ce0ec Post-release version bump Jeremy Stretch 2020-07-02 09:39:15 -04:00
  • 9f614452b4 Release NetBox v2.8.7 Jeremy Stretch 2020-07-02 09:37:20 -04:00
  • fa0c7a76cb Fix permission evaluation for add console/power port buttons Jeremy Stretch 2020-07-01 15:14:06 -04:00
  • 06ae424b80 #4416: Add bulk rename view for InventoryItem Jeremy Stretch 2020-07-01 15:12:05 -04:00
  • e4b5045ec7 #4416: Add bulk_add view for InventoryItems Jeremy Stretch 2020-07-01 14:55:11 -04:00
  • 7e3e18faea #4416: Add individual & changelog views for InventoryItem Jeremy Stretch 2020-07-01 14:46:12 -04:00
  • 225b6c6958 Fix collection of assigned IPs when editing a device Jeremy Stretch 2020-07-01 14:23:21 -04:00
  • 57b73c485f #4416: Remove individual view for extras.Tag Jeremy Stretch 2020-07-01 14:21:51 -04:00
  • c484fa99e2 Introduce ButtonsColumn to reduce boilerplate and standardize organizational object links Jeremy Stretch 2020-07-01 13:47:01 -04:00
  • 8959d2e0a7 #4416: Add individual delete views for organizational objects Jeremy Stretch 2020-07-01 12:08:26 -04:00
  • 4613b69c28 Extend GetReturnURLMixin to automatically resolve default return URL for querysets Jeremy Stretch 2020-07-01 11:50:31 -04:00
  • 43d610405f Add changelog for #4695 and #4708 Jeremy Stretch 2020-07-01 11:06:49 -04:00
  • 7e8a4a2a77 Merge pull request #4797 from netbox-community/4695_fix_api_cable_choices_termination_types Jeremy Stretch 2020-07-01 11:03:01 -04:00
  • 56ec4a6360 Merge pull request #4706 from netbox-community/4604_check_position_stack Jeremy Stretch 2020-07-01 10:59:17 -04:00
  • 0b1df1483f Automatically import ContentType when entering nbshell Jeremy Stretch 2020-06-30 16:34:53 -04:00
  • 7fab929194 Fix evaluation of empty label_pattern Jeremy Stretch 2020-06-30 16:30:54 -04:00
  • 89ea34015d Enable bulk editing of device component labels Jeremy Stretch 2020-06-30 16:15:17 -04:00
  • 7defa22b0b Remove reference to choices API endpoints Jeremy Stretch 2020-06-30 15:55:15 -04:00
  • 88e3ac30b6 Closes #4807: Add bulk edit ability for device bay templates Jeremy Stretch 2020-06-30 15:22:30 -04:00
  • 52a13b1960 Closes #4793: Add description field to device component templates Jeremy Stretch 2020-06-30 15:12:53 -04:00
  • 52cff1ee50 Fixes #4771: Fix add/remove tag population when bulk editing objects Jeremy Stretch 2020-06-30 09:55:54 -04:00
  • 8a26f475a7 Fixes #4774: Fix exception when deleting a device with device bays Jeremy Stretch 2020-06-30 09:43:05 -04:00
  • 1d922a1848 fix previous job result deletion John Anderson 2020-06-30 09:29:50 -04:00
  • 51e9b0a22a Closes #4796: Introduce configuration parameters for default rack elevation size Jeremy Stretch 2020-06-30 09:26:32 -04:00
  • 268b4c854e Closes #4802: Allow changing page size when displaying only a single page of results Jeremy Stretch 2020-06-30 09:00:42 -04:00
  • af778f8fca TagFilter should call unrestricted() on its queryset Jeremy Stretch 2020-06-29 15:36:02 -04:00
  • 15f32bdd73 Wrap ComponentTraceMixin in a parent class Jeremy Stretch 2020-06-29 15:14:12 -04:00
  • 36498c9dd2 Base manager for Tag should use RestrictedQuerySet Jeremy Stretch 2020-06-29 14:57:29 -04:00
  • 66703d8963 Fix evaluation of RestrictedQuerySet Jeremy Stretch 2020-06-29 14:42:37 -04:00
  • 71812d1bd5 Fix evaluation of RestrictedQuerySet Jeremy Stretch 2020-06-29 14:41:43 -04:00
  • 5ed6136915 Introduce ComponentTraceMixin to minimize boilerplate Jeremy Stretch 2020-06-29 13:57:08 -04:00
  • f48a079ae6 fix tests and cleanup John Anderson 2020-06-29 14:34:42 -04:00
  • a47a100cb7 Fix unrestricted evaluations of RestrictedQuerySet Jeremy Stretch 2020-06-29 13:30:41 -04:00
  • 9ea4f82eaa Prefetch tagged VLANs for VMInterfaces Jeremy Stretch 2020-06-29 12:18:59 -04:00
  • 617e20af0b Standardize VMInterfaceTest Jeremy Stretch 2020-06-29 12:06:36 -04:00
  • 89ff59d048 Add graphs endpoint to VMInterfaceViewSet Jeremy Stretch 2020-06-29 12:05:00 -04:00
  • 6ecbf45974 Fix evaluation of RestrictedQuerySets Jeremy Stretch 2020-06-29 11:48:36 -04:00
  • eb45ad600e Fix evaluation of RestrictedQuerySets Jeremy Stretch 2020-06-29 11:35:13 -04:00
  • 10e6b6ca66 Fix RestrictedQuerySet evaluation in tests Jeremy Stretch 2020-06-29 11:27:23 -04:00
  • 5732466e56 Signal receiver should call unrestricted() Jeremy Stretch 2020-06-29 11:07:11 -04:00
  • ce55d0c791 Tweak querysets to work with restriction Jeremy Stretch 2020-06-29 10:57:09 -04:00
  • 6ab4640cdc Update API tests to work with RestrictedQuerySet Jeremy Stretch 2020-06-29 10:39:06 -04:00
  • a6b03b8884 Update WritableNestedSerializer to call unrestricted() on RestrictedQuerySets Jeremy Stretch 2020-06-29 10:38:32 -04:00
  • 0dbe248df8 Call restrict() when retrieving related Graphs Jeremy Stretch 2020-06-29 10:02:00 -04:00
  • 1681dbfa39 refactor migration John Anderson 2020-06-29 04:22:01 -04:00
  • 3777fbccc3 Implements #2006 - run reports and scripts in the background John Anderson 2020-06-29 03:50:05 -04:00
  • 86d1370512 Apply restrict_form_fields() to import views Jeremy Stretch 2020-06-26 16:26:22 -04:00
  • 8c0adc9c61 Update test methods to call unrestricted() on RestrictedQuerySets Jeremy Stretch 2020-06-26 16:15:21 -04:00
  • c8461095c9 add missing NEMA power ports/outlets (#4784) Ryan Merolle 2020-06-26 15:34:38 -04:00
  • a452e78fa6 Use unrestricted() when compiling ObjectPermissions for user Jeremy Stretch 2020-06-26 15:28:08 -04:00
  • 04571ce920 Fix the initial permissions check on create/edit view tests Jeremy Stretch 2020-06-26 15:21:59 -04:00
  • 5dfa80c0b9 Fix the initial permissions check on create/edit/delete view tests Jeremy Stretch 2020-06-26 15:17:07 -04:00
  • 40c416618a Link to cable termination objects Jeremy Stretch 2020-06-26 15:13:41 -04:00
  • 9a1531442a Apply restrict_form_fields() to bulk edit views Jeremy Stretch 2020-06-26 15:11:05 -04:00
  • 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