Commit Graph

273 Commits

Author SHA1 Message Date
23rd d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
c0re100 0f05a1fd63 Fix incorrect admin log
Type: Restricted to Left
2022-03-23 09:44:35 +04:00
23rd c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
John Preston 6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston 98f2f6d4c0 Always try to save original photo bytes to disk. 2022-03-07 11:09:14 +04:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
John Preston ffd65e1fe4 Fix slide animations with new layer rounding. 2022-02-25 14:14:43 +03:00
23rd 20c911651f Replaced universal initializers with constructors in Ui::Text::Link. 2022-02-06 18:29:38 +03:00
John Preston 28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
23rd 59ed41abfe Added ability to select links and monospaced text with pressed Alt key. 2022-01-26 10:39:57 +03:00
c0re100 4bb3aec168 Fix incorrect admin log
Type: Restricted to Member
2022-01-22 18:43:43 +04:00
John Preston 1657c2c7f2 Fix context menu on sent images / documents. 2022-01-17 19:21:34 +03:00
John Preston f24f78c0cc Use click handler property instead of dynamic cast. 2022-01-14 21:55:48 +03:00
23rd e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
John Preston c6811640b5 Show box with reacted users. 2021-12-29 21:22:34 +03:00
John Preston 58c9494c03 Add reactions to replies / comments / pinned section. 2021-12-29 21:22:34 +03:00
John Preston 87e97ad533 Add admin event log phrases about reactions. 2021-12-29 21:22:34 +03:00
23rd 0ffd827fc5 Moved ellipsis string to lib_ui. 2021-12-29 21:22:34 +03:00
23rd fa4d1d72c4 Added animation for spoilers in sections. 2021-12-29 21:22:33 +03:00
John Preston 118072db77 Update API scheme on layer 136. 2021-12-29 21:22:33 +03:00
John Preston 371c9c1bfe Implement a nice corner reaction button. 2021-12-29 21:22:33 +03:00
John Preston e148b5ff08 Proof-of-concept reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston 2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston b151d210bf Add peer-list-like view for message reactions list. 2021-12-29 21:22:33 +03:00
John Preston 1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston a1439163ce Update API scheme to layer136. 2021-12-29 21:22:32 +03:00
John Preston 5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston 1a0d430291 Fix crash in admin log right click.
Fixes #17325.
2021-12-07 15:42:30 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston 03775e0cc5 Allow to ban channels in groups from moderate actions. 2021-11-29 15:24:30 +04:00
John Preston 16232c0a4a Open channel profile from message sender click. 2021-11-29 14:54:31 +04:00
John Preston eb6afdf438 Fix build on Windows. 2021-11-26 18:00:22 +04:00
23rd e2fbcd4b0e Replaced parsing of MTPChannelParticipant in AdminLog::GenerateItems. 2021-11-26 18:00:22 +04:00
23rd f255573070 Replaced use of raw MTP* participant type with new transitional class. 2021-11-26 18:00:22 +04:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
23rd 30cd3cb681 Removed MTP* from AdminLog::FilterValue. 2021-11-26 18:00:21 +04:00
23rd d6a30c4853 Slightly refactored AdminLog::GenerateItems. 2021-11-26 18:00:21 +04:00
John Preston bdc43c0aea Update API scheme on layer 135.
Add channelAdminLogEventActionSendMessage admin log action.
2021-11-26 18:00:20 +04:00
John Preston 3a536c6f75 Show forwards toggle in recent actions. 2021-11-26 18:00:18 +04:00
John Preston 431e3035af Update API scheme to layer 135. 2021-11-26 18:00:18 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
John Preston 185523f66f Update API scheme to layer 134. 2021-10-29 18:31:06 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd eb5ba12ba3 Fixed ability to copy original caption in admin log.
Fixed #17076.
2021-10-08 10:39:36 +04:00