Commit Graph

452 Commits

Author SHA1 Message Date
Tulir Asokan 2eba5f687a Improve hacky post-error handling for #108 2018-04-15 17:45:28 +03:00
Tulir Asokan 423731751d Make sure BotChat row exists before trying to delete it 2018-04-13 19:45:54 +03:00
Tulir Asokan 92b86deeba Move invite debug log to start of handler 2018-04-13 19:44:06 +03:00
Tulir Asokan b4b1951509 Add hacky post-error handling for #108 2018-04-13 19:23:54 +03:00
Tulir Asokan cc29aec3f6 Remove timestamp massaging from edits. Fixes #106 2018-04-13 18:09:56 +03:00
Tulir Asokan 65174d9998 Allow signing in with passwords containing spaces 2018-04-13 14:51:08 +03:00
Tulir Asokan 4804023acf Fix bridging Telegram documents (video/audio/file) 2018-04-09 13:35:54 +03:00
Tulir Asokan 459128a417 Fix error when handling DocumentAttributeSticker without alt 2018-04-08 17:57:30 +03:00
Tulir Asokan d40b0b896b Bump mautrix-appservice dependency version and fix mime type document attribute handling 2018-04-07 00:48:55 +03:00
Tulir Asokan 006a5971ea Split up telegram document handling and send stickers as m.sticker
Also add sticker resizing (max 256x256). Cached stickers won't be resized,
delete the `telegram_file` database table if you want all stickers to be
resized.

Fixes #104
2018-04-07 00:34:06 +03:00
Tulir Asokan 4498ab4721 Compress completed roadmap things and add new points 2018-04-02 11:46:42 +03:00
Tulir Asokan 133e4af712 Fix replying to replies of forwarded messages
Fixes #93
2018-03-31 19:48:31 +03:00
Tulir Asokan 66d68f6b63 Fix error when trying to mention unauthenticated users 2018-03-31 11:18:39 +03:00
Tulir Asokan a1297e90ce Update alchemysession to fix get_entity 2018-03-30 12:50:48 +03:00
Tulir Asokan c24cd8fbb1 Update mautrix-appservice to fix timestamp massaging timezone problems 2018-03-29 23:32:09 +03:00
Tulir Asokan 59a0ca33ee Update mautrix-appservice and python 3.5 version of telethon 2018-03-29 22:23:17 +03:00
Tulir Asokan 502a3599fc Add preview 2018-03-29 22:06:45 +03:00
Tulir Asokan 6c0399ac7b Convert t.me message URLs to matrix.to message URLs. Fixes #98 2018-03-29 21:23:47 +03:00
Tulir Asokan 68a743a563 Send Telegram timestamps and source URLs to Matrix
Fixes #97
Fixes #100
2018-03-29 20:57:17 +03:00
Tulir Asokan 22f430c340 Fix forwarded messages from channels not appearing 2018-03-24 17:01:09 +02:00
Tulir Asokan 91ae50911e Fix Telethon 0.18.1 compatibility. Fixes #96 2018-03-24 16:39:28 +02:00
Tulir Asokan 2bf327dbc5 Accept jpegs as images 2018-03-15 20:54:06 +02:00
Tulir Asokan 0e23aafa3d Fix duplicate participants causing some users to be left out 2018-03-12 11:02:43 +02:00
Tulir Asokan 87c87f93ef Fix license in setup.py 2018-03-11 21:07:08 +02:00
Tulir Asokan 578b025f17 Merge pull request #91 from tulir/allow-portals-without-power
Allow portals without power level for AS bot
2018-03-11 21:06:35 +02:00
Tulir Asokan 73de61dabf Fix mautrix-appservice dependency name and bump version 2018-03-11 21:05:18 +02:00
Tulir Asokan c4b2cf3553 Add link to Telegram chat 2018-03-11 14:25:35 +02:00
Tulir Asokan 733bbb30c3 Use canonical alias instead of MXID as default title 2018-03-11 13:46:02 +02:00
Tulir Asokan 88a8404898 Fix saving created portals and use mxid as title by default 2018-03-11 13:41:05 +02:00
Tulir Asokan 54d2b4bba8 Make puppets leave room instead of kicking by AS bot 2018-03-11 13:12:40 +02:00
Tulir Asokan 4448077d43 Fix bot.add_chat() when creating Telegram chat 2018-03-11 13:06:26 +02:00
Tulir Asokan 209d7cbdcc Merge branch 'master' into allow-portals-without-power 2018-03-11 13:01:24 +02:00
Tulir Asokan 715b658a3d Switch to a simpler non-versioned automatic config update 2018-03-11 11:25:45 +02:00
Tulir Asokan 68648d7b5c Improve support for portals without power levels 2018-03-11 10:39:24 +02:00
Tulir Asokan ad9cd27185 Merge branch 'master' into allow-portals-without-power 2018-03-11 10:24:15 +02:00
Tulir Asokan ad67996d91 Update ROADMAP.md 2018-03-11 00:35:37 +02:00
Tulir Asokan b06e7932f0 Add Matrix->Telegram location bridging and add user to relaybot files. Fixes #89 2018-03-10 19:53:08 +02:00
Tulir Asokan 7837f03532 Add Matrix->Telegram message pinning and show user in Telegram->Matrix pinning. Fixes #90 2018-03-10 16:03:37 +02:00
Tulir Asokan 42e33ab54d Add temporary patch for TypeMessageEntity 2018-03-10 14:56:25 +02:00
Tulir Asokan 7f52238fbb Add Telegram bot command access whitelist. Fixes #80 2018-03-10 14:36:44 +02:00
Tulir Asokan ae88aa0553 Add type hints to formatter 2018-03-10 12:36:11 +02:00
Tulir Asokan 2d63c5b3ce Fix and refactor Matrix->Telegram formatter 2018-03-10 09:39:53 +02:00
Tulir Asokan 77c57eb64b Handle FlushError in transfer_file_to_matrix 2018-03-09 23:44:29 +02:00
Tulir Asokan c98e822e6d Add some extra checks before generating thumbnail 2018-03-09 23:25:56 +02:00
Tulir Asokan 85a4982ad9 Update roadmap and remove unnecessary newline 2018-03-09 17:49:26 +02:00
Tulir Asokan b1c85d5cda Add moviepy as optional dep for HQ thumbnails, make Pillow optional
[db updated]
2018-03-09 16:54:35 +02:00
Tulir Asokan a469e6ed10 Switch to AGPLv3 2018-03-08 23:49:56 +02:00
Tulir Asokan 517c7d8b70 Move mautrix-appservice to separate repo. Fixes #37 2018-03-08 23:18:35 +02:00
Tulir Asokan 8bfb416735 Add config option for plaintext highlight bridging 2018-03-08 20:33:42 +02:00
Tulir Asokan 9709768b17 Add mxid parameter to set-pl 2018-03-08 20:01:48 +02:00