Commit Graph

465 Commits

Author SHA1 Message Date
Tulir Asokan 193dcc714b Wait for sync to complete when running sync explicitly 2018-04-28 22:01:29 +03:00
Tulir Asokan 445d997be8 Allow deleting messages via relay bot. Fixes #114 2018-04-28 21:52:24 +03:00
Tulir Asokan 8da06c969c Add option to not make publicly joinable channels public on Matrix. Fixes #128 2018-04-28 21:39:43 +03:00
Tulir Asokan c87f410d3e Disable Telethon error reporter 2018-04-28 21:30:47 +03:00
Tulir Asokan 824725a698 Remove unnecessary newlines from some places. Fixes #113 2018-04-28 21:29:11 +03:00
Tulir Asokan 780edd7e57 Add user+portal-specific lock for sending/receiving messages of authenticated users. Fixes #108 2018-04-28 21:21:51 +03:00
Tulir Asokan e231c3ec9a Check prev_content before handling membership event
Fixes #111, #102 not fully fixed, prev_content doesn't
seem to exist every time even if it should
2018-04-28 20:17:55 +03:00
Tulir Asokan f5e3b39105 Merge pull request #127 from V02460/master
Fix Telegram registration
2018-04-23 11:42:42 +03:00
Kai A. Hiller fbb9075bbe Fix Telegram registration 2018-04-23 06:04:54 +02:00
Tulir Asokan 07f5348ff0 Enable debug mode by default in example config 2018-04-19 11:16:32 +03:00
Tulir Asokan 1ce8f08ff2 Remove debug prints and don't set TelegramFile.was_converted if webp image wasn't converted 2018-04-19 11:16:32 +03:00
Jan Christian Grünhage a652fb1d8c fix: copy database path to updated config (#119) 2018-04-17 18:38:39 +03:00
Tulir Asokan 41f2f64322 Update Telethon 2018-04-15 19:01:05 +03:00
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