diff --git a/README.md b/README.md index 3a84821..597d26f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Matrix-Telegram bridge for YunoHost -[![Integration level](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![Working status](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![Working status](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![Install Matrix-Telegram bridge with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -19,7 +19,7 @@ It shall NOT be edited by hand. A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**Shipped version:** 0.15.1~ynh2 +**Shipped version:** 0.15.2~ynh1 ## Documentation and resources - Official app website: diff --git a/README_es.md b/README_es.md index d99dae4..9d3ebd1 100644 --- a/README_es.md +++ b/README_es.md @@ -5,7 +5,7 @@ No se debe editar a mano. # Matrix-Telegram bridge para Yunohost -[![Nivel de integración](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![Instalar Matrix-Telegram bridge con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -19,7 +19,7 @@ No se debe editar a mano. A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**Versión actual:** 0.15.1~ynh2 +**Versión actual:** 0.15.2~ynh1 ## Documentaciones y recursos - Sitio web oficial: diff --git a/README_eu.md b/README_eu.md index 33fedbd..748c6a1 100644 --- a/README_eu.md +++ b/README_eu.md @@ -5,7 +5,7 @@ EZ editatu eskuz. # Matrix-Telegram bridge YunoHost-erako -[![Integrazio maila](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![Integrazio maila](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![Instalatu Matrix-Telegram bridge YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -19,7 +19,7 @@ EZ editatu eskuz. A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**Paketatutako bertsioa:** 0.15.1~ynh2 +**Paketatutako bertsioa:** 0.15.2~ynh1 ## Dokumentazioa eta baliabideak - Aplikazioaren webgune ofiziala: diff --git a/README_fr.md b/README_fr.md index 32c416c..39232ff 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main. # Matrix-Telegram bridge pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![Installer Matrix-Telegram bridge avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -22,7 +22,7 @@ La passerelle ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/i ** Attention : sauvegardez et restaurez toujours les deux applications Yunohost matrix-synapse et mautrix_telegram en même temps!** -**Version incluse :** 0.15.1~ynh2 +**Version incluse :** 0.15.2~ynh1 ## Documentations et ressources - Site officiel de l’app : diff --git a/README_gl.md b/README_gl.md index a66660d..b10fc0e 100644 --- a/README_gl.md +++ b/README_gl.md @@ -5,7 +5,7 @@ NON debe editarse manualmente. # Matrix-Telegram bridge para YunoHost -[![Nivel de integración](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![Instalar Matrix-Telegram bridge con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -19,7 +19,7 @@ NON debe editarse manualmente. A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**Versión proporcionada:** 0.15.1~ynh2 +**Versión proporcionada:** 0.15.2~ynh1 ## Documentación e recursos - Web oficial da app: diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 933db1b..f494a04 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -5,7 +5,7 @@ # YunoHost 上的 Matrix-Telegram bridge -[![集成程度](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://dash.yunohost.org/appci/app/mautrix_telegram) ![工作状态](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) +[![集成程度](https://dash.yunohost.org/integration/mautrix_telegram.svg)](https://ci-apps.yunohost.org/ci/apps/mautrix_telegram/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/mautrix_telegram.maintain.svg) [![使用 YunoHost 安装 Matrix-Telegram bridge](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_telegram) @@ -19,7 +19,7 @@ A puppeting bridge between Matrix and Telegram packaged as a YunoHost service. Messages, notifications (and sometimes media) are bridged between a Telegram user and a Matrix user. Currently the Matrix user can NOT invite other Matrix user in a bridged Telegram room, so only someone with a Telegram account can participate to Telegram group conversations. The ["Mautrix-Telegram"](https://docs.mau.fi/bridges/python/telegram/index.html) bridge is a Synapse App Service and relies on postgresql. Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**分发版本:** 0.15.1~ynh2 +**分发版本:** 0.15.2~ynh1 ## 文档与资源 - 官方应用网站: diff --git a/conf/config.yaml b/conf/config.yaml index 193f7f8..4c78dab 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -207,6 +207,11 @@ bridge: image_as_file_size: 10 # Maximum number of pixels in an image before sending to Telegram as a document. Defaults to 4096x4096 = 16777216. image_as_file_pixels: 16777216 + # Maximum size of Telegram documents before linking to Telegrm instead of bridge + # to Matrix media. + document_as_link_size: + channel: + bot: # Enable experimental parallel file transfer, which makes uploads/downloads much faster by # streaming from/to Matrix and using many connections for Telegram. # Note that generating HQ thumbnails for videos is not possible with streamed transfers. @@ -500,9 +505,9 @@ bridge: # domain - All users on that homeserver # mxid - Specific user permissions: - "__LISTRELAYBOT__": "relaybot" - "__LISTPUPPETING__": "puppeting" - "__LISTADMIN__": "admin" + "*": "relaybot" + "__BOTUSERS__": "puppeting" + "__BOTADMIN__": "admin" # Options related to the message relay Telegram bot. relaybot: private_chat: @@ -541,6 +546,8 @@ telegram: # Should incoming updates be handled sequentially to make sure order is preserved on Matrix? sequential_updates: true exit_on_update_error: false + # Interval to force refresh the connection (full reconnect). 0 disables it. + force_refresh_interval_seconds: 0 # Telethon connection options. connection: # The timeout in seconds to be used when connecting. diff --git a/manifest.toml b/manifest.toml index 8a3eec7..677fb2a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,7 +4,7 @@ id = "mautrix_telegram" name = "Matrix-Telegram bridge" description.en = "Telegram puppeting bridge for Matrix/Synapse" description.fr = "Passerelle Telegram pour Matrix/Synapse" -version = "0.15.1~ynh2" +version = "0.15.2~ynh1" maintainers = ["thardev"] [upstream]