pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/mautrix-telegram Update chat/mautrix-telegram to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72228d61d559
branches:  trunk
changeset: 377603:72228d61d559
user:      js <js%pkgsrc.org@localhost>
date:      Sat Apr 23 13:49:50 2022 +0000

description:
Update chat/mautrix-telegram to 0.11.3

# v0.11.3 (2022-04-17)

**N.B.** This release drops support for old homeservers which don't support the
new `/v3` API endpoints. Synapse 1.48+, Dendrite 0.6.5+ and Conduit 0.4.0+ are
supported. Legacy `r0` API support can be temporarily re-enabled with `pip install mautrix==0.16.0`.
However, this option will not be available in future releases.

### Added
* Added `list-invite-links` command to list invite links in a chat.
* Added option to use [MSC2246] async media uploads.
* Provisioning API for listing contacts and starting private chats.

### Improved
* Dropped Python 3.7 support.
* Telegram->Matrix message formatter will now replace `t.me/c/chatid/messageid`
  style links with a link to the bridged Matrix event (in addition to the
  previously supported `t.me/username/messageid` links).
* Updated formatting converter to keep newlines in code blocks as `\n` instead
  of converting them to `<br/>`.
* Removed `max_document_size` option. The bridge will now fetch the max size
  automatically using the media repo config endpoint.
* Removed redundant `msgtype` field in sticker events sent to Matrix.
* Disabled file logging in Docker image by default.
  * If you want to enable it, set the `filename` in the file log handler to a
    path that is writable, then add `"file"` back to `logging.root.handlers`.
* Reactions are now marked as read when bridging read receipts from Matrix.

### Fixed
* Fixed `!tg bridge` throwing error if the parameter is not an integer
* Fixed `!tg bridge` failing if the command had been previously run with an
  incorrectly prefixed chat ID (e.g. `!tg bridge -1234567` followed by
  `!tg bridge -1001234567`).
* Fixed `bridge_matrix_leave` config option not actually being used correctly.
* Fixed public channel mentions always bridging into a user mention on Matrix
  rather than a room mention.
  * The bridge will now make room mentions if the portal exists and fall back
    to user mentions otherwise.
* Fixed newlines being lost in unformatted forwarded messages.

[MSC2246]: https://github.com/matrix-org/matrix-spec-proposals/pull/2246

# v0.11.2 (2022-02-14)

**N.B.** This will be the last release to support Python 3.7. Future versions
will require Python 3.8 or higher. In general, the mautrix bridges will only
support the lowest Python version in the latest Debian or Ubuntu LTS.

### Added
* Added simple fallback message for live location and venue messages from Telegram.
* Added support for `t.me/+code` style invite links in `!tg join`.
* Added support for showing channel profile when users send messages as a channel.
* Added "user joined Telegram" message when Telegram auto-creates a DM chat for
  a new user.

### Improved
* Added option for adding a random prefix to relayed user displaynames to help
  distinguish them on the Telegram side.
* Improved syncing profile info to room info when using encryption and/or the
  `private_chat_profile_meta` config option.
* Removed legacy `community_id` config option.

### Fixed
* Fixed newlines disappearing when bridging channel messages with signatures.
* Fixed login throwing an error if a previous login code expired.
* Fixed bug in v0.11.0 that broke `!tg create`.

diffstat:

 chat/mautrix-telegram/Makefile |  20 ++++++++++----------
 chat/mautrix-telegram/PLIST    |  20 +++++++++++++++++++-
 chat/mautrix-telegram/distinfo |   8 ++++----
 3 files changed, 33 insertions(+), 15 deletions(-)

diffs (104 lines):

diff -r 29d18c3dd5b1 -r 72228d61d559 chat/mautrix-telegram/Makefile
--- a/chat/mautrix-telegram/Makefile    Sat Apr 23 13:43:29 2022 +0000
+++ b/chat/mautrix-telegram/Makefile    Sat Apr 23 13:49:50 2022 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.11 2022/01/15 21:29:50 js Exp $
+# $NetBSD: Makefile,v 1.12 2022/04/23 13:49:50 js Exp $
 
-DISTNAME=      mautrix-telegram-0.11.1
-PKGREVISION=   1
+DISTNAME=      telegram-0.11.3
+PKGNAME=       mautrix-${DISTNAME}
 CATEGORIES=    chat python
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=tulir/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mautrix/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
-WRKSRC=                ${WRKDIR}/telegram-${PKGVERSION_NOREV}
+WRKSRC=                ${WRKDIR}/${DISTNAME}
 
 MAINTAINER=    js%pkgsrc.org@localhost
-HOMEPAGE=      https://github.com/tulir/mautrix-telegram
+HOMEPAGE=      https://github.com/mautrix/telegram
 COMMENT=       Matrix-Telegram hybrid puppeting/relaybot bridge
 LICENSE=       gnu-agpl-v3
 
@@ -20,14 +20,14 @@
 DEPENDS+=      ${PYPKGPREFIX}-commonmark>=0.8<0.10:../../textproc/py-commonmark
 DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3<4:../../www/py-aiohttp
 DEPENDS+=      ${PYPKGPREFIX}-yarl>=1<2:../../www/py-yarl
-DEPENDS+=      ${PYPKGPREFIX}-mautrix>=0.14.3<0.15:../../chat/py-mautrix
-DEPENDS+=      ${PYPKGPREFIX}-tulir-telethon>=1.25.0a3:../../chat/py-tulir-telethon
+DEPENDS+=      ${PYPKGPREFIX}-mautrix>=0.16<0.17:../../chat/py-mautrix
+DEPENDS+=      ${PYPKGPREFIX}-tulir-telethon>=1.25.0a7:../../chat/py-tulir-telethon
 DEPENDS+=      ${PYPKGPREFIX}-asyncpg>=0.20<0.26:../../databases/py-asyncpg
 DEPENDS+=      ${PYPKGPREFIX}-mako>=1<2:../../devel/py-mako
 # webp_convert and qr_login
