John Preston
557d363d02
Refresh file references when downloading files.
2018-08-20 17:26:28 +03:00
John Preston
35c759c6bc
Mark [un]read from chats list.
2018-06-27 22:58:32 +01:00
John Preston
33095966af
Move sendMessage and sendInlineResult to ApiWrap.
2018-06-27 22:58:32 +01:00
John Preston
866c5e9b7b
Request common notify settings when needed.
...
If user / group has default notify settings we need common user
or common group notify settings to display the badge properly.
2018-06-06 22:56:35 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +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
67e698a374
Add support for requesting deep link info.
...
Also update API scheme.
Also remove auth.checkPhone requests.
2018-06-03 23:16:37 +03:00
John Preston
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +03:00
John Preston
d3f85b4c4e
Display channels promoted by proxy on top.
2018-05-13 21:26:35 +03:00
John Preston
3406f88fdc
Single place for joining channels, in ApiWrap.
2018-03-20 01:09:03 +04:00
Marco Trevisan
9dc03c4f0f
Linux ARM compile fixes ( #4399 )
...
This fixes errors when compiling in ARM
2018-03-09 23:48:47 +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
f0a95032a5
Show cloud stickers by emoji.
2018-03-07 16:53:12 +03:00
John Preston
ee182ea684
API scheme downgraded to layer 76.
2018-03-06 20:48:24 +03:00
John Preston
f066f3f139
Enable jump to date in feed.
2018-02-22 00:17:36 +03:00
John Preston
17a4d19beb
Add a create feed channels list box.
2018-02-20 19:56:41 +03:00
John Preston
74aa1ad71e
Ungroup all feed channels from context menu.
2018-02-18 17:00:14 +03:00
John Preston
906cb95e67
Channels list in feed info with leave channel.
2018-02-10 01:14:26 +03:00
John Preston
3c4c466f8e
Add cashtags and bot allowed service messages.
2018-02-08 12:20:55 +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
280ddb4629
Request full feed channels list before messages.
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
65df137610
Add group/ungroup action in channel peer menu.
2018-02-08 12:20:51 +03:00
John Preston
8a56ede187
Move all (item/view/media) maps to Data::Session.
2018-02-08 12:20:49 +03:00
John Preston
794e31505b
First version of feed section view.
2018-02-08 12:20:46 +03:00
John Preston
9d2239291d
Add support for pinned feeds management.
2018-02-08 12:20:46 +03:00
John Preston
139ef5411a
Prepare code for dialogFeed handling.
2018-02-08 12:20:45 +03:00
John Preston
ac57000437
Move contacts list loading to ApiWrap.
2018-02-08 12:20:45 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
2df4d19474
Move changelogs from ApiWrap to a separate module.
2017-12-29 21:17:07 +03:00
John Preston
21f4bbbe7b
Update kicked count in Channel Info box.
2017-12-26 19:20:08 +03:00
John Preston
5d18d7c813
Send album after cancel of some media uploads.
...
Also display checks when part of the album medias are uploaded.
2017-12-26 19:20:07 +03:00
John Preston
ff65daa9fe
Remove special case in SendFilesBox for an image.
2017-12-26 19:20:06 +03:00
John Preston
3b3a705a67
First working code for sending albums.
2017-12-26 19:20:06 +03:00
John Preston
f8963d7e4b
Read silent flag from PeerData, not SilentToggle.
2017-12-08 15:52:12 +04:00
John Preston
5bc47e5203
Move shareContact and readServerHistory to ApiWrap.
...
Also allow non-confirming contact info sharing to Saved Messages.
2017-12-07 17:43:05 +04:00
John Preston
1473c14668
Forward messages to Saved Messages instantly.
2017-12-06 17:56:40 +04:00
John Preston
f3c8da4819
Request all admins when first opening a supergroup.
2017-12-03 20:43:42 +04:00
John Preston
85b3d3f64d
Display admin badges in supergroups.
...
Also prefer std containers to Qt and OrderedSet in data_peer.
2017-12-01 22:38:44 +04:00
John Preston
c10588a7dc
Merge group-supergroup history in jump-to-date.
...
Fixes #4094 .
2017-11-30 16:50:13 +04:00
John Preston
196ff7f4c1
Don't apply count from getParticipants(Recent).
2017-11-28 22:30:01 +04:00
John Preston
efdba3a482
Handle errors in getMessages().
2017-11-23 19:41:13 +04:00
John Preston
5803edb77b
Add members from info to mgInfo->lastParticipants.
2017-11-22 13:56:00 +04:00
John Preston
2387b66e86
Allow supergroup members to clear history.
2017-11-22 12:04:24 +04:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
f1f955b7ac
Pass already-members when adding members to channel.
2017-11-19 18:41:52 +04:00
John Preston
554eb3a342
Move stickers state variables to AuthSessionData.
...
Also allow to click on the selected set when choosing megagroup
sticker set and allow to paste a t.me link to the set there.
2017-11-16 07:59:09 +04:00