John Anderson
09e09e43ba
Merge branch 'develop' into develop-2.8
2020-03-18 14:44:18 -04:00
Jeremy Stretch
0068108c57
Remove APISelect widget/api_url argument from dynamic fields
2020-03-16 14:08:48 -04:00
Jeremy Stretch
d4f6909859
Rename Tag.comments to description
2020-03-13 17:00:00 -04:00
Jeremy Stretch
7b93155b06
Fix form field ordering; self.fields no longer an OrderedDict
2020-02-19 15:08:15 -05:00
Jeremy Stretch
7177fcfa61
Use DynamicModelChoiceField for all fields using APISelect
2020-02-11 12:25:40 -05:00
Jeremy Stretch
221805a63e
Use TreeNode choice fields for region assignment
2020-02-11 09:50:33 -05:00
Jeremy Stretch
da68968d75
Replace FilterChoiceField with DynamicModelMultipleChoiceField
2020-02-11 09:33:41 -05:00
Jeremy Stretch
55f5ede970
Standardize usage of FilterChoiceField
2020-02-10 09:58:33 -05:00
Jeremy Stretch
68738e683a
Fixes #4091 : Fix filtering of objects by custom fields using UI search form
2020-02-05 16:39:42 -05:00
Jeremy Stretch
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
Saria Hajjar
bceaa4a9a4
Corrected models for cluster and cluster group fields
2020-02-02 23:37:01 +00:00
Jeremy Stretch
193435b554
Enable CSV import for custom fields
2020-01-29 14:29:47 -05:00
Jeremy Stretch
e6b018909d
Introduced CustomFieldModelCSVForm
2020-01-29 13:53:26 -05:00
Jeremy Stretch
35f2291edc
Fix assignment of initial CustomField values when editing an object
2020-01-29 13:31:36 -05:00
Jeremy Stretch
c3f86456d6
Remove get_custom_fields_for_model()
2020-01-29 12:12:47 -05:00
Jeremy Stretch
585ea71d1a
Move form field generation logic to CustomField class
2020-01-29 11:44:37 -05:00
Jeremy Stretch
bc7cf63958
Rename and refactor CustomFieldForm
2020-01-29 10:59:18 -05:00
Saria Hajjar
4abd3866ab
Fixes #3886 : Config context cluster (group)
2020-01-26 10:53:58 +00:00
Saria Hajjar
8f86244b4f
Cleaned the CustomField choice field
2020-01-23 18:54:37 +00:00
Saria Hajjar
0a5eecd0e3
Explicitly use the value of the choice, instead of relying on __str__
2020-01-23 17:37:51 +00:00
Saria Hajjar
89e6de3652
Merge branch 'develop' into 568-csv-import-cf
2020-01-16 16:05:01 +00:00
Saria Hajjar
37322fc100
Fixed import choice name
2020-01-10 14:58:15 +00:00
Jeremy Stretch
1d63a30b7a
Merge branch 'develop' into develop-2.7
2020-01-02 17:21:15 -05:00
Saria Hajjar
ca131e5b2a
Select2 for custom fields
2020-01-01 23:46:51 +00:00
Saria Hajjar
7399aa0c5e
Add datetime widgets
2019-12-28 22:55:00 +00:00
Jeremy Stretch
fd88ba65b2
Cleanup for #3664
2019-12-11 15:55:33 -05:00
kobayashi
5710f297f1
implement 3664
2019-12-11 04:58:42 -05:00
Jeremy Stretch
2bcbcd3458
ObjectChange.action to slug ( #3569 )
2019-12-05 16:30:15 -05:00
Jeremy Stretch
bfea77baa5
CustomField.filter_logic to slug
2019-12-04 21:09:02 -05:00
Jeremy Stretch
3ff22bea56
CustomField.type to slug
2019-12-04 21:01:50 -05:00
Jeremy Stretch
99f7cfcbd3
Closes #3581 : Introduce commit_default custom script attribute to not commit changes by default
2019-10-09 15:16:50 -04:00
Jeremy Stretch
a3b9bdaff1
Miscellaneous cleanup
2019-10-04 12:59:10 -04:00
Jeremy Stretch
a0545568cd
Fixes #3514 : Label TextVar fields when rendering custom script forms
2019-09-18 15:39:26 -04:00
Daniel Sheppard
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
Jeremy Stretch
8ff3d2cbf6
Closes #3456 : Enable bulk editing of tag color
2019-08-28 11:56:00 -04:00
Jeremy Stretch
03ac2721bc
Merge pull request #3423 from netbox-community/3415-custom-scripts
...
Add custom scripting
2019-08-26 14:06:22 -04:00
John Anderson
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
Jeremy Stretch
9c079ead4c
Fix notice when form does not require user input
2019-08-14 10:18:25 -04:00
Jeremy Stretch
0d289d660d
Add option to commit database changes
2019-08-12 14:28:06 -04:00
Jeremy Stretch
3f7f3f88f3
Fix form field ordering
2019-08-12 11:13:16 -04:00
Jeremy Stretch
a25a27f31f
Initial work on custom scripts ( #3415 )
2019-08-12 11:13:16 -04:00
Jeremy Stretch
4f9b666eee
Merge branch 'develop' into develop-2.6
2019-04-09 14:11:26 -04:00
Jeremy Stretch
6f8591f769
Closes #3052 : Add Jinja2 support for export templates
2019-04-08 12:20:24 -04:00
John Anderson
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
John Anderson
9d055ff4fd
fixed #2910 - config context list and edit views not using select2
2019-02-18 21:10:15 -05:00
Jeremy Stretch
dd2a6a41da
Fixes #2687 : Correct naming of before/after filters for changelog entries
2018-12-13 14:43:05 -05:00
Jeremy Stretch
a6c8c615eb
Closes #2674 : Enable filtering changelog by object type under web UI
2018-12-13 14:37:03 -05:00
Jeremy Stretch
4da755e75f
Formatting cleanup
2018-11-27 11:57:29 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
874acab90f
Merge v2.4.8
2018-11-20 12:28:24 -05:00