Commit Graph

1650 Commits

Author SHA1 Message Date
Jeremy Stretch
820116b6e0 Closes #1737: Added a 'contains' API filter to find all prefixes containing a given IP or prefix 2017-11-30 12:37:41 -05:00
Jeremy Stretch
bb393b63b6 Fixes #1741: Fixed Unicode support for secret plaintexts 2017-11-29 15:16:11 -05:00
Jeremy Stretch
c198ac04b1 Fixes #1743: Include number of instances for device types in global search 2017-11-29 14:07:41 -05:00
Jeremy Stretch
6e5442da72 Fixed search field length in search view 2017-11-28 09:27:31 -05:00
Jeremy Stretch
717b897e28 Closes #1722: Added VM count to site view 2017-11-27 10:59:24 -05:00
Jeremy Stretch
eb3abfe504 Corrected tenant inheritance for new IP addresses created from a parent prefix 2017-11-22 13:00:48 -05:00
Jeremy Stretch
70769431a6 Fixes #1721: Differentiated child IP count from utilization percentage for prefixes 2017-11-22 12:40:58 -05:00
Jeremy Stretch
93b2b7601e Closes #1722: Added virtual machine count to sites list 2017-11-22 12:19:04 -05:00
Jeremy Stretch
228a5337a9 Post-release version bump 2017-11-16 12:01:09 -05:00
Jeremy Stretch
4d20e23dde Release v2.2.6 2017-11-16 11:57:43 -05:00
Jeremy Stretch
154aae76f9 Fixes #1718: Set empty label to 'Global' or VRF field in IP assignment form 2017-11-16 11:54:23 -05:00
Jeremy Stretch
d8f390b32c Closes #1669: Clicking "add an IP" from the prefix view will default to the first available IP within the prefix 2017-11-15 15:26:00 -05:00
Jeremy Stretch
24821a6f93 Fixes #1599: Reduce mobile cut-off for navigation menu to 960px 2017-11-15 14:57:56 -05:00
Jeremy Stretch
066a1d36d7 Fixes #1599: Display global search in navigation menu unless display is less than 1200px wide 2017-11-15 14:44:33 -05:00
Jeremy Stretch
e20fc713e3 Fixes #1715: Added missing import buttons on object lists 2017-11-15 12:52:21 -05:00
Jeremy Stretch
948a9627d1 Fixes #1717: Fixed inteface validation for virtual machines 2017-11-15 12:37:08 -05:00
Jeremy Stretch
578a27c6e3 Post-release version bump 2017-11-14 13:29:46 -05:00
Jeremy Stretch
a965cb7ec4 Release v2.2.5 2017-11-14 13:20:15 -05:00
Jeremy Stretch
838bced7c5 Fixes #1703: Added API serializer validation for custom integer fields 2017-11-14 13:15:09 -05:00
Jeremy Stretch
8a6401f70d Fixes #1705: Fixed filtering of devices with a status of offline 2017-11-14 12:58:47 -05:00
Karl
f8903945bb Update 0008_reports.py (#1702)
* Update 0008_reports.py

PG10 version string appears to, at least on Windows, contain a comma.

* Fix missing re import.

Fix missing re import.

* Update 0008_reports.py
2017-11-13 15:11:41 -05:00
Jeremy Stretch
e161b40f8c Fixes #1642: Validate device type classification when creating console server ports and power outlets 2017-11-10 15:01:46 -05:00
Jeremy Stretch
fe68eca25c Closes #1512: Added a view to search for an IP address being assigned to an interface 2017-11-10 11:58:59 -05:00
Jeremy Stretch
4a54a05680 Fixes #1471: Correct bulk selection of IP addresses within a prefix assigned to a VRF 2017-11-10 09:34:30 -05:00
Jeremy Stretch
e33052612a Fixes #1699: Correct nested representation in the API of primary IPs for virtual machines and add missing primary_ip property 2017-11-09 09:33:40 -05:00
Jeremy Stretch
0eeb4d6852 Fixes #1696: Fix for NAPALM v2.0+ 2017-11-08 09:51:37 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
81cef18578 Tweaked exception-handling middleware to preserve tracebacks 2017-11-06 17:48:13 -05:00
Jeremy Stretch
f3101c27a8 #1689: Fix for Python 2 2017-11-06 17:44:19 -05:00
Jeremy Stretch
a541cb38da Fixed PermissionError handling for Python 2 2017-11-06 17:24:09 -05:00
Jeremy Stretch
897c75f88f Fixes #1689: Disregard IP address mask when filtering for child IPs of a prefix 2017-11-06 10:07:44 -05:00
Jeremy Stretch
29b1926f74 Closes #1679: Added IP address roles to device/VM interface lists 2017-11-03 17:00:08 -04:00
Jeremy Stretch
a2b9578724 Rearranged device/VM view and expanded component lists 2017-11-03 16:58:56 -04:00
Jeremy Stretch
15eeb4c0a2 Removed unused imports 2017-11-03 14:36:28 -04:00
Jeremy Stretch
c83af10008 Closes #1683: Replaced default 500 handler with custom middleware to provide preliminary troubleshooting assistance 2017-11-03 13:24:31 -04:00
Jeremy Stretch
88aaa0041a Fixes #1650: Correct numeric ordering for interfaces with no alphabetic type 2017-11-02 13:58:30 -04:00
Jeremy Stretch
a8998557f7 Fixes #1676: Correct filtering of child prefixes upon bulk edit/delete from the parent prefix view 2017-11-02 13:21:19 -04:00
Jeremy Stretch
d7201dcb58 Closes #1684: Replaced prefix 'parent' filter with 'within' and 'within_include' 2017-11-02 13:15:25 -04:00
Ichabond
5d8f3d1ddd Fixes #1655. Removed explicit field references. (#1656)
* Fixes #1655

Further field name references were found in `consoleport.html`. These have now been removed, so we rely on proper a proper `__str__` implementation of both `ConsolePort` and `ConsoleServerPort`.

* Fixes #1655: Removed explicit field references

Cleaned up all (notable) .name references, and removed them so __str__ can do the lifting. Did not remove the references where it was explicitly referenced to .name (eg. in details). Extended the Secret model to also include the name in __str__, since that was weirdly absent.

* Adapted PR to comply with comments

Re-introduced certain references to make sure explicit references are still used where needed.
2017-11-02 11:51:27 -04:00
Jeremy Stretch
2810592706 Post-release version bump 2017-10-31 15:25:59 -04:00
Jeremy Stretch
a572d010ec Release v2.2.4 2017-10-31 15:17:35 -04:00
Jeremy Stretch
4174a12c5d Fixes #1670: Corrected filter names (regression from #1649) 2017-10-31 14:47:14 -04:00
Jeremy Stretch
6c24fd35de Post-release version bump 2017-10-31 14:07:19 -04:00
Jeremy Stretch
a2832b2700 Release v2.2.3 2017-10-31 13:58:27 -04:00
Jeremy Stretch
6ec60222aa Closes #1666: Allow modifying the owner of a rack reservation 2017-10-31 13:52:35 -04:00
wanglf
5b57420eee Fixed missing field 'serial' in function to_csv() 2017-10-31 22:05:30 +08:00
Jeremy Stretch
886d712987 Fixes #1653: Remove outdated description for DeviceType's is_network_device flag 2017-10-30 17:45:05 -04:00
Jeremy Stretch
0d0b193712 Fixes #1649: Correct fitlering on null values (e.g. ?tenant_id=0) for django-filters v1.1.0+ 2017-10-30 17:20:22 -04:00
Jeremy Stretch
128e773778 Merge pull request #1604 from RyanBreaker/virt-initial_data
Added virtualization fixture for initial_data
2017-10-30 15:30:28 -04:00
Jeremy Stretch
119bc5b5c6 Fixes #1603: Hide selection checkboxes for tables with no available actions 2017-10-27 10:33:58 -04:00
Jeremy Stretch
90f8c7bde5 Fixed vertical heigh of checboxes in tables 2017-10-27 10:31:54 -04:00
Jeremy Stretch
17528294fe Closes #1631: Added a post_run method to the Report class 2017-10-27 10:02:27 -04:00
Tom Strickx
b0d4620fda Remove explicit reference to the name field
Remove the explicit usage of the `name` field, and let the __str__ method of the ConsoleServerPort class handle the display
2017-10-26 09:24:39 -07:00
Ryan Breaker
2ce35535e0 Add Digital Ocean as an initial cluster 2017-10-26 10:05:18 -05:00
Jeremy Stretch
f6d7908a61 Fixes #1634: Cluster should not be a required field when importing child devices 2017-10-23 13:17:51 -04:00
Jeremy Stretch
444cf949e0 Fixes #1624: Add VM count to device roles table 2017-10-23 13:15:34 -04:00
Jeremy Stretch
09a4cec327 Fixes #1513: Correct filtering of custom field choices 2017-10-20 16:39:13 -04:00
Jeremy Stretch
3b3b219a46 Closes #999: Display devices on which circuits are terminated in circuits list 2017-10-20 16:27:19 -04:00
Ryan Breaker
c35c5dbf23 Add Hyper-V and Azure to Virtualization initial_data 2017-10-19 20:18:09 -05:00
Jeremy Stretch
c044d731b9 #1621: Allow for loose matching of short-form IOS interface names when validating LLDP neighbors 2017-10-19 17:12:28 -04:00
Jeremy Stretch
f95720ca85 Fixes #1620: Loosen IP address search filter to match all IPs that start with the given string 2017-10-18 14:29:56 -04:00
Jeremy Stretch
3a30cbb6f9 Fixes #1619: Correct text-based filtering of IP network and address fields 2017-10-18 13:01:49 -04:00
Jeremy Stretch
f664f866c5 Fixes #1618: Allow bulk deletion of all virtual machines 2017-10-18 12:31:58 -04:00
Jeremy Stretch
0f7f878640 Merge pull request #1597 from RyanBreaker/validations
Additional data validation for Rack model
2017-10-18 11:22:26 -04:00
Jeremy Stretch
fba063081b Post-release version bump 2017-10-17 11:25:12 -04:00
Jeremy Stretch
b0d3daf43f Release v2.2.2 2017-10-17 11:21:58 -04:00
Jeremy Stretch
4cfe36225d Fixes #1579: Devices already assigned to a cluster cannot be added to a different cluster 2017-10-17 09:59:35 -04:00
Jeremy Stretch
47768a1ae2 Fixes #1609: Added missing virtual_machine field to IP address interface serializer 2017-10-17 09:23:53 -04:00
Jeremy Stretch
2d0d7f9093 Merge pull request #1598 from candlerb/candlerb/1498
Avoid creating repeated graph nodes where device matches multiple regexps
2017-10-16 17:16:46 -04:00
Jeremy Stretch
0e1c7c82f4 Fixes #1605: Added clusters and virtual machines to object list for global search 2017-10-16 16:44:15 -04:00
Ryan Breaker
919c61ac6f Added virtualization fixture for loaddata initial_data 2017-10-16 14:59:39 -05:00
root
6602c2b77c Avoid creating repeated graph nodes where device matches multiple regexps
Fixes #1498
2017-10-16 10:13:39 +00:00
Ryan Breaker
42b8707579 Add test for validation of device within rack height. 2017-10-15 19:03:28 -05:00
Ryan Breaker
1e6c7a56c9 Add group and site matching validation to Rack.clean() and testing 2017-10-15 18:35:03 -05:00
Jeremy Stretch
c37eb774dc Removed deprecated xstr and expand_pattern functions 2017-10-13 14:29:55 -04:00
Jeremy Stretch
787e86c25e Closes #1580: Allow cluster assignment when bulk importing devices 2017-10-13 14:19:41 -04:00
Jeremy Stretch
55b667a12e Fixes #1585: Fixed slug-based filtering of virtual machines 2017-10-13 12:14:19 -04:00
Jeremy Stretch
4a618d9234 Closes #1587: Add primary IP column for virtual machines in global search results 2017-10-13 10:53:25 -04:00
Jeremy Stretch
fdeacd0864 Fixes #1584: Colorized virtual machine role column 2017-10-13 10:45:34 -04:00
Jeremy Stretch
60df76f66e Fixes #1582: Add virtual_machine attribute to IPAddress 2017-10-13 10:42:45 -04:00
Jeremy Stretch
5637962eb7 Post-release version bump 2017-10-12 16:39:51 -04:00
Jeremy Stretch
65cc2905b0 PEP8 fix 2017-10-12 16:07:13 -04:00
Jeremy Stretch
6f91b07438 Release v2.2.1 2017-10-12 16:04:01 -04:00
Jeremy Stretch
9d9b90a413 Fixes #1576: Move PostgreSQL validation logic into the relevant migration 2017-10-12 16:02:15 -04:00
Jeremy Stretch
b325072c3e Post-release version bump 2017-10-12 14:01:52 -04:00
Jeremy Stretch
7194812ab8 Release v2.2.0 2017-10-12 13:54:04 -04:00
Jeremy Stretch
42db8a94c2 Fixed typo 2017-10-12 13:47:44 -04:00
Ryan Breaker
770ba2be06 Add meta tags for charset and convert some tabs to spaces for consistency (#1574)
* Add meta tag for charset.

* Add meta tag for charset in 500.html and convert some tabs to spaces for consistency.
2017-10-12 13:39:28 -04:00
Jeremy Stretch
d38099186a Updated version number for v2.2 build 2017-10-11 16:42:44 -04:00
Jeremy Stretch
9e20d3f738 Bypass PostgreSQL 9.4 check if database is inaccessible 2017-10-11 16:28:05 -04:00
Jeremy Stretch
eb0383df26 Check that PostgreSQL is 9.4 or higher on initialization 2017-10-11 16:16:44 -04:00
Jeremy Stretch
7f2644a495 Updated package requirements 2017-10-11 15:11:51 -04:00
Jeremy Stretch
5dcc3b2725 Branded the browsable API template 2017-10-11 14:47:43 -04:00
Jeremy Stretch
dd0e9e6d32 Removed obsolete docker build file 2017-10-11 14:39:51 -04:00
Jeremy Stretch
9ba7e3fe6a Added missing permission class to reports API viewset 2017-10-11 14:37:25 -04:00
Jeremy Stretch
6671ded02f Introduced the REPORTS_ROOT config parameter; Python2 fixes 2017-10-11 14:03:35 -04:00
Jeremy Stretch
d23f83818b Improved template for when no reports are found 2017-10-11 13:30:38 -04:00
Jeremy Stretch
732827f689 Merge branch 'develop' into develop-2.2
Conflicts:
	netbox/utilities/api.py
2017-10-11 10:47:21 -04:00
Jeremy Stretch
de25348dcc Closes #1510: Added ability to search by name when adding devices to a cluster 2017-10-11 10:14:09 -04:00
Jeremy Stretch
445c648452 #1556: Swapped label and value 2017-10-10 17:47:53 -04:00