Commit Graph

10620 Commits

Author SHA1 Message Date
John Preston 9bc9547b1c Revert "Fix crash in imported messages in search."
This reverts commit 65d96c0364.
2021-11-26 18:00:20 +04:00
John Preston 5e3b094e86 Allow report / block / delete all from channels. 2021-11-26 18:00:20 +04:00
John Preston 8d66680a96 Show info about request chat admin incoming message. 2021-11-26 18:00:20 +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 4cb6e4b787 Allow group / channel type box if !can_edit_username. 2021-11-26 18:00:20 +04:00
John Preston 596c4a06a3 Use button colors for the calendar selections. 2021-11-26 18:00:20 +04:00
John Preston 4f7c728632 Update API scheme on layer 135. 2021-11-26 18:00:20 +04:00
John Preston 7d89952541 Edit noforwards in group / channel type. 2021-11-26 18:00:20 +04:00
John Preston 0309eb023e Cycle through repeat modes by repeat toggle button. 2021-11-26 18:00:20 +04:00
John Preston 969b27cb75 Many-day selection by two clicks in the calendar. 2021-11-26 18:00:20 +04:00
John Preston ecb4d1d9ba Support repeat all in the audio player. 2021-11-26 18:00:20 +04:00
John Preston 68378cf8e5 Support reversed order in the playlist. 2021-11-26 18:00:20 +04:00
John Preston 4f02f722ae Fix order of playlist and volume / settings dropdowns. 2021-11-26 18:00:20 +04:00
John Preston 74cfaff100 Migrate Media::Player::Instance to rpl. 2021-11-26 18:00:20 +04:00
John Preston 92e2b91f81 Add repeat / order controls to the audio player. 2021-11-26 18:00:20 +04:00
John Preston 395100584f Add a second dropdown with playback mode controls. 2021-11-26 18:00:20 +04:00
John Preston 49544111ab Allow setting custom device name. 2021-11-26 18:00:19 +04:00
John Preston f3a00abe18 Fix working with new tg_owt. 2021-11-26 18:00:19 +04:00
John Preston a511681113 Take session name from device model. 2021-11-26 18:00:19 +04:00
John Preston aab4dbb7cf Hide export and fast share for noforwards. 2021-11-26 18:00:19 +04:00
John Preston 80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston aa0a9b2db9 Update API scheme on layer 135. 2021-11-26 18:00:19 +04:00
John Preston b7c95e9636 Support selecting messages range. 2021-11-26 18:00:19 +04:00
John Preston 4414369fc8 Implement jump-to-start / end by long press in CalendarBox. 2021-11-26 18:00:19 +04:00
John Preston 15dc6064ef Improve CalendarBox title design for vertical layout. 2021-11-26 18:00:19 +04:00
John Preston b9b609f445 Track month in CalendarBox while scrolling. 2021-11-26 18:00:19 +04:00
John Preston be7cd51740 Start scrollable CalendarBox. 2021-11-26 18:00:19 +04:00
John Preston f13e28a9c5 Use in-class initializers for bitfields. 2021-11-26 18:00:19 +04:00
John Preston fe025e3c44 Move Send As phrases to the langpack. 2021-11-26 18:00:19 +04:00
John Preston dd7568ed3a Fix Send As button visibility. 2021-11-26 18:00:19 +04:00
John Preston b47e29b182 Fix custom chat themes in scheduled messages. 2021-11-26 18:00:19 +04:00
John Preston dee8b1fe6f Don't attach outgoing items from a channel to each other. 2021-11-26 18:00:19 +04:00
John Preston 3c040ab5f9 Fix send as button refresh. 2021-11-26 18:00:19 +04:00
John Preston 17ffebb684 Fix local display of sent-as from anonymous admin. 2021-11-26 18:00:19 +04:00
John Preston 8c824edaa5 Choose send as in scheduled / discussions. 2021-11-26 18:00:19 +04:00
John Preston ad52c0cb16 Single-click change Send As. 2021-11-26 18:00:18 +04:00
John Preston 773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston 1bd74fe478 Choose a channel to send messages as. 2021-11-26 18:00:18 +04:00
John Preston 4691cff3f6 Start SendAsButton in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston c849d17667 Remove corner download if noforwards. 2021-11-26 18:00:18 +04:00
John Preston 96c910190b Restrict saving files as if noforwards. 2021-11-26 18:00:18 +04:00
John Preston fd6751233e Disable selecting items with actions. 2021-11-26 18:00:18 +04:00
John Preston 487e8a9009 Disable copy to clipboard if noforwards. 2021-11-26 18:00:18 +04:00
John Preston 3a536c6f75 Show forwards toggle in recent actions. 2021-11-26 18:00:18 +04:00
John Preston 154c0e6bb2 Don't show empty top bar selections. 2021-11-26 18:00:18 +04:00
John Preston 9be47f0870 Allow restricting forwards in groups / channels. 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 bf18907fe6 Fix video in calls working on tgcalls v2 implementation. 2021-11-26 18:00:18 +04:00
John Preston c7678f17ac Fix build of tg_owt with VS 2022. 2021-11-26 18:00:18 +04:00
John Preston 0c695a6a9a Update tg_owt with desktop capture fix on macOS. 2021-11-26 18:00:18 +04:00
John Preston efe12e0289 Fix tg_owt build on Windows with C++20. 2021-11-26 18:00:18 +04:00
John Preston dad11a17dd Build tg_owt / tgcalls / tgvoip with C++20. 2021-11-26 18:00:18 +04:00
John Preston dbf673f674 Build new tgcalls with C++20 on Windows. 2021-11-26 18:00:17 +04:00
John Preston 9308615361 Fix crash in search in Finder on macOS. 2021-11-24 17:37:33 +04:00
Ilya Fedin c7433477bc Use ninja as much as possible in docker 2021-11-21 09:51:01 +04:00
John Preston 8a1140c09f Extract Media::Player::Dropdown widget. 2021-11-18 21:51:10 +04:00
John Preston a2bf1544df Remove Q_OBJECT from VolumeWidget. 2021-11-18 21:51:10 +04:00
John Preston f4a6be2ed9 Move audio player icons to "player" folder. 2021-11-18 21:51:10 +04:00
Ilya Fedin 6b24eb6d8e Update lib_webview 2021-11-18 20:32:52 +04:00
Ilya Fedin a55dbe212a Cleanup unneeded commands in Dockerfile 2021-11-18 20:32:52 +04:00
John Preston 33f56a791a Show correct tooltip on YouTube timestamps. 2021-11-18 17:13:04 +04:00
John Preston f2e4a5a35a Highlight YouTube video timestamps as external links. 2021-11-18 16:03:12 +04:00
John Preston ebded1b421 Use Photo/DocumentData::isNull instead of date check. 2021-11-18 11:40:15 +04:00
John Preston 53c15ed2ac Make SendingAlbum::Item::Item non-inline. 2021-11-18 11:04:18 +04:00
John Preston 3b2f6b893d Hide MTPInputFile in Api::RemoteFileInfo. 2021-11-18 11:04:06 +04:00
John Preston 5d0445dd25 Remove unneeded namespace qualifiers. 2021-11-18 11:03:03 +04:00
John Preston 12eda0bb26 Use C++20 on Linux with GCC 10. 2021-11-17 10:03:14 +04:00
John Preston 96a3c704d2 Use Ninja Multi-Config generator on Linux. 2021-11-17 10:03:14 +04:00
John Preston a02642b917 Switch to devtoolset-10 in Docker. 2021-11-17 10:03:14 +04:00
John Preston f55d3d1c6a Version 3.2.5: Add information about macOS build. 2021-11-16 14:35:28 +04:00
John Preston deea69e119 Version 3.2.5. [Windows]
- Fix connecting in case bad characters appear in device name.
2021-11-16 12:45:34 +04:00
John Preston 6925bf6a8e Refresh global proxy after settings being read.
Fixes #16600, fixes #17249.
2021-11-16 12:39:24 +04:00
John Preston a0110fed27 Allow to see who viewed message from the migrated history. 2021-11-16 12:39:19 +04:00
John Preston 30a945a043 Clean device name string.
Fixes #17243.
2021-11-16 12:38:59 +04:00
Amin Vakil c062b4b3a1 Run yum clean all also for remote installations
They may try to install some dependencies from official centos mirrors.
2021-11-15 23:24:20 +04:00
Amin Vakil 06fb5540e1 Run yum clean all after package installation
KISS :)

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

