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

204 Commits

Author SHA1 Message Date
8dd41b771e Update import locations for Django 3.1 2020-07-16 11:54:08 -04:00
c3a7939a77 Merge branch 'develop' into develop-2.9 2020-07-09 16:38:37 -04:00
683ba5eed3 #4835: Cleanup and improved error handling 2020-07-09 16:35:02 -04:00
5fd5dbab7b Merge branch 'develop' into develop-2.9 2020-07-08 13:04:57 -04:00
fec3ee6f08 Closes #4835: Support passing multiple initial values for multiple choice fields 2020-07-08 12:50:12 -04:00
a2d957ba0d Use stock manager as default for Tag model 2020-07-07 12:18:14 -04:00
7fab929194 Fix evaluation of empty label_pattern 2020-06-30 16:30:54 -04:00
af778f8fca TagFilter should call unrestricted() on its queryset 2020-06-29 16:07:14 -04:00
edc65a6a34 Introduce restrict_form_fields() to automatically restrict field querysets based on user 2020-06-26 13:59:53 -04:00
052555c3f7 Add bulk renaming function for VM interfaces 2020-06-24 10:02:40 -04:00
4ae05dddeb Tag should use a stock manager by default 2020-06-16 17:02:03 -04:00
067e89f6a0 Allow unrestricted access to assigned tags 2020-06-16 14:59:22 -04:00
e917535380 Merge branch 'develop' into develop-2.9 2020-06-15 16:04:32 -04:00
5af2b3c2f5 Closes #4717: Introduce ALLOWED_URL_SCHEMES configuration parameter to mitigate dangerous hyperlinks 2020-06-15 11:53:47 -04:00
9fc4a4f24a Closes #4755: Enable creation of rack reservations directly from navigation menu 2020-06-12 15:11:27 -04:00
cf81a8979f Avoid component_type on subclasses 2020-06-10 22:10:45 -04:00
4301c06d17 Refactorization into LabeledComponentForm 2020-06-08 23:07:12 -04:00
d65cead212 Return an empty list if value is None 2020-06-05 12:34:09 -04:00
ccc31b2c7c Fixes #4525: Allow passing initial data to custom script MultiObjectVar 2020-05-26 15:34:29 -04:00
92f49b4711 Closes #4672: Set default color for rack and devices roles 2020-05-26 09:36:27 -04:00
9312dea2b2 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
270d61ce1b Remove boilerplate error messages from CSV model choice fields 2020-05-06 09:58:12 -04:00
70d0a5f665 Introduce CSVModelChoiceField to provide better validation for CSV model choices 2020-05-06 09:43:10 -04:00
839e999a71 Introduce CSVModelForm for dynamic CSV imports 2020-05-05 16:15:09 -04:00
4486957b9a Clean up comments 2020-05-01 16:01:30 -04:00
4b8ef6b09a Removed FlexibleModelChoiceField 2020-05-01 13:40:52 -04:00
61ae4be16a Add tests for CSVDataField 2020-05-01 13:32:28 -04:00
34a17d4571 Enable the specifcation of related objects by arbitrary attribute during CSV import 2020-05-01 12:18:04 -04:00
f51e7519dc Enable reordering table columns 2020-04-28 14:27:27 -04:00
3442ec77a7 Enable setting/clearing of table column prefs 2020-04-28 13:21:58 -04:00
e8d493578b Create form for setting table preferences 2020-04-28 12:14:51 -04:00
e975f1b216 Update device component bulk edit forms to use form_from_model() 2020-04-22 11:47:26 -04:00
97b8e73716 Introduce model-specific bulk create forms for device components 2020-04-22 11:15:39 -04:00
fb2868f8bb Fixes #4418: Fail cleanly when trying to import multiple device types simultaneously 2020-03-30 16:44:04 -04:00
0068108c57 Remove APISelect widget/api_url argument from dynamic fields 2020-03-16 14:08:48 -04:00
400f6fc5fb Dynamically resolve the API URL for dynamic choice fields 2020-03-16 13:30:35 -04:00
363c4acadc Drop GitHub-flavored Markdown (py-gfm) 2020-03-05 16:30:12 -05:00
25d126d4ff Call prepare_value() to avoid passing model instances directly to the filterset 2020-02-24 09:31:31 -05:00
04ee55a40c Fixes #4240: Fix exception when filtering foreign keys by NULL 2020-02-21 21:38:25 -05:00
7a53e24f97 Closes #3810: Preserve slug value when editing existing objects 2020-02-19 13:53:11 -05:00
6bc7be7ba5 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
7177fcfa61 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
fb56d5bc66 Account for initial data when binding a DynamicModelChoiceField 2020-02-11 10:21:44 -05:00
da68968d75 Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00
5ea30c8628 Replace ChainedModelChoiceField with DynamicModelChoiceField 2020-02-10 17:23:52 -05:00
d4789b7c9e Changelog for #4108 2020-02-10 10:20:06 -05:00
5008526db1 Set a default self.to_field_name for FilterChoiceField 2020-02-10 10:08:20 -05:00
009fc4f301 Remove custom template for APISelect widget 2020-02-10 10:02:42 -05:00
55f5ede970 Standardize usage of FilterChoiceField 2020-02-10 09:58:33 -05:00
5ddfde2214 Clean up unneeded code relevant to FilterChoiceField 2020-02-10 09:44:19 -05:00