Commit Graph

155 Commits

Author SHA1 Message Date
Jeremy Stretch
78f0d583b0 Standardized API URL definitions 2017-03-09 13:24:02 -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
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
9f216fd9ba Closes #927: Upgrade to django-filter 1.0 2017-03-01 13:09:19 -05:00
Jeremy Stretch
691ea87444 Merged develop 2017-02-28 16:10:53 -05:00
Jeremy Stretch
26263f5bcb Initial work on regions 2017-02-28 12:11:43 -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
e82e39745b Merge branch 'develop' into api2
Conflicts:
	netbox/dcim/api/serializers.py
2017-02-17 15:12:53 -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
c589f40796 Closes #898: Expand circuits list in provider view 2017-02-16 15:13:35 -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
4ee7fc9465 Exposed the request to ObjectEditView's alter_obj() 2017-02-15 15:03:31 -05:00
Jeremy Stretch
3a9d874d5c Re-implemented CustomFieldSerializer (read-only for now) 2017-02-09 16:55:54 -05:00
Jeremy Stretch
20a15d0ec5 Standardize API URL inclusions 2017-02-03 16:20:14 -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
f8b35f0395 Implemented static writable ModelSerializers for all models 2017-01-31 15:35:09 -05:00
Jeremy Stretch
e41dc74521 Namespaced all API URLs 2017-01-31 10:40:53 -05:00
Jeremy Stretch
06710906c4 Moved graph views into model viewsets 2017-01-30 17:00:58 -05:00
Jeremy Stretch
f0b140818a Re-implemented interface/connection serializers 2017-01-30 15:35:01 -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
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
dd3e421469 Fixes #845: Fix missing edit/delete buttons on object tables for non-superusers 2017-01-26 13:20:56 -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
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
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
27170b2c44 Standardized naming of return_url for all object views 2017-01-23 14:07:26 -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
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
4c5e81a72c Closes #783: Add a description field to the Circuit model 2017-01-17 15:18:03 -05:00
Jeremy Stretch
d1dd658356 Fixes #776: Prevent circuits from appearing twice while searching 2017-01-04 16:56:28 -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
6f866ccb9c Fixes #767: Fixes xconnect_id error when searching for ciruits 2017-01-03 17:00:43 -05:00
Jeremy Stretch
308d5d5b67 Updated circuit import template 2017-01-03 14:25:51 -05:00
Jeremy Stretch
ff6d4d6c8f Upgraded django-filter to 0.15.3 2016-12-26 11:58:27 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
a958eed49b Closes #49: Introduction of circuit terminations 2016-12-14 13:47:22 -05:00
Jeremy Stretch
83dea60830 Fixes #729: Corrected cancellation links when editing secondary objects 2016-12-08 12:20:45 -05:00
Jeremy Stretch
2edf823bb7 Fixes #713: Include a label for the comments field when editing circuits, providers, or racks in bulk 2016-11-29 17:29:56 -05:00