summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjs <js@pkgsrc.org>2021-09-14 20:01:48 +0000
committerjs <js@pkgsrc.org>2021-09-14 20:01:48 +0000
commitd8b711c1f1cde483ee07ab1070dcd2c0f55ab4aa (patch)
tree4f9e805abeb6f04089933feef027a56b68d9db9f /chat
parentca3b9eb4d9afebe896e413b9f92f160212ec3b35 (diff)
downloadpkgsrc-d8b711c1f1cde483ee07ab1070dcd2c0f55ab4aa.tar.gz
Update chat/mautrix-telegram to 0.10.1
v0.10.0-rc1 Deprecation warning v0.10 is the last release that is guaranteed to support SQLite. A future release will likely switch away from SQLAlchemy and only support Postgres. Added * Support for multiple pins from/to Telegram. * Option to resolve redirects when joining invite links, for people who use custom URLs as invite links (#559). * Command to update about section in Telegram profile info (#375, thanks to @MadhuranS in #599). * Own read marker/unread status from Telegram is now synced to Matrix after backfilling. * Support for showing the individual slots in slot_machine dice rolls from Telegram. Improved * Improved invite link regex to allow joining with less precise invite links (#554, #555). * Invite links can be customized with the --uses=<amount> and --expire=<delta> flags for !tg invite-link. * Read receipts where the target message is unknown will now cause the chat to be marked as fully read instead of the read receipt event being ignored. * WebP stickers are now sent as-is without converting to png. * Default power levels in rooms now allow enabling encryption with PL 50 if e2be is enabled in config (#471, thanks to @Rafaeltheraven in #550). * Updated Docker image to Alpine 3.13 and removed all edge repo stuff. Fixed * Matrix->Telegram location message bridging no longer flips the coordinates. * Fixed some user displaynames constantly changing between contact/non-contact names and other similar cases (#533) v0.10.0 Deprecation warning v0.10 is the last release that is guaranteed to support SQLite. A future release will likely switch away from SQLAlchemy and only support Postgres. See the docs for Postgres migration instructions. Changes since v0.10.0-rc1 * Added options to bridge archive, pin and mute status from Telegram to Matrix. * Added custom fields in Matrix events indicating Telegram gifs. * Allowed zero-width joiners in displaynames so things like multi-part emoji would work correctly. * Fixed Telegram->Matrix typing notifications. v0.10.1 N.B. Docker images have moved from dock.mau.dev/tulir/mautrix-telegram to dock.mau.dev/mautrix/telegram. New versions are only available at the new path. Added * Warning when bridging existing room if bridge bot doesn't have redaction permissions. * Custom flag to invite events that will be auto-accepted using double puppeting. * Custom flags for animated stickers (same as what gifs already had). Improved * Updated to Telethon 1.22. * Updated Docker image to Alpine 3.14. Fixed * Fixed Bridging Matrix location messages with additional flags in geo_uri. * Editing encrypted messages will no longer add an asterisk on Telegram (#623). * Matrix typing notifications won't be echoed back for double puppeted users anymore (#631). * AuthKeyDuplicatedError is now handled properly instead of making the user get stuck. * Fixed public_portals setting not being respected on room creation.
Diffstat (limited to 'chat')
-rw-r--r--chat/mautrix-telegram/Makefile12
-rw-r--r--chat/mautrix-telegram/PLIST9
-rw-r--r--chat/mautrix-telegram/distinfo10
3 files changed, 16 insertions, 15 deletions
diff --git a/chat/mautrix-telegram/Makefile b/chat/mautrix-telegram/Makefile
index cde4ca51a7a..9bcc5446cd4 100644
--- a/chat/mautrix-telegram/Makefile
+++ b/chat/mautrix-telegram/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2021/07/14 08:29:19 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2021/09/14 20:01:48 js Exp $
-DISTNAME= mautrix-telegram-0.9.0
-PKGREVISION= 2
+DISTNAME= mautrix-telegram-0.10.1
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_GITHUB:=tulir/}
GITHUB_TAG= v${PKGVERSION_NOREV}
+WRKSRC= ${WRKDIR}/telegram-${PKGVERSION_NOREV}
MAINTAINER= js@pkgsrc.org
HOMEPAGE= https://github.com/tulir/mautrix-telegram
@@ -21,11 +21,11 @@ DEPENDS+= ${PYPKGPREFIX}-magic>=0.4<0.5:../../sysutils/py-magic
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.8.2<0.9:../../chat/py-mautrix
-DEPENDS+= ${PYPKGPREFIX}-telethon>=1.17<18:../../chat/py-telethon
+DEPENDS+= ${PYPKGPREFIX}-mautrix>=0.10.4<0.11:../../chat/py-mautrix
+DEPENDS+= ${PYPKGPREFIX}-telethon>=1.22<24:../../chat/py-telethon
DEPENDS+= ${PYPKGPREFIX}-telethon-session-sqlalchemy>=0.2.14<0.3:../../chat/py-telethon-session-sqlalchemy
# webp_convert and qr_login
-DEPENDS+= ${PYPKGPREFIX}-Pillow>=4<8:../../graphics/py-Pillow
+DEPENDS+= ${PYPKGPREFIX}-Pillow>=4<9:../../graphics/py-Pillow
# qr_login
DEPENDS+= ${PYPKGPREFIX}-qrcode>=6<7:../../graphics/py-qrcode
diff --git a/chat/mautrix-telegram/PLIST b/chat/mautrix-telegram/PLIST
index 81f607ee81c..609c4d3dc08 100644
--- a/chat/mautrix-telegram/PLIST
+++ b/chat/mautrix-telegram/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/11/18 23:27:56 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/09/14 20:01:48 js Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,9 +22,6 @@ ${PYSITELIB}/mautrix_telegram/commands/__init__.pyo
${PYSITELIB}/mautrix_telegram/commands/handler.py
${PYSITELIB}/mautrix_telegram/commands/handler.pyc
${PYSITELIB}/mautrix_telegram/commands/handler.pyo
-${PYSITELIB}/mautrix_telegram/commands/manhole.py
-${PYSITELIB}/mautrix_telegram/commands/manhole.pyc
-${PYSITELIB}/mautrix_telegram/commands/manhole.pyo
${PYSITELIB}/mautrix_telegram/commands/matrix_auth.py
${PYSITELIB}/mautrix_telegram/commands/matrix_auth.pyc
${PYSITELIB}/mautrix_telegram/commands/matrix_auth.pyo
@@ -247,8 +244,10 @@ share/mautrix-telegram/alembic/versions/4f7d7ed5792a_switch_mx_user_profile_to_n
share/mautrix-telegram/alembic/versions/501dad2868bc_move_sessions_to_main_database.py
share/mautrix-telegram/alembic/versions/6ca3d74d51e4_move_state_store_to_main_database.py
share/mautrix-telegram/alembic/versions/7d47d84380b6_add_timestamp_to_telegramfile.py
+share/mautrix-telegram/alembic/versions/7de69cf5809e_add_matrix_redaction_state_to_message_.py
share/mautrix-telegram/alembic/versions/888275d58e57_add_double_puppet_base_url_to_puppet_.py
share/mautrix-telegram/alembic/versions/97d2a942bcf8_initial_revision.py
+share/mautrix-telegram/alembic/versions/990f4395afc6_store_displayname_contact_status_in_.py
share/mautrix-telegram/alembic/versions/9e9c89b0b877_add_edit_index_to_messages.py
share/mautrix-telegram/alembic/versions/a328bf4f0932_store_encryption_state_event_in_db.py
share/mautrix-telegram/alembic/versions/a7c04a56041b_store_custom_puppet_next_batch_in_.py
@@ -256,10 +255,12 @@ share/mautrix-telegram/alembic/versions/a9119be92164_add_phone_number_field_to_u
share/mautrix-telegram/alembic/versions/b54929c22c86_add_portal_specific_config.py
share/mautrix-telegram/alembic/versions/bcfefa1f1299_add_displayname_source_fields_for_.py
share/mautrix-telegram/alembic/versions/bdadd173ee02_update_telethon_update_state_table.py
+share/mautrix-telegram/alembic/versions/bfc0a39bfe02_store_displayname_quality_in_puppet_.py
share/mautrix-telegram/alembic/versions/ccbaff858240_switch_to_mautrix_python_crypto.py
share/mautrix-telegram/alembic/versions/cfc972368e50_add_metadata_to_telegramfile.py
share/mautrix-telegram/alembic/versions/d3c922a6acd2_add_decryption_info_field_for_.py
share/mautrix-telegram/alembic/versions/d5f7b8b4b456_add_access_token_and_custom_mxid_fields_.py
share/mautrix-telegram/alembic/versions/dff56c93da8d_add_matrix_nio_state_store_to_main_db.py
+share/mautrix-telegram/alembic/versions/ec1d3dcc77e9_switch_telegram_ids_to_bigints.py
share/mautrix-telegram/alembic/versions/eeaf0dae87ce_add_telethon_update_state_table.py
share/mautrix-telegram/example-config.yaml
diff --git a/chat/mautrix-telegram/distinfo b/chat/mautrix-telegram/distinfo
index aa377b818fa..64d7e5eb7a4 100644
--- a/chat/mautrix-telegram/distinfo
+++ b/chat/mautrix-telegram/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/11/18 23:27:56 js Exp $
+$NetBSD: distinfo,v 1.2 2021/09/14 20:01:48 js Exp $
-SHA1 (mautrix-telegram-0.9.0.tar.gz) = 066ccaf81abf9464c1433d402579382eee2fb81f
-RMD160 (mautrix-telegram-0.9.0.tar.gz) = 99863468266710b1c22c8a9be8f248891c174bcd
-SHA512 (mautrix-telegram-0.9.0.tar.gz) = 16622cf9f1624c8641fbda9a47e34bc78d08f068cf6c6715fb8da8d2bad19e02fc161b8b246623400831f25d466fa40ae14115bae716997ed83e8ba683e30c76
-Size (mautrix-telegram-0.9.0.tar.gz) = 684824 bytes
+SHA1 (mautrix-telegram-0.10.1.tar.gz) = 8886bddb5047932b6270648852b0e47fa0937c8e
+RMD160 (mautrix-telegram-0.10.1.tar.gz) = 960d2f15d4bef6368e2bd206cdd1353326755c3b
+SHA512 (mautrix-telegram-0.10.1.tar.gz) = 916653e4b59bfaee3509b53735d66a1144895159fedaee24e5b82ef589f73eadc08d970ab39ee25d666d0dd3bb5451f08ef92ea836a5d6fbed2a6f3732318670
+Size (mautrix-telegram-0.10.1.tar.gz) = 690313 bytes