Commit graph

175 commits

Author SHA1 Message Date
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
bodqhrohro e4c9267347 Send queued presences, handle presence sending errors 2019-11-16 20:44:13 +02:00
bodqhrohro fc5f8d7a65 Fix logging of ignored packets 2019-11-14 22:11:38 +02:00
bodqhrohro 736abcb5bc Send presence for recovered sessions 2019-11-14 22:11:04 +02:00
bodqhrohro 47cf94ad01 Tests for log constants 2019-11-12 20:02:06 +02:00
bodqhrohro a5c97d68e7 Spawn TDlib instances for recovered sessions 2019-11-12 17:50:25 +02:00
bodqhrohro fbe99c65ec Implementation of Ruby YAML::Store and read/save of the session database 2019-11-11 01:50:50 +02:00
bodqhrohro 7185d4ac9b Fix presence handling and lockup on TDlib instance creation 2019-11-07 23:09:53 +02:00
bodqhrohro 29da6ac0a0 Temporarily switch to a fork of go-xmpp 2019-11-07 01:23:41 +02:00
bodqhrohro 55797b98a0 telegram package refactoring 2019-11-05 02:25:15 +02:00
bodqhrohro 0f047c3816 Set logging level for Logrus and TDlib from config 2019-11-05 02:09:07 +02:00
bodqhrohro aaf7233c89 Presence/iq handling and rudimental telegram client 2019-11-04 00:15:43 +02:00
bodqhrohro 7e036fd795 golint 2019-10-29 03:23:57 +02:00
bodqhrohro 695c9fc353 Add config validation 2019-10-25 21:12:38 +03:00
bodqhrohro 72c9dac62c Add tests for config package (failing for now) 2019-10-22 22:56:11 +03:00
bodqhrohro 9b4a09677a Hello world XMPP echo component 2019-10-22 19:36:54 +03:00