Commit Graph

5608 Commits

Author SHA1 Message Date
23rd 26be382b02 Refactored touchbar code.
- Moved item identifiers.
 - Deleted once called methods.
 - Moved commands of buttons to its tag.
 - Moved some methods to namespace.
2019-05-27 15:35:03 +02:00
23rd 7dff10f6fd Refactored code for lifetimes in touchbar. 2019-05-27 15:35:03 +02:00
23rd 71f6dd85c2 Fixed showing empty button in touchbar when archive is not ready. 2019-05-27 15:35:02 +02:00
23rd abd55679af Added archived button to touchbar. 2019-05-27 15:35:02 +02:00
23rd c90e803f1b Added handler of logout to touchbar. 2019-05-27 15:35:02 +02:00
23rd c89a21ef5e Refactored touchbar code. 2019-05-27 15:35:02 +02:00
23rd 04843ebdd8 Fixed duplicate of Saved Messages in touchbar when it is pinned.
- Moved updating of pinned dialogs order from PinnedDialogButton to TouchBar class.
2019-05-27 15:35:01 +02:00
23rd 60cf1b6490 Fixed drawing of self userpic. 2019-05-27 15:35:01 +02:00
23rd a80f7c53ea Replaced Apple icons for touchbar with custom icons in audio player. 2019-05-27 15:35:01 +02:00
23rd 757e0e6335 Slightly refactored, removed archive button. 2019-05-27 15:35:00 +02:00
23rd 09b5055fac Enabled audio player in touchbar only for songs. 2019-05-27 15:35:00 +02:00
23rd ba1691bf7e Added custom close icon to touchbar
- Slightly refactored.
2019-05-27 15:35:00 +02:00
23rd 9873e6d75c Fixed seeking of slider from audio player in touchbar. 2019-05-27 15:34:59 +02:00
23rd 62a6812259 Added ability to update pinned dialogs. 2019-05-27 15:34:59 +02:00
23rd c424607603 Added passcode lock handler for touchbar. 2019-05-27 15:34:58 +02:00
23rd 92ff237c2d Refactored code. 2019-05-27 15:34:58 +02:00
23rd 9059b2e617 Fixes for Audio Player in touchbar.
- Removed unused Platform::SetTouchBar.
 - Added rpl::event_stream in Media Player Instance for handle closing player.
 - Fixed hiding of touchbar when last track is ended.
 - Fixed display of time when last track is ended.
 - Slightly refactored.
2019-05-27 15:34:58 +02:00
23rd 2b8e76a060 Replaced Auth.lifetime() in buttons with internal lifetime. 2019-05-27 15:34:58 +02:00
23rd 9c60d2be80 Updated for archive support. 2019-05-27 15:34:58 +02:00
23rd 3b7123d159 Added auto updating of button images when peer changed userpic. 2019-05-27 15:34:57 +02:00
23rd 2f2847bfdf Moved Saved Messages button to subclass. 2019-05-27 15:34:57 +02:00
23rd 8099305c53 Added buttons of pinned dialogs in main touch bar. 2019-05-27 15:34:56 +02:00
23rd 3eadc62cd5 Added close player button, slightly improved switching of touch bar. 2019-05-27 15:34:55 +02:00
23rd c9f56abce5 Added initial implementation of switching between touch bars. 2019-05-27 15:34:55 +02:00
23rd 58604406f8 Added initial implementation touchbar. 2019-05-27 15:34:54 +02:00
John Preston a49806bf79 Only admin can unlink channel from the group. 2019-05-27 15:30:23 +02:00
John Preston 65a36e49bd Support custom forwarded text in url auth button. 2019-05-27 15:26:12 +02:00
John Preston db66e93258 Allow to return to the original chat on forward. 2019-05-27 15:10:11 +02:00
John Preston 2f1b029ec9 Don't suggest emoji on :[non-letter]. 2019-05-27 15:10:08 +02:00
John Preston 0eb975e679 Allow disabling first-word emoji suggestions. 2019-05-27 15:10:06 +02:00
John Preston a49a96ba33 Fix archive search input field focus. 2019-05-27 15:10:04 +02:00
John Preston d2d51cc883 Fix field showing on write access enabling. 2019-05-27 15:09:59 +02:00
John Preston e8a99a854d Add unread badge to Discuss button. 2019-05-27 15:09:57 +02:00
John Preston a64c8c52b4 Correctly display discussion posts sender. 2019-05-27 15:09:56 +02:00
John Preston 01054858a4 Url auth checkboxes checked by default. 2019-05-27 15:09:53 +02:00
John Preston 87caa58456 Forward some inline keyboards. 2019-05-27 15:09:52 +02:00
John Preston 6b9675a5b1 Correctly display discussion posts. 2019-05-27 15:09:50 +02:00
John Preston 371f1a51c3 Preload blocked users slice in Settings. 2019-05-27 15:09:47 +02:00
John Preston 8aaaef3ff4 Show 'channel' badge for discussed messages. 2019-05-27 15:09:45 +02:00
John Preston 7fbec0dbca Show admin log events for linked chats. 2019-05-27 15:09:43 +02:00
John Preston 0a86e732cd Add a footer to EditLinkedChatBox. 2019-05-27 15:09:42 +02:00
John Preston 4e10552c12 Add a confirmation for linking a discussion group. 2019-05-27 15:09:41 +02:00
John Preston 0eae8fe6a0 Hide date from archive dialog. 2019-05-27 15:09:39 +02:00
John Preston ee2c7fad78 Allow creating discussion groups for channels. 2019-05-27 15:09:37 +02:00
John Preston b9d89cb4a0 Allow unlinking the discussion group. 2019-05-27 15:09:35 +02:00
John Preston f0eba3e283 Show Discuss button in channels. 2019-05-27 15:09:32 +02:00
John Preston 801b500aa6 Use session() instead of Auth() in HistoryWidget. 2019-05-27 15:09:30 +02:00
John Preston 9c1ce702bb Display channel posts in discussion groups. 2019-05-27 15:09:28 +02:00
John Preston 50778790fe Start supporting channel discussion groups. 2019-05-27 15:09:25 +02:00
John Preston b05bf049bc Fix add member icon position. 2019-05-27 15:09:23 +02:00