Sean Wei
212944d89c
Fix format
2020-07-02 11:32:17 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
8cdf8d5edc
Fix legacy group admin status in members dropdown.
...
Fixes #6347 .
2020-03-27 20:36:05 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
04d5158ae3
Remove unused LeftOutlineButton type.
2019-08-29 10:01:28 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
67d12fa6d2
Improve update handling for legacy chats.
2019-01-17 12:21:30 +04:00
John Preston
07e010dfb5
Save admins in legacy groups.
2019-01-17 12:21:30 +04:00
John Preston
a605c110a8
Support legacy groups in participant boxes.
2019-01-17 12:21:29 +04:00
John Preston
18c6be0d3b
Unify legacy and megagroups information edit.
2019-01-17 12:21:29 +04:00
John Preston
f4d52b82b4
Allow reusing permissions edit controls.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +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
8a3615281c
Support structured bindings in base::flat_map.
2018-11-20 19:38:40 +04:00
John Preston
8b64c96381
Separate some lang keys.
...
Fixes #5146 .
2018-11-12 14:39:22 +04:00
John Preston
8eb0f3b60a
Remove some unneeded Q_OBJECTs.
2018-11-04 15:51:39 +04: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
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
ae18ece549
Ask export path with other export options.
2018-06-23 00:56:53 +01:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
38daffdbfe
Handle the ADMINS_TOO_MUCH error for channels.
2018-05-18 17:16:14 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
fe262701c0
Add notification toggle in feed channels.
2018-02-12 18:52:55 +03:00
John Preston
840b42934b
Use server-side my_results in contacts.search.
2018-02-08 12:20:51 +03:00
John Preston
4527c03c0d
Use "Feed" name for chats list index and search.
2018-02-08 12:20:51 +03:00
John Preston
97a9089ebf
Move draw / getState code to HistoryView::Message.
...
Item dimensions broken for now.
Also remove history.h from pch.
2018-02-08 12:20:48 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
a2891807f8
Prepare dialogs to hold a history or a feed.
2018-02-08 12:20:46 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00