Commit Graph

10620 Commits

Author SHA1 Message Date
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
John Preston f10ed4b9bc Support autostart in Windows Store version.
Fixes #3234.
2021-11-04 12:36:28 +04:00
Ilya Fedin 81327ede7b Build Qt without high DPI scaling support 2021-11-04 10:20:48 +04:00
Ilya Fedin 9a4b8cdd82 Use QPlatformScreen::logicalDpi instead of QScreen::logicalDotsPerInch
QScreen::logicalDotsPerInch can be overriden by QT_FONT_DPI what is not good
2021-11-04 10:18:03 +04:00
John Preston f882a0f407 Version 3.2.1.
- Remove AppImage icon hack and -pie. (Linux only)
2021-11-04 01:11:13 +04:00
John Preston e48fd5d079 Revert "Re-enable -pie along with AppImage-like format hack."
This reverts commit d58b9dc954.

AppImage hack fired back: #17183
2021-11-03 21:35:50 +04:00
John Preston 63919422e0 Version 3.2: Fix build error on Linux. 2021-11-03 17:56:32 +04:00
John Preston d6e6c51639 Version 3.2.
- Create special invite links that require admins
to approve users before they become members.
- Admins can view the applicants' profiles and bios
by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links
to keep them organized.
- More Interactive Emoji - 👻, :dislike:, :face_vomiting:,
😂, 💸 or 🎃
2021-11-03 16:38:14 +04:00
John Preston 95a24d6aa1 Don't limit invite import aboutRequests text. 2021-11-03 16:27:51 +04:00
John Preston fa28b0b405 Fallback to "Desktop" instead of "PC". 2021-11-03 16:24:37 +04:00
John Preston 42fcf4ceb2 Add patch system version component on macOS. 2021-11-03 16:18:31 +04:00
John Preston 3743dd0161 Fix small window icon counter.
Regression was introduced in aef45b3a1d.
2021-11-03 16:14:20 +04:00
John Preston dab859ea29 Fix sponsored messages about text layout. 2021-11-03 16:01:38 +04:00
John Preston a92394a81f Hide "Request admin approval" in public peers. 2021-11-03 16:01:25 +04:00
John Preston 7a57174ab1 Register sponsored view only on full message show. 2021-11-03 15:49:48 +04:00
23rd 52bacb3cde Improved tracking of views for sponsored messages. 2021-11-02 20:58:35 +03:00
23rd 8ad9770118 Fixed missed CallId alias. 2021-11-02 20:58:35 +03:00
John Preston aef45b3a1d Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
John Preston 87af865604 Fix warning about inactive QPainter. 2021-11-02 20:12:51 +04:00
John Preston 4efeaacf5c Add send context menu to StickerSetBox. 2021-11-02 20:11:20 +04:00
John Preston e73928f6a3 Beta version 3.1.13.
- Fix requests to groups / channels processing.
- Fix internal link previews with View Content button layout.
- Fix crash in messages search with imported messages results.
- Don't use fractional system UI scaling on Linux.
- Fix invite link icons on macOS.
- Several crash fixes.
2021-11-02 11:28:53 +04:00
John Preston 6d73b11d54 Move "Request approval" button to the top. 2021-11-02 10:22:12 +04:00
John Preston 81ff4d7497 Show joined list on permanent link "N joined" click. 2021-11-02 10:10:48 +04:00
John Preston e4ac810773 Allow exactly 1x20 aspect in photos. 2021-11-02 09:59:06 +04:00
John Preston bd2fe2f68e Debug std::isnan assertion violation. 2021-11-02 09:37:33 +04:00
John Preston e73c049899 Fix crash in PopupMenu hide on macOS. 2021-11-02 00:18:57 +04:00
John Preston dab3bce8ba Fix crash on macOS before the app starts. 2021-11-02 00:07:22 +04:00
John Preston eae6e4fc60 Fix build on non-Windows. 2021-11-02 00:06:56 +04:00
John Preston 79a8fced80 Fix scrolling by Page Up / Down by Qt 6 patch. 2021-11-01 16:57:40 +04:00
John Preston 3bd9ccd45d Don't generate dSYM for macOS build. 2021-11-01 16:57:40 +04:00
John Preston 1bfa97d4fd Fix invite link icons on macOS Retina. 2021-11-01 16:57:40 +04:00
John Preston 3b4b5d3576 Don't activate PeerListRow elements on mouse down. 2021-11-01 16:57:40 +04:00
John Preston 98cb1478c7 Fix requests list processing. 2021-11-01 16:04:30 +04:00
John Preston 099326f211 Don't set window border color on Windows 11.
When set it can only be opaque which doesn't look great.
When left default it is made of a semi-transparent shadow color.
2021-11-01 15:03:28 +04:00
John Preston 8b4a95826c Fix webpage layout with ViewButton. 2021-11-01 14:54:44 +04:00
Ilya Fedin 27a9b61f72 Avoid Qt's fractional scaling 2021-11-01 13:12:13 +04:00
GitHub Action bad193ec29 Update User-Agent for DNS to Chrome 94.0.4606.81. 2021-11-01 13:12:00 +04:00
John Preston 60444b1fee Fix message ViewButton rendering in 1x. 2021-11-01 13:11:34 +04:00
John Preston 65d96c0364 Fix crash in imported messages in search. 2021-11-01 13:11:34 +04:00
John Preston 28f85eb710 Allow running custom commands through prepare script. 2021-11-01 11:51:49 +04:00
John Preston 63485dbf7f Change sponsored messages about link. 2021-11-01 11:50:55 +04:00
John Preston d58b9dc954 Re-enable -pie along with AppImage-like format hack.
Fixes #1112.

