소스 검색

Upgrade Slack bridge to 1.0.2

NeDB is deprecated, so we should transition away from it in the future.
Still, most of the functionality should work on this new version.
pull/342/head
Slavi Pantaleev 6 년 전
부모
커밋
61e93744ec
1개의 변경된 파일19개의 추가작업 그리고 1개의 파일을 삭제
  1. +19
    -1
      roles/matrix-bridge-appservice-slack/defaults/main.yml

+ 19
- 1
roles/matrix-bridge-appservice-slack/defaults/main.yml 파일 보기

@@ -3,7 +3,7 @@

matrix_appservice_slack_enabled: true

matrix_appservice_slack_docker_image: "cadair/matrix-appservice-slack:latest"
matrix_appservice_slack_docker_image: "matrixdotorg/matrix-appservice-slack:release-1.0.2"
matrix_appservice_slack_docker_image_force_pull: "{{ matrix_appservice_slack_docker_image.endswith(':latest') }}"

matrix_appservice_slack_base_path: "{{ matrix_base_data_path }}/appservice-slack"
@@ -51,6 +51,24 @@ matrix_appservice_slack_configuration_yaml: |
bot_username: "{{ matrix_appservice_slack_bot_name }}"
username_prefix: {{ matrix_appservice_slack_user_prefix }}

# Optional if slack_hook_port and inbound_uri_prefix are defined, required otherwise.
rtm:
# Use the RTM API to listen for requests, which does not require
# the bridge to listen on the hook port.
# You should leave this enabled, unless you plan to use the
# bridge exclusively for webhooks.
enable: true
logging: "silent" # Logging level specific to RTM traffic.
# A prefix similar to inbound_uri_prefix for oauth2 requests. inbound_uri_prefix will be used if this is not set
# Optional
# redirect_prefix: "https://my.server.here:9898/mycustomoauthendpoint"

# Allow users to add channels dynamically by using oauth, or puppet themselves.
# Optional
oauth2:
client_id: ""
client_secret: ""

homeserver:
media_url: "{{ matrix_appservice_slack_homeserver_media_url }}"
url: "{{ matrix_appservice_slack_homeserver_url }}"


불러오는 중...
취소
저장