Commit Graph

203 Commits

Author SHA1 Message Date
Jeremy Stretch
7b94ea92ef Merge branch 'develop' into develop-2.9 2020-07-09 16:38:37 -04:00
Jeremy Stretch
7ba36fea4a #4835: Cleanup and improved error handling 2020-07-09 16:35:02 -04:00
Jeremy Stretch
83e084c961 Merge branch 'develop' into develop-2.9 2020-07-08 13:04:57 -04:00
Jeremy Stretch
44d1e7818f Closes #4835: Support passing multiple initial values for multiple choice fields 2020-07-08 12:50:12 -04:00
Jeremy Stretch
df571bb671 Use stock manager as default for Tag model 2020-07-07 12:18:14 -04:00
Jeremy Stretch
a86ce61db0 Fix evaluation of empty label_pattern 2020-06-30 16:30:54 -04:00
Jeremy Stretch
11c4f11e58 TagFilter should call unrestricted() on its queryset 2020-06-29 16:07:14 -04:00
Jeremy Stretch
d8d520a6d6 Introduce restrict_form_fields() to automatically restrict field querysets based on user 2020-06-26 13:59:53 -04:00
Jeremy Stretch
a38b1521e9 Add bulk renaming function for VM interfaces 2020-06-24 10:02:40 -04:00
Jeremy Stretch
36c3755455 Tag should use a stock manager by default 2020-06-16 17:02:03 -04:00
Jeremy Stretch
373ceae04f Allow unrestricted access to assigned tags 2020-06-16 14:59:22 -04:00
Jeremy Stretch
59c5d1e57e Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
Jeremy Stretch
0ea46c6a43 Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks 2020-06-15 11:53:47 -04:00
Jeremy Stretch
9d8a9333c0 Closes #4755: Enable creation of rack reservations directly from navigation menu 2020-06-12 15:11:27 -04:00
Jonathan Senecal
95f5b6a1bc Avoid component_type on subclasses 2020-06-10 22:10:45 -04:00
Jonathan Senecal
4c03dcfcaa Refactorization into LabeledComponentForm 2020-06-08 23:07:12 -04:00
Jonathan Senecal
73d6c7de43 Return an empty list if value is None 2020-06-05 12:34:09 -04:00
Jeremy Stretch
36902f919d Fixes #4525: Allow passing initial data to custom script MultiObjectVar 2020-05-26 15:34:29 -04:00
Jeremy Stretch
7f1c645f77 Closes #4672: Set default color for rack and devices roles 2020-05-26 09:36:27 -04:00
Jeremy Stretch
517704def3 Merge pull request #4564 from netbox-community/3147-csv-import-fields
Closes #3147: Allow dynamic access to related objects during CSV import
2020-05-06 10:15:00 -04:00
Jeremy Stretch
f3d019af48 Remove boilerplate error messages from CSV model choice fields 2020-05-06 09:58:12 -04:00
Jeremy Stretch
3b12b9ce37 Introduce CSVModelChoiceField to provide better validation for CSV model choices 2020-05-06 09:43:10 -04:00
Jeremy Stretch
f11d52b95d Introduce CSVModelForm for dynamic CSV imports 2020-05-05 16:15:09 -04:00
Jeremy Stretch
079d6b6ea3 Clean up comments 2020-05-01 16:01:30 -04:00
Jeremy Stretch
c7f83ac515 Removed FlexibleModelChoiceField 2020-05-01 13:40:52 -04:00
Jeremy Stretch
445bbaee68 Add tests for CSVDataField 2020-05-01 13:32:28 -04:00
Jeremy Stretch
c6caf64b57 Enable the specifcation of related objects by arbitrary attribute during CSV import 2020-05-01 12:18:04 -04:00
Jeremy Stretch
d90cdd0a4c Enable reordering table columns 2020-04-28 14:27:27 -04:00
Jeremy Stretch
1916303b3a Enable setting/clearing of table column prefs 2020-04-28 13:21:58 -04:00
Jeremy Stretch
d9bc975336 Create form for setting table preferences 2020-04-28 12:14:51 -04:00
Jeremy Stretch
175e337bf3 Update device component bulk edit forms to use form_from_model() 2020-04-22 11:47:26 -04:00
Jeremy Stretch
9c60a2a661 Introduce model-specific bulk create forms for device components 2020-04-22 11:15:39 -04:00
Jeremy Stretch
b528f65bbf Fixes #4418: Fail cleanly when trying to import multiple device types simultaneously 2020-03-30 16:44:04 -04:00
Jeremy Stretch
0ffdb411f9 Remove APISelect widget/api_url argument from dynamic fields 2020-03-16 14:08:48 -04:00
Jeremy Stretch
c3748bcf5d Dynamically resolve the API URL for dynamic choice fields 2020-03-16 13:30:35 -04:00
Jeremy Stretch
f62520da33 Drop GitHub-flavored Markdown (py-gfm) 2020-03-05 16:30:12 -05:00
Jeremy Stretch
ec79f97bf4 Call prepare_value() to avoid passing model instances directly to the filterset 2020-02-24 09:31:31 -05:00
Jeremy Stretch
25d4c3156b Fixes #4240: Fix exception when filtering foreign keys by NULL 2020-02-21 21:38:25 -05:00
Jeremy Stretch
8d79c79907 Closes #3810: Preserve slug value when editing existing objects 2020-02-19 13:53:11 -05:00
Jeremy Stretch
4c6e113eb1 Merge pull request #3925 from hSaria/3840-limit-vlan-choices
Fixes #3840: Only show valid interface VLAN choices
2020-02-14 11:48:29 -05:00
Jeremy Stretch
023735cf10 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
Jeremy Stretch
ae9767dba9 Account for initial data when binding a DynamicModelChoiceField 2020-02-11 10:21:44 -05:00
Jeremy Stretch
7acb77c06f Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00
Jeremy Stretch
690bff68ed Replace ChainedModelChoiceField with DynamicModelChoiceField 2020-02-10 17:23:52 -05:00
Jeremy Stretch
a5b4931334 Changelog for #4108 2020-02-10 10:20:06 -05:00
Jeremy Stretch
d3ab17b4e1 Set a default self.to_field_name for FilterChoiceField 2020-02-10 10:08:20 -05:00
Jeremy Stretch
c44d52756f Remove custom template for APISelect widget 2020-02-10 10:02:42 -05:00
Jeremy Stretch
252d3595ac Standardize usage of FilterChoiceField 2020-02-10 09:58:33 -05:00
Jeremy Stretch
e859074820 Clean up unneeded code relevant to FilterChoiceField 2020-02-10 09:44:19 -05:00
Saria Hajjar
d4047309f3 Merge branch 'develop' into 3840-limit-vlan-choices 2020-02-08 16:14:10 +00:00