mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
client/#75 - Added settings and defaults for Slack integration
This commit is contained in:
parent
05d24382a4
commit
9d055e9adb
5 changed files with 133 additions and 2 deletions
18
openpype/settings/defaults/project_settings/slack.json
Normal file
18
openpype/settings/defaults/project_settings/slack.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"publish": {
|
||||
"CollectSlackFamilies": {
|
||||
"enabled": true,
|
||||
"optional": true,
|
||||
"token": "",
|
||||
"profiles": [
|
||||
{
|
||||
"families": [],
|
||||
"hosts": [],
|
||||
"tasks": [],
|
||||
"channel": [],
|
||||
"message": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -167,5 +167,8 @@
|
|||
},
|
||||
"project_manager": {
|
||||
"enabled": true
|
||||
},
|
||||
"slack": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
|
|
@ -66,6 +66,10 @@
|
|||
"type": "schema",
|
||||
"name": "schema_project_deadline"
|
||||
},
|
||||
{
|
||||
"type": "schema",
|
||||
"name": "schema_project_slack"
|
||||
},
|
||||
{
|
||||
"type": "schema",
|
||||
"name": "schema_project_maya"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,89 @@
|
|||
{
|
||||
"type": "dict",
|
||||
"key": "slack",
|
||||
"label": "Slack",
|
||||
"collapsible": true,
|
||||
"is_file": true,
|
||||
"children": [
|
||||
|
||||
{
|
||||
"type": "dict",
|
||||
"collapsible": true,
|
||||
"key": "publish",
|
||||
"label": "Publish plugins",
|
||||
"children": [
|
||||
{
|
||||
"type": "dict",
|
||||
"key": "CollectSlackFamilies",
|
||||
"label": "Notification to Slack",
|
||||
"use_label_wrap": true,
|
||||
"children": [
|
||||
{
|
||||
"type": "label",
|
||||
"label": ""
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "enabled",
|
||||
"label": "Enabled"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "optional",
|
||||
"label": "Optional"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"key": "token",
|
||||
"label": "Auth Token"
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"collapsible": true,
|
||||
"key": "profiles",
|
||||
"label": "Profiles",
|
||||
"object_type": {
|
||||
"type": "dict",
|
||||
"children": [
|
||||
{
|
||||
"key": "families",
|
||||
"label": "Families",
|
||||
"type": "list",
|
||||
"object_type": "text"
|
||||
},
|
||||
{
|
||||
"key": "tasks",
|
||||
"label": "Task names",
|
||||
"type": "list",
|
||||
"object_type": "text"
|
||||
},
|
||||
{
|
||||
"key": "hosts",
|
||||
"label": "Host names",
|
||||
"type": "list",
|
||||
"object_type": "text"
|
||||
},
|
||||
{
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"object_type": "text",
|
||||
"key": "channel",
|
||||
"label": "Channel"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"multiline": true,
|
||||
"key": "message",
|
||||
"label": "Message"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -82,7 +82,8 @@
|
|||
"label": "Workspace name"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"type": "dict",
|
||||
"key": "sync_server",
|
||||
"label": "Site Sync",
|
||||
|
|
@ -114,7 +115,8 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
},{
|
||||
},
|
||||
{
|
||||
"type": "dict",
|
||||
"key": "deadline",
|
||||
"label": "Deadline",
|
||||
|
|
@ -206,6 +208,21 @@
|
|||
"label": "Enabled"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "dict",
|
||||
"key": "slack",
|
||||
"label": "Slack Notifications",
|
||||
"collapsible": true,
|
||||
"require_restart": true,
|
||||
"checkbox_key": "enabled",
|
||||
"children": [
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "enabled",
|
||||
"label": "Enabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue