netbox/netbox/extras
Daniel Sheppard 2d1457b94b
Fixes: #13682 - Fix custom field exceptions and validation (#13685)
* Fixes: #13682 - Fix custom field exceptions and validation

* Add tests

* Remove default setting for multi-select/multi-object and return slice of choices and annotate.

* Remove redundant default choice valiadtion; introduce values property on CustomFieldChoiceSet

* Refactor test

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-09-06 10:47:18 -04:00
..
api 13674 fix ReportSerializer (#13688) 2023-09-06 08:44:25 -04:00
dashboard Fixes #13513: Prevent exception when rendering bookmarks widget for anonymous user 2023-08-23 10:53:56 -04:00
data Closes #12194: Add pre-defined custom field choices (#13219) 2023-07-28 11:24:21 -04:00
forms #12591: Add a dedicated view for the active config revision 2023-08-30 11:13:56 -04:00
graphql Adds custom field on webhook model (#13336) 2023-08-01 14:05:47 -04:00
management Merge branch 'develop' into feature 2023-08-29 10:45:55 -04:00
migrations Adds custom field on webhook model (#13336) 2023-08-01 14:05:47 -04:00
models Fixes: #13682 - Fix custom field exceptions and validation (#13685) 2023-09-06 10:47:18 -04:00
plugins Closes #13638: Add optional staff_only attribute to MenuItem (#13639) 2023-08-31 11:23:44 -04:00
tables Adds custom field on webhook model (#13336) 2023-08-01 14:05:47 -04:00
templatetags #8684: Remove obsolete 'obj' var from custom link context 2023-04-19 09:58:18 -04:00
tests Fixes: #13682 - Fix custom field exceptions and validation (#13685) 2023-09-06 10:47:18 -04:00
__init__.py Remove default_app_config (deprecated in Django 3.2) 2021-09-15 11:18:47 -04:00
admin.py 12591 config params admin (#12904) 2023-06-22 14:04:24 -04:00
apps.py Closes #9416: Dashboard widgets (#11823) 2023-02-24 16:04:00 -05:00
choices.py Closes #13279: Wrap choice labels with gettext() 2023-07-31 17:31:07 -04:00
conditions.py Fixes incorrectly handled type error when list of objects is found in data (#12593) 2023-05-31 15:44:59 -04:00
constants.py #8248: Add bookmarks widget to default dashboard 2023-08-16 10:10:31 -04:00
context_managers.py Permanently connect change logging & webhook receivers 2022-11-14 09:31:25 -05:00
fields.py pep8 fixes 2023-02-19 18:50:24 -05:00
filters.py Ditch CustomFieldFilter 2021-10-28 15:36:12 -04:00
filtersets.py Adds custom field on webhook model (#13336) 2023-08-01 14:05:47 -04:00
lookups.py Fixes #11539: Use BooleanFilter for 'empty' lookups (#11784) 2023-05-25 15:20:08 -04:00
querysets.py Replaces device_role with role on device model (#13342) 2023-08-02 09:55:52 -04:00
reports.py Fixes #13369: Fix job termination status for failed reports 2023-08-04 08:12:52 -04:00
scripts.py Fixes #13530: Ensure script log messages are cast as strings for proper serialization 2023-08-23 14:41:21 -04:00
search.py Closes #10560: New global search (#10676) 2022-10-21 13:16:16 -04:00
signals.py Closes #11541: Support for limiting tag assignments by object type (#12982) 2023-06-23 14:08:14 -04:00
urls.py Closes #12988: Introduce custom field choice sets (#13195) 2023-07-19 10:26:24 -04:00
utils.py Closes #11890: Sync/upload reports & scripts (#12059) 2023-03-24 21:00:36 -04:00
validators.py Extend CustomValidator to support required, prohibited fields 2021-06-09 13:10:35 -04:00
views.py Merge branch 'develop' into feature 2023-08-29 10:45:55 -04:00
webhooks_worker.py Add trigger_webhooks() to JobResult 2023-03-07 18:01:32 -05:00
webhooks.py Adds rq retry options (#12588) 2023-05-16 14:10:44 -04:00