Commit Graph

7063 Commits

Author SHA1 Message Date
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston 8634c1f7f3 Move lang keys to td_lang library. 2020-09-30 12:18:52 +03:00
John Preston def1266216 Rename td-specific libs from lib_ to td_. 2020-09-30 10:51:17 +03:00
23rd 2e02f27a5c Fixed tabbed selector display in Replies / Scheduled messages sections. 2020-09-29 23:44:03 +03:00
John Preston c29730650e Closed alpha version 2.3.2.2. 2020-09-29 20:20:31 +03:00
John Preston 6257445d5e Fix build on Xcode 12. 2020-09-29 20:20:21 +03:00
John Preston 405c8125da Allow sending voice messages in Replies / Scheduled. 2020-09-29 19:03:30 +03:00
John Preston 62da24c20b Improve scroll to unread bar. 2020-09-29 19:03:30 +03:00
John Preston e8df47c926 Show send action animations in Replies thread. 2020-09-29 19:03:30 +03:00
John Preston 433c147dd0 Show message from Replies bot inside thread. 2020-09-29 19:03:30 +03:00
John Preston 8f4fdb6d0d Fix crash in mark folder as read. 2020-09-29 19:03:30 +03:00
23rd aecdc01e41 Added ability to mark all chats as read. 2020-09-29 19:03:29 +03:00
23rd bdce2d5e25 Added ability to mark as read chats from folder from context menu.
Fixed #7507.
Fixed #6004.
2020-09-29 19:03:29 +03:00
23rd 5968219fe4 Added ability to mark as read selected chat with shortcut. 2020-09-29 19:03:29 +03:00
23rd f81271d1fe Simplified confirmed callback for ConfirmBox instances. 2020-09-29 19:03:29 +03:00
23rd 9f3af7234e Added ability to pass confirm callback with close to ConfirmBox. 2020-09-29 19:03:29 +03:00
John Preston 90c0929407 Load Rstrtmgr dynamically. 2020-09-29 19:03:29 +03:00
John Preston 1e31cda78d Fix root comments post layout. 2020-09-29 19:03:29 +03:00
John Preston f7e4f18e9b Fix a crash in failed-sent scheduled messages. 2020-09-29 19:03:29 +03:00
John Preston 0fb42ed82a Use special method for blocking from Replies. 2020-09-29 19:03:29 +03:00
John Preston c535a7c564 Use MaskedInputField for URL input. 2020-09-29 19:03:29 +03:00
John Preston c32f2e71e8 Update fast action icons. 2020-09-29 19:03:28 +03:00
John Preston a38f7b357c Closed alpha version 2.3.2.1. 2020-09-29 19:03:28 +03:00
John Preston 438f69e1b2 Improve root comments message layout. 2020-09-29 19:03:28 +03:00
John Preston 891b4a91a3 Generate correct links to replies section. 2020-09-29 19:03:28 +03:00
John Preston 889139f31f Handle links to replies section. 2020-09-29 19:03:28 +03:00
John Preston 247b1f64ca Show correct outbox ticks in replies section. 2020-09-29 19:03:27 +03:00
John Preston 13ad590a51 Track inbox/outbox comments/replies read state. 2020-09-29 19:03:27 +03:00
John Preston e021e0beb3 Resize scroll area together with pinned root message. 2020-09-29 19:03:27 +03:00
John Preston b097bd7225 Report spam from Replies reports messages. 2020-09-29 19:03:27 +03:00
John Preston 27f85df562 Click on root pinned bar throws to replies start. 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 d89be1d1d4 Don't read messages in channels I'm not in. 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 f53f934001 Handle new typing update in channels. 2020-09-29 19:03:27 +03:00
John Preston a287dec242 Allow sending typing/send actions for Replies section. 2020-09-29 19:03:27 +03:00
John Preston f73b0f0b0d Update API scheme on layer 119. 2020-09-29 19:03:27 +03:00
John Preston 61d89113d4 Handle correctly comment links for public channels. 2020-09-29 19:03:26 +03:00
John Preston 7862443fcb Show comments button for unwrapped medias. 2020-09-29 19:03:26 +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 a91c078fb1 Count attachments only on visible items. 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
John Preston 7f928a92ea Show root as pinned when not visible as message. 2020-09-29 19:03:26 +03:00
John Preston 22dc7601f5 Fix root message pinned bar shadow. 2020-09-29 19:03:26 +03:00
John Preston 9abca29f4c Show comments bar when no unread bar. 2020-09-29 19:03:25 +03:00
John Preston cf48152853 Inject discussed message when no comments. 2020-09-29 19:03:25 +03:00
John Preston 883c3ecf65 Improve root message layout in Replies section. 2020-09-29 19:03:25 +03:00
John Preston 9a96298ef7 Disable revoke all history for bots. 2020-09-29 19:03:25 +03:00
John Preston a1a845dbf1 Improve Replies chat design. 2020-09-29 19:03:25 +03:00
John Preston 40e925d3f9 Remove redundant read comments thread requests. 2020-09-29 19:03:25 +03:00
John Preston 808e8dcf4f Inject discussed message in Replies section. 2020-09-29 19:03:25 +03:00
John Preston c2bb2526d3 Handle updateReadDiscussion. 2020-09-29 19:03:25 +03:00
John Preston 59abe95754 Show comments unread status. 2020-09-29 19:03:25 +03:00
John Preston 040f29abe6 Remove some options from Replies three-dot menu. 2020-09-29 19:03:25 +03:00
John Preston e9dffe78e3 Fix minimal width of message bubble with comments. 2020-09-29 19:03:25 +03:00
John Preston 3a51303fb0 Add go to original button to Replies chat. 2020-09-29 19:03:25 +03:00
John Preston 008a301755 Paint some sort of replies icon. 2020-09-29 19:03:24 +03:00
John Preston be14456290 Show correct reply in Replies bot. 2020-09-29 19:03:24 +03:00
John Preston 4a94a0c438 Show replies dialog correctly. 2020-09-29 19:03:24 +03:00
John Preston 608d8307d9 Scroll to bottom when sending a comment. 2020-09-29 19:03:24 +03:00
John Preston 6f9ea1cc01 Allow posting comments being not in group. 2020-09-29 19:03:24 +03:00
John Preston 47170da813 Show comments button using 'has_link' flag. 2020-09-29 19:03:24 +03:00
John Preston 01ab6e6d4d Support anonymous group admins. 2020-09-29 19:03:24 +03:00
John Preston b8424b1d89 Add read status tracking to comments. 2020-09-29 19:03:24 +03:00
John Preston 78d83a2c69 Show local sending messages in replies section. 2020-09-29 19:03:24 +03:00
John Preston beb623bee2 Add root message display in replies section. 2020-09-29 19:03:23 +03:00
John Preston d42ce87c09 Move discussion group link to three-dot menu. 2020-09-29 19:03:23 +03:00
John Preston 60002555c3 Track comments count correctly. 2020-09-29 19:03:23 +03:00
John Preston fb20be3e6c Open channel comments, not replies. 2020-09-29 19:03:23 +03:00
John Preston 31e1ed216a Add comments button to channel posts. 2020-09-29 19:03:23 +03:00
John Preston ce91caa820 Fix build on macOS. 2020-09-29 19:03:23 +03:00
John Preston 95a579f25f Clear text box when sending media in replies. 2020-09-29 19:03:23 +03:00
John Preston 9fe82480e1 Reply in replies by double click. 2020-09-29 19:03:23 +03:00
John Preston 17549ad5ea Allow replying inside replies section. 2020-09-29 19:03:23 +03:00
John Preston f22a804220 Add navigation through reply stack. 2020-09-29 19:03:22 +03:00
John Preston c563df7d9d Fix navigation in a message replies section. 2020-09-29 19:03:22 +03:00
John Preston 1849f01b15 Jump to near reply inside a replies thread. 2020-09-29 19:03:22 +03:00
John Preston f0e1d2fd02 'base::optional_variant<' -> 'std::variant<v::null_t,' 2020-09-29 19:03:19 +03:00
John Preston 734d834a20 Replace mapbox variant with std::variant. 2020-09-29 19:03:19 +03:00
John Preston 45419205c6 Simple sending from replies section. 2020-09-29 19:03:19 +03:00
John Preston 204645a715 Stick to bottom on new messages. 2020-09-29 19:03:19 +03:00
John Preston 50a0429786 Hide root reply info in replies thread. 2020-09-29 19:03:19 +03:00
John Preston 00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00
John Preston 437c9320cd Implement progressive jpeg loading and sending. 2020-09-29 19:03:18 +03:00
John Preston 0888901d79 Try using progressive jpeg photo size. 2020-09-29 19:03:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston fcdc4cd465 Handle bot callback buttons with password. 2020-09-29 19:03:18 +03:00
John Preston 49c230b898 Update API scheme to layer 118. 2020-09-29 19:03:18 +03:00
John Preston 883a62c0a2 Return 'testmode' code when no authed accounts. 2020-09-29 19:03:18 +03:00
23rd 58008ab7b0 Removed App::wnd from local_url_handlers. 2020-09-29 19:02:52 +03:00
23rd 94468ecf6d Added ability to copy link of not installed sticker pack. 2020-09-29 19:02:52 +03:00
23rd 91118bf087 Removed App::wnd from history_view_context_menu. 2020-09-29 19:02:52 +03:00
Ilya Fedin 6805085bbc Use unique desktop file name for static binary 2020-09-29 18:54:01 +03:00
BugLight 8d5e356733 Add custom host input that replaces commas with dots 2020-09-29 18:27:36 +03:00
Ilya Fedin 4c2779bbaf Fix saving maximized state on Linux 2020-09-29 18:25:57 +03:00
Ilya Fedin 70c993774a Get rid of redudant cmake options 2020-09-29 18:24:16 +03:00
Ilya Fedin f128665f6b Fix -debug argument
processArguments is called before ComputeDebugMode gets called, Logs::DebugEnabled gets overriden that way.
Fix that by setting gDebugMode variable and checking it in ComputeDebugMode.
2020-09-20 16:51:01 +03:00