-DEPENDS+=      ${PYPKGPREFIX}-Pillow>=4<9:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=4<10:../../graphics/py-Pillow
 # qr_login
-DEPENDS+=      ${PYPKGPREFIX}-qrcode>=6<7:../../graphics/py-qrcode
+DEPENDS+=      ${PYPKGPREFIX}-qrcode>=6<8:../../graphics/py-qrcode
 
 USE_LANGUAGES= # none
 
diff -r 29d18c3dd5b1 -r 72228d61d559 chat/mautrix-telegram/PLIST
--- a/chat/mautrix-telegram/PLIST       Sat Apr 23 13:43:29 2022 +0000
+++ b/chat/mautrix-telegram/PLIST       Sat Apr 23 13:49:50 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/15 20:22:06 js Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/04/23 13:49:50 js Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -73,6 +73,9 @@
 ${PYSITELIB}/mautrix_telegram/db/bot_chat.py
 ${PYSITELIB}/mautrix_telegram/db/bot_chat.pyc
 ${PYSITELIB}/mautrix_telegram/db/bot_chat.pyo
+${PYSITELIB}/mautrix_telegram/db/disappearing_message.py
+${PYSITELIB}/mautrix_telegram/db/disappearing_message.pyc
+${PYSITELIB}/mautrix_telegram/db/disappearing_message.pyo
 ${PYSITELIB}/mautrix_telegram/db/message.py
 ${PYSITELIB}/mautrix_telegram/db/message.pyc
 ${PYSITELIB}/mautrix_telegram/db/message.pyo
@@ -94,6 +97,9 @@
 ${PYSITELIB}/mautrix_telegram/db/upgrade/__init__.py
 ${PYSITELIB}/mautrix_telegram/db/upgrade/__init__.pyc
 ${PYSITELIB}/mautrix_telegram/db/upgrade/__init__.pyo
+${PYSITELIB}/mautrix_telegram/db/upgrade/v00_latest_revision.py
+${PYSITELIB}/mautrix_telegram/db/upgrade/v00_latest_revision.pyc
+${PYSITELIB}/mautrix_telegram/db/upgrade/v00_latest_revision.pyo
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v01_initial_revision.py
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v01_initial_revision.pyc
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v01_initial_revision.pyo
@@ -103,6 +109,18 @@
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v03_reactions.py
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v03_reactions.pyc
 ${PYSITELIB}/mautrix_telegram/db/upgrade/v03_reactions.pyo
+${PYSITELIB}/mautrix_telegram/db/upgrade/v04_disappearing_messages.py
+${PYSITELIB}/mautrix_telegram/db/upgrade/v04_disappearing_messages.pyc
+${PYSITELIB}/mautrix_telegram/db/upgrade/v04_disappearing_messages.pyo
+${PYSITELIB}/mautrix_telegram/db/upgrade/v05_channel_ghosts.py
+${PYSITELIB}/mautrix_telegram/db/upgrade/v05_channel_ghosts.pyc
+${PYSITELIB}/mautrix_telegram/db/upgrade/v05_channel_ghosts.pyo
+${PYSITELIB}/mautrix_telegram/db/upgrade/v06_puppet_avatar_url.py
+${PYSITELIB}/mautrix_telegram/db/upgrade/v06_puppet_avatar_url.pyc
+${PYSITELIB}/mautrix_telegram/db/upgrade/v06_puppet_avatar_url.pyo
+${PYSITELIB}/mautrix_telegram/db/upgrade/v07_puppet_phone_number.py
+${PYSITELIB}/mautrix_telegram/db/upgrade/v07_puppet_phone_number.pyc
+${PYSITELIB}/mautrix_telegram/db/upgrade/v07_puppet_phone_number.pyo
 ${PYSITELIB}/mautrix_telegram/db/user.py
 ${PYSITELIB}/mautrix_telegram/db/user.pyc
 ${PYSITELIB}/mautrix_telegram/db/user.pyo
diff -r 29d18c3dd5b1 -r 72228d61d559 chat/mautrix-telegram/distinfo
--- a/chat/mautrix-telegram/distinfo    Sat Apr 23 13:43:29 2022 +0000
+++ b/chat/mautrix-telegram/distinfo    Sat Apr 23 13:49:50 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/01/15 20:22:06 js Exp $
+$NetBSD: distinfo,v 1.6 2022/04/23 13:49:50 js Exp $
 
-BLAKE2s (mautrix-telegram-0.11.1.tar.gz) = 9a13327174f1c4120913bebb97f050b3fae0d12f8b4613d4bce66230c3f51240
-SHA512 (mautrix-telegram-0.11.1.tar.gz) = 699bd0dd7b472bdb0329307ee309b3ee98d09dc2501d9544ab6e6031ec88e4ab9b422d77ecefdfa0a573e3e8726d5f1cb10cb87c94cf0e452f32564d79ca4f9d
-Size (mautrix-telegram-0.11.1.tar.gz) = 688634 bytes
+BLAKE2s (telegram-0.11.3.tar.gz) = 0275fba27113439b0e76409bc36d2b17cb744402f9e3cd3da27251a4d378fb32
+SHA512 (telegram-0.11.3.tar.gz) = e7746cfa85fb4d54a0e1f694436ab69b6bbda903d081e9c7af151e710e2ed980a33c454643adddd682d932efbd8cc2cf4230f1fc5f75f39eaafef89df4630218
+Size (telegram-0.11.3.tar.gz) = 698132 bytes



Home | Main Index | Thread Index | Old Index