Commit Graph

877 Commits

Author SHA1 Message Date
Jeremy Stretch
4cd1c9d7f2 Fixes #5316: Dry running scripts should not trigger webhooks 2020-11-09 16:22:45 -05:00
Jeremy Stretch
0cce8ad27b Fixes #5328: Fix CreatedUpdatedFilterTest when running in non-UTC timezone 2020-11-09 16:04:09 -05:00
Jeremy Stretch
7e678cba52 Correct buttons() method in dummy plugin template content 2020-11-09 14:31:53 -05:00
991jo
657e2725a0 Fixed a UI Bug where there is no whitespace after grouped custom links.
See #5325 for details
2020-11-09 07:56:26 +01:00
John Anderson
bb987d0970 fixes #5314 - Fix config context rendering when multiple tags are assgined to an object 2020-11-06 16:47:07 -05:00
Jeremy Stretch
652579089c Merge pull request #5286 from netbox-community/5285-plugins-api-app_name
Fixes #5285: Include plugin API endpoints in root view without needing app_name set
2020-10-30 09:10:12 -04:00
John Anderson
ffe01cb42b move get_queryset() to common mixin 2020-10-30 02:56:43 -04:00
John Anderson
f3d5de6e56 convert region fields to f-string 2020-10-30 02:56:26 -04:00
Jeremy Stretch
3f19165db2 Fixes #5285: Include plugin API endpoints in root view without needing app_name set 2020-10-29 12:30:10 -04:00
John Anderson
cde90ae8bd clean up imports 2020-10-25 19:00:56 -04:00
John Anderson
56946254e4 pep8 2020-10-25 17:56:42 -04:00
John Anderson
4f546f2dd2 added tests 2020-10-25 16:49:18 -04:00
John Anderson
f96b5c67a0 account for null value annotations 2020-10-23 10:56:02 -04:00
John Anderson
152fe800c7 add support for regions and vms 2020-10-23 01:18:04 -04:00
John Anderson
cdd1948721 initial work on config context performance improvements 2020-10-20 01:07:22 -04:00
Jeremy Stretch
53428478d2 Fixes #5231: Fix KeyError exception when viewing object with custom link and debugging is disabled 2020-10-09 15:53:45 -04:00
Jeremy Stretch
7844d6a705 Closes #5202: Extend the available context data when rendering custom links 2020-10-09 12:36:09 -04:00
Jeremy Stretch
d952d77684 Fixes #5226: Custom choice fields should be blank initially if no default choice has been designated 2020-10-09 11:34:50 -04:00
Jeremy Stretch
b02f2d3f90 Fix error in OBJECTCHANGE_OBJECT table column template 2020-10-07 13:13:03 -04:00
Jeremy Stretch
4fe4732e8b Fixes #5206: Apply user pagination preferences to all paginated object lists 2020-10-02 13:54:57 -04:00
Jeremy Stretch
944c2f6463 Fixes #5066: Update view_reportresult to view_report permission 2020-09-23 13:40:15 -04:00
Jeremy Stretch
04a20a862b Fixes #5137: Correct permission for viewing report results is extras.view_reportresult 2020-09-23 10:16:22 -04:00
Jeremy Stretch
1b3cec5855 Fixes #5167: Support filtering ObjectChanges by multiple users 2020-09-22 16:17:39 -04:00
John Anderson
f276dd1d63 fixes #5108 - correct the runreport management command to work with JobResults model 2020-09-10 17:43:41 -04:00
Jeremy Stretch
2bc7f74d3f Fixes #5118: Specifying an empty list of tags should clear assigned tags (REST API) 2020-09-09 13:43:10 -04:00
Jeremy Stretch
9d799b757a Fixes #5109: Fix representation of custom choice field values for webhook data 2020-09-09 11:47:21 -04:00
Jeremy Stretch
ac3a30b6ff Fixes #5072: Add REST API filters for image attachments 2020-09-02 16:10:07 -04:00
Jeremy Stretch
8d0d2caad8 Fixes #5081: Fix exception during webhook processing with custom select field 2020-09-01 09:54:45 -04:00
Jeremy Stretch
1c335551a0 Fixes #5012: Return details of exceptions resulting from report/script execution 2020-08-20 12:47:26 -04:00
Jeremy Stretch
6d2681f9ee Fix changelog tests 2020-08-19 16:02:10 -04:00
Jeremy Stretch
b3f32d7f35 Update test script ObjectVars 2020-08-18 14:43:21 -04:00
Jeremy Stretch
0fc4cd462b Refactor tests (again) 2020-08-18 13:30:16 -04:00
Jeremy Stretch
ed4f9683bb Avoid using post_data() for form data 2020-08-18 13:13:13 -04:00
Jeremy Stretch
6f75b17ae9 Move changelog signals setup to a context manager 2020-08-18 13:05:41 -04:00
Jeremy Stretch
f67c44667e Tweak passing of tags 2020-08-18 12:37:07 -04:00
Jeremy Stretch
deb5dc89c9 Simplify tag creation 2020-08-18 11:33:23 -04:00
Jeremy Stretch
e3f1db7cb8 Add changelog tests for UI views 2020-08-18 10:05:58 -04:00
Jeremy Stretch
03299f038c Move housekeeping to _handle_changed_object() 2020-08-18 09:13:07 -04:00
Jeremy Stretch
47d6df1953 Fix serialization of tags for REST API updates 2020-08-17 16:18:47 -04:00
Jeremy Stretch
3a8db56682 Remove errant import 2020-08-17 14:15:02 -04:00
Jeremy Stretch
b0f7d82c2d Attach object modification signals before running a custom script 2020-08-17 13:43:48 -04:00
Jeremy Stretch
891a599340 Cache custom fields on instance prior to calling create()/update() 2020-08-17 12:22:37 -04:00
Jeremy Stretch
b545bca3e0 Cache custom fields on instance prior to save() 2020-08-17 11:08:14 -04:00
Jeremy Stretch
b43c657465 Move ObjectChange creation into signal receivers 2020-08-14 17:03:45 -04:00
Jeremy Stretch
61d2692029 Closes #4997: Introduce OrderedDefaultRouter; move root API views to views.py 2020-08-13 12:49:49 -04:00
Jeremy Stretch
d12f93a2ff Merge branch 'develop' into develop-2.9 2020-08-13 10:06:03 -04:00
Jeremy Stretch
910926db29 Extend ObjectVars to accept display_field, query_params, and null_option 2020-08-12 14:51:58 -04:00
Jeremy Stretch
35038f1c44 Remove value_field from APISelect; reference to_field_name on field 2020-08-11 17:19:40 -04:00
Jeremy Stretch
62e63200c8 Add display_field kwarg to DynamicModelChoiceMixin 2020-08-11 17:00:28 -04:00
Jeremy Stretch
dec3a78e94 Closes #4885: Add MultiChoiceVar for custom scripts 2020-08-11 13:23:39 -04:00