John Preston
0c43aabfec
Allow to ban from actions log user context menu.
2017-07-05 21:11:31 +03:00
John Preston
1a7353fb43
Fix phrase in HistoryJoined for supergroups.
2017-07-05 16:23:52 +03:00
John Preston
4d3e7ac30c
Fix applying a draft with a reply in it.
...
Fixes #3407
2017-07-05 16:20:34 +03:00
John Preston
7d342b9c6d
Add search to channel / supergroup recent actions.
2017-07-05 16:11:08 +03:00
John Preston
6d3a6d20b5
Version 1.1.10: Fix build for Xcode and GCC.
2017-07-04 19:17:44 +03:00
John Preston
0ae661edf0
Add channel / supergroup admin event log filter.
2017-07-04 16:31:18 +03:00
John Preston
0d38106ed0
Fix Edit option display for supergroup creator.
...
Supergroup creator saw the Edit option for other users messages.
2017-07-03 13:13:32 +03:00
John Preston
305e15dd03
Fix service message date in admin event log.
2017-07-02 22:26:23 +03:00
John Preston
5fe1175602
Fix crash when message for forward is deleted.
...
The messages prepared for forwarding are not a map (MsgId -> item),
but just a map (random int -> item), so we need to loop over them.
2017-06-30 13:46:41 +03:00
John Preston
bf57a1506f
Fix assertion violation in the admin events log.
...
Add support for a log entry about group/channel photo being removed.
2017-06-30 13:35:35 +03:00
John Preston
4993ff1921
Finalize rename / move.
2017-06-30 09:21:45 +03:00
John Preston
d1536d0572
Rename / move history and historywidget modules.
2017-06-30 09:21:45 +03:00
John Preston
836fe119d9
Improve display of admin event log entries.
...
Don't show the Forward, Delete and Go to message in MediaView.
Better handle round video floating player in admin event log.
2017-06-30 09:21:45 +03:00
John Preston
0b3644b334
Improve phrase on copying selected items as text.
...
This is a better implementation of #3346 .
2017-06-30 09:21:45 +03:00
John Preston
545915e481
Fix name/fwd/reply/viabot info display for media.
2017-06-30 09:21:45 +03:00
John Preston
6f90dc2374
Fix empty admin event log display.
2017-06-30 09:21:45 +03:00
John Preston
91dcfff423
Add unpinned message admin log event action.
2017-06-30 09:21:45 +03:00
John Preston
2a51e2aa59
Workaround GCC bug and fix Linux build.
2017-06-30 09:21:44 +03:00
John Preston
c3db57a4fc
Closed beta 1001007003: Fix Xcode build.
2017-06-30 09:21:44 +03:00
John Preston
75fdd5315f
Add some more colors for theming.
2017-06-30 09:21:44 +03:00
John Preston
8c04bed572
Display empty event log placeholder.
...
Also hide the filter button for now.
2017-06-30 09:21:43 +03:00
John Preston
ae56c5266f
Fix rich text entities in log entry original.
2017-06-30 09:21:43 +03:00
John Preston
0a9db8533b
Save admin log state to memento and restore it.
2017-06-30 09:21:43 +03:00
John Preston
85e234938d
Fix inline keyboard. Disable it in the event log.
...
Also disable game preview click handler in the event log.
2017-06-30 09:21:43 +03:00
John Preston
816ee794e8
Event log context menu + improved text selection.
2017-06-30 09:21:43 +03:00
John Preston
624f33c5e2
Allow to select and copy text in the events log.
...
Also better handle window resize in the events log.
2017-06-30 09:21:42 +03:00
John Preston
693c30d264
Handle mouse events in log entry message parts.
...
Also highlight mentions and hashtags in them.
2017-06-30 09:21:42 +03:00
John Preston
cedf8a65e7
Better channel log entry layout inside messages.
...
Also move HistoryService class to a separate module.
2017-06-30 09:21:42 +03:00
John Preston
0a39e7e2b1
Support userpics and dates in channel log events.
2017-06-30 09:21:42 +03:00
John Preston
5c87b42135
Use plain HistoryItem in channel admin events log.
...
Instead of using a complex AdminLog::Item use just HistoryItem*.
2017-06-30 09:21:42 +03:00
John Preston
e39b95175b
Handle channel event log mouse events.
2017-06-30 09:21:42 +03:00
John Preston
507b7d7193
Add to each history item its own width value.
2017-06-30 09:21:41 +03:00
John Preston
839e59075d
Display log entry original data in HistoryMessage.
2017-06-30 09:21:41 +03:00
John Preston
4962fdf5ae
Add phrases and layout for all events in log.
2017-06-30 09:21:41 +03:00
John Preston
fee8690ca6
Channel action log items display and layout.
2017-06-30 09:21:41 +03:00
John Preston
25a718c54b
Start recent channel actions log section.
2017-06-30 09:21:41 +03:00
John Preston
6ba57e713e
Use forwarded messages only for one selected chat.
...
Different chats now can have different forwarded "drafts".
2017-06-29 11:40:26 +03:00
John Preston
9de95cee23
Drop link preview if you can't send them.
...
Just drop the preview when message with a web page preview is
forwarded and we're restricted to send them in the megagroup.
2017-06-29 11:40:23 +03:00
John Preston
7d2d5c6100
Edit admin and restricted rights in channels.
2017-06-29 11:40:11 +03:00
John Preston
330b4a0b00
API scheme updated to layer 68.
2017-06-29 11:40:08 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
6869cc7d04
Fix non-square reply preview in selected messages.
...
After introducing video messages and sticker reply previews they may
be not a rounded rectangle but any transparent image. So instead of
painting a selected rounded rect over them we just colorize them with
an overlay color like it is done with the selected sticker images.
2017-06-29 11:39:32 +03:00
Viktor Oreshkin
3f3b9f3608
Show date from fwdHeader on tooltip
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2017-06-28 19:21:34 +03:00
John Preston
10e34aa996
Fix a crash in round videos with a message text.
2017-05-26 15:20:11 +03:00
John Preston
e0978f86d1
Alpha 1.1.3: Fix some render in macOS.
2017-05-24 17:36:58 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
b7550f63c9
Add a floating player for round video messages.
2017-05-24 16:25:15 +03:00
John Preston
6bde8cdce4
Remove legacy debug information.
2017-05-24 16:25:13 +03:00
John Preston
7873cb4373
Using media player for voice / video messages.
...
Media::Player::Widget displays the current voice / video message
if it is played and the current song otherwise.
It is created when a voice / video message starts and is destroyed
when all the voice / video messages in the playlist are finished.
2017-05-24 16:25:12 +03:00