Commit Graph

867 Commits

Author SHA1 Message Date
Jeremy Stretch
7abd75155b Post-release version bump 2017-02-03 13:59:26 -05:00
Jeremy Stretch
39d699ac9a Release v1.8.4 2017-02-03 13:55:32 -05:00
Jeremy Stretch
9623e7a25c Fixes #865: Fix server error when attempting to delete a protected object parent (Python 3) 2017-02-01 12:09:59 -05:00
Jeremy Stretch
82f98c38d3 Fixes #854: Check whether object still exists before attempting to resolve its URL 2017-02-01 11:59:47 -05:00
Jeremy Stretch
481f33dab7 Fixes #851: Resolve encoding issues during import/export with Python 3 2017-02-01 11:49:54 -05:00
Jeremy Stretch
072eba9858 Removed deprecated base_path Swagger setting 2017-02-01 10:48:36 -05:00
Jeremy Stretch
bc92574141 Fixes #861: Avoid overwriting device primary IP assignment from alternate family during bulk import of IP addresses 2017-01-31 17:25:44 -05:00
Jeremy Stretch
440b431763 Closes #856: Strip whitespace from fields during CSV import 2017-01-31 16:54:13 -05:00
Jeremy Stretch
8df7c11123 Fixes #859: Fix Javascript for connection status toggle button 2017-01-31 09:41:25 -05:00
Jeremy Stretch
aab85345c9 Fixes #854: Correct processing of get_return_url() in ObjectDeleteView 2017-01-30 12:13:24 -05:00
Jeremy Stretch
9eb49bdcb4 Post-release version bump 2017-01-26 14:00:08 -05:00
Jeremy Stretch
f9493cb609 Release v1.8.3 2017-01-26 13:57:00 -05:00
Jeremy Stretch
dd3e421469 Fixes #845: Fix missing edit/delete buttons on object tables for non-superusers 2017-01-26 13:20:56 -05:00
dav3860
857fb95b3b Support for comma in interfaces and ip addresses bulk creation (#833)
* Added support for comma in interfaces and ip addresses bulk creation

* fixed PEP8 style

* removed unnecessary assertions
2017-01-25 14:47:14 -05:00
Jeremy Stretch
db0d88c78f Fixed DeviceTypeTest 2017-01-25 14:38:45 -05:00
Jeremy Stretch
45532211fb Fixes #844: Apply order_naturally() to API interfaces list 2017-01-25 14:34:34 -05:00
Jeremy Stretch
d3d23d55ff Closes #841: Merged search and filter forms on all object lists 2017-01-24 12:05:39 -05:00
Jeremy Stretch
049c142a1c Closes #782: Allow filtering devices list by manufacturer 2017-01-24 10:53:59 -05:00
Jeremy Stretch
93e1c83be6 Fixes #816: Redirect back to parent prefix view after deleting child prefixes 2017-01-24 09:50:51 -05:00
Jens L
395b26374a Basic Support for Python 3 (#827)
* Rudimentary python3 support

* update docs and trigger Travis

* fix some of the tests

* fix all python3 errors

* change env calls to just python

* add @python_2_unicode_compatible decorator to models for python2 compatibility

* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Jeremy Stretch
bc065b1ce8 Fixes #840: Correct API path resolution for secrets when BASE_PATH is configured 2017-01-23 16:25:05 -05:00
Jeremy Stretch
d132a6a575 Fixes #817: Update last_updated time of a circuit when editing a child termination 2017-01-23 15:31:41 -05:00
Jeremy Stretch
064a400314 Closes #820: Add VLAN column to parent prefixes table on IP address view 2017-01-23 14:23:42 -05:00
Jeremy Stretch
ac0eaf8d8b Closes #836: Add 'deprecated' status for IP addresses 2017-01-23 14:12:43 -05:00
Jeremy Stretch
27170b2c44 Standardized naming of return_url for all object views 2017-01-23 14:07:26 -05:00
Jeremy Stretch
0b07e0771c Fixes #830: Redirect user to device view after editing a device component 2017-01-23 12:14:12 -05:00
Jeremy Stretch
9470a03d0e Re-implemented method for bulk editing/deleting all objects within a filtered queryset 2017-01-20 16:42:11 -05:00
Jeremy Stretch
d01ffacae3 Post-release version bump 2017-01-18 16:23:52 -05:00
Jeremy Stretch
abc0e13cc8 Release v1.8.2 2017-01-18 16:19:45 -05:00
Jeremy Stretch
9bdc37995f PEP8 fixes 2017-01-18 14:43:46 -05:00
Jeremy Stretch
6adc37f77e Deprecated use_obj_view in favor of get_return_url() 2017-01-18 14:34:17 -05:00
Jeremy Stretch
457c8f93c8 Ditched get_parent_url() model method in favor of overrideable get_return_url() view method 2017-01-18 14:07:46 -05:00
Jeremy Stretch
b74e5204db Standardized the use of return_url for ObjectDeleteView 2017-01-18 13:30:19 -05:00
Jeremy Stretch
27032b412c Closes #760: Redirect user back to device view after deleting an assigned IP address 2017-01-18 12:25:07 -05:00
Jeremy Stretch
b3d354b16b Regression fix: order_naturally() must come first in the queryset definition 2017-01-18 11:55:48 -05:00
Jeremy Stretch
06c4bf28c1 Fixes #810: Suppress unique IP validation on invalid IP addresses and prefixes 2017-01-18 09:55:57 -05:00
Jeremy Stretch
e31755fa4a Closes #797: Add description column to VLANs table 2017-01-17 16:06:19 -05:00
Jeremy Stretch
6ff34127e5 Fixes #807: Redirect user back to form when adding IP addresses in bulk and "create and add another" is clicked 2017-01-17 15:46:43 -05:00
Jeremy Stretch
ad5b8ea994 Add an empty label (global) to IPAddressBulkAddForm VRF field 2017-01-17 15:33:55 -05:00
Jeremy Stretch
4c5e81a72c Closes #783: Add a description field to the Circuit model 2017-01-17 15:18:03 -05:00
Jeremy Stretch
6aa3a02dab Fixes #785: Trigger validation error when importing a prefix assigned to a nonexistent VLAN 2017-01-17 15:01:30 -05:00
Jeremy Stretch
08aafcd34b Closes #803: Clarify that no child objects are deleted when deleting a prefix 2017-01-17 14:52:39 -05:00
Jeremy Stretch
f26e4b0395 Closes #805: Linkify site column in device table 2017-01-17 14:46:29 -05:00
Jeremy Stretch
dcba889030 Follow-up to #804 2017-01-17 12:32:54 -05:00
Zach Moody
5db8c359d4 moved duplicates() method to model instead of manager. 2017-01-16 18:14:34 -06:00
Zach Moody
d6b094bc30 cleaned up IPAddress clean() to be more like Prefix's 2017-01-16 16:52:03 -06:00
Zach Moody
fa19222c0d Added model tests for duplicate prefix and IPs. 2017-01-16 16:40:06 -06:00
Zach Moody
8388b51ba4 added duplicates() method to IPAddress and Prefix model managers.
refactored condition on IPAddress and Prefix clean method to use new
manager method.
2017-01-16 16:28:04 -06:00
Jeremy Stretch
e4057a6b11 Merge pull request #796 from rburkholder/rburkholder-patch-TenantSerializer-description
rburkholder - patch - tenant serialiser - add description field to output
2017-01-13 09:36:33 -05:00
Jeremy Stretch
45758abcf7 Corrected PEP8 errors 2017-01-13 09:30:59 -05:00
Raymond P. Burkholder
acd2fc9550 Add description field to TenantSerializer
This might be just an oversight.  Other data models do include the description in their serialisers.  The API produces the description field with this change.
2017-01-13 08:49:43 -04:00
Jeremy Stretch
38bc63da40 Table rendering optimizations 2017-01-06 16:50:57 -05:00
Jeremy Stretch
7433d0e856 Closes #284: Added interface_ordering field to DeviceType 2017-01-06 12:59:49 -05:00
Jeremy Stretch
8d00d523b5 Fixes #778: Refactored order_interfaces() to fix InterfaceTemplate ordering within a table 2017-01-05 16:12:07 -05:00
Jeremy Stretch
3755adf42f Corrected permissions for device component form rendering 2017-01-05 15:37:15 -05:00
Jeremy Stretch
9f2c756ef0 Standardized template names 2017-01-05 15:31:41 -05:00
Jeremy Stretch
d1dd658356 Fixes #776: Prevent circuits from appearing twice while searching 2017-01-04 16:56:28 -05:00
Jeremy Stretch
165021eaa9 Post-release version bump 2017-01-04 15:31:10 -05:00
Jeremy Stretch
125e95bbc1 Release v1.8.1 2017-01-04 15:28:53 -05:00
Jeremy Stretch
646abd8d5b Fixes #772: Fix TypeError in API RackUnitListView when no device is excluded 2017-01-04 10:58:11 -05:00
Jeremy Stretch
c6a656d082 Fixes #764: Encapsulate in double quotes values containing commas when exporting to CSV 2017-01-04 10:47:00 -05:00
Jeremy Stretch
8ff2ac6f73 Closes #771: Don't automatically redirect user when only one object is returned in a list 2017-01-04 09:51:40 -05:00
Jeremy Stretch
4077ec0ce6 Fixes #769: Show default value for boolean custom fields 2017-01-04 09:47:26 -05:00
Jeremy Stretch
6f866ccb9c Fixes #767: Fixes xconnect_id error when searching for ciruits 2017-01-03 17:00:43 -05:00
Jeremy Stretch
639b90f9d7 Allow null filtering of prefix VLAN 2017-01-03 16:57:42 -05:00
Jeremy Stretch
1afe5c1b0a Post-release version bump 2017-01-03 15:14:09 -05:00
Jeremy Stretch
ba1b5ae3ac Release v1.8.0 2017-01-03 15:07:41 -05:00
Jeremy Stretch
a43c45ce68 Fixes #763: Added missing fields to CSV exports 2017-01-03 14:52:56 -05:00
Jeremy Stretch
308d5d5b67 Updated circuit import template 2017-01-03 14:25:51 -05:00
Jeremy Stretch
2ca44a515e Split site contact info into a separate panel 2017-01-03 13:46:49 -05:00
Jeremy Stretch
4997b31aaa Fixes #757: Debug toolbar middleware must always be included, even if DEBUG is False 2016-12-29 13:45:57 -05:00
Jeremy Stretch
cb4d3d68b7 Miscellaneous cleanup and documentation 2016-12-29 13:42:38 -05:00
Jeremy Stretch
a7659d6714 Fixed outdated select_related reference to circuit 2016-12-29 11:53:24 -05:00
Jeremy Stretch
983cf2ab05 Closes #756: Added contact details to site model 2016-12-29 11:37:40 -05:00
Jeremy Stretch
e4f4481a6a Fixes #658: Added is_pool field to Prefix model 2016-12-27 15:07:52 -05:00
Jeremy Stretch
f0a2225f28 Fixed bug introduced in e1f6cfbf27 2016-12-27 14:18:31 -05:00
Jeremy Stretch
736c85e4d6 Improved device interface list performance 2016-12-27 13:21:19 -05:00
Jeremy Stretch
98b56db82e Simplified paginator when dealing with <=5 pages 2016-12-26 15:43:48 -05:00
Jeremy Stretch
b1e322130d Fixed paginator text rendering 2016-12-26 15:36:33 -05:00
Jeremy Stretch
e1f6cfbf27 Fixed table form rendering for django-tables2>=1.2.1 2016-12-26 14:30:56 -05:00
Jeremy Stretch
8f52c8a3a6 Fixed debug toolbar display 2016-12-26 12:15:14 -05:00
Jeremy Stretch
ff6d4d6c8f Upgraded django-filter to 0.15.3 2016-12-26 11:58:27 -05:00
Jeremy Stretch
fb89772585 Updated middleware for Django 1.10 2016-12-26 10:48:15 -05:00
Jeremy Stretch
0c7431e186 Added permissions evaluation 2016-12-21 17:28:35 -05:00
Jeremy Stretch
93f91e9d17 Only display "select all" button if there are two or more items 2016-12-21 17:26:25 -05:00
Jeremy Stretch
558c813698 Refactored device component creation views 2016-12-21 17:20:27 -05:00
Jeremy Stretch
b7b9d0f147 Renamed template 2016-12-21 15:31:55 -05:00
Jeremy Stretch
326edb709e Introduced DeviceComponentCreateView 2016-12-21 15:26:56 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
6b0e2aaefd Fixed device component bulk creation permissions 2016-12-21 13:52:16 -05:00
Jeremy Stretch
916e81b372 Fixed device type component creation permissions 2016-12-21 13:47:15 -05:00
Jeremy Stretch
d73ff19d71 Fixes #563: Allow a device to be flipped from one rack face to the other 2016-12-21 11:06:42 -05:00
Jeremy Stretch
9537ab02c6 Closes #716: Add ASN field to site bulk edit form 2016-12-20 16:13:45 -05:00
Jeremy Stretch
561ebaf5d3 Closes #181: Implemented support for bulk IP address creation 2016-12-20 15:39:22 -05:00
Jeremy Stretch
351e8f0358 Fixed prefix/VLAN role links 2016-12-19 14:45:25 -05:00
Jeremy Stretch
791d870668 Fixes #747: Fixes natural_order_by integer cast error on large numbers 2016-12-19 11:01:44 -05:00
Jeremy Stretch
e19bc4599d Tweaked prefix column header padding 2016-12-16 17:09:27 -05:00
Jeremy Stretch
c96ee3cec9 Fixes #744: Fixed export of sites without an AS number 2016-12-16 16:33:07 -05:00
Jeremy Stretch
09036bef05 Closes #743: Enabled bulk creation of all device components 2016-12-16 16:29:32 -05:00
Jeremy Stretch
2042767ba3 Fixed dcim tests 2016-12-16 12:15:32 -05:00