Commit Graph

2878 Commits

Author SHA1 Message Date
Jeremy Stretch
183721d067 Fixes #3125: Fix exception when viewing PDUs 2019-04-30 12:24:53 -04:00
dansheps
0ca77b8605 Remove tenant group from ipam table 2019-04-30 10:06:27 -05:00
Lars Weiler
034cf02e7c Forgot the additional brackets for a tuple 2019-04-30 17:04:21 +02:00
dansheps
92f18d9076 Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter 2019-04-30 10:01:29 -05:00
Lars Weiler
f5ccb87562 More elegant path checking 2019-04-30 16:54:23 +02:00
Lars Weiler
f09a817411 Fix PEP 8 errors 2019-04-30 16:47:38 +02:00
Lars Weiler
9e863bf3eb Exclude /metrics from LOGIN_REQUIRED 2019-04-30 16:09:10 +02:00
Jeremy Stretch
da1228d559 Release v2.6-beta1 2019-04-29 15:36:21 -04:00
Jeremy Stretch
d907037461 Fix erroneous merge conflict resolution from v2.5.11 2019-04-29 14:57:28 -04:00
Jeremy Stretch
c89a155f67 Merge v2.5.11 2019-04-29 14:40:18 -04:00
Jeremy Stretch
9e3b8a4ab5 Post-release version bump 2019-04-29 14:27:22 -04:00
Jeremy Stretch
f892cb3ca6 Release v2.5.11 2019-04-29 14:21:10 -04:00
Jeremy Stretch
7a9399f002 Fixes #3072: Preserve multiselect filter values when updating per-page count for list views 2019-04-29 12:54:03 -04:00
Jeremy Stretch
4809137e5d Add device field on cable search form (#3023) 2019-04-29 11:29:07 -04:00
Jeremy Stretch
b38f3ab992 Fixes #3118: Disable last_login update on login when maintenance mode is enabled 2019-04-29 11:04:32 -04:00
Jeremy Stretch
1825eef9bf Closes #3023: Add support for filtering cables by connected device 2019-04-29 10:07:08 -04:00
Jeremy Stretch
ef20c66635 Closes #2986: Replace DeviceComponentManager with NaturalOrderingManager 2019-04-26 22:23:28 -04:00
Jeremy Stretch
c9d30cd440 Changelog & CSS fix for #3070 2019-04-26 17:06:54 -04:00
Jeremy Stretch
9bfd9a73dd Merge pull request #3103 from clercrobin/add_decommissioning
Fixes : #3070 Add the decommissioning status for devices
2019-04-26 17:04:36 -04:00
Jeremy Stretch
365825af5f Fixes #3116: Fix tagged_items count in tags API endpoint 2019-04-26 16:54:13 -04:00
Jeremy Stretch
3f60747b4e Fixes #3112: Fix ordering of interface connections list by termination B name/device 2019-04-26 16:41:01 -04:00
Jeremy Stretch
d6e3c922ed Fix PowerPort connected_endpoint filtering, ordering 2019-04-25 15:06:48 -04:00
Jeremy Stretch
f8447989f2 Fix regex for IPAddress.dns_name (but see #3106) 2019-04-25 14:49:52 -04:00
John Anderson
5489f42681 closes #3104 - add support for exposing prometheus metrics 2019-04-25 01:09:19 -04:00
rclerc
fddba77a36 Add the decommissioning status for devices 2019-04-24 09:14:29 +02:00
Jeremy Stretch
5afec0441b Closes #166: Add dns_name to IPAddress 2019-04-22 18:10:28 -04:00
Jeremy Stretch
39d8c8a8c8 Clean up settings.py and restrict import of LDAP parameters 2019-04-22 16:33:28 -04:00
Jeremy Stretch
5f597c12de Cleanup from earlier work on caching 2019-04-22 14:49:31 -04:00
Jeremy Stretch
ed5dc352da Fix pagination logic for detecting QuerySets 2019-04-22 11:09:12 -04:00
Jeremy Stretch
78dac12767 Change VLAN view columns to a 4/8 split 2019-04-22 07:47:16 -04:00
Jeremy Stretch
e585ac4815 Closes #3094: Remove NullsFirstQuerySet 2019-04-19 20:59:07 -04:00
Jeremy Stretch
b347507177 Remove extraneous imports 2019-04-19 16:58:39 -04:00
Jeremy Stretch
a5bbd95093 Added '*_count' fields for child objects 2019-04-19 16:50:42 -04:00
Jeremy Stretch
7d1d0d0ebf Implement get_subquery() for annotation of child object counts; Rename dcim.Site 'count_*' fields 2019-04-19 16:09:22 -04:00
Jeremy Stretch
879cfb6a8f Increase length of CustomLink text and url fields 2019-04-19 14:58:55 -04:00
Jeremy Stretch
94837647d7 Misc cleanup 2019-04-19 14:56:40 -04:00
Jeremy Stretch
acaa3c2663 Add device types and power feeds to home page 2019-04-19 14:27:19 -04:00
Jeremy Stretch
9eea0ae897 Improved enforcement of view permissions for home page 2019-04-19 14:16:55 -04:00
Jeremy Stretch
5180a14bbc PowerFeed list improvements 2019-04-19 13:43:09 -04:00
Jeremy Stretch
fae7095305 Add power_panel_id field to PowerFeedFilterForm 2019-04-19 13:17:43 -04:00
John Anderson
cf64c21cac Merge pull request #3080 from digitalocean/2647-cacheops
change cacheing to use cacheops
2019-04-19 01:41:59 -04:00
Jeremy Stretch
3fef0a1d2b Improve the logic for gathering models from all apps 2019-04-17 14:33:26 -04:00
Jeremy Stretch
7fd56d9a06 Clean up, update Webhook models 2019-04-17 14:19:57 -04:00
Jeremy Stretch
a715427304 Add PowerFeeds to global search 2019-04-17 14:06:45 -04:00
Jeremy Stretch
9c7074c529 Clean up limit_to for ForeignKeys referencing ContentType 2019-04-17 13:36:05 -04:00
John Anderson
bae12a0133 fix timeout expression 2019-04-17 12:38:54 -04:00
John Anderson
65f357ff85 change cacheing to use cacheops 2019-04-17 12:29:21 -04:00
Jeremy Stretch
7c725a6d33 Add test for dict_to_filter_params 2019-04-17 11:19:59 -04:00
Jeremy Stretch
c92bc3cf97 Merge branch 'develop-2.6' into 3077-nested-api-writes 2019-04-17 10:57:01 -04:00
Jeremy Stretch
de959f2e15 Add tests for WritableNestedSerializer 2019-04-17 10:54:50 -04:00
Jeremy Stretch
154134777d Removed tags from the admin UI 2019-04-16 21:00:29 -04:00
Jeremy Stretch
66aa5830c1 Enable dictionary specification of related objects in API 2019-04-16 18:02:52 -04:00
Jeremy Stretch
9c12ea2f06 Remove run_validators() override (fixed upstream) 2019-04-16 15:35:15 -04:00
Jeremy Stretch
5f103e6aab Add limit_choices_to to CustomLink.content_type field 2019-04-15 21:53:22 -04:00
Jeremy Stretch
489d0f809c Merge pull request #3074 from digitalocean/969-custom-links
969 custom links
2019-04-15 21:43:17 -04:00
Jeremy Stretch
c7a70e3821 Add custom links to templates 2019-04-15 21:38:04 -04:00
Jeremy Stretch
ebb384f395 Custom link cleanup 2019-04-15 21:29:02 -04:00
Jeremy Stretch
7906987e14 Fix RelatedObjectDoesNotExist when adding a new PowerFeed 2019-04-15 17:55:50 -04:00
Jeremy Stretch
c20028cb69 Initial work on #969: Custom links 2019-04-15 17:12:41 -04:00
John Anderson
0596a9a160 move caching to views 2019-04-15 14:41:04 -04:00
John Anderson
80f8294cb8 add redis to travis builds 2019-04-15 04:16:22 -04:00
John Anderson
850997b09c pep8 and postgres backend 2019-04-15 04:07:52 -04:00
John Anderson
aae36cdce2 intial work on #2647 - caching 2019-04-15 03:55:33 -04:00
Jeremy Stretch
47bf03dd97 Replace distinct annotations with subqueries for much better performance 2019-04-12 17:18:04 -04:00
Jeremy Stretch
e8d09e97fa Added child counts to API serializers (WIP) 2019-04-12 17:07:56 -04:00
Jeremy Stretch
37e780feda Rename Interface type (classification) filter to kind 2019-04-12 14:09:03 -04:00
Jeremy Stretch
b34b816478 Maintain backward-compatibile support for Interface.form_factor until v2.7 2019-04-12 13:57:33 -04:00
Jeremy Stretch
fd4802b8f3 Rename form_factor to type on dcim.Interface 2019-04-12 13:42:56 -04:00
Jeremy Stretch
baa84de73d Add changelog tabs for power panel, power feed & clean up nav links 2019-04-12 10:16:34 -04:00
Jeremy Stretch
8e4f56ba88 Check view permissions for object navigation tabs 2019-04-12 09:29:36 -04:00
Jeremy Stretch
bf3e1f9178 Hide non-viewable object types on home page 2019-04-12 09:18:05 -04:00
Jeremy Stretch
f801143a72 Implement custom auth backend and EXEMPT_VIEW_PERMISSIONS setting 2019-04-11 22:01:26 -04:00
Jeremy Stretch
b050c53f00 Disable navigation links for objects user does not have permission to view 2019-04-11 21:08:40 -04:00
Jeremy Stretch
65ee49c5a2 Enforce view permissions for API views 2019-04-11 17:40:46 -04:00
Jeremy Stretch
10f6b96b02 Enforce view permissions for UI views 2019-04-11 17:27:38 -04:00
Jeremy Stretch
6d9ef51be7 Added tests for power panels, power feeds 2019-04-11 12:29:43 -04:00
Jeremy Stretch
f6e7014a73 Fix tests 2019-04-11 11:37:44 -04:00
Jeremy Stretch
acaf05c090 Misc cleanup 2019-04-11 10:49:43 -04:00
Jeremy Stretch
3d77eed6e2 Rename max_utilization to power_factor 2019-04-10 16:36:38 -04:00
Jeremy Stretch
20d3fc08d4 First stab at power utilization tracking 2019-04-10 16:32:13 -04:00
Jeremy Stretch
2076c0f494 Add associatiton from power outlet to power port/phase 2019-04-10 14:16:16 -04:00
Jeremy Stretch
c181e691e5 Include draw numbers of connected power ports 2019-04-10 13:05:51 -04:00
dansheps
94f0d3468f Fix PEP8 Errors 2019-04-10 08:42:27 -05:00
dansheps
e0f27656b5 Move Filter and Form to new file, update all files 2019-04-10 08:37:12 -05:00
Jeremy Stretch
b74db3a0cd Add max/allocated current draw fields to PowerPort 2019-04-09 17:32:04 -04:00
dansheps
4c6b4c19b3 Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter 2019-04-09 15:57:22 -05:00
Jeremy Stretch
c67464fc55 Provide individual views for each type of cable connection 2019-04-09 16:49:04 -04:00
Jeremy Stretch
7f7e418e9b Finish power outlet/feed connection forms 2019-04-09 15:37:31 -04:00
Jeremy Stretch
0cfc798399 Fix CSV import forms 2019-04-09 14:55:17 -04:00
Jeremy Stretch
51e2c4165e Update migrations 2019-04-09 14:22:45 -04:00
Jeremy Stretch
9a690ef644 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-09 14:12:45 -04:00
Jeremy Stretch
856651c4e8 Merge branch 'develop' into develop-2.6 2019-04-09 14:11:26 -04:00
Jeremy Stretch
1a68ac0c7f Post-release version bump 2019-04-08 14:30:06 -04:00
Jeremy Stretch
8a6792abbb Release v2.5.10 2019-04-08 14:19:37 -04:00
Jeremy Stretch
5eeb4ac142 Fixes #2937: Redirect to list view after editing an object from list view 2019-04-08 14:10:55 -04:00
Jeremy Stretch
197b0c5608 Closes #3052: Add Jinja2 support for export templates 2019-04-08 12:20:24 -04:00
dansheps
244d5885ab Fix virtualization test and add to changelog 2019-04-05 09:47:38 -05:00
Daniel Sheppard
280800b22b Remove unneeded import from testing. 2019-04-05 09:39:04 -05:00
dansheps
3072b5794d Fixes #3047: Fix exception string for invalid MAC Address format 2019-04-05 09:36:56 -05:00
Jeremy Stretch
ff7c0cef67 Fixes #3046: Fix exception at reports API endpoint 2019-04-04 17:34:36 -04:00
Jeremy Stretch
bb04d6cb39 Fixes #3044: Ignore site/rack fields when connecting a new cable via device search 2019-04-04 16:19:20 -04:00
Jeremy Stretch
e31ae592f4 Fixes #3036: DCIM interfaces API endpoint should not include VM interfaces 2019-04-04 15:07:41 -04:00
Jeremy Stretch
40d6d811e5 Fixes #3039: Fix exception when retrieving change object for a component template via API 2019-04-04 15:00:59 -04:00
Jeremy Stretch
2f1c482702 Fixes #3041: Fix form widget for bulk cable label update 2019-04-04 12:43:14 -04:00
Jeremy Stretch
ff3884543c Fix column links 2019-04-02 14:49:40 -04:00
Jeremy Stretch
892b53553e Fix rack elevation display 2019-04-02 13:50:57 -04:00
Jeremy Stretch
6ac3e7b390 Fixed table columns 2019-04-02 13:37:53 -04:00
Jeremy Stretch
f065ecdf26 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-02 13:15:40 -04:00
Jeremy Stretch
2b3be845cd Merge branch 'develop' into develop-2.6 2019-04-02 13:12:34 -04:00
Jeremy Stretch
8200b6af0e Post-release version bump 2019-04-02 12:37:39 -04:00
Jeremy Stretch
a82baedff7 Release v2.5.9 2019-04-02 11:54:00 -04:00
Jeremy Stretch
c3b5d141ab Fixes #3032: Save assigned tags when creating a new secret 2019-04-02 11:42:49 -04:00
Jeremy Stretch
0d030a28d7 Ensure fallback to default serializer when attempting to load nested serializer 2019-04-02 11:17:14 -04:00
Jeremy Stretch
a07eb7309e Fixes #3019: Fix tag population when running NetBox within a path 2019-04-02 11:05:16 -04:00
Jeremy Stretch
bf94129f90 Fixes #3027: Ignore empty local context data when rendering config contexts 2019-03-28 10:16:28 -04:00
Jeremy Stretch
609ee96dbf Fixes #3026: Tweak prefix/IP filter forms to filter using VRF ID rather than route distinguisher 2019-03-28 10:06:25 -04:00
Jeremy Stretch
7a6c0d1d96 Fixes #3001: Fix API representation of ObjectChange action and add changed_object_type 2019-03-28 09:57:26 -04:00
John Anderson
b1351be750 implements #3025 - Add request ID to outbound webhook requests 2019-03-24 15:35:42 -04:00
John Anderson
a54d906be2 implements #2933 - username in webhooks 2019-03-24 15:31:12 -04:00
Jeremy Stretch
4b34f4d302 Template and table polish 2019-03-22 21:58:45 -04:00
Jeremy Stretch
61f074a47f Fixes #3022: Add missing cable termination types to DCIM _choices endpoint 2019-03-22 16:26:56 -04:00
Jeremy Stretch
6c94b53fca FieldChoicesViewSet should infer field choices from serializer, not model 2019-03-22 16:24:53 -04:00
Jeremy Stretch
ef5811f30b Further work on power feed modeling 2019-03-21 17:47:43 -04:00
Jeremy Stretch
a8c5e372e3 Merge pull request #3012 from ajknv/develop
Add support for configuring use of an SSL connection to Redis.
2019-03-19 10:28:01 -04:00
Jeremy Stretch
0214c6243f Merge pull request #3015 from DanSheps/3014-fix-vm-roles
Changes vm_role from "true" to "True" in virtualization form
2019-03-19 10:24:59 -04:00
Jeremy Stretch
9b35405b72 Fixes #2998: Limit device query to non-racked devices if no rack selected when creating a cable 2019-03-19 10:22:52 -04:00
Alexander Kinneer
2db6af0a1e Add support for configuring use of an SSL connection to Redis.
Requires a build or release of django-rq containing
44f3fdd7cb
2019-03-18 11:26:37 -05:00
dansheps
8bf701bcc9 Changes vm_role from "true" to "True" in virtualization form 2019-03-18 09:22:36 -05:00
John Anderson
9ebdc98da6 fixes #2936 - device role selection showing duplicate first entry 2019-03-17 01:24:54 -04:00
Jeremy Stretch
d04d0f6304 Merge pull request #2996 from DanSheps/2207-fix_deterministic_ordering_of_interfaces
Fixes #2207
2019-03-13 16:15:34 -04:00
dansheps
343dba4b66 Change ID to PK 2019-03-13 14:02:23 -05:00
Jeremy Stretch
da9cb03429 Closes #2924: Add interface type for QSFP28 50GE 2019-03-13 10:00:40 -04:00
dansheps
3235265754 Fixes #2207
* Added 'id' field sort to InterfaceManager
2019-03-12 15:52:44 -05:00
Jeremy Stretch
6552c1bb95 Added filters for power panels & feeds 2019-03-12 12:05:58 -04:00
Jeremy Stretch
757ab3152d More power work 2019-03-12 11:36:29 -04:00
Jeremy Stretch
c549a18aff Fixed up models & forms 2019-03-12 10:17:00 -04:00
Jeremy Stretch
4b0e60edab Initial work on power modeling (WIP) 2019-03-11 22:40:52 -04:00
Jeremy Stretch
3f6c583074 Merge branch 'develop' into develop-2.6 2019-03-11 21:01:18 -04:00
Jeremy Stretch
eace13a087 Post-release version bump 2019-03-11 13:39:30 -04:00
Jeremy Stretch
258c77fe73 Release v2.5.8 2019-03-11 13:34:56 -04:00
Jeremy Stretch
5e152d4c46 Fixes #2982: Correct CSS class assignment on color picker 2019-03-11 13:31:48 -04:00
Jeremy Stretch
ca7151a862 Fixes #2985: Fix pagination page length for rack elevations 2019-03-11 12:51:03 -04:00
Jeremy Stretch
da0e03165f Fixes #2940: Allow CSV import of prefixes/IPs to VRF without an RD assigned 2019-03-11 12:34:19 -04:00
Jeremy Stretch
1b82c0dac7 Fixes #2984: Fix logging of unlabeled cable ID on cable deletion 2019-03-11 12:26:40 -04:00
Jeremy Stretch
ee9a514521 Fixes #2980: Improve rendering time for API docs 2019-03-08 10:28:11 -05:00
Jeremy Stretch
80d8035f0e Fixes #2968: Correct API documentation for SerializerMethodFields 2019-03-08 10:25:09 -05:00
Jeremy Stretch
5c5bc6a963 Changelog for #2944 2019-03-07 14:08:36 -05:00
Jeremy Stretch
fd452d4e11 Merge pull request #2979 from TakeMeNL/fix/2944
Fixes: #2944 Adding/removing an IP address is not recorded on the associated interface's changelog
2019-03-07 14:06:00 -05:00
Jeremy Stretch
e30686db0b Changelog & renaming for #2065 2019-03-07 13:58:34 -05:00
Jeremy Stretch
9f83d363fe Merge pull request #2957 from axnsan12/ref-name
Resolve drf-yasg `ref_name` conflicts
2019-03-07 13:52:29 -05:00
Marc
976fe5e32a Fix IP address is not recorded in the associated interface's changelog 2019-03-07 10:57:26 +01:00
Jeremy Stretch
85acc4d73a Fixes #2972: Improve ContentTypeField serializer to elegantly handle invalid data 2019-03-06 12:42:47 -05:00
Jeremy Stretch
73699075f8 Fixes #2976: Add delete button to tag view 2019-03-06 12:11:01 -05:00
Jeremy Stretch
593105dd8f Merge pull request #2969 from DanSheps/2435-PrintingCSS
Closes #2435: Printer friendly CSS
2019-03-06 09:44:04 -05:00
Daniel Sheppard
840eda7540 Remove .noprint from outside of the @media tag 2019-03-05 21:52:37 -06:00
dansheps
a7f5db45e4 * Added CSS to:
* Hide URLs
  * Hide elements with "noprint" class
* Added noprint to:
  * Header Panel
  * Search Panel, Tags Panel
  * Buttons
  * Various list elements
  * Related elements
2019-03-05 15:42:47 -06:00
Jeremy Stretch
2fa7a21250 Updated migrations to account for extras/0017_exporttemplate_mime_type_length 2019-03-05 13:46:37 -05:00
Jeremy Stretch
4bb54bb403 Merge branch 'develop' into develop-2.6 2019-03-05 13:39:00 -05:00
Jeremy Stretch
36ff4400ab Merge pull request #2967 from Anthony25/fix_cable_length_unit_api
Allow nullable length unit in cable API
2019-03-05 13:17:37 -05:00
Jeremy Stretch
3ee7284164 Fixes #2961: Prevent exception when exporting inventory items belonging to unnamed devices 2019-03-05 13:15:09 -05:00
Jeremy Stretch
b3c753bb8a Fixes #2962: Increase ExportTemplate mime_type field length 2019-03-05 13:08:40 -05:00
Anthony Ruhier
0849490ac1 Allow nullable length unit in cable API
Cables models define it as None by default, but the API rejects a
request containing a null length_unit. Allows it in the API
serializer.
2019-03-05 18:44:44 +01:00
dansheps
2e0612976c * Resolve conflict with virtualization filters. 2019-03-05 08:19:21 -06:00
dansheps
aa452dfbc0 * Resolve conflict with virtualization filters. 2019-03-05 08:18:04 -06:00
dansheps
60a065de88 Fixes #2781: Fixes filter by regions on site and device list
* Add Device filter
2019-03-05 08:10:10 -06:00
Grokzen
0ce752c816 Closes #1792 - Add CustomFieldChoices API endpoint (#2941)
* Add new api endpoint for CustomFieldChoices

* Add changelog item for #1792

* Add tests for CustomFieldchoiceAPI endpoint
2019-03-04 15:58:40 -05:00
Jeremy Stretch
1092eeb158 Fixed erroneous addition of 'description' field to unique_together 2019-03-04 15:57:21 -05:00
Jeremy Stretch
83c914bfca Merge pull request #2955 from axnsan12/trailing-slashes
Remove trailing slashes from filesystem paths
2019-03-04 15:14:45 -05:00
Jeremy Stretch
9262a655c9 Follow-up from #2781 2019-03-04 14:57:35 -05:00
Jeremy Stretch
98c15b1f97 Merge pull request #2935 from DanSheps/2781-fixsitelistfilterregion
Fixes: #2781 - Enable Filtering by Multiple Regions on Site and Device Lists
2019-03-04 14:42:04 -05:00
Cristi Vîjdea
4dbf2c6d58 Resolve drf-yasg ref_name conflicts
This solves the problem of distinct serializers being confused because they have the same class name (e.g. `InterfaceSerializer`)

Fixes #2065.
2019-03-04 03:49:26 +02:00
Cristi Vîjdea
6e85a3975b Remove trailing slashes from filesystem paths
Paths with trailing slashes do not work on windows, they cause errors such as `django.core.exceptions.SuspiciousFileOperation: The joined path (C:\Projects\netbox\netbox\static\clipboard-2.0.4.min.js) is located outside of the base path component (C:\Projects\netbox\netbox\static\)`.
2019-03-04 03:38:15 +02:00
John Anderson
c2c67cf58d Merge branch 'develop' into develop-2.6 2019-03-03 19:06:15 -05:00
John Anderson
61927f5eb4 Merge branch 'develop-2.6' of github.com:digitalocean/netbox into develop-2.6 2019-03-03 19:06:05 -05:00
John Anderson
9de4c55654 fixes #2952 - slug field absent from TenantFilter 2019-03-03 18:52:57 -05:00
John Anderson
ec3c8506ca v2.6.0-dev version update 2019-03-01 23:16:08 -05:00
Jeremy Stretch
6d428b39d7 Force resolution of request User object when logging an object deletion (resolves intermittent test failures) 2019-02-28 11:40:32 -05:00
Jeremy Stretch
c263e596cb Fixes #2938: Exclude circuit terminations from API interface connections endpoint 2019-02-28 09:59:17 -05:00
Jeremy Stretch
5baf9db3f2 Fixes #2938: Enforce deterministic ordering of device components returned by API 2019-02-28 09:49:23 -05:00
dansheps
b016d0f01a Fixes #2781: Fixes filter by regions on site and device list
* Add Device filter
2019-02-27 14:46:11 -06:00
dansheps
3559681999 Fixes #2781: Fixes filter by regions on site and device list 2019-02-27 11:41:12 -06:00
Jeremy Stretch
b971a3838c Fixes #2705: Fix endpoint grouping in API docs 2019-02-26 16:38:49 -05:00
dansheps
22dabb0e1c Fixes #2813: Add Filter and List View for TenantGroup
Added Filter for TenantGroup to the following Forms and Filter classes

* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine

Added List View to the following classes:

* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 11:09:02 -06:00
dansheps
71087415e3 Fixes #2813: Add Filter for TenantGroup to the following Forms and Filter classes:
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 10:37:30 -06:00
Jeremy Stretch
e6e72d999d Merge branch 'develop' into develop-2.6 2019-02-22 12:10:44 -05:00
Jeremy Stretch
e25fda47f9 Merge pull request #2918 from digitalocean/2643-description-fields
Closes #2643: Add description field to console/power components and device bays
2019-02-22 12:08:24 -05:00
Daniel Sheppard
b54c6c0f68 Fixes #2923: Changes Site Filter on Provider List to APISelectMultiple 2019-02-22 07:13:39 -06:00
John Anderson
c06723f133 added changelog views for Tag 2019-02-22 02:29:00 -05:00
John Anderson
20bd8411d6 fix circular import for ObjectChange, for now... 2019-02-22 01:42:17 -05:00
John Anderson
b318811de8 refactor tag migrations and add changelog fields to tag 2019-02-22 01:32:31 -05:00
Jeremy Stretch
5bcfef475a Post-release version bump 2019-02-21 14:45:23 -05:00
Jeremy Stretch
84c92d3425 Release v2.5.7 2019-02-21 14:42:44 -05:00
hSaria
add94c5254 Closes #2638: Copy Button for Secrets (#2860)
* Added clipboard.min.js

* Added copy button to secrets

* renamed clipboard JS library
2019-02-21 13:26:19 -05:00
Jeremy Stretch
6f9ef3909a Fixes #2852: Allow filtering devices by null rack position 2019-02-21 10:26:31 -05:00
John Anderson
ed8adcf339 removed migration to delete taggit models 2019-02-21 00:15:15 -05:00
Jeremy Stretch
d6bd5c96f2 Closes #2643: Add description field to console/power components and device bays 2019-02-20 14:34:05 -05:00
Jeremy Stretch
480f97272c Merge pull request #2891 from gdelafond/add-port-types
Fixes #2890: add port type LC/APC, SC/APC, LSH/APC
2019-02-20 12:00:39 -05:00
Jeremy Stretch
0ac345a626 Closes #2870: Add Markdown rendering for provider NOC/admin contact fields 2019-02-20 11:48:11 -05:00
Jeremy Stretch
7fe4a55e94 Closes #2898: Enable filtering cables list by connection status 2019-02-20 11:36:55 -05:00
Jeremy Stretch
307fb0de87 Fixes #2915: Fix bulk editing of pass-through ports 2019-02-20 11:13:43 -05:00
Jeremy Stretch
dff4f9fa7d Fixes #2912: Cable type in filter form should be blank by default 2019-02-20 10:21:34 -05:00
Jeremy Stretch
274eeb4966 Fixes #2913: Fix assigned prefixes link on VRF view 2019-02-20 10:17:36 -05:00
Jeremy Stretch
11ed8f0deb Fixes #2914: Fix empty connected circuit link on device interfaces list 2019-02-20 10:13:36 -05:00
John Anderson
3e4a82f5ad added default values for comments and color fields on tag 2019-02-20 03:56:32 -05:00
John Anderson
c679dd4ff8 initial pass on migrating to custom tag model with color and comments fields 2019-02-20 03:52:47 -05:00
John Anderson
e7f9374ddf #2350 - added virtual machines and test cases 2019-02-18 22:10:05 -05:00
John Anderson
ab3e509972 implemented #2350 - config context included by default in API 2019-02-18 21:37:00 -05:00
John Anderson
ce0c323de3 fixed #2910 - config context list and edit views not using select2 2019-02-18 21:10:15 -05:00
Jeremy Stretch
f66ecd3eb4 Implement basic view testing for all models (#2909) 2019-02-15 17:02:18 -05:00
Jeremy Stretch
9fe89c0b48 Closes #2878: Add cable types for OS1/OS2 singlemode fiber 2019-02-15 14:42:03 -05:00
Jeremy Stretch
c22935f33b Closes #2357: Enable filtering of devices by rack face 2019-02-15 11:31:57 -05:00
Jeremy Stretch
59ed5bd688 Closes #2903: Clarify purpose of tags field on interface edit form 2019-02-15 10:23:46 -05:00
Jeremy Stretch
97a2399793 Fixes #2884: Don't display connect button for wireless interfaces 2019-02-15 10:14:44 -05:00
Jeremy Stretch
65d41495c1 Fixes #2901: Fix ordering regions by site count 2019-02-15 10:10:26 -05:00
Jeremy Stretch
ba399a3cc4 Fixes #2895: Fix filtering of nullable character fields 2019-02-14 09:43:56 -05:00
Jeremy Stretch
504e5bf9e6 Closes #2836: Deprecate NullableCharField 2019-02-14 09:39:04 -05:00
Jeremy Stretch
6ba42b94ad Merge pull request #2889 from stuntguy3000/patch-1
Fixes #2888 - Render correct foreground colour for rack devices
2019-02-14 09:14:36 -05:00
TakeMeNL
1aa723f0fe ipaddress.vrf already includes ipaddress.vrf.rd 2019-02-14 14:48:25 +01:00
Guillaume de Lafond
2ee23d1170 add port type LC/APC, SC/APC, LSH/APC 2019-02-14 10:17:25 +01:00
Luke Anderson
6dd792c630 Render correct foreground colour for rack devices 2019-02-14 16:37:27 +10:30
Jeremy Stretch
10c2f3fcc9 Post-release version bump 2019-02-13 17:11:51 -05:00
Jeremy Stretch
134ebcf4eb Release v2.5.6 2019-02-13 17:07:15 -05:00
Jeremy Stretch
facdced7d7 Closes #2758: Add cable trace button to pass-through ports 2019-02-13 17:05:02 -05:00
Jeremy Stretch
d191222f6d Fixes #2880: Sanitize user password if an exception is raised during login 2019-02-13 11:34:16 -05:00
Jeremy Stretch
2d11727a69 Closes #2866: Add cellular interface types (GSM/CDMA/LTE) 2019-02-13 10:45:42 -05:00
Jeremy Stretch
b183bf463c Closes #2851: Include circuit provider in pass-through port connection details 2019-02-13 10:26:54 -05:00
Jeremy Stretch
06522a7b29 Fix broken test 2019-02-13 10:09:33 -05:00
Jeremy Stretch
afb5a76daf Fixes #2877: Fixed device role label display on light background color 2019-02-13 10:06:56 -05:00
Jeremy Stretch
9a83e3913e Closes #2839: Add "110 punch" type for pass-through ports 2019-02-08 09:57:04 -05:00
Jeremy Stretch
c0745f5325 Closes #2854: Enable bulk editing of pass-through ports 2019-02-08 09:31:10 -05:00
Jeremy Stretch
124f64bf43 Fixes #2862: Follow return URL when connecting a cable 2019-02-08 09:10:31 -05:00
Jeremy Stretch
215ba08344 Fixes #2864: Correct display of VRF name when no RD is assigned 2019-02-08 09:04:43 -05:00
Jeremy Stretch
00420dfe8a Fixes #2841: Fix filtering by VRF for prefix and IP address lists 2019-02-06 10:48:14 -05:00
Jeremy Stretch
0bf4b439c1 Fixes #2845: Enable filtering of rack unit list by unit ID 2019-02-06 10:44:05 -05:00
Jeremy Stretch
67042e8d0d Fixes #2856: Fix navigation links between LAG interfaces and their members on device view 2019-02-06 10:28:25 -05:00
Jeremy Stretch
c882a7b5be Fixes #2857: Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit 2019-02-06 10:23:30 -05:00
Jeremy Stretch
df062466b9 Closes #2844: Correct display of far cable end for pass-through ports 2019-02-01 09:12:48 -05:00
Jeremy Stretch
65424e106b Post-release version bump 2019-01-31 16:12:00 -05:00
Jeremy Stretch
dd51c49d85 Release v2.5.5 2019-01-31 16:04:14 -05:00
John Anderson
45843d22b4 fixes #2837 - select2 nullable filter fields add multiple null_option elements when paging 2019-01-31 13:56:36 -05:00
Jeremy Stretch
ac614130b2 Closes #2805: Allow null route distinguisher for VRFs 2019-01-31 13:47:24 -05:00
John Anderson
dc491e24ed fixes #2835 - certain model filters did not support the q query param 2019-01-31 13:36:30 -05:00
Jeremy Stretch
41fd4ce416 Closes #2825: Include directly connected device for front/rear ports 2019-01-31 12:21:43 -05:00
Jeremy Stretch
6e495be835 Closes #2809: Remove VRF child prefixes table; link to main prefixes view 2019-01-31 10:06:08 -05:00
Jeremy Stretch
8246401497 Fixes #2833: Fix form widget for front port template creation 2019-01-31 09:19:53 -05:00
Jeremy Stretch
215a230291 Post-release version bump 2019-01-31 09:06:49 -05:00
Jeremy Stretch
106a7726c1 Fixes #2824: Fix template exception when viewing rack elevations list 2019-01-30 09:59:19 -05:00
Jeremy Stretch
47de46e6dc Release v2.5.4 2019-01-29 16:32:15 -05:00
Jeremy Stretch
110301a1f6 Fixes #2816: Handle exception when deleting a device with connected components 2019-01-29 14:27:47 -05:00
Jeremy Stretch
13015cf6c2 Closes #2810: Include description fields in interface connections export 2019-01-29 14:08:15 -05:00