jeremystretch
1319a9abdb
Closes #10762 : Permit selection custom fields to have only one choice
2023-01-25 10:27:05 -05:00
jeremystretch
a69fba423c
#10052 : Serialize date fields
2022-11-15 16:10:20 -05:00
jeremystretch
6e3e0567e1
#9887 : Add missing model documentation links
2022-11-15 11:00:13 -05:00
Arthur
b06845e666
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Jeremy Stretch
68cf700a3e
Closes #10560 : New global search ( #10676 )
...
* Initial work on new search backend
* Clean up search backends
* Return only the most relevant result per object
* Clear any pre-existing cached entries on cache()
* #6003 : Implement global search functionality for custom field values
* Tweak field weights & document guidance
* Extend search() to accept a lookup type
* Move get_registry() out of SearchBackend
* Enforce object permissions when returning search results
* Add indexers for remaining models
* Avoid calling remove() on non-cacheable objects
* Use new search backend by default
* Extend search backend to filter by object type
* Clean up search view form
* Enable specifying lookup logic
* Add indexes for value field
* Remove object type selector from search bar
* Introduce SearchTable and enable HTMX for results
* Enable pagination
* Remove legacy search backend
* Cleanup
* Use a UUID for CachedValue primary key
* Refactoring search methods
* Define max search results limit
* Extend reindex command to support specifying particular models
* Add clear() and size to SearchBackend
* Optimize bulk caching performance
* Highlight matched portion of field value
* Performance improvements for reindexing
* Started on search tests
* Cleanup & docs
* Documentation updates
* Clean up SearchIndex
* Flatten search registry to register by app_label.model_name
* Clean up search backend classes
* Clean up RestrictedGenericForeignKey and RestrictedPrefetch
* Resolve migrations conflict
2022-10-21 13:16:16 -04:00
jeremystretch
4a4fea40f5
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
84f997dff4
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
jeremystretch
2f20fa7e08
Fixes #10461 : Enable filtering by read-only custom fields in the UI
2022-09-26 16:42:11 -04:00
jeremystretch
93d64dde7a
Enable cloning for custom fields & custom links
2022-09-09 16:51:18 -04:00
jeremystretch
23bbdeeda1
Merge branch 'develop' into feature
2022-08-12 10:18:57 -04:00
jeremystretch
0f5ac05cf1
Closes #9161 : Pretty print JSON custom field data when editing
2022-08-10 16:12:04 -04:00
jeremystretch
30b7f8f2ae
Merge branch 'develop' into feature
2022-08-01 14:42:09 -04:00
jeremystretch
f1f8d2b72b
PEP8 cleanup
2022-08-01 09:16:58 -04:00
jeremystretch
58579d8bbc
Merge branch 'develop' into feature
2022-07-11 12:58:24 -04:00
jeremystretch
c33a406491
Fixes #9687 : Don't restrict custom text field lengths when entering via UI form
2022-07-11 11:12:06 -04:00
jeremystretch
b10ee60dee
Changelog & cleanup for #9166
2022-05-24 16:39:05 -04:00
kkthxbye
e4f967e7c6
#9166 - Add UI Visibility setting for custom fields
2022-05-24 10:12:32 +02:00
jeremystretch
4c32f23d10
Closes #8495 : Enable custom field grouping
2022-04-15 14:45:28 -04:00
jeremystretch
ecb70f9e92
Fixes #8872 : Enable filtering by custom object fields
2022-03-23 14:34:42 -04:00
jeremystretch
cb80cf7488
Remove extras_features() decorator
2022-01-19 15:16:10 -05:00
jeremystretch
e5d3730ad8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
jeremystretch
03bbc410ad
Fixes #8314 : Prevent custom fields with default values from appearing as applied filters erroneously
2022-01-11 15:02:10 -05:00
jeremystretch
5713076155
Fixes #8317 : Fix CSV import of multi-select custom field values
2022-01-11 14:52:47 -05:00
jeremystretch
e8ec8ac5a4
Add object_type validation
2022-01-06 13:43:40 -05:00
jeremystretch
7f1028a870
Fix tests
2022-01-05 21:21:23 -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
4e14cf8c75
Fixes #8030 : Validate custom field names
2021-12-09 15:19:19 -05:00
jeremystretch
e27c1e319e
Merge branch 'develop' into feature
2021-11-12 09:09:15 -05:00
jeremystretch
2faba302c1
Fixes #7809 : Add missing export template support for various models
2021-11-11 16:16:54 -05:00
jeremystretch
54a7148f67
Merge branch 'develop' into feature
2021-11-03 10:29:02 -04:00
jeremystretch
368eaf117b
#7612 : Use escape() rather than strip_tags()
2021-11-03 08:56:30 -04:00
jeremystretch
441afb8911
Use multi-value filters for custom fields
2021-10-28 16:40:51 -04:00
jeremystretch
526e18b5f6
Automatically add additional lookup filters for custom fields
2021-10-28 16:09:36 -04:00
jeremystretch
4503af1911
Ditch CustomFieldFilter
2021-10-28 15:36:12 -04:00
jeremystretch
076366108d
Closes #7452 : Add JSON custom field type
2021-10-28 10:29:14 -04:00
jeremystretch
30a0f72da2
Fixes #7612 : Strip HTML from custom field descriptions
2021-10-27 08:41:28 -04:00
jeremystretch
dac4589587
Closes #6711 : Add longtext custom field type with Markdown support
2021-10-14 14:48:00 -04:00
jeremystretch
93b185634b
Introduce ContentTypesColumn for custom field and webhook tables
2021-08-26 12:55:37 -04:00
jeremystretch
b4fc9dcd36
Merge branch 'develop' into feature
2021-08-23 13:23:39 -04:00
jeremystretch
7de28ed73c
Optimize addition/removal of default custom field values
2021-08-16 14:48:56 -04:00
jeremystretch
dd8d01e5cf
Fixes #6686 : Force assignment of null custom field values to objects
2021-08-16 14:38:06 -04:00
jeremystretch
4b756c92be
Merge branch 'develop' into feature
2021-07-23 08:02:21 -04:00
jeremystretch
d7a6947975
Fixes #6777 : Fix default value validation for custom text fields
2021-07-21 16:02:32 -04:00
checktheroads
f89c65a880
#6372 : Refactor Select2 naming
2021-07-19 16:39:16 -07:00
jeremystretch
a117307d03
Add UI views for custom fields
2021-06-23 17:10:04 -04:00
jeremystretch
a502b4b830
Fixes #6640 : Disallow numeric values in custom text fields
2021-06-22 14:00:54 -04:00
jeremystretch
8c300de023
Fixes #6217 : Disallow passing of string values for integer custom fields
2021-06-02 16:12:11 -04:00
jeremystretch
d2e74af032
Merge branch 'develop' into feature
2021-04-15 15:46:48 -04:00
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