Commit Graph

68 Commits

Author SHA1 Message Date
Tulir Asokan 2aa48f37a9 Merge pull request #79 from tulir/authless-relaybot-portals
Allow creating relaybot portals without any authenticated users
2018-02-23 18:21:35 +02:00
Tulir Asokan 22e4a189eb Convert Telegram room mentions into pills (ref #62) 2018-02-23 16:45:48 +02:00
Tulir Asokan 2d2fe86757 Move all permissions to single object in config 2018-02-23 12:07:42 +02:00
Tulir Asokan 7c54436dff Initial support for creating portals without any authenticated users 2018-02-22 21:12:35 +02:00
Tulir Asokan 8e98ca1ce8 Don't kick user from portal on logout if chat has relay bot. Fixes #75 2018-02-22 00:37:03 +02:00
Tulir Asokan 5930b2e3bb Stop using db.merge() in most places 2018-02-19 20:35:34 +02:00
Tulir Asokan 7b0c58aa27 Handle incoming messages from bot 2018-02-18 12:03:35 +02:00
Tulir Asokan 7dc5384d52 Update future-fstrings and stop concatenating multiline strings 2018-02-18 11:24:51 +02:00
Tulir Asokan 2f75fa1cfe Add support for bot message relaying 2018-02-17 17:48:48 +02:00
Tulir Asokan 74b3bf3768 Clean up some things 2018-02-16 21:44:17 +02:00
Tulir Asokan c80738e63d Fix logging in 2018-02-16 17:36:41 +02:00
Tulir Asokan 6615a68cee Remove unnecessary get_input_entity calls 2018-02-15 13:14:30 +02:00
Tulir Asokan c29059d5d5 Merge branch 'master' into python3.5 2018-02-14 23:35:55 +02:00
Tulir Asokan 089d372334 Fix incoming channel messages and signatures. Fixes #67 2018-02-14 23:22:09 +02:00
Tulir Asokan 1d98e7850f Forget users when they log out 2018-02-14 21:35:26 +02:00
Tulir Asokan 6d99258c99 Merge branch 'master' into python3.5 2018-02-13 13:55:10 +02:00
Tulir Asokan 0147475aec Add optional edit handling with replies. Fixes #47 2018-02-13 13:35:18 +02:00
Tulir Asokan 2064f2b2d1 Store user portals and kick when logging out. Fixes #53 2018-02-13 00:58:03 +02:00
Tulir Asokan e42fcd2fb3 Move command handlers to own module and add clean-rooms command (ref #59) 2018-02-13 00:08:40 +02:00
Tulir Asokan e1e9ba80fa Add Python 3.5 compatibility 2018-02-11 22:41:44 +02:00
Tulir Asokan 0e56592966 Remove Python 3.5 compatibility on master branch 2018-02-11 22:39:02 +02:00
Tulir Asokan 33d39166c4 Improve search response if no results found 2018-02-11 17:33:40 +02:00
Tulir Asokan 04714a2975 Save contacts to db and allow local contact search. Fixes #35 2018-02-11 17:19:17 +02:00
Tulir Asokan 772e80f74c Add some missing awaits 2018-02-10 20:21:09 +02:00
Tulir Asokan a271322e83 Merge branch 'master' into asyncio 2018-02-10 15:47:16 +02:00
Tulir Asokan 2193e3512d Move version to single place and remove unnecessary peer_type in update handler 2018-02-10 15:46:28 +02:00
Tulir Asokan 02708827ac Merge branch 'master' into asyncio 2018-02-10 13:23:17 +02:00
Tulir Asokan 60dbb0d5c4 Fix start()ing users when initializing after startup 2018-02-10 13:22:21 +02:00
Tulir Asokan 706d19fde8 Fix some errors in StateStore and add app version 2018-02-10 13:21:42 +02:00
Tulir Asokan 0a6f6844bf Use black magic to make initial sync faster 2018-02-10 12:37:58 +02:00
Tulir Asokan a7c81e46e3 Remove unnecessary thread safety 2018-02-10 12:13:13 +02:00
Tulir Asokan 55dc1ff3c7 Initial asyncio version 2018-02-09 23:17:03 +02:00
Tulir Asokan 13c2d327fb Stop passing loggers around and organize imports 2018-02-06 18:10:19 +02:00
Tulir Asokan 9145ebdc64 Fix message ID mapping for channels. Fixes #51 2018-02-06 14:05:55 +02:00
Tulir Asokan 286c3e8cec Handle incoming read receipts in private chats 2018-02-05 23:04:21 +02:00
Tulir Asokan aa1d6c089c Update Telegram user info automatically 2018-02-05 19:40:13 +02:00
Tulir Asokan 11eb9277ed Move TelegramClient extensions to own class 2018-02-05 17:08:00 +02:00
Tulir Asokan 51359747ca Add Telegram->Matrix message pinning support 2018-02-04 23:17:37 +02:00
Tulir Asokan ceeeefeae6 Fix most warnings 2018-02-04 20:31:42 +02:00
Tulir Asokan e90bd07215 Remove debug prints and fix Matrix power level handler 2018-02-04 11:38:55 +02:00
Tulir Asokan f49f71ce8d Bridge group chat portal metadata from Matrix to Telegram. Fixes #33
WARNING: Portal table schema changed. Run the following SQL before updating:
    ALTER TABLE portal ADD COLUMN about VARCHAR
2018-02-03 16:22:23 +02:00
Tulir Asokan e38cf82c40 Add Matrix->Telegram kicking and fix and improve things. Fixes #36 2018-02-01 23:22:16 +02:00
Tulir Asokan f843fd7e85 Add command to forget portal room. Fixes #30 2018-01-29 23:46:46 +02:00
Tulir Asokan b8bcd84c68 Handle leaving Matrix rooms
Fixes #28 - Leaving group chat portals leaves the Telegram chat
Fixes #29 - Leaving private chat portals makes the bridge forget that room
2018-01-29 23:02:18 +02:00
Tulir Asokan 02afc0bc03 Update metadata and fix small things 2018-01-29 21:31:10 +02:00
Tulir Asokan bef850e924 Add future-fstrings to support python 3.5 and possibly 3.4 2018-01-29 18:24:43 +02:00
Tulir Asokan 02e3a07b0a Fix files in private chats 2018-01-29 18:22:03 +02:00
Tulir Asokan d8ccbd30b9 Sync dialogs after login 2018-01-28 21:54:34 +02:00
Tulir Asokan 9ebc7f5d57 Only send PNGs as images 2018-01-28 21:35:04 +02:00
Tulir Asokan 28593ea50c Fix private chats when multiple users are using the bridge 2018-01-28 21:21:44 +02:00