Commit Graph

1841 Commits

Author SHA1 Message Date
Jeremy Stretch
8be0f720dd Change Postgres-specific JSONField to stock Django field 2020-07-16 12:02:49 -04:00
Jeremy Stretch
505fc341e0 Convert NullBooleanField to BooleanField(null=True) 2020-07-16 11:56:35 -04:00
Jeremy Stretch
05a5101656 Closes #4857: Drop support for legacy numeric choice field values 2020-07-15 16:54:33 -04:00
Jeremy Stretch
c84b4daf95 Add missing changelog view tests 2020-07-14 16:31:55 -04:00
Jeremy Stretch
5e92b1b473 Clean up device component creation forms 2020-07-14 15:51:13 -04:00
Jeremy Stretch
851089d10d Add assigned IP addresses and VLANs to interface tables 2020-07-13 16:18:17 -04:00
Jeremy Stretch
19c7c2ddcc Move abstract ChangeLoggedModel under extras 2020-07-09 17:07:25 -04:00
Jeremy Stretch
7b94ea92ef Merge branch 'develop' into develop-2.9 2020-07-09 16:38:37 -04:00
Jeremy Stretch
bb8fac876f Miscellaneous RestrictedQuerySet cleanup 2020-07-09 15:11:18 -04:00
Jeremy Stretch
df464eb929 #4837: Fix API tests 2020-07-09 12:06:13 -04:00
Jeremy Stretch
1a6267e89a Closes #4837: Use dynamic form widget for relationships to MPTT objects 2020-07-09 09:50:01 -04:00
Sander Steffann
3affd467e1 Fix typo in format string 2020-07-08 22:20:20 +02:00
Jeremy Stretch
f94ebdd30e Update filter tests to use unrestricted querysets 2020-07-07 14:26:14 -04:00
Jeremy Stretch
5909a9b01e Closes #4806: Add a url field to all API serializers 2020-07-06 16:41:08 -04:00
Jeremy Stretch
57afc93478 Replace get_component_template_actions() with ButtonsColumn 2020-07-02 16:47:28 -04:00
Jeremy Stretch
10469c7f85 Arrange device components within tabs 2020-07-02 15:10:56 -04:00
Jeremy Stretch
662a973fc1 #4416: Provide bulk rename ability for device component templates 2020-07-02 13:58:53 -04:00
Jeremy Stretch
78ff0cbc16 Fix form initialization for interface import 2020-07-02 13:27:54 -04:00
Jeremy Stretch
69837e9145 #4721: Tweak migrations to ensure Interface.device cannot be null 2020-07-02 13:12:37 -04:00
Jeremy Stretch
b52d248cfc Move device and device_type ForeignKeys to abstract component models 2020-07-02 13:07:32 -04:00
Jeremy Stretch
3826d624aa Closes #4817: Standardize device/VM component name field to 64 characters 2020-07-02 12:08:19 -04:00
Jeremy Stretch
bf15f1f46a Fix permissions evaluation for nonstandard tests 2020-07-02 11:43:03 -04:00
Jeremy Stretch
1d64348563 Extend label field to all device components 2020-07-02 11:18:08 -04:00
Jeremy Stretch
779dc8be86 Merge branch 'develop' into develop-2.9 2020-07-02 10:01:01 -04:00
Jeremy Stretch
b699ca0d38 #4416: Add bulk rename view for InventoryItem 2020-07-01 15:12:05 -04:00
Jeremy Stretch
b33ed1e2e0 #4416: Add bulk_add view for InventoryItems 2020-07-01 14:55:11 -04:00
Jeremy Stretch
bfa1985771 #4416: Add individual & changelog views for InventoryItem 2020-07-01 14:46:12 -04:00
Jeremy Stretch
ebce0401c0 Fix collection of assigned IPs when editing a device 2020-07-01 14:23:21 -04:00
Jeremy Stretch
3d9260751c Introduce ButtonsColumn to reduce boilerplate and standardize organizational object links 2020-07-01 13:47:01 -04:00
Jeremy Stretch
07a8a11229 #4416: Add individual delete views for organizational objects 2020-07-01 12:08:26 -04:00
Jeremy Stretch
dd55eace23 Extend GetReturnURLMixin to automatically resolve default return URL for querysets 2020-07-01 11:50:31 -04:00
Jeremy Stretch
48716ff75b Merge pull request #4797 from netbox-community/4695_fix_api_cable_choices_termination_types
Fixes #4695 - Add Metadata class that returns content type choices
2020-07-01 11:03:01 -04:00
Jeremy Stretch
4cee9a6b9b Merge pull request #4706 from netbox-community/4604_check_position_stack
4708: more flexible checks on RearPort usage
2020-07-01 10:59:17 -04:00
Jeremy Stretch
a86ce61db0 Fix evaluation of empty label_pattern 2020-06-30 16:30:54 -04:00
Jeremy Stretch
818f6ee468 Enable bulk editing of device component labels 2020-06-30 16:15:17 -04:00
Jeremy Stretch
9f91f20dbd Closes #4807: Add bulk edit ability for device bay templates 2020-06-30 15:22:30 -04:00
Jeremy Stretch
6e100ba372 Closes #4793: Add description field to device component templates 2020-06-30 15:12:53 -04:00
Jeremy Stretch
d9992d5e20 Fixes #4774: Fix exception when deleting a device with device bays 2020-06-30 09:43:05 -04:00
Jeremy Stretch
5d9ab02f87 Closes #4796: Introduce configuration parameters for default rack elevation size 2020-06-30 09:26:32 -04:00
Jeremy Stretch
1858f588f4 Wrap ComponentTraceMixin in a parent class 2020-06-29 15:14:12 -04:00
Jeremy Stretch
c4040a517d Fix evaluation of RestrictedQuerySet 2020-06-29 14:41:43 -04:00
Jeremy Stretch
c5007f6099 Introduce ComponentTraceMixin to minimize boilerplate 2020-06-29 14:40:36 -04:00
Jeremy Stretch
3445147773 Fix unrestricted evaluations of RestrictedQuerySet 2020-06-29 13:31:26 -04:00
Jeremy Stretch
487013fd25 Call restrict() when retrieving related Graphs 2020-06-29 10:14:43 -04:00
Ryan Merolle
b1f41b917b add missing NEMA power ports/outlets (#4784)
* add various NEMA power ports/outlets
2020-06-26 15:34:38 -04:00
Sander Steffann
d144bb35d4 Make sure that the endpoint is actually a CableTermination 2020-06-26 18:24:04 +02:00
Jeremy Stretch
e021fce0a6 Fix some instances where RestrictedQuerySet is evaluated prematurely 2020-06-26 12:22:02 -04:00
Daniel Sheppard
79942d7242 #4695 - Rename LimitedMetaData to ContentTypeMetadata 2020-06-26 11:09:27 -05:00
Daniel Sheppard
e40f9444f0 #4695 - Add Metadata class that returns content type choices 2020-06-26 10:59:21 -05:00
Sander Steffann
05c8d571b3 Replace is_connected_endpoint with simple isinstance check
It was only used in a single location anyway…
2020-06-26 17:30:59 +02:00