Commit Graph

161 Commits

Author SHA1 Message Date
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
5314833c82 Show requests / group call / report in forums. 2022-11-01 19:25:41 +04:00
John Preston
df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +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
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +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
33b266175d Allow creating EmojiListWidget without SessionController. 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
2d6008f6ca Fix custom emoji in edit caption / send files box. 2022-07-26 20:12:13 +03:00
23rd
c7c8ebed13 Added initial box for premium gifts. 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
23rd
1b754d14ae Improved display some api errors in non-primary windows. 2022-06-20 23:08:37 +03:00
John Preston
a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
John Preston
a6bc6c877e Add subscribed-to-premium toast. 2022-06-07 12:41:10 +04:00
John Preston
6454f67e74 Support new attach bot deeplinks. 2022-06-03 00:38:04 +04:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
ff030d0252 Auto-submit /start when paying for premium. 2022-05-23 15:45:22 +04:00
John Preston
ca731968ca Improve premium sticker sync / preview. 2022-05-19 17:27:03 +04:00
John Preston
3b5ec78f4f Show first (may be non-"All Chats") folder by default. 2022-05-19 17:27:03 +04:00
John Preston
205cd3b751 Fix mention links to groups and channels. 2022-04-14 14:15:29 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
b1e66279d5 Update API scheme on layer 140. 2022-03-31 13:24:13 +04:00
John Preston
72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston
c6ded00461 Move webview attach code to a separate module. 2022-03-30 12:23:05 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
20bdbf531a Add proof-of-concept support for keyboardButtonWebView. 2022-03-30 12:23:05 +04:00
John Preston
1d8aac26ce Proof of concept webview attach menu support. 2022-03-30 12:23:05 +04:00
John Preston
841da9dde8 Update API scheme on layer 140.
Handle attach argument in resolve username links.
2022-03-30 12:23:05 +04:00
John Preston
468917a91a Add bot to group / channel by link with rights. 2022-03-30 12:23:05 +04:00
23rd
c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
23rd
0f7b0c4227 Added ability to hide layer for specific window controller. 2022-03-04 11:25:10 +03:00
23rd
6bcca6c94e Added Ui::Show implementation for Window::SessionController. 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
John Preston
bea2cfd363 Support t.me/+phonenumber links. 2022-03-01 15:30:22 +03:00
23rd
a3d00b1953 Replaced args for Calls::Instance::startOrJoinGroupCall with struct. 2022-02-28 08:04:46 +03:00
23rd
b46adec413 Added initial controller of message sending animations. 2022-02-25 19:41:15 +03:00
John Preston
d89d8b09da Preload chats in support switch. 2022-02-08 00:24:11 +03:00
John Preston
e032dbf383 Cache reaction lottie in Window::SessionController. 2022-01-14 21:55:47 +03:00
John Preston
54247cd11b Create dialogs widget only in the primary window. 2022-01-04 16:44:53 +03:00
John Preston
371c9c1bfe Implement a nice corner reaction button. 2021-12-29 21:22:33 +03:00
John Preston
e148b5ff08 Proof-of-concept reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston
80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston
7ff74b9e1e Fix build without DBus. 2021-11-07 12:53:10 +04:00
John Preston
97ae094c3c Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04:00
23rd
d8fb5be9b5 Moved opening peer from PeerClickHandler to SessionController. 2021-10-07 23:32:10 +03:00
John Preston
ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston
17511749de Hold only last 5 custom themes in memory. 2021-09-19 18:15:46 +03:00
John Preston
139b9723d7 Accumulate and send emoji interactions. 2021-09-17 10:25:36 +03:00
John Preston
13c00949ed Add a simple way of testing color themes. 2021-09-10 22:29:30 +03:00
John Preston
c318f57fc0 Use outbox bubble colors, adjust custom colors. 2021-09-07 23:41:08 +03:00
John Preston
2a2607d026 Custom colors in history_view_service_message module. 2021-09-06 13:13:26 +03:00
John Preston
beff635e45 Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
John Preston
f5a323e40a Move all background helper methods to chat_theme module. 2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston
1e8e163bb1 Tile patterns horizontally. 2021-08-20 15:55:10 +03:00
John Preston
784d57a2bc Use QImage bubbles background for some Media parts. 2021-08-20 14:54:11 +03:00
John Preston
f4fdadd3b0 Allow arbitrary QImage as outgoing bubbles background. 2021-08-20 14:54:11 +03:00
John Preston
7a06eccaec Make complex gradients animate on outgoing messages. 2021-08-16 16:07:43 +03:00
John Preston
3dadcd9352 Animated transition on pattern-on-gradient resize. 2021-08-16 10:26:08 +03:00
John Preston
b9a9520ef5 Don't blend SoftLight patterns in realtime. 2021-08-16 10:26:08 +03:00
John Preston
2b46f87d7b Cache background quickly if no buttons pressed. 2021-08-16 10:26:08 +03:00
John Preston
2667bb3568 Move background caching to Window::SessionController. 2021-08-16 10:26:08 +03:00
23rd
4909ba5a1e Added ability to pass custom layer widgets to stack. 2021-07-06 12:13:05 +03:00
23rd
7c02d67665 Moved cancelUploadLayer from MainWidget to SessionController. 2021-06-18 09:39:10 +03:00
23rd
7924979dfb Removed Ui::showPeerHistoryAtItem from facades. 2021-06-17 10:57:46 +04:00
23rd
dc0aaec4a4 Added ability to show document from Controller for sections. 2021-06-17 10:57:45 +04:00
23rd
0e89c93993 Added initial ability to show content in OverlayWidget from Controller. 2021-06-17 10:57:45 +04:00
23rd
b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd
2ed3543b53 Renamed class back from AdaptiveModern to Adaptive. 2021-06-16 09:31:32 +03:00
23rd
80fe2f57e9 Removed Adaptive namespace from Window::Controller and MainWidget. 2021-06-16 09:31:32 +03:00
23rd
2d90a06078 Added new Adaptive class to replace legacy Adaptive namespace.
Temporarily named class as AdaptiveModern.
2021-06-16 09:31:32 +03:00
23rd
386fae952b Replaced observable in SessionController with rpl. 2021-06-16 09:31:32 +03:00
John Preston
2c806b11d7 Always join voice chats by link with confirmation. 2021-03-16 17:16:01 +04:00
John Preston
c0df6f7bca Join voice chats by invite links. 2021-03-12 16:58:26 +04:00
John Preston
467449ac13 When reporting peer allow to select messages first. 2021-02-22 23:42:42 +04:00
23rd
019e691fbb Moved some session dependent methods to SessionController.
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +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
546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
23rd
1459e6f38e Moved request for attached stickers to separate file. 2020-10-30 13:18:40 +03:00
John Preston
889139f31f Handle links to replies section. 2020-09-29 19:03:28 +03:00
John Preston
61d89113d4 Handle correctly comment links for public channels. 2020-09-29 19:03:26 +03:00
John Preston
fb20be3e6c Open channel comments, not replies. 2020-09-29 19:03:23 +03:00
John Preston
1849f01b15 Jump to near reply inside a replies thread. 2020-09-29 19:03:22 +03:00
John Preston
5a1a8af222 Suggest enabling archive and mute in settings. 2020-07-25 11:25:51 +04:00
John Preston
638d4d63c5 Update API scheme to layer 115. 2020-07-25 11:24:11 +04:00
23rd
6ac9ef34eb Moved ActivateWindow from HistoryWidget to single place. 2020-07-20 21:44:07 +03:00
John Preston
7d0eb3ba8e Fix crash in MainWidget setup with audio player. 2020-06-30 19:05:12 +04:00
John Preston
c15019dee6 Fix crashes in MainWidget and ApiWrap. 2020-06-30 18:26:44 +04:00
John Preston
bf7aae5fc6 Allow float video player across accounts. 2020-06-25 18:17:37 +04:00
John Preston
30c82bb2e0 Remove some MainWindow::sessionController() calls. 2020-06-23 21:53:44 +04:00
John Preston
ee43027bea Remove some usages of App::main(). 2020-06-23 21:53:39 +04:00
John Preston
f4f6550d66 Clear fake-unread status when switching folders. 2020-05-12 12:18:52 +04:00
John Preston
ad8b0387f3 Improve phrases for loading / empty filters. 2020-03-27 20:36:03 +04:00
John Preston
455d113955 Fix small column layout with filters side bar. 2020-03-27 20:36:03 +04:00