Commit Graph

205 Commits

Author SHA1 Message Date
John Preston 426be943a2 Add proof-of-concept webview-bots attach menu. 2022-03-30 12:23:06 +04:00
23rd df38dde296 Added search messages to HistoryWidget. 2022-03-23 10:03:43 +04:00
23rd d633860e1d Added simple animation of static stickers sending. 2022-02-25 19:41:15 +03:00
John Preston d89d8b09da Preload chats in support switch. 2022-02-08 00:24:11 +03:00
John Preston e509da8fd8 Instantly mark as read visible new reactions. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston 8d66680a96 Show info about request chat admin incoming message. 2021-11-26 18:00:20 +04:00
John Preston 773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston 4691cff3f6 Start SendAsButton in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston 4efeaacf5c Add send context menu to StickerSetBox. 2021-11-02 20:11:20 +04:00
23rd 27dc91e51a Moved management of selecting scroll to separated class in td_ui. 2021-10-30 21:22:51 +03:00
John Preston 7543351bc9 Add pending requests bar in the chat. 2021-10-29 18:31:06 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
23rd 419f6345b3 Added sponsored messages to HistoryWidget. 2021-10-07 11:09:09 +04:00
John Preston ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston 4273167aa2 Adjust outgoing bubble text and icon colors. 2021-09-07 23:41:08 +03:00
23rd c1d3e5f0c5 Removed sending of typing action when sticker is chose in autocomplete. 2021-09-07 23:41:07 +03:00
John Preston 241798ac29 Custom colors in historyDown/unreadMentions buttons. 2021-09-06 13:13:26 +03:00
John Preston 9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
John Preston 85e4c8527b Always write local drafts the same way. 2021-08-30 20:32:58 +03:00
John Preston 474a6a71d9 Move unread mentions menu to chat_helpers/send_context_menu. 2021-08-12 10:06:16 +03:00
test f189ffc6ac Summary 2021-08-12 08:52:56 +03:00
23rd 479611f6df Removed ui_getPeerForMouseAction. 2021-07-27 02:50:08 +03:00
23rd a030907598 Refactored sending bot commands. 2021-07-27 02:50:08 +03:00
23rd 34cac3092f Moved utils for sending bot commands to separated file. 2021-07-27 02:50:08 +03:00
John Preston c789349b24 Support add item animation in ListWidget (sections). 2021-07-20 12:20:22 +03:00
John Preston 7bbc4b7191 Add basic new messages animation. 2021-07-20 12:20:22 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
23rd bc316a2536 Removed Storage::UploadedThumbDocument struct. 2021-07-06 12:13:05 +03:00
John Preston aaefeed3f1 Support custom keyboard placeholders. 2021-07-05 21:12:52 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 221b896117 Suggest converting to gigagroup. 2021-02-22 23:42:42 +04:00
John Preston 467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
John Preston f97064ed37 Add auto-delete control to compose controls. 2021-02-22 23:42:41 +04:00
John Preston 8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
23rd 24b8377a2a Added initial implementation of display sections prevent. 2020-12-14 17:09:24 +04:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston b3eb7858e6 Save local drafts in scheduled / replies sections.
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston 4a0efb9114 Remove Q_OBJECT from HistoryWidget. 2020-11-17 12:58:07 +03:00
John Preston f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00
John Preston 4a8b59b788 Pass reply info to Window::PeerMenu. 2020-11-17 12:58:06 +03:00
23rd cb84e70bdc Improved display management of voice record controls. 2020-11-17 12:56:51 +03:00
23rd 478f5f671c Added initial implementation of voice recording lock. 2020-11-17 12:56:50 +03:00
23rd db564ca486 Replaced voice record processing with VoiceRecordBar in HistoryWidget. 2020-11-17 12:56:50 +03:00
John Preston a21b6d7416 Fix restoring scroll state with a pinned bar. 2020-11-02 11:44:05 +03:00
John Preston 53c308c24b Loop pinned messages in the top bar. 2020-10-30 18:32:21 +03:00
John Preston 08f7069370 Implement new choosing of shown pinned message. 2020-10-30 18:32:21 +03:00
John Preston 61d335469f Improve context menu in pinned section. 2020-10-30 18:32:20 +03:00
John Preston d742fa32de Add button to show all pinned messages. 2020-10-30 18:32:20 +03:00