Commit Graph

176 Commits

Author SHA1 Message Date
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
Tulir Asokan 02e3a07b0a Fix files in private chats 2018-01-29 18:22:03 +02:00
Tulir Asokan ba0786ccc9 Merge pull request #26 from tulir/python-rewrite
Rewrite in Python with Telethon
2018-01-29 12:51:32 +02:00
Tulir Asokan bddd09fddf Update README.md 2018-01-29 12:49:42 +02:00
Tulir Asokan c79eb8b2e7 Update roadmap 2018-01-29 10:47:46 +02:00
Tulir Asokan 6a8b1ce91d Ignore avatar download errors 2018-01-28 22:04:54 +02:00
Tulir Asokan ec5a75c0c6 Fix Puppet#get_displayname() 2018-01-28 21:58:34 +02:00
Tulir Asokan d8ccbd30b9 Sync dialogs after login 2018-01-28 21:54:34 +02:00
Tulir Asokan 007e592525 Handle audio and video files from Matrix 2018-01-28 21:37:44 +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 f8e2a93ef3 Update README 2018-01-28 17:15:28 +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 aadaffa97a Stop typing when sending messages 2018-01-28 14:43:19 +02:00
Tulir Asokan f83f7870c8 Add support for joining chats and initiating private chats 2018-01-28 14:33:40 +02:00
Tulir Asokan 831851f118 Use named format parameter for alias/name templates 2018-01-28 12:23:22 +02:00
Tulir Asokan 6de82f10a0 Add support for displayname preferences 2018-01-27 23:21:51 +02:00
Tulir Asokan 0580ffc83b Fix error when kicking non-Matrix user from Telegram 2018-01-27 23:04:12 +02:00
Tulir Asokan 244a0e159b Bridge file redactions to Telegram 2018-01-27 22:52:23 +02:00
Tulir Asokan 46d8128931 Try not to crash if WebP is not supported 2018-01-27 22:01:44 +02:00