Commit Graph

164 Commits

Author SHA1 Message Date
Jeremy Stretch
e46675aa22 Rearranged URL namespaces to satisfy deprecation warnings 2017-04-05 14:26:33 -04:00
Jeremy Stretch
7bbd8ec9c3 Introduced SearchTable for improved performance 2017-03-29 16:05:23 -04:00
Jeremy Stretch
ed51e72d32 Closes #973: Removed extraneous admin UI functions 2017-03-28 16:41:53 -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
8c15daf697 Fixed browsable API breadcrumbs 2017-03-20 21:50:10 -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
c072bedd02 Restore not-so-extraneous 'id' field to all WritableSerializers 2017-03-17 17:32:43 -04:00
Jeremy Stretch
a0f931891b Removed extraneous 'id' field from all WritableSerializers 2017-03-17 16:20:34 -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
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
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
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
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
dd44611cb9 Standardized implementation of nested ViewSets 2017-01-26 17:58:36 -05:00
Jeremy Stretch
ff32286005 Converted static URL definitions to routers 2017-01-26 15:34:07 -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
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
b74e5204db Standardized the use of return_url for ObjectDeleteView 2017-01-18 13:30:19 -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
c6a656d082 Fixes #764: Encapsulate in double quotes values containing commas when exporting to CSV 2017-01-04 10:47:00 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
83dea60830 Fixes #729: Corrected cancellation links when editing secondary objects 2016-12-08 12:20:45 -05:00
Jeremy Stretch
c8e27fecd0 Fixes #712: Corrected export of tenants which are not assigned to a group 2016-11-29 13:45:31 -05:00
Jeremy Stretch
369a7f4a3f #527: Initial work to allow nullifying fields during bulk edit 2016-09-30 16:17:41 -04:00
Jeremy Stretch
9581f9217e Reimplemented FilterChoiceField 2016-09-20 11:08:25 -04:00
Jeremy Stretch
dc58694d49 Added 'none' options to filters for optional fields 2016-09-15 17:12:53 -04:00
Jeremy Stretch
510c4543d2 Implemented FilterChoiceField and get_filter_choices() to reduce filter form boilerplate 2016-09-14 16:27:26 -04:00
Jeremy Stretch
9dbf3d6e05 Added custom field support to filter forms 2016-08-23 12:05:28 -04:00
Jeremy Stretch
2168926d90 Implemented dynamic filters for custom fields 2016-08-23 11:18:00 -04:00
Jeremy Stretch
be4dde81e1 Optimized API performance 2016-08-22 15:16:49 -04:00
Jeremy Stretch
238bf0a1bb Extended API to include custom fields 2016-08-22 13:20:30 -04:00
Jeremy Stretch
77f18d6e66 Updated bulk edit forms to support custom fields 2016-08-22 13:11:57 -04:00
Jeremy Stretch
bef660a2ad Added bulk editing capability for custom fields 2016-08-16 14:57:04 -04:00
Jeremy Stretch
b311dc8653 Merging v1.5.2 2016-08-16 10:19:55 -04:00
Jeremy Stretch
19fb121db9 Fixes #467: Include prefixes and IPs which inherit tenancy from their VRF in tenant stats 2016-08-15 16:11:17 -04:00