John Preston
75a40b83ae
Notify settings unknown => draw chats as muted.
...
Also request common notify settings at the app launch.
2018-06-07 22:28:09 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
a2d4b9260e
Add AUTH_KEY_DROP_ service notification support.
...
Also move logout code to Messenger.
2018-06-04 21:18:52 +03: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
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00
John Preston
43d19920e0
Apply markdown only when sending the message.
2018-05-31 21:30:28 +03:00
John Preston
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
d3f85b4c4e
Display channels promoted by proxy on top.
2018-05-13 21:26:35 +03:00
John Preston
8764da787b
Don't logout on some server-side problems.
2018-05-13 12:19:34 +03:00
John Preston
d2048f3c25
New connecting status design.
2018-05-08 20:31:33 +03:00
John Preston
993cb987a6
Improve autoupdate code, move it from Application.
2018-05-05 21:55:37 +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
060cdfea86
Cancel reply when setting a forwarding draft.
2018-03-11 23:42:03 +03:00
John Preston
e6c0f0f774
Up arrow always edits last available message.
...
Fixes #4480 .
2018-03-09 21:22:31 +03:00
John Preston
66ac4d6150
No fast reply and double click reply if selecting.
...
Also fix messages selection glitch.
2018-03-09 00:21:27 +03:00
John Preston
90179188b9
Improve sticker by emoji ordering.
...
First display recent by send/install date, then trending, then other.
2018-03-08 00:26:35 +03:00
John Preston
ccef155f7a
Receive and track recent sticker usage date.
2018-03-07 20:43:26 +03:00
John Preston
ee182ea684
API scheme downgraded to layer 76.
2018-03-06 20:48:24 +03:00
John Preston
7940ef24ab
Disallow hashtags of digits only.
2018-03-06 18:29:45 +03:00
John Preston
a285dca39e
Apply webpage media from sent message via bot.
2018-02-24 02:46:35 +03:00
John Preston
17a4d19beb
Add a create feed channels list box.
2018-02-20 19:56:41 +03:00
John Preston
07528be1e6
Support search in feed + scroll to search result.
2018-02-16 19:45:58 +03:00
John Preston
0f775e1e66
Support feeds search display in dialogs list.
2018-02-14 23:18:21 +03:00
John Preston
e102cb1469
Handle channelDifferenceTooLong in media and feed.
2018-02-08 12:20:54 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
0c5efb935d
Read feed while scrolling.
2018-02-08 12:20:54 +03:00
John Preston
a7f67c4bc9
Better chats list entries management.
...
Make unread counts and last message base::optional<>.
Remove ChannelHistory.
2018-02-08 12:20:54 +03:00
John Preston
5ebecb4de3
Display feed userpic in single column layout.
2018-02-08 12:20:53 +03:00
John Preston
17b913fb13
Fix feed messages loading both ways.
2018-02-08 12:20:53 +03:00
John Preston
63c1212ef1
Allow multiple items selection in HistoryView.
2018-02-08 12:20:52 +03:00
John Preston
9515520088
Update API scheme.
2018-02-08 12:20:52 +03:00
John Preston
65df137610
Add group/ungroup action in channel peer menu.
2018-02-08 12:20:51 +03:00
John Preston
a47981054f
Feed info profile placeholder.
2018-02-08 12:20:51 +03:00
John Preston
b9ad8bb700
Feed top bar placeholder.
2018-02-08 12:20:51 +03:00
John Preston
47ad5ea98a
Display active feed state in dialogs list.
2018-02-08 12:20:51 +03:00
John Preston
ebd4651ac2
Manage unread bar using HistoryView::Element-s.
2018-02-08 12:20:50 +03:00
John Preston
861ab85ca1
Fix voice/video messages in chats/feed.
2018-02-08 12:20:50 +03:00
John Preston
b91ebad8be
Improve items resize in history and feed.
2018-02-08 12:20:50 +03:00
John Preston
91f369a0b3
Handle view resize/repaint requests for mainView.
2018-02-08 12:20:49 +03:00
John Preston
2dd2ad5cdb
Replace peerMessagesUpdated with notifications.
2018-02-08 12:20:49 +03:00
John Preston
04c8c95634
Use notify* instead of mark* in Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
7425e80f05
Use HistoryMedia as view, add Data::Media.
2018-02-08 12:20:48 +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
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
4740d44159
Make HistoryView::Message a ClickHandlerHost.
2018-02-08 12:20:47 +03:00
John Preston
062b0b2165
Save item views in App::*Item() variables.
...
Also remove App::contextItem.
Also use owning pointers for history context menus.
2018-02-08 12:20:47 +03:00
John Preston
8060cb7426
Start HistoryView::Message class for item view.
2018-02-08 12:20:47 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
50b120bc22
Fix glitch in single column back button click.
2018-02-08 12:20:46 +03:00