Commit Graph

218 Commits (master)

Author SHA1 Message Date
Bohdan Horbeshko fe7346a530 Add /ttl command to set time-to-live of messages in secret chats
2 years ago
Bohdan Horbeshko 2a5af5a264 Add `rawmessages` configuration option
2 years ago
Bohdan Horbeshko 0610479734 Attach resource to presences to prevent unwanted behaviour of some clients
2 years ago
Bohdan Horbeshko 32036e3f90 Fix status update for users who blacklisted you or were online long time ago
2 years ago
Bohdan Horbeshko 5a48600b7a The Proper Subscriptions Filter
2 years ago
Bohdan Horbeshko 9d84965e8b Fix replies to non-text messages
2 years ago
Bohdan Horbeshko 7b90b8e4ae Support poll messages
2 years ago
Bohdan Horbeshko d2f35075e3 Support dice messages
2 years ago
Bohdan Horbeshko 6f4cd5547a Support animated emoji messages
2 years ago
Bohdan Horbeshko ab1af45247 Support contact messages
2 years ago
Bohdan Horbeshko 00f6e41e71 Support venue messages
2 years ago
Bohdan Horbeshko 4b2969925b Fix status caching and send status on subscription
2 years ago
Bohdan Horbeshko 39d38fb487 Fix links to tiny images
2 years ago
Bohdan Horbeshko f7e46d5033 Use UniqueId for file URLs
2 years ago
Bohdan Horbeshko 7dc106a090 Refine download priorities
2 years ago
Bohdan Horbeshko 10e5f31b74 Add MessageForwardOriginMessageImport support
2 years ago
Bohdan Horbeshko fe5ca09c7c Add leave! command to leave group as owner
2 years ago
Bohdan Horbeshko 6701335302 Add /unban / /promote commands
2 years ago
Bohdan Horbeshko 9b4830b980 Support passing user ids to commands that accept @usernames
2 years ago
Bohdan Horbeshko 9a49d66279 Add /mute / /unmute commands
2 years ago
Bohdan Horbeshko de31fa0ad2 Refactor the /members command
2 years ago
Bohdan Horbeshko 86b736ec0d Add /link command to retrieve chat invite link
2 years ago
Bohdan Horbeshko bd281385c3 Another attempt to block unwanted auth requests
2 years ago
Bohdan Horbeshko 2bd15ce6f2 Fix SIGSEGV when a message sender is nil
2 years ago
Bohdan Horbeshko 3cdb625c5e Mark expired online statuses as away
2 years ago
Bohdan Horbeshko 8c20aaa30d Fix links to not-yet-downloaded files
2 years ago
Bohdan Horbeshko 540c6cd546 Unhardcode some paths
2 years ago
Bohdan Horbeshko 6da0fd56ff Force downloading the chat photo when vCard is requested
2 years ago
Bohdan Horbeshko 7261b60916 Fix help message for /s
2 years ago
Bohdan Horbeshko 6eb0e5f15f Migrate back to the upstream go-tdlib
2 years ago
Bohdan Horbeshko 0b79d6feb1 Refactor some chat commands
2 years ago
Bohdan Horbeshko e260668f91 Revert "Don't subscribe to chat updates with no conversations"
2 years ago
Bohdan Horbeshko 3db096734f File download priority fine-tuning
2 years ago
Bohdan Horbeshko 77f9c9f74e ForwardInfo refactoring
2 years ago
Bohdan Horbeshko 9f04ed51bd Make /s replace the whole message; fix replies and whitespace corruption
2 years ago
Bohdan Horbeshko ee6653c0c6 /d / /s / /search commands refactoring
2 years ago
Bohdan Horbeshko 570601d1b8 Fix retrieving only 1 message in /history
2 years ago
Bohdan Horbeshko 077edae986 Add keeponline option
2 years ago
Bohdan Horbeshko d48cb8b586 Fix strel ochka
2 years ago
Bohdan Horbeshko f4e4692a94 Multiple resources handling
2 years ago
Bohdan Horbeshko 462a537021 Fix subscriptions after logging in
2 years ago
Bohdan Horbeshko d36f4449c9 Temporarily switch to a fork of go-tdlib
2 years ago
Bohdan Horbeshko f2f20e680b Fix %!(MISSING) and other formatting issues
2 years ago
Bohdan Horbeshko ad6e92e6d6 Lower the interactor error to warning
2 years ago
Bohdan Horbeshko 2a1c09fcdd Fix a crash on big emojis
2 years ago
Bohdan Horbeshko 105f5017c3 Migrate to TDlib 1.7.9
2 years ago
bodqhrohro bc37cf0c4f Apply formatting to edited messages
4 years ago
bodqhrohro 23f2a85301 Don't subscribe to chat updates with no conversations
4 years ago
bodqhrohro 70383bee12 Convert formatting entities to Markdown
4 years ago
bodqhrohro b8fcac6ae2 Resend chat statuses on probe presence
4 years ago
bodqhrohro a435a0a556 Display existing symlink errors as warnings
4 years ago
bodqhrohro 33e564c62e Remove excessive listener that caused stucking after 1000 updates
4 years ago
bodqhrohro 7ea5e9ac73 Asynchronous message processing with guaranteed sequential per-chat delivery
4 years ago
bodqhrohro 307d5136d4 Verbose errors for message formatting failures
4 years ago
bodqhrohro 536451f648 Make the chats/users cache thread-safe
4 years ago
bodqhrohro ed8fd6415c Migrate some comments from Zhabogram; change queue behaviour
4 years ago
bodqhrohro 915b7fe1de Make status updates asynchronous
4 years ago
bodqhrohro 7a2e355111 Add comments for auth stages
4 years ago
bodqhrohro d439b7a581 Respond for message sending errors
4 years ago
bodqhrohro ab914b0ff7 More relogin fixes, prevent crashing by commands when offline
4 years ago
bodqhrohro 18b5bc0935 Relogin fix
4 years ago
bodqhrohro 05a9aca537 Reconnect fix
4 years ago
bodqhrohro 10aae376f7 Catch timeout setting
4 years ago
bodqhrohro 3918686f21 Connect on probe presence (for clients that do not send online presence first)
4 years ago
bodqhrohro e43a0c3144 Fix breaking the TDlib data on graceful exit
4 years ago
bodqhrohro 74a872a30b Timezone support
4 years ago
bodqhrohro 9e785a56d2 lint
4 years ago
bodqhrohro 503e3e0b62 Add /members command
4 years ago
bodqhrohro ad1beafeb3 Add /history command
4 years ago
bodqhrohro fb36f53f3a Add /search command
4 years ago
bodqhrohro 2d3e8ebbb6 Add /delete command
4 years ago
bodqhrohro 4df1643312 Add /close command
4 years ago
bodqhrohro 49423147e3 Add /leave command
4 years ago
bodqhrohro 354887d724 Add /ban command
4 years ago
bodqhrohro 4b099fba41 Add /kick command
4 years ago
bodqhrohro 9f54309b30 Add /invite command
4 years ago
bodqhrohro 4679c01a99 Add /block and /unblock commands
4 years ago
bodqhrohro 5da39f4aa9 Add /secret and /group commands
4 years ago
bodqhrohro 58aefc5232 Add /supergroup and /channel commands
4 years ago
bodqhrohro c5996f304c Add /join command
4 years ago
bodqhrohro b9c07b6f16 Treat contact lookups as successful if user is found but chat is not
4 years ago
bodqhrohro ea0d0df226 Add /add command
4 years ago
bodqhrohro 589876eef5 Add replace command
4 years ago
bodqhrohro 3e791db201 Prevent possible segfault on picking message IDs for deletion
4 years ago
bodqhrohro 0013baa247 Add delete command
4 years ago
bodqhrohro ec1197f83c Add /config command
4 years ago
bodqhrohro 753a488c9d Add /set* commands
4 years ago
bodqhrohro eeba07eeb0 Add logout command
4 years ago
bodqhrohro c22008d991 Send unavailable status to cached chats on disconnect
4 years ago
bodqhrohro 8cd6387552 Make chats/users cache private
4 years ago
bodqhrohro fa841bfa8b Replace Itoa with FormatInt
4 years ago
bodqhrohro 133d787d38 Fix lossy int64->int32 conversion
4 years ago
bodqhrohro 5b82d5d718 Improve debug logging of Telegram updates
4 years ago
bodqhrohro 3ce5081800 Fix segfault on graceful exit
4 years ago
bodqhrohro 8949290c52 Handle downloaded files
4 years ago
bodqhrohro 0c0c8e777a Handle edits and deletions
4 years ago
bodqhrohro 9d31a390a8 Send messages to Telegram
4 years ago
bodqhrohro 90f0490e16 Support commands in mapped chats
4 years ago
bodqhrohro 40b3c6a768 lint
4 years ago
bodqhrohro ca4923f563 Tests for message formatters, fix broken timestamp tests
4 years ago
bodqhrohro 9c25d4ad8f Handle updates of newmessage
4 years ago
bodqhrohro 97dfd1cc00 Fix calculating SHA1 for photo updates
4 years ago
bodqhrohro 1568e29156 Fix last-seen-at format
4 years ago
bodqhrohro 7030ec0f1b Handle updates of newchat
5 years ago
bodqhrohro 6332ea6d28 Handle updates of userstatus
5 years ago
bodqhrohro dbe87fafa8 Handle updates of user status
5 years ago
bodqhrohro bcf222b53d Fetch user info and chats on successful authorization
5 years ago
bodqhrohro 9a292fba94 Add help command
5 years ago
bodqhrohro a89629ab20 Implement an own authorizer
5 years ago
bodqhrohro 653b1bde94 Telegram authorization
5 years ago
bodqhrohro c0c21a35a4 Handle unsubscribe presence too, improve logging
5 years ago
bodqhrohro f0c0d0ba94 Save sessions on exit
5 years ago
bodqhrohro 47cf94ad01 Tests for log constants
5 years ago
bodqhrohro a5c97d68e7 Spawn TDlib instances for recovered sessions
5 years ago
bodqhrohro 7185d4ac9b Fix presence handling and lockup on TDlib instance creation
5 years ago
bodqhrohro 55797b98a0 telegram package refactoring
5 years ago
bodqhrohro 0f047c3816 Set logging level for Logrus and TDlib from config
5 years ago
bodqhrohro aaf7233c89 Presence/iq handling and rudimental telegram client
5 years ago