Commit Graph

83 Commits

Author SHA1 Message Date
Tulir Asokan 8a198e67a8 Register bot chat membership when receiving messages 2018-06-28 00:21:10 +03:00
Tulir Asokan 371c6813de Stop creating connections for unauthenticated users at startup 2018-06-25 21:30:54 +03:00
Tulir Asokan 4a0d00e74c Add support for Matrix displaynames in relaybot messages 2018-06-24 01:24:24 +03:00
Tulir Asokan ad23445b69 Simplify and improve message format config 2018-06-23 23:46:41 +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 b127afbf9b Delete unauthenticated sessions 2018-06-22 15:13:22 +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 79341b8d28 Add support for Telethon's catch_up() (ref #124) 2018-05-13 11:22:20 +03:00
Tulir Asokan 1e0f2c72b5 Fix line lengths and add limit to .editorconfig 2018-04-29 23:51:28 +03:00
Tulir Asokan 193dcc714b Wait for sync to complete when running sync explicitly 2018-04-28 22:01:29 +03:00
Tulir Asokan 91ae50911e Fix Telethon 0.18.1 compatibility. Fixes #96 2018-03-24 16:39:28 +02:00
Tulir Asokan a469e6ed10 Switch to AGPLv3 2018-03-08 23:49:56 +02:00
Tulir Asokan 021b60a45e Update Telethon and use PyPI telethon-aio package 2018-03-04 13:35:24 +02:00
Tulir Asokan a9b362943f Update Telethon, fix leave messages and stop deleting sessions 2018-03-03 13:35:50 +02:00
Tulir Asokan 9e5843a0dc Refactor and clean up code 2018-02-23 21:06:28 +02:00
Tulir Asokan 2aa48f37a9 Merge pull request #79 from tulir/authless-relaybot-portals
Allow creating relaybot portals without any authenticated users
2018-02-23 18:21:35 +02:00
Tulir Asokan 22e4a189eb Convert Telegram room mentions into pills (ref #62) 2018-02-23 16:45:48 +02:00
Tulir Asokan 2d2fe86757 Move all permissions to single object in config 2018-02-23 12:07:42 +02:00
Tulir Asokan 7c54436dff Initial support for creating portals without any authenticated users 2018-02-22 21:12:35 +02:00
Tulir Asokan 8e98ca1ce8 Don't kick user from portal on logout if chat has relay bot. Fixes #75 2018-02-22 00:37:03 +02:00
Tulir Asokan 5930b2e3bb Stop using db.merge() in most places 2018-02-19 20:35:34 +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 74b3bf3768 Clean up some things 2018-02-16 21:44:17 +02:00
Tulir Asokan c80738e63d Fix logging in 2018-02-16 17:36:41 +02:00
Tulir Asokan 6615a68cee Remove unnecessary get_input_entity calls 2018-02-15 13:14:30 +02:00
Tulir Asokan c29059d5d5 Merge branch 'master' into python3.5 2018-02-14 23:35:55 +02:00
Tulir Asokan 089d372334 Fix incoming channel messages and signatures. Fixes #67 2018-02-14 23:22:09 +02:00
Tulir Asokan 1d98e7850f Forget users when they log out 2018-02-14 21:35:26 +02:00
Tulir Asokan 6d99258c99 Merge branch 'master' into python3.5 2018-02-13 13:55:10 +02:00
Tulir Asokan 0147475aec Add optional edit handling with replies. Fixes #47 2018-02-13 13:35:18 +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 e42fcd2fb3 Move command handlers to own module and add clean-rooms command (ref #59) 2018-02-13 00:08:40 +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 33d39166c4 Improve search response if no results found 2018-02-11 17:33:40 +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 772e80f74c Add some missing awaits 2018-02-10 20:21:09 +02:00
Tulir Asokan a271322e83 Merge branch 'master' into asyncio 2018-02-10 15:47:16 +02:00
Tulir Asokan 2193e3512d Move version to single place and remove unnecessary peer_type in update handler 2018-02-10 15:46:28 +02:00
Tulir Asokan 02708827ac Merge branch 'master' into asyncio 2018-02-10 13:23:17 +02:00
Tulir Asokan 60dbb0d5c4 Fix start()ing users when initializing after startup 2018-02-10 13:22:21 +02:00
Tulir Asokan 706d19fde8 Fix some errors in StateStore and add app version 2018-02-10 13:21:42 +02:00
Tulir Asokan 0a6f6844bf Use black magic to make initial sync faster 2018-02-10 12:37:58 +02:00
Tulir Asokan a7c81e46e3 Remove unnecessary thread safety 2018-02-10 12:13:13 +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 9145ebdc64 Fix message ID mapping for channels. Fixes #51 2018-02-06 14:05:55 +02:00
Tulir Asokan 286c3e8cec Handle incoming read receipts in private chats 2018-02-05 23:04:21 +02:00