This allows the binary to be launched even when compiled with -pie.
2021-10-31 16:49:44 +04:00
John Preston 7b8b50ecd5 Beta version 3.1.12.
- Create special invite links that require admins
to approve users before they become members.
- Admins can view the applicants' profiles and bios
by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links
to keep them organized.
- Run natively on Apple Silicon (macOS only).
2021-10-31 12:33:22 +04:00
John Preston 5cbfdad2e8 Separate strings for "requested to join {date}". 2021-10-31 12:33:22 +04:00
John Preston 51addb7320 Fix build on Windows 64 bit. 2021-10-31 12:28:22 +04:00
John Preston e652b4b65e Improve DeviceModelPretty. 2021-10-31 11:31:13 +04:00
John Preston 510e1e9cdf Fix one more unused variable warning. 2021-10-31 11:01:39 +04:00
John Preston 057e8ce391 Fix drag by title on macOS. 2021-10-31 10:14:00 +04:00
John Preston 1d655fb5b5 Fix build on Windows and Linux CI. 2021-10-31 10:07:12 +04:00
John Preston 5761e7559a Fix compilation error on GCC. 2021-10-31 09:45:43 +04:00
23rd c55dc00180 Added selecting scroll to sections.
Fixed #17136.
2021-10-30 21:22:51 +03:00
23rd 27dc91e51a Moved management of selecting scroll to separated class in td_ui. 2021-10-30 21:22:51 +03:00
23rd 6ef67caa73 Fixed emoji clearing in sections when sending failed due to slowmode.
Fixed #17149.
2021-10-30 21:22:51 +03:00
John Preston aaafa8b3f6 Fix compilation error on GCC. 2021-10-30 17:19:58 +04:00
John Preston b4950fe943 Fix build for Mac App Store. 2021-10-30 17:19:24 +04:00
John Preston 7ad6699bff Show mouse hold tip when clicking record button. 2021-10-30 15:13:18 +04:00
John Preston 9c0bf32b84 Fix tg_owt build in prepare script on Windows. 2021-10-29 22:29:05 +04:00
Ilya Fedin 2a504dd90d Update lib_base 2021-10-29 22:06:46 +04:00
Ilya Fedin 97881e7754 Default to Qt 6 on Linux and macOS 2021-10-29 22:06:46 +04:00
John Preston 42015d6a72 Use new defaults in configure invocations. 2021-10-29 22:05:21 +04:00
John Preston 094010a91d Fix Breakpad + remove Crashpad build on Windows. 2021-10-29 22:01:04 +04:00
John Preston f71a2149f3 Improve defaults in prepare script. 2021-10-29 21:21:33 +04:00
John Preston 1297860652 Fix build of minidump_stackwalk. 2021-10-29 21:11:23 +04:00
John Preston c528ea24ea Version 3.1.11.
- Create special invite links that require admins to approve users before they become members.
- Admins can view the applicants' profiles and bios by tapping the Join Requests bar at the top of the chat.
- Add internal labels to your chat's Invite Links to keep them organized.
- Run natively on Apple Silicon (macOS only).
2021-10-29 19:06:19 +04:00
John Preston fa8792927e Improve invite link name phrases. 2021-10-29 18:31:07 +04:00
John Preston aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston eb82664452 Use recent requester userIds from API. 2021-10-29 18:31:07 +04:00
John Preston 36271d6b85 Save recent requester userIds from API. 2021-10-29 18:31:07 +04:00
John Preston f839c7f2bb Update API scheme on layer 134. 2021-10-29 18:31:07 +04:00
John Preston 94dc595a81 Show full profile from group members list. 2021-10-29 18:31:07 +04:00
John Preston 2f4651fe6f Fix build on macOS. 2021-10-29 18:31:07 +04:00
John Preston 97ae094c3c Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04:00
John Preston 045689fab1 Highlight links in about. 2021-10-29 18:31:07 +04:00
John Preston 47d957f942 Add 5 lines of About to group call context menu. 2021-10-29 18:31:07 +04:00
John Preston d0606a3798 Show PeerShortInfoCover in group call context menu. 2021-10-29 18:31:07 +04:00
John Preston bcddda3cd3 Extract PeerShortInfoCover from the box. 2021-10-29 18:31:07 +04:00
John Preston b5f50a4b9f Preload photos in PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 9c77f26a8b Show radial progress in PeerShortInfoBox photo. 2021-10-29 18:31:07 +04:00
John Preston d73d5724d8 Show radial progress in PeerShortInfoBox video. 2021-10-29 18:31:07 +04:00
John Preston 9f21da8bde Display profile video playback progress. 2021-10-29 18:31:07 +04:00
John Preston 6b137b9778 Make full PeerShortInfoBox scrollable. 2021-10-29 18:31:07 +04:00
John Preston c9e5eadb06 Use a detailed phrase for single user join request. 2021-10-29 18:31:07 +04:00
John Preston 05bdef041b Improve PeerShortInfoBox cover updating. 2021-10-29 18:31:07 +04:00
John Preston 360a92c198 Show user photos overview in PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 64f6b86739 Return local search to requests box. 2021-10-29 18:31:07 +04:00
John Preston dcc14a4726 Add info rows to PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 2ca5f26546 Don't show "You:" in private chats. 2021-10-29 18:31:07 +04:00
John Preston 24e0ea2a59 Show profile video in PeerShortInfoBox. 2021-10-29 18:31:07 +04:00
John Preston 61ac7e6c1d Start PeerShortInfoBox for small in-box profiles. 2021-10-29 18:31:06 +04:00
John Preston 49b28ac695 Reuse "info_add_member" icon for requests management. 2021-10-29 18:31:06 +04:00
John Preston 2163957299 Fix empty chat history after custom themed chat. 2021-10-29 18:31:06 +04:00
John Preston 2e1981c5a6 Improve confirm join box design. 2021-10-29 18:31:06 +04:00
John Preston ab60628386 Usage limit and requests are mutually exclusive. 2021-10-29 18:31:06 +04:00
John Preston 2ade6be146 Show correct phrase in local join messages. 2021-10-29 18:31:06 +04:00
John Preston 721aac57a5 Fix processing requests from search results. 2021-10-29 18:31:06 +04:00
John Preston 8618f6d7eb Push recent requests from requests box to the bar. 2021-10-29 18:31:06 +04:00
John Preston 7543351bc9 Add pending requests bar in the chat. 2021-10-29 18:31:06 +04:00
John Preston 0dfbd5fa6e Allow processing requests from full list. 2021-10-29 18:31:06 +04:00
John Preston 9dfbc96274 Display full list of requests. 2021-10-29 18:31:06 +04:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston 7f428f2eeb Show full requests list in a box. 2021-10-29 18:31:06 +04:00