John Preston
9dfc60026e
Add simple forwarding options on bar click.
2021-08-31 19:47:38 +03:00
John Preston
2667bb3568
Move background caching to Window::SessionController.
2021-08-16 10:26:08 +03:00
23rd
479611f6df
Removed ui_getPeerForMouseAction.
2021-07-27 02:50:08 +03:00
23rd
34cac3092f
Moved utils for sending bot commands to separated file.
2021-07-27 02:50:08 +03:00
23rd
82165bec5e
Replaced MainWidget::replyToItem with history element delegate.
2021-07-26 17:39:18 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +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
80fe2f57e9
Removed Adaptive namespace from Window::Controller and MainWidget.
2021-06-16 09:31:32 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
467449ac13
When reporting peer allow to select messages first.
2021-02-22 23:42:42 +04:00
John Preston
b6483cb65c
Use shared_ptr<Memento> for sections.
2020-12-14 18:48:10 +04:00
23rd
dc7a754418
Added ability to prevent application lock and account switch.
2020-12-14 17:09:24 +04:00
23rd
24b8377a2a
Added initial implementation of display sections prevent.
2020-12-14 17:09:24 +04:00
23rd
c8643aa1ee
Wrapped raw SectionMemento with unique_ptr.
2020-12-14 17:09:24 +04:00
John Preston
41591ff2e9
Add group calls top bar.
2020-12-01 09:45:21 +03:00
23rd
5eba680483
Added play button for recorded voice data.
2020-11-17 12:58:07 +03:00
John Preston
4a8b59b788
Pass reply info to Window::PeerMenu.
2020-11-17 12:58:06 +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
1849f01b15
Jump to near reply inside a replies thread.
2020-09-29 19:03:22 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
23rd
9445ce4b09
Moved sending of bot's CallbackData and CallbackGame to separate file.
2020-07-14 19:03:41 +04:00
John Preston
c15019dee6
Fix crashes in MainWidget and ApiWrap.
2020-06-30 18:26:44 +04:00
23rd
0227b5f2fa
Removed Notify::inlineKeyboardMoved as completely unused code.
2020-06-29 06:26:09 +04:00
23rd
b629e0c43a
Replaced Notify::replyMarkupUpdated with Data::MessageUpdate.
2020-06-29 06:26:02 +04:00
John Preston
79a361ba43
Move call management to Core::App.
2020-06-25 21:57:36 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +04:00
John Preston
65050bf9dd
Move export management to Core::App.
2020-06-25 11:14:05 +04:00
John Preston
34ef54e40b
Display check on the active account.
2020-06-23 21:53:43 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
c83659f0c7
Fix logouting from the passcode.
2020-06-23 21:53:41 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
b0f9ad71dd
Check some more App::main()s.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
0b028b959b
Move updates handling MainWidget -> Api::Updates.
2020-06-23 21:53:39 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
99704e973b
Always keep current self-userpic loaded.
2020-06-16 19:40:43 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
97bab388ea
Use rpl for file download progress notifications.
2020-06-01 18:09:30 +04:00
John Preston
cb5863177f
Apply edition updates to search result previews.
2020-05-12 20:29:18 +04:00
John Preston
2f1ee6f1fa
Show two hardcoded filters in Ui.
2020-03-27 20:36:01 +04:00
John Preston
71f7aae948
Replace dialogs mode with filters.
2020-03-27 20:36:01 +04:00
John Preston
70408f0e22
First version of reading-while-scrolling.
2020-02-21 18:48:29 +04:00
John Preston
d5718f96b8
First working auth by QR code.
2019-11-29 15:36:04 +03:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
3e895d0e85
Make tabbed selector working in scheduled section.
2019-08-27 19:10:37 +03:00
John Preston
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
John Preston
3f2cc01f48
Allow sending silent messages.
2019-07-27 17:19:04 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
6aa930d510
Remove exceptions in TL parsing.
2019-07-24 08:02:20 +02:00
John Preston
c50ade565a
Track sending and failed messages.
2019-07-24 08:02:20 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
3eadc62cd5
Added close player button, slightly improved switching of touch bar.
2019-05-27 15:34:55 +02:00
John Preston
7ee16ba45c
Clear hidden animated stickers.
2019-05-27 14:11:26 +02:00
23rd
63fc552636
Fixed inability to close folder with Back mouse button.
...
- Fixed #5997 .
2019-05-12 22:30:19 +03:00
John Preston
52b9212625
Display top bar in archive.
2019-05-01 16:11:40 +04:00
John Preston
f56df0e1d9
Show folder using slide animation.
2019-05-01 16:11:39 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
eb1825defd
Add revoking of full history.
2019-03-24 12:12:44 +04:00
John Preston
dd8c526fb7
Prepare code for revoking of full history.
2019-03-24 12:12:43 +04:00
John Preston
2701e63406
Allow revoking only sent messages.
2019-03-24 12:12:43 +04:00
John Preston
dafa286b18
Show option to download on streaming error.
2019-03-11 12:08:11 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
23rd
193e454fd4
Fixed sending polls as reply to other messages.
...
Fixes #5550 .
2019-02-17 15:55:44 +04:00
John Preston
26f1ade5ba
Optimize connecting widget.
2019-02-10 21:35:44 +03:00
23rd
769923c6cc
Fixed a keeping online status after application quit.
...
Fixes https://github.com/telegramdesktop/tdesktop/issues/5528 .
2019-02-01 11:52:25 +03:00
John Preston
f506a5ea6c
Save wallpaper settings locally.
2019-01-29 14:52:33 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
1894b8fcf7
Handle t.me/bg links with wallpapers / colors.
2019-01-18 16:41:07 +04:00
John Preston
b8cb792831
Read background image async.
2019-01-17 12:21:31 +04:00
John Preston
0f9c2a62fe
Load fullres images of new wallpapers.
2019-01-17 12:21:31 +04:00
John Preston
287b3509ab
Optimize getPeerDialog requests.
2019-01-17 12:21:31 +04:00
John Preston
2a0b9a44dd
Remove supergroup migrate messages.
2019-01-17 12:21:31 +04:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
c11b977f1d
Fix lagging chat list update in support.
2019-01-11 17:30:00 +04:00
John Preston
4002739682
Suggest adding bots to channels as admins.
2018-12-28 15:42:58 +04:00
John Preston
0b619e50ba
HistoryHider moved to Window namespace.
2018-11-28 15:48:35 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
479a6d9ad2
Add some more shortcuts for Support.
2018-11-20 19:38:40 +04:00
John Preston
b3ffbeb63e
Improve code for Shortcuts handling.
2018-11-20 19:38:40 +04:00
John Preston
ef64d9c188
Show round videos in Info layer.
2018-11-05 17:18:54 +04:00
John Preston
466444e17d
Extract float player controller.
2018-11-05 15:16:09 +04:00
John Preston
a70613d929
Fix client side generated changelogs display.
...
Also use message date if available in MediaView.
2018-09-27 23:31:48 +03:00
John Preston
0c8709ca5f
Replace App::self() with Auth().user().
...
Always have self Auth().user() when AuthSession exists.
2018-09-19 19:22:13 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00