Commit Graph

3005 Commits

Author SHA1 Message Date
Jeremy Stretch
eeacd04483 Move script attributes under a Meta class 2019-08-12 13:16:18 -04:00
Jeremy Stretch
72558468ad Closes #3420: Serial number filter for racks, devices, and inventory items is now case-insensitive 2019-08-12 12:10:36 -04:00
Jeremy Stretch
be57e606af Fixes #3422: Prevent navigation menu from overlapping page content 2019-08-12 11:57:48 -04:00
Jeremy Stretch
cad46f81e6 Implemented permissions for scripts 2019-08-12 11:39:36 -04:00
Jeremy Stretch
8312a23056 BooleanVar cannot be required 2019-08-12 11:13:16 -04:00
Jeremy Stretch
1331072d92 Fix form field ordering 2019-08-12 11:13:16 -04:00
Jeremy Stretch
49a23f1fe9 Add options for script vars; include script output 2019-08-12 11:13:16 -04:00
Jeremy Stretch
f602ffbca7 Initial work on custom scripts (#3415) 2019-08-12 11:13:16 -04:00
Jeremy Stretch
8bd8d8249f Add test for device component creation 2019-08-07 17:48:12 -04:00
Jeremy Stretch
3f0fd7f891 Fixes #3405: Move device component creation logic into template models 2019-08-07 17:47:44 -04:00
Jeremy Stretch
b6d8fdbe5e Removed invalid contact email 2019-08-02 15:02:29 -04:00
Jeremy Stretch
8970af8e36 Post-release version bump 2019-08-02 10:31:56 -04:00
Jeremy Stretch
487190ed20 Release v2.6.2 2019-08-02 10:29:10 -04:00
Jeremy Stretch
c88c0f9644 Fixes #3384: Maximum and allocated draw fields should be included on power port template creation form 2019-08-02 09:56:02 -04:00
Jeremy Stretch
7e3cffd4f3 Fixes #3385: Fix power panels list when bulk editing power feeds 2019-08-02 09:43:46 -04:00
Jeremy Stretch
180d7ee34b Merge pull request #3383 from ragzilla/develop
Closes #3367: Add BNC Front/Rear port types and Coaxial cable type.
2019-08-02 09:10:40 -04:00
Matt Addison
84bd72f1b6 Closes #3367: Add BNC Front/Rear port types and Coaxial cable type. 2019-08-01 10:33:29 -04:00
Jeremy Stretch
8d0c9600fc Fixes #3018: Components connected via a cable must have an equal number of positions 2019-07-31 10:12:51 -04:00
Jeremy Stretch
304d34428a Fixes #3289: Prevent position from being nullified when moving a device to a new rack 2019-07-30 17:07:58 -04:00
Jeremy Stretch
92658a6104 Merge pull request #3369 from jlrgraham23/fix-changelog-wording
Indicate when changelog retention configured to be forever.
2019-07-30 16:20:39 -04:00
Daniel Sheppard
bab58992aa Fixes #3370 - Add filter class to VirtualChassis API 2019-07-24 12:22:15 -05:00
Justin L R Graham
f59c065fb4 Indicate when changelog retention configured to be forever. 2019-07-23 13:46:55 -05:00
Jeremy Stretch
99d60dbfbd Closes #3314: Paginate object changelog entries 2019-07-18 21:40:36 -04:00
Jeremy Stretch
b1aa63be72 Fixes #3315: Enable filtering devices/interfaces by multiple MAC addresses 2019-07-18 21:21:56 -04:00
Jeremy Stretch
e6a1a98862 Fixes #3293: Enable filtering device components by multiple device IDs 2019-07-18 20:42:15 -04:00
Jeremy Stretch
f0c06b77c8 Merge pull request #3326 from lassebm/fix-3323
Fixes #3323: Interface Connections view inaccessible with "dcim.view_interface" permission
2019-07-17 16:24:14 -04:00
Jeremy Stretch
5a8cb9c892 Merge pull request #3308 from mmahacek/powerpanel-count
Add Powerpanel count to home page
2019-07-17 16:20:27 -04:00
Jeremy Stretch
a552458105 Merge pull request #3337 from robellegate/fix/docs_digitalocean_repo_links
Replacing references to digitalocean org
2019-07-16 10:18:37 -04:00
Jeremy Stretch
80248d999d Fixes #3342: Fix cluster delete button permissions reference 2019-07-16 10:07:38 -04:00
Robert Ellegate
95bee19161 Replacing references to digitalocean org
s/(?<=:\/\/github.com\/)digitalocean(?=\/netbox)/netbox-community/g
2019-07-10 09:23:43 -04:00
Lasse Bang Mikkelsen
66b6e25d8e Fixes #3323: Interface Connections view inaccessible with "dcim.view_interface" permission 2019-07-04 17:37:28 +02:00
Jeremy Stretch
ad21710114 Fixes #3317: Fix permissions for ConfigContextBulkDeleteView 2019-07-02 09:39:26 -04:00
mmahacek
4d3ac3ec26 Add stats.powerpanel_count 2019-06-28 17:04:42 -07:00
mmahacek
4bf8132dff Add line for PowerPanel count 2019-06-28 17:03:06 -07:00
Jeremy Stretch
b07fc7f3c0 Closes #984: Allow ordering circuits by A/Z side 2019-06-27 12:30:17 -04:00
Jeremy Stretch
70a09bfdba Post-release version bump 2019-06-25 09:44:00 -04:00
Jeremy Stretch
4e6f4ab033 Release v2.6.1 2019-06-25 09:39:30 -04:00
Jeremy Stretch
0eb720cdef Closes #3154: Add virtual_chassis_member device filter 2019-06-24 16:31:21 -04:00
Jeremy Stretch
e1aa2bcdc1 Fix for #3229 2019-06-24 15:48:49 -04:00
Jeremy Stretch
6b988c2f39 Fixes #3269: Raise validation error when specifying non-existent cable terminationss 2019-06-24 15:42:15 -04:00
Jeremy Stretch
75272e7272 Closes #3277: Add cable trace buttons for console and power ports 2019-06-24 14:27:34 -04:00
Jeremy Stretch
70f7319507 Changelog for #3229 2019-06-24 14:22:03 -04:00
Jeremy Stretch
48ac628967 Merge pull request #3232 from hellerve/fix-3229
Filter group by site in rack filter
2019-06-24 14:19:50 -04:00
Jeremy Stretch
fa284c1ade Closes #3281: Hide custom links which render as empty text 2019-06-24 12:20:09 -04:00
Jeremy Stretch
43febe8357 Fixes #3283: Fix rack group assignment on PowerFeed CSV import 2019-06-24 11:10:35 -04:00
Jeremy Stretch
874130861e Fixes #3292: Ignore empty URL query parameters 2019-06-24 11:00:18 -04:00
Jeremy Stretch
9a6b87887b Fixes #3290: Fix server error when viewing cascaded PDUs 2019-06-24 10:05:21 -04:00
Jeremy Stretch
5081486a1f Fixes #3279: Reset the PostgreSQL sequence for Tag and TaggedItem IDs 2019-06-21 17:34:06 -04:00
John Anderson
e2f74df351 Merge pull request #3284 from cimnine/fix_pwd_protected_redis_cache
Fixes Cacheops with a password protected redis
2019-06-21 16:35:50 -04:00
Jeremy Stretch
358ef04887 Fixes #3275: Fix error when adding power outlets to a device type 2019-06-21 16:24:12 -04:00
Christian Mäder
3eef6ea28e Fixes Cacheops with a password protected redis
As per the [`README.rst`][1] of `django-cacheops`, if a password is
added to the connection string, it must be in the form
`redis://:password@host:port/db`. Notice the colon, which was missing
from the implementation in [`settings.py`][2].

[1]: 8ad970d55a/README.rst
[2]: 39d9977234/netbox/netbox/settings.py (L349)
2019-06-21 22:23:10 +02:00
Jeremy Stretch
39d9977234 Post-release version bump 2019-06-20 17:01:21 -04:00
Jeremy Stretch
f87a00779a Release v2.6.0 2019-06-20 16:55:43 -04:00
Jeremy Stretch
c46c31ebdb Closes #3264: Annotate changelog retention time on UI 2019-06-20 14:05:53 -04:00
Jeremy Stretch
9936284423 Hide color block if cable color is not defined 2019-06-20 14:00:45 -04:00
Jeremy Stretch
ebf4616d3a Fixes #3176: Add cable trace button for console server ports and power outlets 2019-06-20 13:58:32 -04:00
Jeremy Stretch
d3fbab7991 Merged develop 2019-06-20 13:10:45 -04:00
Jeremy Stretch
aab17dbcf5 Updated django-cors-headers to v3.0.2 2019-06-20 09:48:34 -04:00
John Anderson
59ceab2c46 minor tweaks to error handling to allow for defaulted values from pre v2.6 data 2019-06-19 23:47:48 -04:00
Jeremy Stretch
0f1453c16d Cleaned up logic for calculating power draw 2019-06-19 10:51:53 -04:00
John Anderson
bdf95b2e34 closes #3161 - prometheus env var docs and set prometheus to not be enabled by default 2019-06-17 16:38:05 -04:00
Jeremy Stretch
3882c631b2 Fix power outlet connection link 2019-06-17 16:32:21 -04:00
Jeremy Stretch
d69a48c2f5 Fixes #3258: Exception raised when creating/viewing a circuit with a non-connected termination 2019-06-17 16:27:26 -04:00
Jeremy Stretch
111460fea3 Fixes #3231: Fixed cosmetic error indicating a missing schema migration 2019-06-17 15:30:23 -04:00
Jeremy Stretch
261db75bad Update migration for tweak to available_power 2019-06-17 15:23:37 -04:00
Jeremy Stretch
7e4ed80b4e Fix power utilization calculation for three-phase feeds 2019-06-17 15:16:52 -04:00
Jeremy Stretch
a061e01540 Rename power_factor to max_utilization 2019-06-17 14:52:11 -04:00
Jeremy Stretch
3e4734b998 Compressed migrations 2019-06-17 14:41:40 -04:00
Jeremy Stretch
aab285bf05 Merge pull request #3262 from digitalocean/feature/524-power-utilization-graphs
#524 - Added power utilization graphs to power feeds, devices, and racks
2019-06-17 14:38:12 -04:00
John Anderson
4d14cd2401 #524 - Added power utilization graphs to power feeds, devices, and racks 2019-06-16 06:11:32 -04:00
Jeremy Stretch
b76ff67de7 Fix test for tags view 2019-06-05 15:05:35 -04:00
Jeremy Stretch
35fb3f599c Add missing PermissionRequiredMixin to TagListView 2019-06-05 14:47:43 -04:00
Jeremy Stretch
540c6563ca Closes #3241: Correct terminology in inventory items table header 2019-06-05 12:10:33 -04:00
hellerve
f54ef87eda dcim: filter group by site in rack filter (fixes #3229) 2019-06-02 14:26:28 +02:00
Jeremy Stretch
31ed16335a Merged v2.5.13 2019-05-31 21:37:41 -04:00
Jeremy Stretch
7ef55e3c66 Post-release version bump 2019-05-31 09:56:50 -04:00
Jeremy Stretch
0d71c2104d Release v2.5.13 2019-05-31 09:49:53 -04:00
dansheps
daa6f454b2 Fix #3228 - UrlEncode full path for next if not on logon page
Include the full path for the ?next= variable in login links if we are not on the logon page.
Additionally include next for post requests that have the next variable set (will only come from the login page itself generally)
2019-05-30 12:01:41 -05:00
dansheps
409b8e8e6a Fix #3228 - Send full path info instead of just path info and urlencode said path info 2019-05-30 10:58:39 -05:00
Jeremy Stretch
e5094ca6b4 Remove request.user assertion from ObjectChangeMiddleware 2019-05-30 10:32:09 -04:00
Jeremy Stretch
fec3ee9ed3 Fixes #3227: Fix exception when deleting a circuit with a termination(s) 2019-05-29 17:17:06 -04:00
Jeremy Stretch
7aabb6fa32 Closes #3151: Add inventory item count to manufacturers list 2019-05-29 15:20:36 -04:00
Jeremy Stretch
1c807fa212 Closes #3185: Improve performance for custom field access within templates 2019-05-29 15:04:57 -04:00
Jeremy Stretch
f4560467a3 Fixed test from #3211 follow-up work 2019-05-29 10:51:49 -04:00
Jeremy Stretch
5aa4772507 Changelog & grammar tweak for #3211 2019-05-29 10:33:29 -04:00
Jeremy Stretch
08bcc8ca76 Merge pull request #3222 from hellerve/tmp
Fix error message on trying to delete protected models
2019-05-29 10:24:28 -04:00
Jeremy Stretch
c352ace806 Merge pull request #3195 from TakeMeNL/feature/3156
Closes #3156: Add site link to rack reservations overview
2019-05-29 10:19:10 -04:00
Jeremy Stretch
ed20be755b Merge pull request #3197 from KhaledTo/bug/3031
Fixes #3031: Select2 creates multiple tags for tags with spaces
2019-05-29 10:08:59 -04:00
TakeMeNL
c07652d5d1 Closes #3156: Add site link to rack reservations overview 2019-05-29 16:08:24 +02:00
hellerve
3192319f2a utilities: move protectederror handling to modelviewset 2019-05-28 21:11:23 +02:00
Jeremy Stretch
834b4a541e Merge pull request #3216 from hellerve/fix-3168
Fix 3168: Update to new path syntax
2019-05-28 13:16:08 -04:00
Jeremy Stretch
4f0e0b5642 Fixes #3223: Fix filtering devices by "has power outlets" 2019-05-28 13:10:54 -04:00
hellerve
8b8190f9b4 all: fix error message on trying to delete protected models (references #3211) 2019-05-28 17:31:02 +02:00
hellerve
98e7c38457 netbox urls: move to re_path as suggested by @jeremystretch 2019-05-27 22:41:10 +02:00
Jeremy Stretch
0c5acd7f6b Merge pull request #3205 from ananace/fix-interface-connection
Fixes #3204: Fix connecting cables to interfaces
2019-05-27 15:38:36 -04:00
Jeremy Stretch
d5de9f884e Merge pull request #3199 from candlerb/candlerb/3184
Add grey border around color-block
2019-05-27 15:00:48 -04:00
hellerve
228aef0345 utilities: add converters module and use for json/yaml url 2019-05-26 14:56:01 +02:00
hellerve
d264c5f011 urls: fix 3168 by changing url to path 2019-05-26 14:56:00 +02:00
Alexander Olofsson
a27f02fca4 Fixes #3206: Unable to connect to rear ports 2019-05-22 19:58:26 +02:00
Alexander Olofsson
e4ed8456d7 Fixes #3204: Fix connecting cables to interfaces 2019-05-22 19:00:13 +02:00
Brian Candler
09696c18ae Add grey border around color-block
Fixes #3184
2019-05-20 21:06:53 +01:00
Khaled BEN ABDALLAH
5a57c9b6b7 Fixes #3031: Select2 creates multiple tags for tags with spaces 2019-05-18 22:43:47 +02:00
Jeremy Stretch
591627e048 Closes #3138: Add 2.5GE and 5GE interface form factors 2019-05-16 20:49:00 -04:00
Jeremy Stretch
29aab8611f Closes #3183: Enable bulk deletion of sites 2019-05-16 20:24:55 -04:00
Jeremy Stretch
53257a5838 Fixes #3190: Fix custom field rendering for Jinja2 export templates 2019-05-16 19:45:36 -04:00
Jeremy Stretch
f395820b76 Closes #3186: Add interface name filter for IP addresses 2019-05-14 19:03:03 -04:00
Jeremy Stretch
592ab864e8 Move TenancyFilterForm to tenancy.forms 2019-05-09 14:36:18 -04:00
Jeremy Stretch
9c597d7a96 Cleanup from #2931 2019-05-09 14:32:49 -04:00
Jeremy Stretch
6ee88050bc Merge pull request #2931 from DanSheps/2813-addtenantgroupfilter
Closes #2813: Add Filter and View on Lists for TenantGroup
2019-05-09 13:48:46 -04:00
Jeremy Stretch
6d125b3dab Restore id__in filters to retain backward compatability until v2.7 2019-05-08 21:08:35 -04:00
Jeremy Stretch
022e9e9aed Correct Device.position filter 2019-05-07 14:12:56 -04:00
Jeremy Stretch
a2d7e3c63d Remove NullableCharFieldFilter; add missing filter fields 2019-05-07 13:59:21 -04:00
Jeremy Stretch
da3cc1b448 Remove NumericInFilter and id__in filters 2019-05-07 13:07:18 -04:00
Jeremy Stretch
bdf0d7f652 Update query filters to OR multiple values 2019-05-07 12:25:33 -04:00
Oli
805a96de6f Formatting of cable length in cable trace 2019-05-06 15:36:44 +02:00
Jeremy Stretch
cecb2dd63f Closes #3085: Catch all exceptions during export template rendering 2019-05-02 15:36:51 -04:00
Jeremy Stretch
ec9a0ab2f7 Fixes #3140: Add bulk edit capability for power outlets and console server ports 2019-05-02 13:56:30 -04:00
Jeremy Stretch
161fb5b377 Fixes #3137: Add power_port and feed_leg fields to power outlet creation form 2019-05-02 10:12:27 -04:00
Jeremy Stretch
ca5d1a3ffb Fixes #3136: Add power draw fields to power port creation form 2019-05-02 10:02:02 -04:00
John Anderson
2d9427bfc4 fixes #3134 - remove component buttons from power utilization table 2019-05-01 21:48:35 -04:00
Shane Madden
f7f7d3a567 Add circuittermination as a choice for cable endpoint types, which is not in the choices API for cable termination types but is accepted by the application as a valid endpoint for cables 2019-05-01 13:47:52 -06:00
Jeremy Stretch
38d0380559 Fixes #3130: Fix exception when creating a new power outlet 2019-05-01 12:02:18 -04:00
Jeremy Stretch
e70111353c Merge branch 'develop' into develop-2.6 2019-05-01 11:53:44 -04:00
Jeremy Stretch
10bd1812c9 Post-release version bump 2019-05-01 11:09:11 -04:00
Jeremy Stretch
91e7863956 Release v2.5.12 2019-05-01 11:08:32 -04:00
Jeremy Stretch
73ffe3a57b Fixes #3127: Fix natural ordering of device components 2019-04-30 13:25:37 -04:00
Jeremy Stretch
566dbad2fa Fixes #3126: Incorrect calculation of PowerFeed available power 2019-04-30 12:38:06 -04:00
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