Commit Graph

277 Commits

Author SHA1 Message Date
Tulir Asokan eef48a9a56 Synchronize deleted users in sync_telegram_users() 2018-02-17 20:35:23 +02:00
Tulir Asokan d7e40a86c6 Check if bot is still in chat at startup 2018-02-17 20:35:07 +02:00
Tulir Asokan 4673546b42 Add option to bridge notices and command to get relaybot info 2018-02-17 19:17:17 +02:00
Tulir Asokan 2f75fa1cfe Add support for bot message relaying 2018-02-17 17:48:48 +02:00
Tulir Asokan 504be22b4b "Handle" missing database messages when handling edits v0.1.0 2018-02-17 15:04:38 +02:00
Tulir Asokan 427d97a1ff Merge pull request #58 from tulir/next-native-replies
Update native reply format
2018-02-17 15:04:05 +02:00
Tulir Asokan 74b3bf3768 Clean up some things 2018-02-16 21:44:17 +02:00
Tulir Asokan 07950fe14e Merge pull request #70 from tulir/edit-deduplication
Add edit event deduplication
2018-02-16 21:43:45 +02:00
Tulir Asokan 196c081c24 Bump Telethon version 2018-02-16 21:02:58 +02:00
Tulir Asokan db637bf543 Add simple edit event deduplication 2018-02-16 17:49:36 +02:00
Tulir Asokan 88ef7d856e Merge branch 'master' into next-native-replies 2018-02-16 17:41:27 +02:00
Tulir Asokan 57e1a863dc Minor style fixes 2018-02-16 17:39:24 +02:00
Tulir Asokan c80738e63d Fix logging in 2018-02-16 17:36:41 +02:00
Tulir Asokan 14d4e5ea6a Add protocol to links if its missing. Fixes #69 2018-02-16 17:36:20 +02:00
Tulir Asokan 0d8428fa70 Fix edit handling 2018-02-16 15:11:14 +02:00
Tulir Asokan 25edade2a9 Use tuple comparison syntax when checking which Telethon branch to install 2018-02-15 20:38:02 +02:00
Tulir Asokan 44fea38231 Fix lint warnings and properly handle ShortMessages 2018-02-15 14:01:14 +02:00
Tulir Asokan 6615a68cee Remove unnecessary get_input_entity calls 2018-02-15 13:14:30 +02:00
Tulir Asokan bed1503383 Merge pull request #68 from tulir/python3.5
Re-add Python 3.5 support to master
2018-02-14 23:51:55 +02:00
Tulir Asokan 664a4f1095 Fix Telethon dependency in setup.py for Python 3.6 2018-02-14 23:51:18 +02:00
Tulir Asokan 44bad0bf2b Make Python 3.5 support mergeable to master 2018-02-14 23:47:36 +02:00
Tulir Asokan c29059d5d5 Merge branch 'master' into python3.5 2018-02-14 23:35:55 +02:00
Tulir Asokan aff2b313c5 Merge branch 'master' into next-native-replies 2018-02-14 23:34:46 +02:00
Tulir Asokan 089d372334 Fix incoming channel messages and signatures. Fixes #67 2018-02-14 23:22:09 +02:00
Tulir Asokan 40be42fec4 Improve initial power level handling
Fixes #66
Fixes #65
2018-02-14 22:46:05 +02:00
Tulir Asokan 5b918ede52 Handle leave fails if user is not in room 2018-02-14 22:20:31 +02:00
Tulir Asokan 192f106bfa Fix unknown command handling and delete-portal confirmation 2018-02-14 21:56:13 +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 16b98fa44c Merge branch 'master' into next-native-replies 2018-02-13 13:52:21 +02:00
Tulir Asokan 27083a23ed Update database when editing message so replies point to edit 2018-02-13 13:51:27 +02:00
Tulir Asokan 04c4ba6429 Merge branch 'master' into next-native-replies 2018-02-13 13:46:07 +02:00
Tulir Asokan 317b7d3dc7 Show that message is edit when using native replies 2018-02-13 13:45:09 +02:00
Tulir Asokan 65ba1f082b Merge branch 'master' into next-native-replies 2018-02-13 13:40:00 +02:00
Tulir Asokan 0147475aec Add optional edit handling with replies. Fixes #47 2018-02-13 13:35:18 +02:00
Tulir Asokan 4207e30a17 Add more checks to clean-rooms handling 2018-02-13 13:28:12 +02:00
Tulir Asokan eb27d1ac5b Remove warning about old-style native replies 2018-02-13 13:09:53 +02:00
Tulir Asokan 90466ba941 Handle IntentErrors when cleaning up rooms 2018-02-13 01:13:27 +02:00
Tulir Asokan 496ebd2c8d Handle some weird cases with get_joined_rooms() 2018-02-13 01:10:03 +02:00
Tulir Asokan e4cb2d458d Add clean-rooms to help text 2018-02-13 01:02:40 +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 b6d1f3b403 Update roadmap 2018-02-12 21:12:49 +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 5e740aca1c Use git+https for github dependency 2018-02-11 20:49:31 +02:00
Tulir Asokan 70c686a7fc Set up Alembic. Fixes #54 2018-02-11 18:42:53 +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 502d1f53e6 Set m.relates_to to None always if it's empty 2018-02-11 13:50:15 +02:00