af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 16:03:24 -04:00
84f2225f42
PEP8 cleanup
2022-08-01 09:16:58 -04:00
df2f6d4a7d
Fixes #8872 : Enable filtering by custom object fields
2022-03-23 14:34:42 -04:00
3fcae36cf1
Closes #8307 : Add data_type indicator to REST API serializer for custom fields
2022-01-18 16:57:54 -05:00
c8713d94d8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
7421e5f7d7
Fixes #8317 : Fix CSV import of multi-select custom field values
2022-01-11 14:52:47 -05:00
1e80cc6db5
Clean up & extend custom field tests
2022-01-06 13:24:37 -05:00
271b7adeb8
Extend to support the assignment of multiple objects per field
2022-01-05 17:05:54 -05:00
fa1e28e860
Initial work on #7006
2022-01-04 16:59:52 -05:00
05d4176d34
Fixes #8201 : Custom integer fields should allow negative integers as minimum/maximum values
2022-01-03 10:07:19 -05:00
696fe7bc0d
Add tests for custom field lookups
2021-10-29 09:45:48 -04:00
15e011ae52
Closes #7452 : Add JSON custom field type
2021-10-28 10:29:14 -04:00
176bd2396b
Closes #6711 : Add longtext custom field type with Markdown support
2021-10-14 14:48:00 -04:00
71449b3414
Fixes #7304 : Require explicit values for all required choice fields during CSV import
2021-09-28 12:04:54 -04:00
a8cdb3895b
Fixes #7093 : Multi-select custom field filters should employ exact match
2021-08-31 15:03:39 -04:00
9b0258fef4
Fixes #6686 : Force assignment of null custom field values to objects
2021-08-16 14:38:06 -04:00
1024782b9e
Rename FilterSet modules
2021-04-29 16:48:24 -04:00
92df40a6a0
Fixes #5652 : Update object data when renaming a custom field
2021-04-15 12:04:34 -04:00
b09112941a
Fixes #5510 : Fix filtering by boolean custom fields
2020-12-21 11:47:11 -05:00
f3f3993963
Enforce custom field validation on the model
2020-11-12 14:23:08 -05:00
4a8a1ce45c
Check for extraneous custom field data on clean()
2020-11-12 12:18:31 -05:00
8781cf1c57
Closes #609 : Add min/max value and regex validation for custom fields
2020-10-15 15:06:01 -04:00
143f3cc27c
#4711 : Rename CustomField.obj_type to content_types
2020-10-14 15:26:46 -04:00
a9086b0679
Fix import test
2020-08-25 15:31:01 -04:00
d0f1c733e7
Replace CustomFieldsSerializer with CustomFieldsDataField
2020-08-25 15:22:32 -04:00
f7b8d6ede5
Add choices ArrayField to CustomField; drop CustomFieldChoice
2020-08-25 13:24:46 -04:00
d9e5adc032
Update serializer to access custom_field_data directly
2020-08-25 10:43:04 -04:00
c85a45e520
Further work on custom fields
2020-08-24 14:11:13 -04:00
2276603ac3
Drop CustomFieldValue
2020-08-21 16:21:11 -04:00
a8145fe4c2
Add permission assignment to custom test methods
2020-06-08 13:40:46 -04:00
ce46512c74
Fix permission assignment in tests
2020-05-27 16:53:30 -04:00
745c9a9c2b
Add test for CustomFieldManager.get_for_model()
2020-05-08 12:18:08 -04:00
57b6ac7cb1
Finish work on improved custom fields API tests
2020-03-04 09:53:49 -05:00
4611536ca9
Revise custom field API tests to check for single/multiple objects with/without custom field values
2020-03-03 17:07:43 -05:00
eafeaab014
Add tests for invalid import data
2020-01-29 16:07:32 -05:00
c75315fda6
Extend CSV import test
2020-01-29 15:34:55 -05:00
8ec0ad96bd
Formatting
2020-01-24 22:20:41 +00:00
c22024b618
Added CSV import test
2020-01-24 22:15:09 +00:00
1d63a30b7a
Merge branch 'develop' into develop-2.7
2020-01-02 17:21:15 -05:00
a22c7c1539
Fixes #2358 : Respect custom field default values when creating objects via the REST API
2019-12-13 14:15:48 -05:00
3ff22bea56
CustomField.type to slug
2019-12-04 21:01:50 -05:00
b9f4a9e57b
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
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
bd5e860be0
Refactored the tests to remove a lot of boilerplate
2018-08-03 11:39:26 -04:00
e4f336a843
Establish tests for the utilities app
2018-06-08 14:32:41 -04:00
0969c458b3
Closes #1842 : Implement support for Django 2.0
2018-03-30 10:39:22 -04:00
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
f21c6bca00
Import unicode_literals
2017-05-24 11:33:11 -04:00
117da337c7
Corrected tests and improved validation
2017-04-27 12:46:04 -04:00