1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
707e51d855 #7084: Catch ValueErrors when initializing dynamic form fields 2021-09-01 13:33:41 -04:00
25d1fe2c8d Improve APISelect query parameter handling (#7040)
* Fixes #7035: Refactor APISelect query_param logic

* Add filter_fields to extras.ObjectVar & fix default value handling

* Update ObjectVar docs to reflect new filter_fields attribute

* Revert changes from 89b7f3f

* Maintain current `query_params` API for form fields, transform data structure in widget

* Revert changes from d0208d4
2021-08-30 09:43:32 -04:00
736da4bcad Merge branch 'develop' into feature 2021-08-10 21:03:10 -04:00
1bb596fc7e Fixes #6908: Allow assignment of scope to VLAN groups upon import 2021-08-09 09:54:27 -04:00
afc8d5bbbf Fix PEP8 formatting error 2021-08-02 02:31:30 -07:00
863048cda2 Deprecate collapsible advanced search and re-implement field-based filtering on object views 2021-08-01 21:24:22 -07:00
c7e0abc3fb Merge v2.11.10 2021-07-28 16:26:04 -04:00
8d9d3a9e7d Changelog and cleanup for #6560 2021-07-28 11:44:13 -04:00
c14b546d5f #6372: Refactor Select2 naming 2021-07-19 16:39:16 -07:00
b017927c69 Add UI views for custom fields 2021-06-23 17:10:04 -04:00
0a661596b3 moved duplicated code in CSV Fields into functions in forms/utils.py 2021-06-14 14:07:37 -04:00
55b7cf21cc changed name of csv_file variable and started work on ValidationError 2021-06-10 14:41:33 -04:00
a1ba3b567c Introduce ColorField for consistent represention of color choice fields in forms 2021-06-09 17:17:39 -04:00
3549fc07f6 removed unnecessary use of seek() 2021-06-07 14:29:38 -04:00
ecd84d7c43 edited docstring for CSVFileField 2021-06-07 14:06:32 -04:00
c2b2b059e6 CSV import implemented using CSVFileField 2021-06-07 14:06:32 -04:00
2d44bade4b Merge branch 'develop' into feature 2021-06-02 20:35:38 -04:00
da1fb4f969 Replace references to v2.12 with v3.0 2021-05-25 15:05:02 -04:00
9476fda987 Closes #5994: Drop support for display_field argument on ObjectVar 2021-04-21 10:29:25 -04:00
9e62d1ad8f Fixes #6130: Improve display of assigned models in custom fields list 2021-04-09 09:43:35 -04:00
3ad7622bf0 Catch AttributeError when generating ContentType labels 2021-04-05 15:11:29 -04:00
d82f2e289a Use ContentTypeChoiceField for all ContentType fields 2021-04-02 10:55:16 -04:00
73e9842877 Introduce ContentTypeChoiceField 2021-04-02 10:54:13 -04:00
a292ff5cc0 Remove brief_mode parameter from DynamicModelChoiceMixin 2021-03-30 21:34:50 -04:00
c828806b67 Merge branch 'develop' into feature 2021-03-25 16:09:28 -04:00
a694dbb020 Closes #5990: Deprecated display_field parameter for custom script ObjectVar and MultiObjectVar fields 2021-03-16 11:08:34 -04:00
c64f96d65b Drop usage of display_field on DynamicModelChoiceFields 2021-03-16 10:29:15 -04:00
720b88048d Skip the cheatsheet link when tabbing 2021-03-11 22:40:03 -05:00
8de20fcd1f Closes #5375: Add 'speed' attribute to console port models 2021-03-03 10:20:08 -05:00
3d3748d6f5 Fixes: #5315 - Make "null_option" on DynamicModelChoiceField also null the value on the model. (#5704)
Fixes: #5315 - Fix site unassignment from VLAN when using "None" option
2021-02-12 10:53:40 -06:00
2b0ddd2a98 Closes #5399: Show options for cable endpoint types during bulk import 2020-12-02 10:08:41 -05:00
cadba74b1f #5306: Introduce CSVContentTypeField for cable termination types 2020-12-01 11:03:05 -05:00
867f308027 Replace Font Awesome icons with Material Design 2020-11-06 14:33:20 -05:00
23cce55246 Merge branch 'develop' into develop-2.10 2020-11-05 15:33:07 -05:00
7598b891c1 Add initial_params to all forms 2020-11-04 11:09:13 -05:00
1f0b1dd10e Add initial_params to DynamicModelChoiceMixin 2020-11-04 10:15:15 -05:00
0cc2a6b2cf Closes #5003: CSV import now accepts slug values for choice fields 2020-09-18 13:03:38 -04:00
b891b407d4 Add brief_mode to DynamicModelChoiceMixin 2020-08-12 14:15:34 -04:00
c40df97ffa Rename add_additional_query_param() 2020-08-12 13:59:11 -04:00
e9e77fc689 Add disabled_indicator to DynamicModelChoiceMixin 2020-08-12 13:30:49 -04:00
8a8b4e728a Move null_option to DynamicModelChoiceMixin 2020-08-12 09:47:13 -04:00
f3fb85933f Add query_params attribute to DynamicModelChoiceMixin 2020-08-12 09:28:24 -04:00
a831e525da Remove value_field from APISelect; reference to_field_name on field 2020-08-11 17:19:40 -04:00
fdc43f8279 Add display_field kwarg to DynamicModelChoiceMixin 2020-08-11 17:00:28 -04:00
5b438c3f30 Refactor utility form resources into separate modules 2020-08-11 15:14:06 -04:00