John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
ebc2043055
Improve empty group display.
2019-01-22 11:50:21 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
01b7d4ffba
Use Text to display empty group state.
2019-01-18 16:41:07 +04:00
John Preston
2a5bcd3eec
Support empty group placeholder for creators.
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
22f1ffc72b
Use different phrases for default restrictions.
2019-01-17 12:21:30 +04:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
18c6be0d3b
Unify legacy and megagroups information edit.
2019-01-17 12:21:29 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
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
0ce4d66601
Rename restrictionReason to unavailableReason.
2019-01-17 12:21:28 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
b00ca217b3
Don't autoread mentions with voice/video messages.
...
Voice/video message unread flag is the same that mention unread flag.
If we mark such mentions as read together with all others we mark
media as watched/listened instantly when they appear on the screen.
So now we mark as read only simple mentions, without "unread" media.
2018-12-26 14:30:55 +04:00
John Preston
874d76b16b
Ignore activations from ~PopupMenu in file dialog event loops.
2018-12-26 13:54:49 +04:00
John Preston
fb7ac874f0
Show poll question in pinned bar.
2018-12-24 13:25:02 +04:00
John Preston
aa94ca6619
Fix stuck inline mode.
...
Regression was introduced in 017ec87d60
.
Fixes #5503 .
2018-12-23 20:57:34 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
47bdeeef9a
Poll data and updates handling added.
2018-12-21 17:09:31 +04:00
John Preston
eb7201a55b
Strictly match message / media types.
2018-12-21 17:09:30 +04:00
John Preston
6d9f40db30
Update API scheme to layer 91.
2018-12-21 17:09:30 +04:00
John Preston
61add763ae
Restart instead of Unblock for bots.
2018-12-04 15:46:07 +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
0a754b8982
Adding emoji in SendFilesBox and EditCaptionBox.
2018-11-22 16:48:50 +04:00
John Preston
ef4f0168f8
Remove Qt MOC dependency for tabbed selector.
2018-11-22 10:50:41 +04:00
John Preston
9f5b09c263
Add emoji autocomplete to all fields.
2018-11-21 14:09:46 +04:00
John Preston
c522e047c6
Fix crash in support switches.
2018-11-20 19:38:40 +04:00
John Preston
163ee73719
Fix switch to prev/next in Support.
2018-11-20 19:38:40 +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
d3a261de89
Scroll to cursor after template replacement.
2018-11-20 19:38:39 +04:00
John Preston
36b702702b
Support [inputN|n]otifyBroadcasts setting.
2018-11-16 20:17:58 +04:00
John Preston
78da810114
Extend pinned messages support.
...
Support them in saved messages and normal groups.
2018-11-16 20:17:58 +04:00
John Preston
2b95b96fa3
Store replyPreview in unique_ptr<Image>.
2018-11-09 19:14:31 +04:00
John Preston
8e7117fa22
Don't unload all media on switching between chats.
2018-11-04 15:51:38 +04:00
John Preston
f8eef7c9a6
Forget least used images gradually.
2018-11-04 15:51:37 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
e896971fa4
Allow instant template selection (support).
2018-10-11 19:07:37 +03:00
John Preston
be6e329e94
Don't switch chats on ctrl+shift+send (support).
2018-10-09 19:27:18 +03:00
John Preston
ee8819681f
Don't jump to unread from chat bottom (support).
2018-10-09 19:27:17 +03:00
John Preston
a6b325f0d0
Allow sending contact info in templates (support).
2018-10-09 19:27:17 +03:00
John Preston
ccaec28d0b
Read and autocomplete templates (support).
2018-10-09 19:27:16 +03:00
John Preston
25cefc6eab
Allow fix chats order and auto switch (support).
2018-10-09 19:27:16 +03:00
John Preston
20e303d3e6
Read chats only on sending (support).
2018-10-09 19:27:16 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
1ffbec0215
Finish animations disabling.
...
Replace some infinite animations with static layouts.
2018-09-20 21:26:10 +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
23rd
e966213ff8
Added shortcut to open dialog for attachements.
2018-09-19 12:25:16 +03:00
John Preston
5a487bc30c
Refresh file references in saveGif/faveSticker.
2018-08-20 17:26:28 +03:00
John Preston
c913c77fef
Refresh file references when sending stickers.
2018-08-20 17:26:28 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
ee16070abe
Update API scheme to layer 86.
2018-08-20 17:26:27 +03:00
John Preston
ca6a331a26
Don't close send files box by outside click.
2018-07-31 22:56:04 +03:00
John Preston
2661f81fd1
Fix field bar cancel button visibility.
...
Fixes #4913 .
2018-07-11 17:56:07 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00
John Preston
ea6e4c6006
Display correct info in pinned message.
2018-06-28 16:28:45 +01:00
John Preston
44c6050bf2
Fix field autocomplete in empty chat.
2018-06-27 22:58:33 +01: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
cd1c7c56d3
Skip old and currently-sending draft updates.
2018-06-08 23:06:26 +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
67ea175fc6
Show choose file box over the passport panel.
2018-06-03 23:16:37 +03:00
John Preston
d0e854e9d8
Allow showing boxes in passport panel.
2018-06-03 23:16:35 +03:00
John Preston
b2014f403e
Secure files upload / download support.
2018-06-03 23:16:34 +03:00
John Preston
80be464d95
Handle ToS correctly when signing up.
2018-06-01 21:04:54 +03:00
John Preston
43d19920e0
Apply markdown only when sending the message.
2018-05-31 21:30:28 +03:00
John Preston
bfc748cd31
Pass modifiers inside InputField submitted signal.
...
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769 .
2018-05-31 15:20:28 +03:00
John Preston
b3059248d4
Display colored reply preview.
...
Fixes #4768 .
2018-05-31 14:13:11 +03:00
John Preston
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
c70e9b529a
Offer to delete on editing to empty message.
2018-05-30 01:18:33 +03:00
John Preston
becbad32c9
Hide stickers by emoji when editing message.
2018-05-27 13:46:47 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
3ac50cf77f
Move message text to send media box caption field.
2018-05-24 17:57:41 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +03:00
John Preston
6f6ec217e3
Support markdown replaces in Ui::InputField.
2018-05-24 15:31:48 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
30dd8fe070
Unite InputField and InputArea.
...
Also support and use instant replaces in InputField-s.
2018-05-20 23:37:59 +03:00
John Preston
5a1d4d55c6
Display a disclaimer about proxy sponsor.
2018-05-15 19:38:27 +03:00
John Preston
168a7ce2e5
Add "Suggest emoji replacements" checkbox.
...
Also emoji suggestions insert an instant emoji replacement.
2018-05-13 18:56:08 +03:00
John Preston
96c0c30f7c
Fix possible crash.
2018-05-10 17:15:04 +03:00
John Preston
e3c6abfc3d
Fix possible crash in reply returns.
2018-05-10 14:56:36 +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
e5b2e0a6b5
Fix memory clearing from photos/documents.
2018-04-07 11:01:32 +04:00
John Preston
3406f88fdc
Single place for joining channels, in ApiWrap.
2018-03-20 01:09:03 +04:00
John Preston
7a849b2899
Fix crash on album parts being deleted.
2018-03-13 13:54:24 +03:00
John Preston
57d0b1d215
Show error when joining a full group.
2018-03-12 10:55:30 +03:00
John Preston
c76e4b6b3c
Fix: cancel empty reply by Escape.
2018-03-11 23:58:14 +03:00
John Preston
bda39cc6f6
Cancel empty reply by Escape.
2018-03-11 23:48:18 +03:00
John Preston
dabf8414be
Remove old debug information.
2018-03-11 22:21:17 +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
61700577d0
Fix possible crash with invalidated views.
2018-03-08 13:47:31 +03:00
John Preston
a285dca39e
Apply webpage media from sent message via bot.
2018-02-24 02:46:35 +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
fe262701c0
Add notification toggle in feed channels.
2018-02-12 18:52:55 +03:00