jeremystretch
|
ccbdc6f2b9
|
Define NESTED_SERIALIZER_PREFIX constant
|
2022-07-15 15:31:42 -04:00 |
|
jeremystretch
|
7bd4a5774a
|
Extend to support the assignment of multiple objects per field
|
2022-01-05 17:05:54 -05:00 |
|
jeremystretch
|
7da2ce1ba5
|
Initial work on #7006
|
2022-01-04 16:59:52 -05:00 |
|
Jeremy Stretch
|
8de5fa0ae2
|
Introduce NestedGroupModelSerializer
|
2021-02-25 17:15:42 -05:00 |
|
Jeremy Stretch
|
a988a92f85
|
Closes #5400: Store custom field defaults as JSON values
|
2020-12-01 16:05:23 -05:00 |
|
Jeremy Stretch
|
c66edd974d
|
Enforce custom field validation on the model
|
2020-11-12 14:23:08 -05:00 |
|
Jeremy Stretch
|
61a6a47455
|
Closes #609: Add min/max value and regex validation for custom fields
|
2020-10-15 15:06:01 -04:00 |
|
Jeremy Stretch
|
8d437d80cb
|
#4711: Rename CustomField.obj_type to content_types
|
2020-10-14 15:26:46 -04:00 |
|
Jeremy Stretch
|
219d07f997
|
Reorganize REST API components under netbox app
|
2020-10-13 15:57:21 -04:00 |
|
Jeremy Stretch
|
cc7bebfcd3
|
Cache CustomField assignments for API queries
|
2020-08-25 16:44:59 -04:00 |
|
Jeremy Stretch
|
63bb8d2ed8
|
Replace CustomFieldsSerializer with CustomFieldsDataField
|
2020-08-25 15:22:32 -04:00 |
|
Jeremy Stretch
|
4ec9143e50
|
Add choices ArrayField to CustomField; drop CustomFieldChoice
|
2020-08-25 13:24:46 -04:00 |
|
Jeremy Stretch
|
b89c78d9c3
|
Update serializer to access custom_field_data directly
|
2020-08-25 10:43:04 -04:00 |
|
Jeremy Stretch
|
5133a2cb66
|
Further work on custom fields
|
2020-08-24 14:11:13 -04:00 |
|
Jeremy Stretch
|
2e6fb7fcf5
|
Drop CustomFieldValue
|
2020-08-21 16:21:11 -04:00 |
|
Jeremy Stretch
|
3a8db56682
|
Remove errant import
|
2020-08-17 14:15:02 -04:00 |
|
Jeremy Stretch
|
891a599340
|
Cache custom fields on instance prior to calling create()/update()
|
2020-08-17 12:22:37 -04:00 |
|
Jeremy Stretch
|
29e9292990
|
Update serializer context assignment for DRF 3.11
|
2020-03-30 12:39:15 -04:00 |
|
Jeremy Stretch
|
638391f5e7
|
Revise custom field API tests to check for single/multiple objects with/without custom field values
|
2020-03-03 17:07:43 -05:00 |
|
Jeremy Stretch
|
2344f9045d
|
Introduce CustomFieldDefaultValues class to handle default custom field values
|
2020-03-03 14:54:48 -05:00 |
|
Jeremy Stretch
|
ab7bb5c374
|
Merge branch 'develop' into develop-2.7
|
2020-01-02 17:21:15 -05:00 |
|
Jeremy Stretch
|
0cfc27b58b
|
Fixes #3780: Fix AttributeError exception in API docs
|
2019-12-19 14:04:18 -05:00 |
|
Jeremy Stretch
|
b1863c6ffd
|
Fixes #2358: Respect custom field default values when creating objects via the REST API
|
2019-12-13 14:15:48 -05:00 |
|
Jeremy Stretch
|
0e0cdc65c0
|
CustomField.type to slug
|
2019-12-04 21:01:50 -05:00 |
|
Jeremy Stretch
|
5fd9b27f9b
|
Fix reporting of custom fields in webhook data on object deletion
|
2019-10-22 16:12:25 -04:00 |
|
Jeremy Stretch
|
b4acade70d
|
Miscellaneous cleanup
|
2019-10-04 12:59:10 -04:00 |
|
Jeremy Stretch
|
6b1abd6a65
|
Closes #2614: Simplify calls of super() for Python 3
|
2018-11-27 10:52:24 -05:00 |
|
Jeremy Stretch
|
68a5dcd47e
|
Removed Python 2 string compatibility
|
2018-08-14 11:58:42 -04:00 |
|
Jeremy Stretch
|
838bced7c5
|
Fixes #1703: Added API serializer validation for custom integer fields
|
2017-11-14 13:15:09 -05:00 |
|
Jeremy Stretch
|
002848cf09
|
Closes #1691: Cleaned up and reorganized import statements
|
2017-11-07 11:08:23 -05: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
|
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
|
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
|
90fbaeb0c2
|
Make CI happy
|
2017-03-17 17:39:56 -04:00 |
|
Jeremy Stretch
|
e26707f898
|
Fixed serialization of CustomFieldChoices
|
2017-03-09 13:50:30 -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 |
|