Commit graph

115 commits

Author SHA1 Message Date
bodqhrohro ae2470dcb7 Improve logging of presence sending failures 2019-12-09 02:57:49 +02:00
bodqhrohro 503e3e0b62 Add /members command 2019-12-08 20:44:17 +02:00
bodqhrohro ad1beafeb3 Add /history command 2019-12-08 18:19:35 +02:00
bodqhrohro fb36f53f3a Add /search command 2019-12-08 18:04:26 +02:00
bodqhrohro 2d3e8ebbb6 Add /delete command 2019-12-08 17:35:27 +02:00
bodqhrohro 4df1643312 Add /close command 2019-12-08 17:25:29 +02:00
bodqhrohro 49423147e3 Add /leave command 2019-12-08 17:08:55 +02:00
bodqhrohro 354887d724 Add /ban command 2019-12-08 16:24:51 +02:00
bodqhrohro 4b099fba41 Add /kick command 2019-12-08 15:58:17 +02:00
bodqhrohro 9f54309b30 Add /invite command 2019-12-08 15:32:43 +02:00
bodqhrohro 4679c01a99 Add /block and /unblock commands 2019-12-08 03:54:09 +02:00
bodqhrohro 5da39f4aa9 Add /secret and /group commands 2019-12-08 01:36:29 +02:00
bodqhrohro 58aefc5232 Add /supergroup and /channel commands 2019-12-07 23:26:58 +02:00
bodqhrohro c5996f304c Add /join command 2019-12-07 23:08:12 +02:00
bodqhrohro b9c07b6f16 Treat contact lookups as successful if user is found but chat is not 2019-12-07 21:25:37 +02:00
bodqhrohro ea0d0df226 Add /add command 2019-12-07 19:56:53 +02:00
bodqhrohro 589876eef5 Add replace command 2019-12-07 18:37:14 +02:00
bodqhrohro 3e791db201 Prevent possible segfault on picking message IDs for deletion 2019-12-07 16:48:26 +02:00
bodqhrohro 0013baa247 Add delete command 2019-12-06 01:21:39 +02:00
bodqhrohro cb8e7f4fef Add tests for sessions 2019-12-05 23:21:07 +02:00
bodqhrohro ec1197f83c Add /config command 2019-12-05 21:56:12 +02:00
bodqhrohro 753a488c9d Add /set* commands 2019-12-05 20:13:17 +02:00
bodqhrohro eeba07eeb0 Add logout command 2019-12-05 01:10:08 +02:00
bodqhrohro c22008d991 Send unavailable status to cached chats on disconnect 2019-12-05 00:14:56 +02:00
bodqhrohro 8cd6387552 Make chats/users cache private 2019-12-04 23:47:44 +02:00
bodqhrohro fa841bfa8b Replace Itoa with FormatInt 2019-12-04 21:29:57 +02:00
bodqhrohro 133d787d38 Fix lossy int64->int32 conversion 2019-12-04 20:37:46 +02:00
bodqhrohro 5b82d5d718 Improve debug logging of Telegram updates 2019-12-04 18:22:22 +02:00
bodqhrohro 354a4acd19 Fix session restoring 2019-12-04 17:55:15 +02:00
bodqhrohro 3ce5081800 Fix segfault on graceful exit 2019-12-04 00:43:48 +02:00
bodqhrohro 8949290c52 Handle downloaded files 2019-12-04 00:17:36 +02:00
bodqhrohro 0c0c8e777a Handle edits and deletions 2019-12-03 23:14:32 +02:00
bodqhrohro 9d31a390a8 Send messages to Telegram 2019-12-03 18:48:41 +02:00
bodqhrohro 90f0490e16 Support commands in mapped chats 2019-12-03 02:32:53 +02:00
bodqhrohro 40b3c6a768 lint 2019-12-02 18:32:32 +02:00
bodqhrohro ca4923f563 Tests for message formatters, fix broken timestamp tests 2019-12-02 18:25:55 +02:00
bodqhrohro 9c25d4ad8f Handle updates of newmessage 2019-12-01 15:13:45 +02:00
bodqhrohro 97dfd1cc00 Fix calculating SHA1 for photo updates 2019-12-01 15:12:55 +02:00
bodqhrohro 1568e29156 Fix last-seen-at format 2019-12-01 15:12:15 +02:00
bodqhrohro 7030ec0f1b Handle updates of newchat 2019-11-30 02:41:22 +02:00
bodqhrohro 6332ea6d28 Handle updates of userstatus 2019-11-29 13:48:27 +02:00
bodqhrohro dbe87fafa8 Handle updates of user status 2019-11-29 02:51:41 +02:00
bodqhrohro bcf222b53d Fetch user info and chats on successful authorization 2019-11-27 00:14:06 +02:00
bodqhrohro 9a292fba94 Add help command 2019-11-26 02:04:11 +02:00
bodqhrohro a89629ab20 Implement an own authorizer 2019-11-25 21:42:11 +02:00
bodqhrohro d6f6207ebb Refactoring: move SendPresence to xmpp/gateway package 2019-11-25 00:20:07 +02:00
bodqhrohro 653b1bde94 Telegram authorization 2019-11-24 19:10:29 +02:00
bodqhrohro c0c21a35a4 Handle unsubscribe presence too, improve logging 2019-11-20 23:45:30 +02:00
bodqhrohro f0c0d0ba94 Save sessions on exit 2019-11-19 22:25:14 +02:00
bodqhrohro a09817976e Retry sending presences for recovered sessions 2019-11-18 21:01:45 +02:00