Make it in oneline

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

perl-XML-Parser installation has been moved

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>

Typo

Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>
2021-11-15 23:24:20 +04:00
John Preston 0e9a7ffe46 Version 3.2.4.
- Fix editing of scheduled messages on macOS.
- Fix launching on Chrome OS in Crostini container (fixes #17210).
2021-11-13 13:51:38 +04:00
John Preston 2f48fe920e Fixed edit of scheduled messages. 2021-11-13 13:44:56 +04:00
Ilya Fedin 936d4004ff Update controls geometry in MainWindow according to body changes 2021-11-10 19:30:29 +04:00
Ilya Fedin fd03217032 Update patches in Docker 2021-11-09 16:17:45 +04:00
John Preston 963722cce1 Version 3.2.3.
- Fix autoupdater launch on macOS.
2021-11-08 17:44:53 +04:00
John Preston b890b9542c Try fixing build on Linux. 2021-11-08 17:43:23 +04:00
John Preston 9b2d080e8e Fix restart before exec on macOS. 2021-11-08 17:42:33 +04:00
John Preston 6eaeb306d6 Add a RequestDependentMessageData method. 2021-11-08 12:37:02 +04:00
John Preston 213d7875ba Rename insertLocalMessage -> insertMessageToBlocks. 2021-11-08 12:37:02 +04:00
John Preston 7ff74b9e1e Fix build without DBus. 2021-11-07 12:53:10 +04:00
John Preston bd5f145a8c Fix unwrapped media display in Replies chat. 2021-11-07 12:51:20 +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
Ilya Fedin 22b37c4bf8 Use webkitgtk without its headers 2021-11-06 16:33:39 +04:00
John Preston af93d7cc97 History::createItem returns not_null. 2021-11-06 00:36:16 +04:00
John Preston c0b106015c Version 3.2.2: Update lib_ui. 2021-11-05 17:03:07 +04:00
John Preston 681a3e602b Version 3.2.2: Update lib_base. 2021-11-05 16:25:23 +04:00
John Preston 00f75ca5d6 Version 3.2.2.
- Fix webpage preview links when View Button is present.
- Fixed possible crash on sponsored messages.
2021-11-05 15:32:03 +04:00
John Preston c0f898b069 Cache sponsored messages for 5 minutes. 2021-11-05 15:28:45 +04:00
John Preston d0cb387c6e Fix layout of webpage preview with a sticker with small height. 2021-11-05 15:28:32 +04:00
23rd 55eb381bd2 Removed display of stale sponsored messages. 2021-11-05 11:27:26 +03:00
John Preston 5565da5308 Fix webpage with ViewButton links in text. 2021-11-05 10:37:38 +04:00
John Preston 1ea6224e60 Fix autostart toggling. 2021-11-05 10:15:41 +04:00
23rd 5c4b68d632 Fixed possible crash on sponsored messages. 2021-11-05 08:27:33 +03:00
John Preston f4a3d87b5d Update icon assets in Windows Store build. 2021-11-04 12:55:05 +04:00