1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

4323 Commits

Author SHA1 Message Date
Jeremy Stretch
a7776d2f53 Merge pull request #4849 from glennmatthews/gfm-issue-4803
#4803: Family of nested address/prefix/aggregate serializes as integer, not as string
2020-07-15 09:13:12 -04:00
Jeremy Stretch
85254eb8b5 Merge pull request #4850 from glennmatthews/gfm-issue-3240
#3240: Use correct serializer class for available-prefixes POST
2020-07-15 09:10:23 -04:00
Jeremy Stretch
9078cb29cc Merge pull request #4813 from glennmatthews/gfm-issue-4805
Don't ignore ImportErrors raised when loading a plugin. Fixes #4805
2020-07-15 09:05:42 -04:00
Glenn Matthews
0fd3c83861 Refactor repeated import code 2020-07-14 17:15:17 -04:00
Glenn Matthews
087ad30d3c Use correct serializer class for available-prefixes POST. Fixes #3240 2020-07-13 16:26:05 -04:00
Glenn Matthews
9c1dd159de Address/prefix/aggregate family is an integer, not a string. Fixes #4803 2020-07-13 14:50:58 -04:00
Jeremy Stretch
df20abf283 Merge pull request #4844 from jvanderaa/napalm_lookup_hostname
Adds name lookup to NAPALM if no primary IP address exists for device
2020-07-13 13:32:32 -04:00
Jeremy Stretch
96c539c0ee Merge pull request #4830 from mandrewdx/L15P_Ports
Add NEMA 15/L15 Power Types
2020-07-13 13:29:09 -04:00
Josh VanDeraa
ba8b99d3b8 Moves location of the IP address / hostname check and assignment 2020-07-13 08:36:15 -05:00
Josh VanDeraa
cac48924ae Adds verification of device.name configured 2020-07-10 16:18:58 -05:00
Josh VanDeraa
7788bf3ce3 Adds to NAPALM, name lookup if no primary IP address for device 2020-07-10 15:12:25 -05:00
Jeremy Stretch
fa9ffb23ad Fixes #4838: Fix rack power utilization display for racks without devices 2020-07-10 15:59:27 -04:00
Jeremy Stretch
a260019a7f #4843: Use subqueries when counting multiple types of related objects 2020-07-10 15:38:54 -04:00
Jeremy Stretch
683ba5eed3 #4835: Cleanup and improved error handling 2020-07-09 16:35:02 -04:00
Sander Steffann
d70140f148 Fix typo in format string 2020-07-08 22:20:20 +02:00
Jeremy Stretch
fec3ee6f08 Closes #4835: Support passing multiple initial values for multiple choice fields 2020-07-08 12:50:12 -04:00
Andrew Martin
5700ade1a1 Add NEMA 15/L15 Power Types
Reference - https://www.stayonline.com/product-resources/
2020-07-07 11:12:32 -07:00
Glenn Matthews
f807d3a024 Don't ignore ImportErrors raised when loading a plugin. Fixes #4805 2020-07-07 09:14:33 -04:00
Jeremy Stretch
20ee8ec107 Closes #4821: Restrict group options by selected site when bulk editing VLANs 2020-07-06 10:04:08 -04:00
Daniel Sheppard
e67f08c745 #4695 - Add metadata class to other classes 2020-07-02 09:26:08 -05:00
Jeremy Stretch
95462ce0ec Post-release version bump 2020-07-02 09:39:15 -04:00
Jeremy Stretch
9f614452b4 Release NetBox v2.8.7 2020-07-02 09:37:20 -04:00
Jeremy Stretch
7e8a4a2a77 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
56ec4a6360 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
0b1df1483f Automatically import ContentType when entering nbshell 2020-06-30 16:34:53 -04:00
Jeremy Stretch
52cff1ee50 Fixes #4771: Fix add/remove tag population when bulk editing objects 2020-06-30 09:55:54 -04:00
Jeremy Stretch
8a26f475a7 Fixes #4774: Fix exception when deleting a device with device bays 2020-06-30 09:43:05 -04:00
Jeremy Stretch
51e9b0a22a Closes #4796: Introduce configuration parameters for default rack elevation size 2020-06-30 09:26:32 -04:00
Jeremy Stretch
268b4c854e Closes #4802: Allow changing page size when displaying only a single page of results 2020-06-30 09:00:42 -04:00
Ryan Merolle
c8461095c9 add missing NEMA power ports/outlets (#4784)
* add various NEMA power ports/outlets
2020-06-26 15:34:38 -04:00
Jeremy Stretch
5dfa80c0b9 Fix the initial permissions check on create/edit/delete view tests 2020-06-26 15:17:07 -04:00
Sander Steffann
b26fc81187 Sort the list for consistent output 2020-06-26 18:42:08 +02:00
Sander Steffann
0455947597 Make sure that the endpoint is actually a CableTermination 2020-06-26 18:24:04 +02:00
Daniel Sheppard
8179cfa4c1 #4695 - Rename LimitedMetaData to ContentTypeMetadata 2020-06-26 11:09:27 -05:00
Daniel Sheppard
d21881e207 #4695 - Add Metadata class that returns content type choices 2020-06-26 10:59:21 -05:00
Sander Steffann
25926e32f0 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
Sander Steffann
3fdc8e7d3d Replace is_path_endpoint with simple isinstance check
It was only used in a single location anyway…
2020-06-26 17:25:07 +02:00
Jeremy Stretch
71afba4d2e Fixes #4791: Update custom script documentation for ObjectVar 2020-06-25 17:33:41 -04:00
Sander Steffann
ed1717f858 Revert "Bumping version just to test the GitHub Action"
This reverts commit 1cf0868e
2020-06-24 13:09:11 +02:00
Sander Steffann
1cf0868e30 Bumping version just to test the GitHub Action 2020-06-24 13:07:54 +02:00
Jeremy Stretch
462f992a2b Introduce ComponentCreateForm to standardize forms for device component creation 2020-06-18 12:09:28 -04:00
Jeremy Stretch
c5dc075fb0 Fixes #4775: Allow selecting an alternate device type when creating component templates 2020-06-18 11:59:24 -04:00
Jeremy Stretch
0800279325 Standardize SecretTest 2020-06-17 15:37:28 -04:00
Jeremy Stretch
26770515e1 Refactor TestCase to provide model_to_dict(), prepare_instance() 2020-06-17 15:36:56 -04:00
Jeremy Stretch
b0c24de596 Fixes #4772: Fix "brief" format for the secrets REST API endpoint 2020-06-17 14:22:55 -04:00
Sander Steffann
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. 2020-06-17 17:11:28 +02:00
Jeremy Stretch
e23a5ad141 Fixes #4766: Fix redirect after login when next is not specified 2020-06-17 09:15:03 -04:00
Sander Steffann
3876efe494 Fix is_path_endpoint flag on CableTermination 2020-06-16 21:56:46 +02:00
Sander Steffann
f075339c5f Improve test comments and remove over-enthusiastic tests 2020-06-16 21:48:26 +02:00
Sander Steffann
abaf0daa6e Store the front ports on the position_stack so we can provide better feedback to the user 2020-06-16 21:47:37 +02:00