Commit Graph

86 Commits

Author SHA1 Message Date
Jeremy Stretch
f03ac636fd Fix ProviderTest 2020-06-05 15:18:18 -04:00
John Anderson
7d717fb788 Merge branch 'develop' into develop-2.8 2020-03-15 00:18:32 -04:00
Jeremy Stretch
4bda842fae Remove FieldChoicesViewSet 2020-03-12 10:48:17 -04:00
John Anderson
04faf4edbf closes #4340 - Enforce unique constraints for device and virtual machine names in the API 2020-03-10 19:15:24 -04:00
Jeremy Stretch
d4f44d6190 Merge pull request #4315 from netbox-community/4195-application-logging
Closes #4195: Application logging
2020-03-04 14:39:12 -05:00
Jeremy Stretch
8a6e45e831 Add logging for DRF views 2020-03-04 13:32:45 -05:00
Jeremy Stretch
0caefffe68 Add logging output to API viewsets 2020-03-02 16:52:21 -05:00
Jeremy Stretch
c26aca4d20 Closes #4173: Return graceful error message when webhook queuing fails 2020-02-21 17:21:04 -05:00
Jeremy Stretch
9e119f56d9 Fixes #4083: Permit nullifying applicable choice fields via API requests 2020-02-10 15:10:33 -05:00
Jeremy Stretch
7784435aa9 #3880: Define constants for arbitrary values 2020-01-24 14:42:57 -05:00
Jeremy Stretch
c19ad86328 Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint 2020-01-15 09:59:44 -05:00
Jeremy Stretch
08ad1ec44b Fix inclusion of legacy IDs on choice fields 2019-12-10 12:07:54 -05:00
Jeremy Stretch
02a8dc36c0 Introduce ChoiceSet class for field choices 2019-11-07 10:33:10 -05:00
Brian Candler
9ad8b8331b Improve API error handling when a list is given as a choice value
Fixes #3426
2019-08-15 17:16:24 +01:00
Jeremy Stretch
31ed16335a Merged v2.5.13 2019-05-31 21:37:41 -04:00
Jeremy Stretch
5aa4772507 Changelog & grammar tweak for #3211 2019-05-29 10:33:29 -04:00
hellerve
3192319f2a utilities: move protectederror handling to modelviewset 2019-05-28 21:11:23 +02:00
Jeremy Stretch
5f597c12de Cleanup from earlier work on caching 2019-04-22 14:49:31 -04:00
Jeremy Stretch
66aa5830c1 Enable dictionary specification of related objects in API 2019-04-16 18:02:52 -04:00
Jeremy Stretch
9c12ea2f06 Remove run_validators() override (fixed upstream) 2019-04-16 15:35:15 -04:00
John Anderson
80f8294cb8 add redis to travis builds 2019-04-15 04:16:22 -04:00
John Anderson
aae36cdce2 intial work on #2647 - caching 2019-04-15 03:55:33 -04:00
Jeremy Stretch
0d030a28d7 Ensure fallback to default serializer when attempting to load nested serializer 2019-04-02 11:17:14 -04:00
Jeremy Stretch
6c94b53fca FieldChoicesViewSet should infer field choices from serializer, not model 2019-03-22 16:24:53 -04:00
Jeremy Stretch
85acc4d73a Fixes #2972: Improve ContentTypeField serializer to elegantly handle invalid data 2019-03-06 12:42:47 -05:00
Jeremy Stretch
512226b10c Fixes #2676: Fix exception when passing dictionary value to a ChoiceField 2018-12-11 17:00:20 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Jeremy Stretch
73a6583722 Fixes #2609: Fixed exception when ChoiceField integer value is passed as a string 2018-11-26 14:05:57 -05:00
Jeremy Stretch
9d8b36bf91 Enforce consistent ordering of value/label keys for ChoiceField 2018-11-26 14:02:38 -05:00
Jeremy Stretch
f6d4ea00df Cleaned up import statements 2018-11-02 15:20:08 -04:00
Jeremy Stretch
416187796c Fixed compatability with Django REST Framework v3.9.0 2018-11-02 13:16:44 -04:00
Jeremy Stretch
48c5455551 Implemented Cable API endpoint 2018-10-26 12:25:11 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
aa51d49d87 #2487: Require the 'brief' parameter to evaluate True 2018-10-04 14:50:57 -04:00
Jeremy Stretch
253853aac2 Enable brief API output utilizing nested serializers 2018-10-04 13:43:50 -04:00
Jeremy Stretch
1d37a9d0e6 Merge branch 'develop' into develop-2.5 (v2.4.4 release) 2018-08-22 12:10:44 -04:00
Jeremy Stretch
ca98a0043d Fixes #2369: Corrected time zone validation on site API serializer 2018-08-20 16:53:23 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
8a8b40475c Fixes #2334: TypeError raised when WritableNestedSerializer receives a non-integer value 2018-08-08 15:09:30 -04:00
Jeremy Stretch
b3cff42105 Fixes #2319: Extend ChoiceField to properly handle true/false choice keys 2018-08-07 13:48:29 -04:00
Jeremy Stretch
09f6b76cc9 Fixes #2301: Fix model validation on assignment of ManyToMany fields via API patch 2018-08-03 10:45:53 -04:00
Jeremy Stretch
e6e5b92e00 Adopt django-taggit-serializer for representation of assigned tags in the API 2018-08-03 09:43:03 -04:00
Jeremy Stretch
5c96d29fcc Misc cleanup 2018-07-30 12:49:08 -04:00
Jeremy Stretch
7809eb42d9 Renamed ChoiceFieldSerializer and ContentTypeFieldSerializer 2018-07-30 12:41:20 -04:00
Jeremy Stretch
da08a35079 Corrected exception handling in get_serializer_for_model() 2018-07-16 13:26:26 -04:00
Jeremy Stretch
5b524878fd Added missing import statement 2018-07-10 10:11:09 -04:00
Jeremy Stretch
9fb4428d14 Added API serializer for ObjectChange 2018-06-19 15:04:56 -04:00
Jeremy Stretch
1510e5d229 Initial work on implementing django-taggit for #132 2018-05-08 16:28:26 -04:00
Jeremy Stretch
df6aefbba5 Introduced SerializedPKRelatedField to represent serialized ManyToManyFields 2018-04-06 12:42:25 -04:00
Jeremy Stretch
7a7bb63e91 Finished merging writable serializers 2018-04-05 14:12:43 -04:00