Commit Graph

51 Commits

Author SHA1 Message Date
jeremystretch
3e6be829e5 Closes #8307: Add data_type indicator to REST API serializer for custom fields 2022-01-18 16:57:54 -05:00
jeremystretch
e5d3730ad8 Merge branch 'develop' into feature 2022-01-11 16:16:13 -05:00
jeremystretch
5713076155 Fixes #8317: Fix CSV import of multi-select custom field values 2022-01-11 14:52:47 -05:00
jeremystretch
44415cf2d9 Clean up & extend custom field tests 2022-01-06 13:24:37 -05: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
jeremystretch
0534686b4f Fixes #8201: Custom integer fields should allow negative integers as minimum/maximum values 2022-01-03 10:07:19 -05:00
jeremystretch
071d2e0303 Add tests for custom field lookups 2021-10-29 09:45:48 -04:00
jeremystretch
076366108d Closes #7452: Add JSON custom field type 2021-10-28 10:29:14 -04:00
jeremystretch
dac4589587 Closes #6711: Add longtext custom field type with Markdown support 2021-10-14 14:48:00 -04:00
jeremystretch
48f1d2e2a1 Fixes #7304: Require explicit values for all required choice fields during CSV import 2021-09-28 12:04:54 -04:00
jeremystretch
2e6cb35bb3 Fixes #7093: Multi-select custom field filters should employ exact match 2021-08-31 15:03:39 -04:00
jeremystretch
dd8d01e5cf Fixes #6686: Force assignment of null custom field values to objects 2021-08-16 14:38:06 -04:00
jeremystretch
431cb2a0ad Rename FilterSet modules 2021-04-29 16:48:24 -04:00
jeremystretch
66b07a6be3 Fixes #5652: Update object data when renaming a custom field 2021-04-15 12:04:34 -04:00
Jeremy Stretch
3e90dc9154 Fixes #5510: Fix filtering by boolean custom fields 2020-12-21 11:47:11 -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
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
da487d727f Fix import test 2020-08-25 15:31:01 -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
fd7987d703 Add permission assignment to custom test methods 2020-06-08 13:40:46 -04:00
Jeremy Stretch
cedccf670a Fix permission assignment in tests 2020-05-27 16:53:30 -04:00
Jeremy Stretch
dd8d8cb317 Add test for CustomFieldManager.get_for_model() 2020-05-08 12:18:08 -04:00
Jeremy Stretch
cbf294b75b Finish work on improved custom fields API tests 2020-03-04 09:53:49 -05: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
10d3f71c93 Add tests for invalid import data 2020-01-29 16:07:32 -05:00
Jeremy Stretch
730eb47f25 Extend CSV import test 2020-01-29 15:34:55 -05:00
Saria Hajjar
8440419ebe Formatting 2020-01-24 22:20:41 +00:00
Saria Hajjar
0d2d0e857b Added CSV import test 2020-01-24 22:15:09 +00:00
Jeremy Stretch
ab7bb5c374 Merge branch 'develop' into develop-2.7 2020-01-02 17:21:15 -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
Grokzen
0ce752c816 Closes #1792 - Add CustomFieldChoices API endpoint (#2941)
* Add new api endpoint for CustomFieldChoices

* Add changelog item for #1792

* Add tests for CustomFieldchoiceAPI endpoint
2019-03-04 15:58:40 -05: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
d46cbcff5f Refactored the tests to remove a lot of boilerplate 2018-08-03 11:39:26 -04:00
Jeremy Stretch
f472544300 Establish tests for the utilities app 2018-06-08 14:32:41 -04:00
Jeremy Stretch
4ac941b0b6 Closes #1842: Implement support for Django 2.0 2018-03-30 10:39:22 -04:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05: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
2659f36a32 Added URL custom field type; added is_filterable toggle; fixed bulk editing 2016-08-23 16:45:26 -04:00
Jeremy Stretch
b8d6365368 Fixed test case name 2016-08-16 17:49:52 -04:00