da906f48d9
Standardize add, import, and export functionality for tags
2020-06-12 09:48:23 -04:00
ccc31b2c7c
Fixes #4525 : Allow passing initial data to custom script MultiObjectVar
2020-05-26 15:34:29 -04:00
1461be2004
Fixes #4613 : Fix tag assignment on config contexts (regression from #4527 )
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 #4527 : 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 #4091 : Fix filtering of objects by custom fields using UI search form
2020-02-05 16:39:42 -05:00
fcd8e93e2e
Merge pull request #4014 from hSaria/3886-config-context-cluster
...
Fixes #3886 : 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 #3886 : 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 #3664
2019-12-11 15:55:33 -05:00
5710f297f1
implement 3664
2019-12-11 04:58:42 -05:00
2bcbcd3458
ObjectChange.action to slug ( #3569 )
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 #3581 : 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 #3514 : Label TextVar fields when rendering custom script forms
2019-09-18 15:39:26 -04:00
8f5e73a598
Add filter for has local context data ( #3159 )
...
* 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 #3456 : Enable bulk editing of tag color
2019-08-28 11:56:00 -04:00
03ac2721bc
Merge pull request #3423 from netbox-community/3415-custom-scripts
...
Add custom scripting
2019-08-26 14:06:22 -04:00
ade844f7a7
fixes #3428 - 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
9c079ead4c
Fix notice when form does not require user input
2019-08-14 10:18:25 -04:00
0d289d660d
Add option to commit database changes
2019-08-12 14:28:06 -04:00
3f7f3f88f3
Fix form field ordering
2019-08-12 11:13:16 -04:00
a25a27f31f
Initial work on custom scripts ( #3415 )
2019-08-12 11:13:16 -04:00
4f9b666eee
Merge branch 'develop' into develop-2.6
2019-04-09 14:11:26 -04:00
6f8591f769
Closes #3052 : Add Jinja2 support for export templates
2019-04-08 12:20:24 -04:00
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
9d055ff4fd
fixed #2910 - config context list and edit views not using select2
2019-02-18 21:10:15 -05:00