Commit Graph

62 Commits

Author SHA1 Message Date
Jeremy Stretch
55fe30fe8b Closes #1553: Introduced support for bulk object creation via the API 2017-11-07 15:36:10 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
9ba7e3fe6a Added missing permission class to reports API viewset 2017-10-11 14:37:25 -04:00
Jeremy Stretch
1f4deac332 Closes #1556: Added API endpoints listing static field choices for each app 2017-10-10 16:41:35 -04:00
Jeremy Stretch
c5eaaae9e7 Merge pull request #1544 from digitalocean/reports
Closes #1511: Implemented reports
2017-09-28 17:16:10 -04:00
Jeremy Stretch
f9f272426c Restrict the running of reports via API to POST requests 2017-09-28 16:04:37 -04:00
Jeremy Stretch
0b3cddb56b Moved ReportResult creation into Report.run() 2017-09-28 12:50:32 -04:00
Jeremy Stretch
422deae06a Removed custom permission 2017-09-26 17:31:16 -04:00
Jeremy Stretch
d1bcc537e9 Added url field for nested report results 2017-09-26 16:55:25 -04:00
Jeremy Stretch
5aefe987c2 Cleaned up the API quite a bit 2017-09-26 16:36:43 -04:00
Jeremy Stretch
69f90c6342 Extended reports API 2017-09-25 17:27:58 -04:00
Jeremy Stretch
548642ded9 Fixes #1489: Corrected server error on validation of empty required custom field 2017-09-25 13:37:11 -04:00
Jeremy Stretch
c7e54ecde6 Initial work on reports API 2017-09-21 16:32:05 -04:00
Jeremy Stretch
6c66a1f72f Fixes #1421: Improved model validation logic for API serializers 2017-08-15 13:54:04 -04:00
Jeremy Stretch
3637939742 Fixes #1285: Enforce model validation when creating/editing objects via the API 2017-07-06 17:37:24 -04:00
Jeremy Stretch
1af8099382 Fixes #1297: Allow passing custom field choice selection PKs as string-quoted integers 2017-07-05 11:00:43 -04:00
Jeremy Stretch
4686b266a6 Fixes #1226: Improve validation for custom field values submitted via the API 2017-05-31 14:09:57 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
42b9d479cf Corrected tests and improved validation 2017-04-27 12:46:04 -04:00
Jeremy Stretch
8cc7571e67 Added custom field API tests 2017-04-25 14:53:18 -04:00
Jeremy Stretch
a4028a7126 Got rudimentary custom field creates/updates working 2017-04-25 13:00:28 -04:00
Jeremy Stretch
e46675aa22 Rearranged URL namespaces to satisfy deprecation warnings 2017-04-05 14:26:33 -04:00
Jeremy Stretch
79b18b178b Corrected CustomFieldModelSerializer behavior when serializing lists of objects 2017-04-04 14:09:14 -04:00
Jeremy Stretch
2dcd3010da Refactored custom field serializers 2017-04-04 11:25:23 -04:00
Jeremy Stretch
f9e3534dab Merge pull request #1026 from digitalocean/image-attachments
#152: Image attachments
2017-04-03 14:21:15 -04:00
Jeremy Stretch
1150e8e97b Implemented API endpoints for ImageAttachments 2017-04-03 14:00:15 -04:00
Jeremy Stretch
042076c032 Fixes #1025: Applied missing API view filters 2017-04-03 11:04:17 -04:00
Jeremy Stretch
8c15daf697 Fixed browsable API breadcrumbs 2017-03-20 21:50:10 -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
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
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
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
78f0d583b0 Standardized API URL definitions 2017-03-09 13:24:02 -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
3a9d874d5c Re-implemented CustomFieldSerializer (read-only for now) 2017-02-09 16:55:54 -05:00
Jeremy Stretch
f8b35f0395 Implemented static writable ModelSerializers for all models 2017-01-31 15:35:09 -05:00
Jeremy Stretch
ba78981697 Converted nested serializers to HyperlinkedModelSerializer 2017-01-27 12:22:29 -05:00
Jeremy Stretch
4d72ee291b Initial work on API v2.0 2017-01-24 17:12:16 -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
536777e38f Fixes #632: Use semicolons instead of commas to separate regexes in topology maps 2016-11-03 14:49:02 -04:00
Jeremy Stretch
ac5eec18d0 Fixed API tests 2016-08-22 17:15:20 -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