Commit graph

149 commits

Author SHA1 Message Date
John Preston
e4ca8ae847 Fix several possible crashes. 2024-01-18 22:22:35 +04:00
John Preston
5f97d683df Count senders / captions count correctly in forwards. 2024-01-18 13:26:14 +04:00
John Preston
f6a95df550 Show toast on invite attempt to premium required. 2024-01-18 12:01:03 +04:00
John Preston
f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
87a042b029 Fix build on Linux 2023-11-25 12:59:47 +04:00
23rd
ac6765ebdb Replaced default toast text for shared messages with complex phrases. 2023-11-20 16:25:28 +03:00
John Preston
4bfe40d02e Don't close ShareBox by outside click. 2023-09-05 21:33:04 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
23rd
4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
John Preston
a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston
f66e6879c2 Fix possible crash in messages forwarding.
Regression was introduced in 2c1e7bfcb6.
2023-03-17 19:25:35 +04:00
John Preston
f2ed77649e Preload complex last message on demand. 2023-02-09 09:56:54 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston
7f969e5102 Fix forwarding to General topic. 2022-12-27 11:49:03 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston
b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
bd8e7fdddd Moved out sending method of many messages to many peers to single place. 2022-12-02 17:01:11 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston
fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston
e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston
d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston
306179ca7c Update API scheme on layer 148. 2022-11-01 19:25:40 +04:00
23rd
5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
59903b0b1c Suggest animated emoji in Saved Messages. 2022-08-02 19:23:06 +03:00
23rd
e7b3416da8 Allowed to forward voice messages without full user info. 2022-08-02 16:51:11 +03:00
John Preston
5ce8ed80bf Show premium emoji tooltip on paste. 2022-07-26 20:12:11 +03:00
John Preston
7a10d3d82c Support animated emoji in share box comment. 2022-07-26 20:12:08 +03:00
23rd
236b7bbf28 Fixed display of toast about copying post link in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
23rd
51cb234b37 Moved menu item with check to td_ui. 2022-03-27 17:59:50 +03:00
23rd
2846aa2f77 Moved SendMenu to separated folder. 2022-03-27 17:59:30 +03:00
23rd
03d9876c8a Replaced one side forced origin with vertical one in ShareBox. 2022-03-16 09:29:51 +03:00
23rd
bbc72f752a Provided separated style for general labels in ShareBox. 2022-03-15 18:02:30 +03:00
23rd
63b5eb66ff Provided Window::SessionController to FastShareMessage. 2022-03-06 18:11:47 +03:00
23rd
b9f6591734 Moved out FastShareMessage from history_message. 2022-03-06 18:11:47 +03:00
23rd
fa50a5962c Removed Window::SessionNavigation from ShareBox. 2022-03-06 18:11:47 +03:00
23rd
cf55f1a7cd Added ability to use EditLinkBox without SessionController. 2022-03-06 18:11:47 +03:00
23rd
f721f5edcf Added ability to provide style of schedule box to share box. 2022-03-06 18:11:47 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd
c0ae4b86a6 Provided Window::SessionController to ShareGameScoreByHash. 2022-02-25 19:41:16 +03:00