John Preston
de9a757e7a
Fix webview switch_inline to the same chat.
2023-03-08 16:59:30 +04:00
John Preston
4fe568cb82
Implement switch_webview and "web_app_switch_inline_query".
2023-03-07 08:42:29 +03:00
John Preston
b8c510ca6d
Hide shared media layer on jump to message in topic.
2023-02-21 17:10:41 +04:00
John Preston
e61c058eb5
Fix account activation from main menu.
2023-02-15 08:44:24 +04:00
John Preston
c737e2f91b
Track window activation history.
2023-02-03 20:48:12 +04:00
John Preston
be71139515
Add "Translate Entire Chat" button to Settings.
2023-02-02 22:12:32 +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
cdfdccbb66
Detach SystemMediaControls from Window::Controller.
2023-01-19 09:46:20 +04:00
John Preston
6e5dfc79d4
Fix mouse BackButton with more than one window.
...
Fixes #24704 .
2023-01-19 09:46:20 +04:00
John Preston
f8e76f1b84
Single entry point to search in chat.
2023-01-19 09:46:19 +04:00
John Preston
ba520aadcb
Fix hashtags in separate windows.
2023-01-19 09:46:19 +04:00
John Preston
dcb1315d53
Fix assertion violation in a new window init.
...
Fixes #24620 .
In MainWidget updateControlsGeometry accesses SessionController
and itself through SessionController::content, which is not filled
in the MainWidget constructor yet, so ignore initial updates.
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
faf6c48f25
Remove ui/special_buttons module.
2022-12-26 14:24:06 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
037f2bcce2
Fix closing forum by escape.
2022-12-02 13:48:30 +04:00
John Preston
b561705528
Use Window::SlideAnimation in all widgets.
2022-12-01 14:18:37 +04:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03: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
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
23rd
efc0908ed8
Fixed forum closing with Back mouse button.
...
- Fixed #25330 .
2022-11-22 00:26:48 +00:00
John Preston
644ec1f599
Remove base::Observable / base::Variable.
2022-11-11 11:43:24 +04:00
John Preston
187f5fa4f3
Fix emoji panel section appearance in topics.
2022-11-09 11:00:24 +04:00
John Preston
66435d5269
Better folder / chat closing by escape.
2022-11-09 10:22:44 +04:00
John Preston
9d4840c0de
Respect window active state on mark as read.
2022-11-02 20:13:29 +04: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
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
ee8f997c14
Implement search inside a single topic.
2022-11-01 19:25:43 +04:00
John Preston
48fb410bc7
Fix third column profile in topics.
2022-11-01 19:25:42 +04:00
John Preston
602ba5bba9
Implement correct ForumTopic::canWrite logic.
2022-11-01 19:25:42 +04:00
John Preston
df5602d203
Support topic icon display in topic profile.
2022-11-01 19:25:40 +04:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
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
6a7f030ee7
Update API scheme on layer 148.
...
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston
f258b054e8
Request last topic message if it becomes unknown.
2022-11-01 19:25:36 +04:00
John Preston
032e6c57e9
Request full album for last topic message.
2022-11-01 19:25:36 +04:00
John Preston
3b3792ef75
Allow editing topic title and icon.
2022-11-01 19:25:33 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
c01d9747e7
Fix inline via @bot click in additional windows
...
Fixes #24717 .
2022-07-26 20:12:09 +03:00
John Preston
15d6988511
Don't clear history stack on sendBotCommand.
2022-07-26 20:12:09 +03:00
John Preston
d81c40f4c8
Fix new window crash for unavailable channels.
2022-06-22 15:30:56 +04:00
John Preston
3df7c71813
Don't show connecting spinner in secondary windows.
2022-06-16 12:25:50 +04:00
23rd
6d4506f8aa
Fixed display of most of multiline toasts in corresponding window.
2022-06-15 14:06:32 +03:00
23rd
29910cd1f7
Provided Ui::Show to Calls::TopBar.
2022-06-14 14:24:21 +03:00
23rd
f9df37960b
Slightly improved code style in MainWidget.
2022-06-09 07:06:01 +03:00
23rd
43c0197445
Removed Ui::hideLayer from places that can be in non-primary windows.
2022-06-09 07:06:01 +03:00
John Preston
a780fbd09b
Add "ctrl-click-chat-new-window" option.
2022-06-07 22:05:37 +04:00
John Preston
ca731968ca
Improve premium sticker sync / preview.
2022-05-19 17:27:03 +04:00
John Preston
5478a8c014
Show reply info in scheduled forwards.
2022-05-19 17:27:03 +04:00
23rd
b14b1a415f
Removed Q_OBJECT from Dialogs::Widget.
2022-03-15 18:02:30 +03:00
John Preston
6dd720b76e
Don't show downloads bar while message is visible.
2022-03-09 14:52:44 +04:00
23rd
3ebb9af8f8
Removed Ui::hideSettingsAndLayer().
2022-03-04 11:25:10 +03:00
John Preston
aa3357eee1
Show connecting / proxy status above downloads.
...
Fixes #24125 .
2022-03-01 18:39:08 +03:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
John Preston
1710863231
Update some icons.
2022-02-27 20:26:52 +03:00
23rd
f095522cd7
Provided float player delegate only from primary MainWidget.
2022-02-25 19:41:16 +03:00
23rd
e8a5ddad37
Removed width calculation of dialogs list when this list is disabled.
2022-02-25 19:41:16 +03:00
John Preston
d89d8b09da
Preload chats in support switch.
2022-02-08 00:24:11 +03:00
John Preston
18e6e2da9e
Open specific chat only in one window.
2022-01-04 19:36:33 +03:00
John Preston
54247cd11b
Create dialogs widget only in the primary window.
2022-01-04 16:44:53 +03:00
23rd
3aacae2cb2
Added behavior to hide spoilers when switching sections.
2021-12-29 21:22:34 +03:00
John Preston
5e7e7eaa83
FullMsgId rely on PeerId instead of ChannelId.
2021-12-22 10:11:57 +00:00
John Preston
01c2be3f01
Add some checks for actions in a locked state.
2021-12-07 10:01:56 +04:00
John Preston
551e1f787c
Move volume dropdown management to audio player.
2021-11-26 18:00:21 +04:00
John Preston
8d66680a96
Show info about request chat admin incoming message.
2021-11-26 18:00:20 +04:00
John Preston
4f02f722ae
Fix order of playlist and volume / settings dropdowns.
2021-11-26 18:00:20 +04:00
John Preston
74cfaff100
Migrate Media::Player::Instance to rpl.
2021-11-26 18:00:20 +04:00
John Preston
92e2b91f81
Add repeat / order controls to the audio player.
2021-11-26 18:00:20 +04:00
John Preston
395100584f
Add a second dropdown with playback mode controls.
2021-11-26 18:00:20 +04:00
John Preston
b47e29b182
Fix custom chat themes in scheduled messages.
2021-11-26 18:00:19 +04:00
John Preston
773755d70e
Send as a channel in HistoryWidget.
2021-11-26 18:00:18 +04:00
John Preston
8a1140c09f
Extract Media::Player::Dropdown widget.
2021-11-18 21:51:10 +04:00
John Preston
4efeaacf5c
Add send context menu to StickerSetBox.
2021-11-02 20:11:20 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
159beb138a
Moved api peer photo processing to separated file.
...
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
23rd
e3ef7d6631
Removed MainWidget::highlightStartTime.
2021-09-30 18:45:38 +03:00
23rd
21aa1f49d7
Moved views increment scheduler from MainWidget to separate file.
2021-09-30 18:45:38 +03:00
John Preston
ab0d2bf9c6
Initial chat theme changing.
2021-09-28 19:27:41 +04:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
9dfc60026e
Add simple forwarding options on bar click.
2021-08-31 19:47:38 +03:00
John Preston
f5a323e40a
Move all background helper methods to chat_theme module.
2021-08-30 20:32:57 +03:00
23rd
76813db3ad
Completed ability to recover cloud password with email.
2021-08-17 15:08:57 +03:00
John Preston
2667bb3568
Move background caching to Window::SessionController.
2021-08-16 10:26:08 +03:00
John Preston
c2b1187948
Start support of linear gradient wallpapers.
2021-08-16 10:26:08 +03:00
John Preston
85cc3b30a0
Don't use MTP* for WallPaper flags.
2021-08-12 12:32:30 +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