Commit Graph

601 Commits

Author SHA1 Message Date
Jeremy Stretch
0f43857895 Extend custom scripts to pass the 'commit' value via run() 2020-02-25 14:49:41 -05:00
Jeremy Stretch
556d9a9b64 Always use a JSON object to convey change data when no body template is present 2020-02-25 10:43:14 -05:00
Jeremy Stretch
954d6a7c03 Add http_method field to Webhook 2020-02-24 20:42:24 -05:00
Jeremy Stretch
d86c15e6ef Extend templatization ability to additional_headers field 2020-02-24 17:47:17 -05:00
Jeremy Stretch
02fdb3c4ad Convert additional_headers to a TextField 2020-02-24 16:59:35 -05:00
Jeremy Stretch
9a1853e908 Enable custom templating for webhook request content 2020-02-24 16:12:46 -05:00
Jeremy Stretch
7f4da8fc3e Disconnect post_save & pre_delete signals after the response has been received 2020-02-24 12:42:51 -05:00
Jeremy Stretch
20ada58da3 Fixes #4246: Fix duplication of field attributes when multiple IPNetworkVars are present in a script 2020-02-24 10:01:31 -05:00
Jeremy Stretch
c26aca4d20 Closes #4173: Return graceful error message when webhook queuing fails 2020-02-21 17:21:04 -05:00
Jeremy Stretch
1679423afe All fields on RenderedGraphSerializer should be read-only 2020-02-21 14:45:07 -05:00
Jeremy Stretch
3ec53b8473 Fixes #4235: Fix API representation of content_type for export templates 2020-02-21 14:38:38 -05:00
Jeremy Stretch
bc843250ed Standardize on two-word form of "change log" 2020-02-19 12:45:52 -05:00
Saria Hajjar
a5f4b197b3 Fixes #2511: Compare object change to the previous change 2020-02-15 22:39:08 +00:00
Jeremy Stretch
b90eb8945a Merge branch 'develop' into 4164-object-list-template 2020-02-14 13:11:30 -05:00
Jeremy Stretch
e870c4853a Clean up unused imports 2020-02-14 12:04:56 -05:00
Dan Starner
574b003518 remove redis conn check from extras AppConfig 2020-02-14 11:16:59 -05:00
Dan Starner
c054240a69 ammend redis conn check to acccount for sentinel 2020-02-14 09:39:01 -05:00
Jeremy Stretch
5cd25b2721 Fixes #4166: Fix schema migrations to enforce maximum character length for naturalized fields 2020-02-13 21:41:00 -05:00
Jeremy Stretch
54bd9fa48a Convert change log view to extend standard template 2020-02-13 17:11:39 -05:00
Jeremy Stretch
ebda443888 Migrate extras views to use common object list template 2020-02-13 16:39:38 -05:00
Jeremy Stretch
5497e220f0 renaturalize command should not skip any values 2020-02-13 09:33:01 -05:00
Jeremy Stretch
55a77de827 Merge pull request #4142 from netbox-community/3766-enable_widgets_in_script_fields
Fixes: #3766 - Enable widget usage in scripts
2020-02-12 16:48:08 -05:00
Jeremy Stretch
a54f257490 Closes #4153: Add a management command to manually renaturalize applicable objects (from #3799) 2020-02-12 15:59:37 -05:00
Jeremy Stretch
417acdb666 Establish standard test cases for all models 2020-02-12 13:25:56 -05:00
Daniel Sheppard
066e103a8c Fix test error 2020-02-11 20:27:02 -06:00
Daniel Sheppard
2be5bab3c8 Enable widget usage (APISelect, APIMultipleSelect, StaticSelect2, etc) in scripts 2020-02-11 20:12:02 -06:00
Jeremy Stretch
023735cf10 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
Jeremy Stretch
2c57c6c593 Use TreeNode choice fields for region assignment 2020-02-11 09:50:33 -05:00
Jeremy Stretch
7acb77c06f Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00
Jeremy Stretch
252d3595ac Standardize usage of FilterChoiceField 2020-02-10 09:58:33 -05:00
Jeremy Stretch
9fe3d91cd9 Fixes #4091: Fix filtering of objects by custom fields using UI search form 2020-02-05 16:39:42 -05:00
Jeremy Stretch
ec5a5551c2 Fixes #4094: Convert unnecessary regular expressions to strings in URL patterns 2020-02-05 16:12:48 -05:00
Jeremy Stretch
4601cb7332 Merge pull request #4014 from hSaria/3886-config-context-cluster
Fixes #3886: Config context cluster (group)
2020-02-03 16:02:56 -05:00
Jeremy Stretch
5e1a14c314 Add bulk edit view tests 2020-02-03 13:53:19 -05:00
Jeremy Stretch
20c6b6fdfb Correct default_return_url for TagBulkEditView 2020-02-03 11:59:43 -05:00
Saria Hajjar
76157d68c1 Corrected models for cluster and cluster group fields 2020-02-02 23:37:01 +00:00
Jeremy Stretch
634d3f8a5d Fixes #4071: Enforce "view tag" permission on individual tag view 2020-01-31 16:10:16 -05:00
Jeremy Stretch
a0b575e310 Suppress tag view test until #4071 is fixed 2020-01-31 14:22:56 -05:00
Jeremy Stretch
c95b786d98 Convert extras view tests to StandardTestCases 2020-01-31 13:45:09 -05:00
Jeremy Stretch
c40bc53e80 Convert view tests under extras to the new TestCase 2020-01-30 18:13:02 -05:00
Jeremy Stretch
10d3f71c93 Add tests for invalid import data 2020-01-29 16:07:32 -05:00
Jeremy Stretch
730eb47f25 Extend CSV import test 2020-01-29 15:34:55 -05:00
Jeremy Stretch
447240c801 Enable CSV import for custom fields 2020-01-29 14:29:47 -05:00
Jeremy Stretch
d1b5e1a04d Introduced CustomFieldModelCSVForm 2020-01-29 13:53:26 -05:00
Jeremy Stretch
011256feee Fix assignment of initial CustomField values when editing an object 2020-01-29 13:31:36 -05:00
Jeremy Stretch
aa958955ae Remove get_custom_fields_for_model() 2020-01-29 12:12:47 -05:00
Jeremy Stretch
2054cd4e2f Move form field generation logic to CustomField class 2020-01-29 11:44:37 -05:00
Jeremy Stretch
0acc59db0c Rename and refactor CustomFieldForm 2020-01-29 10:59:18 -05:00
Jeremy Stretch
36df544f09 Merge pull request #3885 from hSaria/568-csv-import-cf
Fixes #568: CSV import/export of custom fields
2020-01-29 10:11:40 -05:00
Jeremy Stretch
bbca6de77f Fixes #4043: Fix toggling of required fields in custom scripts 2020-01-29 09:40:17 -05:00