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

104 Commits

Author SHA1 Message Date
dd707c97af Cache custom fields on instance prior to save() 2020-08-17 11:08:14 -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
b47a9f251d Change ObjectChangeFilterForm user field to be API-driven 2020-07-23 13:47:19 -04:00
15525392a2 Closes : Use dynamic form widget for relationships to MPTT objects 2020-07-09 09:50:01 -04:00
2d4694e72d Merge pull request from netbox-community/3703-limit-tag-creation
Closes : Restrict tag creation
2020-06-17 12:28:04 -04:00
eaaaaec5a5 Fixes : Fix merging of form fields among custom scripts 2020-06-15 14:20:00 -04:00
7dc4f8d5cc Remove TagField 2020-06-12 10:01:39 -04:00
da906f48d9 Standardize add, import, and export functionality for tags 2020-06-12 09:48:23 -04:00
ccc31b2c7c Fixes : Allow passing initial data to custom script MultiObjectVar 2020-05-26 15:34:29 -04:00
1461be2004 Fixes : Fix tag assignment on config contexts (regression from ) 2020-05-13 10:28:48 -04:00
839e999a71 Introduce CSVModelForm for dynamic CSV imports 2020-05-05 16:15:09 -04:00
f019c8d2ce Fixes : Fix assignment of certain tags to config contexts 2020-04-24 11:31:01 -04:00
09e09e43ba Merge branch 'develop' into develop-2.8 2020-03-18 14:44:18 -04:00
0068108c57 Remove APISelect widget/api_url argument from dynamic fields 2020-03-16 14:08:48 -04:00
d4f6909859 Rename Tag.comments to description 2020-03-13 17:00:00 -04:00
7b93155b06 Fix form field ordering; self.fields no longer an OrderedDict 2020-02-19 15:08:15 -05:00
7177fcfa61 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
221805a63e Use TreeNode choice fields for region assignment 2020-02-11 09:50:33 -05:00
da68968d75 Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00
55f5ede970 Standardize usage of FilterChoiceField 2020-02-10 09:58:33 -05:00
68738e683a Fixes : Fix filtering of objects by custom fields using UI search form 2020-02-05 16:39:42 -05:00
fcd8e93e2e Merge pull request from hSaria/3886-config-context-cluster
Fixes : Config context cluster (group)
2020-02-03 16:02:56 -05:00
bceaa4a9a4 Corrected models for cluster and cluster group fields 2020-02-02 23:37:01 +00:00
193435b554 Enable CSV import for custom fields 2020-01-29 14:29:47 -05:00
e6b018909d Introduced CustomFieldModelCSVForm 2020-01-29 13:53:26 -05:00
35f2291edc Fix assignment of initial CustomField values when editing an object 2020-01-29 13:31:36 -05:00
c3f86456d6 Remove get_custom_fields_for_model() 2020-01-29 12:12:47 -05:00
585ea71d1a Move form field generation logic to CustomField class 2020-01-29 11:44:37 -05:00
bc7cf63958 Rename and refactor CustomFieldForm 2020-01-29 10:59:18 -05:00
4abd3866ab Fixes : Config context cluster (group) 2020-01-26 10:53:58 +00:00
8f86244b4f Cleaned the CustomField choice field 2020-01-23 18:54:37 +00:00
0a5eecd0e3 Explicitly use the value of the choice, instead of relying on __str__ 2020-01-23 17:37:51 +00:00
89e6de3652 Merge branch 'develop' into 568-csv-import-cf 2020-01-16 16:05:01 +00:00
37322fc100 Fixed import choice name 2020-01-10 14:58:15 +00:00
1d63a30b7a Merge branch 'develop' into develop-2.7 2020-01-02 17:21:15 -05:00
ca131e5b2a Select2 for custom fields 2020-01-01 23:46:51 +00:00
7399aa0c5e Add datetime widgets 2019-12-28 22:55:00 +00:00
fd88ba65b2 Cleanup for 2019-12-11 15:55:33 -05:00
5710f297f1 implement 3664 2019-12-11 04:58:42 -05:00
2bcbcd3458 ObjectChange.action to slug () 2019-12-05 16:30:15 -05:00
bfea77baa5 CustomField.filter_logic to slug 2019-12-04 21:09:02 -05:00
3ff22bea56 CustomField.type to slug 2019-12-04 21:01:50 -05:00
99f7cfcbd3 Closes : Introduce commit_default custom script attribute to not commit changes by default 2019-10-09 15:16:50 -04:00
a3b9bdaff1 Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
a0545568cd Fixes : Label TextVar fields when rendering custom script forms 2019-09-18 15:39:26 -04:00
8f5e73a598 Add filter for has local context data ()
* Add filter for has local context data
* Broke out filter and form for re-use
* Fix missing StaticSelect2 import
* Fix missing BOOLEAN_WITH_BLANK_CHOICES import
* Fix class resolution
* Fix field ordering
* Fix PEP8 errors
2019-09-06 11:42:56 -05:00
8ff3d2cbf6 Closes : Enable bulk editing of tag color 2019-08-28 11:56:00 -04:00
03ac2721bc Merge pull request from netbox-community/3415-custom-scripts
Add custom scripting
2019-08-26 14:06:22 -04:00
ade844f7a7 fixes - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00