Commit Graph

56 Commits

Author SHA1 Message Date
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
Tulir Asokan f7ac86ee3b Implement whitelist 2018-01-28 19:33:47 +02:00
Tulir Asokan 143ca11f05 Add support for inviting users and initiating chats from Matrix 2018-01-28 17:05:43 +02:00
Tulir Asokan f83f7870c8 Add support for joining chats and initiating private chats 2018-01-28 14:33:40 +02:00
Tulir Asokan 55a87d8d96 Remove unnecessary return statements 2018-01-27 21:11:45 +02:00
Tulir Asokan 06cc5246ab Add initial power level bridging 2018-01-27 21:01:54 +02:00
Tulir Asokan ebe84a1fa9 Implement kicking and fix invites 2018-01-27 17:49:28 +02:00
Tulir Asokan f80f407ae0 Update README and clean up new methods 2018-01-27 16:50:26 +02:00
Tulir Asokan a0bbf0338d Add support for all kinds of files in both directions 2018-01-27 16:31:40 +02:00
Tulir Asokan 9c6fbb8bc5 Add supergroup migrate support 2018-01-27 14:22:14 +02:00
Tulir Asokan 0eace205ad Add avatar syncing and join/leave bridging 2018-01-23 22:14:26 +02:00
Tulir Asokan b862399bfb Refactor and add region comments 2018-01-22 21:49:21 +02:00
Tulir Asokan 8a3ccb6e8c Implement message reply/forward bridging in both directions 2018-01-22 21:20:56 +02:00