Commit Graph

5022 Commits

Author SHA1 Message Date
John Preston eb438e35ee Remove old download priority arguments. 2019-06-04 14:30:43 +03:00
John Preston b2895a39ed Register streaming loaders in Storage::Downloader. 2019-06-04 14:30:43 +03:00
John Preston cca906d383 Use ready parts from loader in streaming. 2019-06-04 14:30:43 +03:00
John Preston 8704f6efd0 Use simple loader for non-streamable file types. 2019-06-04 14:30:43 +03:00
John Preston e1114530ab Working code for streaming downloader. 2019-06-04 14:30:43 +03:00
John Preston 27018d94ee Load file parts even when not streaming. 2019-06-04 14:30:43 +03:00
John Preston 1ee4dac4f3 Parse cache entries async. 2019-06-04 14:30:43 +03:00
John Preston fe15ee742d Track in Reader if it is used in streaming. 2019-06-04 14:30:43 +03:00
John Preston ebf2a678b1 Use a special FileLoader for streamed documents. 2019-06-04 14:30:43 +03:00
John Preston 8c0cd9b9e9 Prepare Media::Streaming::Reader to be shared. 2019-06-04 14:30:43 +03:00
John Preston 8e15e71fd5 Set EOL for OS X 10.6-10.9 version at September 1. 2019-06-04 14:29:35 +03:00
John Preston 1fb529803e Add an 'Update your OS' top bar.
Set EOL for Windows XP / Vista version at September 1, 2019.
2019-06-04 14:28:13 +03:00
John Preston 9c613fe2f7 Move system versions to platform/platform_info. 2019-06-04 14:23:14 +03:00
John Preston 3d38abce97 Differentiate Windows Store and Mac Store. 2019-06-03 13:54:25 +03:00
John Preston 271d929ad6 Use VersionHelper API for Windows version. 2019-06-03 13:48:57 +03:00
paulkim3151 ef364e998f Enable to handle .pptx .xlsx .docx extensions 2019-06-03 13:48:49 +03:00
John Preston 53ba300d7e Version 1.7.3: Fix checkbox in url auth. 2019-06-01 12:44:13 +03:00
John Preston caf1af8963 Version 1.7.3: Fix possible stack overflow. 2019-06-01 12:30:45 +03:00
John Preston 9fce11b672 Version 1.7.3.
- Bug fixes and other minor improvements.
2019-06-01 11:29:58 +03:00
John Preston f7cb38c36a Allow admins to see the linked chat. 2019-06-01 11:27:05 +03:00
John Preston d7ab7aed62 Fix crash in unlinking discussion group. 2019-06-01 11:13:40 +03:00
John Preston ea61211a61 Version 1.7.2: Mix peer to grouped_id. 2019-06-01 00:51:57 +03:00
John Preston c560f327cd Version 1.7.2: Update version in code. 2019-05-31 21:17:08 +03:00
23rd b45705f39d Returned render color theme in main menu when background is filled. 2019-05-31 21:10:53 +03:00
John Preston 9871184953 Fix discussion group unlinking. 2019-05-31 19:47:48 +03:00
John Preston 7f74084237 Update some more phrases. 2019-05-31 19:47:31 +03:00
John Preston 45a6985df5 Force GTK file chooser only in the official builds. 2019-05-31 12:03:10 +03:00
John Preston 619aca04f9 Don't show report spam over the chat history. 2019-05-30 21:53:13 +03:00
John Preston a968e112e8 Fix crash on invalid lottie file selection. 2019-05-30 18:09:44 +03:00
John Preston b012847017 Fix storage location serialization. 2019-05-30 18:05:23 +03:00
John Preston 56d3e69399 Auto-convert legacy groups for discussions. 2019-05-30 18:05:23 +03:00
John Preston f1c7409980 Enable history visibility when linking chat. 2019-05-30 18:05:23 +03:00
John Preston 33ea5ad297 Allow searching in link group to channel box. 2019-05-30 18:05:23 +03:00
23rd a5ea13f248 Changed background color of Saved Messages button in main menu. 2019-05-29 20:11:47 +03:00
23rd 8796572704 Renamed touchbar files to mac_touchbar. 2019-05-29 00:15:36 +03:00
John Preston 8829b742fd Beta version 1.7.1.
- Disabled pinned messages notifications in Settings.
2019-05-28 18:45:27 +02:00
John Preston a2b0631932 Hide linked chat button for now. 2019-05-28 17:47:36 +02:00
John Preston 8b804d1995 Allow sending animated stickers. 2019-05-28 17:45:30 +02:00
John Preston af85aec33b Allow disabling pinned messages notifications.
Fixes #1864.
2019-05-28 16:59:35 +02:00
John Preston e0d4884351 Fix possible crash in animations. 2019-05-28 14:46:18 +02:00
John Preston b3f5973329 Fix possible crash in calendar box. 2019-05-28 14:33:42 +02:00
John Preston f0ed5640db Fix sending messages with links. 2019-05-28 14:33:35 +02:00
John Preston ff0ff1d99c Fix stickers lagging on macOS. 2019-05-28 13:39:38 +02:00
23rd ab16c88473 Fixed crash from touchbar after logout. 2019-05-28 01:28:49 +03:00
23rd 26ec440a13 Implemented unread badges in touchbar. 2019-05-28 01:22:58 +03:00
John Preston fa245099b6 Fix build with GCC 8. 2019-05-27 17:32:06 +02:00
John Preston ea644a3f81 Fix Release build in Xcode. 2019-05-27 17:32:01 +02:00
John Preston 9b6d41a0aa Closed alpha version 1.7.0.1.
- Discussion groups in channels.
- Animated stickers.
- Touchbar support.
- Chat background in the main menu.
2019-05-27 17:24:40 +02:00
23rd 7798f88c6f Moved vars from interface to implementation in touchbar. 2019-05-27 17:01:47 +02:00
23rd 2c1e3cd094 Added theme change event handler to touchbar. 2019-05-27 17:01:41 +02:00
John Preston f1e3d2f513 Disable touchbar on macOS < 10.13. 2019-05-27 17:01:29 +02:00
John Preston 0f08342533 Fix QtLottie build for old OS X versions. 2019-05-27 16:54:28 +02:00
John Preston 2a96f358f6 Fix build in Xcode. 2019-05-27 15:56:33 +02:00
23rd bafa838afc Refactored code in touchbar.
- Refactored variables.
 - Moved TouchBarType to Platform namespace.
2019-05-27 15:35:04 +02:00
23rd de3cc76468 Fixed position of Saved Messages in touchbar when user unpins it. 2019-05-27 15:35:04 +02:00
23rd b4df7b4efd Replaced observable updatedNotifier() with rpl. 2019-05-27 15:35:03 +02:00
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