Tulir Asokan
9174186442
Stop using SQLAlchemy ORM everywhere
2019-02-14 00:06:45 +02:00
Tulir Asokan
dad0ccb3c0
Clean up code
2018-12-23 19:51:02 +02:00
Tulir Asokan
d4ea5f8b38
Improve type hints and set version to 0.4.0+dev
2018-09-10 01:14:12 +03:00
Kai A. Hiller
81531235bc
Replace double quote type annotations with single quotes
2018-08-09 14:36:14 +02:00
Kai A. Hiller
e751d140f2
Change case of new types
2018-08-09 14:11:41 +02:00
Kai A. Hiller
0f8009b1e9
Add missing type hints and fix most type errors except for Optionals.
2018-08-09 03:31:04 +02:00
Kai A. Hiller
01e153662e
Replace star imports with literal values
2018-08-09 02:42:48 +02:00
Kai A. Hiller
08dd5b5b15
Add None return type to functions
2018-08-09 02:42:47 +02:00
Tulir Asokan
dbfb980bde
Add more type hints
2018-07-25 11:02:38 -04:00
Tulir Asokan
d035e9da73
Add user auth level
...
Fixes #162
Closes #168
Closes #170
2018-07-10 14:21:21 +03:00
Tulir Asokan
371c6813de
Stop creating connections for unauthenticated users at startup
2018-06-25 21:30:54 +03:00
Tulir Asokan
b50558a37d
Remove custom send_message() function
2018-06-24 00:03:20 +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
d466060c44
Make logged_in and has_full_access async functions instead of properties
2018-06-22 12:45:19 +03:00
Tulir Asokan
04e2c03dae
Allow inviting relaybot-whitelisted Matrix users to portal from telegram
2018-05-29 15:15:42 +03:00
Tulir Asokan
7a373fa556
Add option to filter telegram chats from being bridged. Fixes #41
2018-05-19 19:35:01 +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
79341b8d28
Add support for Telethon's catch_up() (ref #124 )
2018-05-13 11:22:20 +03:00
Tulir Asokan
423731751d
Make sure BotChat row exists before trying to delete it
2018-04-13 19:45:54 +03:00
Tulir Asokan
91ae50911e
Fix Telethon 0.18.1 compatibility. Fixes #96
2018-03-24 16:39:28 +02:00
Tulir Asokan
715b658a3d
Switch to a simpler non-versioned automatic config update
2018-03-11 11:25:45 +02:00
Tulir Asokan
42e33ab54d
Add temporary patch for TypeMessageEntity
2018-03-10 14:56:25 +02:00
Tulir Asokan
7f52238fbb
Add Telegram bot command access whitelist. Fixes #80
2018-03-10 14:36:44 +02:00
Tulir Asokan
a469e6ed10
Switch to AGPLv3
2018-03-08 23:49:56 +02:00
Tulir Asokan
6d648d51da
Add basic support for bridging existing rooms to existing chats. Fixes #52
2018-03-04 17:10:03 +02:00
Tulir Asokan
57a00468ba
Improve bot command handling and add /id command (ref #52 )
2018-03-04 15:42:38 +02:00
Tulir Asokan
021b60a45e
Update Telethon and use PyPI telethon-aio package
2018-03-04 13:35:24 +02:00
Tulir Asokan
172e472221
Replace send_message_super with markdown flag in send_message
2018-03-03 21:15:44 +02:00
Tulir Asokan
0f706d511a
Fix bot commands and simplify bot-specific update handler
2018-03-03 20:55:13 +02:00
Tulir Asokan
836232db00
Update Telethon version
2018-02-25 12:07:48 +02:00
Tulir Asokan
55046e15b2
Add support for /command@bot bot command syntax
2018-02-24 12:57:18 +02:00
Tulir Asokan
9e5843a0dc
Refactor and clean up code
2018-02-23 21:06:28 +02:00
Tulir Asokan
a1ba82c3b7
Actually use bridge.authless_relaybot_portals somewhere
2018-02-23 18:03:08 +02:00
Tulir Asokan
fb37af12b4
Fix bugs in command handlers and split them to separate methods
2018-02-22 22:09:35 +02:00
Tulir Asokan
7c54436dff
Initial support for creating portals without any authenticated users
2018-02-22 21:12:35 +02:00
Tulir Asokan
2d13c30a26
Fix possible errors
2018-02-21 23:35:59 +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
7b0c58aa27
Handle incoming messages from bot
2018-02-18 12:03:35 +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