Tulir Asokan
dbfb980bde
Add more type hints
2018-07-25 11:02:38 -04:00
Tulir Asokan
ecdca21e32
Stop handling events from custom puppets
2018-07-20 14:13:13 -04:00
Tulir Asokan
2b92483c50
Initial option to replace Matrix puppet of own Telegram account
2018-07-20 12:35:22 -04:00
Tulir Asokan
2a65ccc674
Cache RoomStates and UserProfiles
2018-07-15 00:07:45 +03:00
Tulir Asokan
7515b31164
Move Matrix state cache to main database. Fixes #159
2018-07-12 16:05:54 +03:00
Tulir Asokan
25b1adf626
Add support for logging in with a bot. Fixes #155
2018-06-23 00:44:41 +03:00
Tulir Asokan
17aefd02da
Make alembic result consistent with definitions in db.py and add bot_id to bot_chat table
2018-06-22 21:20:00 +03:00
Tulir Asokan
1aa80c1a8f
Fix user_portal delete cascade when deleting portals
2018-05-31 11:18:20 +03:00
Tulir Asokan
dc85754b1e
Fix postgres compatibility
2018-05-29 15:17:08 +03:00
Tulir Asokan
1f5261ff8f
Initial solution and database update for #11
...
The database now contains a displayname_source field which is the
telegram user ID of the user whose point of view the displayname
is from.
Updates from the relaybot user always take precendence, but currently
the relaybot will never automatically fetch displaynames.
2018-05-19 17:22:16 +03:00
Tulir Asokan
73e7b8f635
Add option to send bot messages as m.notice. Fixes #121
2018-04-29 23:51:27 +03:00
Tulir Asokan
bb13813952
Check if portal is channel before trusting member list
2018-04-29 15:54:16 +03:00
Tulir Asokan
b1c85d5cda
Add moviepy as optional dep for HQ thumbnails, make Pillow optional
...
[db updated]
2018-03-09 16:54:35 +02:00
Tulir Asokan
a469e6ed10
Switch to AGPLv3
2018-03-08 23:49:56 +02:00
Tulir Asokan
633aea45d9
Fix and/or break user_portal management
2018-03-03 14:45:52 +02:00
Tulir Asokan
25252c7b79
Remove delete-orphan cascade rule from User.portals. Hopefully fixes #76
2018-02-22 00:50:13 +02:00
Tulir Asokan
03734a6745
Fix Telegram -> Matrix image bridging
2018-02-21 17:11:47 +02:00
Tulir Asokan
bbc5f99ae9
Fix Alembic setup and add timestamp to TelegramFile
2018-02-20 00:14:47 +02:00
Tulir Asokan
f9d2d32ef0
Save and reuse MXC URIs of bridged files. Fixes #40
2018-02-19 23:27:46 +02:00
Tulir Asokan
7dc5384d52
Update future-fstrings and stop concatenating multiline strings
2018-02-18 11:24:51 +02:00
Tulir Asokan
d7e40a86c6
Check if bot is still in chat at startup
2018-02-17 20:35:07 +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
04714a2975
Save contacts to db and allow local contact search. Fixes #35
2018-02-11 17:19:17 +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
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
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
9722a1ce6f
Implement Matrix->Telegram redactions
2018-01-27 17:27:44 +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
8a3ccb6e8c
Implement message reply/forward bridging in both directions
2018-01-22 21:20:56 +02:00
Tulir Asokan
aaaf52576c
Implement room name and avatar change handling
2018-01-22 19:03:02 +02:00
Tulir Asokan
f1d8312806
Implement Telegram -> Matrix formatted message bridging
2018-01-21 15:15:13 +02:00
Tulir Asokan
899f491707
Add plain text message bridging
2018-01-20 23:59:51 +02:00