Commit Graph

131 Commits

Author SHA1 Message Date
jeremystretch
66b07a6be3 Fixes #5652: Update object data when renaming a custom field 2021-04-15 12:04:34 -04:00
Jeremy Stretch
e22ff1643a Closes #5451: Add support for multiple-selection custom fields 2021-03-01 14:52:57 -05:00
Jeremy Stretch
68940ae03e Remove unused CustomFieldModel class 2021-03-01 14:33:52 -05:00
Jeremy Stretch
b58ad1384e Standardize model types based on function 2021-02-24 21:01:16 -05:00
Jeremy Stretch
de9cdaef6c Fixes #5558: Fix regex validation support for custom URL fields 2020-12-31 10:21:01 -05:00
Jeremy Stretch
5e643def2c Closes #5531: Ensure consistent calls to parent clean() methods for models, forms 2020-12-28 12:54:42 -05:00
Jeremy Stretch
8f24db6a80 Tweak validation for custom date fields 2020-12-15 16:00:18 -05:00
Jeremy Stretch
a988a92f85 Closes #5400: Store custom field defaults as JSON values 2020-12-01 16:05:23 -05:00
Jeremy Stretch
21792f7076 Add REST API endpoint for custom fields 2020-11-23 15:54:42 -05:00
Jeremy Stretch
c66edd974d Enforce custom field validation on the model 2020-11-12 14:23:08 -05:00
Jeremy Stretch
cc0a79cb15 Check for extraneous custom field data on clean() 2020-11-12 12:18:31 -05:00
Jeremy Stretch
bd7d66abac Move selection field validation from admin form to model 2020-11-11 15:24:39 -05:00
Jeremy Stretch
6500b8cad7 Clean up CustomField regex validation 2020-11-10 10:21:18 -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
c1fefe135a Merge branch 'develop' into develop-2.10 2020-10-09 13:52:16 -04:00
Jeremy Stretch
d952d77684 Fixes #5226: Custom choice fields should be blank initially if no default choice has been designated 2020-10-09 11:34:50 -04:00
Jeremy Stretch
76ca1e5b1b Simplify form field for boolean CustomFields 2020-09-17 12:26:02 -04:00
Jeremy Stretch
abbea95b32 Clean up stale data when a custom field is changed/deleted 2020-09-16 17:03:31 -04:00
Jeremy Stretch
0aa6c4c670 Use DjangoJSONEncoder for encoding custom field data 2020-08-25 13:57:18 -04:00
Jeremy Stretch
2a8eb75389 Remove unused attributes, methods 2020-08-25 13:49:23 -04:00
Jeremy Stretch
4ec9143e50 Add choices ArrayField to CustomField; drop CustomFieldChoice 2020-08-25 13:24:46 -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
68cbcf20cf Initial work on reimplementing custom fields 2020-08-21 15:16:33 -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
b545bca3e0 Cache custom fields on instance prior to save() 2020-08-17 11:08:14 -04:00
Jeremy Stretch
dd8d8cb317 Add test for CustomFieldManager.get_for_model() 2020-05-08 12:18:08 -04:00
Jeremy Stretch
2416334526 Remove local caching attempt 2020-05-08 10:05:05 -04:00
Jeremy Stretch
bbfa021b4c Introduce CustomFieldManager (WIP) 2020-05-07 17:20:32 -04:00
Jeremy Stretch
a5100f9891 Refactor extras.models 2020-05-07 16:59:27 -04:00