@ -14,69 +14,68 @@ github:
auth:
auth:
# Authentication for the GitHub App.
# Authentication for the GitHub App.
#
#
id: {{ matrix_hookshot_github_appid }}
id: {{ matrix_hookshot_github_auth_id | to_json }}
privateKeyFile: /data/{{ matrix_hookshot_github_private_key_file }}
privateKeyFile: /data/{{ matrix_hookshot_github_private_key_file }}
webhook:
webhook:
# Webhook settings for the GitHub app.
# Webhook settings for the GitHub app.
#
#
secret: {{ matrix_hookshot_github_secret|to_json }}
secret: {{ matrix_hookshot_github_webhook_ secret | to_json }}
{% if matrix_hookshot_github_oauth_enabled %}
{% if matrix_hookshot_github_oauth_enabled %}
oauth:
oauth:
# (Optional) Settings for allowing users to sign in via OAuth.
# (Optional) Settings for allowing users to sign in via OAuth.
#
#
client_id: {{ matrix_hookshot_github_oauth_id }}
client_id: {{ matrix_hookshot_github_oauth_client_ id | to_json }}
client_secret: {{ matrix_hookshot_github_oauth_secret|to_json }}
client_secret: {{ matrix_hookshot_github_oauth_client_ secret | to_json }}
redirect_uri: {{ matrix_hookshot_github_oauth_uri }}
redirect_uri: {{ matrix_hookshot_github_oauth_redirect_ uri | to_json }}
{% endif %}
{% endif %}
defaultOptions:
defaultOptions:
# (Optional) Default options for GitHub connections.
# (Optional) Default options for GitHub connections.
#
#
ignoreHooks: {{ matrix_hookshot_github_ignore_hooks }}
ignoreHooks: {{ matrix_hookshot_github_defaultOptions_ignoreHooks | to_json }}
commandPrefix: "{{ matrix_hookshot_github_command_prefix }}"
commandPrefix: {{ matrix_hookshot_github_defaultOptions_commandPrefix | to_json }}
showIssueRoomLink: {{ matrix_hookshot_github_showIssueRoomLink }}
showIssueRoomLink: {{ matrix_hookshot_github_defaultOptions_ showIssueRoomLink | to_json }}
prDiff: {{ matrix_hookshot_github_pr_diff }}
prDiff: {{ matrix_hookshot_github_defaultOptions_prDiff | to_json }}
includingLabels:{{ matrix_hookshot_github_including_labels }}
includingLabels: {{ matrix_hookshot_github_defaultOptions_includingLabels | to_json }}
excludingLabels: {{ matrix_hookshot_github_excluding_labels }}
excludingLabels: {{ matrix_hookshot_github_defaultOptions_excludingLabels | to_json }}
hotlinkIssues:
hotlinkIssues:
prefix: " {{ matrix_hookshot_github_hotlink_prefix }}"
prefix: {{ matrix_hookshot_github_defaultOptions_ hotlinkIssues _prefix | to_json }}
{% endif %}
{% endif %}
{% if matrix_hookshot_gitlab_enabled %}
{% if matrix_hookshot_gitlab_enabled %}
gitlab:
gitlab:
# (Optional) Configure this to enable GitLab support
# (Optional) Configure this to enable GitLab support
#
#
instances:
instances: {{ matrix_hookshot_gitlab_instances | to_json }}
{{ matrix_hookshot_gitlab_instances }}
webhook:
webhook:
secret: {{ matrix_hookshot_gitlab_secret|to_json }}
secret: {{ matrix_hookshot_gitlab_webhook_ secret | to_json }}
{% endif %}
{% endif %}
{% if matrix_hookshot_figma_enabled %}
{% if matrix_hookshot_figma_enabled %}
figma:
figma:
# (Optional) Configure this to enable Figma support
# (Optional) Configure this to enable Figma support
#
#
publicUrl: {{ matrix_hookshot_figma_publicUrl }}
publicUrl: {{ matrix_hookshot_figma_publicUrl | to_json }}
instances: {{ matrix_hookshot_figma_instances }}
instances: {{ matrix_hookshot_figma_instances | to_json }}
{% endif %}
{% endif %}
{% if matrix_hookshot_jira_enabled %}
{% if matrix_hookshot_jira_enabled %}
jira:
jira:
# (Optional) Configure this to enable Jira support
# (Optional) Configure this to enable Jira support
#
#
webhook:
webhook:
secret: {{ matrix_hookshot_jira_secret|to_json }}
secret: {{ matrix_hookshot_jira_webhook_ secret | to_json }}
{% if matrix_hookshot_jira_oauth_enabled %}
{% if matrix_hookshot_jira_oauth_enabled %}
oauth:
oauth:
client_id: {{ matrix_hookshot_jira_oauth_id|to_json }}
client_id: {{ matrix_hookshot_jira_oauth_client_ id | to_json }}
client_secret: {{ matrix_hookshot_jira_oauth_secret|to_json }}
client_secret: {{ matrix_hookshot_jira_oauth_client_ secret | to_json }}
redirect_uri: {{ matrix_hookshot_jira_oauth_uri }}
redirect_uri: {{ matrix_hookshot_jira_oauth_redirect_ uri | to_json }}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% if matrix_hookshot_generic_enabled %}
{% if matrix_hookshot_generic_enabled %}
generic:
generic:
# (Optional) Support for generic webhook events. `allowJsTransformationFunctions` will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
# (Optional) Support for generic webhook events. `allowJsTransformationFunctions` will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
#
#
enabled: {{ matrix_hookshot_generic_enabled }}
enabled: {{ matrix_hookshot_generic_enabled | to_json }}
urlPrefix: {{ matrix_hookshot_generic_urlprefix }}
urlPrefix: {{ matrix_hookshot_generic_urlPrefix | to_json }}
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allow_js_transformation_functions }}
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allowJsTransformationFunctions | to_json }}
userIdPrefix: {{ matrix_hookshot_generic_user_id_prefix| to_json }}
userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }}
{% endif %}
{% endif %}
{% if matrix_hookshot_feeds_enabled %}
{% if matrix_hookshot_feeds_enabled %}
feeds:
feeds:
@ -100,12 +99,12 @@ passFile:
bot:
bot:
# (Optional) Define profile information for the bot user
# (Optional) Define profile information for the bot user
#
#
displayname: {{ matrix_hookshot_bot_displayname }}
displayname: {{ matrix_hookshot_bot_displayname | to_json }}
avatar: {{ matrix_hookshot_bot_avatar }}
avatar: {{ matrix_hookshot_bot_avatar | to_json }}
metrics:
metrics:
# (Optional) Prometheus metrics support
# (Optional) Prometheus metrics support
#
#
enabled: {{ matrix_hookshot_metrics_enabled }}
enabled: {{ matrix_hookshot_metrics_enabled | to_json }}
logging:
logging:
# (Optional) Logging settings. You can have a severity debug,info,warn,error
# (Optional) Logging settings. You can have a severity debug,info,warn,error
#
#
@ -114,20 +113,20 @@ logging:
widgets:
widgets:
# (Optional) EXPERIMENTAL support for complimentary widgets
# (Optional) EXPERIMENTAL support for complimentary widgets
#
#
addToAdminRooms: {{ matrix_hookshot_widgets_addToAdminRooms }}
addToAdminRooms: {{ matrix_hookshot_widgets_addToAdminRooms | to_json }}
{% if matrix_hookshot_widgets_roomSetupWidget_enabled %}
{% if matrix_hookshot_widgets_roomSetupWidget_enabled %}
roomSetupWidget:
roomSetupWidget:
addOnInvite: {{ matrix_hookshot_widgets_roomSetupWidget_addOnInvite }}
addOnInvite: {{ matrix_hookshot_widgets_roomSetupWidget_addOnInvite | to_json }}
{% endif %}
{% endif %}
{% if not matrix_hookshot_widgets_disallowedIpRanges is in [None, ''] %}
{% if not matrix_hookshot_widgets_disallowedIpRanges is in [None, ''] %}
disallowedIpRanges: {{ matrix_hookshot_widgets_disallowedIpRanges }}
disallowedIpRanges: {{ matrix_hookshot_widgets_disallowedIpRanges | to_json }}
{% endif %}
{% endif %}
publicUrl: {{ matrix_hookshot_widgets_publicUrl }}
publicUrl: {{ matrix_hookshot_widgets_publicUrl | to_json }}
branding:
branding:
widgetTitle: {{ matrix_hookshot_widgets_branding_widgetTitle }}
widgetTitle: {{ matrix_hookshot_widgets_branding_widgetTitle | to_json }}
{% endif %}
{% endif %}
{% if matrix_hookshot_permissions %}
{% if matrix_hookshot_permissions %}
permissions: {{ matrix_hookshot_permissions }}
permissions: {{ matrix_hookshot_permissions | to_json }}
{% endif %}
{% endif %}
listeners:
listeners:
# (Optional) HTTP Listener configuration.
# (Optional) HTTP Listener configuration.