Commit Graph

38 Commits

Author SHA1 Message Date
Tulir Asokan 8a7ccc0007 Refactor code 2018-02-24 12:37:12 +02:00
Tulir Asokan 566a2b3892 Add join/leave notifications for unauthenticated users. Fixes #81 2018-02-24 11:44:49 +02:00
Tulir Asokan 9e5843a0dc Refactor and clean up code 2018-02-23 21:06:28 +02:00
Tulir Asokan 2d2fe86757 Move all permissions to single object in config 2018-02-23 12:07:42 +02:00
Tulir Asokan 0a6130607d Fix avatar changes and outgoing meta change deduplication
Also move the telegram ID -> MXID generation to Puppet.get_mxid_from_id()
2018-02-19 19:52:45 +02:00
Tulir Asokan 7f86ec6c5d Remove debug prints 2018-02-19 18:13:44 +02:00
Tulir Asokan 1560647a5d Fix Matrix->Telegram room meta changes 2018-02-18 12:32:56 +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 6d99258c99 Merge branch 'master' into python3.5 2018-02-13 13:55:10 +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 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 772e80f74c Add some missing awaits 2018-02-10 20:21:09 +02:00
Tulir Asokan b0a8d1b984 Remove matrix-client dependency 2018-02-10 16:45:43 +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 52269eb35e Allow inviting Matrix users into portal rooms 2018-02-04 22:53:43 +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 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 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 ce02016dc1 Fix typo in variable name 2018-01-29 21:53:35 +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 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 831851f118 Use named format parameter for alias/name templates 2018-01-28 12:23:22 +02:00
Tulir Asokan 06cc5246ab Add initial power level bridging 2018-01-27 21:01:54 +02:00
Tulir Asokan 9722a1ce6f Implement Matrix->Telegram redactions 2018-01-27 17:27:44 +02:00
Tulir Asokan 8a3ccb6e8c Implement message reply/forward bridging in both directions 2018-01-22 21:20:56 +02:00
Tulir Asokan 130a428641 Implement login 2018-01-21 12:16:06 +02:00
Tulir Asokan 899f491707 Add plain text message bridging 2018-01-20 23:59:51 +02:00