Commit Graph

196 Commits

Author SHA1 Message Date
Tulir Asokan ff703c2827 Fix two previous commits 2018-02-06 14:23:06 +02:00
Tulir Asokan 9145ebdc64 Fix message ID mapping for channels. Fixes #51 2018-02-06 14:05:55 +02:00
Tulir Asokan 72b8a25cec Implement message deduplication. Fixes #5 2018-02-06 13:49:03 +02:00
Tulir Asokan 0ab3402928 Fix Telethon max version 2018-02-06 10:50:32 +02:00
Tulir Asokan 286c3e8cec Handle incoming read receipts in private chats 2018-02-05 23:04:21 +02:00
Tulir Asokan 7434393e1f Use username for invite link and fix other things
Fixes #50
Other things:
* Display flood wait errors from commands
* (Maybe) Fix removing room aliases when removing channel username
2018-02-05 22:36:11 +02:00
Tulir Asokan 1161c75f3e Implement groupname command to change channel username/public status
Fixes #45
Fixes #46
2018-02-05 21:46:15 +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 c139e24bf4 Move most of README into wiki 2018-02-05 16:40:22 +02:00
Tulir Asokan 18e96abb3f Update README 2018-02-05 00:20:58 +02:00
Tulir Asokan 00bc02832c Remove debug print (again) 2018-02-05 00:00:23 +02:00
Tulir Asokan 385a4eed49 Add group upgrade command and basic supergroup power level bridging.
Fixes #27
Fixes #31
2018-02-04 23:59:41 +02:00
Tulir Asokan 51359747ca Add Telegram->Matrix message pinning support 2018-02-04 23:17:37 +02:00
Tulir Asokan 52269eb35e Allow inviting Matrix users into portal rooms 2018-02-04 22:53:43 +02:00
Tulir Asokan e6afbf96d9 Allow using cache when syncing Matrix power levels 2018-02-04 22:48:39 +02:00
Tulir Asokan ceeeefeae6 Fix most warnings 2018-02-04 20:31:42 +02:00
Tulir Asokan 4ad0b185b4 Remove debug print in StateStore#is_joined 2018-02-04 11:52:16 +02:00
Tulir Asokan 5b98aab889 Allow using cache when syncing Matrix puppet joins 2018-02-04 11:51:15 +02:00
Tulir Asokan 00afa32782 Make persistent Matrix state cache more useful 2018-02-04 11:39:13 +02:00
Tulir Asokan e90bd07215 Remove debug prints and fix Matrix power level handler 2018-02-04 11:38:55 +02:00
Tulir Asokan ab6ffeedda Persist Matrix state 2018-02-04 11:15:52 +02:00
Tulir Asokan f5b24e189d Move StateStore to its own file 2018-02-03 18:19:15 +02:00
Tulir Asokan fe797bbac1 Update dependencies 2018-02-03 17:13:10 +02:00
Tulir Asokan 0fb70c1ffe Improve help text format 2018-02-03 17:10:51 +02:00
Tulir Asokan 166682fced Add aliases to public channels/supergroups 2018-02-03 17:00:56 +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 1bc246af37 Cleanup and refactoring 2018-02-03 14:39:40 +02:00
Tulir Asokan 3c8ed4454d Enable Telethon logging if debug is enabled 2018-02-03 14:05:44 +02:00
Tulir Asokan a35cb58ee5 Fix kicking users from channels/supergroups 2018-02-03 14:05:20 +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 5311facf97 Replace line breaks with <br> in telegram->matrix converter. Fixes #38 2018-01-30 21:24:49 +02:00
Tulir Asokan 10cc84d7a1 Revert internal command handling changes in 4593e1c857. Fixes #39 2018-01-30 19:33:53 +02:00
Tulir Asokan 89e185320f Update README.md 2018-01-30 16:20:07 +02:00
Tulir Asokan 900167d41c Fix error when an unknown user leaves a room 2018-01-29 23:54:06 +02:00
Tulir Asokan e6bc4c6a2d Improve command help and don't allow management commands if the AS bot is not in the room 2018-01-29 23:50:07 +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 4593e1c857 Add command to get invite link. Fixes #32 2018-01-29 22:40:32 +02:00
Tulir Asokan 6c9b31b0e9 More minor changes 2018-01-29 22:21:58 +02:00
Tulir Asokan 5c5b8ac848 Don't set power level unnecessarily 2018-01-29 22:07:46 +02:00
Tulir Asokan ce02016dc1 Fix typo in variable name 2018-01-29 21:53:35 +02:00
Tulir Asokan 373f8ed051 Fix matrix-python-sdk dependency in setup.py 2018-01-29 21:39:07 +02:00
Tulir Asokan 68ec550c3b Make management commands case-insensitive 2018-01-29 21:32:20 +02:00
Tulir Asokan 02afc0bc03 Update metadata and fix small things 2018-01-29 21:31:10 +02:00
Tulir Asokan 7de58cc5d8 Fix m.emote with a quote 2018-01-29 19:55:09 +02:00
Tulir Asokan 83007ca7b4 Add support for m.emote 2018-01-29 19:53:38 +02:00
Tulir Asokan 61f859ef0d Fix creating private chat portals by inviting puppet 2018-01-29 19:45:19 +02:00
Tulir Asokan 63070624f6 Use concatenation with f-strings in parantheses for future-fstrings compatibility 2018-01-29 19:38:19 +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