Commit Graph

366 Commits

Author SHA1 Message Date
Tulir Asokan 4237c36dae Fix sending files to Telegram 2018-03-03 15:03:46 +02:00
Tulir Asokan 633aea45d9 Fix and/or break user_portal management 2018-03-03 14:45:52 +02:00
Tulir Asokan 08b6f9dbbf Fix Telegram media handling 2018-03-03 14:20:37 +02:00
Tulir Asokan a9b362943f Update Telethon, fix leave messages and stop deleting sessions 2018-03-03 13:35:50 +02:00
Tulir Asokan ead445b81f Merge pull request #84 from tulir/sqlalchemy-session
Move session storage to the main database
2018-03-03 13:34:05 +02:00
Tulir Asokan 1bea158191 Remove automatic table creation to force users to run Alembic 2018-03-03 11:59:44 +02:00
Tulir Asokan 3a22c1463a Move versions back to TelegramClient init 2018-03-03 11:39:32 +02:00
Tulir Asokan 3a4628cb6e Use Telethon's new AlchemySession for session storage 2018-03-02 20:22:03 +02:00
Tulir Asokan 46cac040c7 Add room unbridge command 2018-03-01 21:10:21 +02:00
Tulir Asokan 64b60559ee Update Telethon 2018-03-01 19:35:59 +02:00
Tulir Asokan 56e4f00705 Add sync command and move commands around 2018-02-25 22:22:11 +02:00
Tulir Asokan da3e37ccc0 Don't await Matrix room updating. Fixes #82 2018-02-25 22:07:59 +02:00
Tulir Asokan f37ea89e98 Remove need to install Telethon manually in production setup 2018-02-25 21:48:31 +02:00
Tulir Asokan a41bf286f2 Fix Telethon when pip --upgrading 2018-02-25 12:44:21 +02:00
Tulir Asokan 1f6b9bd04a Fix error when ignoring update in update_message 2018-02-25 12:16:28 +02:00
Tulir Asokan 836232db00 Update Telethon version 2018-02-25 12:07:48 +02:00
Tulir Asokan 14c2312f9a Add *.mako to mautrix_telegram package_data 2018-02-24 19:12:50 +02:00
Tulir Asokan 5fa8dea06f Update roadmap 2018-02-24 17:14:22 +02:00
Tulir Asokan d5038e6b98 Fix non-inline URL parsing 2018-02-24 14:04:23 +02:00
Tulir Asokan 55046e15b2 Add support for /command@bot bot command syntax 2018-02-24 12:57:18 +02:00
Tulir Asokan 8a7ccc0007 Refactor code 2018-02-24 12:37:12 +02:00
Tulir Asokan 1372a16459 Bridge !commands to Telegram /commands 2018-02-24 12:25:13 +02:00
Tulir Asokan 6c7f687539 Fix MessageEntityBotCommand handling 2018-02-24 12:06:30 +02:00
Tulir Asokan fed8adae97 Actually use bridge.allow_matrix_login 2018-02-24 12:06:19 +02:00
Tulir Asokan 566a2b3892 Add join/leave notifications for unauthenticated users. Fixes #81 2018-02-24 11:44:49 +02:00
Tulir Asokan 9e5cb84140 Refactor more code 2018-02-23 21:24:18 +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 a1ba82c3b7 Actually use bridge.authless_relaybot_portals somewhere 2018-02-23 18:03:08 +02:00
Tulir Asokan 6fced123b1 Add comments in config updates 2018-02-23 17:56:50 +02:00
Tulir Asokan 22e4a189eb Convert Telegram room mentions into pills (ref #62) 2018-02-23 16:45:48 +02:00
Tulir Asokan c2e4f5596c Merge branch 'master' into authless-relaybot-portals 2018-02-23 16:02:18 +02:00
Tulir Asokan a26f2c2c36 Improve Matrix -> Telegram formatter. Fixes #34 2018-02-23 15:53:55 +02:00
Tulir Asokan 74a0a3b621 Fix egg name in dependency_links 2018-02-23 12:22:02 +02:00
Tulir Asokan 5c46aad0d1 Maybe fix production setup 2018-02-23 12:17:17 +02:00
Tulir Asokan 2d2fe86757 Move all permissions to single object in config 2018-02-23 12:07:42 +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 f635d87ea3 Update Telethon to fix mention generation in markdown parser 2018-02-22 21:59:36 +02:00
Tulir Asokan 7c54436dff Initial support for creating portals without any authenticated users 2018-02-22 21:12:35 +02:00
Tulir Asokan 232ec6ee42 Add room pill bridging. Fixes #62 2018-02-22 19:21:29 +02:00
Tulir Asokan 3e62a89b30 Update dependencies 2018-02-22 17:49:08 +02:00
Tulir Asokan 2f9cd15013 Fix registration generation on Python 3.5 2018-02-22 17:28:18 +02:00
Tulir Asokan aded9d9210 Small bugfixes 2018-02-22 17:20:37 +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 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 bbab5a1376 Fix phone flood error display 2018-02-22 00:35:26 +02:00
Tulir Asokan caab071a55 Don't require auth for meta commands 2018-02-22 00:34:57 +02:00
Tulir Asokan cf162e76ec Update setup.py 2018-02-22 00:14:45 +02:00
Tulir Asokan c1eb907e8a Merge pull request #73 from tulir/independent-login
Add support for out-of-Matrix login
2018-02-22 00:04:49 +02:00
Tulir Asokan 725b3a1182 Fix command names in roadmap and add clean-rooms 2018-02-21 23:53:57 +02:00