Commit Graph

170 Commits

Author SHA1 Message Date
Tulir Asokan 29c71b48de Improve login page style and fix bugs 2018-02-21 23:35:44 +02:00
Tulir Asokan e96e1459eb Move commands/util.py to util/ 2018-02-20 21:49:52 +02:00
Tulir Asokan 1cf0a6b150 Merge branch 'master' into independent-login 2018-02-20 21:48:05 +02:00
Tulir Asokan 6e1d497e66 Fix edit handling/deduplication in channels. Fixes #74 2018-02-20 21:43:08 +02:00
Tulir Asokan 12d4025752 Implement Telegram->Matrix deletion bridging. Fixes #63 2018-02-20 20:43:05 +02:00
Tulir Asokan 05853115c6 Use file deduplication for avatars 2018-02-20 13:34:40 +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 c21a55ebc7 portal.py refactoring 2018-02-19 22:30:34 +02:00
Tulir Asokan 092b80ad02 Handle surrogates in a non-hacky way 2018-02-19 20:53:37 +02:00
Tulir Asokan 51b868d9ce Split formatter to two files 2018-02-19 20:45:40 +02:00
Tulir Asokan 5930b2e3bb Stop using db.merge() in most places 2018-02-19 20:35:34 +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 f6b18497b4 Update bot chats when updating portal participants 2018-02-19 19:32:40 +02:00
Tulir Asokan d21ac58929 Merge branch 'master' into bots 2018-02-19 18:19:53 +02:00
Tulir Asokan 7f86ec6c5d Remove debug prints 2018-02-19 18:13:44 +02:00
Tulir Asokan 1a1d7e6d90 Synchronize all users and fix joining chats via invite links, deleting portals 2018-02-19 18:10:14 +02:00
Tulir Asokan e003151c7b Merge branch 'master' into bots 2018-02-18 21:19:17 +02:00
Tulir Asokan ad11abb56e Add initial out-of-Matrix login system 2018-02-18 19:44:32 +02:00
Tulir Asokan 7d2af0ce75 Merge branch 'hotfix/matrix-formatting' 2018-02-18 16:32:26 +02:00
Tulir Asokan f66c182e82 Fix Matrix->Telegram formatted messages throwing an error 2018-02-18 16:29:19 +02:00
Tulir Asokan 91f34543dc Bump version to 0.2.0-dev 2018-02-18 15:50:21 +02:00
Tulir Asokan 95fad313c5 Deduplicate outgoing avatar/title changes 2018-02-18 12:37:47 +02:00
Tulir Asokan 1560647a5d Fix Matrix->Telegram room meta changes 2018-02-18 12:32:56 +02:00
Tulir Asokan 457df435ac Deduplicate service messages, typing notifications and presence 2018-02-18 12:31:52 +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 c1f582f17a Remove debug print 2018-02-17 21:26:22 +02:00
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 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 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 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 192f106bfa Fix unknown command handling and delete-portal confirmation 2018-02-14 21:56:13 +02:00