Commit Graph

317 Commits

Author SHA1 Message Date
John Preston
1c2951598b Handle t.me/channel?boost links. 2023-09-22 09:43:32 +04:00
John Preston
f3647d7f8c Show saved stories / current stories in channels. 2023-09-22 09:43:31 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
John Preston
c12743925e Support ?startapp=value start_param passing. 2023-09-15 15:36:09 +04:00
John Preston
36f1a18b3b Show terms on attach bot direct link app. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston
076aa9452e Unblock the bot before sharing phone number. 2023-09-04 17:36:55 +04:00
23rd
4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
John Preston
83eb352747 Fix archive open in single-column layout.
Regression was introduced in 16128d61c0.

Before we always force-closed the current filter,
which always force-closed the current opened chat.

Now we don't touch the filter if it is All Chats already,
so that it's scroll state isn't forgotten. In that case
we have to clear the stack in single-column layout explicitly.
2023-08-17 10:31:17 +02:00
John Preston
d57d95c53f Pass context chat from one webview to another. 2023-08-15 15:01:34 +02:00
John Preston
4402cce928 Allow archive with stories only. 2023-07-20 07:20:57 +04:00
John Preston
10f65c63e7 Allow opening unknown stories from chats list. 2023-07-20 07:20:56 +04:00
John Preston
d567282430 Preload stories in the sources lists. 2023-07-20 07:20:14 +04:00
John Preston
4e39144d0f Resolve unknown story on open. 2023-07-20 07:20:12 +04:00
John Preston
e98770d418 Improve saved / archive stories design. 2023-07-20 07:20:12 +04:00
John Preston
881867186a Load more saved / archive in the viewer. 2023-07-20 07:20:11 +04:00
John Preston
c133f4de69 Display shared stories in message history. 2023-07-20 07:20:11 +04:00
John Preston
d7186e68e2 Open stories by t.me/username?story=id links. 2023-07-20 07:20:11 +04:00
John Preston
7f8a985067 Start stories overview in profile / My Stories. 2023-07-20 07:20:10 +04:00
John Preston
8eac04cb90 Track and load ids of expired mine stories. 2023-07-20 07:20:10 +04:00
John Preston
b71d72ca7c Allow showing stories in different contexts. 2023-07-20 07:20:10 +04:00
John Preston
f40391b4f0 Support two lists of stories sources. 2023-07-20 07:20:10 +04:00
John Preston
f814e401b9 Mark stories as read. 2023-07-20 07:20:09 +04:00
John Preston
2e6790c45c Support replies to stories layout in messages. 2023-07-20 07:20:09 +04:00
John Preston
7a042c23e9 Use real stories data, open from chats list. 2023-07-20 07:20:09 +04:00
John Preston
16128d61c0 Implement nice stories list scrolling. 2023-07-20 07:20:08 +04:00
John Preston
2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston
89ca38ed29 Start stories viewer with ComposeControls. 2023-07-20 07:20:07 +04:00
John Preston
2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
3394094dd3 Close archive / forum on repeated click on current filter. 2023-04-23 20:08:53 +04:00
John Preston
65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston
352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston
bf27185feb Show custom chat wallpapers in chats. 2023-04-17 16:35:50 +04:00
John Preston
de9a757e7a Fix webview switch_inline to the same chat. 2023-03-08 16:59:30 +04:00
John Preston
af51307aa6 Implement opening of t.me/bot/app-s. 2023-03-07 08:42:29 +03:00
John Preston
4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston
bbd937115c Add "Open in new window" to context menu. 2023-02-03 20:47:59 +04:00
John Preston
94b489835c Add chat name / account name / unread count title settings. 2023-02-03 17:51:47 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston
e10964a0bc Allow opening new account in a separate window. 2023-02-02 10:55:04 +04:00
John Preston
7caabb8f5a Fix crash in topics disabling. 2023-01-21 09:42:57 +04:00
John Preston
ec3957fcf3 Active round video moving to active window. 2023-01-19 11:42:00 +04:00
John Preston
b3667d69a1 Each MainWindow has its own Global Menu. 2023-01-19 09:46:19 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston
77078f704c Fix a crash in topic deletion. 2022-12-28 12:44:01 +04:00
John Preston
ca1c826c5c Simplify some code. 2022-12-26 14:24:06 +04:00
John Preston
4db2b83c9b Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics. 2022-12-06 14:32:46 +04:00
John Preston
ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston
5d8a2bc7b7 Implement simple sub-column for topics list. 2022-11-30 13:03:42 +04:00
John Preston
644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston
4a8b5c3015 Add "Show Topics List" button to topic profile. 2022-11-09 10:22:33 +04:00
John Preston
bd8b90055e Fix showing forum in a single-column layout. 2022-11-07 13:19:40 +04:00
John Preston
0dd45de254 Remember scroll state between topic openings. 2022-11-03 16:29:40 +04:00
John Preston
7384cd3463 Support sharing games by link to topics. 2022-11-01 19:25:44 +04:00
John Preston
d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston
1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston
18bf5c0ee2 Handle nice topic / post-in-topic links. 2022-11-01 19:25:43 +04:00
John Preston
aa5f9467f2 Support attach webview bots in topics. 2022-11-01 19:25:43 +04:00
John Preston
46ebbdb547 Open jump-to-date by date click in topics. 2022-11-01 19:25:43 +04:00
John Preston
850746b0ba Improve search-in-topic closing. 2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d Implement jump-to-date in topics. 2022-11-01 19:25:43 +04:00
John Preston
72354f52d4 Improve top bars in forums, in narrow column. 2022-11-01 19:25:41 +04:00
John Preston
5314833c82 Show requests / group call / report in forums. 2022-11-01 19:25:41 +04:00
John Preston
3a967bbbfe Ignore unread counts in non-opened topics. 2022-11-01 19:25:41 +04:00
John Preston
a292f8a34e Allow opening forums from archive / filters. 2022-11-01 19:25:40 +04:00
John Preston
df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +04:00
John Preston
ead427793b Handle forum / topic links. 2022-11-01 19:25:38 +04:00
John Preston
d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston
9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston
3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston
ba2f92906b Implement new bubble rounding. 2022-11-01 19:25:34 +04:00
John Preston
405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston
c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +04:00
John Preston
bc340d75c4 Insert / Copy emoji from pack preview. 2022-09-14 14:45:23 +04:00
John Preston
2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
33b266175d Allow creating EmojiListWidget without SessionController. 2022-09-02 21:14:30 +04:00
John Preston
fa26afaf9a Rename several HistoryView::Reactions modules. 2022-09-02 21:14:30 +04:00
John Preston
72ed3bfab9 Show leave confirmation when starting an RTMP stream. 2022-08-08 18:19:04 +03:00
John Preston
3a3341fef8 Fix RTMP livestream starting while in another call.
Fixes #24862.
2022-08-08 16:39:44 +03:00
John Preston
2d6008f6ca Fix custom emoji in edit caption / send files box. 2022-07-26 20:12:13 +03:00
John Preston
bb29773090 In jump-to-date don't clear history stack. 2022-07-26 20:12:12 +03:00
23rd
57ecd918f1 Added auto-unblocking of bot when it is auto-submitted. 2022-07-26 20:12:11 +03:00
23rd
6450c213e6 Fixed some global shortcuts with non-primary windows. 2022-07-26 20:12:09 +03:00
23rd
c7c8ebed13 Added initial box for premium gifts. 2022-07-26 20:12:09 +03:00
John Preston
6db3a0ec98 Support optimized lottie emoji. 2022-07-26 20:12:08 +03:00
John Preston
d81c40f4c8 Fix new window crash for unavailable channels. 2022-06-22 15:30:56 +04:00
23rd
1b754d14ae Improved display some api errors in non-primary windows. 2022-06-20 23:08:37 +03:00
23rd
6d4506f8aa Fixed display of most of multiline toasts in corresponding window. 2022-06-15 14:06:32 +03:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston
bcfbdcd6ed Fix build on macOS. 2022-06-10 17:38:52 +04:00
23rd
6ca167679d Added ability to invoke callback for non-primary window controllers. 2022-06-10 14:57:44 +03:00
23rd
bfe873e91c Provided session controller to AddBotToGroupBoxController. 2022-06-09 08:19:11 +03:00
23rd
f0e1498a41 Fixed display of failed peer resolve in corresponding window. 2022-06-09 06:23:51 +03:00