23rd
be0b0c1984
Fixed an editing of unsupported messages.
2018-12-26 15:10:56 +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
udf
0b87db8b45
Ignore only empty drafts while sending with clear_draft ( #5424 )
2018-12-26 10:52:48 +04:00
John Preston
8708a001c7
Always display nice percent values.
...
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston
f291e365e5
Add slide animations in CreatePollBox.
2018-12-25 11:41:22 +04:00
John Preston
6f176803d4
Reload poll data each 30 seconds without update.
2018-12-24 21:03:53 +04:00
John Preston
57f2ae098f
Show exact option votes count in a tooltip.
...
Fixes #5505 .
2018-12-24 14:24:16 +04:00
John Preston
76c06923d5
Add ripple animation to poll voting.
2018-12-24 14:03:13 +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
4d495b8d7c
Fix votes count in RTL languages.
2018-12-23 20:42:32 +04:00
John Preston
a142a2717c
Fix no votes label.
2018-12-23 20:37:32 +04:00
John Preston
93c8e9aa1f
Add poll vote sending animation.
2018-12-22 23:32:04 +04:00
John Preston
ac2dce4bb1
Fix polls percent display.
2018-12-22 22:48:25 +04:00
John Preston
f2e1d90c74
Add send vote / retract vote animation.
2018-12-22 22:36:00 +04:00
John Preston
8e28a229f2
Improve polls design.
2018-12-22 14:23:22 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00
John Preston
3e22ada889
Remove HistoryMediaType type-tag.
2018-12-21 17:09:32 +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
7960706e60
Update API scheme to layer 90.
2018-12-17 11:01:30 +04:00
John Preston
0f67f75bed
Version 1.5.2: Fix unread mentions in workmode.
2018-12-13 16:31:03 +04:00
John Preston
4836173fe6
Version 1.5.2: Fix video message duration.
2018-12-13 15:33:38 +04:00
John Preston
efe3dfad5c
Fix crash in radiobutton destruction.
...
It crashed if the button was destroyed from group _changedCallback.
2018-12-05 13:55:59 +04:00
John Preston
b10ccce44a
Warn before running executable files.
2018-12-05 12:30:05 +04:00
23rd
8b1ac9fa6e
Fixed skipping message with MediaWebPage on KeyUp.
2018-12-04 20:01:17 +04:00
John Preston
61add763ae
Restart instead of Unblock for bots.
2018-12-04 15:46:07 +04:00
John Preston
6562a1f6af
Add 'Count unread messages' option.
2018-12-04 14:32:48 +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
9a8ab84ecb
Add edit / view of user information for support.
2018-11-20 19:50:36 +04:00
John Preston
5e1b8212b2
Show tsfname in occupied chats.
2018-11-20 19:50:36 +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
8a3615281c
Support structured bindings in base::flat_map.
2018-11-20 19:38:40 +04:00
John Preston
4960e08a24
Display occupied chats using drafts for support.
2018-11-20 19:38:39 +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
23rd
dc8abc74ed
Fixed editing of the last message on KeyUp.
...
Skip stickers, video-messages, call-messages and edit following message.
2018-11-16 20:10:19 +04:00
John Preston
f1c06d6743
Store StickerData::image in unique_ptr.
2018-11-09 19:16:47 +04:00