Jeremy Stretch
92c4346d91
Fixes #1013 : Show edit/delete reservation buttons on rack view
2017-03-29 12:15:14 -04:00
Jeremy Stretch
583871a25b
Initial work on global search
2017-03-29 12:04:57 -04:00
Jeremy Stretch
ed51e72d32
Closes #973 : Removed extraneous admin UI functions
2017-03-28 16:41:53 -04:00
Jeremy Stretch
c773430bb0
Closes #362 : Added per_page query parameter to control pagination page length
2017-03-28 15:57:50 -04:00
Jeremy Stretch
3b6d6f52e6
Token admin form improvements
2017-03-28 12:19:08 -04:00
Jeremy Stretch
ae42abb0d0
Added tests for get-session-key API endpoint
2017-03-28 11:30:38 -04:00
Jeremy Stretch
e66559fd4c
Closes #985 : Added preserve_key to get-session-key endpoint
2017-03-28 11:13:13 -04:00
Jeremy Stretch
997269b51f
Order interfaces naturally for Device A
2017-03-27 10:55:54 -04:00
Jeremy Stretch
e580d0fd3f
Fixes #991 : Correct server error on "create and connect another" interface connection
2017-03-27 10:53:32 -04:00
Zach Moody
d8b29c8b59
fix remaining legacy api url paths.
2017-03-24 18:58:19 -05:00
Zach Moody
8fc8fa462a
update api_url with new interfaces endpoint.
2017-03-24 18:42:23 -05:00
Zach Moody
6e5ab9e0af
Fixes #996
2017-03-24 17:38:06 -05:00
Jeremy Stretch
b7435e76dd
Merge branch 'develop' into v2-develop
...
Conflicts:
netbox/netbox/settings.py
2017-03-23 17:14:41 -04:00
Jeremy Stretch
b33c4e7274
Post-release version bump
2017-03-23 16:29:42 -04:00
Jeremy Stretch
d1fbaa7695
Release v1.9.3
2017-03-23 16:24:35 -04:00
Jeremy Stretch
3febbaf060
Rack assignment is optional for devices
2017-03-23 15:36:24 -04:00
Jeremy Stretch
44099b0f1a
Merge branch 'api2' into v2-develop
2017-03-23 13:36:09 -04:00
Jeremy Stretch
7d3831ee25
Closes #972 : Add ability to filter connections list by device name
2017-03-23 10:07:02 -04:00
Jeremy Stretch
f815eede74
Merge pull request #974 from marc-us/develop
...
Filter on mac address on interface
2017-03-23 09:35:01 -04:00
Mark
a020c4c56b
Filter on mac address on interface via API
2017-03-23 12:57:35 +01:00
Jeremy Stretch
32e641936b
Only attempt to process session key if user is authenticated
2017-03-22 17:43:29 -04:00
Jeremy Stretch
a8960b3fd2
Closes #978 : Allow filtering device types by function and subdevice role
2017-03-22 17:29:47 -04:00
Jeremy Stretch
30e584d017
Closes #983 : Include peer device names when listing circuits in device view
2017-03-22 16:58:56 -04:00
Jeremy Stretch
74f98b27fa
v2.0 Beta 1 release
2017-03-22 10:07:37 -04:00
Jeremy Stretch
52d235853f
Merge branch 'develop' into api2
...
Conflicts:
netbox/circuits/filters.py
2017-03-22 09:48:41 -04:00
Jeremy Stretch
74fb6f1a4d
Closes #981 : Allow filtering primary objects by a given set of IDs
2017-03-22 09:39:30 -04:00
Jeremy Stretch
5a21884cea
Added has_primary_ip filter for Devices
2017-03-21 21:29:03 -04:00
Jeremy Stretch
78a665d2e4
Allow editing of platform RPC client
2017-03-21 17:33:40 -04:00
Jeremy Stretch
a0c3b7dc0d
RPC API fixes
2017-03-21 17:24:16 -04:00
Jeremy Stretch
dfb1bfa456
Finished work on secrets views; removed path from cookie assignment
2017-03-21 15:30:36 -04:00
Jeremy Stretch
903656c414
Merge branch 'develop' into api2
2017-03-21 14:10:53 -04:00
Jeremy Stretch
fb8ac4e816
Fixes #843 : Implemented CORS headers for API
2017-03-21 13:53:07 -04:00
Jeremy Stretch
7ce4d6e976
Include the API version in responses
2017-03-21 13:23:56 -04:00
Jeremy Stretch
581f7c3269
Tweak how we set the API version
2017-03-21 13:17:50 -04:00
Jeremy Stretch
be56d01a1d
Renamed Module to InventoryItem (prep for #824 )
2017-03-21 12:54:08 -04:00
Jeremy Stretch
ea9ed11c3b
Custom name for ConnectedDeviceViewSet
2017-03-20 21:54:01 -04:00
Jeremy Stretch
8c15daf697
Fixed browsable API breadcrumbs
2017-03-20 21:50:10 -04:00
Jeremy Stretch
354b3b0011
Added test case for ConnectedDeviceViewSet
2017-03-20 21:39:40 -04:00
Jeremy Stretch
2be7d030c2
Renamed rack-units API and added a test
2017-03-20 21:18:37 -04:00
Jeremy Stretch
73be1297a5
Removed custom renderers
2017-03-20 17:47:18 -04:00
Jeremy Stretch
9ba11806b2
Fixed custom renderers to work with paginated data
2017-03-20 17:15:42 -04:00
Jeremy Stretch
c09c9f8745
Converted ChoiceFieldSerializer to display an object
2017-03-20 16:32:59 -04:00
Jeremy Stretch
5577d67223
Wrote API endpoints, tests for ExportTemplates
2017-03-20 16:21:10 -04:00
Jeremy Stretch
15ecd734c6
Added API endpoint, tests for Graphs
2017-03-20 15:14:33 -04:00
Jeremy Stretch
023b67ca4a
Added a footer link to the GitHub wiki
2017-03-20 14:05:26 -04:00
Jeremy Stretch
4f5d5cd4f0
Introduced HttpStatusMixin to provide more detail on HTTP response status test failures
2017-03-20 13:46:47 -04:00
Jeremy Stretch
b9bc9cabd8
Enforce API versioning
2017-03-20 12:33:42 -04:00
Jeremy Stretch
472008a673
Updated RackViewSet() to be compatible with paginated API
2017-03-20 10:38:09 -04:00
Jeremy Stretch
d76d4b6966
Fix API JS to read response.results for new API
2017-03-20 10:06:25 -04:00
Mark
2c273eef03
Filter on mac address on interface
2017-03-18 21:26:33 +01:00
Mark
a7df85acdf
Filter on mac address on interface
2017-03-18 21:21:49 +01:00
Mark
6662b34fac
Filter on mac address on interface
...
Extension to be able filter on mac address via API
2017-03-18 21:10:36 +01:00
Jeremy Stretch
1ecf2fa700
Python3 fixes
2017-03-17 21:39:29 -04:00
Jeremy Stretch
90fbaeb0c2
Make CI happy
2017-03-17 17:39:56 -04:00
Jeremy Stretch
c072bedd02
Restore not-so-extraneous 'id' field to all WritableSerializers
2017-03-17 17:32:43 -04:00
Jeremy Stretch
9ca5f7df0f
Merge branch 'develop' into api2
2017-03-17 17:06:01 -04:00
Jeremy Stretch
a0f931891b
Removed extraneous 'id' field from all WritableSerializers
2017-03-17 16:20:34 -04:00
Jeremy Stretch
af2e7ca5a7
Wrote tests for secrets API
2017-03-17 16:01:57 -04:00
Jeremy Stretch
d93a379c15
Assign RackReservation user from request context
2017-03-17 14:45:14 -04:00
Jeremy Stretch
494ad68a4c
Make RackReservation.rack editble for API compatability
2017-03-17 14:40:11 -04:00
Jeremy Stretch
ac83cd8021
Wrote tests for IPAM API
2017-03-17 14:36:59 -04:00
Jeremy Stretch
1f294b9479
Removed unneeded services endpoint from DCIM API
2017-03-17 12:23:23 -04:00
Jeremy Stretch
05c37ea90e
Finished DCIM API model tests
2017-03-17 12:16:24 -04:00
Jeremy Stretch
86e73a825f
Fix error when assigning a new interface to a LAG
2017-03-16 22:27:01 -04:00
Jeremy Stretch
708cc043c3
Fixed bug interpreting facility_id as a required field
2017-03-16 17:25:34 -04:00
Jeremy Stretch
b63ed3d1dc
First batch of DCIM API tests
2017-03-16 16:50:18 -04:00
Jeremy Stretch
a282808285
Improved create/update validation
2017-03-16 14:17:14 -04:00
Jeremy Stretch
1838b8f209
Wrote tests for tenancy API
2017-03-16 13:29:55 -04:00
Jeremy Stretch
ff13bf81c6
Wrote tests for circuits API
2017-03-16 13:23:01 -04:00
Jeremy Stretch
43ed77446f
Implemented full read/write support for secrets
2017-03-15 14:47:18 -04:00
Jeremy Stretch
53dccc6670
Refactored SecretViewSet
2017-03-15 13:48:09 -04:00
Jeremy Stretch
1149f91edb
Post-release version bump
2017-03-14 17:18:05 -04:00
Jeremy Stretch
e5318f602f
Release v1.9.2
2017-03-14 17:07:04 -04:00
Jeremy Stretch
d2bbac65af
Fixes #964 : Fix bug when bulk editing/deleting filtered set of objects
2017-03-14 15:22:08 -04:00
Jeremy Stretch
426d8333d9
Fixes #963 : Fix bug in IPv6 address range expansion
2017-03-14 15:06:34 -04:00
Jeremy Stretch
5e0b257865
Allow user to delete session key
2017-03-14 14:01:06 -04:00
Jeremy Stretch
0047f5ce11
Relate SessionKey to UserKey rather than User
2017-03-14 13:32:07 -04:00
Jeremy Stretch
1249da5411
Updated user URLs
2017-03-14 12:59:10 -04:00
Jeremy Stretch
479705b387
Merge branch 'develop' into api2
...
Conflicts:
netbox/templates/users/_user.html
netbox/users/urls.py
2017-03-14 12:40:28 -04:00
Jeremy Stretch
cfb1287cd5
Renamed user URL namespace
2017-03-14 12:36:44 -04:00
Jeremy Stretch
87abcf8306
Secrets UI work
2017-03-14 12:32:08 -04:00
Jeremy Stretch
b872eda7ea
Simplify SessionKey usage
2017-03-14 10:58:57 -04:00
Jeremy Stretch
b3a95bbab5
Allow assigning child devices to rackless parents
2017-03-13 11:31:28 -04:00
Jeremy Stretch
f0c251c76e
Fix parent device position display
2017-03-13 11:25:06 -04:00
Jeremy Stretch
50e790c2d8
Fixes #950 : Fix site_id error on child device import
2017-03-13 11:18:33 -04:00
Jeremy Stretch
487b6121cb
Fixes #957 : Correct device site filter count to include unracked devices
2017-03-13 10:13:04 -04:00
Jeremy Stretch
c6c3c46ed6
Fixes #956 : Correct bug affecting unnamed rackless devices
2017-03-13 10:06:32 -04:00
Jeremy Stretch
02d791a3d6
APIRootView tweaks
2017-03-09 15:18:50 -05:00
Jeremy Stretch
3ba49e19a7
Provided a root API view
2017-03-09 15:05:01 -05:00
Jeremy Stretch
8099d51a85
Removed deprecated GraphListView
2017-03-09 14:28:52 -05:00
Jeremy Stretch
1b1cb25826
Closes #855 : Added an API endpoint for recent activity
2017-03-09 14:26:39 -05:00
Jeremy Stretch
e26707f898
Fixed serialization of CustomFieldChoices
2017-03-09 13:50:30 -05:00
Jeremy Stretch
c2965d26d5
Removed browsable API login/logout
2017-03-09 13:38:15 -05:00
Jeremy Stretch
78f0d583b0
Standardized API URL definitions
2017-03-09 13:24:02 -05:00
Jeremy Stretch
1ba65cb311
Replaced RelatedConnectionsView with views.ConnectedDeviceViewSet
2017-03-09 12:18:53 -05:00
Jeremy Stretch
a98a856ae3
Converted GetSessionKey and RSAKeyGeneratorView to ViewSets
2017-03-08 17:57:51 -05:00
Jeremy Stretch
97006f15ec
Cleanup
2017-03-08 16:30:32 -05:00
Jeremy Stretch
79c8be97e4
Moved custom field serializers to their own module to avoid circular dependency
2017-03-08 16:18:41 -05:00
Jeremy Stretch
7b5f59852f
Moved TopologyMaps from DCIM to extras
2017-03-08 16:12:14 -05:00
Jeremy Stretch
3ad489a63d
Merge branch 'develop' into api2
...
Conflicts:
netbox/netbox/settings.py
2017-03-08 15:18:32 -05:00
Jeremy Stretch
6c5723e52e
Post-release version bump
2017-03-08 14:45:23 -05:00
Jeremy Stretch
b3b1f2526f
Release v1.9.1
2017-03-08 14:38:24 -05:00
Jeremy Stretch
db407fc479
Fixes #943 : Child prefixes missing on Python 3
2017-03-08 14:10:27 -05:00
Jeremy Stretch
b1839e5b8a
Fixes #948 : Region name should be hyperlinked to site list
2017-03-08 12:04:50 -05:00
Jeremy Stretch
b6522c161b
Closes #946 : Disregard mask length when filtering IP addresses by a parent prefix
2017-03-08 11:59:24 -05:00
Jeremy Stretch
67a973e87a
Finished user control panel for tokens
2017-03-08 11:34:47 -05:00
Jeremy Stretch
71a70740a2
Initial work on user control panel for tokens
2017-03-07 23:30:53 -05:00
Jeremy Stretch
160bcc214a
Addded is_expired property to Token
2017-03-07 23:30:31 -05:00
Jeremy Stretch
c24fe99c48
Shorten key length to 20 bytes
2017-03-07 22:56:29 -05:00
Jeremy Stretch
c1f98043f3
Suppress default permissions for Token model
2017-03-07 22:40:05 -05:00
Jeremy Stretch
dcc673cf88
Closes #945 : Display the current user in the nav menu
2017-03-07 22:27:46 -05:00
Jeremy Stretch
1588c6226b
Initial work on token authentication
2017-03-07 17:17:39 -05:00
Jeremy Stretch
6326894a4f
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/views.py
2017-03-07 14:08:06 -05:00
Jeremy Stretch
93cf372889
Fixes #944 : Correct console and power connection form behavior
2017-03-07 13:32:48 -05:00
Jeremy Stretch
36ecc890e9
Fixes #941 : Corrected old references to rack.site on Device
2017-03-06 10:23:24 -05:00
Jeremy Stretch
c8737f73c0
Post-release version bump
2017-03-03 11:28:27 -05:00
Jeremy Stretch
0cf6709b7b
Release v1.9.0-r1
2017-03-03 11:26:31 -05:00
Jeremy Stretch
c8cf9aff5b
Fixes #935 : Fix form validation error when connecting an interface using live search
2017-03-03 11:19:19 -05:00
Jeremy Stretch
c0c78dd61e
Fixes #938 : Provider view yields an error if one or more circuits is assigned to a tenant
2017-03-03 10:47:16 -05:00
Jeremy Stretch
047fb8c671
Fixes #937 : Region assignment should be optional when creating a site
2017-03-03 10:44:07 -05:00
Jeremy Stretch
c704ac99b3
Enable API versioning
2017-03-02 16:20:16 -05:00
Jeremy Stretch
5a7630e560
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
netbox/dcim/api/urls.py
netbox/dcim/api/views.py
netbox/dcim/filters.py
netbox/dcim/tables.py
requirements.txt
2017-03-02 16:01:25 -05:00
Jeremy Stretch
13b523e096
Post-release version bump
2017-03-02 13:30:45 -05:00
Jeremy Stretch
709bc475b2
Release v1.9.0
2017-03-02 13:22:29 -05:00
Jeremy Stretch
e82af5025c
Closes #894 : Expand device name max length to 64 characters
2017-03-02 10:11:54 -05:00
Jeremy Stretch
1cc07bae75
Closes #901 : Support for filtering prefixes and IP addresses by mask length
2017-03-01 14:23:52 -05:00
Jeremy Stretch
9f216fd9ba
Closes #927 : Upgrade to django-filter 1.0
2017-03-01 13:09:19 -05:00
Jeremy Stretch
8b1b50da17
Closes #862 : Show both IPv6 and IPv4 primary IPs in device list
2017-02-28 16:46:44 -05:00
Jeremy Stretch
acaf558b42
Corrected region serializers
2017-02-28 16:23:39 -05:00
Jeremy Stretch
691ea87444
Merged develop
2017-02-28 16:10:53 -05:00
Jeremy Stretch
b92f7aa8f1
Implemented recursive regions with django-mptt
2017-02-28 14:15:15 -05:00
Jeremy Stretch
26263f5bcb
Initial work on regions
2017-02-28 12:11:43 -05:00
Jeremy Stretch
459ecd3cfb
Fixed permissions for inclusion of interface bulk edit form
2017-02-27 17:19:30 -05:00
Jeremy Stretch
91d689d122
Tweaked interface LAG validation
2017-02-27 17:13:58 -05:00
Jeremy Stretch
eddb8a2fbc
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
netbox/dcim/api/views.py
netbox/dcim/filters.py
2017-02-27 17:04:08 -05:00
Jeremy Stretch
9847b5187f
Closes #105 : Interface groups ( #919 )
...
* Initial work on interface groups
* Simplify to a single LAG form factor
* Correct interface serializer
* Allow for bulk editing of interface LAG
* Additional LAG interface validation
* Fixed API tests
2017-02-27 16:52:13 -05:00
Jeremy Stretch
8d34033ae7
Additional work on #904
2017-02-21 14:53:22 -05:00
Shawn Peng
c07e5ad52b
Fix #235 : Enable global vlan ( #904 )
...
* Fix #235 : Enable global vlan
Decouple site/vlan, make site optional for vlan/vlangroup
Change html generation code to check site existence before
dereference
Create site search function, if site is None for a VLAN, view it as
global VLAN
* commit1
* commit2
* commit3
* Add migration file for VLAN&VLAN group
* Revert unintentional commits
2017-02-21 13:27:24 -05:00
Jeremy Stretch
e66e3e437c
Fixes #892 : Restored missing edit/delete buttons when viewing child prefixes and IP addresses from a parent object
2017-02-17 16:34:09 -05:00
Jeremy Stretch
8e0d1ec4d0
Fixes #872 : TypeError on bulk IP address creation (Python 3)
2017-02-17 16:10:07 -05:00
Jeremy Stretch
e82e39745b
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
2017-02-17 15:12:53 -05:00
Jeremy Stretch
e3c4a999a5
Fixes #903 : Only alert on missing criticial connections if present in the parent device type
2017-02-17 15:10:08 -05:00
Jeremy Stretch
d3423a64db
Cleanup from work on #198
2017-02-17 14:52:58 -05:00
Jeremy Stretch
91be4a4df3
Closes #198 : Support for rackless devices ( #902 )
...
* Initial work to support rackless devices
* Updated device component connection forms
* Updated IP address assignment form
* Updated circuit termination form
* Formatting cleanup
* Fixed tests
2017-02-17 14:48:00 -05:00
Jeremy Stretch
06cc036bbe
Fixes #897 : Fixed power connections CSV export
2017-02-16 15:17:13 -05:00
Jeremy Stretch
c589f40796
Closes #898 : Expand circuits list in provider view
2017-02-16 15:13:35 -05:00
Jeremy Stretch
1c8642e1e2
Tweaked ChoiceFieldSerializer to display a field as (value, label)
2017-02-16 14:37:21 -05:00
Jeremy Stretch
b9d5d9ee8c
Merge branch 'develop' into api2
...
Conflicts:
netbox/dcim/api/serializers.py
netbox/dcim/api/urls.py
netbox/dcim/api/views.py
netbox/dcim/filters.py
2017-02-16 14:28:06 -05:00
Jeremy Stretch
cc79b8ea3d
Rack reservations ( #900 )
...
* Initial work on rack reservations
* Added views for rack reservations
* Implemented ArrayFieldSelectMultiple form widget
* Implemented API endpoints for rack reservations
* Tweaked the database migration
2017-02-16 13:46:58 -05:00
Jeremy Stretch
4ee7fc9465
Exposed the request to ObjectEditView's alter_obj()
2017-02-15 15:03:31 -05:00
Jeremy Stretch
2520227b41
Fixes #884 : Preserve selected rack unit when changing a device's rack face
2017-02-09 23:27:12 -05:00
Jeremy Stretch
3a9d874d5c
Re-implemented CustomFieldSerializer (read-only for now)
2017-02-09 16:55:54 -05:00
Jeremy Stretch
88f262cd7c
Introduced ChoiceFieldSerializer for choice fields
2017-02-09 15:50:25 -05:00
Jeremy Stretch
5906b8157e
Added API endpoints for device type components
2017-02-03 17:18:47 -05:00
Jeremy Stretch
decd4f582d
Corrected API URL names
2017-02-03 16:54:13 -05:00
Jeremy Stretch
20a15d0ec5
Standardize API URL inclusions
2017-02-03 16:20:14 -05:00
Jeremy Stretch
c6cd67ee39
Adapted the web UI to work with the new secrets API
2017-02-03 16:14:42 -05:00
Jeremy Stretch
a545968e48
Merge branch 'develop' into api2
2017-02-03 14:45:37 -05:00
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
6e63840c59
Implemented SessionKeys for secrets
2017-02-03 12:49:32 -05:00
Jeremy Stretch
4ffc72019e
Initial work on using session-based master key ciphers
2017-02-02 21:26:51 -05:00
Jeremy Stretch
74336fa18d
Introduced ability to decrypt secrets by sending the user's private key in an HTTP header
2017-02-01 17:40:50 -05:00
Jeremy Stretch
cdfeed480b
Moved secret views into a ViewSet (no write ability yet)
2017-02-01 16:21:33 -05:00
Jeremy Stretch
dcd382bd7f
Include API routers directly where possible
2017-02-01 15:09:23 -05:00
Jeremy Stretch
58c4539a37
Removed circuit-specific endpoint for CircuitTerminations
2017-02-01 15:01:56 -05:00
Jeremy Stretch
4a78b461fd
Removed all device-specific API endpoints
2017-02-01 14:34:19 -05:00
Jeremy Stretch
b8e8b28a79
Re-implemented Swagger now that URL resolution has been fixed
2017-02-01 12:37:19 -05:00
Jeremy Stretch
7f1335afef
Merge branch 'develop' into api2
2017-02-01 12:33:37 -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
f8b35f0395
Implemented static writable ModelSerializers for all models
2017-01-31 15:35:09 -05:00
Jeremy Stretch
96182d9f3d
Enabled creation of device components
2017-01-31 12:19:41 -05:00
Jeremy Stretch
e41dc74521
Namespaced all API URLs
2017-01-31 10:40:53 -05:00
Jeremy Stretch
8df7c11123
Fixes #859 : Fix Javascript for connection status toggle button
2017-01-31 09:41:25 -05:00
Jeremy Stretch
b9653cdd12
Moved rack units and device LLDP neighbors views into model viewsets
2017-01-30 17:24:04 -05:00
Jeremy Stretch
06710906c4
Moved graph views into model viewsets
2017-01-30 17:00:58 -05:00
Jeremy Stretch
a802dd0177
Converted device component views to a router
2017-01-30 16:15:12 -05:00
Jeremy Stretch
f0b140818a
Re-implemented interface/connection serializers
2017-01-30 15:35:01 -05:00
Jeremy Stretch
bce8bf8b18
Merge branch 'develop' into api2
2017-01-30 13:38:49 -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
b1c5a9916b
Added Service serializers
2017-01-27 16:19:38 -05:00
Jeremy Stretch
a33e415f1b
Fix retrieval of model under viewsets without a statically defined queryset
2017-01-27 15:12:46 -05:00
Jeremy Stretch
518b631f07
Enabled pagination
2017-01-27 14:54:12 -05:00
Jeremy Stretch
b6181842b2
Introduced WritableSerializerMixin
2017-01-27 14:36:13 -05:00
Jeremy Stretch
ba78981697
Converted nested serializers to HyperlinkedModelSerializer
2017-01-27 12:22:29 -05:00
Jeremy Stretch
ffdf23341b
Cleaned up device component nested serializers
2017-01-26 22:37:17 -05:00
Jeremy Stretch
dd44611cb9
Standardized implementation of nested ViewSets
2017-01-26 17:58:36 -05:00
Jeremy Stretch
d568438ebf
Added an endpoint for CircuitTerminations
2017-01-26 17:18:41 -05:00
Jeremy Stretch
a8be1f1f09
Removed Swagger
2017-01-26 15:36:19 -05:00
Jeremy Stretch
ff32286005
Converted static URL definitions to routers
2017-01-26 15:34:07 -05:00
Jeremy Stretch
406a6963fc
Created CircuitDetailSerializer
2017-01-26 15:33:41 -05:00
Jeremy Stretch
c5a2bec6d7
Merge branch 'develop' into api2
2017-01-26 14:07:23 -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
Jeremy Stretch
541f736d42
Merge branch 'develop' into api2
2017-01-25 16:26:45 -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
4d72ee291b
Initial work on API v2.0
2017-01-24 17:12:16 -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