Commit Graph

886 Commits

Author SHA1 Message Date
23rd dd01ece14a Replaced snap util function with std::clamp. 2021-01-24 10:41:10 +03:00
John Preston 574d915c23 Fix build and tray icon menu on Windows. 2021-01-22 16:53:59 +04:00
23rd eb42a77eb7 Changed Up arrow shortcut for albums to edit item with caption.
Fixed #10134.
2021-01-22 16:53:59 +04:00
23rd ad761011d6 Added ability to fetch song cover from external resource. 2021-01-22 16:53:59 +04:00
23rd 3fadf2ee54 Added Up arrow shortcut to edit comments. 2021-01-11 22:46:56 +03:00
23rd 15254599e2 Unified checking for editable message. 2021-01-11 22:46:56 +03:00
23rd 8fffe7d128 Added ability to show song cover in HistoryView and Overview::Layout. 2021-01-11 22:46:45 +03:00
John Preston d16bc36bae Update API scheme. 2020-12-22 22:39:30 +04:00
John Preston 92bc278052 Allow inviting contacts to voice chats. 2020-12-22 12:33:06 +04:00
John Preston cabd7a276b Add 'invited' members to voice chats. 2020-12-16 15:58:58 +04:00
John Preston 146a9c2794 Don't edit old 'voice chat started' message. 2020-12-16 12:20:46 +04:00
John Preston 15620b5c2d Divide speaking status and background noise. 2020-12-15 14:16:44 +04:00
John Preston ad2d2c203f Respect 'just_joined' participant flag. 2020-12-14 20:08:47 +04:00
John Preston b6483cb65c Use shared_ptr<Memento> for sections. 2020-12-14 18:48:10 +04:00
23rd c8643aa1ee Wrapped raw SectionMemento with unique_ptr. 2020-12-14 17:09:24 +04:00
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston 2b91eedcd4 Update API scheme. 2020-12-13 23:27:51 +04:00
John Preston 424ba1dbea Track speaking state in non-joined voice chats. 2020-12-11 15:04:34 +04:00
John Preston 49fc066480 Handle GROUPCALL_FORBIDDEN in joinGroupCall. 2020-12-08 13:39:54 +04:00
John Preston 732bc38e8e Show chats list badge only for non-empty calls. 2020-12-06 17:28:27 +04:00
John Preston 80b7858f5e Don't reorder members while menu is shown. 2020-12-06 16:16:11 +04:00
John Preston fdbe6bdeb2 Add voice chat indicator in the chats list. 2020-12-02 13:52:33 +03:00
John Preston c82bc691e0 Improve group call service messages. 2020-12-01 17:17:05 +03:00
John Preston 5a324756fd Track call_active flag in channels. 2020-12-01 16:22:07 +03:00
John Preston 309b3a6f96 Keep speaking state only for 350ms. 2020-12-01 14:59:09 +03:00
John Preston ef119dadd5 Add bouncing of userpics in group call members. 2020-12-01 14:52:40 +03:00
John Preston 498d6226e3 Add blob animations to group call participants. 2020-12-01 12:06:06 +03:00
John Preston 02d5af7d71 Detect animated stickers by mime type. 2020-12-01 09:45:24 +03:00
John Preston d40768f6b0 Use separate styles for group call boxes. 2020-12-01 09:45:23 +03:00
John Preston e66ad89a2a Load unknown participants by source. 2020-12-01 09:45:23 +03:00
John Preston 058199aa0d Track speaking state in participants list. 2020-12-01 09:45:23 +03:00
John Preston 3a5b625d64 Allow inviting members to the group call. 2020-12-01 09:45:23 +03:00
John Preston 9e5006dd67 Add group call settings box. 2020-12-01 09:45:22 +03:00
John Preston abb81c764e Allow discarding group call when leaving. 2020-12-01 09:45:22 +03:00
John Preston d1c821973a Update speaking status based on audio level. 2020-12-01 09:45:22 +03:00
John Preston b54a2aa40b Apply self mute status locally. 2020-12-01 09:45:22 +03:00
John Preston 7983d33ad5 Add manage_call admin right support. 2020-12-01 09:45:22 +03:00
John Preston c8dd486410 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston a6b4cdd62d Improve group call members list updating. 2020-12-01 09:45:22 +03:00
John Preston 858ee0e8c4 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston 41591ff2e9 Add group calls top bar. 2020-12-01 09:45:21 +03:00
John Preston 25f3c14780 Apply group call updates. 2020-12-01 09:45:21 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 62eaa3f225 Update API scheme to layer 121. 2020-12-01 09:45:21 +03:00
John Preston 91b8ad171a Beta version 2.4.10.
- Use inline bots and sticker by emoji suggestions
in channel comments.
- Lock voice message recording,
listen to your voice message before sending.
2020-11-17 18:21:19 +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 f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00
John Preston 74d2313784 Build Linux version with Qt 5.15.1 in CentOS 7 docker. 2020-11-06 11:21:34 +03:00
John Preston 53c308c24b Loop pinned messages in the top bar. 2020-10-30 18:32:21 +03:00
John Preston 68041d2ffb Merge pinned list with migrated legacy group. 2020-10-30 18:32:20 +03:00
John Preston 994e3d8da7 Add hide / unpin all button in pinned section. 2020-10-30 18:32:20 +03:00
John Preston cd5cad72bd Use only shared media code for pinned tracking. 2020-10-30 18:32:20 +03:00
John Preston 698c9fc4be Fix preloading of pinned messages. 2020-10-30 18:32:20 +03:00
John Preston fc92e3fadd Add pinned messages section. 2020-10-30 18:32:20 +03:00
John Preston aefef948cd Improve multi-pinned message bar. 2020-10-30 18:32:20 +03:00
John Preston 012ebdd15e Fix grouping of music files / just files. 2020-10-30 18:32:19 +03:00
John Preston 85d08c8f52 Send files grouped in albums, show captions. 2020-10-30 18:32:19 +03:00
John Preston 7f956d32a6 Support slot machine game. 2020-10-30 18:32:18 +03:00
John Preston 8b96f4c214 Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 05eb549a3d Move App::roundRect to Ui::FillRoundRect. 2020-10-30 18:32:18 +03:00
John Preston 37fb94cbfb Load and show image previews in pinned bar. 2020-10-30 18:32:18 +03:00
John Preston 9b4b15ee6d Handle pinned bar clicks. 2020-10-30 18:32:18 +03:00
John Preston 91a0416037 Implement local pinned bar hiding. 2020-10-30 18:32:18 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston b9f40e35cd Switch between pinned messages in chat. 2020-10-30 18:32:17 +03:00
John Preston ec35e3f081 Track multiple pinned messages in MessagesList. 2020-10-30 18:32:17 +03:00
John Preston 399b03beb2 Implement multi-song albums display. 2020-10-30 18:32:17 +03:00
John Preston cc28ba4284 Update API scheme to layer 120. 2020-10-30 18:32:17 +03:00
23rd 665e322fce Added ability to see attached stickers on documents.
Fixed #8927.
2020-10-30 13:18:40 +03:00
23rd 391ec8ac28 Moved public var indicating stickers presence to private in PhotoData. 2020-10-30 13:18:40 +03:00
Ilya Fedin b0ce88395f Don't stream videos when external player is used
External player feature doesn't work otherwise
2020-10-26 14:58:39 +03:00
John Preston 53ac4c00ad Track deleted messages carefully.
Fixes #8855.
2020-10-23 16:35:43 +03:00
John Preston 3d54a263b8 Stop playing documents when items are deleted. 2020-10-23 15:22:38 +03:00
23rd bc8f8bc68c Added auto-closing to some boxes which depend on certain message. 2020-10-23 13:32:44 +03:00
23rd 5540b0bb8b Fixed glitch for scheduled messages with elapsed date in channels. 2020-10-23 13:32:32 +03:00
John Preston 9697567b8d Add some more open file warnings. 2020-10-23 13:10:43 +03:00
John Preston 9c213bf1c0 Warn when launching .sh on Windows.
Fixes #8753.
2020-10-07 14:41:21 +03:00
23rd 0c1312419a Fixed crash when user schedules message with elapsed date.
Fixed #8764.
2020-10-07 14:30:29 +03:00
John Preston 22a85016e3 Show rank in anonymous outgoing messages. 2020-10-06 10:23:58 +03:00
John Preston a711c89409 Fix crash on wrong server response.
Fixes #8724.
2020-10-05 12:58:12 +03:00
John Preston 4b6d74dd9b Fix opening Replies section on unread bar. 2020-10-02 19:29:29 +03:00
John Preston d965385356 Fix loading comments. 2020-10-02 16:10:50 +03:00
John Preston d66debd802 Fix crash on bad message in Replies section. 2020-10-01 18:08:27 +03:00
John Preston b08fa069b4 Fix assertion violation in case of bad messages. 2020-10-01 17:38:49 +03:00
John Preston 3a700650be Remove comments info if no info in server data. 2020-10-01 11:34:59 +03:00
John Preston 11e03a181d Version 2.4: Fix crash in typing animations. 2020-09-30 21:11:24 +03:00
John Preston e8a58c4c8d Fix crash in replies list management. 2020-09-30 21:11:24 +03:00
23rd 035a19b41e Removed authorizations check form Data::Session. 2020-09-30 18:48:34 +03:00
John Preston 94c2969f8b Support slowmode restrictions in Replies section. 2020-09-30 16:29:32 +03:00
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston e8df47c926 Show send action animations in Replies thread. 2020-09-29 19:03:30 +03:00
John Preston 889139f31f Handle links to replies section. 2020-09-29 19:03:28 +03:00
John Preston 13ad590a51 Track inbox/outbox comments/replies read state. 2020-09-29 19:03:27 +03:00
John Preston e484bc78d0 Update API scheme on layer 119. 2020-09-29 19:03:27 +03:00
John Preston ab429212e5 Respect global group read position in replies. 2020-09-29 19:03:27 +03:00
John Preston 1a40f2b3ef Fix userpics display for min-loaded users. 2020-09-29 19:03:26 +03:00
John Preston 4c1213ce9e Allow blocking users from Replies chat. 2020-09-29 19:03:26 +03:00
John Preston afbc0c498f Use service message instead of unread bar. 2020-09-29 19:03:26 +03:00
John Preston 6eedeb3852 Inject full album to the Replies section. 2020-09-29 19:03:26 +03:00
John Preston 8af559e711 Use first message of album as the leader. 2020-09-29 19:03:26 +03:00