Compare commits

...

6975 Commits

Author SHA1 Message Date
John Preston
707951accb Version 5.2: Fix build with GCC. 2024-06-30 23:59:03 +04:00
John Preston
7eb98b50ec Version 5.2.
- Pay for content with Telegram Stars.
- Enable local passcode unlock by Windows Hello and Touch ID.
- Allow opening forums, topics and archive in a separate window.
2024-06-30 21:21:51 +04:00
John Preston
65f7bdb914 Update API scheme on layer 183. 2024-06-30 21:16:11 +04:00
John Preston
876c47c436 Add 'section_separator_color' to webview palette. 2024-06-30 21:16:11 +04:00
John Preston
e8f16840de Fix wrong search focusing.
Fixes #28052.
2024-06-30 21:16:11 +04:00
John Preston
dd57ad567f Don't break by '/', '.' in the middle of the word.
Fixes #27999.
2024-06-30 21:16:11 +04:00
John Preston
54934fb835 Fix problems with message effect preview. 2024-06-30 21:16:11 +04:00
John Preston
bd49887607 Fix paid media price tag background. 2024-06-30 21:16:11 +04:00
John Preston
aaa72b7c30 Improve system unlock button area. 2024-06-30 21:16:10 +04:00
John Preston
4cafacc8db Add message effects promo section. 2024-06-30 21:16:10 +04:00
John Preston
374b3c68ac Fix cancel search with a similar channel open.
Fixes #28079.
2024-06-30 21:16:10 +04:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
23rd
6dc3bd65e8 Improved spell checking on macOS. 2024-06-30 21:16:10 +04:00
23rd
deb9aa435b Improved first display of personal channel in user profiles. 2024-06-30 21:16:10 +04:00
23rd
68cb568898 Fixed build with Qt6. 2024-06-30 21:16:10 +04:00
23rd
1ed81b1c9c Improved process of mtp updates for revenue credits in earn section. 2024-06-30 21:16:10 +04:00
23rd
a95fb5b28d Slightly improved withdraw phrases to fit small buttons. 2024-06-30 21:16:10 +04:00
23rd
4f7b5ca7da Added process of server notification for disabled withdrawal feature. 2024-06-30 21:16:10 +04:00
23rd
29b7673b88 Simplified handle of incoming credit history entries. 2024-06-30 21:16:10 +04:00
23rd
66f375d2c6 Fixed endless memory copying in list of credits history entries. 2024-06-30 21:16:10 +04:00
John Preston
77d214d2a5 Support paid_media_allowed flag in ChannelFull. 2024-06-30 21:16:10 +04:00
John Preston
09e6077e97 Suggest global search of cashtags. 2024-06-30 21:16:10 +04:00
John Preston
631d6abb06 Improve formatting in message field. 2024-06-30 21:16:10 +04:00
John Preston
c833b8a1b0 Make purchased media badge better looking. 2024-06-30 21:16:10 +04:00
John Preston
b58c03f0de Fix build with Xcode. 2024-06-30 21:16:10 +04:00
John Preston
1988435cdf Add a Windows Hello / Touch ID system unlock. 2024-06-30 21:16:10 +04:00
John Preston
7e704d9529 Show price in my/purchased paid media. 2024-06-30 21:16:10 +04:00
John Preston
a39a8dbd2c Show paid media from transactions history. 2024-06-30 21:16:10 +04:00
John Preston
90dfae52f5 Show nice thumbnails for paid albums. 2024-06-30 21:16:10 +04:00
John Preston
dfc422b505 Show paid media albums with context. 2024-06-30 21:16:10 +04:00
John Preston
54cc12cf22 Show media payments as outgoing. 2024-06-30 21:16:10 +04:00
John Preston
d81e832ae6 Use lang key for about stars link. 2024-06-30 21:16:10 +04:00
John Preston
1399d2501d Show first paid media in transactions history. 2024-06-30 21:16:09 +04:00
John Preston
57254ca259 Show a credits emoji in chats list preview. 2024-06-30 21:16:09 +04:00
John Preston
043e3ae97e Use star emoji fallback for credits custom emoji. 2024-06-30 21:16:09 +04:00
John Preston
68b9a8bc6a Fix file reference refresh for paid media. 2024-06-30 21:16:09 +04:00
23rd
157d5c743b Renamed file for data of credits earn statistics. 2024-06-30 21:16:09 +04:00
23rd
54d0290ba2 Added warning to channel earn section when user has no cloud password. 2024-06-30 21:16:09 +04:00
23rd
0fc2df8eec Added transaction link and date to details of credits history entries. 2024-06-30 21:16:09 +04:00
23rd
d9caf15d1d Added initial ability to reinvest existing credits for channels. 2024-06-30 21:16:09 +04:00
23rd
b674826392 Added special widget for credits input to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
37181f9d0a Moved out special widget for credits input to single place. 2024-06-30 21:16:09 +04:00
23rd
93aebc747d Moved out special input for credits to td_ui. 2024-06-30 21:16:09 +04:00
23rd
a84ac933dd Added support of api update to history lists in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
b79c306bfe Added list of credits history to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
57d62423b3 Moved out custom slider class with natural width to single place. 2024-06-30 21:16:09 +04:00
23rd
f4674389d5 Added chart of credits revenue to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
63c4c5064f Added support of api updates for overview in channel earn section. 2024-06-30 21:16:09 +04:00
23rd
ae1f364730 Added rpl support to label with icon in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
c6e322de86 Added credits oveview to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
68bf6f991c Moved out util for wrapping credits icon to widget. 2024-06-30 21:16:09 +04:00
23rd
b15f5f8596 Added credits data to saved state of channel earn section. 2024-06-30 21:16:09 +04:00
23rd
27a71a8dcd Renamed BotEarnStatistics to CreditsEarnStatistics. 2024-06-30 21:16:08 +04:00
John Preston
2044f8f9ad Update API scheme on layer 183. 2024-06-30 21:16:08 +04:00
23rd
ffa4b1db87 Fixed withdrawal button for credits with minimal amount. 2024-06-30 21:16:08 +04:00
23rd
cad25ae644 Fixed unique row id in lists of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
21094fe11b Slightly improved process of incoming credit history entries. 2024-06-30 21:16:08 +04:00
23rd
101dbdf243 Added support of MTP updates to lists of credits history entries. 2024-06-30 21:16:08 +04:00
John Preston
0dc92762bc Show link to message in transactions history. 2024-06-30 21:16:08 +04:00
John Preston
5fdaa6b91f Record bareMsgId in CreditsHistoryEntry. 2024-06-30 21:16:08 +04:00
John Preston
968d036834 Use Ui::NumberInput for the paid media price. 2024-06-30 21:16:08 +04:00
John Preston
d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston
6c1e7357c6 Nice unlock media stars, unlock done tooltip. 2024-06-30 21:16:08 +04:00
John Preston
479b63c33a Customize pay-by-stars box for paid media. 2024-06-30 21:16:08 +04:00
John Preston
950a946a16 Show correct chat preview for paid media. 2024-06-30 21:16:08 +04:00
John Preston
5f8da27c86 Display nice price tag, handle pay in albums. 2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
3ece9b1566 Update API scheme to layer 183. Paid media. 2024-06-30 21:16:08 +04:00
John Preston
e71a067f4b Fix build on Windows. 2024-06-30 21:16:08 +04:00
23rd
ebf456abe4 Added initial support of lists for credits history entries in bot earn. 2024-06-30 21:16:08 +04:00
23rd
3552da5ce7 Added additional row in table for some types of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
b5bd0f53ad Added support of new statuses of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
7d115b3fab Improved api support to credit history entries. 2024-06-30 21:16:08 +04:00
23rd
d0a030ab58 Added support of minimal amount of credits to withdrawal button. 2024-06-30 21:16:08 +04:00
23rd
712c06756e Added icon to label in withdrawal button from bot earn section. 2024-06-30 21:16:08 +04:00
23rd
301ffc15ef Added countdown label to withdrawal button in bot earn section. 2024-06-30 21:16:07 +04:00
23rd
3c4a711b5d Added withdrawal button to bot earn sections. 2024-06-30 21:16:07 +04:00
23rd
989145726d Made withdrawal button handler in earn sections more universal. 2024-06-30 21:16:07 +04:00
23rd
9eebd3b514 Added statistical chart and balance overview to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
eb997ae9e3 Added initial implementation of filter for MTP updates. 2024-06-30 21:16:07 +04:00
23rd
db4c9b83f3 Added credits icon to statistical charts. 2024-06-30 21:16:07 +04:00
23rd
1196b6a3fb Moved out generating of credits icon to td_ui. 2024-06-30 21:16:07 +04:00
23rd
bef216bc93 Moved out colorizing of svg star to td_ui. 2024-06-30 21:16:07 +04:00
23rd
811d75e383 Improved display of different inner currencies in statistical charts. 2024-06-30 21:16:07 +04:00
23rd
049cde48ee Added initial api support of bot earn statistics. 2024-06-30 21:16:07 +04:00
23rd
cb65c50c19 Moved out deserialization of MTP statistical graph to separated file. 2024-06-30 21:16:07 +04:00
23rd
f23c9a61bc Moved out StatisticsRequestSender to separated file. 2024-06-30 21:16:07 +04:00
23rd
b5d5ff3cbb Improved naming of classes for channel earn. 2024-06-30 21:16:07 +04:00
23rd
c5ba0fa705 Added initial structure for bot earn data. 2024-06-30 21:16:07 +04:00
23rd
71893f4ef7 Added initial implementation of entry point to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
4a60c57661 Added dummy files of bot earn section. 2024-06-30 21:16:07 +04:00
John Preston
fbbcc21198 Update API scheme to layer 182. 2024-06-30 21:16:07 +04:00
Ilya Fedin
d993386756 Fix debug-only openssl build on Windows 2024-06-30 11:31:57 +04:00
Ilya Fedin
30819509d3 Set shortcut context for global menu shortcuts 2024-06-30 10:11:40 +04:00
mrbesen
10c3fe0f63 add option to export html and json in global export 2024-06-27 10:49:39 +04:00
Ilya Fedin
3498a7f0ee Update submodules 2024-06-24 16:23:32 +04:00
Ilya Fedin
648b23b548 Do non-getting XCB requests synchronously 2024-06-24 16:23:32 +04:00
Ilya Fedin
ba89912834 Switch more XCB code to base::Platform::XCB::Connection 2024-06-24 16:23:32 +04:00
Ilya Fedin
c1bc7e6ab1 Simplify PipPanel::handleWaylandResize 2024-06-22 11:32:36 +04:00
Ilya Fedin
eea50ed6b0 Delay UpdatePowerSaveBlocker to show in media viewer 2024-06-22 11:32:36 +04:00
Ilya Fedin
006d6fe2c0 Use RpWidget::screenValue 2024-06-22 11:32:36 +04:00
Ilya Fedin
5180e0ec57 Use QWidget::setScreen with Qt 6 2024-06-22 11:32:36 +04:00
Ilya Fedin
490ec7949f Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton 2024-06-22 11:32:36 +04:00
Ilya Fedin
671a15d763 Update skip taskbar hint on Linux without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
d2d5226dc7 Update exposed state for connecting widgets without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
b58ece3a38 Update lib_ui 2024-06-22 11:32:36 +04:00
Ilya Fedin
2b4a2b5b97 Fix a crash in Dialogs::Widget::setupStories 2024-06-22 11:32:36 +04:00
Ilya Fedin
382b175db2 Fix build on Linux 2024-06-22 11:32:36 +04:00
John Preston
2db81211c8 Fix configure on macOS. 2024-06-21 22:38:49 +04:00
John Preston
46157c99c4 Allow saving empty syntax highlight language. 2024-06-21 22:38:49 +04:00
John Preston
c3ed5224c2 Use tripple-enter to jump out of a block. 2024-06-21 22:38:49 +04:00
John Preston
acee7c7cfc More delay-load libraries on Windows with Qt 6. 2024-06-21 13:25:48 +04:00
John Preston
002fe9a72a Fix build. 2024-06-21 11:55:25 +04:00
John Preston
93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
Ilya Fedin
053f8ad1c0 Ensure media viewer has native window handle before using it 2024-06-21 08:19:44 +04:00
Ilya Fedin
60ca6895db Update submodules 2024-06-19 10:33:33 +04:00
Ilya Fedin
fc5e9414b7 Subscribe to QEvent::WindowStateChange instead of QWindow::windowStateChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
f768e405fa Use RpWidget::shownValue instead of QWindow::visibleChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
a22cf8e303 Use RpWidget::windowActiveValue 2024-06-19 10:33:33 +04:00
Ilya Fedin
8a5797e1bd Re-create QSystemTrayIcon on SNI watcher owner change 2024-06-19 10:31:59 +04:00
Ilya Fedin
750ad600be Store media viewer geometry the same way as main window 2024-06-19 10:08:14 +04:00
Ilya Fedin
eaf4575eb8 Fix IV window geometry restoration 2024-06-19 10:08:14 +04:00
Ilya Fedin
b9677fe1db Update Qt to 6.7.2 on Linux 2024-06-18 22:01:23 +04:00
Ilya Fedin
4047f1733d Update submodules 2024-06-16 20:59:32 +04:00
John Preston
3d114131e0 Fix premium gifting recipient choosing. 2024-06-16 10:27:38 +04:00
John Preston
5810149a77 Improve chats search loading indication. 2024-06-16 10:27:38 +04:00
Ilya Fedin
032fe3e0fc Remove std::optional indrection for nullable XCB types 2024-06-16 09:54:04 +04:00
John Preston
81d7fcba7e Beta version 5.1.8: Fix build with GCC. 2024-06-15 23:03:55 +04:00
John Preston
4e9b5b0d33 Beta version 5.1.8: Fix build. 2024-06-15 22:45:21 +04:00
John Preston
90068f6261 Beta version 5.1.8: Update tg_owt on Linux. 2024-06-15 21:16:55 +04:00
John Preston
f37d056c14 Beta version 5.1.8.
- Support nice blockquotes and code blocks edition when composing messages.
- Support collapsing blockquotes and specifying syntax highlight language.
- Support nice spoiler animation in the message composing input field.
2024-06-15 21:06:23 +04:00
John Preston
f748988ae3 Update Qt patches. 2024-06-15 20:59:19 +04:00
John Preston
9a25d2c413 Simplify correct unicode characters counting. 2024-06-15 20:57:48 +04:00
John Preston
ec40292cbf Allow editing of collapsed quotes. 2024-06-15 20:57:30 +04:00
John Preston
5e8c3fb146 Allow editing syntax highlighting language. 2024-06-15 20:57:00 +04:00
John Preston
fa8ed186d8 Improve field fade conditions. 2024-06-15 20:56:45 +04:00
John Preston
c1f36d43d0 Support modern blockquote/pre display. 2024-06-15 20:56:44 +04:00
John Preston
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
John Preston
8ad5117495 Update lib_ui. 2024-06-15 20:55:09 +04:00
Ilya Fedin
d79da3d884 Remove old notification descturction workaround for old X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
e4d88f829c Remove old window activation workaround for X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
2673e1df53 Fix IV window on Linux 2024-06-15 11:04:45 +04:00
John Preston
99e88d74bc Version 5.1.7: Fix build with Qt 6. 2024-06-14 19:06:19 +04:00
John Preston
43ffc9d67c Version 5.1.7.
- Fix recently searched hashtags in chats search.
- Fix formatting shortcuts on macOS.
- Fix non-Telegram-Stars-invoice bot buttons with star emoji.
2024-06-14 18:36:28 +04:00
John Preston
053c462dc0 Fix recent hashtags in chats search. 2024-06-14 18:34:59 +04:00
John Preston
174b627a78 Fix markdown shortcuts on macOS / some Linux. 2024-06-14 17:39:16 +04:00
23rd
bb33d0b997 Replaced credits currency with icon only in buttons with Buy type. 2024-06-14 15:32:02 +03:00
pandaninjas
6f6fb3d1b6 Add xlsb to list of executable extensions 2024-06-14 13:49:15 +04:00
Ilya Fedin
3f216ad946 Enable parallelism for more dependencies 2024-06-13 21:35:34 +04:00
John Preston
c49eb7041f Version 5.1.6: Fix sticker effect filtering. 2024-06-13 20:55:49 +04:00
John Preston
a1d8202644 Version 5.1.6.
- Fix search in archived chats in single-column layout.
- Improve chat previews for topics, Saved Messages and groups.
- Fix formatting shortcuts on Linux.
- Fix options for Telegram Stars buying in case of large amounts.
2024-06-13 18:48:35 +04:00
23rd
82428aef28 Added support for quoted-printable encoding to contact media. 2024-06-13 18:44:33 +04:00
23rd
10f7b985c7 Added decimal separators to count of members in shared similar channels. 2024-06-13 18:44:33 +04:00
23rd
06075411a5 Fixed cases when list of top-up credit options is empty. 2024-06-13 18:44:33 +04:00
23rd
7e01b12825 Replaced credits currency with icon in buttons of reply keyboard. 2024-06-13 18:44:33 +04:00
John Preston
273119fc55 Fix preview messages load in migrated groups. 2024-06-13 18:43:58 +04:00
John Preston
e47e4ba338 Update submodules. 2024-06-13 18:08:43 +04:00
John Preston
cbcdeae200 Don't show topic buttons in topic preview. 2024-06-13 18:08:36 +04:00
John Preston
c585112e37 Fix jump to archive from search in chat. 2024-06-13 16:33:58 +04:00
John Preston
392df8b56f Fix search in archived chats and return back. 2024-06-13 16:24:41 +04:00
John Preston
0e6470a087 Don't restrict Saved Messages by premium-only privacy. 2024-06-13 15:47:40 +04:00
John Preston
6c0ea0eb9f Version 5.1.5.
- Return WebView on Windows.
2024-06-07 06:57:27 +04:00
John Preston
9229de2658 Return webview on Windows. 2024-06-07 06:57:06 +04:00
John Preston
2935721cd0 Version 5.1.4.
- Improve design of search in chat.
- Show vCard information for shared contacts.
- Allow scheduling media in topic groups.
- Several minor bugfixes.
2024-06-06 22:19:53 +04:00
John Preston
a48cd5f15a Don't show IV buttons on old Windows. 2024-06-06 22:17:30 +04:00
John Preston
9e77e80f92 Moderation on context menu album delete.
Fixes #28012.
2024-06-06 22:16:57 +04:00
John Preston
deb50ee528 Fix video full-window toggle in windowed mode. 2024-06-06 22:16:53 +04:00
John Preston
14909ae913 Fix empty space to the right of photo media. 2024-06-06 22:16:48 +04:00
John Preston
d5d9da7d0a Allow scheduling media in topic groups. 2024-06-06 22:16:43 +04:00
John Preston
86a048a021 Update libvpx to 1.14.1. 2024-06-06 22:16:38 +04:00
23rd
aafa8631e0 Moved out url for credits terms to lang pack. 2024-06-06 22:16:38 +04:00
Ilya Fedin
9176bf2e47 Update lib_webview 2024-06-06 21:08:54 +04:00
John Preston
72c667b153 Redesign search scope selection. 2024-06-06 09:12:23 +04:00
23rd
fe6f65b3ab Fixed text elision of peer name in section of chat preview. 2024-06-06 09:12:23 +04:00
23rd
5db2821f8c Removed unused refund api support for credits. 2024-06-06 09:12:23 +04:00
23rd
9e3e7265d2 Improved display of cached message preview in profile sections. 2024-06-06 09:12:23 +04:00
23rd
749b2e0e95 Added ability to see vcard if available to all types if contacts media. 2024-06-06 09:12:23 +04:00
Ilya Fedin
5b45397383 Update lib_webview 2024-06-06 09:12:03 +04:00
Ilya Fedin
61c17c0a93 libasound2 -> libasound2t64 2024-06-04 15:48:18 +04:00
John Preston
93e592472c Version 5.1.3.
- Rebuild version for macOS to fix the phrases.
2024-06-04 14:38:05 +04:00
John Preston
379a94db42 Version 5.1.2.
- Several bugs fixed including a couple of crashes.
2024-06-04 00:00:12 +04:00
23rd
4f4d216987 Fixed display of button in channel earn section when balance is low. 2024-06-03 23:00:48 +04:00
23rd
6400875d55 Replaced text drawing in menu from phone handler with Text::String. 2024-06-03 23:00:47 +04:00
John Preston
06d0e78b00 Fix a crash in forwarded sender avatars. 2024-06-03 22:59:14 +04:00
John Preston
9043c18725 Don't drop search on non-empty backspace. 2024-06-03 22:27:15 +04:00
Ilya Fedin
88e742927f File descriptor fixes for XDPOpenWithDialog
- Open it with O_CLOEXEC
- Remove unneseccary std::array complication
- Rely on Gio::UnixFDList to close it
2024-06-03 17:49:16 +04:00
Ilya Fedin
a6fcc6d51d Rely on media viewer code to close itself before ShowInFolder 2024-06-03 17:49:16 +04:00
John Preston
23a13ab54e Close chats search when selecting a folder. 2024-06-03 17:13:14 +04:00
John Preston
e8a929bdbd Fix bottom info display in media. 2024-06-03 15:03:41 +04:00
John Preston
eafc01e02b Fix small photo display in wide enough chat.
Fixes #28004.
2024-06-03 14:14:42 +04:00
John Preston
f817504d67 Fix formatting drop on zero cursor position. 2024-06-03 13:52:00 +04:00
John Preston
f91eb65239 Fix channel reactions editing. 2024-06-03 13:40:04 +04:00
John Preston
e978770fbd Fix crash in theme IV opening. 2024-06-03 12:48:11 +04:00
23rd
9c83b8bac5 Fixed emoji display in reply markup button from bar for pinned messages. 2024-06-02 23:11:09 +03:00
23rd
47ce34e987 Added initial support of vcard from media contacts. 2024-06-02 22:06:49 +03:00
John Preston
1656a9c3e2 Fix bot about title display. 2024-06-02 10:55:13 +04:00
John Preston
47e06cf385 Fix dropping invertCaption on reschedule. 2024-06-02 10:55:13 +04:00
John Preston
f61f649a7e Add a power saving setting for effects. 2024-06-02 10:55:13 +04:00
John Preston
a7bffe7abd Version 5.1.1: Fix misspelled attribute. 2024-06-01 23:58:31 +04:00
John Preston
51b866293f Version 5.1.1.
- Fix caption display on some media.
- Fix collapsed blockquotes rendering.
- Fully close search in chat by "Cancel" click.
- Allow editing caption placement and spoiler in topics.
- Disable effects on forwarded messages and inline results.
2024-06-01 23:40:20 +04:00
John Preston
bd20a3cfe4 Fix filtered premium sticker effects selection. 2024-06-01 23:35:04 +04:00
John Preston
86778aa4d9 Fix cancel search glitch with the new search. 2024-06-01 23:26:02 +04:00
John Preston
12eecec501 Disable effects for inline results sending. 2024-06-01 23:21:48 +04:00
John Preston
26345208a9 Fix caption disappearance on album sending. 2024-06-01 23:02:29 +04:00
John Preston
ee680ac1f1 Don't try adding effects to forwarded messages. 2024-06-01 22:49:51 +04:00
John Preston
bb79a07262 Move SendMenu additional actions to bottom. 2024-06-01 22:43:19 +04:00
John Preston
70fe649743 Hide media viewer on macOS when showing IV. 2024-06-01 22:31:43 +04:00
John Preston
400f0f8785 Empty line between description and ID. 2024-06-01 22:09:01 +04:00
John Preston
eac7bf1c48 Show "View as Messages" preview on forum preview. 2024-06-01 22:02:17 +04:00
John Preston
f4abe37dff Display peer IDs with delimeters. 2024-06-01 21:53:41 +04:00
John Preston
b7f165a259 Fix albums with wide captions. 2024-06-01 21:53:26 +04:00
John Preston
c1b95afd88 Fix media spoiler/caption-above edit in topics/scheduled. 2024-06-01 21:17:09 +04:00
John Preston
36766e7546 Fix collapsed blockquotes in the end of the text. 2024-06-01 21:16:31 +04:00
John Preston
59c016e4ce Fix search input not in the end of the query. 2024-06-01 20:39:31 +04:00
John Preston
e9e347fa6c Fix crash in stories privacy handling. 2024-06-01 20:34:16 +04:00
23rd
7aef0b0a83 Fixed frame size of video userpic in short info boxes on Retina. 2024-06-01 16:55:01 +03:00
23rd
d9572949f6 Replaced confirmation box for proxy links with generic box. 2024-06-01 16:02:59 +03:00
23rd
233e80d22d Fixed display of confirmation box for proxy links in correspond window. 2024-06-01 16:02:59 +03:00
John Preston
5c83858a50 Remove empty space below video without caption. 2024-06-01 10:58:48 +04:00
John Preston
c681569349 Fix info display in video with caption above. 2024-06-01 10:53:00 +04:00
John Preston
bb43afdd93 Fix search in chat close by "Cancel" link. 2024-06-01 10:52:48 +04:00
John Preston
3ba1941808 Version 5.1: Fix build on macOS. 2024-05-31 23:03:06 +04:00
John Preston
72d1b43453 Version 5.1.
- Send messages with effects.
- Move photo or video captions above the media.
- Chat preview on chat photo long press or Alt+Click.
2024-05-31 21:30:18 +04:00
John Preston
0c1b487956 Fix dragging of non-leader media. 2024-05-31 21:30:18 +04:00
23rd
ba611d0f2d Added initial api support of text phone entity in messages. 2024-05-31 18:58:21 +03:00
23rd
50ce847b31 Fixed display of info in media from chat preview. 2024-05-31 19:52:36 +04:00
23rd
dd0d88ccd3 Fixed userpic views in headers of forwarded messages with via bots. 2024-05-31 19:52:36 +04:00
John Preston
a1049ec7ce Add touchscreen preview to recent / channels. 2024-05-31 19:52:36 +04:00
John Preston
0fffeac8da Fix drag-n-drop forward of selected album. 2024-05-31 19:52:36 +04:00
John Preston
1f0acae151 Show frequent/recent selected when preview. 2024-05-31 19:52:36 +04:00
John Preston
521c17b76c Show chat previews in suggestions. 2024-05-31 19:52:36 +04:00
John Preston
f9f51b4e41 Show preview in Frequent Contacts. 2024-05-31 19:52:32 +04:00
John Preston
4e8895ddd9 Show "View as Messages" preview by Alt+Click. 2024-05-31 19:52:32 +04:00
John Preston
ad342a5324 Extract chat preview as a SessionController part. 2024-05-31 19:52:25 +04:00
John Preston
5cfd86b829 Use Ui::Text::String to show topic names.
Fixes #27956.
2024-05-31 19:52:22 +04:00
John Preston
27eb3e45be Allow only t.me links in factchecks. 2024-05-31 19:52:22 +04:00
John Preston
4953246c5d Support touchscreen pinned chats reordering. 2024-05-31 19:52:18 +04:00
John Preston
4df5372dab Support chat preview on touchscreens. 2024-05-31 19:52:12 +04:00
John Preston
40fbd415ef Support collapsible blockquotes in Ui::Text::String. 2024-05-30 21:35:10 +04:00
John Preston
974bf99921 Allow editing spoiler/caption-above in EditCaptionBox. 2024-05-30 21:35:10 +04:00
John Preston
8c0351be4e Allow editing caption above/below media. 2024-05-30 21:35:10 +04:00
John Preston
67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston
924d80ecba Use message text rendering for media captions. 2024-05-30 21:35:10 +04:00
23rd
d219bccf2b Fixed position of via bot header above reply in message view. 2024-05-30 21:35:10 +04:00
23rd
02bd2bca64 Removed display of credits button in settings when user has no credits. 2024-05-30 21:35:10 +04:00
23rd
57ecc2be1d Improved style of list of credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
d3a01b6235 Improved style of list of credits history entries for entry photo. 2024-05-30 21:35:10 +04:00
23rd
58c060c59d Improved style of box for credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
cd7507fb23 Respected accessibility of premium for credits purchasing. 2024-05-30 21:35:10 +04:00
23rd
9a5923676a Added posting of payment event to webview bot after credits sending. 2024-05-30 21:35:09 +04:00
John Preston
c0f3d263a3 Remove webpage length limit for factcheck. 2024-05-30 21:35:08 +04:00
John Preston
056ba644ed Fix empty search placeholder. 2024-05-30 21:35:08 +04:00
23rd
ebaffc333e Added initial api support of refund flag to credits history entries. 2024-05-30 21:35:08 +04:00
23rd
be099880d8 Added initial ability to claim refund credits from history entries list. 2024-05-30 21:35:08 +04:00
John Preston
885dcf0b28 Update API scheme on layer 181. 2024-05-30 21:35:08 +04:00
John Preston
a0d97f03cb Add factcheck footer support. 2024-05-30 21:35:08 +04:00
23rd
c942034ca4 Added link to terms to box of credits history entries. 2024-05-30 21:35:08 +04:00
23rd
0bd780b20f Added fireworks effect on success credit sending. 2024-05-30 21:35:08 +04:00
23rd
7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd
5defb9fb17 Fixed display of credit spending. 2024-05-30 21:35:08 +04:00
23rd
0549c8f037 Moved out list of top-up options to single place. 2024-05-30 21:35:08 +04:00
23rd
3c246e1e92 Split functions for credits settings. 2024-05-30 21:35:08 +04:00
23rd
58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd
1edf0ed70b Moved out widget of photo for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
c27c567225 Added initial support for non-panel credits receipts. 2024-05-30 21:35:08 +04:00
23rd
93eff78cd6 Replaced all credits currency name at least with simple star. 2024-05-30 21:35:08 +04:00
23rd
a2a27e115c Moved out box for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
e9fb580ba4 Moved out credits currency to single place. 2024-05-30 21:35:08 +04:00
23rd
d73313479b Partly reverted "Processed payments form with API scheme on layer 181.". 2024-05-30 21:35:08 +04:00
23rd
e4e343b871 Removed unused Ui::IsCreditsInvoice. 2024-05-30 21:35:08 +04:00
23rd
dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
3dd894ad30 Improved SendCreditsBox for data from credits payment form. 2024-05-30 21:35:07 +04:00
23rd
f08ff92470 Added initial ability to provide data for non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
923aaec085 Returned media to messages with credits invoice. 2024-05-30 21:35:07 +04:00
John Preston
1d3110228d Fix phrase in factcheck toast. 2024-05-30 21:35:07 +04:00
23rd
7194781bb8 Added api support for premium bot peer type for credits history entries. 2024-05-30 21:35:07 +04:00
John Preston
97a5e0c6ea Support limited formatting input in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a3ef36f9f7 Fix build on Windows. 2024-05-30 21:35:07 +04:00
John Preston
d13bf19b79 Show length limit when editing a factcheck. 2024-05-30 21:35:07 +04:00
John Preston
493f0450b4 Implement factcheck edition. 2024-05-30 21:35:07 +04:00
John Preston
74861a334d Show expand/collapse icon in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a87a221f26 Force red for factcheck. 2024-05-30 21:35:07 +04:00
John Preston
923a9ec6a8 Show toggle-able factcheck footer. 2024-05-30 21:35:07 +04:00
John Preston
b299881bf8 Track factcheck text and create media. 2024-05-30 21:35:07 +04:00
John Preston
5ee2bca616 Update API scheme on layer 181. 2024-05-30 21:35:07 +04:00
23rd
d1e914fb30 Added initial implementation of box for credits history entries. 2024-05-30 21:35:07 +04:00
23rd
43cb315f47 Replaced PeerId with BareId in credits history entries. 2024-05-30 21:35:07 +04:00
23rd
dcc52a7333 Moved out painting of userpic for credits entries to single place. 2024-05-30 21:35:07 +04:00
23rd
84cde1354d Slightly improved invoice view in messages for credits. 2024-05-30 21:35:07 +04:00
23rd
3d81414c71 Added initial implementation of box for sending credits. 2024-05-30 21:35:07 +04:00
23rd
69c48e2b5b Moved out credits balance widget to single place. 2024-05-30 21:35:07 +04:00
23rd
5ca9b74142 Fixed effect for successful payments in credits settings. 2024-05-30 21:35:07 +04:00
23rd
e11755af46 Added credits balance to main session. 2024-05-30 21:35:07 +04:00
23rd
174fb62c32 Fixed purchases of credits. 2024-05-30 21:35:07 +04:00
23rd
0e30e306ff Added second type of stars to animation of mini stars. 2024-05-30 21:35:07 +04:00
23rd
5e29f382cd Fixed build with Xcode. 2024-05-30 21:35:07 +04:00
John Preston
8eb24f620d Update API scheme on layer 181. 2024-05-30 21:35:07 +04:00
John Preston
5adde6c93a Fix build on Windows. 2024-05-30 21:35:07 +04:00
23rd
42d6d0d58a Added tooltip to balance label in credits settings for high values. 2024-05-30 21:35:07 +04:00
23rd
6336df2bd6 Slightly improved code style for decimal counts. 2024-05-30 21:35:07 +04:00
23rd
030d35ea7e Added initial implementation of balance in credits settings. 2024-05-30 21:35:07 +04:00
23rd
d81c3554cc Added multiple icons to credits topup options. 2024-05-30 21:35:07 +04:00
23rd
ca37ffa086 Added list of credit history entries to credits settings. 2024-05-30 21:35:07 +04:00
23rd
154fe63b43 Implemented list of credit history entries. 2024-05-30 21:35:06 +04:00
23rd
65384d54f1 Added random debug data to credits history. 2024-05-30 21:35:06 +04:00
23rd
2bf8cb84d0 Added api support of credits status and credits history. 2024-05-30 21:35:06 +04:00
23rd
f0a82de784 Fixed editing of last message with uploading media. 2024-05-30 21:35:06 +04:00
23rd
1a393ddebb Added star icons with gradient to main settings for premium buttons. 2024-05-30 21:35:06 +04:00
23rd
9b11b95c5b Added api support of invoice payments for credits. 2024-05-30 21:35:06 +04:00
23rd
d0bfee6963 Added initial list for topup options in settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
f1636de572 Added initial api support for credits topup options. 2024-05-30 21:35:06 +04:00
23rd
b5eb195f43 Added initial dummy settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
4a0bffe618 Added ability to provide custom gradient to star in premium top bar. 2024-05-30 21:35:06 +04:00
23rd
53d97b4146 Added ability to provide custom gradient to colored premium stars. 2024-05-30 21:35:06 +04:00
23rd
2a224c839e Added initial phrases for settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
bc7aa91fbb Removed redundant constructor from Ui::Premium::TopBar. 2024-05-30 21:35:06 +04:00
23rd
ac2f35f12b Processed payments form with API scheme on layer 181. 2024-05-30 21:35:06 +04:00
John Preston
39e03c3ca7 Update API scheme to layer181. 2024-05-30 21:35:06 +04:00
John Preston
1ce49df123 Fix saved / replies userpics in chats search. 2024-05-30 21:35:06 +04:00
John Preston
1865fd382c Show loading placeholders in chats list. 2024-05-30 21:35:06 +04:00
John Preston
e00c6ecfb8 Show empty / placeholder in chats search. 2024-05-30 21:35:06 +04:00
John Preston
279db771cf Support dynamic search tabs with emoji. 2024-05-30 21:35:06 +04:00
John Preston
7b7438cd7b Make chats list tabs closer to each other. 2024-05-30 21:35:06 +04:00
John Preston
42d53e5543 Fix saved messages tags search. 2024-05-30 21:35:06 +04:00
John Preston
fce520c9c0 Clear saved messages tags on cancel search. 2024-05-30 21:35:06 +04:00
John Preston
b21bcb86cc Fix search from user in forums. 2024-05-30 21:35:06 +04:00
John Preston
7d61ab9412 Improve forum search support. 2024-05-30 21:35:06 +04:00
John Preston
701bf0d553 Fix searching with "from:" prefix. 2024-05-30 21:35:06 +04:00
John Preston
583bcca6a9 Fix forum search open by Ctrl+F. 2024-05-30 21:35:06 +04:00
John Preston
6a8edefc87 Fix some bugs in new chats search. 2024-05-30 21:35:06 +04:00
John Preston
dd5643ac67 Start chats search rewrite. 2024-05-30 21:35:06 +04:00
John Preston
787cf7853e Implement simple chats search bar. 2024-05-30 21:35:06 +04:00
John Preston
5bfbae3afc Update API scheme on layer 180. 2024-05-30 21:35:06 +04:00
John Preston
363b700f1f Fix chat preview and new emoji interactions. 2024-05-30 21:35:05 +04:00
John Preston
cde70b9807 Play effects in a separate layer over MainWidget. 2024-05-30 21:35:05 +04:00
John Preston
f7ab8a2174 Fix Chat / Effect previews in custom themes. 2024-05-30 21:35:05 +04:00
John Preston
a011a7c316 Fix sending scheduled effects. 2024-05-30 21:35:05 +04:00
John Preston
487fa9728a Fade in/out effect preview. 2024-05-30 21:35:05 +04:00
John Preston
8a58ded582 Show effect loading animation. 2024-05-30 21:35:05 +04:00
John Preston
ec5d8b7373 More robust effect icon loading. 2024-05-30 21:35:05 +04:00
John Preston
732b67ca04 Implement effects paywalls. 2024-05-30 21:35:05 +04:00
John Preston
d102d256a9 Implement effects search. 2024-05-30 21:35:05 +04:00
John Preston
bbb3a51b74 Fix effect selector for !_useTransparency case. 2024-05-30 21:35:05 +04:00
John Preston
d0d1ef9e66 Fix effect panel jump on expand. 2024-05-30 21:35:05 +04:00
John Preston
b01244fc42 Show correct sticker effects title. 2024-05-30 21:35:05 +04:00
John Preston
b92a05011f Show sticker effects in a StickerListWidget. 2024-05-30 21:35:05 +04:00
John Preston
5fb7992b04 Improve effect initial auto-play. 2024-05-30 21:35:05 +04:00
John Preston
f371cd1af2 Use nice fake message for effect preview. 2024-05-30 21:35:05 +04:00
John Preston
144109db05 Show effect preview before sending. 2024-05-30 21:35:05 +04:00
John Preston
e120ae6ae6 Pass effect to API for sending. 2024-05-30 21:35:05 +04:00
John Preston
d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston
396ba9a984 Initial code of attaching effect selector. 2024-05-30 21:35:05 +04:00
John Preston
92133e7f50 Show effect animation with correct geometry. 2024-05-30 21:35:05 +04:00
John Preston
a19e71324b Implement basic effect animation. 2024-05-30 21:35:05 +04:00
John Preston
f762634036 Support effects API, show icon in info. 2024-05-30 21:35:05 +04:00
John Preston
ee4f83ffde Disable bottom-info reactions view. 2024-05-30 21:35:05 +04:00
John Preston
f8188f360a Update API scheme to layer 180. 2024-05-30 21:35:05 +04:00
John Preston
2bbc7406da Beta version 5.0.6.
- Fix chat preview with non-default themes.
- Fix chat preview crash when scrolling up.
- Jump to chat from preview only by Double-Click.
- Show chat preview with Force Touch on macOS.
2024-05-30 19:06:51 +04:00
John Preston
a9dd9aeb90 Use InnoSetup SignTool for setup signing.
Fixes #27583.
2024-05-30 19:03:12 +04:00
John Preston
aa4156d1e7 Ignore shortcuts when preview is shown. 2024-05-30 19:03:08 +04:00
John Preston
4f5594c8cc ChatNext jumps to first chat if no chat opened.
Fixes #27963.
2024-05-30 19:03:04 +04:00
John Preston
0527e9a0f7 Fix adding bot as admin to channel. 2024-05-30 17:02:28 +04:00
John Preston
28cbb02b20 Jump to chat only by Double-Click on preview. 2024-05-30 17:02:26 +04:00
John Preston
7d636820ac Show last updated topic preview on Alt+Click. 2024-05-30 17:02:23 +04:00
John Preston
e2b78b673b Fix unintentional search focus. 2024-05-30 17:02:19 +04:00
John Preston
a9a0fe7cf5 Fix RTL chat names in preview. 2024-05-30 17:02:13 +04:00
John Preston
2b9e7a6b25 Show preview on Force-Click on macOS. 2024-05-30 17:02:09 +04:00
John Preston
d6e827e982 Fix loading of chat preview messages. 2024-05-30 17:02:02 +04:00
John Preston
d2e6003521 Ignore right click on preview. 2024-05-30 17:01:59 +04:00
John Preston
465fc42718 Fix chat preview in non-default themes. 2024-05-29 09:43:40 +04:00
John Preston
0dd6ff9d9b Beta version 5.0.5.
- Long press on chat userpic to show quick preview.
- Alt+Click on chat to show quick preview.
- Show author userpics in forwarded messages.
2024-05-29 00:03:45 +04:00
23rd
8a6b1677f4 Added userpic views to headers of forwarded messages. 2024-05-28 21:42:00 +04:00
John Preston
470b3a2cbd Fix preview showing on fast userpic click. 2024-05-28 21:42:00 +04:00
John Preston
a60783eae3 Implement preview top and bottom. 2024-05-28 21:42:00 +04:00
John Preston
de73d8766c Open chat on exact clicked message from preview. 2024-05-28 21:42:00 +04:00
John Preston
cd7cfcdf2f Show chat preview on Alt+Click. 2024-05-28 21:42:00 +04:00
John Preston
aee62c7591 Fix migrated history in chat preview. 2024-05-28 21:42:00 +04:00
John Preston
0f524ac67d Don't stick to bottom while loading down. 2024-05-28 21:42:00 +04:00
John Preston
f223ae7eee Implement chats preview, show from unread. 2024-05-28 21:42:00 +04:00
John Preston
68df8448a2 Use arc_angles.h from lib_ui. 2024-05-28 21:42:00 +04:00
John Preston
da31fef1ae Show long-press preview of topics. 2024-05-28 21:41:59 +04:00
John Preston
4427ae4306 Empty preview widget on long userpic press. 2024-05-28 21:41:59 +04:00
John Preston
ef2aa05197 Allow HistoryView::ListWidget without SessionController. 2024-05-28 21:41:59 +04:00
John Preston
e5132e3fe8 Version 5.0.4
- Fix reply to last message by Ctrl+Up in topics.
- Some other bug fixes.
2024-05-28 20:32:48 +04:00
23rd
3b6870396c Added ability to hide every sponsored message to premium users. 2024-05-28 20:30:40 +04:00
23rd
f6b849e4f7 Added ability to add proxy from clipboard. 2024-05-28 20:30:40 +04:00
23rd
48e3802565 Improved labels for channel and group types with restricted content. 2024-05-28 20:30:40 +04:00
23rd
26ba7e57ce Fixed color of radial animation in audio files from shared media. 2024-05-28 20:30:40 +04:00
23rd
2605e754ff Added back button to cloud password step in intro. 2024-05-28 20:30:40 +04:00
23rd
9e85b1aa23 Fixed fake ability to hide webpage media with spoiler. 2024-05-28 20:30:40 +04:00
Ilya Fedin
88cd886ec8 Update lib_webview 2024-05-28 17:50:39 +04:00
John Preston
adc536b81d Fix Ctrl+Up reply in topics / comments. 2024-05-28 15:01:01 +04:00
John Preston
275327c789 Version 5.0.3.
- Ctrl+Click on Reply in menu to Reply in another chat.
- Allow Zero-Width-Space character in text rendering.
- Fix creating custom links in the message field.
- Fix jump to the topic with last unread message.
- Fix newline entering via Shift+Enter on Linux.
- Fix forum search open by Ctrl+F.
2024-05-28 11:53:51 +04:00
John Preston
72471c74d0 Limit symbols that allow diacritics after them. 2024-05-28 11:45:21 +04:00
John Preston
b9f63f80f1 Reply-in-another-chat by Ctrl+Click on Reply. 2024-05-28 10:59:46 +04:00
John Preston
32cd2120ac Allow zero width space in the middle of text.
Fixes #6959.
2024-05-28 10:54:20 +04:00
John Preston
7db9abf725 Fix forum search open by Ctrl+F. 2024-05-28 10:04:57 +04:00
John Preston
f09a939a7c Improve fix for markup. 2024-05-27 22:24:19 +04:00
John Preston
f1c1c900bf Fix newline regression on Linux. 2024-05-27 22:08:20 +04:00
John Preston
a43143d01c Separate ForceDisable from LastCheckCrashed. 2024-05-27 17:54:23 +04:00
John Preston
7357b40ba1 Fix build with updated lib_ui. 2024-05-27 17:54:23 +04:00
Ilya Fedin
ad6e34f3a4 Update lib_webview 2024-05-27 14:00:26 +04:00
John Preston
daf30dcab8 Fix jump to last topic in case of unread topic click. 2024-05-27 13:33:25 +04:00
Ilya Fedin
0033ad749f Update lib_webview 2024-05-27 08:06:25 +04:00
Ilya Fedin
62c249015d Update lib_webview 2024-05-26 14:20:43 +04:00
John Preston
31fcca245f Version 5.0.2: Fix IME-to-search on macOS. 2024-05-24 20:54:10 +04:00
John Preston
f4864cddc9 Fix possible crash in Settings of crashed web-app.
Fixes #27943.
2024-05-24 20:54:10 +04:00
John Preston
36db1105a2 Fix build with Xcode. 2024-05-24 16:09:01 +04:00
John Preston
364f62660c Version 5.0.2: Update the version number. 2024-05-24 15:26:18 +04:00
John Preston
b67a1bca49 Version 5.0.2.
- Toggle chats search focus by Tab key.
- Unfocus empty search by Backspace key.
- Add a spoiler to already sent media when editing.
- Forward by drag-n-drop to frequent contacts / recent searches.
- Allow wide chats list in empty window
with narrow list when a chat is opened.
- Improve custom font support in the input fields.
- Fix input method typing from unfocused search.
- Fix possible media reordering on batch send.
- Fix crash in group emoji set saving.
- Fix possible hang on quit on macOS.
2024-05-24 15:13:04 +04:00
John Preston
000911546b Fix usernames drop on min user being received. 2024-05-24 14:50:00 +04:00
John Preston
e26b8e7ebc Fix passcode lock glitch with new search. 2024-05-24 14:14:29 +04:00
John Preston
f03935ad9a Kill hang processes in case of app quitting. 2024-05-24 14:08:14 +04:00
John Preston
d91b75b8f8 Allow wide chats in empty window. 2024-05-24 12:55:48 +04:00
John Preston
4d4cf472c8 Fix crash in group emoji set saving. 2024-05-24 12:55:48 +04:00
John Preston
685c7a865e Use 64 iterations (like OpenSSL 3 for 2048 primes). 2024-05-24 12:55:48 +04:00
John Preston
0551550e61 Don't always open last topic in forums. 2024-05-24 12:55:48 +04:00
John Preston
c3fab28e1c Improve scroll style for limited reaction selector. 2024-05-24 12:55:48 +04:00
John Preston
74db2167f9 Allow copy custom emoji from panel. 2024-05-24 12:55:48 +04:00
John Preston
cedd8fc546 Fix incorrect replace media button show in reply. 2024-05-24 12:55:48 +04:00
John Preston
db486e957c Fix group/channel Appearance button style. 2024-05-24 12:55:48 +04:00
John Preston
1c6f45d8d3 Fix drag-n-drop to frequent/recent contacts. 2024-05-24 12:55:48 +04:00
John Preston
ba8bb2d50f Add .vscode to .gitignore. 2024-05-24 12:55:48 +04:00
John Preston
ec6d6a78cf Tab toggles search focus, Backspace doesn't focus. 2024-05-24 12:55:48 +04:00
John Preston
f10f3c08de Attempt to fix sending messages to broken topics. 2024-05-24 12:55:48 +04:00
John Preston
39c1da6642 Attempt to fix jump to unread in some cases. 2024-05-24 12:55:48 +04:00
John Preston
84ec2a5f74 Possibly fix wrong requests order. 2024-05-22 21:21:03 +04:00
Ilya Fedin
5e3e9ba824 Ensure Qt doesn't prevent quit due to ignored widget close events 2024-05-22 16:47:08 +04:00
Ilya Fedin
198528f79f Remove code needed for a removed patch 2024-05-21 14:20:43 +04:00
Ilya Fedin
8a5ad581b8 Update Qt to 6.7.1 on Linux 2024-05-21 14:20:43 +04:00
Ilya Fedin
7dbf8ca1f4 Remove unneeded Qt::WA_InputMethodEnabled
The widget already had it
2024-05-21 14:10:47 +04:00
dependabot[bot]
df808df8d3 Bump actions/upload-artifact from 2 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 09:16:03 +04:00
Ilya Fedin
4fddaef112 Update lib_webview 2024-05-20 14:25:23 +04:00
John Preston
2bdc204c47 Fix geometry applying in webview windows. 2024-05-20 14:25:23 +04:00
Ilya Fedin
6734f99ba8 Update lib_ui & patches on Linux 2024-05-19 20:30:13 +04:00
Ilya Fedin
af4e0178d0 Ensure window flags are set before calling SeparatePanel::setInnerSize
Setting window flags may lead to native window being re-created
2024-05-19 20:30:13 +04:00
Ilya Fedin
65b62485be Forward input method event from Dialogs::Widget to search field 2024-05-19 11:47:16 +04:00
Ilya Fedin
98b58c1168 Add missing binds for OpenGL shaders and buffers 2024-05-19 09:55:34 +04:00
Ilya Fedin
ad13048cdc Update submodules 2024-05-16 22:20:08 +04:00
Ilya Fedin
a753c1515b Remove unneeded wayland-client dependency from telegram part in snap 2024-05-16 22:20:08 +04:00
Ilya Fedin
bd48e2fff2 Fix more package names in snap 2024-05-16 22:20:08 +04:00
John Preston
88ad1be4c3 Try to fix custom fonts in the input field. 2024-05-14 19:36:52 +04:00
John Preston
1f31d8032f Bring chosen font to the top of the box. 2024-05-14 19:36:52 +04:00
John Preston
b5f5aed119 Fix search focus in a hidden window on launch.
Fixes #27853.
2024-05-14 19:36:52 +04:00
John Preston
213326a212 Update submodules. 2024-05-14 19:36:52 +04:00
23rd
264e35a6a8 Fixed rare crash in photo editor when editing media in message. 2024-05-14 17:19:39 +03:00
23rd
76137ca1cf Fixed link to premium section in box about sponsored messages. 2024-05-14 17:19:39 +03:00
23rd
e4323ecd26 Slightly improved code style in processing of api text entities. 2024-05-14 17:19:39 +03:00
23rd
b406e2b99b Fixed sender name for voices in overview layout when sender is hidden. 2024-05-14 17:19:39 +03:00
23rd
c1c49e8ddc Added captions to voice messages in overview layout. 2024-05-14 17:19:39 +03:00
23rd
41e414af37 Removed transcribe buttons from scheduled messages. 2024-05-14 17:19:39 +03:00
23rd
2afb69e787 Fixed text state of reply bubble for messages with unwrapped media. 2024-05-14 17:19:39 +03:00
23rd
3e7d4af4a0 Fixed reply bubble width for short quotes. 2024-05-14 17:19:39 +03:00
23rd
bc11c66777 Added ability to hide single sponsored message to premium users. 2024-05-14 17:19:39 +03:00
23rd
7a95b38d3c Fixed refreshing of file reference in api media spoiler editing module. 2024-05-14 17:19:39 +03:00
23rd
334fd4e951 Added ability to edit media with spoiled one without resending. 2024-05-14 17:19:39 +03:00
GoodDok
923e3ee808 Fix 25202: surrounding $PWD with double quotes
Added double quotes to work correctly with spaces in current directory's name
2024-05-14 14:43:38 +04:00
Robert-André Mauchin
3358673ba4 Add compatibility with FFMPEG 7.0
avio: Constify data pointees of write callbacks

avutil: remove deprecated FF_API_PKT_DURATION

Ref: 2a68d945cd
     02aea61d69
     b8fef7e9c5
2024-05-14 14:39:29 +04:00
dependabot[bot]
d28b9f10b4 Bump jlumbroso/free-disk-space from 1.3.0 to 1.3.1
Bumps [jlumbroso/free-disk-space](https://github.com/jlumbroso/free-disk-space) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jlumbroso/free-disk-space/releases)
- [Commits](f68fdb76e2...54081f1387)

---
updated-dependencies:
- dependency-name: jlumbroso/free-disk-space
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 14:38:48 +04:00
Ilya Fedin
6ebbca58e8 Track major version for official GitHub helpers in actions 2024-05-14 09:54:25 +04:00
Ilya Fedin
15697f4f2b Fix libpng package name in snap 2024-05-08 12:10:37 +04:00
John Preston
2cb0651b04 Redirect IME to search on Windows. 2024-05-07 22:17:34 +04:00
John Preston
1f3a3ec04b Don't focus search when forum is opened. 2024-05-07 22:17:34 +04:00
John Preston
c1a0172822 De-focus empty search by backspace. 2024-05-07 22:17:33 +04:00
GkvJwa
593e76479c Use jom build openssl on windows 2024-05-07 09:52:32 +04:00
dependabot[bot]
5d622b906e Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.13.0
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases)
- [Commits](https://github.com/ilammy/msvc-dev-cmd/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: ilammy/msvc-dev-cmd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 09:02:31 +04:00
dependabot[bot]
7e253314ec Bump jinja2 from 3.1.3 to 3.1.4 in /Telegram/build/docker/centos_env
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:29:00 +04:00
dependabot[bot]
78a05768d8 Bump dessant/lock-threads from 3 to 5
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 5.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:28:48 +04:00
dependabot[bot]
ddf6514a90 Bump actions/stale from 5 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:31 +04:00
dependabot[bot]
3847b97f80 Bump actions/cache from 3.0.11 to 4.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:18 +04:00
dependabot[bot]
046bc03037 Bump actions/checkout from 3.1.0 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v4.1.4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:02 +04:00
Ilya Fedin
7ff5f81b88 Try automatic actions update 2024-05-06 09:46:18 +04:00
John Preston
fb444e7dd4 Version 5.0.1.
- Fix several crashes in new interfaces.
- Fix monospace font size.
- Fix possible problem with underline font size.
2024-05-04 19:08:30 +04:00
23rd
c4f0db5bc5 Fixed possible crash on slow resolving message from personal channel. 2024-05-04 18:13:30 +04:00
23rd
a866ba8cdd Fixed crash on restricting users from moderation box. 2024-05-04 18:13:28 +04:00
John Preston
129d356909 Fix scrolling expanded frequent contacts. 2024-05-04 18:13:04 +04:00
Ilya Fedin
7289292f02 Update lib_ui & patches on Linux 2024-05-04 14:05:09 +04:00
Ilya Fedin
638e88ec79 Revert "Use latest mesa in snap"
This reverts commit b246328dcf.
2024-05-04 14:05:09 +04:00
John Preston
19ead551d9 Fix a typo bug in replies section scrolling. 2024-05-03 21:04:06 +04:00
John Preston
fccaa587e1 Fix adjustment of size for modified fonts. 2024-05-03 21:04:06 +04:00
23rd
1709fcd0df Guarded personal channel info from possible crash on deleting message. 2024-05-03 21:04:06 +04:00
23rd
de1f222bac Fixed rescheduling of selected and grouped scheduled messages. 2024-05-03 21:04:06 +04:00
Ilya Fedin
5e1f0e9f7f Move waiting for answer action 30 minutes later than lock threads 2024-05-03 19:59:24 +04:00
Alan Pope
e3a14d432b Be consistent with libgtk-3-0t64
The reason it worked without explicitly updating this one is because the deb of libgtk-3-0t64 has a 'replaces' line for libgtk-3-0 - which nullifies this entry, as both were specified. But, you're right, looks better to have the right package in there.
2024-05-03 19:59:07 +04:00
Alan Pope
2b013c108f Fixes for unable to find gtk-query-immodules-3.0
The package has been updated for 2038 t64 update. This fixes that. 

Successfully build telegram 5.0.0 in arm64 after the fixes in this PR.
2024-05-03 19:59:07 +04:00
Alan Pope
0194687181 fix: Incorrect package name
Noble has libvpx9, not vpx8.

https://packages.ubuntu.com/search?keywords=libvpx9
2024-05-03 19:59:07 +04:00
John Preston
bb47f4659d Don't adjust monospace font size. 2024-05-02 19:36:59 +04:00
John Preston
2b580d29ae Add .qoi to list of image extensions. 2024-05-02 17:17:40 +04:00
John Preston
b7e52119bc Add .jxl to the list of image extensions. 2024-05-02 16:35:29 +04:00
John Preston
fd633ecb49 Version 5.0.
- Choose custom font family in Settings > Chat settings > Font family.
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" list and similar channels.
- Premium users can use animated emoji in polls.
- Group admins can mass-moderate many messages.
- Fix frequent crashes on some Linux systems.
2024-05-02 14:11:20 +04:00
John Preston
9c77346f36 Fix build with Xcode and GCC. 2024-05-02 14:11:20 +04:00
John Preston
641e74763f Revert non-production-ready prepare.py changes.
Accidentally commited in b9b7d9e337.
2024-05-02 12:17:57 +04:00
John Preston
2e71427427 Improve font size edge cases. 2024-05-02 12:05:46 +04:00
John Preston
95ec0633ed Use custom-adjusted font metrics for custom fonts.
Fixes #27814.
2024-05-02 11:33:47 +04:00
23rd
14e8b8fb91 Fixed spam reporting in moderation box. 2024-05-02 04:09:25 +03:00
23rd
d40951f068 Added ability to moderate non-users to moderation box. 2024-05-02 04:09:25 +03:00
23rd
ab85d18cc8 Added support of personal channel with message. 2024-05-02 04:09:25 +03:00
23rd
6becaaa953 Slightly improved view style of giveaway results in dialogs list. 2024-05-02 04:09:25 +03:00
23rd
26e8c29f40 Moved formatting of dialog last date to td_ui. 2024-05-02 04:09:25 +03:00
John Preston
47800ee02d Improve font size selection a bit. 2024-05-01 19:09:54 +04:00
John Preston
12a24dd473 Fix possible crash in common groups list.
Currently Data::Session::processChat() may change adminRights(),
that may change Data::CanSendAnyOf(peer, ...), that may lead to
Window::SessionController::updateThirdColumnToCurrentChat() call,
that destroys current third column to replace it with another one.

If common groups list was opened in the third column this will crash.

Fixes #27640.
2024-05-01 17:52:40 +04:00
23rd
ad6321d3ae Fixed possible crash in moderate box. 2024-05-01 14:10:37 +03:00
John Preston
7e071c770f Fix possible crash with custom wallpapered peers. 2024-05-01 14:38:06 +04:00
John Preston
a62d1dfa63 Focus chats search by Ctrl[Cmd]+F. 2024-05-01 14:38:05 +04:00
John Preston
b3eb1dbc14 Revert "Toggle search focus by escape."
This reverts commit 72d5a9b3e0.
2024-05-01 14:38:05 +04:00
Ilya Fedin
3170a45158 Increase snapcraft verbosity 2024-05-01 14:06:23 +04:00
John Preston
32483fa13b Just focus the search field on Space. 2024-05-01 12:57:47 +04:00
John Preston
9166a1c3a6 Update Linux Qt patches. Hope fixes crashes. 2024-05-01 12:57:07 +04:00
GitHub Action
6fa0afff37 Update User-Agent for DNS to Chrome 124.0.0.0. 2024-05-01 12:47:51 +04:00
Ilya Fedin
bc649af941 Schedule no-response action runs at different times
To avoid rate limits
2024-05-01 12:47:42 +04:00
John Preston
16ce5ef046 Greeting category first in ChatIntro setup. 2024-05-01 12:47:20 +04:00
John Preston
bb6fd4bc4d Update scheme, new sticker categories. 2024-05-01 12:47:20 +04:00
John Preston
63e1731d7c Fix premium preview bullet-dots.
Regression was introduced in 88751896af.
2024-05-01 12:47:20 +04:00
John Preston
b9b7d9e337 Implement live location view. 2024-05-01 12:47:20 +04:00
23rd
ef8c07e6eb Added ability to translate selected text in profile section. 2024-04-30 17:35:34 +03:00
23rd
20a13663a6 Slightly improved style of rpl text mapping. 2024-04-30 17:35:04 +03:00
23rd
2f0aa6ef05 Removed state sending of low level of battery to call participant. 2024-04-30 16:49:17 +03:00
23rd
62bd1354dc Replaced box for leaving or deleting chat with generic box. 2024-04-28 20:14:26 +03:00
23rd
be255f1d09 Added to moderate box number of all messages that will be deleted. 2024-04-28 20:14:26 +03:00
23rd
b8b02b2285 Replaced list of history items for sending now with sorted by date. 2024-04-28 13:33:04 +03:00
23rd
e0db0642bd Fixed crash when deleting message from non-user. 2024-04-27 16:39:13 +03:00
23rd
e81465a54e Added Enter shortcut to moderation box for confirmation. 2024-04-27 13:31:00 +03:00
23rd
6e67cfc7be Fixed possible crash in moderation box. 2024-04-27 12:59:36 +03:00
John Preston
c0db5ee98a Beta version 4.16.10: Fix GCC build. 2024-04-26 23:41:28 +04:00
John Preston
372b3da09c Beta version 4.16.10.
- Group admins can mass-moderate many messages.
- Premium users can use animated emoji in polls.
- Revert the default "Open Sans" font to 1.10.
- Several crash fixes and small improvements.
2024-04-26 20:55:06 +04:00
John Preston
79532954dc Allow a bit more font size adjusting. 2024-04-26 20:18:30 +04:00
23rd
aff2be605e Removed item for poll creation from menu when it is impossible. 2024-04-26 19:15:03 +03:00
John Preston
363c191a6e Skip media bottom skip in IV. 2024-04-26 20:12:30 +04:00
John Preston
2949cdab61 Don't request IV two times in a row. 2024-04-26 20:12:29 +04:00
John Preston
7addcf2d25 Add IV footer. 2024-04-26 20:12:29 +04:00
John Preston
a272807a99 Remove "Create poll" button in Replies chat.
Fixes #27817.
2024-04-26 20:12:29 +04:00
23rd
c803603de4 Added ability to insert custom emoji to polls. 2024-04-26 20:12:29 +04:00
23rd
e6c22ec1ca Added api support for custom emoji in polls. 2024-04-26 20:12:29 +04:00
John Preston
b3ae843f0e Update API scheme to layer 179. 2024-04-26 20:12:29 +04:00
John Preston
12a78c1f45 Allow pasting text to the unfocused search. 2024-04-26 20:12:29 +04:00
23rd
612b81ee87 Fixed allowed reactions for channel posts in linked chats. 2024-04-26 20:12:29 +04:00
23rd
e5b91d2f3d Added entry points for moderation box. 2024-04-26 20:12:29 +04:00
23rd
82293c98eb Added arrow icon to divider link in moderation box. 2024-04-26 20:12:29 +04:00
23rd
629da68cfc Added api support to moderation box. 2024-04-26 20:12:29 +04:00
23rd
643ecd2c2c Implemented initial ui of moderation box. 2024-04-26 20:12:29 +04:00
Ilya Fedin
dd1cb00c62 Update snap to core24 2024-04-26 18:39:56 +04:00
23rd
2c4d8418c1 Removed unused code for sponsored messages. 2024-04-26 11:21:41 +04:00
23rd
9fcb5d6f31 Added emoji button to input field for peer title edit. 2024-04-26 11:21:41 +04:00
23rd
38fc6bfbb9 Added special mode to emoji list widget to exclude non-unicode emoji. 2024-04-26 11:21:41 +04:00
23rd
804991a69c Added universal duration to styles. 2024-04-26 11:21:41 +04:00
23rd
7388f46adf Fixed display of subscribers count in dialogs suggestions. 2024-04-26 11:21:41 +04:00
John Preston
10c427127e Fix accidental search focusing. 2024-04-26 11:10:12 +04:00
John Preston
c6d034174b Support separate webview storages. 2024-04-26 08:58:42 +04:00
Ilya Fedin
471831bcd6 Revert "Remove not really needed notification capability checks"
This reverts commit abdfa4f785.
2024-04-25 15:07:51 +04:00
Ilya Fedin
b1e64419a5 Fix setting application icon in Linux notifications 2024-04-25 11:31:43 +04:00
Ilya Fedin
e2f17f1131 Remove unneeded includes from notifications_manager_linux 2024-04-25 11:31:43 +04:00
John Preston
ae4a73a15b Rollback OpenSans to 1.10. 2024-04-24 22:20:22 +04:00
Kolya
a84ca00270 fix typo 2024-04-24 19:18:33 +04:00
John Preston
c16d820b88 Move OpenSSL probing before crash reporter. 2024-04-24 19:12:46 +04:00
John Preston
ef614150d5 Remove dead code in lib_ui. 2024-04-24 17:44:51 +04:00
John Preston
b46ca1ec17 Use different font fallback algo on Windows. 2024-04-24 17:44:40 +04:00
John Preston
d5a347ede7 Try cancelling the new search by mouse back button. 2024-04-24 17:41:12 +04:00
John Preston
72d5a9b3e0 Toggle search focus by escape. 2024-04-24 16:56:20 +04:00
John Preston
e6d72b4861 Un-focus chats search on empty history click. 2024-04-24 16:54:10 +04:00
John Preston
3da51b1bc9 Fix crash on quit in sponsored messages. 2024-04-24 16:37:27 +04:00
John Preston
17b7db6219 Request 64 frequent contacts instead of 32. 2024-04-24 16:37:27 +04:00
John Preston
8353180161 Fix phrase cut-off in QR login. 2024-04-24 16:37:27 +04:00
John Preston
f675a8dcf7 Attempt to fix a couple of crashes. 2024-04-24 16:37:27 +04:00
John Preston
493f1d69e2 Fix cancel search button overlap. 2024-04-24 16:37:27 +04:00
John Preston
331e8c3ec6 Beta version 4.16.9.
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.
2024-04-23 23:14:19 +04:00
John Preston
56bce70558 Fix "long time ago" for users who blocked me. 2024-04-23 21:47:57 +04:00
John Preston
d82e48f8e4 Improve ChooseFontBox navigation. 2024-04-23 19:17:42 +04:00
John Preston
97ecc57be8 Add choose font settings. 2024-04-23 19:17:42 +04:00
John Preston
25bd2b145b Update submodules. 2024-04-23 19:17:42 +04:00
John Preston
7111c92ae7 Fix keyboard navigation in top peers. 2024-04-23 19:17:42 +04:00
John Preston
e066cf1589 Add "Show all" for top peers. 2024-04-23 19:17:41 +04:00
John Preston
6f328b2ef8 Fix inline query draft applying. 2024-04-23 19:17:41 +04:00
23rd
7a6c55bd8a Fixed color of icon for replies with media story. 2024-04-23 19:17:41 +04:00
23rd
b35d3f57fe Slightly improved style of sub-button in sponsored messages. 2024-04-23 19:17:41 +04:00
23rd
eef65af173 Slightly simplified meson usage on macOS in prepare.py. 2024-04-23 19:17:41 +04:00
23rd
bea715b41c Added ICCv4 with Little CMS on macOS. 2024-04-23 19:17:41 +04:00
23rd
7be68ca82c Updated Qt to 6.2.8 on macOS. 2024-04-23 19:17:41 +04:00
John Preston
287d5a7413 Fix shadow below Chats/Channels. 2024-04-23 19:17:41 +04:00
John Preston
1448cea01c Fix ripple in active recommendation row. 2024-04-23 19:17:41 +04:00
John Preston
768e8b457b Improve second-time choose of toppeers. 2024-04-23 19:17:41 +04:00
John Preston
05474f4a3f Improve filter switching with toppeers. 2024-04-23 19:17:41 +04:00
John Preston
8acada9b0f Fix toppeers animation with expanded stories. 2024-04-23 19:17:41 +04:00
23rd
a86e7f035f Slightly improved style of inner box for channel earn history entries. 2024-04-23 19:17:41 +04:00
John Preston
9caff93c35 Fix build for Xcode. 2024-04-23 19:13:48 +04:00
John Preston
e6ba85e112 Keyboard navigation in channels/recommendations. 2024-04-23 19:13:48 +04:00
John Preston
046803dbed Fix rotation reading in FFmpeg. 2024-04-23 19:13:48 +04:00
John Preston
615f4b1d1c Ignore pageBlockUnsupported blocks. 2024-04-23 19:13:48 +04:00
John Preston
a11535806d Always show cancel search when focused. 2024-04-23 19:13:48 +04:00
John Preston
34a7169b4f Make unread badges on top peers nicer. 2024-04-23 19:13:47 +04:00
John Preston
4f365c73ad Support active selection in recommendations. 2024-04-23 19:13:47 +04:00
John Preston
705bd9693d Load recommendations on demand. 2024-04-23 19:13:47 +04:00
John Preston
a88770a8ec Don't close recommendations. 2024-04-23 19:13:47 +04:00
John Preston
da423b5bd2 Add a general FastShareLink method. 2024-04-23 19:13:47 +04:00
John Preston
56080bd0e4 Fix boost group link handling for forums. 2024-04-23 19:13:47 +04:00
John Preston
63f66a1369 Show "Boost" button in boost group links. 2024-04-23 19:13:47 +04:00
John Preston
ca1a30196e Fix LinkButton resizing. 2024-04-23 19:13:47 +04:00
John Preston
b2d8e2a1e6 Initial version of channels/recommendations. 2024-04-23 19:13:47 +04:00
John Preston
2ab8bb13c5 Fix links preview. 2024-04-23 19:13:47 +04:00
23rd
3a2c5c6d0a Increased size of stickerset preview in webpages. 2024-04-23 19:13:47 +04:00
23rd
ed13a325e9 Added stickerset preview to webpages. 2024-04-23 19:13:47 +04:00
23rd
f43f99cff2 Added initial api support of stickerset attribute in web pages. 2024-04-23 19:13:47 +04:00
John Preston
a3b8397361 Close chat/media if thrown out by admin. 2024-04-23 19:13:47 +04:00
John Preston
4fb03e532c Optimize stories list generation. 2024-04-23 19:13:47 +04:00
John Preston
645ad5e1bd Update pinned icon in stories list. 2024-04-23 19:13:47 +04:00
John Preston
9036e9e8e3 Show pinned icon in stories. 2024-04-23 19:13:47 +04:00
John Preston
468d8b04d6 Implement stories pin-to-top. 2024-04-23 19:13:47 +04:00
John Preston
4b98ab1246 Fix build with simplified ads. 2024-04-23 19:13:46 +04:00
John Preston
d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00
23rd
df16e7c00b Added ability to change reactions limit in channels. 2024-04-23 19:13:46 +04:00
23rd
225c0e0af3 Added initial api support of reactions limit in channels and groups. 2024-04-23 19:13:46 +04:00
23rd
5543927042 Added ability to enable sponsored messages for premium self. 2024-04-23 19:13:46 +04:00
23rd
72b274a2bf Added support of simplified constructor for MTP sponsored message. 2024-04-23 19:13:46 +04:00
John Preston
ac15990b48 Update API scheme to layer178, ads broke build. 2024-04-23 19:13:46 +04:00
John Preston
7387dfdd9c Don't create top/recent peers unnecessary. 2024-04-23 19:13:46 +04:00
John Preston
74a7e7d1b4 Fix non-intentional chats list search focus. 2024-04-23 19:13:46 +04:00
John Preston
a0a9de1d18 Cancel search on switching folders. 2024-04-23 19:13:46 +04:00
John Preston
360366ba9e Fix opening forums from recent peers. 2024-04-23 19:13:46 +04:00
John Preston
0180fe9468 Animate search suggestions. 2024-04-23 19:13:46 +04:00
John Preston
19f5d95a3c Implement keyboard navigation for recent peers. 2024-04-23 19:13:46 +04:00
John Preston
051ca51d3b Allow clearing search results. 2024-04-23 19:13:46 +04:00
John Preston
2a6ff9203b Implement basic recent search results. 2024-04-23 19:13:46 +04:00
John Preston
2e0529bd9a Add data component for RecentPeers. 2024-04-23 19:13:46 +04:00
John Preston
e24ab4f1ab Allow saving emoji to files in debug builds. 2024-04-23 19:13:46 +04:00
John Preston
3dbadeb232 Allow opening top peers in a new window. 2024-04-23 19:13:46 +04:00
John Preston
4cdd939028 Cache topPeers locally. 2024-04-23 19:13:46 +04:00
John Preston
c11f4efc5c Support disabling top peers completely. 2024-04-23 19:13:46 +04:00
John Preston
e1c21b908c Add keyboard navigation to top peers. 2024-04-23 19:13:46 +04:00
John Preston
a6c1def6fe Add ripples to top peers. 2024-04-23 19:13:46 +04:00
John Preston
19ae76d8de Top peers context menu. 2024-04-23 19:13:46 +04:00
John Preston
56e28feb00 Top peer realtime badges. 2024-04-23 19:13:45 +04:00
John Preston
b259c566b7 Top peer unread badges and online indicators. 2024-04-23 19:13:45 +04:00
John Preston
18598f8dca Initial version of top peers. 2024-04-23 19:13:45 +04:00
John Preston
11e4c45969 Don't collapse chats list on window unfocus. 2024-04-23 19:13:45 +04:00
John Preston
39658ffe52 Allow narrow chats width without main section. 2024-04-23 19:13:45 +04:00
John Preston
2f03b9aa29 Make dialogs filter onfocused by default. 2024-04-23 19:13:45 +04:00
John Preston
dc438cff23 Always export file_name in json. 2024-04-23 19:13:45 +04:00
John Preston
18f5521be5 Don't look for SDL when building on macOS. 2024-04-23 19:13:45 +04:00
Ilya Fedin
bae9af1076 Switch crash reporter to system fonts
This should prevent nested crashes when loading custom fonts
2024-04-23 11:01:19 +04:00
Ilya Fedin
8d2805f226 Set font weight in crash reporter 2024-04-23 10:10:43 +04:00
Ilya Fedin
0ad18c8182 Get rid of direct Wayland usage
This should get rid of a very nasty vector of misbehaving and quite a lot of code which is boilerplate over Wayland protocols at the price of losing support of niche features

Most of things served by xcb code on X11 is served by portal code on Wayland, hopefully this tendention will continue and we will be fine just with glib which provides D-Bus and other basic APIs
2024-04-22 11:04:02 +04:00
Ilya Fedin
9046b2cafb Stop using the plasma-shell protocol
Looks like this isn't really correct in combination with xdg-shell
2024-04-22 10:59:16 +04:00
Ilya Fedin
3d994b58a0 ShowXDPOpenWithDialog -> UnsafeShowOpenWith 2024-04-21 03:14:34 +04:00
Ilya Fedin
4310c4978e Fix macOS packaged action 2024-04-19 17:41:07 +04:00
23rd
01bfa46729 Fixed display of default box for message schedule in correspond window. 2024-04-18 11:57:25 +04:00
Kolya
3510ca7184 Don't use/link libsharpyuv in libavif 2024-04-18 09:23:15 +04:00
Ilya Fedin
8d7845daa1 Use --shallow-submodules in Docker 2024-04-18 09:13:37 +04:00
Ilya Fedin
cb5fdac0da Replace mozjpeg with jpegli on Linux 2024-04-17 23:45:15 +04:00
John Preston
78c8d0562b Version 4.16.8: Fix build on Linux. 2024-04-16 23:23:11 +04:00
John Preston
bb0280f096 Revert "Replace mozjpeg with jpegli in snap"
This reverts commit f57e2edf2a.
2024-04-16 23:22:55 +04:00
John Preston
566b53ce9f Revert "Clean remainings of mozjpeg in snapcraft.yml"
This reverts commit da1909cc1d.
2024-04-16 23:22:43 +04:00
John Preston
ec95db0945 Revert "Replace mozjpeg with jpegli in Docker"
This reverts commit a1e2e3d011.
2024-04-16 23:00:08 +04:00
John Preston
a0d7d07543 Version 4.16.8.
- Fix in-app playing of some video and audio files.
- Fix crash on Linux opening chats with custom backgrounds.
- Fix crash on quit after using scheduled messages.
2024-04-16 20:15:32 +04:00
John Preston
fe73bf9053 Fix ripples in channel comments buttons. 2024-04-16 20:14:04 +04:00
John Preston
49c9e08b6c Enforce video/audio extension by mime type. 2024-04-16 20:14:01 +04:00
John Preston
abcf55c498 Check chat background read result. 2024-04-16 20:13:55 +04:00
John Preston
849ce310c4 Jump by keyboard between time input fields. 2024-04-16 20:13:02 +04:00
John Preston
a3e593b747 Fix crash in scheduled messages tear-down. 2024-04-16 20:12:03 +04:00
23rd
5433f95eda Simplified creation of label with custom emoji. 2024-04-16 03:44:00 +03:00
23rd
0459196982 Moved out level meter widget to td_ui. 2024-04-16 03:43:39 +03:00
23rd
6f1457d30d Fixed phrase of placeholder for message edition mode. 2024-04-15 23:56:37 +03:00
23rd
ce596e29c4 Fixed opening message from media player widget in corresponding window. 2024-04-15 23:41:00 +03:00
23rd
86b9d16747 Added additional note for macOS keys to json of custom shortcuts. 2024-04-15 23:30:57 +03:00
John Preston
06911ae42a Version 4.16.7.
- Reimplement file open confirmations.
2024-04-15 17:56:45 +04:00
John Preston
af2cb9b757 Fix possible unhandled exception in highlighting. 2024-04-15 17:56:45 +04:00
John Preston
6a28cd1a35 Reimplement file open confirmations. 2024-04-15 12:07:27 +04:00
23rd
f4a09a9ca0 Fixed display of growth rate in statistics info for huge values. 2024-04-15 11:20:30 +04:00
23rd
a35f020f56 Moved out ScheduledMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd
3d48111368 Moved out SponsoredMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd
39ed7d7f4c Increased clickable area for each item in EditPeerHistoryVisibilityBox. 2024-04-15 11:20:30 +04:00
23rd
abe83ccb8f Moved inaccessible groups in box for user's own groups to sub-list.
Fixed #27729.
2024-04-15 11:20:30 +04:00
23rd
d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd
1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd
a37cbd7d05 Initially refactored statistics module to simplify value types changing. 2024-04-15 11:20:30 +04:00
23rd
7ffa9844e2 Fixed currency formatting for channel earn info section. 2024-04-15 11:20:30 +04:00
23rd
bdf5872f04 Fixed opening channel earn info section for admins. 2024-04-15 11:20:30 +04:00
Ilya Fedin
da1909cc1d Clean remainings of mozjpeg in snapcraft.yml 2024-04-15 10:11:54 +04:00
Ilya Fedin
a503197352 Remove XCBSetDesktopFileName
This is done by Qt nowadays
2024-04-15 10:11:30 +04:00
Nyan
d9d9a8f49d Update data_document_resolver.cpp
Added the LEXE and WLUA extensions to the IsExecutableName function for Windows. Those are registered by default on Windows devices with LUA installed
2024-04-13 23:45:03 +04:00
Ilya Fedin
f57e2edf2a Replace mozjpeg with jpegli in snap 2024-04-11 12:35:47 +04:00
Ilya Fedin
a1e2e3d011 Replace mozjpeg with jpegli in Docker 2024-04-11 12:35:47 +04:00
Ilya Fedin
5e546d1198 Update libjxl in Docker & snap 2024-04-11 12:35:47 +04:00
Ilya Fedin
90405f3ebc Install protobuf in Docker 2024-04-11 12:15:55 +04:00
Nyan
11b57ff7d3 Update data_document_resolver.cpp
The correct python zipapp extension on windows is pyzw, this typo could lead to executing code in the client device without proper warning
2024-04-11 11:24:15 +04:00
Ilya Fedin
fe06cd63ac Lock event loop 2024-04-09 20:48:47 +04:00
John Preston
6c9d5e1499 Improve clipboard QR code image logo quality. 2024-04-09 19:05:02 +04:00
John Preston
6ed910de9f Version 4.16.6.
- Show custom emoji preview on long press.
- Fix resume chat bot button disappearance.
- Fix GIF files playback. (regression in 4.16.3.beta)
2024-04-09 15:20:16 +04:00
John Preston
a506b8b25c Support t.me/username?text=.. links. 2024-04-09 15:20:10 +04:00
John Preston
170ebb57c6 Preview custom emoji on long press from the panel. 2024-04-09 12:11:07 +04:00
John Preston
29dd574e22 Fix toggling chatbot replying, fix saving. 2024-04-09 11:55:52 +04:00
John Preston
72770aa76d Add GIF parser to FFmpeg build.
Fixes #27722.
2024-04-09 11:29:19 +04:00
John Preston
7f1c319aee Add interactive mode to prepare script. 2024-04-09 11:29:16 +04:00
John Preston
60805bd916 Version 4.16.5.
- Fix editing privacy for groups and channels invitations.
- Possible fix for the network unresponsiveness after sleep.
- Possible fix for wide range of memory allocator crashes on Linux.
2024-04-08 22:31:07 +04:00
Ilya Fedin
10272ee0cf Revert "Replace jemalloc with scudo"
This reverts commit 960761ef37.
2024-04-08 21:57:25 +04:00
John Preston
7c44cda76e Fix premium users deselection in multi-select field. 2024-04-08 21:56:56 +04:00
John Preston
0152d2c48e Fix possible temp auth key bind freeze. 2024-04-08 21:56:56 +04:00
23rd
c5febce548 Moved out some functions for main menu to separated files. 2024-04-08 17:34:58 +03:00
23rd
129b07c2c0 Improved style of box for all of user's own groups and channels. 2024-04-08 17:02:52 +03:00
23rd
47bf099b88 Fixed updating of field placeholder in compose controls while editing. 2024-04-08 06:55:44 +03:00
23rd
94f1d23788 Fixed behavior to open section with scheduled messages at top. 2024-04-08 04:12:14 +03:00
Ilya Fedin
84ce72ec7a Fix a crash due to half-hidden media viewer 2024-04-07 14:28:51 +04:00
Ilya Fedin
3da8351522 Let Wayland to use QGuiApplication::screenAt (forgotten place) 2024-04-07 14:08:40 +04:00
Ilya Fedin
542153d950 Use nasm from repository 2024-04-07 11:20:46 +04:00
Ilya Fedin
090fdfb458 Add asan libraries to Docker image 2024-04-07 11:20:46 +04:00
John Preston
77835a43a5 Version 4.16.4: Update patches on Linux. 2024-04-07 11:19:23 +04:00
John Preston
1a2a1f1c17 Version 4.16.4.
- Bug fixes and other minor improvements.
2024-04-06 22:59:03 +04:00
John Preston
eaaa704fa4 Check the URL in IV like in attach bots. 2024-04-06 22:59:03 +04:00
John Preston
7803f8e670 Simplify escaping when parsing IV. 2024-04-06 22:59:03 +04:00
Sergey A. Osokin
f36e3c213e Fix build on FreeBSD 13.3 / llvm 17.0.6 / qt 5.15.13 2024-04-06 20:30:08 +04:00
John Preston
6fb1e23ed5 Fix file dialog filter for videos from attach menu. 2024-04-06 13:05:12 +04:00
John Preston
86d0c49e44 Add "Boost Group/Channel" button to chat menu. 2024-04-06 13:05:12 +04:00
John Preston
9251e6faba Use better title in boost box. 2024-04-06 13:05:12 +04:00
John Preston
8f8725e1af Beta version 4.16.3: Fix dav1d in FFmpeg on macOS. 2024-04-05 21:25:20 +04:00
John Preston
0ce6a4cbdb Beta version 4.16.3: Re-enable system proxy (Linux).
This reverts commit 1e6fb202f0.
2024-04-05 20:48:06 +04:00
John Preston
ad3f705f50 Beta version 4.16.3.
- Improve media upload speed.
- Update FFmpeg to 6.1.1.
2024-04-05 15:35:01 +04:00
John Preston
c5847caa91 Update FFmpeg to 6.1.1: Fix AV1 videos. 2024-04-05 14:42:29 +04:00
John Preston
8df6d9db7e Don't update server-time too frequently. 2024-04-05 09:51:20 +04:00
John Preston
a9c1970f41 Send up to 1MB of parts to a single session. 2024-04-05 09:51:20 +04:00
John Preston
c3f0d2ef31 Adaptive upload up to 8 sessions. 2024-04-05 09:51:20 +04:00
John Preston
0dcc439dda Allow upload requests for several files at once. 2024-04-05 09:51:20 +04:00
John Preston
5b0cac47ad Reapply "Use plain vector for prepared upload parts."
This reverts commit f6f8eefaa0.
2024-04-05 09:51:20 +04:00
John Preston
b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston
690d52f7bc Version 4.16.2.
- Use IV by default for Telegraph and some Telegram links.
- Support IV links in bot web-apps.
- Some bug fixes.
2024-04-04 21:13:00 +04:00
John Preston
23883ed4a1 Use generic way for FAQ links. 2024-04-04 21:08:56 +04:00
John Preston
ea178862d8 Open some telegram.org and Telegram links in IV. 2024-04-04 21:08:19 +04:00
John Preston
09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston
f6f8eefaa0 Revert "Use plain vector for prepared upload parts."
This reverts commit aaaeea2979.
2024-04-04 18:36:00 +04:00
John Preston
ede6e18bc9 Fix QOI image reader. 2024-04-04 18:35:20 +04:00
John Preston
36cb28d5cf Respect 'try_instant_view' in webapps. 2024-04-04 18:35:20 +04:00
John Preston
9464f4b095 Fix collectible channel links. 2024-04-04 17:51:53 +04:00
23rd
b31d43cbed Fixed circle drawing in titles of some sections in channel earn info. 2024-04-04 17:51:53 +04:00
23rd
2a388ae4b2 Improved FAQ buttons with opening link in instant view. 2024-04-04 17:51:53 +04:00
23rd
d675e31a51 Fixed display of integer numbers in channel earn section. 2024-04-04 17:51:53 +04:00
23rd
e32de38d04 Added url to learn more about monetization to langpack. 2024-04-04 17:51:53 +04:00
23rd
154753c732 Removed migrated groups from list of user's own groups. 2024-04-04 17:51:53 +04:00
Klemens Nanni
53b75c8ea4 update lib_base to include OpenBSD fix 2024-04-04 15:52:01 +04:00
Klemens Nanni
776e80b4d6 Fix tdesktop 4.15.6 build on OpenBSD
7.5-current with clang 16.0.6 and Qt6 fails, not entirely sure why...
2024-04-04 15:52:01 +04:00
Ilya Fedin
b09cede008 Fix uploading artifact on Linux 2024-04-04 15:51:22 +04:00
Ilya Fedin
e2a0483b9f Enable artifacts for GH actions 2024-04-04 15:51:22 +04:00
John Preston
aaaeea2979 Use plain vector for prepared upload parts. 2024-04-03 12:39:08 +04:00
John Preston
91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
John Preston
ae36019ba9 Version 4.16.1.
- Show information about Fragment phone numbers and usernames.
- Fix jump to original story from a story repost.
- Fix old image display in viewer in some cases.
- Fix several crashes.
2024-04-02 23:13:05 +04:00
John Preston
1e0002aa74 Fix jump to original from story repost. 2024-04-02 23:09:26 +04:00
John Preston
1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston
22f504ca21 Add hidden buttons to langpack. 2024-04-02 22:56:05 +04:00
John Preston
a74c5ee719 Fix complex-shaped Ui::Text::String geometry. 2024-04-02 22:56:05 +04:00
John Preston
ef04ed447f Fix 'listening' state show in group video chats.
Regression was introduced in c3ca8c6258.
2024-04-02 19:22:30 +04:00
Ilya Fedin
c678973119 Update patches on Linux 2024-04-02 17:40:41 +04:00
Ilya Fedin
587b07a648 Update Qt to 6.7.0 on Linux 2024-04-02 17:40:41 +04:00
John Preston
7fa3c6f8e8 Return media viewer hiding glitch workaround. 2024-04-02 13:19:22 +04:00
John Preston
9957678fb7 Fix adding from "Emoji from this message". 2024-04-02 13:15:03 +04:00
John Preston
971803803c Fix ripple animation on Added sticker set button. 2024-04-02 12:47:24 +04:00
John Preston
8ab118a8e9 Fix rare crashes in message sending animations. 2024-04-02 12:20:40 +04:00
John Preston
1da9df690f Fix memory leak in downloads thumbnail loading. 2024-04-02 12:20:40 +04:00
John Preston
615ad85d26 Fix possible crash in notifications setup.
Initial _account assignment triggered sync createManager(),
which in case of native Windows notifications called
ToastNotificationManager::CreateToastNotifier, which could enter
qt-wndproc-message processing with QEvent::ApplicationActivated
delivery and calling updateNonIdle() which called
Window::Controller::account(), that wasn't yet set.
2024-04-02 12:20:40 +04:00
John Preston
e02b60d8fa Fix placeholder in chat intro setup. 2024-04-02 12:20:40 +04:00
Ilya Fedin
3fc4030ca6 Migrate xz in Dockerfile to the URL used in prepare.py 2024-04-02 10:26:43 +04:00
John Preston
707146daed Version 4.16.
- Instant View on Windows 10+ and macOS.
- Allow scheduling messages in topics.
- Telegram Business: Links to Chats.
- Telegram Business: Custom Intro.
- Telegram Business: Chatbots.
- Sharing Revenue with Channel Owners.
2024-04-01 23:27:35 +04:00
John Preston
c0117e72ad Support complex invite-users responses. 2024-04-01 22:44:26 +04:00
John Preston
3cdb528dfe Use "Downloads/Telegram Lite" in MacAppStore version. 2024-04-01 22:44:26 +04:00
John Preston
d2164dc0d0 Suggest premiums in privacy. 2024-04-01 22:44:26 +04:00
John Preston
87acc921c3 Pass Ui::Show to all add participant handlers. 2024-04-01 22:44:26 +04:00
John Preston
5741bd9cca Support "premiums and ..." privacy editing. 2024-04-01 22:44:25 +04:00
John Preston
1e6fb202f0 Re-apply "Disable system proxy support on Linux".
This reverts commit c71c24a6bc.
2024-04-01 22:44:25 +04:00
John Preston
8cbb1abff2 Fix wrong non-album image size in send preview.
Regression was introduced in 84288112fc.
2024-04-01 22:44:25 +04:00
John Preston
d21418cf04 Handle already-premium state in gift link usage. 2024-04-01 22:44:25 +04:00
John Preston
d35c8232d2 Fix send-messages privacy phrase. 2024-04-01 22:44:25 +04:00
John Preston
139d1a9aa3 Allow saving just the sticker in custom intro. 2024-04-01 22:44:25 +04:00
John Preston
f95817861a Fix build on Windows. 2024-04-01 22:44:25 +04:00
23rd
3e968aecc8 Added link for learn more about currency from channel earn section. 2024-04-01 22:44:25 +04:00
23rd
2795af8c7f Slightly improved style of channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
bb438880e3 Added ability to view all of user's own groups. 2024-04-01 22:44:25 +04:00
23rd
8492b7144f Replaced emoji with icon for currency in earn section. 2024-04-01 22:44:25 +04:00
23rd
5dd974f2ab Added line with converted currency amount to point details widget. 2024-04-01 22:44:25 +04:00
23rd
d3cd3bb0a4 Slightly improved style of box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd
04acf08d34 Limited list of data for non-owners of channel in earn section. 2024-04-01 22:44:25 +04:00
23rd
4db885d8b4 Replaced exported data of callbacks from markup replies with base64. 2024-04-01 22:44:25 +04:00
23rd
8718d94e7d Added sub-button to top of sponsored messages that can be reported. 2024-04-01 22:44:25 +04:00
23rd
24c1151101 Fixed incorrect handling of error from channel ownership request. 2024-04-01 22:44:25 +04:00
23rd
0b22e5928c Fixed bottom fade effect for input message fields in compose controls. 2024-04-01 22:44:25 +04:00
23rd
3311a50750 Added second rulers to currency chart in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
1563a85fea Improved style for right action of forwarded messages. 2024-04-01 22:44:25 +04:00
23rd
586983eb9b Added divider text to box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd
1a7a906ced Added ability to review history entry in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
496247c1d8 Added ability to load chunked history transactions in earn info section. 2024-04-01 22:44:25 +04:00
23rd
2f07bb3973 Added initial support of withdraw button in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
9b0f3bedff Added entry point for channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
c66b5b2490 Added support of permission to manage channel earn. 2024-04-01 22:44:25 +04:00
23rd
a1264a6088 Slightly improved style of learn more box in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
4e0d770d05 Removed cpm configuration. 2024-04-01 22:44:24 +04:00
23rd
508119a127 Added ability to report sponsored messages. 2024-04-01 22:44:24 +04:00
23rd
341b9e4a29 Added menu with about box to sponsored messages that can be reported. 2024-04-01 22:44:24 +04:00
23rd
57789c1272 Added second button to sponsored right. 2024-04-01 22:44:24 +04:00
23rd
3845a87f2e Added fade animation to center label of slider in earn channel section. 2024-04-01 22:44:24 +04:00
23rd
3c266b6dc4 Moved out data structures for channel earn to td_ui. 2024-04-01 22:44:24 +04:00
23rd
32a3952524 Added initial support of channel cpm from earn channel api. 2024-04-01 22:44:24 +04:00
23rd
9c52f245ac Added initial support of statistical charts in earn channel section. 2024-04-01 22:44:24 +04:00
23rd
393d9e9f1f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
f28f498467 Added support of level of boosts for restriction of sponsored messages. 2024-04-01 22:44:24 +04:00
23rd
b5a7a351f6 Added initial support for integer format of channel earn amount data. 2024-04-01 22:44:24 +04:00
23rd
a14c0f5253 Added initial support of channel earn data in appropriate info section. 2024-04-01 22:44:24 +04:00
23rd
a278aa0f89 Added initial api support for channel earn statistics. 2024-04-01 22:44:24 +04:00
23rd
479bb2a1d6 Added focus to input field in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
538934a88a Added learn more box to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
5d2726036f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
778317e1b2 Added initial slider for earn settings to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
99dd5507bf Added initial transfer subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
490d9bc3ec Added initial box for every history entry to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
796e09bf13 Added initial subsection for history to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
588624e7a9 Added initial overview subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
a45a9e6515 Added initial learn about as divider text to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
a7df074b8f Added dummy files for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
9941a46769 Added some phrases for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
b0565f2188 Moved files for boosts to nested folder. 2024-04-01 22:44:24 +04:00
John Preston
8fb3e39881 Simple promo box for Telegram Business. 2024-04-01 22:44:23 +04:00
John Preston
d788f5afac Handle today-birthday click in profile. 2024-04-01 22:44:22 +04:00
John Preston
20123fca7f Mark the Chatbots section as NEW. 2024-04-01 22:44:22 +04:00
John Preston
7c7b962c6d Improve couple of Telegram Business icons. 2024-04-01 22:44:22 +04:00
John Preston
68ded1a6e0 Allow newRequirePremium for free if server allows. 2024-04-01 22:44:22 +04:00
John Preston
da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston
3b5814edae Handle empty channels list. 2024-04-01 22:44:22 +04:00
John Preston
f439443fe5 Show personal channel in users profile. 2024-04-01 22:44:22 +04:00
John Preston
280d69d346 Implement personal channel selector. 2024-04-01 22:44:21 +04:00
John Preston
ab74ed0fa7 Handle flood errors in birthday changes. 2024-04-01 22:44:21 +04:00
John Preston
0d740c21a2 Check if bot supports Telegram Business. 2024-04-01 22:44:21 +04:00
John Preston
f65bc7c0bd Suggest premium on transfer speed limiting. 2024-04-01 22:44:21 +04:00
John Preston
0dd1a4973a Handle the new FLOOD_PREMIUM_WAIT errors. 2024-04-01 22:44:21 +04:00
John Preston
05a5e62327 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
66a47137a0 Copy chat link by left click in footer. 2024-04-01 22:44:21 +04:00
John Preston
f240cbbda6 Handle chat link clicks. 2024-04-01 22:44:21 +04:00
John Preston
3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
John Preston
6fe0c60204 Fix build with Xcode. 2024-04-01 22:44:21 +04:00
John Preston
f7d04d668b Hide captions in IV slideshows. 2024-04-01 22:44:21 +04:00
John Preston
57bd0d2674 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
08ee25deb2 Display date of birth in user profiles. 2024-04-01 22:44:21 +04:00
John Preston
c82d7bd909 Implement birthday info / privacy edit boxes. 2024-04-01 22:44:21 +04:00
John Preston
59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston
5e68dace9f Remove description in intro settings preview. 2024-04-01 22:44:21 +04:00
John Preston
fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
3a5b3ff3bd Show description about custom chat intro. 2024-04-01 22:44:21 +04:00
John Preston
1e1a48865f Extract history/view/media/history_view_media_generic module. 2024-04-01 22:44:21 +04:00
John Preston
b31c30b9b6 Wait for full user info before intro creation. 2024-04-01 22:44:21 +04:00
John Preston
7886a2179f Fix giveaway messages layout. 2024-04-01 22:44:21 +04:00
John Preston
d1a995a863 Allow sending the sticker from the intro. 2024-04-01 22:44:21 +04:00
John Preston
85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston
7f4d13c54a Fix chat intro sticker aspect ratio. 2024-04-01 22:44:20 +04:00
John Preston
9f67b9ba2f Reload chatbot rules after adding an exception. 2024-04-01 22:44:20 +04:00
John Preston
5381fe5a1a Use MediaInBubble for chat intro fake-message. 2024-04-01 22:44:20 +04:00
John Preston
0887348611 Show length limit in chat intro fields. 2024-04-01 22:44:20 +04:00
John Preston
98ce91df39 Fix intro hello sticker playback in editing. 2024-04-01 22:44:20 +04:00
John Preston
191c35914f Start editing chat intro in Telegram Business. 2024-04-01 22:44:20 +04:00
John Preston
cf1d0677d1 Support business bot state in chat. 2024-04-01 22:44:20 +04:00
John Preston
3d97ea6f96 Track chat business bot state. 2024-04-01 22:44:20 +04:00
John Preston
caa4c5428a Show via_business_bot name in signature. 2024-04-01 22:44:20 +04:00
John Preston
90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston
b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
John Preston
962c64b33c Beta version 4.15.7: Linux fix test. 2024-04-01 11:58:24 +04:00
GitHub Action
bd827d844b Update User-Agent for DNS to Chrome 123.0.0.0. 2024-04-01 10:20:57 +04:00
wention
ed70675e1d Fix build Qt error on non-english windows os 2024-04-01 10:08:16 +04:00
Ilya Fedin
e07d53725c Strip notification service start error 2024-04-01 09:59:19 +04:00
Ilya Fedin
1b589a35cf Don't check the count when it's not going to painted 2024-04-01 09:50:20 +04:00
Ilya Fedin
439f8d0914 Implement monochrome icon setting on Linux 2024-04-01 09:50:20 +04:00
Ilya Fedin
1d7dbc4d17 Update patches & lib_base 2024-03-29 14:12:52 +04:00
Ilya Fedin
001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
John Preston
8534d6d7d7 Fix build on Windows. 2024-03-27 18:32:44 +04:00
Ilya Fedin
e7a7c2d267 Get rid of XDG_CURRENT_DESKTOP dependent logic
Just try all the commands and use the one that works first
2024-03-26 09:31:58 +04:00
Ilya Fedin
8803dfcee6 Add Plasma 6 sound settings support 2024-03-26 09:31:58 +04:00
Ilya Fedin
887f10059d Update Qt to 6.7.0-rc2 in snap 2024-03-25 22:17:59 +04:00
Ilya Fedin
d3db52ce9c Update cmake_helpers 2024-03-25 22:17:59 +04:00
Ilya Fedin
5fa89c22bd Use default Qt prefix on Linux 2024-03-25 22:17:59 +04:00
Ilya Fedin
ea42f9545f Move OpenSSL to system directories on Linux 2024-03-25 22:17:59 +04:00
John Preston
8830fb70a4 Beta version 4.15.6: OpenSSL 3.2.1. 2024-03-25 17:47:53 +04:00
Ilya Fedin
0edf14f3a9 Update Qt to 6.7.0-rc2 on Linux 2024-03-25 17:47:25 +04:00
John Preston
89c6bb163e Beta version 4.15.6: Fix build with GCC. 2024-03-25 11:19:31 +04:00
John Preston
8708598daa Beta version 4.15.6.
- Save the Instant View window geometry.
- Fix jump to anchors with accents in the Instant View.
- Fix possible crash in the ElasticScroll destructor.
2024-03-25 10:26:23 +04:00
John Preston
c71c24a6bc Re-revert "Disable system proxy support on Linux".
This reverts commit 55b2b04e2e.
2024-03-25 10:25:34 +04:00
John Preston
386fb07017 Update lib_base submodule. 2024-03-25 10:16:12 +04:00
23rd
aad2961646 Added all unused shortcuts to json of default shortcuts. 2024-03-25 10:15:42 +04:00
23rd
00a89883fd Added ability to set shortcut to archive chat from dialogs list. 2024-03-25 10:15:42 +04:00
23rd
5509c1810b Added ability to set shortcut to open section with scheduled messages. 2024-03-25 10:15:42 +04:00
23rd
24498bc95f Changed behavior to hide field buttons in HistoryWidget with typed text. 2024-03-25 10:15:42 +04:00
Sergey A. Osokin
58caec8d05 Fix build on FreeBSD 2024-03-25 10:14:17 +04:00
John Preston
ebe331a7e4 Fix build on Windows. 2024-03-24 10:24:26 +04:00
John Preston
d481008fdb Fix possible crash in ElasticScroll destructor. 2024-03-24 10:24:22 +04:00
John Preston
b97d243978 Fix jump to hash with accents in IV. 2024-03-24 10:05:55 +04:00
John Preston
fd833dff35 Save IV window geometry. 2024-03-24 10:05:52 +04:00
John Preston
d9ed3a7d3f Remove for-development-only save document action.
Regression was introduced in 205479fccc.
2024-03-24 10:05:37 +04:00
John Preston
b8ce79467f Fix crash on "History cleared" delete in Saved Messages. 2024-03-24 10:05:04 +04:00
John Preston
9d0457d208 Add "Terms of Use" menu item to all miniapps. 2024-03-24 10:04:54 +04:00
23rd
fa02e521f9 Added ability to view all of user's own channels. 2024-03-24 07:10:07 +03:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
23rd
58fcedab64 Moved out Window::SlideAnimation to td_ui. 2024-03-24 07:01:08 +03:00
23rd
5e11c43f84 Moved out Stickers::EmojiImageLoader to td_ui. 2024-03-24 07:01:08 +03:00
Ilya Fedin
4b4de9d5aa Don't mark as read when unexposed
There's a yet another another visility state called "exposed" and the window could be unexposed while being not hidden and not minimized.

When the window is unexposed, Qt doesn't draw and the user can't see changes for sure.
2024-03-23 10:36:43 +04:00
23rd
f135676d36 Added support for sending state of low level of battery. 2024-03-22 00:12:57 +03:00
23rd
cb9adad660 Added label to call panel when recipient has low level of battery. 2024-03-21 23:48:51 +03:00
23rd
88dab47d2c Changed behavior to open section with scheduled messages at top. 2024-03-21 20:20:06 +03:00
Daniel Novomeský
d6e4613144 Upgrade dav1d, libavif, libde265, libheif on Linux 2024-03-20 20:00:33 +04:00
23rd
893c09c848 Fixed showing of rate call box in appropriate window. 2024-03-20 11:20:22 +04:00
Ilya Fedin
a0e0fd5b98 Don't build libheif tests
That would save some build time
2024-03-19 20:14:28 +04:00
John Preston
98abb3aa00 Fix possible crash in join channel toast. 2024-03-19 11:04:40 +04:00
John Preston
8982a49192 Fix repetitive phone formatting. 2024-03-19 11:04:21 +04:00
John Preston
529eb4e954 Fix window shadow on Linux. 2024-03-19 11:03:39 +04:00
Ilya Fedin
846a6d8717 Update scudo to 18.1.1 2024-03-18 19:53:36 +04:00
Ilya Fedin
07ab875655 Update lib_base 2024-03-18 09:59:47 +04:00
Ilya Fedin
602b0b5d9b Use the File::OpenUrl routine in IV 2024-03-18 09:59:47 +04:00
John Preston
0e428aebdb Update patches in Linux build. 2024-03-17 20:34:02 +04:00
Daniel Novomeský
4abc68ab1c Upgrade dav1d, libavif, libde265, libheif 2024-03-17 19:35:00 +04:00
23rd
2638ee2926 Improved message edition with pre-selected text. 2024-03-17 11:16:07 +03:00
Ilya Fedin
ddaf78828a Fix media viewer geometry restoration 2024-03-17 09:28:46 +04:00
Ilya Fedin
6d5347472d Fix media viewer geometry logging
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston
82fda96ed8 Beta version 4.15.5.
- Fix a crash in Instant View article parsing.
- Support AirPods Mute/Unmute toggle in calls on macOS.
- Disable system proxy on Linux to check if it fixes crashes.
2024-03-16 09:59:23 +04:00
John Preston
55b2b04e2e Reapply "Disable system proxy support on Linux"
This reverts commit 202a4064a4.
2024-03-16 09:54:07 +04:00
23rd
393f330d15 Added ability to go to message from Calls box. 2024-03-16 04:40:56 +03:00
23rd
f4ecfeaddd Added ability to perform bulk selection from menu in HistoryWidget. 2024-03-16 04:40:56 +03:00
Ilya Fedin
ad101dc8a0 A way to initialize GLib::VariantIter without gi::wrap is found 2024-03-15 23:10:43 +04:00
John Preston
24e9a3ea59 Bot close confirm closes only by Close button. 2024-03-15 20:28:11 +04:00
John Preston
f1d8135e30 Fix crash in IV parsing. 2024-03-15 20:26:50 +04:00
23rd
a1a415de82 Fixed crash in non-stack bar chart view when hide selected point. 2024-03-15 17:08:17 +03:00
John Preston
77dc234b2d Support AirPods Mute/Unmute toggle. 2024-03-15 14:43:41 +04:00
23rd
c3ca8c6258 Fixed emoji drawing in statuses of group call participants. 2024-03-15 14:43:29 +04:00
23rd
9e18236b55 Added ability to open account in new window with middle click. 2024-03-15 14:43:29 +04:00
23rd
ded7aada52 Slightly improved filter for choosing users requested by bot. 2024-03-15 14:43:29 +04:00
Dubzer
a117c1ebf2 Add new Segoe UI to IV css 2024-03-15 09:24:12 +04:00
Ilya Fedin
d3715cc362 Get rid of glibmm 2024-03-15 00:00:24 +04:00
Ilya Fedin
3689e7dfbc Use cppgir compatible XDP utilities API 2024-03-15 00:00:24 +04:00
Ilya Fedin
59e53c1edf Port NotificationId conversion to cppgir 2024-03-15 00:00:24 +04:00
John Preston
f2a54e3cbb Beta version 4.15.4: Fix build with Xcode. 2024-03-14 22:30:52 +04:00
John Preston
20db635366 Beta version 4.15.4: Update Qt patches in snap. 2024-03-14 21:58:56 +04:00
John Preston
b955d32970 Beta version 4.15.14.
- Fix initial text color in dark mode Instant View on macOS.
- Fix non-English symbols encoding in Instant View on macOS.
- Fix sharing from Instant View on macOS.
- Fix crash with long messages on Linux.
2024-03-14 21:55:16 +04:00
John Preston
5a5d89c32c Fix crashing regression in Qt 6.7.0. 2024-03-14 21:55:05 +04:00
23rd
1f0ed3bb31 Fixed links in service message about requested peers from bot. 2024-03-14 20:36:19 +03:00
23rd
6c083e88a3 Changed behavior of bot menu button to decrease size to first emoji. 2024-03-14 20:19:09 +03:00
John Preston
2e7323d484 Fix a glitch in IV sharing on Windows. 2024-03-14 19:03:46 +04:00
John Preston
461aebd7f3 Hide IV when sharing on macOS, fixes sharing. 2024-03-14 18:36:17 +04:00
John Preston
73ca78215f Set window title in IV. 2024-03-14 18:35:57 +04:00
John Preston
200bb31e08 Fix theming in code blocks. 2024-03-14 15:01:03 +04:00
John Preston
396f52b8ca Fix title updating on IV menu show. 2024-03-14 14:27:46 +04:00
John Preston
a118d3d848 Close IV when opening URL in the browser. 2024-03-14 14:26:00 +04:00
John Preston
f6b9702b52 Unminimize IV when opening another one. 2024-03-14 12:51:34 +04:00
John Preston
d92418dc6d Disable media context menus in IV. 2024-03-14 12:50:55 +04:00
23rd
fe4b853393 Improved section of scheduled messages when forum opened in flat mode. 2024-03-14 11:43:46 +04:00
John Preston
782556495a Improve joined channels tracking in IV. 2024-03-14 11:39:17 +04:00
John Preston
5c32423597 Integrate IV menu hiding by click inside WebView. 2024-03-14 11:39:17 +04:00
John Preston
5c8e6c3012 Fix page encoding in IV on macOS. 2024-03-14 11:39:17 +04:00
John Preston
5133f74f67 Fix IV theming on macOS because of broken HTML. 2024-03-14 11:39:17 +04:00
John Preston
d5b23b5bde Use a separate lang key for IV channel join button. 2024-03-14 11:39:17 +04:00
kukuruzka
bf4b4ae936 full support for ukrainian transliteration 2024-03-14 11:23:13 +04:00
kukuruzka
458b990b8c Improve transliteration 2024-03-14 11:23:13 +04:00
Ilya Fedin
e044753934 Fix macOS GH action 2024-03-14 10:45:42 +04:00
Ilya Fedin
c0b612c457 Update cppgir 2024-03-14 09:29:10 +04:00
Eric Kotato
9414ef5709 Using system font stack for Instant View 2024-03-14 09:18:24 +04:00
Ilya Fedin
c9e566f8aa Fix snap build
Qt has removed support for kernels less than 4.11 by removing the -no-feature-statx flag. Remove the usage all the related flags.
2024-03-14 09:17:01 +04:00
Eric Kotato
40bd37315a Use %NUMBER_OF_PROCESSORS% for jom 2024-03-14 08:33:07 +04:00
John Preston
0410d05913 Beta version 4.15.3: Fix build with GCC. 2024-03-13 22:27:25 +04:00
John Preston
a888b8d846 Beta version 4.15.3.
- Instant View on Windows (with WebView2) and macOS.
- Allow scheduling messages in topics.
- Fix system proxy support on Linux.
2024-03-13 21:58:45 +04:00
John Preston
eac5c39a96 Don't show IV button for album links. 2024-03-13 21:58:27 +04:00
John Preston
202a4064a4 Revert "Disable system proxy support on Linux"
This reverts commit 3af646a584.
2024-03-13 21:20:31 +04:00
John Preston
ddf2369774 Allow more parts for macOS IV streaming. 2024-03-13 21:20:30 +04:00
John Preston
48f70a8552 Fix videos management on macOS. 2024-03-13 21:20:30 +04:00
John Preston
4685b889c2 Update Qt to 5.15.13 on Windows. 2024-03-13 21:20:30 +04:00
John Preston
3e373200b1 Dynamically create / destroy videos. 2024-03-13 21:20:30 +04:00
John Preston
7913d2a82d Fix initial scroll on macOS. 2024-03-13 21:20:30 +04:00
John Preston
e20770e256 Show IV button only if supported. 2024-03-13 21:20:30 +04:00
John Preston
d43f0be0da Add IV icon to the button. 2024-03-13 21:20:30 +04:00
John Preston
7b4adc2e60 Escape data from API in IV html. 2024-03-13 21:20:30 +04:00
John Preston
1eeba65ddb Fix build on macOS. 2024-03-13 21:20:30 +04:00
John Preston
1252accef7 Support file reference refresh in IV. 2024-03-13 21:20:30 +04:00
John Preston
5f7c3ae20e Remove some test code. 2024-03-13 21:20:30 +04:00
John Preston
e1b55b560a New top bar, sharing, internal IV links style. 2024-03-13 21:20:30 +04:00
John Preston
315859bf7b Load full webpage and update in IV. 2024-03-13 21:20:30 +04:00
John Preston
0a87dbea68 Fix focusing IV content. 2024-03-13 21:20:30 +04:00
John Preston
5f3c380d56 Fix navigation on macOS. 2024-03-13 21:20:30 +04:00
John Preston
8b62c37c34 Support complex history and anchors. 2024-03-13 21:20:30 +04:00
John Preston
fae10cfa6b Support slideshow layout. 2024-03-13 21:20:30 +04:00
John Preston
f9069144e5 Support albums layout. 2024-03-13 21:20:30 +04:00
John Preston
7755b70317 Add top dropdown menu. 2024-03-13 21:20:30 +04:00
John Preston
c46f34c677 Load non-streamable documents. 2024-03-13 21:20:30 +04:00
John Preston
5c428ca502 Support anchor jumps. 2024-03-13 21:20:30 +04:00
John Preston
51d5b7bab6 Support channel link / channel join. 2024-03-13 21:20:30 +04:00
John Preston
f508ad5e75 Implement title and in-IV buttons. 2024-03-13 21:20:30 +04:00
John Preston
f9299eee2a Apply app color scheme, test dynamic header. 2024-03-13 21:20:30 +04:00
John Preston
212259aae3 Handle shortcuts in IV. 2024-03-13 21:20:30 +04:00
John Preston
6d733bb566 Proof-of-concept custom scheme in WKWebView. 2024-03-13 21:20:30 +04:00
John Preston
125f856e67 Proof-of-concept (WebView2 / Local) iv. 2024-03-13 21:20:30 +04:00
23rd
672ad64e53 Added initial ability to send and receive scheduled messages in forums. 2024-03-13 19:57:07 +03:00
23rd
cd59f1d576 Removed redundant constructor from HistoryView::ComposeControls. 2024-03-13 19:57:07 +03:00
John Preston
c4fc43ccc0 Fix rounding in boost features box. 2024-03-13 20:50:19 +04:00
John Preston
b20b3142a2 Update submodules and patches commit. 2024-03-13 20:49:24 +04:00
Ilya Fedin
d67f25d726 Update Qt to 6.7.0 on Linux 2024-03-13 20:46:54 +04:00
Ilya Fedin
d881019c3b Update submodules 2024-03-13 20:46:34 +04:00
Ilya Fedin
abdfa4f785 Remove not really needed notification capability checks
If the notification daemon doesn't support any of the hints, it will just ignore them
2024-03-13 20:46:34 +04:00
Ilya Fedin
5394717ddc Log only GError message 2024-03-13 20:46:34 +04:00
Ilya Fedin
c9d58d4259 Use HasCapability directly as an argument to ranges::all_of 2024-03-13 20:46:34 +04:00
Ilya Fedin
dba9cada83 Don't check whether specification version is null
We log specification version anyway
2024-03-13 20:46:34 +04:00
Ilya Fedin
0ec5181566 Pre-normalize notification daemon versions 2024-03-13 20:46:34 +04:00
Ilya Fedin
886847f457 Port notifications_manager_linux to cppgir 2024-03-13 20:46:34 +04:00
John Preston
bf1b3dc8f6 Version 4.15.2: Update fcitx-qt5.
I hope this fixes #27573.
2024-03-13 09:21:35 +04:00
John Preston
f13971dce1 Use line-tables-only debug information format on macOS.
Otherwise linking fails on x86_64 in Release mode.
2024-03-13 09:20:14 +04:00
John Preston
5573bbc776 Version 4.15.2.
- Telegram Business: Greeting Message.
- Telegram Business: Away Message.
- Telegram Business: Quick Replies.
- Telegram Business: Working Hours.
- Close the ongoing call window without hanging up the call.
- Fast scroll through chats list with Ctrl or Shift pressed.
- Several bugfixes.
2024-03-12 23:30:49 +04:00
John Preston
8c5db25476 Fix a crash in main settings destructor.
Fixes #27544.
2024-03-12 23:24:43 +04:00
John Preston
c6f49486ee Use regular good-green color in unmute. 2024-03-12 18:34:57 +04:00
John Preston
cf6d13acc2 Add fast Ctrl/Shift scroll to ElasticScroll. 2024-03-12 18:34:49 +04:00
John Preston
1647991f6a Fix autologin token account selection. 2024-03-12 15:57:18 +04:00
John Preston
b4993453c0 Update submodules. 2024-03-12 14:38:06 +04:00
John Preston
68bb0a1744 Fix recent actions date marks.
Regression was introduced in 7f3ebde252.
2024-03-12 14:38:02 +04:00
John Preston
12356b1617 Fix possible crash in WebView2 destruction. 2024-03-12 14:37:46 +04:00
prawwtocol
fc0cfbf003 Update mac build instructions with up-to-date homebrew link 2024-03-10 21:36:51 +04:00
Kolya
77dcbaf00c don't use brotli (built by other dependencies) 2024-03-10 21:35:50 +04:00
John Preston
626b3395ab Show 00:00-23:59 as "open 24 hours". 2024-03-09 10:58:05 +04:00
John Preston
506b8fd4f1 Fix saving of empty working intervals. 2024-03-09 10:58:05 +04:00
Kolya
d3b1abb61e fix windows build 2024-03-09 10:46:27 +04:00
John Preston
990ae11f62 Version 4.15.1: Fix build with GCC. 2024-03-08 15:49:30 +04:00
Ilya Fedin
3d5092f7ad Update cmake_helpers 2024-03-08 15:32:58 +04:00
Ilya Fedin
296e8c1ab1 Use ExecutablePathForShortcuts in PortalAutostart 2024-03-08 15:32:58 +04:00
Ilya Fedin
0df8864ae0 Port specific_linux to cppgir 2024-03-08 15:32:58 +04:00
John Preston
7c002cf8be Version 4.15.1: Fix sending media albums. 2024-03-08 15:26:14 +04:00
John Preston
c345b50ab7 Version 4.15.1.
Telegram Business features.
2024-03-08 12:55:20 +04:00
John Preston
d729e625e6 Show business section settings only when loaded. 2024-03-08 12:28:53 +04:00
John Preston
2c03d90fc8 Fix the new time picker. 2024-03-08 11:47:29 +04:00
John Preston
5ebd5852ba Update lib_ui submodule. 2024-03-08 10:55:50 +04:00
John Preston
5397f64b23 Add Telegram Business icon to Premium promo. 2024-03-08 10:54:00 +04:00
John Preston
4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston
bef26cf9d2 Force right-alignment in quick replies editing. 2024-03-08 10:54:00 +04:00
John Preston
9483d17fc8 Validate quick reply name. 2024-03-08 10:54:00 +04:00
John Preston
288979d8e7 Allow editing quick replies from the suggestions. 2024-03-08 10:54:00 +04:00
John Preston
49ec051760 Make premium toast adaptive. 2024-03-08 10:54:00 +04:00
John Preston
0a8e961142 Suggest premium when sending existing quick replies. 2024-03-08 10:54:00 +04:00
John Preston
6d352597b4 Disable quick replies in bot chats. 2024-03-08 10:54:00 +04:00
John Preston
d14f11bd88 fixup Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
d608bffecb Fix limit in business features exception box. 2024-03-08 10:54:00 +04:00
John Preston
00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston
e3f6c189a7 Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
ea36345eee Show location and working hours in profile. 2024-03-08 10:53:59 +04:00
John Preston
5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston
37f5160d1c Fix bold formatting in the beginning of a quote. 2024-03-08 10:53:59 +04:00
John Preston
ee847bc1a3 Fix legacy group pins loading on first group open.
Fixes #27466.
2024-03-08 10:53:59 +04:00
John Preston
c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston
88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston
f812166249 Use server-side order for business features list. 2024-03-08 10:53:59 +04:00
John Preston
a47c6f9c9a Show errors on business info savings. 2024-03-08 10:53:59 +04:00
John Preston
cf8aaf5f9d Save away / greeting settings. 2024-03-08 10:53:59 +04:00
John Preston
ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston
dd6768a476 Add stories rights by default to new admins. 2024-03-08 10:53:59 +04:00
John Preston
7f7d544943 Show nice empty quick reply placeholder. 2024-03-08 10:53:59 +04:00
John Preston
d5e920e45a Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston
aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston
f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston
23e22de6ec Fix deleting shortcut items. 2024-03-08 10:53:59 +04:00
John Preston
fb539b0f70 Improve shortcut messages geometry. 2024-03-08 10:53:59 +04:00
John Preston
6e08b00dba Fix sending .tgs files as stickers.
Regression was introduced in 3467fe226f.
2024-03-08 10:53:59 +04:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston
5c11fa4f63 Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston
dd7ccada2f Support edit / save of greeting message settings. 2024-03-08 10:53:59 +04:00
John Preston
e6b9ac2267 Support edit / save of away message settings. 2024-03-08 10:53:58 +04:00
John Preston
f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
John Preston
e05eb63476 Update API scheme on layer 176. 2024-03-08 10:53:58 +04:00
John Preston
c513906996 Change default for business recipients. 2024-03-08 10:53:58 +04:00
John Preston
dd0bdd62fb Support business working hours API. 2024-03-08 10:53:58 +04:00
John Preston
4d12f1c0ef Initial working hours editing. 2024-03-08 10:53:58 +04:00
John Preston
1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston
1e5f821c6f Start all business sections implementation. 2024-03-08 10:53:58 +04:00
John Preston
0af131f144 Invert group / channel features list. 2024-03-08 10:53:58 +04:00
John Preston
ad9107ca90 Implement chatbots section editing. 2024-03-08 10:53:58 +04:00
John Preston
205479fccc Layout chatbots editing section. 2024-03-08 10:53:58 +04:00
John Preston
0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
23rd
0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
23rd
27bd9e3ee5 Added icons to buttons for privacy settings that require premium. 2024-03-08 10:53:58 +04:00
23rd
02e1c03ed9 Fixed position of connecting state widget when forum is opened.
Fixed #27548.
2024-03-08 10:53:58 +04:00
23rd
f56b16c6ef Added initial badges for minimal level of boosts to channel settings. 2024-03-08 10:53:58 +04:00
23rd
09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
23rd
eab249fc13 Fixed countdown label for input field of bio. 2024-03-08 10:53:58 +04:00
23rd
48eb408fb8 Fixed text elision of vote amount in polls with reactions. 2024-03-08 10:53:58 +04:00
23rd
ef474f0dc8 Fixed opening of local links from webview bots in appropriate window. 2024-03-08 10:53:58 +04:00
23rd
a704611705 Fixed ability to create vertical drum picker with first chosen item. 2024-03-08 10:53:58 +04:00
23rd
b790847fde Added ability to close call panel without hanging up call. 2024-03-08 10:53:58 +04:00
23rd
c0c330a150 Fixed bubble color under strip of emoji pad for reactions. 2024-03-08 10:53:58 +04:00
23rd
aec4857e7b Fixed format of phone number in intro widget. 2024-03-08 10:53:58 +04:00
23rd
5dc6bdcc42 Fixed reply bar stuck when sending file in replies section. 2024-03-08 10:53:58 +04:00
23rd
08717dcd78 Added counter label of characters limit to edit mode without media. 2024-03-08 10:53:58 +04:00
23rd
a77c547a62 Fixed edit of long media caption with emoji. 2024-03-08 10:53:58 +04:00
23rd
d252427e34 Added blockquote to white list for message links parser. 2024-03-08 10:53:58 +04:00
23rd
58443bc197 Fixed ability to schedule forwarded messages without comment. 2024-03-08 10:53:58 +04:00
23rd
ea20e41f1d Added drag text to contact view. 2024-03-08 10:53:58 +04:00
23rd
afdd22d154 Fixed phone formatting generally. 2024-03-08 10:53:58 +04:00
23rd
93d1a187ca Improved view style of contacts. 2024-03-08 10:53:57 +04:00
23rd
52c779bffa Added support of inline markup reply to HTML export. 2024-03-08 10:53:57 +04:00
23rd
de1bd6ef28 Slightly simplified creation of universal variables in prepare.py. 2024-03-08 10:53:57 +04:00
23rd
c26982be3e Added support for AVIF, HEIF and JPEG XL on macOS. 2024-03-08 10:53:57 +04:00
mrbesen
5971aefb83 add bash shebang 2024-03-08 08:05:55 +04:00
Ilya Fedin
41481129f7 Port main_window_linux to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin
7b8cdb43c4 Port linux_xdp_open_with_dialog to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin
1e9b7e2726 Use XDP::kObjectPath for session and request paths 2024-03-08 08:05:12 +04:00
Ilya Fedin
a66b886c51 Initialize Linux lock screen monitor fully asynchronously 2024-03-08 08:05:12 +04:00
Ilya Fedin
5b62d97288 Update submodules 2024-03-08 08:05:12 +04:00
Kolya
b040b62b4e prepare.py: simplify qt5 clone 2024-03-07 18:14:34 +04:00
Kolya
50f51d0747 update new script location in qt repo 2024-03-07 18:14:34 +04:00
xmdn
95b4fc0216 use modern installer style 2024-03-01 12:43:33 +04:00
GitHub Action
da047edbc5 Update User-Agent for DNS to Chrome 122.0.0.0. 2024-03-01 12:41:47 +04:00
Ilya Fedin
a8b5061003 Fix a std::clamp assertion 2024-03-01 12:41:35 +04:00
Kolya
ec427ad45d Use TOOLCHAIN variable name 2024-02-23 13:17:55 +04:00
Kolya
778ab70b72 Fix libvpx build on VS 17.8+
use with https://github.com/desktop-app/patches/pull/182
2024-02-23 13:17:55 +04:00
Ilya Fedin
5d1aa10768 Remove no longer needed boost-program-options from snap
Looks like cppgir has stopped to use it during some of the updates
2024-02-19 14:31:08 +04:00
John Preston
cb065146c2 Version 4.15: Fix build with GCC. 2024-02-18 21:00:10 +04:00
John Preston
3aab2a88aa Remove helper temporary code. 2024-02-18 20:56:51 +04:00
John Preston
9a012d8b9b Version 4.15: Fix build with Xcode. 2024-02-18 20:46:10 +04:00
John Preston
eaad2034e6 Version 4.15.
- Stories from groups.
- Group appearance settings.
- Group emoji pack.
- Boost groups to unlock features.
2024-02-18 20:24:20 +04:00
John Preston
2a52eca5f5 Fix set icon in updating group emoji set. 2024-02-18 20:21:03 +04:00
John Preston
13ded3a82e Fix crash in removing group emoji set. 2024-02-18 20:15:55 +04:00
John Preston
9a0ea78e0f Don't show duplicated emoji set. 2024-02-18 20:11:57 +04:00
John Preston
a2fe1506cc Fix build. 2024-02-18 17:55:07 +04:00
John Preston
608b4f30c5 Show thumbnail of selected group emoji pack. 2024-02-18 17:54:09 +04:00
Ilya Fedin
3af646a584 Disable system proxy support on Linux
Reading system proxy on Linux reads to massive crashes in system libraries.

Since those crashes are unreproducible in development environment, it's not possible to find the root cause.

Workarounds #27482.
2024-02-18 00:26:36 +04:00
John Preston
89c7147fd9 Improve group appearance box design. 2024-02-18 00:25:40 +04:00
John Preston
d4ee45f9ff Use nice boost features icons. 2024-02-17 22:05:05 +04:00
John Preston
df5454a0b0 Fix build. 2024-02-17 22:04:46 +04:00
John Preston
ebf4e88a10 Fix crash in giveaway results view. 2024-02-17 21:49:07 +04:00
John Preston
0163ec314a Improve phrases for giveaways in groups. 2024-02-17 21:46:00 +04:00
23rd
46d5a93c96 Slightly improved fade effect for bottom side of input message field. 2024-02-17 20:33:59 +03:00
23rd
dd6cbd2c36 Fixed edit of long text message without media. 2024-02-17 20:33:59 +03:00
Ilya Fedin
5bf6a93086 Replace usage of deprecated CRAFT_ARCH_TRIPLET 2024-02-17 21:11:45 +04:00
Ilya Fedin
1146ecfd45 Update macOS action to macOS 13 2024-02-17 21:11:45 +04:00
John Preston
f59c46cd7c Remove "Boost Group" button in channels. 2024-02-17 21:06:07 +04:00
John Preston
20f3ef9a5b Fix stories likes in groups. 2024-02-17 21:06:07 +04:00
John Preston
41d3e16c7d Don't add peer saved / stories in topics profiles. 2024-02-17 21:06:07 +04:00
John Preston
46d11b6dcb Use correct phrases in group stories. 2024-02-17 21:06:07 +04:00
John Preston
adc8966c61 Fix device pixel ratio in stories userpics. 2024-02-17 21:06:07 +04:00
John Preston
d5353e8741 Fix hidden sender info display in Saved Messages.
Fixes #27463.
2024-02-17 21:06:07 +04:00
23rd
e79be73025 Added ability to export peer ids from contact list. 2024-02-17 17:34:44 +03:00
23rd
f20e393d77 Fixed fade effect for input message fields when theme is changed. 2024-02-17 17:34:44 +03:00
23rd
6336ed33fa Removed some include directives. 2024-02-17 17:34:44 +03:00
Ilya Fedin
bcc864cbe1 Fix build without Wayland integration 2024-02-16 23:41:07 +04:00
Ilya Fedin
2dd1ab31b9 Update submodules 2024-02-16 19:06:33 +04:00
Ilya Fedin
9f58a5a4b0 Limit source depth for snapcraft desktop helpers 2024-02-16 19:06:33 +04:00
Ilya Fedin
e31704d01e Update Qt to 6.6.2 on Linux 2024-02-16 19:06:33 +04:00
John Preston
f1b7d9ebba Version 4.14.16.
- Boost groups.
2024-02-16 15:00:19 +04:00
23rd
991110b84d Fixed fade effect for input message fields in compose controls. 2024-02-16 15:00:19 +04:00
John Preston
18ca4a9eeb Add a couple of phrases for group wallpapers. 2024-02-16 12:22:38 +04:00
John Preston
9f7ee3cafd Correctly check webview init success.
Also correctly init recreated webview bottom bar.

Fixes #27481, fixes #27479.
2024-02-16 12:14:13 +04:00
John Preston
137155afd8 Use round thumbnail in forum stories. 2024-02-16 11:27:09 +04:00
John Preston
38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston
0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston
f674ace805 Send comments to group stories. 2024-02-15 13:51:41 +04:00
John Preston
11f0847295 Update API scheme on layer 174. 2024-02-15 13:51:41 +04:00
John Preston
964846f1bb Add stories rights to group admins edit. 2024-02-15 13:51:41 +04:00
John Preston
fc6f2520b7 Support free transcribes in groups. 2024-02-15 13:51:41 +04:00
John Preston
cfaef4c441 Add Boost Group in group menu. 2024-02-15 13:51:40 +04:00
John Preston
571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston
08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston
680171226c Boost community features list. 2024-02-15 13:51:40 +04:00
John Preston
ea12c2f62c Respect boosts restrictions lifting. 2024-02-15 13:51:40 +04:00
John Preston
180b14ea36 Allow saving boosts to lift restrictions. 2024-02-15 13:51:40 +04:00
John Preston
f6a8c1e996 Allow boosts / giveaways in groups. 2024-02-15 13:51:40 +04:00
John Preston
cb174cb0bf Add some more premium promo sections. 2024-02-15 13:51:40 +04:00
John Preston
33207b78d5 Show applied boosts in message bubbles. 2024-02-15 13:51:40 +04:00
John Preston
e32cbf468b Update API scheme to layer 174. 2024-02-15 13:51:40 +04:00
John Preston
c891ee3a45 Fix build on Windows. 2024-02-15 13:51:40 +04:00
23rd
6de471db17 Added counter label of characters limit to send files box. 2024-02-15 09:37:11 +03:00
23rd
d1eaf284b1 Fixed text suggestion in toast when media caption is too long. 2024-02-15 08:22:16 +03:00
23rd
5cd0d82ffb Added counter label of characters limit for long media captions. 2024-02-15 08:21:35 +03:00
23rd
113c8a797f Added fade effect to input message fields. 2024-02-14 21:33:17 +03:00
23rd
dcf4f45a36 Fixed ability to copy entire translated text from context menu. 2024-02-14 21:33:17 +03:00
Ilya Fedin
8b6a7a443e Switch from libproxy to GProxyResolver 2024-02-14 20:01:31 +04:00
Ilya Fedin
c5db2b8175 Ensure custom arguments get applied in generated .desktop file 2024-02-14 09:31:19 +04:00
Ilya Fedin
00f98793b1 Update lib_webview 2024-02-12 19:52:08 +04:00
John Preston
e5f90cd40d Version 4.14.15.
- Fix webview regression on Linux X11. (2nd attempt)
2024-02-10 00:32:40 +04:00
John Preston
a10d668131 Version 4.14.14.
- Fix webview regression on Linux X11.
2024-02-09 20:18:40 +04:00
John Preston
8a62bacaa6 Fix anti-aliasing in emoji categories search. 2024-02-09 20:15:02 +04:00
100backslash001
bacab01f7e Remove duplicates from configure.py 2024-02-09 10:49:18 +04:00
23rd
5d3400033a Fixed ability to copy whole transcribed text and copy album captions. 2024-02-08 17:35:29 +03:00
23rd
0e571ea679 Added ability to copy filename of named documents. 2024-02-08 17:32:25 +03:00
23rd
b959262140 Fixed legal link in some files. 2024-02-08 15:20:42 +03:00
Ilya Fedin
fd3ce905c0 Update lib_webview 2024-02-08 11:45:09 +04:00
Ilya Fedin
29debc07c4 Let specify arbitrary build configuration via Docker
Default to RelWithDebInfo for both optimizations and debug information
2024-02-06 20:31:44 +04:00
Ilya Fedin
5334096d68 Fix bot webview height with fractional scaling 2024-02-06 10:25:27 +04:00
Ilya Fedin
bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
John Preston
2f0b50cb37 Version 4.14.13: Always send webpages optionally.
If the link cannot be displayed everywhere
(channel blocked in some countries) the
send request without `optional` flag fails.
2024-02-02 21:41:19 +04:00
John Preston
6185fa980d Version 4.14.13.
- Fix display of statistics for single posts.
- Allow editing tag name from search tags.
- Fix a crash in tags removal.
2024-02-02 21:38:23 +04:00
John Preston
1cce1e8a90 Fix a crash in tags removal. 2024-02-02 21:33:58 +04:00
23rd
237baf11df Fixed display of statistics for single posts. 2024-02-02 21:33:46 +04:00
Ilya Fedin
46023f4260 Update lib_webrtc 2024-02-02 20:46:54 +04:00
John Preston
8459c29073 Allow editing tag name from search tags. 2024-02-02 11:25:04 +04:00
John Preston
f072173d7c Fix tags for just-sent Saved Messages. 2024-02-02 09:52:32 +04:00
John Preston
bec34c34b1 Version 4.14.12: Fix build with GCC. 2024-02-01 21:13:07 +04:00
John Preston
04ab148b2e Version 4.14.12.
- Tags in Saved Messages.
- Audio output device selection for music and videos.
- Audio input device selection for voice messages recording.
- Default device changes should be applied instantly. (Windows / macOS)
2024-02-01 17:52:37 +04:00
John Preston
e314abefb8 Fix build with Xcode. 2024-02-01 17:52:37 +04:00
John Preston
cdaa23363f Allow reaction reports in public groups. 2024-02-01 17:52:37 +04:00
John Preston
5401d00548 Allow reporting / banning from reactions in groups. 2024-02-01 17:30:40 +04:00
John Preston
c06699e8e7 Update API scheme on layer 173. 2024-02-01 12:47:52 +04:00
John Preston
2f40a44b5c Improve things for OpenAL devices management. 2024-02-01 12:37:34 +04:00
John Preston
0945e04f6b Allow filtering by tag on click in sublists. 2024-02-01 12:37:34 +04:00
John Preston
db7c16f82b Fix about message reaction text color. 2024-02-01 12:37:34 +04:00
John Preston
30548c2859 Support tags search in sublists. 2024-02-01 12:37:34 +04:00
John Preston
0163938e00 Add shadow below tags list widget. 2024-02-01 12:37:34 +04:00
John Preston
3421b656db Fix saved tag click in separate window messages. 2024-02-01 12:37:34 +04:00
John Preston
39b80c98c7 Support tags in ComposeSearch. 2024-02-01 12:37:34 +04:00
John Preston
323500f6dd Improve design of locked tags. 2024-02-01 12:37:34 +04:00
John Preston
11cf0486cb Implement required paywalls in tags. 2024-02-01 12:37:34 +04:00
John Preston
46579ac84d Support about text above reactions strip. 2024-02-01 12:37:34 +04:00
John Preston
f324c53440 New premium promo section about tags. 2024-02-01 12:37:34 +04:00
John Preston
87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston
6f57302562 Track tag counts in all sublists. 2024-02-01 12:37:34 +04:00
John Preston
d116c8fea0 Allow editing tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
32462fca9b Show tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
55a174190e Fix reactions expanding. 2024-02-01 12:37:34 +04:00
John Preston
9f738cded2 Fix saved messages sublists pinning updates. 2024-02-01 12:37:34 +04:00
John Preston
87c1329490 Re-enable tags in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
ded2015dc2 Update API scheme to layer 173. 2024-02-01 12:37:34 +04:00
23rd
98a71cce89 Improved toast phrase for forwarded messages to self. 2024-02-01 12:37:34 +04:00
23rd
a3ba1ba2a1 Fixed ability to create group without ttl even with ttl in settings. 2024-02-01 12:37:33 +04:00
23rd
42842619b0 Added external link to username field when it is available for purchase. 2024-02-01 12:37:33 +04:00
23rd
32d3b90cdc Replaced behavior of statistics info to wait all charts. 2024-02-01 12:37:33 +04:00
GitHub Action
b182aeb51e Update User-Agent for DNS to Chrome 121.0.6167.85. 2024-02-01 12:37:25 +04:00
Ilya Fedin
7049929a59 Update libproxy 2024-01-31 23:27:41 +04:00
Ilya Fedin
aa5413da4e Ensure cant reproduce label is not automatically removed 2024-01-31 11:04:04 +04:00
Zephyr Lykos
32dfe0f65e Update cppgir to fix nullptr dereference in glib 2.79 2024-01-31 11:03:36 +04:00
Ilya Fedin
5d33290218 Shorten socket paths on Linux 2024-01-29 11:46:12 +04:00
Ilya Fedin
852196a013 Add cant reproduce label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin
0ff3d4b2ed Add needs user action label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin
b843dab87a Get error message from the right object when copying log file 2024-01-27 07:17:24 +04:00
23rd
20bd7db4d9 Slightly improved display of top label in Premium Settings for user. 2024-01-25 19:28:31 +04:00
23rd
92f0358800 Fixed text insertion from menu bar on macOS when input field is hidden. 2024-01-25 19:28:30 +04:00
John Preston
0372f2be9c Beta version 4.14.11.
- Fix crash when accepting calls.
- Fix possible crash in loopback audio on Windows.
2024-01-25 19:26:55 +04:00
John Preston
7dfb93f7c2 Add some assertions for debugging a crash. 2024-01-25 18:30:21 +04:00
John Preston
3c150d9742 Fix possible crash in loopback audio on Windows. 2024-01-25 18:30:21 +04:00
John Preston
3c5cace175 Fix chats list bottom buttons skip. 2024-01-25 17:55:10 +04:00
John Preston
7e7fd6f1b4 Fix crash in accepting calls. 2024-01-25 17:54:31 +04:00
John Preston
eebe7adbcb Beta version 4.14.10.
- Allow choosing audio device for music and video files.
- Allow choosing microphone device for voice recording.
- Allow pause and resume voice messages recording.
- Track audio device changes on Windows and macOS.
2024-01-25 11:57:58 +04:00
23rd
5561bdeb5e Fixed top of ttl button in voice record bar with float media player. 2024-01-25 11:57:58 +04:00
John Preston
a670095294 Update patched OpenAL on macOS / Windows. 2024-01-25 11:57:58 +04:00
John Preston
104ba4db7c Fully migrate to Webrtc::Environment. 2024-01-25 11:57:58 +04:00
John Preston
9a6ab3b0f2 Improve call device migration. 2024-01-25 11:04:27 +04:00
John Preston
e5b89b1572 Separate settings for calls. 2024-01-25 11:04:27 +04:00
John Preston
65a80766f4 Implement media device tracking on macOS. 2024-01-25 11:04:27 +04:00
John Preston
736b489eb7 Fix build of updated tgcalls on macOS. 2024-01-25 11:04:27 +04:00
John Preston
d3778f92d2 Implement media devices tracking on Windows. 2024-01-25 11:04:27 +04:00
23rd
30e694420a Added icon to button for resuming of voice recording. 2024-01-25 11:04:27 +04:00
23rd
091c13bc23 Added initial ability to pause and resume voice recording. 2024-01-25 11:04:27 +04:00
23rd
5130c5df80 Replaced display of stop icon in voice record bar with pause icon. 2024-01-25 11:04:27 +04:00
23rd
7542f04010 Added specific phrases to chats list for voice messages with ttl. 2024-01-25 11:04:27 +04:00
23rd
dff4191ac9 Added reward phrase to about label in gift box. 2024-01-25 11:04:27 +04:00
23rd
15e2874da8 Fixed display of loading progress in voice messages with ttl. 2024-01-25 11:04:27 +04:00
John Preston
8eb49d5efc Fix possible connection problem in calls. 2024-01-22 11:06:42 +04:00
John Preston
230761eb23 Version 4.14.9.
- Fix two possible crashes in messages history and group search.
- Fix local online status turning off. (once again)
2024-01-19 21:48:39 +04:00
John Preston
bb0ab27244 Fix possible crash in service message update. 2024-01-19 21:46:56 +04:00
John Preston
bdeaf4f27a Fix crash in search in group messages from user.
Fixes #27387.
2024-01-19 21:46:55 +04:00
John Preston
6d608bed98 Add DESKTOP_APP_ASAN CMake option on Windows. 2024-01-19 21:46:48 +04:00
John Preston
5a47acf1d2 Change reply-in-chat locally. 2024-01-19 16:24:50 +04:00
John Preston
02a306ba70 Fix get premium suggestion display. 2024-01-19 15:45:56 +04:00
John Preston
75e19235cd Improve get premium phrase. 2024-01-19 15:45:46 +04:00
John Preston
7d9b4e1e03 Fix local online status fadeout once again. 2024-01-19 11:44:33 +04:00
John Preston
d0fff1611c Version 4.14.8.
- Fix initial position and size of secondary windows.
- Optimize messages loading. (load replies on demand)
- Fix local online status turning off.
2024-01-18 22:22:35 +04:00
John Preston
e4ca8ae847 Fix several possible crashes. 2024-01-18 22:22:35 +04:00
John Preston
f53b64bc72 Fix local online finishing. 2024-01-18 21:19:07 +04:00
John Preston
981909e567 Closed alpha version 4.14.7.1. 2024-01-18 19:26:32 +04:00
John Preston
ce6fc19b84 Try to request dependent messages on demand. 2024-01-18 19:26:32 +04:00
John Preston
a38f731265 Version 4.14.7: Fix build with Xcode 15.2. 2024-01-18 17:51:52 +04:00
John Preston
d55dd7dffd Version 4.14.7: Fix build with GCC. 2024-01-18 17:50:37 +04:00
John Preston
37478d951a Fix initial geometry for secondary windows. 2024-01-18 17:27:30 +04:00
John Preston
814de17f28 Version 4.14.7.
- See when your message was read in private chat.
- Premium users can see other last seen times
if they weren't hidden explicitly.
- Premium users can allow new chats only from their contacts
and other Premium users.
2024-01-18 14:35:35 +04:00
John Preston
5f97d683df Count senders / captions count correctly in forwards. 2024-01-18 13:26:14 +04:00
John Preston
95d4e02ae1 Fix a glitch in search-in-separate-window. 2024-01-18 13:20:33 +04:00
John Preston
abf9764640 Another attempt to fix TTL tooltip. 2024-01-18 12:44:35 +04:00
John Preston
80ee38f9fb Change taps to clicks in built-in phrases. 2024-01-18 12:43:47 +04:00
John Preston
b4ab20bbe9 Fix media expiration from another client. 2024-01-18 12:23:47 +04:00
John Preston
f6a95df550 Show toast on invite attempt to premium required. 2024-01-18 12:01:03 +04:00
John Preston
f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
John Preston
eda7118df9 Show toast on forward attempt to premium required. 2024-01-17 16:43:25 +04:00
John Preston
7c468052e6 Fix premium-required info on first load. 2024-01-17 11:16:05 +04:00
John Preston
43eca490a7 Recreate webview on reload request after a crash. 2024-01-17 10:16:12 +04:00
John Preston
3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston
5daa5a00f0 Correctly use contact_require_premium bit. 2024-01-17 09:39:05 +04:00
John Preston
6e31993777 Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
1cfad14437 Show correct placeholder in require-premium story reply. 2024-01-17 09:39:05 +04:00
John Preston
3829ed5880 Fix build with Xcode. 2024-01-17 09:39:05 +04:00
John Preston
e5cda0e2b1 Show "premium required" information in chat. 2024-01-17 09:39:05 +04:00
John Preston
c765bee0cd Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
16942d487a New "Messages" privacy option and box. 2024-01-17 09:39:05 +04:00
John Preston
5cb4cfef32 Improve geometry restore on secondary screen. 2024-01-17 09:39:05 +04:00
John Preston
4d86ced1e6 Improve "show" last seen button design. 2024-01-17 09:39:05 +04:00
John Preston
ad03431b0a Improve "read time" context menu info design. 2024-01-17 09:39:05 +04:00
John Preston
474f1118b6 Proof-of-concept read time in private chats. 2024-01-17 09:39:05 +04:00
John Preston
e63d573414 Proof-of-concept last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston
33643ff7fc Add "show" button for last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston
ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
John Preston
c364383cf0 Version 4.14.6.
- Fix one-time audio tooltip showing in wrong places.
- Fix media viewer showing above taskbar on Windows.
- Fix crash in one-time video message playback.
2024-01-16 21:44:56 +04:00
John Preston
5033b9ef0d Fix crash in ttl video, track editions. 2024-01-16 21:43:19 +04:00
John Preston
605b255e32 Fix media viewer non-full-screen-ness. 2024-01-16 21:12:06 +04:00
John Preston
d3fdfe4b29 Fix crash in themes editor.
Fixes #27366.
2024-01-16 21:09:45 +04:00
John Preston
c452694348 Pause infinite radial timer if anim::Disabled. 2024-01-16 20:31:44 +04:00
23rd
83fc19e143 Changed behavior in voice record bar to create ttl button on demand. 2024-01-16 20:31:25 +04:00
John Preston
6686fe110d Fix release script working from Linux. 2024-01-16 20:29:58 +04:00
John Preston
ed027c23d0 Version 4.14.5: Fix build with GCC. 2024-01-16 20:29:37 +04:00
John Preston
2213bedc12 Version 4.14.5.
- Allow sending one-time voice messages.
- Improve playing one-time voice and video messages.
- Remove Ctrl+Shift+[1-6] shortcuts by default,
some are used in input methods.
- Some bugs and glitches fixed.
2024-01-16 13:14:36 +04:00
John Preston
ac7958f335 Remove ctrl+shift+N shortcuts by default.
Those are used in some input methods, including Farsi.

You can always add such bindings in tdata/shortcuts-custom.json for
the "account1", "account2", etc commands.

Fixes #27334.
2024-01-16 13:03:44 +04:00
John Preston
3301d28615 Fix white glitch workaround on Windows. 2024-01-16 12:53:50 +04:00
John Preston
6033071e61 Fix new taskbar "Quit Telegram" icon generation. 2024-01-16 12:53:23 +04:00
John Preston
06775b5623 Optimize ttl media overlay a bit. 2024-01-16 11:56:28 +04:00
John Preston
93a734eecf Prepare ttl-media release. 2024-01-16 11:56:08 +04:00
John Preston
6f64fea0b1 Fix build with Xcode. 2024-01-16 11:21:04 +04:00
John Preston
6b910e11e5 Update lib_webview submodle. 2024-01-16 11:18:56 +04:00
John Preston
b31bb6dd33 Fix sending single-time voice messages. 2024-01-16 11:18:56 +04:00
John Preston
104cf504ab Play ttl media horizontally where the message was. 2024-01-16 11:18:56 +04:00
John Preston
b462d7627f Fix channels in poll results restoring. 2024-01-16 11:18:56 +04:00
23rd
cb4781360a Added first shown tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd
8895e49466 Fixed display of corner button in section with ttl button in record bar. 2024-01-16 11:18:56 +04:00
23rd
d1f4463c2a Added simple tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd
f9b5789cf7 Fixed button position in voice record bar for ttl voice messages. 2024-01-16 11:18:56 +04:00
23rd
5273fbf57b Slightly improved progress radial for voice messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
ad6890e7dd Slightly improved progress radial for video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
46ddc7364c Fixed possible crash on deleting of media message with ttl. 2024-01-16 11:18:56 +04:00
23rd
a2c0491ae0 Added phrases to ttl viewer widget for video messages. 2024-01-16 11:18:56 +04:00
23rd
c686ac8603 Slightly improved style of ttl badge in voice messages. 2024-01-16 11:18:56 +04:00
23rd
268613e1db Slightly improved style of voice record bar. 2024-01-16 11:18:56 +04:00
23rd
5ba918d213 Added support of chat themes to viewer widget for messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
21dcb7b13c Added initial ability to play video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
40ff71b2cd Added delay to button for media replacement in compose control. 2024-01-16 11:18:56 +04:00
23rd
b017cc07ce Removed uppercase from phrase in calls top bar. 2024-01-16 11:18:55 +04:00
23rd
fa773c3024 Fixed incorrect seeking of voice messages with transcribe button. 2024-01-16 11:18:55 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
23rd
6516c7aef3 Fixed display of ttl badges from voice messages with chat themes. 2024-01-16 11:18:55 +04:00
23rd
c43dfecec6 Excluded media with ttl from shared media. 2024-01-16 11:18:55 +04:00
23rd
53e95a7f74 Fixed display of last frame of voice messages in media viewer with ttl. 2024-01-16 11:18:55 +04:00
23rd
2a81a617e1 Improved loop animation in voice messages with ttl. 2024-01-16 11:18:55 +04:00
23rd
37067f17e2 Added new viewer widget for voice messages with ttl. 2024-01-16 11:18:55 +04:00
John Preston
f8caa02f10 Fix animating list->chat transition in single column. 2024-01-16 11:18:55 +04:00
John Preston
fc2f41096f Attempt to fix initial window position on Windows. 2024-01-16 11:18:55 +04:00
John Preston
3eefaac885 Fix screen sharing source choose window. 2024-01-16 11:18:55 +04:00
John Preston
0dfe37f998 Mirror my outgoing video in video chats. 2024-01-16 11:18:55 +04:00
John Preston
e2439984ae Pass whole point in mapFromGlobal(mapToGlobal).
Fixes #27237.
2024-01-16 11:18:55 +04:00
John Preston
9401e7cb51 Add "View reactions" phrase to the langpack. 2024-01-16 11:18:55 +04:00
John Preston
4471eb587d Fix possible crash in gift box sticker lookup. 2024-01-16 11:16:28 +04:00
John Preston
3c6037a798 Custom context menu for saved-tags reactions. 2024-01-16 11:16:28 +04:00
John Preston
d1a0dfbb97 Search by tag on click in Saved Messages. 2024-01-16 11:16:28 +04:00
John Preston
94a542a1d1 Allow change account shortcuts in shortcuts_custom.json 2024-01-16 11:16:28 +04:00
John Preston
f5fcfaba0c Add search in saved sublist. 2024-01-16 11:16:28 +04:00
John Preston
9c151ca151 Allow filtering Saved Messages search by tags. 2024-01-16 11:16:27 +04:00
John Preston
e667436a98 Track my tags usages. 2024-01-16 11:16:27 +04:00
John Preston
9aacff8b54 Request correct saved/default reaction tags. 2024-01-16 11:16:27 +04:00
John Preston
9b43d204e2 Track and render reactions as tags in Saved Messages. 2024-01-16 11:16:27 +04:00
John Preston
0faf801de7 Update API scheme to layer 171. 2024-01-16 11:16:27 +04:00
dependabot[bot]
dd1cca1a0a Bump jinja2 from 3.1.2 to 3.1.3 in /Telegram/build/docker/centos_env
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 01:48:01 -08:00
Ilya Fedin
eca8c28dea Add missing QWindow includes 2024-01-12 19:59:18 -08:00
Ilya Fedin
333ef9b48a Hide connection widget when the window is not exposed 2024-01-11 23:40:18 -08:00
Ilya Fedin
1e98e19aaf Add installed packages to cache key for macOS packaged action 2024-01-10 02:40:21 -08:00
Ilya Fedin
308fdcf9cf Update submodules 2024-01-09 22:05:45 -08:00
Ilya Fedin
d803b3ae7d Try to add mesa vulkan drivers to snap 2024-01-09 21:23:20 -08:00
Ilya Fedin
aa121aa1de Get rid of architecture whitelist from snapcraft.yaml
So the Canonical builders build on new architectures as soon as they appear
2024-01-09 21:22:15 -08:00
Ilya Fedin
8138a26c2d Add information about provided mime-type and D-Bus service 2024-01-09 04:31:11 -08:00
Ilya Fedin
26fa3db66d Replace deprecated medium display length with a number 2024-01-09 04:31:11 -08:00
Klemens Nanni
7779d021b4 update cmake/ submodule to include cppgir BSD fixes 2024-01-08 18:49:28 -08:00
John Preston
6b44143f5b Version 4.14.4: Fix build with GCC. 2024-01-08 12:03:49 -08:00
John Preston
0f207faa3e Version 4.14.4.
- Switch between logged in accounts using Ctrl+Shift+[1-6] shortcuts.
- Add poll creation in groups to the attach menu, if exists.
- Another fix for payment card validation.
2024-01-08 17:47:03 +04:00
John Preston
28b43eff7c Make Ctrl+Shift+[1-6] jump through accounts. 2024-01-08 17:35:08 +04:00
John Preston
c257b75a66 Add poll creation to the attach menu. 2024-01-08 17:35:02 +04:00
John Preston
893e14cc39 Fix payment field values formatting.
Regression was introduced in e6b9a07163.

Fixes #27318.
2024-01-08 17:34:08 +04:00
Ilya Fedin
30d5b7fd66 Update patches commit in Dockerfile 2024-01-08 04:40:20 -08:00
Ilya Fedin
2ef8136308 Update patches commit in Dockerfile 2024-01-06 13:30:58 +04:00
John Preston
fccc93ca53 Version 4.14.3: Update Qt patch in the Dockerfile. 2024-01-04 20:39:24 +04:00
23rd
37d1940993 Version 4.14.3: Fixed ttl period for sending of voice messages with ttl. 2024-01-04 18:36:36 +03:00
John Preston
f25638f492 Version 4.14.3: Fix submodule revert. 2024-01-04 19:04:06 +04:00
John Preston
6e6f15e711 Version 4.14.3.
- Allow sending single-time voice messages.
- Fix payments card validation.
- Fix crash when trying to join channels above the limit.
- Add "Quit Telegram" to the Taskbar context menu. (Windows)
- Fix opened windows list in the Dock icon context menu. (macOS)
2024-01-04 19:01:53 +04:00
John Preston
b38e72dcd9 Fix typo in Dockerfile. 2024-01-04 18:55:27 +04:00
Ilya Fedin
9287af1752 Update patches commit in Dockerfile 2024-01-04 18:52:35 +04:00
John Preston
254ca57bf3 Fix webm emoji/stickers with unknown dimensions. 2024-01-04 18:50:47 +04:00
John Preston
52ef8e780a Update zlib/minizip.
Fixes #27313.
2024-01-04 18:50:47 +04:00
John Preston
16a2d4ec96 Fix wrong "Webview process crashed." message. 2024-01-04 18:50:47 +04:00
23rd
3b50bc71b3 Fixed possible rare crash from voice messages with ttl. 2024-01-04 17:48:53 +03:00
John Preston
bb31357c58 More strict check for custom emoji dimensions. 2024-01-04 17:25:32 +04:00
John Preston
66afcbdae8 Backport windows list in Dock Menu from Qt 6.3.*. 2024-01-04 17:25:31 +04:00
John Preston
5a28e69f1a More cleaning in force-reconfiguration. 2024-01-04 17:25:22 +04:00
John Preston
ce78074df7 Fix build on Windows. 2024-01-04 17:22:05 +04:00
John Preston
973f91b5e4 Add "Quit Telegram" taskbar menu item.
Fixes #1161.
2024-01-04 17:22:05 +04:00
John Preston
d2246337a2 Fix crash in ChannelsLimitBox.
Fixes https://bugs.telegram.org/c/35214

Deleting `placeholder` in content->heightValue() resulted in `delete`
sometimes being called deep inside the layer->show() which already had
a reference to that `placeholder` saved and was accessed after -> crash.
2024-01-04 17:22:05 +04:00
23rd
c7f11eb05a Updated Qt to 5.15.12 on Windows. 2024-01-04 17:22:05 +04:00
23rd
758219265a Updated Qt to 6.2.7 on macOS. 2024-01-04 17:22:04 +04:00
23rd
d8d9441731 Slightly improved code style in HistoryView::Document. 2024-01-04 16:14:19 +03:00
23rd
098e797045 Fixed drawing of ttl circles with non-default scale. 2024-01-04 16:14:19 +03:00
23rd
69f8cb5951 Added ability to send voice message with ttl. 2024-01-03 22:44:01 +03:00
23rd
ca86dce760 Added button to voice record bar for ttl voice messages. 2024-01-03 22:44:01 +03:00
23rd
5cf0b6b50e Slightly improved code style in voice record bar class. 2024-01-03 22:32:29 +03:00
23rd
7a139ecda7 Added ability to fast jump to replied message with right click on panel. 2024-01-03 12:34:02 +03:00
23rd
e52fe9ddb0 Removed ability to save files with ttl. 2024-01-03 12:23:41 +03:00
23rd
cee2961632 Fixed width of name text in replies with block quote icon. 2024-01-02 18:19:49 +03:00
John Preston
5933535c9b Fix loading more saved sublists. 2024-01-02 18:03:02 +04:00
23rd
a3b91da66c Added silent info to tooltip of scheduled messages. 2024-01-02 14:31:59 +03:00
23rd
34d9a21aae Removed ability to reschedule message as silent as it's not supported. 2024-01-02 14:31:59 +03:00
23rd
233c6b18ed Fixed local flag for silent out messages. 2024-01-02 14:31:59 +03:00
John Preston
4274f9d3f3 Version 4.14.2.
- Show original senders name in reply to forward information.
- Use original senders color / emoji pattern in forwards.
- Highlight active saved messages chat in list.
- Fix chats list scrolling on X11 (Linux).
2024-01-02 15:05:06 +04:00
John Preston
c8dd94601b Don't add original name in forward of reply. 2024-01-02 15:05:06 +04:00
John Preston
382dab4ecb Don't push sublists to stack endlessly. 2024-01-02 15:05:06 +04:00
23rd
bdf67645bb Improved phrase of terms in gifts box from settings. 2024-01-02 13:40:21 +03:00
John Preston
5c29cc59c8 Show forward original sender in reply bar. 2024-01-02 14:11:09 +04:00
John Preston
ca9caa36da Inside message use original senders colors. 2024-01-02 13:52:55 +04:00
John Preston
0b5f05c7d4 Skip service accounts in gift premiums box. 2024-01-02 13:52:55 +04:00
John Preston
676e85983d Don't cut bio value, show what server returned. 2024-01-02 13:52:55 +04:00
Eric Kotato
7638f4cc3d Fix warning C4805 2024-01-02 13:27:37 +04:00
John Preston
e2e55312b8 Fix viewer hide workaround for software renderer. 2024-01-02 12:59:41 +04:00
John Preston
c51a8816eb Show selected sublist as active in list. 2024-01-02 12:59:22 +04:00
John Preston
175914f02b Show "My Notes", "Author Hidden" in title. 2024-01-02 12:12:16 +04:00
John Preston
fbd6b5b640 Fix possible build issue on Windows. 2024-01-02 12:01:03 +04:00
kukuruzka
1b11731d6b Fix crash on some videos 2024-01-02 11:43:15 +04:00
Ilya Fedin
8ecb49f132 Multiple by the magic multiplier only on Wayland 2024-01-02 06:57:09 +00:00
John Preston
0ae537478f Version 4.14.1.
- Fix crash in "Author Hidden" chat in "Saved Messages".
- Improve jump-to-original button layout in "Saved Messages".
- Show my own chat as "My Notes" in "Saved Messages".
- In screen sharing source window select first screen by default.
2024-01-02 00:22:46 +04:00
John Preston
4aa432ecbe Fix build with GCC. 2024-01-02 00:22:22 +04:00
John Preston
d5a0f4890d Choose first screen for sharing by default. 2024-01-02 00:17:15 +04:00
John Preston
5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
John Preston
a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
John Preston
a30d0eccda Avoid unnecessary saved dialogs load requests. 2024-01-01 23:42:18 +04:00
John Preston
a4f4e4564a Improve jump-to-message in saved messages. 2024-01-01 23:33:19 +04:00
John Preston
bfe7683cdb Show myself as "My Notes" in Saved Messages sublists. 2024-01-01 09:50:24 +04:00
John Preston
fbc600a978 Fix crash in pending gift payment finish. 2024-01-01 09:23:37 +04:00
GitHub Action
70eb452a09 Update User-Agent for DNS to Chrome 120.0.6099.109. 2024-01-01 05:18:11 +00:00
GitHub Action
9f7c74ae72 Update copyright year to 2024. 2024-01-01 05:17:53 +00:00
Ilya Fedin
65a3cf136b Update submodules 2023-12-31 22:03:57 +00:00
Ilya Fedin
2d86ec1e84 Update hunspell for warning fixes 2023-12-31 22:03:57 +00:00
Ilya Fedin
fdef19a009 Ensure temporaries don't detach with range loop 2023-12-31 22:03:57 +00:00
Ilya Fedin
26df482b54 Fix prototype for fill_fopen_filefunc 2023-12-31 22:03:57 +00:00
Ilya Fedin
ee5b7a5100 Fix the whitespaces for KeyFormat enum 2023-12-31 22:03:57 +00:00
Ilya Fedin
bd67bc4433 Ignore some unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
9d582040e6 Fix detaching temporaries 2023-12-31 22:03:57 +00:00
Ilya Fedin
f3bda59019 Replace QString::mid with base::StringViewMid where QStringView is accepted 2023-12-31 22:03:57 +00:00
Ilya Fedin
0d72d47318 Normalize signal connections 2023-12-31 22:03:57 +00:00
Ilya Fedin
29646707a1 QString::arg usage optimization 2023-12-31 22:03:57 +00:00
Ilya Fedin
e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
Ilya Fedin
4b297bfa09 Make use of wrongly unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
78e6b3e13f Try to fix circular dependency between external_scudo and common_options 2023-12-31 21:36:32 +00:00
John Preston
ad84750130 Fix crash in Saved Messages from Author Hidden.
Fixes #27293.
2024-01-01 01:18:35 +04:00
John Preston
686310489b Version 4.14.
- Improved saved messages.
- One-time voice messages.
2023-12-31 19:42:24 +04:00
John Preston
84c5310262 Revert "Update GCC to 13 in Docker"
This reverts commit 3adbfb1fb5.

There is some problem with static libstdc++ linking in Release
configuration, the Updater utility fails with unresolved externals.
2023-12-31 19:42:24 +04:00
23rd
f53397e26a Fixed possible crash from voice messages with ttl. 2023-12-31 19:42:24 +04:00
John Preston
2a8a74b5b1 Display correctly forwards of forwards in sublists. 2023-12-31 19:42:24 +04:00
John Preston
9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
23rd
d2565dc944 Added badge corner to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
22f68b430d Disabled transcribe button for voice and round messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
3962e5a680 Added animation to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
a1c7a48958 Improved processing of out expired voice messages. 2023-12-31 19:42:23 +04:00
23rd
85286684e3 Added initial support for voice messages with TTL. 2023-12-31 19:42:23 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
1cb5ef7476 Show information about hidden author. 2023-12-31 19:42:23 +04:00
John Preston
9f0b42bbbd Show correct titles in sublists / sublist. 2023-12-31 19:42:23 +04:00
John Preston
634687881a Fix loading of saved sublist histories. 2023-12-31 19:42:23 +04:00
John Preston
878b4bb5af Update API scheme on layer 170. 2023-12-31 19:42:23 +04:00
John Preston
452257dcd5 Show special name/userpic for "Author Hidden". 2023-12-31 19:42:23 +04:00
John Preston
4e6d8f06d9 Show saved messages entry point from profiles. 2023-12-31 19:42:23 +04:00
John Preston
fd417024fb Initial saved sublist section implementation. 2023-12-31 19:42:23 +04:00
John Preston
18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston
ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
Ilya Fedin
be9aa3a097 Test the build of updater on the CI 2023-12-31 15:35:14 +00:00
23rd
bdcb146d06 Improved style of button in group call bar for consistency. 2023-12-30 09:28:03 +04:00
Ilya Fedin
70115a24bb Fix some webview crashes 2023-12-28 10:05:55 +00:00
Ilya Fedin
ea37e83b13 Revert "Force enable fractional-scale-v1 experimental option"
This reverts commit 4696f731da.
2023-12-27 22:44:58 +00:00
Ilya Fedin
931c17418d Update to the new cppgir API 2023-12-26 15:33:33 +00:00
John Preston
5a47ed268c Fix build for Windows Store. 2023-12-25 23:21:47 +00:00
Ilya Fedin
d63ebbe62c Handle webview crash 2023-12-23 19:12:17 +00:00
John Preston
cb4fce251e Version 4.13.1: Fix build with GCC. 2023-12-23 14:18:12 -04:00
John Preston
4aa8a41119 Version 4.13.1.
- Fix crash in chat history right click.
- Fix user emoji status display in main menu, profile and settings.
2023-12-23 14:15:29 -04:00
John Preston
13cba72945 Fix emoji status display for users.
Regression was introduced in 805a5d73b6.
2023-12-23 14:14:03 -04:00
John Preston
cf63b0138e Fix crash in context menu.
Regression was introduced in 4e3c1460f6.

Fixes #27254.
2023-12-23 14:12:50 -04:00
John Preston
3cbe0aae4a Version 4.13.
- Support setting channel wallpaper.
- Support setting channel emoji status.
- Allow gifting premium to several recipients at once.
2023-12-22 20:55:24 -04:00
John Preston
5ab8e68366 Fix possible crash in colorizeImage. 2023-12-22 20:52:11 -04:00
John Preston
1d345299f5 Allow smartglocal to customize tokenize url. 2023-12-22 20:52:11 -04:00
23rd
fc50d5c30f Improved code style in HistoryView::WebPage. 2023-12-23 03:16:58 +03:00
23rd
4e3c1460f6 Fixed display of menu items from sponsored message with selected text. 2023-12-23 01:50:12 +03:00
23rd
5bc954396c Fixed display of long title or long description in sponsored messages. 2023-12-23 01:50:12 +03:00
John Preston
b24290b019 Fix text-colored emoji in long-press preview. 2023-12-22 13:46:17 -04:00
John Preston
23cce64d00 Channel message reposts to stories like reposts. 2023-12-22 13:16:14 -04:00
John Preston
73690d14f7 Allow clipboard access for attach menu bots. 2023-12-22 12:42:23 -04:00
John Preston
2a5698cf34 Admin log events about channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston
941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
0e8058adb1 Update tg_owt to support custom reflectors. 2023-12-22 07:35:02 -04:00
23rd
01906c1161 Fixed display of archiving toasts on wrong window. 2023-12-22 07:35:02 -04:00
John Preston
9201cf24f1 Respect correct min-level for colors. 2023-12-22 07:35:02 -04:00
John Preston
d5a1c354d0 Support by-emoji background resolve in preview. 2023-12-22 07:35:02 -04:00
John Preston
41ae1f56ed Update API scheme to layer 169. Multigifts. 2023-12-22 07:35:02 -04:00
23rd
ed7212f864 Added mini icon of boosts to description in gifts box from settings. 2023-12-19 04:06:54 +03:00
23rd
8bcb784f12 Moved out child centering within widget to single function. 2023-12-19 01:52:33 +03:00
23rd
431549c81a Improved processing of successful payment in gift box from settings. 2023-12-19 01:43:58 +03:00
23rd
12110e17a2 Slightly improved style of userpics from top in gift box from settings. 2023-12-18 05:50:14 +03:00
23rd
db8338156a Slightly improved style of terms label in gift box from settings. 2023-12-18 05:50:14 +03:00
John Preston
de8b09d7fc Use correct phrases for outgoing giftcodes. 2023-12-17 21:20:21 +00:00
23rd
fddbce5dce Added premium summary to gift box from settings. 2023-12-17 13:05:21 +03:00
23rd
081817f62a Moved out making of premium summary to separated function. 2023-12-17 13:01:36 +03:00
23rd
8efbd7a1cb Added ability to hide subscription button in preview premium boxes. 2023-12-17 13:01:36 +03:00
23rd
bce310d5c8 Added complex description to top of gift box from settings. 2023-12-17 13:01:36 +03:00
23rd
ed9ecbd235 Added circle badge to userpics in gift box from settings. 2023-12-17 13:01:17 +03:00
23rd
1e756dd380 Added userpics to top of gift box from settings. 2023-12-17 13:00:40 +03:00
23rd
b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
23rd
82d73e2396 Moved out making of "new" badges to single place. 2023-12-17 09:50:50 +03:00
John Preston
cd5a6025f6 Support pre-defined channel wallpapers resolving. 2023-12-16 23:52:55 +00:00
John Preston
b6c679449e Support custom channel backgrounds display. 2023-12-16 23:23:24 +00:00
John Preston
ac744b957a Show emoji pattern also on link preview bubbles. 2023-12-16 22:52:30 +00:00
John Preston
805a5d73b6 Show emoji statuses in channels. 2023-12-16 22:43:35 +00:00
John Preston
6aaf841a73 Ignore Cmd+Up/Down if field isn't empty. 2023-12-16 22:00:41 +00:00
John Preston
60e72768e1 Update API scheme. Shared posts in stories. 2023-12-16 21:26:40 +00:00
John Preston
94e8f2a791 Update API scheme. Anonymous gift links. 2023-12-16 20:25:02 +00:00
John Preston
1fb4a2f4ba Update API scheme. Show interactions in channel stories. 2023-12-16 20:25:02 +00:00
John Preston
28d68acfe6 Use forward declaration for ripple animation. 2023-12-16 20:25:02 +00:00
John Preston
d87a0a2d25 Show reposts / forwards in story viewers. 2023-12-16 20:25:02 +00:00
23rd
8e92778b62 Fixed API support of public forwards in statistics info. 2023-12-16 20:25:02 +00:00
John Preston
f7e2c7977b Update API scheme. TODO public forwards stats. 2023-12-16 20:25:02 +00:00
John Preston
4337f0b509 Fix "Keep Disabled" in OpenGL crash check. 2023-12-16 20:25:02 +00:00
John Preston
2b960a1f21 Update API scheme. 2023-12-16 20:25:02 +00:00
John Preston
4b9648d8d9 Update API scheme. Giveaway winners. 2023-12-16 20:25:02 +00:00
John Preston
62f9f3c94b Update API scheme. HistoryView::Giveaway->MediaInBubble. 2023-12-16 20:25:02 +00:00
John Preston
e854f0b60c Show additional prize in giveaway message. 2023-12-16 20:25:02 +00:00
John Preston
19f38f3c6f Optimize empty->non-empty userpics repainting. 2023-12-16 20:25:02 +00:00
John Preston
d56724f290 Add additional prize info to giveaway details. 2023-12-16 20:25:02 +00:00
John Preston
8abc35ca86 Make giveaway end message clickable. 2023-12-16 20:25:02 +00:00
John Preston
e135f8954f Update API scheme to layer 168. Giveaways. 2023-12-16 20:25:02 +00:00
John Preston
f5b59c9456 Remove old test code giveaway creation. 2023-12-16 20:25:02 +00:00
23rd
6471d43c71 Added mini preview for some types of webpages. 2023-12-16 20:25:02 +00:00
23rd
563b8d1468 Added support of inline markup reply to JSON export. 2023-12-16 20:25:01 +00:00
23rd
f41a3fe01f Fixed display of non-stack bar chart view with empty values in chart. 2023-12-16 20:25:01 +00:00
23rd
29c9266ef5 Fixed display of bottom solid line in chart view for some scroll states. 2023-12-16 20:25:01 +00:00
23rd
1a856e359f Fixed display of bottom captions in chart view with long date strings. 2023-12-16 20:25:01 +00:00
23rd
59099a8d46 Added ability to open profile info through menu from public forwards. 2023-12-16 20:25:01 +00:00
23rd
98c6a3ff79 Added support of stories in list of public forwards in statistics info. 2023-12-16 20:25:01 +00:00
23rd
cccc2ce0f1 Improved processing of access to boosts info. 2023-12-16 20:25:01 +00:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
Ilya Fedin
3adbfb1fb5 Update GCC to 13 in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin
0ee0ffa7f1 Update breakpad in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin
4c82620677 Disable building libstdc++ tests 2023-12-16 09:32:50 +04:00
Ilya Fedin
73294bfabf Make Linux action to use the pre-set entrypoint 2023-12-16 09:32:50 +04:00
Ilya Fedin
6c42095108 Move the GHCR authentication to the first set up step 2023-12-16 09:32:50 +04:00
John Preston
fbe93b0afc Fix webpage layouts with thumbnails. 2023-12-15 14:15:35 +00:00
Ilya Fedin
e173c727f7 Fix remaining known xdg-output fractional scaling issues on Wayland
And enable it by default
2023-12-07 10:24:19 +04:00
Ilya Fedin
85f56217a8 Fix docker & snap build 2023-12-01 17:20:46 +04:00
Ilya Fedin
06564efe0e Build GLib manually in Docker and Snap 2023-12-01 15:39:42 +04:00
Ilya Fedin
664ebe4ed0 Use xdg-output for Wayland fractional scaling
That's way more stable
2023-12-01 15:39:14 +04:00
John Preston
cb3dece478 Version 4.12.2.
- Fix choosing custom reactions in channels.

Also fix a crash on start with old hardware by rebuilding using
the 17.7.7 VS Build Tools, because 17.8.* has a regression
with emitting a SSE 4.2 instruction, see:

https://developercommunity.visualstudio.com/t/Illegal-Instruction-SSE-42-POPCNT-exc/10520578
2023-12-01 13:07:42 +04:00
John Preston
c86ca6a61a Check custom reactions in channels better. 2023-12-01 13:05:06 +04:00
John Preston
8e2240d9d9 Fix custom reactions in channels. 2023-12-01 13:00:52 +04:00
John Preston
28acaf06ad Version 4.12.1.
- Fix assertion violation in imported messages rendering.
2023-12-01 09:44:38 +04:00
John Preston
fe12c3639b Revert "Removed unused code of hidden sender userpics for sponsored messages."
This reverts commit 3f19dc0486.
2023-12-01 09:18:22 +04:00
John Preston
0e2131e6eb Version 4.12: Fix build with GCC. 2023-11-30 20:59:58 +04:00
John Preston
98be0a69df Version 4.12.
- Similar channels.
- Wallpapers for both sides.
- Voice-to-Text for everyone.
- Story statistics for channels.
- Custom Reactions for channels.
- Automatic code highlighting in messages.
2023-11-30 20:23:19 +04:00
Ilya Fedin
d6aecdfe4b Update cmake_helpers and patches in Docker 2023-11-30 17:57:34 +04:00
John Preston
fa63a220fa Fix build with Xcode. 2023-11-30 17:56:57 +04:00
John Preston
2611899448 Set custom reactions hard limit to max level. 2023-11-30 17:56:57 +04:00
John Preston
514ced1d8e Respect wallpaper_overriden flag. 2023-11-30 17:56:57 +04:00
23rd
1a69975131 Replaced Qt format of dates in statistics with internal format. 2023-11-29 09:09:36 +03:00
23rd
27b284ef5b Added initial support of trial voice transcribes. 2023-11-29 07:32:20 +03:00
23rd
a546b3a9b6 Replaced display of premium layer with short box for sponsored messages. 2023-11-29 01:45:41 +03:00
John Preston
28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston
8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +04:00
John Preston
e58940a876 Look for highlight language case-insensitive. 2023-11-28 21:55:27 +04:00
John Preston
ae1da5baf4 Implement premium lock of similar channels. 2023-11-28 21:55:27 +04:00
23rd
2542ec5d93 Added list of public forwards for story statistics. 2023-11-28 21:55:27 +04:00
23rd
dfe55b26a2 Added statistical values for stories to overview in statistics info. 2023-11-28 21:55:27 +04:00
23rd
6de95fc4ed Fixed display of recent posts with some types documents in statistics. 2023-11-28 21:55:27 +04:00
23rd
1e57563349 Improved style of icons in recent posts from list from statistics info. 2023-11-28 21:55:27 +04:00
23rd
9f0b4bc799 Added ability to paste login code from clipboard to new code input. 2023-11-28 21:55:27 +04:00
23rd
ac8117a6d8 Improved style of input field for login code. 2023-11-28 21:55:27 +04:00
23rd
9ef0e5cf83 Moved animation callback for shake effect to single place. 2023-11-28 21:55:27 +04:00
23rd
f433d6fbc9 Fixed button label in sponsored messages with external links. 2023-11-28 21:55:27 +04:00
23rd
e24b86d460 Fixed restriction label when topic is closed.
Fixed #26344.
2023-11-28 21:55:27 +04:00
John Preston
bfebb1339a Show "more similar channels" premium promo. 2023-11-28 21:55:27 +04:00
John Preston
49b59d73be Fix comments loading. Fixes #25889. 2023-11-28 21:55:27 +04:00
John Preston
d41961945d Fix first time webpage preview customization. 2023-11-28 21:55:27 +04:00
John Preston
aa29d1c619 Allow select single album part under spoiler. 2023-11-28 21:55:27 +04:00
John Preston
d6d76c8477 Show repost-from-name in story header. 2023-11-28 21:55:27 +04:00
John Preston
6057bb2b37 Handle repost info clicks in expanded mode. 2023-11-28 21:55:27 +04:00
John Preston
5aaf119b36 Handle repost preview clicks. 2023-11-28 21:55:26 +04:00
John Preston
8f9123bb96 Display story repost nicely. 2023-11-28 21:55:26 +04:00
23rd
77b2076e0f Added build date info to version label as tooltip. 2023-11-28 21:55:26 +04:00
23rd
7681f14a3c Added icons to recent posts in list from statistics info. 2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
0f3faf59ca Added support of bot apps to sponsored messages.
Added api support of custom button text in sponsored messages.
2023-11-28 21:55:26 +04:00
23rd
d28ba4fad9 Moved out PeerByLinkInfo from SessionNavigation to separate file. 2023-11-28 21:55:26 +04:00
23rd
3f19dc0486 Removed unused code of hidden sender userpics for sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
fc86bb7a5f Removed redundant code for old sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
0da515abc5 Added fast right action to sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
4c5c2aadc4 Replaced style of sponsored messages with fake webpage. 2023-11-28 21:55:26 +04:00
23rd
17f89ba1f9 Added ability to get sponsored details from constructor of HistoryItem. 2023-11-28 21:55:26 +04:00
23rd
a8de145e01 Moved out click handler for sponsored messages to separate module. 2023-11-28 21:55:26 +04:00
23rd
c1d20d16fd Added small preview to story statistics. 2023-11-28 21:55:25 +04:00
23rd
dc04a1afdb Removed display of selected index with incorrect value on bar chart. 2023-11-28 21:55:25 +04:00
23rd
856f39c123 Fixed search of indices on tiny charts in statistics. 2023-11-28 21:55:25 +04:00
23rd
909f3bf011 Added "new-windows-size-as-first" option. 2023-11-28 21:55:25 +04:00
23rd
19ab740da2 Added channel photo to recent posts in list from statistics info. 2023-11-28 21:55:25 +04:00
John Preston
11ea5e61cf Show repost header in stories. 2023-11-28 21:55:25 +04:00
John Preston
78897dd143 Show repost info on story view. 2023-11-28 21:55:25 +04:00
John Preston
23a0413113 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston
5652abfd49 Update syntax-highlighting grammars. 2023-11-28 21:55:25 +04:00
John Preston
324f2f68ba Handle for_both chat wallpaper change. 2023-11-28 21:55:25 +04:00
John Preston
f8825e8135 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
4dbe5c0a0f Load similar channels correctly. 2023-11-28 21:55:25 +04:00
John Preston
2df6729f2d Improve similar channels pseudo-widget. 2023-11-28 21:55:25 +04:00
John Preston
30d72f1d1d Try fixing media viewer on some Linux versions. 2023-11-28 21:55:24 +04:00
John Preston
db0a31b87e Fix crash in scale preview reparenting. 2023-11-28 21:55:24 +04:00
John Preston
4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd
6a87fef851 Added reactions count to recent posts in list from statistics info. 2023-11-28 21:55:24 +04:00
23rd
1fbcec1d24 Added display of stories to list of recent posts in statistics info. 2023-11-28 21:55:24 +04:00
23rd
25d0123b9f Added more universal RecentPostId for saved state of statistics info. 2023-11-28 21:55:24 +04:00
23rd
69b9d404c0 Added api support of reactions count for recent posts in statistics. 2023-11-28 21:55:24 +04:00
23rd
0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
23rd
32008161a0 Fixed duration after changing of winners count in create giveaway box. 2023-11-28 21:55:24 +04:00
John Preston
36a8c49213 Show similar channels under join message. 2023-11-28 21:55:24 +04:00
John Preston
91fba41e2c Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd
7d2d0bdfa2 Added initial entry point to statistics info for stories. 2023-11-28 21:55:24 +04:00
23rd
2bb8850e69 Added charts of story statistics to statistics info. 2023-11-28 21:55:24 +04:00
23rd
1056a5cc8e Added API support to resolve story statistics. 2023-11-28 21:55:24 +04:00
23rd
34d0dac351 Added ability to create statistics info layer with story id. 2023-11-28 21:55:24 +04:00
23rd
f88eee8047 Added reactions count to overview in statistics info. 2023-11-28 21:55:24 +04:00
23rd
173a5046e8 Added new charts to channel and message statistics. 2023-11-28 21:55:24 +04:00
23rd
44f6280d0a Added ability to use BarChartView as non-stack as well. 2023-11-28 21:55:24 +04:00
23rd
b7346c203a Renamed StackChartView to BarChartView. 2023-11-28 21:55:24 +04:00
23rd
c3254a53bc Moved out calculation of height limits for linear chart to single place. 2023-11-28 21:55:24 +04:00
23rd
5ea066e6a7 Moved class of line ratio for double linear chart from private space. 2023-11-28 21:55:24 +04:00
23rd
bc6556ebc4 Moved out class for cached selected points on chart from private space. 2023-11-28 21:55:23 +04:00
John Preston
4c6d33fd54 Allow sending to General in "View as Messages". 2023-11-28 21:55:23 +04:00
John Preston
96b651c29b Update "View as (Messages,Topics)" menu icons. 2023-11-28 21:55:23 +04:00
John Preston
0ffda016da Support cloud view_as_messages forum setting. 2023-11-28 21:55:23 +04:00
John Preston
43a8733fc7 Implement rich reactions selector. 2023-11-28 21:55:23 +04:00
John Preston
1e26c33b3d Implement choose-reactions input field. 2023-11-28 21:55:23 +04:00
John Preston
4ad70965e9 Don't check quote entities now that we have quote_offset. 2023-11-28 21:55:23 +04:00
John Preston
3a67e4f1f4 Support highlighting correct quoted part. 2023-11-28 21:55:23 +04:00
John Preston
dcc326e17f Update API scheme to layer 167.
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
John Preston
f442d69cb6 Fix possible crash on MTProto instance shutdown. 2023-11-28 21:23:27 +04:00
Ilya Fedin
17fa50bdff Update patches commit in Dockerfile 2023-11-28 13:18:43 +04:00
Ilya Fedin
a04145d981 Update xkbcommon in Docker 2023-11-27 20:09:37 +04:00
Ilya Fedin
e8c9cb7d2a Update Qt to 6.6.1 on Linux 2023-11-27 20:09:20 +04:00
Ilya Fedin
467a6c25a8 Fix upload artifact condition in Windows action 2023-11-27 20:09:04 +04:00
Ilya Fedin
1852386ace Add Windows Ninja CI 2023-11-27 18:02:59 +04:00
Ilya Fedin
a93340c2e4 Try to restore session manager connection on Linux 2023-11-27 12:02:19 +04:00
Ilya Fedin
4a0ee22670 Shorten setting QSessionManager restart hint 2023-11-27 12:02:19 +04:00
John Preston
87a042b029 Fix build on Linux 2023-11-25 12:59:47 +04:00
Ilya Fedin
960761ef37 Replace jemalloc with scudo
This should provide a wider support for ARM hardware
2023-11-24 20:04:28 +04:00
John Preston
b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
Ilya Fedin
4696f731da Force enable fractional-scale-v1 experimental option 2023-11-21 21:20:50 +04:00
Ilya Fedin
0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
Ilya Fedin
cfc254bd90 Switch Qt to GitHub 2023-11-21 21:20:50 +04:00
23rd
bdee6e0155 Removed ability to add to contacts inaccessible users. 2023-11-20 21:03:36 +03:00
23rd
ac6765ebdb Replaced default toast text for shared messages with complex phrases. 2023-11-20 16:25:28 +03:00
23rd
df3ae2c5f8 Added ability to open boosts info without statistics info access. 2023-11-20 02:53:46 +03:00
23rd
1af4af6ff3 Removed display of unwrapped media in sponsored messages. 2023-11-20 02:53:46 +03:00
Ilya Fedin
a92e9f7162 Try to update qtwayland to 6.6.0 again 2023-11-19 07:46:32 +04:00
John Preston
27d9fa6acb Fix CI build on Linux. 2023-11-17 13:07:18 +04:00
John Preston
7d4362267a Fix compare helpers on macOS. 2023-11-17 13:06:04 +04:00
John Preston
1ba52402b5 Fix build with new MSVC, workaround compiler bug. 2023-11-17 12:01:25 +04:00
John Preston
5d0a36e456 Fix edit photo button area. 2023-11-17 12:01:25 +04:00
John Preston
af6e15ed59 Fix title alignment in AskBoostBox. 2023-11-16 14:31:15 +04:00
John Preston
25216a140e Fix build on Windows. 2023-11-16 14:31:15 +04:00
John Preston
65fc7d2b10 Update lib_ui submodule. 2023-11-16 14:29:45 +04:00
John Preston
99da95880e Fix lang keys access on startup. 2023-11-15 18:20:59 +03:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
23rd
596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
85e2d54a05 Split out settings_common module into td_ui and non-td_ui variants. 2023-11-15 03:30:04 +03:00
23rd
f629bf76ff Removed AddButton and CreateButton without icon from Settings. 2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
497aa6dbc8 Added ability to see admins who promoted or restricted participants. 2023-11-14 21:48:34 +03:00
John Preston
830e9a5953 Version 4.11.8. (macOS only)
- Fix phrases on macOS by doing a clean rebuild.
2023-11-14 21:28:24 +04:00
John Preston
5cabfb56e0 Fix "small" undef in Windows includes. 2023-11-14 09:27:48 +04:00
Ilya Fedin
8a19fab19c Update macOS to 13 on macOS packaged action 2023-11-13 16:10:37 +04:00
Ilya Fedin
c592b66f5b Ignore brew upgrade failure in macOS packaged action 2023-11-13 13:54:36 +04:00
Ilya Fedin
8ce9a92898 Update brew packages in macOS packaged action
This ensures the same versions of packages between GitHub runners at a point in time
2023-11-13 13:34:14 +04:00
John Preston
df8c80226b Version 4.11.7: Fix build with GCC. 2023-11-13 12:24:29 +04:00
John Preston
53b342f722 Version 4.11.7.
- Fix sending media files with quote replies.
- Fix quoted text highlighting in some cases.
- Fix loading statistics for some channels.
- Fix Ctrl+Shift+. shortcut on X11.
- Fix a crash in statistics.
2023-11-13 11:46:07 +04:00
Ilya Fedin
d2b6012bfd Mark code unneeded after Qt 6.6.0 2023-11-13 11:41:57 +04:00
John Preston
69efd127eb Update submodules. 2023-11-13 11:39:35 +04:00
John Preston
22cedbc9cc Don't show full albums in search results. 2023-11-13 11:39:35 +04:00
John Preston
d4d2eef291 Fix clearing cloud draft on message send.
Regression was introduced in 20ba417ddd.
2023-11-13 10:44:38 +04:00
23rd
98bd5757b0 Increased pagination limits for recent messages in statistics info. 2023-11-13 10:21:46 +04:00
John Preston
edb7cf197a Improve reply preview above the field. 2023-11-13 10:10:18 +04:00
23rd
617be49e55 Fixed crash in statistics on linear charts with filtered first line. 2023-11-13 10:10:18 +04:00
John Preston
9324ceeb24 Destory stats sessions after a timeout. 2023-11-13 10:08:47 +04:00
23rd
1e6cf839e2 Fixed Api requests for statistics with non-default DC. 2023-11-11 15:05:20 +03:00
John Preston
468d4c5e4f Don't make multiboost badge gradient. 2023-11-10 18:07:21 +04:00
John Preston
c530d7cc89 Apply Ui::Text::String modifications in highlighting. 2023-11-10 17:48:25 +04:00
John Preston
f7ea0e1d00 Fix modifications tracking in Ui::Text::String.
Fixes #27031.
2023-11-10 17:46:01 +04:00
John Preston
b959877598 Use explicit nativeVirtualKey on Windows only. 2023-11-10 16:28:01 +04:00
John Preston
8d0fe601cf Fix sending quote data with uploaded media.
Fixes #27032.
2023-11-10 16:27:25 +04:00
John Preston
2afc171bec Version 4.11.6: Fix build with GCC. 2023-11-10 00:32:52 +04:00
John Preston
d6bd88d119 Version 4.11.6.
- Support multiple boosts and reassignment.
- Improve giveaway creation flow.
- Fix crash in topics creation.
2023-11-09 23:18:50 +04:00
John Preston
639a82ce28 Add confirmation for prepared giveaway start. 2023-11-09 23:18:50 +04:00
Ilya Fedin
ef1b197771 Update lib_ui & patches 2023-11-09 22:44:52 +04:00
John Preston
ad05998575 Update reply / forward icons in context menu. 2023-11-09 22:40:09 +04:00
John Preston
b403f600e7 Use correct color for channels in giveaway. 2023-11-09 22:33:14 +04:00
John Preston
9b2f2b104f Show enlarge photo button in webpage preview. 2023-11-09 22:33:14 +04:00
John Preston
e4d920b148 Show multiboost "x5" badge in boost box. 2023-11-09 22:33:14 +04:00
John Preston
c5d1739e95 Implement multiboost reassign box. 2023-11-09 22:33:14 +04:00
John Preston
a41bbd27c8 Start multiboosts, support dynamic state. 2023-11-09 22:33:14 +04:00
John Preston
2d67557a91 Drag correct element from file album. 2023-11-09 22:33:14 +04:00
23rd
ca1a548fb8 Added boost badge to buttons for prepaid giveaways. 2023-11-09 16:27:54 +03:00
23rd
97bd865916 Added terms to bottom of giveaway box for prepaid giveaways. 2023-11-09 16:02:18 +03:00
23rd
f7ab8298cf Added show more button to statistics info for list of recent messages. 2023-11-09 16:02:18 +03:00
23rd
33cf9a0702 Fixed expiration date of boosts in boosts list. 2023-11-09 16:02:18 +03:00
23rd
282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03:00
23rd
135ffb13fd Added all joined channels to list in giveaway box. 2023-11-09 16:02:18 +03:00
23rd
9d4e1689fa Added state restoring to list for boost awarding members. 2023-11-09 16:02:18 +03:00
23rd
27e2a4b5d2 Fixed width of tabs for different boosts lists. 2023-11-09 16:02:18 +03:00
23rd
c9cad4186b Added initial list of prepaid giveaway to boosts info. 2023-11-09 16:02:18 +03:00
23rd
3522d9c62e Added API support for prepaid giveaways. 2023-11-09 14:18:26 +03:00
23rd
43aa8825a5 Added badge and loading state to confirm button in giveaway box. 2023-11-09 14:18:26 +03:00
23rd
4150cdff86 Moved out badge for giveaway list to td_ui. 2023-11-08 15:22:48 +03:00
23rd
474fa56cc0 Improved processing of giveaway creation after payment. 2023-11-08 15:22:48 +03:00
23rd
6ca777102c Added ability to paint non-optimized ministars to fix possible glitches. 2023-11-07 20:23:42 +03:00
23rd
49d5cf939c Added special fading-in top bar with title to giveaway box. 2023-11-07 20:23:42 +03:00
23rd
b56b9b1fb9 Added ability to set background color for premium top bar via styles. 2023-11-07 20:23:42 +03:00
23rd
0293700e0f Added ability to ignore dark themes in premium top bar via styles. 2023-11-07 20:23:42 +03:00
John Preston
524a7a6a23 Fix wrong popup menu click-through on macOS 14.1.
Fixes #27025.
2023-11-07 12:40:29 +04:00
John Preston
b1459e41d3 Fix system version check for dark taskbar support.
Fixes #27056.
2023-11-07 11:47:10 +04:00
John Preston
ef685aa0da Fix via @bot badge in unwrapped media.
Fixes #27048.
2023-11-07 09:14:32 +04:00
John Preston
3ac222db62 Fix initial scroll to search result in bots. 2023-11-07 09:09:09 +04:00
Julian Sparber
642b0ed032 Install monochrome icon as symbolic app icon on Linux
GNOME Shell uses the symbolic icon in the topbar and notifications.
2023-11-07 08:38:10 +04:00
John Preston
a7090c5fba Fix possible crash in topic replies. 2023-11-07 08:35:58 +04:00
23rd
ebcd4eb97b Added box for pending giftcodes. 2023-11-07 05:35:28 +03:00
23rd
a76534b19f Fixed opening of same boosts info multiple times. 2023-11-07 03:27:20 +03:00
23rd
ee33d139cd Improved style of tabs in boosts info. 2023-11-07 03:27:20 +03:00
23rd
c9cabfb084 Fixed API support for different boosts lists. 2023-11-07 03:27:20 +03:00
23rd
3dd415d0c2 Removed wheel support from slider in giveaway box. 2023-11-07 03:27:20 +03:00
23rd
4592e4e4bb Slightly improved style of boosts info. 2023-11-07 03:27:20 +03:00
23rd
1cb762913c Fixed text of confirm box in giveaway box. 2023-11-07 03:27:04 +03:00
John Preston
6eb7d68d49 Version 4.11.5.
- Giveaway phrases and sticker fixes.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 22:21:00 +04:00
John Preston
36662c51dd Fix giveaway sticker and phrases. 2023-11-06 22:16:12 +04:00
John Preston
4e915e9d1a Beta version 4.11.4: Fix build with GCC. 2023-11-06 20:31:11 +04:00
John Preston
86d6280776 Fix bidi data init. 2023-11-06 20:30:41 +04:00
John Preston
eea7caeb94 Fix a phrase in giveaway info. 2023-11-06 20:29:41 +04:00
John Preston
b77e74de7f Beta version 4.11.4.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 14:50:21 +04:00
John Preston
8a804fcfad Add toasts about giveaway/gift start. 2023-11-06 14:41:42 +04:00
John Preston
f7ad91e80c Fix round video link preview with reactions. 2023-11-06 13:39:05 +04:00
John Preston
61a9d9c01d Don't close schedule media box by outside click. 2023-11-06 12:47:37 +04:00
23rd
e98f56b0b7 Fixed aspect ratio of non-standard stickers in photo editor. 2023-11-06 12:41:15 +04:00
John Preston
b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
John Preston
d7539349c7 Always show manual quote replies, hide redundant. 2023-11-06 12:35:08 +04:00
John Preston
5350c97f82 Fix sending replies in forums. 2023-11-06 12:31:59 +04:00
John Preston
20ba417ddd Fix sending messages from "View as Messages". 2023-11-06 12:06:21 +04:00
John Preston
332ae22111 Fix build of crashpad with Xcode < 15. 2023-11-05 11:01:49 +04:00
John Preston
b8c76cac61 Use dot in monochrome tray icon on Windows. 2023-11-05 00:03:44 +04:00
John Preston
150432e4d1 Add explicit CMAKE_MSVC_RUNTIME_LIBRARY. 2023-11-04 23:19:12 +04:00
John Preston
d6c3760646 Improve external reply icons paddings. 2023-11-04 21:24:21 +04:00
John Preston
537c656ee1 Show external reply media preview. 2023-11-04 21:24:21 +04:00
John Preston
4e0490494e Extract reply view to a separate component. 2023-11-04 21:24:21 +04:00
John Preston
56ad825693 Attempt to fix build on Clang. 2023-11-04 21:24:21 +04:00
John Preston
aab4ac8526 Fix story replies. 2023-11-04 21:24:21 +04:00
John Preston
5c98406e1a Expandable quote snippets in replies. 2023-11-04 21:24:19 +04:00
John Preston
3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
John Preston
12e164c4df Fix multiline terms checkbox. 2023-11-04 21:24:12 +04:00
23rd
855cc8e900 Updated some dependencies. 2023-11-04 21:24:02 +04:00
23rd
0a38cf2501 Updated Qt to 5.15.11 on Windows. 2023-11-04 21:24:02 +04:00
23rd
6def067e98 Updated Qt to 6.2.6 on macOS. 2023-11-04 21:24:02 +04:00
23rd
a4e5ea01dc Added icon to language button in settings from intro. 2023-11-04 21:24:02 +04:00
23rd
f4cfbc5ed8 Improved behavior of show more button in boosts list from boosts info. 2023-11-04 21:24:02 +04:00
23rd
336705a503 Fixed description in box for boosting.
Regression was introduced in d82c422ea1.
2023-11-04 21:24:02 +04:00
23rd
764b0d3dcd Added loading label to boosts info. 2023-11-04 21:24:01 +04:00
23rd
72c8999e50 Added initial tabbed selector for different boosts lists in boosts info. 2023-11-04 21:24:01 +04:00
23rd
79b5f7eda9 Added initial API support for different boosts lists. 2023-11-04 21:24:01 +04:00
23rd
6fcf80c6cf Added initial right badges for complex boost entries in boosts info. 2023-11-04 21:24:01 +04:00
23rd
e9a8acdc54 Added initial click handler to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
01573af0de Added initial support of complex boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
69b24c494e Added multiplier badge to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
2b4047b20d Added support of some backend limitations for giveaways. 2023-11-04 21:24:01 +04:00
23rd
2b1a46356a Slightly improved style of giveaway box. 2023-11-04 21:24:01 +04:00
23rd
36a91dd32b Moved out giveaway styles to separated file. 2023-11-04 21:24:01 +04:00
23rd
d8e38b43d9 Added simple label for loading state to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
d2d69a7a36 Added premium star to top of giveaway box. 2023-11-04 21:24:01 +04:00
23rd
85fdc04d48 Added ability to create giveaways from giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5e28b2d601 Added ability to select channels to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
33f6fc7d8c Added list controller to giveaway box to display selected channels. 2023-11-04 21:24:01 +04:00
23rd
3c8188e0b4 Added channel list controller to giveaway box for channel selecting. 2023-11-04 21:24:01 +04:00
23rd
3ecf3f7c55 Moved out peer list controller for giveaway box to separated file. 2023-11-04 21:24:01 +04:00
23rd
fc6d4d66b7 Added ability to filter users by countries for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
2d097ca9ae Added box for selecting countries. 2023-11-04 21:24:01 +04:00
23rd
af03660cab Added ability to choose date for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
986d347ea4 Added slider for prize quantity to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
2dcd8a9640 Added ability to award specific users in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5a55e850d9 Added subtext to list of giftcode options in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
aa6edea33a Added list of giftcode options to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
e67d2e5db2 Added API support for premium giftcode options. 2023-11-04 21:24:01 +04:00
23rd
67bbb477c7 Added ability to select users for awarding in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5b0c48bb52 Added dummy box for creating giveaway. 2023-11-04 21:24:01 +04:00
23rd
e00016312e Added button for giveaway creating to boosts info. 2023-11-04 21:24:01 +04:00
23rd
9df551a145 Improved API support of boosts list. 2023-11-04 21:24:00 +04:00
23rd
1852161fbf Moved out generating unique PeerListRowId from string to single place. 2023-11-04 21:24:00 +04:00
GitHub Action
1851b6ff30 Update User-Agent for DNS to Chrome 118.0.5993.117. 2023-11-04 20:51:41 +04:00
Ilya Fedin
98f3fa76a2 Add CI for macOS packaged build 2023-11-04 20:51:26 +04:00
Ilya Fedin
6db4b8821e Add support for building iconset and plist without Xcode 2023-11-04 20:51:26 +04:00
Ilya Fedin
0f45abd534 Make WithSmallCounter adaptive 2023-11-04 20:50:58 +04:00
John Preston
9e10a80e00 Version 4.11.3.
- Fix adding a link to media captions in scheduled / comments.
- Fix crash in link preview options saving.
- Fix possible crash in statistics.
2023-11-02 20:31:53 +04:00
John Preston
01d9864036 Workaround crash in statistics. 2023-11-02 20:30:48 +04:00
John Preston
8927a1b9a2 Fix media caption adding link in replies/scheduled. 2023-11-02 20:30:48 +04:00
John Preston
b41c94be29 Fix crash in link preview edit. 2023-11-02 20:30:48 +04:00
John Preston
8ebf329cd9 Display group / channel id in profile. 2023-11-02 20:30:48 +04:00
John Preston
d031046edb Version 4.11.2: Fix build with GCC. 2023-11-02 00:06:42 +04:00
John Preston
7808cc6d41 Version 4.11.2: Fix build with Xcode. 2023-11-01 22:57:36 +04:00
John Preston
a7b60c43b5 Version 4.11.2.
- Highlight quoted parts in jump-to-message from replies.
- Ctrl+Click on message field reply bar to jump to message.
- Fix empty link preview displaying when generation failed.
- Fix external replies in topic groups.
- Allow enabling legacy tray icon on Windows.
2023-11-01 22:26:15 +04:00
John Preston
a8b959826c Don't activate main window in case of visible call window.
Fixes #27017.
2023-11-01 22:24:09 +04:00
John Preston
42f96f3c43 Fix build with Xcode. 2023-11-01 22:24:09 +04:00
John Preston
cc97093c5a Instantly jump-to-message on reply bar ctrl+click. 2023-11-01 22:13:21 +04:00
John Preston
7d5d086ade Allow messages when accepting miniapp terms. 2023-11-01 21:04:25 +04:00
John Preston
3da44eb5dd Fix attach menu suggested bot launch. 2023-11-01 21:04:25 +04:00
John Preston
4955cdcdce Wait for main menu bot icon to load. 2023-11-01 21:04:25 +04:00
23rd
597195a2e2 Replaced Session Controller with Navigation for resolving of giftcodes. 2023-11-01 17:01:25 +03:00
23rd
5966c74a27 Added ability to go to message from message preview in statistics info. 2023-11-01 17:00:26 +03:00
John Preston
caa1ae4436 Fix inline bots with secondary usernames. 2023-11-01 16:39:46 +04:00
John Preston
af5ad84e72 Fix crashpad_handler linking workaround.
Fixes #26873.
2023-11-01 09:27:06 +04:00
John Preston
728ed02a1c Allow selecting text in webpage previews. 2023-11-01 09:17:08 +04:00
John Preston
8e369a4aa5 Fix moved up link preview with long text. 2023-11-01 08:44:25 +04:00
John Preston
35e457c924 Fix quote create in RepliesWidget. 2023-10-31 23:41:41 +04:00
John Preston
097c3c4a5a Allow changing album quote before sending. 2023-10-31 23:25:26 +04:00
John Preston
10022a3c6d Highlight quotes in replies to file albums. 2023-10-31 23:06:21 +04:00
John Preston
0dbb195106 Highlight quotes in replies to albums. 2023-10-31 22:37:59 +04:00
23rd
6493cb9ed8 Fixed mouse wheel handling in vertical drum picker without animation. 2023-10-31 13:11:01 +03:00
John Preston
1cfda38345 Fix reply in topic after creation. 2023-10-31 13:20:30 +04:00
John Preston
bf20dbe3bc Fix external replies to different topic groups. 2023-10-31 13:13:31 +04:00
John Preston
46d3f232af Don't drop reply info on empty message submit. 2023-10-31 13:08:32 +04:00
John Preston
ade97fd2d2 Fix unwrapped reply to monospace. 2023-10-31 13:00:03 +04:00
John Preston
39614aab3f Fix unwrapped reply overlapping timestamp. 2023-10-31 12:59:52 +04:00
John Preston
6bab2b4df6 Improve quotes composing. 2023-10-31 12:59:32 +04:00
John Preston
b4c7272351 Keep external replies in forwards. 2023-10-31 12:21:07 +04:00
John Preston
d831775e2f Fix replying in the same history. 2023-10-31 11:19:57 +04:00
John Preston
bde39970a0 Fix boost reassign. 2023-10-31 11:17:55 +04:00
John Preston
076291b98f Fix reply invalidation on message removal. 2023-10-31 10:53:20 +04:00
John Preston
1341907cfd Disable external replies for non-forwardable. 2023-10-31 10:50:17 +04:00
John Preston
b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston
475b2ac739 Fix external quote-reply to topic message. 2023-10-31 09:01:20 +04:00
John Preston
d1c310de00 Highlight reply quote in original message. 2023-10-31 09:01:20 +04:00
John Preston
8615a25cd1 Fix empty preview if sent while failing generating.
Fixes #27004.
2023-10-31 09:01:20 +04:00
Ilya Fedin
de4eb1e59b Disable glib tests and introspection generation in snap 2023-10-31 08:16:05 +04:00
Ilya Fedin
8e8f6f905f Build newer meson in snap 2023-10-31 08:16:05 +04:00
John Preston
a57eecd420 Add option to use old tray icon.
New monochrome icon is default for the new installations.

Fixes #26983, fixes #26988, fixes #26989, fixes #26991, fixes #27005.
2023-10-30 11:16:17 +04:00
John Preston
f306b11676 Add id-s only when displayed in profile. 2023-10-30 10:51:11 +04:00
John Preston
745ad45d47 Version 4.11.1: Update message text padding. 2023-10-29 12:31:56 +04:00
John Preston
5fee0a7a73 Don't allow replying to local messages. 2023-10-29 12:31:56 +04:00
John Preston
096ddcad6d Version 4.11.1.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 12:15:20 +04:00
John Preston
3b7448ccab Version 4.12.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 11:36:06 +04:00
John Preston
478c6c4d36 Fix pending link previews in preview options box. 2023-10-29 10:57:07 +04:00
John Preston
e2ea27cbef Fix select-by-words with link previews. 2023-10-29 10:25:52 +04:00
John Preston
625ae87eea Add "show-peer-id-below-about" option. 2023-10-29 10:12:48 +04:00
John Preston
597816db09 Show Saved Messages in Reply in another chat. 2023-10-29 09:52:42 +04:00
John Preston
ec3fc8c749 Send entities with customized webpage preview.
Fixes #26981.
2023-10-29 08:55:30 +04:00
John Preston
e64a096dca Don't suggest shrinking media of direct photo links. 2023-10-29 08:51:42 +04:00
John Preston
eaf30d58be Open documents-in-web-previews in-app. 2023-10-29 08:48:45 +04:00
John Preston
94ac9f93fa Don't shrink non-photo media. 2023-10-29 07:54:39 +04:00
John Preston
04f040c9c5 Fix a crash in emoji status set. 2023-10-29 07:09:42 +04:00
John Preston
af0e87c569 Fix a crash on languages box open. 2023-10-29 07:09:42 +04:00
John Preston
1a503e5f1d Version 4.11: Fix build with GCC. 2023-10-29 00:33:54 +04:00
John Preston
c46b659aa5 Version 4.11.
- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
2023-10-28 23:39:31 +04:00
John Preston
7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston
29fb263495 Use lang-packed "copy" instead of "code". 2023-10-28 22:34:08 +04:00
John Preston
c8660b5385 Improve color/emoji admin log events. 2023-10-28 22:27:30 +04:00
John Preston
d47b99b0b5 Don't set box show crash annotation (GenericBox). 2023-10-28 21:51:37 +04:00
John Preston
88e3c87cd9 Crash on assertion instead of stack overflow. 2023-10-28 21:41:00 +04:00
John Preston
fe0e526b79 Support phrases for unclaimed giveaway prizes. 2023-10-28 21:40:39 +04:00
John Preston
c480ab1a3b Fix possible crash in non-cancelled request. 2023-10-28 21:13:52 +04:00
John Preston
49bc8ccd6a Don't gray out background emoji reset icon. 2023-10-28 20:49:20 +04:00
John Preston
b180070ba3 Improve very small quote areas with icons. 2023-10-28 20:49:20 +04:00
John Preston
b40f30ca98 Update Implib.so. 2023-10-28 20:29:01 +04:00
John Preston
c2a1817400 Always use first color as the main one. 2023-10-28 20:19:09 +04:00
John Preston
cb6698cf4a Implement background emoji selector. 2023-10-28 18:06:17 +04:00
John Preston
bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston
effc9873c9 Remove test data in giveaways. 2023-10-27 17:49:31 +04:00
John Preston
9561026cd4 Add change color button with color sample. 2023-10-27 12:26:42 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
cc8408d11c Fix draft options edit, add to topics/replies. 2023-10-26 21:02:15 +04:00
John Preston
a197ed9e95 Allow choosing the link for the preview. 2023-10-26 14:08:52 +04:00
John Preston
3b91e2dee4 Improve editing messages with webpage previews. 2023-10-26 14:08:44 +04:00
John Preston
c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston
041ec1157f Respect invert_media in service notifications. 2023-10-26 14:08:44 +04:00
John Preston
17578be4b9 Edit reply / webpage options together. 2023-10-26 14:08:43 +04:00
John Preston
1409d38ac3 Improve reply options edit design. 2023-10-26 14:08:43 +04:00
John Preston
b463c76eca Allow quote selection only in captions. 2023-10-26 14:08:43 +04:00
John Preston
d62fb5786d Support selecting quote in reply info edit. 2023-10-26 14:08:43 +04:00
John Preston
aad157cf56 Open link on webpreview attach click. 2023-10-26 14:08:43 +04:00
John Preston
2d3e2b1ef8 Fix drafts in topics. 2023-10-26 14:08:43 +04:00
John Preston
91ab82c9da Fix unread counter in General topic. 2023-10-26 14:08:43 +04:00
John Preston
9c23de7f1a Display reply background emoji. 2023-10-26 14:08:43 +04:00
John Preston
60fb5fdaf0 Update color index caches on palette change. 2023-10-26 14:08:43 +04:00
John Preston
4709e11e46 Support two-color quote outlines. 2023-10-26 14:08:43 +04:00
John Preston
8c28ce4c99 [stats] Fix build on layer 166. 2023-10-26 14:08:43 +04:00
John Preston
20c63b98c7 Fix build with Xcode. 2023-10-26 14:08:43 +04:00
John Preston
8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston
b1823d981b Update API scheme, rich preview drafts. 2023-10-26 14:08:42 +04:00
John Preston
b2e8e0431e Start customizable webpages. 2023-10-26 14:08:42 +04:00
John Preston
486d5b63d3 Add countries to giveaway messages. 2023-10-26 14:08:42 +04:00
John Preston
84a1fec7b1 Add flag emoji by country iso2 method. 2023-10-26 14:08:41 +04:00
John Preston
3a84c6afdd Redesign webpage/giveaway/ads bottom button. 2023-10-26 14:08:41 +04:00
John Preston
16d18b437d Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
12fab565a4 Fix Release build with Xcode. 2023-10-26 14:08:41 +04:00
John Preston
f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston
b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston
00db325e91 Fix view giveaway details button in forwards. 2023-10-26 14:08:41 +04:00
John Preston
d5429e769f Allow sharing gift code link. 2023-10-26 14:08:41 +04:00
John Preston
714dae054a Jump to giveaway link from gift code box. 2023-10-26 14:08:41 +04:00
John Preston
981babf302 Support giveaway information box. 2023-10-26 14:08:41 +04:00
John Preston
0926bb1288 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston
6c19274eac Support external reply to channel posts. 2023-10-26 14:08:40 +04:00
John Preston
394883b986 Support replying to a different chat. 2023-10-26 14:08:40 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston
a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston
caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston
b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston
d5147c9d28 Partially (italic+colored) support blockquotes. 2023-10-26 14:08:40 +04:00
John Preston
859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston
0e45f3ebd9 Provide more theme keys to webview bots. 2023-10-26 14:08:40 +04:00
John Preston
7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston
e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
744c1b925e Handle GiftCode links, show Gift Link box. 2023-10-26 14:08:40 +04:00
John Preston
3fc9ed0ccb Update API scheme to layer 166. 2023-10-26 14:08:39 +04:00
John Preston
0b7d544615 Move Boost.regex definitions to cmake_helpers. 2023-10-26 14:08:39 +04:00
23rd
d19baeace2 Fixed show finishing of info layers. 2023-10-26 14:08:39 +04:00
Ilya Fedin
cd0f58fa65 Implement monochrome tray icon on Windows 2023-10-25 14:23:50 +04:00
John Preston
1f25301283 Beta version 4.10.5.
- Fix crash in replies to messages with spoilers.
- Enter boosts stats from three-dot menu.
2023-10-23 20:20:31 +04:00
23rd
0788f3d7b0 Increased size of arrow in chart point details widget. 2023-10-23 20:19:17 +04:00
23rd
f93b7a60f8 Fixed display of button to show more boosts when boosts are too few. 2023-10-23 20:19:17 +04:00
23rd
d0875a1178 Fixed sliders in footer in statistics info while restoring state. 2023-10-23 20:19:17 +04:00
23rd
29f8493a82 Removed error toast for async graphs. 2023-10-23 20:19:17 +04:00
23rd
d4db838d43 Added message preview to message statistics. 2023-10-23 20:19:17 +04:00
23rd
0be2e8b672 Fixed statistics overview of old messages. 2023-10-23 20:19:17 +04:00
23rd
0aa1031402 Added ability to open message statistics from context menu. 2023-10-23 20:19:17 +04:00
23rd
53c73accd0 Fixed typo in custom shortcut for full screen in media viewer. 2023-10-23 20:19:17 +04:00
23rd
be38800a70 Moved entry point for boosts statistic to channel context menu. 2023-10-23 20:19:17 +04:00
John Preston
f2fa1cd70d Fix crash in non-clickable spoilers. 2023-10-23 08:59:29 +04:00
Ilya Fedin
5dfce5f7b2 Fix direct include of third-party library 2023-10-22 22:20:52 +04:00
Ilya Fedin
2b10e1e595 Update lib_base 2023-10-22 22:20:52 +04:00
Ilya Fedin
eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
John Preston
fde63ccb21 Beta version 4.10.4: Fix build with GCC. 2023-10-21 22:28:23 +04:00
John Preston
b209683c8e Beta version 4.10.4.
- Statistics in channels and group chats.
- Nice looking code blocks with syntax highlight.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
2023-10-21 20:54:47 +04:00
23rd
b6be799938 Fixed processing of error on chart zooming. 2023-10-21 11:42:04 +03:00
23rd
ec8c634e9c Fixed display of arrow on point details widget when no values there. 2023-10-21 11:34:54 +03:00
23rd
b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00
23rd
2ca489b2fb Added initial ability to save and restore state for boosts info. 2023-10-21 09:37:30 +04:00
23rd
daf76c1bc2 Improved style of boosts info. 2023-10-21 09:37:30 +04:00
23rd
d3aa0664a7 Moved boost limits content to divider. 2023-10-21 09:37:30 +04:00
23rd
f61c22b065 Added initial boosts list to boost info. 2023-10-21 09:37:30 +04:00
23rd
8041941565 Added share label and buttons to boost info. 2023-10-21 09:37:30 +04:00
23rd
0aa1cd0b52 Removed three dots button from invite link label when menu is disabled. 2023-10-21 09:37:30 +04:00
23rd
1bbac5784b Added overview of boost info. 2023-10-21 09:37:30 +04:00
23rd
f925a9e961 Added initial boosts info to layer. 2023-10-21 09:37:30 +04:00
23rd
8b6d475882 Added initial entry point for boosts statistic. 2023-10-21 09:37:30 +04:00
23rd
d82c422ea1 Moved out boost limits content from boost box. 2023-10-21 09:37:30 +04:00
23rd
d7e57e42d8 Added API support for boost status and boosts list. 2023-10-21 09:37:30 +04:00
23rd
7ee2ec13f0 Added Data class for boosts. 2023-10-21 09:37:30 +04:00
23rd
a6e13a9f9e Added dummy layer class for boosts. 2023-10-21 09:37:30 +04:00
John Preston
66f73a5a64 Copy code blocks on header click. 2023-10-20 18:07:16 +04:00
John Preston
575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston
9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston
4b618a3578 Fix build with GCC. 2023-10-13 10:10:11 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
23rd
cba8387589 Fixed value types in struct data for drawing of charts. 2023-10-13 05:16:30 +03:00
23rd
01c2ade501 Fixed display of widget for point details on charts on retina. 2023-10-13 03:19:50 +03:00
23rd
b9fa14139a Fixed possible wrong range of clamp in footer of chart widget. 2023-10-13 03:19:50 +03:00
23rd
a8cb5419d6 Fixed available width for text in widget for details on pie charts. 2023-10-12 16:54:24 +03:00
23rd
f775670938 Moved out some classes for widgets in statistical info to directory. 2023-10-12 16:51:13 +03:00
23rd
c035a25aaa Added lottie icon to report box. 2023-10-12 04:42:27 +03:00
23rd
6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
23rd
bee0534052 Added emoji to poll preview. 2023-10-12 03:50:59 +03:00
John Preston
3e11d44cac Closed alpha version 4.10.3.1. 2023-10-11 22:12:35 +04:00
23rd
4d269f6e97 Added animation to pie chart while changing its parts. 2023-10-11 22:12:35 +04:00
23rd
e9496fb612 Improved concurrent API requests of async statistical charts. 2023-10-11 22:12:35 +04:00
23rd
c9c82446cb Added support of weekly range of days to chart views. 2023-10-11 22:12:35 +04:00
23rd
0dec803177 Fixed incorrect position of sliders in chart footer in some cases. 2023-10-11 22:12:35 +04:00
23rd
2dc45ac907 Added ability to restore first public forwards in statistical info. 2023-10-11 22:12:35 +04:00
23rd
a3d8db4ac0 Added ability to save state for recent posts in statistical info. 2023-10-11 22:12:35 +04:00
23rd
aee6b6e224 Fixed possible crash in loading of recent posts for statistical info. 2023-10-11 22:12:35 +04:00
23rd
736efd4692 Added ability to cache loaded chart data of async graphs. 2023-10-11 22:12:34 +04:00
23rd
ec5e846374 Added initial ability to save and restore state of statistical info. 2023-10-11 22:12:34 +04:00
23rd
caf32cccd3 Moved out inner widget of statistical info to separate class. 2023-10-11 22:12:34 +04:00
23rd
594b2bc8f2 Improved style of recent posts in statistical info. 2023-10-11 22:12:34 +04:00
23rd
d1ba270a8c Renamed file of utils for statistical lists. 2023-10-11 22:12:34 +04:00
23rd
2c1abd32bf Added list of members to statistical info of supergroups. 2023-10-11 22:12:34 +04:00
23rd
79662dffa4 Guarded cases when min and max values of charts are equal. 2023-10-11 22:12:34 +04:00
23rd
a79e025151 Slightly refactored code for info of statistic for single message. 2023-10-11 22:12:34 +04:00
23rd
3fa168cee0 Added API class for requesting full statistic of single message. 2023-10-11 22:12:34 +04:00
23rd
9c1ef76e49 Added overview info to statistic for single message. 2023-10-11 22:12:34 +04:00
23rd
8497b83f7c Added list of public forwards to statistics of single message. 2023-10-11 22:12:34 +04:00
23rd
393c23ad12 Added initial ability to open statistics for single message. 2023-10-11 22:12:34 +04:00
23rd
01821cd779 Added second type of info layer for statistics. 2023-10-11 22:12:34 +04:00
23rd
3da733520d Added API support to request list of public forwards for single message. 2023-10-11 22:12:34 +04:00
23rd
a605275157 Added icon to entry point for statistics. 2023-10-11 22:12:34 +04:00
23rd
8564e4d727 Added initial support of recent posts to statistical info. 2023-10-11 22:12:34 +04:00
23rd
fc3acff5d6 Added support of percentages display to details widget. 2023-10-11 22:12:34 +04:00
23rd
515850ec9b Decreased height of header for charts without dates. 2023-10-11 22:12:34 +04:00
23rd
837b256778 Added support of dark theme to statistical charts. 2023-10-11 22:12:34 +04:00
23rd
d16cab30d4 Fixed paint of rulers for stack chart view. 2023-10-11 22:12:34 +04:00
23rd
fcdd7ecd61 Fixed paint glitch of selected bar on stack chart view. 2023-10-11 22:12:34 +04:00
23rd
da9720530a Added ability to filter out lines from chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
4a10d86a29 Fixed state losing in filter buttons on resize of statistics layer. 2023-10-11 22:12:34 +04:00
23rd
3b5a007db5 Added ability to hide footer of chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
2479b56c3b Added ability to hide part of info on chart ruler when line is filtered. 2023-10-11 22:12:34 +04:00
23rd
0909e8bd08 Reduced line width in footer of charts. 2023-10-11 22:12:34 +04:00
23rd
6109ec70b8 Slightly improved format of dates on charts. 2023-10-11 22:12:34 +04:00
23rd
c20bd17029 Moved zoom out button to right side above chart. 2023-10-11 22:12:34 +04:00
23rd
10e3115c39 Improved style of line filter buttons under charts. 2023-10-11 22:12:34 +04:00
23rd
3425b40746 Improved style of widget for details of selected points on chart. 2023-10-11 22:12:34 +04:00
23rd
42fc4fbb31 Improved style of sliders in footer from charts. 2023-10-11 22:12:34 +04:00
23rd
f081917cd0 Improved style of rulers on charts in statistics. 2023-10-11 22:12:34 +04:00
23rd
bdfb0ffe04 Improved style of statistic overview. 2023-10-11 22:12:34 +04:00
23rd
2b282c8d7d Improved header style for charts. 2023-10-11 22:12:33 +04:00
23rd
77d23ad182 Replaced statistics box with info layer widget. 2023-10-11 22:12:33 +04:00
23rd
79442fde97 Fixed incorrect search of index by value in statistical chart data. 2023-10-11 22:12:33 +04:00
23rd
f8e80bc266 Improved limits of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:33 +04:00
23rd
cb4c629178 Slightly refactored code for statistical charts. 2023-10-11 22:12:33 +04:00
23rd
af0e11a1aa Moved out to td_ui all classes related to statistics. 2023-10-11 22:12:33 +04:00
23rd
8ac6aca315 Split out data for statistics and for charts. 2023-10-11 22:12:33 +04:00
23rd
2638e54181 Fixed available width for text in widget for point details on charts. 2023-10-11 22:12:33 +04:00
23rd
db97db4aba Fixed crash on closing statistics with locally zoomed in chart. 2023-10-11 22:12:33 +04:00
23rd
ded3f135bb Improved casting of limits for std::distance in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
be82df72e6 Fixed possible crash in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
3fa6335b24 Added API support to request statistical graph for single message. 2023-10-11 22:12:33 +04:00
23rd
23868bf9cc Added ability to hide charts without data in statistics box. 2023-10-11 22:12:33 +04:00
23rd
5b67f4ac9b Added overview info to statistic of supergroup. 2023-10-11 22:12:33 +04:00
23rd
17fdef7d9e Added chart widgets for statistic of supergroups. 2023-10-11 22:12:33 +04:00
23rd
cf82e12bf4 Added serialization from TL to statistics data for supergroups. 2023-10-11 22:12:33 +04:00
23rd
6f27aeef10 Added overview info to statistic of channels. 2023-10-11 22:12:33 +04:00
23rd
df53ddf837 Added all chart widgets for statistic of channels. 2023-10-11 22:12:33 +04:00
23rd
a3fd4f3fac Added label to box for statistic while loading. 2023-10-11 22:12:33 +04:00
23rd
24c0624704 Added support of default zoom to statistical charts. 2023-10-11 22:12:33 +04:00
23rd
33724be6ea Added support of theme colors for lines on statistical charts. 2023-10-11 22:12:33 +04:00
23rd
4624d34f68 Fixed display of outer points on linear chart. 2023-10-11 22:12:33 +04:00
23rd
aeee016dc9 Fixed animation of line filtering in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
8ded88baf5 Moved out control of animations for line filtering to separated class. 2023-10-11 22:12:33 +04:00
23rd
bdd35a6e2b Added ability to handle mouse move to chart views. 2023-10-11 22:12:31 +04:00
23rd
d9a08bb6a6 Fixed smooth paint of stack linear chart on move of footer slider. 2023-10-11 22:12:31 +04:00
23rd
cee833f102 Fixed paint of selected X index in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
c19a527872 Fixed position of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:31 +04:00
23rd
6995fcafb5 Fixed mouse selection of pie chart with single part. 2023-10-11 22:12:31 +04:00
23rd
b261d23645 Fixed display of zoomed days in pie chart view. 2023-10-11 22:12:31 +04:00
23rd
21c1ba7607 Fixed display of selected days in zoomed stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
5a2b8d06e3 Fixed paint of zoomed footer in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
9046daa1a6 Fixed limit of days for zoom in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
65ccb4059e Changed range of slider in footer from chart widget. 2023-10-11 22:12:31 +04:00
23rd
d2578e9e47 Added minimal size of pie part for text on pie chart view. 2023-10-11 22:12:31 +04:00
23rd
be17e2b919 Slightly refactored variables in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
26c2e7f245 Improved round of percentages in pie chart view. 2023-10-11 22:12:31 +04:00
23rd
9051716172 Added initial support of sync zoom to chart widget. 2023-10-11 22:12:31 +04:00
23rd
71b6a58683 Added initial support of sync zoom of charts to stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
32cd454554 Moved out chart header to separated files. 2023-10-11 22:12:30 +04:00
23rd
6ffe555f6a Fixed animation processing after selecting part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
7ac9ab3a51 Added support to hide chart elements with opacity from chart view. 2023-10-11 22:12:30 +04:00
23rd
a9b0464726 Moved out context for chart paint to separated structure. 2023-10-11 22:12:30 +04:00
23rd
e4e85e5a39 Added ability to move slider in chart widget footer from outside. 2023-10-11 22:12:30 +04:00
23rd
c5f294a1ac Added paint of footer for zoomed stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
5dc078a3f8 Removed selection of last enabled part on pie chart. 2023-10-11 22:12:30 +04:00
23rd
83753343cb Added details popup to selected part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
42215343cf Added ability to select part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
bedefee1d1 Added initial appear animation of text to pie chart. 2023-10-11 22:12:30 +04:00
23rd
788eb014d4 Added ability to paint pie chart as zoomed stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
13b7a07d2e Added initial transition animation to stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
f026271436 Added initial implementation of stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
d13fe39629 Added ability to paint horizontal lines for double linear charts. 2023-10-11 22:12:30 +04:00
23rd
62b3b60c45 Added initial support of double linear chart to view. 2023-10-11 22:12:30 +04:00
23rd
74313d23f3 Added new type of chart view for double linear charts. 2023-10-11 22:12:30 +04:00
23rd
646390141a Moved out paint of horizontal lines for charts to separated view class. 2023-10-11 22:12:30 +04:00
23rd
83cf12b475 Slightly reduced size of buttons in container to filter chart lines. 2023-10-11 22:12:30 +04:00
23rd
a0226f9789 Added support of different chart types in chart widget. 2023-10-11 22:12:30 +04:00
23rd
54fecd497e Added icon to widget for point details on chart when zoom is enabled. 2023-10-11 22:12:30 +04:00
23rd
2106747496 Decreased size of widget for point details on chart. 2023-10-11 22:12:30 +04:00
23rd
ecce9dbaaa Added ability to hide point details on chart by second click. 2023-10-11 22:12:30 +04:00
23rd
b606a7b21d Added initial animation and selection to stack chart view. 2023-10-11 22:12:30 +04:00
23rd
35ff45971f Added support of async charts for main graphs. 2023-10-11 22:12:30 +04:00
23rd
7a436f32dd Moved out search of clicked index on chart to chart view. 2023-10-11 22:12:30 +04:00
23rd
54d5358b75 Fixed position of selected X in linear chart animations. 2023-10-11 22:12:30 +04:00
23rd
20c2250abb Added initial implementation of painting of stack chart. 2023-10-11 22:12:30 +04:00
23rd
2ddc1ee2e1 Implemented calculation of chart height in stack chart view. 2023-10-11 22:12:30 +04:00
23rd
b55d2008c0 Added dummy class for stack chart view. 2023-10-11 22:12:30 +04:00
23rd
11b932707c Moved out calculation of height limits to abstract chart view class. 2023-10-11 22:12:30 +04:00
23rd
d50aca0d33 Created abstract chart view class. 2023-10-11 22:12:30 +04:00
23rd
671e81033c Moved files of linear chart view class to directory. 2023-10-11 22:12:30 +04:00
23rd
361d269bf3 Added support of custom header in chart widget with zoomed chart. 2023-10-11 22:12:30 +04:00
23rd
ae81373cff Slightly improved display management of delayed widgets in chart widget. 2023-10-11 22:12:30 +04:00
23rd
160794b26c Added support of chart titles to Data and API classes for statistics. 2023-10-11 22:12:30 +04:00
23rd
1dc57afbe1 Added some phrases for chart titles in chart widget. 2023-10-11 22:12:30 +04:00
23rd
d9f397ea3f Added display of toast with potential human-readable errors from server. 2023-10-11 22:12:30 +04:00
23rd
c9a976bf87 Added initial support of zooming single chart to chart widget. 2023-10-11 22:12:30 +04:00
23rd
7b921dea3b Replaced bad sizeValue with intended resizeGetHeight in chart widget. 2023-10-11 22:12:30 +04:00
23rd
fcc6aaed91 Added mouse click support to point details widget. 2023-10-11 22:12:30 +04:00
23rd
eb0ab9609f Added API support for request of async zoom single chart. 2023-10-11 22:12:30 +04:00
23rd
bb359f6493 Fixed crash in charts with equal minimum and maximum values. 2023-10-11 22:12:30 +04:00
23rd
b24be50afe Improved format of timestamp in point details widget. 2023-10-11 22:12:30 +04:00
23rd
3e55380eed Returned support of detail dots to linear chart view class. 2023-10-11 22:12:30 +04:00
23rd
25c97a3ee8 Cached both main and footer charts in single linear chart view. 2023-10-11 22:12:30 +04:00
23rd
2055cc70d1 Removed chart line view context. 2023-10-11 22:12:30 +04:00
23rd
788a81df6c Removed some duplicated code from chart line view context. 2023-10-11 22:12:30 +04:00
23rd
1209bd35c5 Replaced static function for linear chart paint with dedicated class. 2023-10-11 22:12:30 +04:00
23rd
f473a1a804 Attempted to increase performance of chart paint by caching every frame. 2023-10-11 22:12:30 +04:00
23rd
c8e95f7297 Improved y-axis animation again to look much better. 2023-10-11 22:12:30 +04:00
23rd
b1ed8cd1b1 Fixed bug of display for y-axis captions with instant delivered data. 2023-10-11 22:12:30 +04:00
23rd
64bb818fe9 Added initial display of footer while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
ee172d951d Added support to hide name and value of line in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd
41bc47eb6f Faded out detail dot of filtered chart line. 2023-10-11 22:12:29 +04:00
23rd
423d2293f9 Kept point details widget while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
e6559276c0 Added class to calculate context state while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
13959ca36c Added buttons container to filter chart line to chart widget. 2023-10-11 22:12:29 +04:00
23rd
520989a7e6 Added initial ability to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd
4c02d19a51 Added implementation of buttons container to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd
734e1166ad Removed from display point details widget with invalid index. 2023-10-11 22:12:29 +04:00
23rd
94fd3e32dd Added own value of height for chart widget. 2023-10-11 22:12:29 +04:00
23rd
367adaa44d Attempted to increase performance when paint complicated charts. 2023-10-11 22:12:29 +04:00
23rd
73b4621121 Cached current x-axis indices to reduce redundant calculations. 2023-10-11 22:12:29 +04:00
23rd
8256a4c686 Completely replaced widgets in footer with nice path paint. 2023-10-11 22:12:29 +04:00
23rd
b6b6673214 Initially replaced buttons in footer with cached arrows. 2023-10-11 22:12:29 +04:00
23rd
8ba2e95e6c Added paint of inactive area in footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd
40ab042fb5 Added support of very large values in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd
25f401c22e Changed color of axis captions to grey. 2023-10-11 22:12:29 +04:00
23rd
d8566f770f Removed chart paint below bottom line in chart widget. 2023-10-11 22:12:29 +04:00
23rd
f76f69b5cd Moved out details dots above horizontal line captions. 2023-10-11 22:12:29 +04:00
23rd
487dd27ca1 Added padding to y-axis captions in chart widget. 2023-10-11 22:12:29 +04:00
23rd
32df03f08d Fixed text overlap on y-axis captions when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd
658db59aaf Replace Simple with Basic for animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd
695542cfd2 Added initial animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd
07cd35b1a8 Added fade animation to details widget on charts. 2023-10-11 22:12:29 +04:00
23rd
74aae29b64 Added point details widget to chart widget. 2023-10-11 22:12:29 +04:00
23rd
70713d5f62 Moved paint of chart to inner widget within chart widget. 2023-10-11 22:12:29 +04:00
23rd
dd1b006d8a Created RpMouseWidget class for easier mouse processing. 2023-10-11 22:12:29 +04:00
23rd
ec8d604db7 Added initial widget implementation of point details in charts. 2023-10-11 22:12:29 +04:00
23rd
9e8d60065b Slightly improved code style in PaintLinearChartView. 2023-10-11 22:12:29 +04:00
23rd
d603f4de51 Reduced redundant calculations of animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
77695091b3 Slightly clarified name of y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
20e81177a6 Fixed first show of chart widget with new data. 2023-10-11 22:12:29 +04:00
23rd
ce3ad95950 Removed useless processing for changing drag direction. 2023-10-11 22:12:29 +04:00
23rd
c5684e768a Slightly optimized footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd
c8d5a60c74 Moved out processing of chart animation to separate class. 2023-10-11 22:12:29 +04:00
23rd
4dad0a215a Removed some unused data chart widget. 2023-10-11 22:12:29 +04:00
23rd
15698fd6f0 Tried to fix animation bug when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd
cd4654dfd2 Tried to fix some bugs with alpha of horizontal lines in chart widget. 2023-10-11 22:12:29 +04:00
23rd
3a3d4480cc Added acceleration to y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
5c3748db56 Added tools to test animation for left and right edges with same speed. 2023-10-11 22:12:29 +04:00
23rd
7dfdcc7be0 Added some work in progress to improve horizontal line animation. 2023-10-11 22:12:29 +04:00
23rd
d1f2950167 Added initial animation of horizontal lines in chart widget.
The animation is only top-down for now.
2023-10-11 22:12:29 +04:00
23rd
59f61586a9 Improved code style in chart widget. 2023-10-11 22:12:29 +04:00
23rd
629dd6f9de Added dirty implementation of chart animation with both axes. 2023-10-11 22:12:29 +04:00
23rd
f4fc8ec2c4 Added initial chart y-axis animation without x-axis. 2023-10-11 22:12:29 +04:00
23rd
e8aa55d4d8 Added initial support of static zoom for chart widget. 2023-10-11 22:12:29 +04:00
23rd
26b17325aa Added initial implementation of footer in statistic chart widget. 2023-10-11 22:12:29 +04:00
23rd
c71f35778d Added API support of channel flag for channel statistics. 2023-10-11 22:12:29 +04:00
23rd
c9eb9a3ee0 Added initial widget with full zoom static linear chart. 2023-10-11 22:12:29 +04:00
23rd
06948ad15e Added Data class for horizontal lines on statistic charts. 2023-10-11 22:12:29 +04:00
23rd
029e0c9488 Added deserialization from JSON to statistics data to API. 2023-10-11 22:12:29 +04:00
23rd
c0219cb95d Added deserialization from JSON to statistics data. 2023-10-11 22:12:29 +04:00
23rd
78e553b724 Added usage of segment tree in Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd
b5b70beea0 Added implementation of class for segment tree. 2023-10-11 22:12:28 +04:00
23rd
177a7eaf43 Added initial serialization from TL data to statistics data. 2023-10-11 22:12:28 +04:00
23rd
ca863bfb5b Added dummy Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd
c45025c6e5 Added dummy API class for statistics. 2023-10-11 22:12:28 +04:00
23rd
10968d0da2 Added dummy box class for statistics. 2023-10-11 22:12:28 +04:00
23rd
b0a65885c9 Added initial entry point for channel statistics. 2023-10-11 22:12:28 +04:00
John Preston
ad8f8513c3 Link crashpad_handler with Xcode bug workaround. 2023-10-11 22:12:28 +04:00
23rd
f457a9d109 Added ability to fast change forward options with right click on panel. 2023-10-11 21:10:56 +03:00
Ilya Fedin
830fb3ccc2 Update submodules 2023-10-11 21:54:42 +04:00
Ilya Fedin
9116328f29 Update to Qt 6.6.0 release on Linux 2023-10-11 21:54:42 +04:00
John Preston
aa7575dec4 Highlight more languages. 2023-10-11 08:45:50 +04:00
John Preston
bfe272e39f Fix highlighting of the closing bracket. 2023-10-11 08:45:50 +04:00
23rd
a7ca15657b Fixed master branch updater Github Action. 2023-10-11 06:06:03 +03:00
23rd
41dada2c06 Fixed shadows in userpic builder with non-default scale. 2023-10-11 06:06:03 +03:00
John Preston
501784cd15 Attempt to fix Snap build. 2023-10-08 07:02:40 +04:00
Ilya Fedin
ac699ccf80 Update submodules 2023-10-07 07:08:21 +04:00
Ilya Fedin
aadaf47569 Add boost-regex to snap 2023-10-07 07:08:21 +04:00
Ilya Fedin
6bc0179919 Work with GLIB_VERSION_MAX_ALLOWED 2023-10-07 07:08:21 +04:00
Ilya Fedin
93fbad50bc Downgrade qtwayland to 6.5.3 2023-10-07 07:08:21 +04:00
Ilya Fedin
a5ec616382 Downgrade qtsvg to 6.5.3 in snap
As a better crash workaround
2023-10-07 07:08:21 +04:00
John Preston
bf3f474195 Fix label position in peer editing. 2023-10-06 17:49:34 +04:00
John Preston
14f68c2f33 Fix webview on Windows & macOS. 2023-10-06 17:49:34 +04:00
John Preston
92fadd2652 Fix build with GCC 12. 2023-10-06 16:28:45 +04:00
John Preston
b68a7c7f04 Update submodules. 2023-10-06 09:03:28 +04:00
John Preston
50097e1a81 Show spellcheck suggestions on Ctrl+Space.
Fixes #26892.
2023-10-05 10:36:30 +04:00
John Preston
2414e927bd Add initial code syntax highlighting.
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
da768ac1d1 Add libprisma from Fela for syntax highlighting. 2023-10-04 22:28:47 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
23rd
2b3f17e982 Removed call button from history with service user. 2023-10-04 20:38:14 +04:00
John Preston
5ef48cac9c Use shared_ptr<Factory> as settings section id. 2023-10-04 20:38:14 +04:00
John Preston
6ba922d7b0 Fix channel stories open from chats list. 2023-10-04 20:38:14 +04:00
Ilya Fedin
f881192dd0 Don't enter settings after update 2023-10-04 12:10:33 +04:00
Ilya Fedin
ef2a0bb05e Add libnvidia-egl-wayland1 to snap 2023-10-04 12:10:19 +04:00
Ilya Fedin
54efa2353e Update submodules 2023-10-04 12:07:36 +04:00
Ilya Fedin
2878533078 Re-throw original exception in Linux notification's StartServiceAsync 2023-10-04 12:07:36 +04:00
Sergey A. Osokin
ac520b314d Fix build on FreeBSD 2023-10-02 18:47:10 +04:00
John Preston
871fef2c4a Version 4.10.3.
- Fix crash on external link opening. (Linux only)
2023-10-02 17:56:10 +04:00
John Preston
99f4b93745 Attempt to fix build with Clang on Linux. 2023-10-02 17:56:10 +04:00
Ilya Fedin
a757e07c3a Line length clean up in notifications_manager_linux 2023-10-02 16:11:02 +04:00
Ilya Fedin
5c4f006550 Avoid Windows-specific hack to ruin initial main window geometry on Linux 2023-10-02 07:05:21 +04:00
John Preston
9ad38b9638 Update lib_base submodule. 2023-10-01 21:54:44 +04:00
Ilya Fedin
fe8ebc1659 Update patches on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin
a732d8f5e7 Disable vfork in Qt on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin
7ddcc47fcd Make UnsafeShowOpenWith inline on Linux 2023-10-01 06:54:39 +04:00
Ilya Fedin
70f22293cf Get rid of last non-standard piece in Linux FileDialog getter 2023-10-01 06:54:39 +04:00
John Preston
90fb59348c Try fixing Docker action. 2023-09-29 20:38:21 +04:00
John Preston
daf545a72a Version 4.10.2: Try fixing Snap action. 2023-09-29 19:29:53 +04:00
John Preston
771869e945 Version 4.10.2: Fix build with GCC. 2023-09-29 09:36:10 +04:00
John Preston
ac1fe2cfee Update submodules. 2023-09-29 09:04:43 +04:00
John Preston
ed064ee13c Version 4.10.2.
- Bug fixes and other minor improvements.
2023-09-29 00:15:19 +04:00
John Preston
9fcdec4166 Update libvpx revision. 2023-09-29 00:15:19 +04:00
John Preston
bd4cf82405 Don't highlight links in non-premium stories. 2023-09-28 23:51:30 +04:00
John Preston
3653a6f011 Improve confirm box text padding. 2023-09-28 23:51:30 +04:00
John Preston
adc6930ac6 Skip irrelevant message on changelog story hiding. 2023-09-28 23:51:30 +04:00
John Preston
7305d542ba Fix possible crash in message context menu. 2023-09-28 23:51:30 +04:00
John Preston
874c84ad4e Fix file reference refresh in story forward. 2023-09-28 23:51:29 +04:00
John Preston
4edb11f128 Show channel stories in chats list. 2023-09-28 23:51:29 +04:00
John Preston
785014f7b7 Extract premium layer top bar widget. 2023-09-28 23:51:29 +04:00
John Preston
4cb5bea69b Update API scheme to layer 165. 2023-09-28 23:51:29 +04:00
Ilya Fedin
07bc84d425 Update submodules 2023-09-27 10:32:24 +04:00
Ilya Fedin
9019a2cb08 Remove an unneeded intermediate variable 2023-09-27 10:32:24 +04:00
Ilya Fedin
716cc6ef9e Workaround a crash in snap 2023-09-27 10:32:24 +04:00
Ilya Fedin
a509be99b0 Update Qt to 6.6.0-rc1 on Linux 2023-09-26 14:12:26 +04:00
Ilya Fedin
618ce15b21 Revert "Workaround Wayland popup menu bug."
This reverts commit 51027a0bc2.
2023-09-26 12:26:18 +04:00
Ilya Fedin
d2b5651c3b Patch Qt for better open url UX on Linux 2023-09-26 12:22:24 +04:00
Ilya Fedin
51ff484913 Update Qt to 6.6.0-beta4 on Linux 2023-09-26 12:15:33 +04:00
John Preston
547a5a14df Correct stories count in the Info title. 2023-09-26 12:12:43 +04:00
John Preston
5179d9a03f Workaround Xcode 15 linker bugs with -Wl,-ld_classic. 2023-09-25 21:37:34 +04:00
John Preston
26e84dbab2 Fix drag starting item. 2023-09-25 21:37:00 +04:00
John Preston
013c8ebeb4 Allow reactions for changelog stories. 2023-09-25 21:36:51 +04:00
John Preston
846e96579d Fix direct story links for channels. 2023-09-25 17:53:02 +04:00
John Preston
eaa491518e Remove changelog stories on archive attempt. 2023-09-25 17:39:18 +04:00
John Preston
4df7761e9d Allow deleting selected messages by backspace. 2023-09-25 12:55:29 +04:00
John Preston
6cdc8f9dbc Fix libvpx pkg-config generation on Windows.
Fixes #26849.
2023-09-25 12:41:34 +04:00
John Preston
95e4abd784 Extract system-specific parts of prepare env. 2023-09-25 12:41:34 +04:00
John Preston
6f9a540a61 Fix crash when libvpx decoder is absent.
Fixes #26849.
2023-09-25 12:41:34 +04:00
John Preston
137fca73bd Fix premium counter bubble with disabled animations. 2023-09-25 12:41:34 +04:00
John Preston
2159307643 Accept https://t.me/boost/channelusername links. 2023-09-25 12:41:34 +04:00
23rd
ded570a480 Fixed display of bulk download menu item on restricted content. 2023-09-25 06:27:08 +03:00
John Preston
4fd68d97d5 Merge remote-tracking branch into dev 2023-09-23 21:24:20 +04:00
John Preston
edfe998811 Fix build of minidump_stackwalk. 2023-09-23 21:23:51 +04:00
John Preston
116ae04f54 Add missing OpenGL resource deinitialization in viewer 2023-09-23 20:38:10 +04:00
Ilya Fedin
ce8e42bcc2 Support Wayland display reconnection 2023-09-23 20:38:10 +04:00
John Preston
ea9386f0aa Version 4.10.1: Rebuild macOS with older Xcode. 2023-09-23 19:25:24 +04:00
Ilya Fedin
58451aed91 Fix debug build on Linux 2023-09-23 06:29:10 +04:00
John Preston
a6df03d990 Version 4.10: Fix channel stories phrases. 2023-09-22 20:59:37 +04:00
John Preston
16b1881268 Version 4.10: Fix spawning args on Linux. 2023-09-22 20:16:22 +04:00
John Preston
0d25b154d9 Version 4.10.
- Stories for Channels.
- Reaction Stickers in Stories.
2023-09-22 18:12:35 +04:00
John Preston
89fac88677 Beta version 4.9.10: Fix after-update relaunch. 2023-09-22 16:08:41 +04:00
John Preston
9604a3bd80 Beta version 4.9.10: Remove legacy checks. 2023-09-22 11:51:47 +04:00
John Preston
5b3ffc778d Merge remote-tracking branch 'origin/dev' into dev 2023-09-22 11:50:47 +04:00
John Preston
c6c06c149d Check AppUserModelId better. 2023-09-22 11:50:41 +04:00
John Preston
a37f7077b0 Beta version 4.9.10: Fix build with GCC. 2023-09-22 11:06:03 +04:00
John Preston
5514ab0ccf Fix warnings after Xcode 15 / target 10.13 update. 2023-09-22 11:01:46 +04:00
John Preston
63a753d35c Beta version 4.9.10.
- Update Qt to 6.2.5 on macOS.
- Update minimum target to macOS 10.13 and toolchain to Xcode 15.
- Update Linux build host from CentOS 7 to Rocky Linux 8.
- Update Linux toolchain to GCC 12.
2023-09-22 09:43:32 +04:00
John Preston
4e82b7973f Suppress warning in libtgvoip json11. 2023-09-22 09:43:32 +04:00
John Preston
09094affed Improve boosted channel replacement design. 2023-09-22 09:43:32 +04:00
John Preston
c5634580f6 Add view button to channel boost link previews. 2023-09-22 09:43:32 +04:00
John Preston
7828a92f08 Implement views/reactions polling in channels. 2023-09-22 09:43:32 +04:00
John Preston
e60e65f574 Toggle suggested reaction counter animated. 2023-09-22 09:43:32 +04:00
John Preston
7a25d70240 Support all cases for BoostBox. 2023-09-22 09:43:32 +04:00
John Preston
01428572b0 Add shadow for white suggested reactions. 2023-09-22 09:43:32 +04:00
John Preston
a43a5ce6c5 Improve reaction selector position. 2023-09-22 09:43:32 +04:00
John Preston
d4ba01bad0 Suggested reaction effect around the widget. 2023-09-22 09:43:32 +04:00
John Preston
5d5cae7860 Implement suggested reaction count. 2023-09-22 09:43:32 +04:00
John Preston
f3db7e636b Implement channel stories views / reactions. 2023-09-22 09:43:32 +04:00
John Preston
1c2951598b Handle t.me/channel?boost links. 2023-09-22 09:43:32 +04:00
John Preston
39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
John Preston
29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston
b2c9a92c3e Hide reply field in channel stories. 2023-09-22 09:43:31 +04:00
John Preston
f3647d7f8c Show saved stories / current stories in channels. 2023-09-22 09:43:31 +04:00
John Preston
f3e65181cd Initial suggested reaction implementation. 2023-09-22 09:43:31 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
Ilya Fedin
1bde096417 Minimize amount of code to rebuild when switching options 2023-09-22 09:14:01 +04:00
John Preston
3db0b11a6b Bump minimum macOS deployment target to 10.13. 2023-09-22 09:03:12 +04:00
John Preston
8d00d93949 Fix uninitialized warning in build with GCC. 2023-09-22 09:03:00 +04:00
Ilya Fedin
277fe540dc Update Qt to 6.2.5 on macOS 2023-09-22 08:49:53 +04:00
Ilya Fedin
1683dccb50 Always set AppUserModelID on Windows 2023-09-21 13:39:26 +04:00
Ilya Fedin
47195e316f Don't load SetCurrentProcessExplicitAppUserModelID dynamically
It's supported since Windows 7
2023-09-21 13:39:26 +04:00
Ilya Fedin
8c9014fcf6 Update all third party submodules 2023-09-21 12:53:07 +04:00
Ilya Fedin
2d7675ace0 Update all dependencies in snap 2023-09-21 12:53:07 +04:00
Ilya Fedin
61cc7efc2a Update all dependencies in Dockerfile 2023-09-21 12:53:07 +04:00
Ilya Fedin
0464a558f0 Add Qt window frame string for Wayland 2023-09-21 12:49:45 +04:00
Ilya Fedin
ff9321e971 Main thread deadlock detector for debug mode 2023-09-21 12:23:23 +04:00
John Preston
d10b7e8402 Update tg_owt+libyuv/libvpx to chromium revisions. 2023-09-21 11:10:44 +04:00
Ilya Fedin
71f3f67fe3 Update submodules & patches on Linux 2023-09-21 10:30:09 +04:00
Ilya Fedin
47983d59fb Use -fno-omit-frame-pointer for better backtraces 2023-09-20 22:32:35 +04:00
Ilya Fedin
df29af5aea CentOS 7 -> Rocky Linux 8 2023-09-20 22:32:35 +04:00
Ilya Fedin
27b443b24d Use QStandardPaths to find the externalupdater config
That should be more convenient for everyone and cross-platform...
2023-09-20 18:05:45 +04:00
Ilya Fedin
7b4a542890 Always wait for updater to exit on Linux 2023-09-20 18:05:45 +04:00
Ilya Fedin
db6c69fa5f Move writeprotected to global updater variables on Linux 2023-09-20 18:05:45 +04:00
Ilya Fedin
7dfeea3f4e Get rid of workingDirChosen variable
It's set in every codepath where cWorkingDir is non-empty.
2023-09-20 18:05:45 +04:00
Ilya Fedin
92a41c881d Consolidate cForceWorkingDir(psAppDataPath()) 2023-09-20 18:05:45 +04:00
Ilya Fedin
3d769a6dce Get rid of cForceWorkingDir(cWorkingDir())
It has no sense as no code sets working directory directly to the variable anymore.
2023-09-20 18:05:45 +04:00
Ilya Fedin
330dfaa4d9 Consolidate MoveOldDataFiles path determinition 2023-09-20 18:05:45 +04:00
Ilya Fedin
b35fff01b0 Restore initial working directory on restart
So executable path computation still works for the new instance on systems deducing it by argv0
2023-09-20 18:05:45 +04:00
Ilya Fedin
cc19928977 Fix logging initial working directory when TelegramForcePortable exists 2023-09-20 18:05:45 +04:00
Ilya Fedin
c5424d0a9a Get rid of unneeded + '/' for cForceWorkingDir
It does the same on its own
2023-09-20 18:05:45 +04:00
Ilya Fedin
f3572e52ac Don't create a QDir instance for its static setCurrent method 2023-09-20 18:05:45 +04:00
Ilya Fedin
949c486cac Use a higher-level API for restarts/updates on Linux
This gets rid of the custom arguments container
2023-09-20 18:05:45 +04:00
Ilya Fedin
082b5ba782 Get rid of sandboxed paths workaround
This is fixed in xdg-desktop-portal 1.17.

There's no way to check xdg-desktop-portal version so it's either not having support for passing last used path at all in sandbox or encountering the bug on old systems.
2023-09-20 17:58:41 +04:00
Ilya Fedin
0f86968afd Use ServerInformation without std::optional 2023-09-20 17:52:39 +04:00
Ilya Fedin
90f52d80d7 Avoid global copying in Linux native notifications 2023-09-20 17:52:39 +04:00
Ilya Fedin
4e97599e9d Use Glib::ustring in Linux notification globals 2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b3e69351 Update range-v3 to 0.18.0 2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b4d1edce Avoid unneeded std::string casts in exception handling 2023-09-20 17:45:37 +04:00
John Preston
a54bc449e4 Version 4.9.9: Add support for Emoji 15. 2023-09-18 23:38:59 +04:00
Ilya Fedin
ea41aab713 Make use of templated XDP::ReadSetting 2023-09-18 19:52:48 +04:00
John Preston
fd00450f44 Version 4.9.9.
- Several crash fixes.
2023-09-18 12:45:55 +04:00
John Preston
e22aed55b0 Update submodules. 2023-09-18 12:44:20 +04:00
Ilya Fedin
cb838e6e52 Make use of the new XDP::SettingWatcher constructor 2023-09-18 12:44:20 +04:00
John Preston
3c931b11d6 Clear CacheHelper::waiting mutex in time.
I hope this fixes crashes in streaming semaphore usage.

CacheHelper::waiting points to Context::_semaphore, so it
should be cleared before Context is destroyed, not later.
2023-09-18 12:40:02 +04:00
John Preston
a14dbffb65 Fix possible crash in pinned message deletion. 2023-09-18 12:40:02 +04:00
John Preston
64dcae3174 Destroy volume dropdown after volume toggle.
This fixes https://bugs.telegram.org/c/31989

When destroying the dropdown first, the volume toggle receives an Enter
event and tries to show the dropdown (that is being destroyed).
2023-09-18 12:40:02 +04:00
John Preston
6af527ac76 Set dynamic box name to crash annotations. 2023-09-18 12:40:01 +04:00
John Preston
e1624e5d22 Fix a possible crash in translations. 2023-09-18 12:40:01 +04:00
Ilya Fedin
21857450f3 Update lib_base 2023-09-17 19:54:54 +04:00
Ilya Fedin
8ea4f26e31 Simplify some using-s 2023-09-17 19:54:54 +04:00
John Preston
76ac6c3be7 Version 4.9.8.
- Fix t.me/botname?startapp=token deeplinks.
- Fix a possible crash in media viewer on Wayland.
2023-09-16 07:55:02 +04:00
John Preston
c4c5036ec0 Update submodules. 2023-09-16 07:39:28 +04:00
Ilya Fedin
ad87c2a15e Re-use the Wayland AutoDestroyer's lifetime in WaylandIntegration::Private 2023-09-16 06:26:51 +04:00
Ilya Fedin
7dbf331e18 Fix org_kde_plasma_surface destroyer lambda leak 2023-09-16 06:26:51 +04:00
John Preston
ab53b4eab7 Fix build of Packer. 2023-09-15 21:48:23 +04:00
John Preston
7d678e5fa7 Fix ringtones downloaded to disk. 2023-09-15 21:18:14 +04:00
John Preston
6adb3e7200 Fix build on macOS. 2023-09-15 20:42:23 +04:00
Ilya Fedin
7906be37b6 Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE) 2023-09-15 19:52:22 +04:00
John Preston
c12743925e Support ?startapp=value start_param passing. 2023-09-15 15:36:09 +04:00
John Preston
b17b806d91 Add hide-chats-list-in-forums setting. 2023-09-15 15:36:09 +04:00
John Preston
98ab91a56a More correct way of applying min stories. 2023-09-14 10:58:29 +04:00
John Preston
0f8d9e885a Re-update lib_base submodule. 2023-09-14 10:15:22 +04:00
John Preston
bc891ca55e Don't build too much in libwebp. 2023-09-14 10:10:54 +04:00
Ilya Fedin
9653cfdd56 Update lib_base 2023-09-14 09:27:13 +04:00
Ilya Fedin
0b4a255acc Use SNAP_INSTANCE_NAME in SingleInstanceLocalServerName
That's what snapd's apparmor profiles use
2023-09-14 09:27:13 +04:00
John Preston
94feb953aa Version 4.9.7.
- Fix direct bot web app links handling.
- Close main menu when opening a web app.
- Bump libwebp revision.
2023-09-13 21:16:03 +04:00
John Preston
7b65c9174f Link system libwebp instead of Qt-s. 2023-09-13 21:07:24 +04:00
John Preston
e74021fbc9 Show "Open Bot" button for main menu apps. 2023-09-13 20:51:01 +04:00
John Preston
e6a474d720 Close main menu on a web app opening. 2023-09-13 20:51:01 +04:00
23rd
976c696004 Slightly improved style of mini icons in dialogs list for replies story. 2023-09-13 12:09:16 +03:00
John Preston
c057c88d30 Try title overscroll colors only on macOS. 2023-09-13 09:04:29 +04:00
John Preston
674bab69f5 Send viewport updates in web-apps. 2023-09-13 09:04:28 +04:00
John Preston
97d93b23dc Fix direct bot app links. 2023-09-13 08:24:38 +04:00
23rd
d363a6ea84 Replaced url click handler in view buttons with external sponsored link. 2023-09-13 00:34:00 +03:00
John Preston
da7e8a8dc3 Version 4.9.6: Fix build. 2023-09-12 21:14:01 +04:00
John Preston
4296f93e1a Version 4.9.6.
- Some bot web-app improvements.
- Bug fixes and other minor improvements.
2023-09-12 21:02:22 +04:00
John Preston
d0b16ce05b Fix macOS webview transparent background. 2023-09-12 21:01:12 +04:00
John Preston
c3340fd016 Don't destroy by timer single-view media. 2023-09-12 21:01:12 +04:00
John Preston
36f1a18b3b Show terms on attach bot direct link app. 2023-09-12 21:01:12 +04:00
John Preston
ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston
229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston
73f3110403 Update API scheme to layer 163. 2023-09-12 21:01:11 +04:00
Ilya Fedin
dfa5386a27 Ensure closing is supported for running in background 2023-09-12 19:49:48 +04:00
John Preston
e5227a7e05 Improve OpenGL windows on macOS.
Fix #26268 by adding a workaround for incorrect FBO size.
Fix #26166 by forcing sRGB color scheme on all app windows.
2023-09-12 11:41:31 +04:00
John Preston
a6b844408a Add verified/fake/scam badge to ConfirmInviteBox. 2023-09-12 11:40:33 +04:00
John Preston
dbd4aecc56 Don't show message bottom info in bot about. 2023-09-12 11:40:33 +04:00
23rd
3332f012cf Added tooltip and ability to copy external link to sponsored messages. 2023-09-12 11:40:33 +04:00
23rd
456f4d7b8a Fixed api id and hash in Github Action on Windows for nightly builds. 2023-09-12 11:40:33 +04:00
Ilya Fedin
0b4ef3214e Leverage QImage's CoW in Linux native notifications 2023-09-12 10:29:29 +04:00
Ilya Fedin
e946bf5338 Run in background on Linux when minimization is not supported 2023-09-12 10:27:13 +04:00
Ilya Fedin
e8a1fc0300 Add a method to check whether to run in background instead of checking for macOS 2023-09-12 10:27:13 +04:00
Ilya Fedin
0bf0fb29d2 Add nodiscard for a bunch of platform specific methods 2023-09-12 10:27:13 +04:00
Ilya Fedin
566f2dd670 Switch XDP open with dialog to QWaylandWindow::requestXdgActivationToken 2023-09-11 11:12:08 +04:00
Ilya Fedin
e52e1672e8 Make PortalAutostart asynchronous 2023-09-11 11:11:40 +04:00
Ilya Fedin
bf255c0e00 Don't use crl::on_main unnecessarily in Linux native notifications code
All those dbus methods call callbacks on the same thread
2023-09-11 11:11:04 +04:00
Ilya Fedin
55fb3405e5 Move feature warnings to the relevant code 2023-09-11 11:05:05 +04:00
23rd
adbe5e9605 Slightly improved style of mini icons in dialogs list. 2023-09-08 11:40:18 +03:00
23rd
29bfe43386 Added ability to export chat for html and json formats simultaneously. 2023-09-08 11:40:18 +03:00
23rd
ca30c35c2b Added initial export writer for both html and json formats. 2023-09-08 11:40:18 +03:00
23rd
d4ad5d9f13 Removed uppercase from some phrases in export. 2023-09-08 11:40:18 +03:00
23rd
fd79973509 Fixed crash when importing custom theme with duplicated entries. 2023-09-08 11:40:18 +03:00
23rd
d2bd109169 Removed uppercase from some phrases in theme editor. 2023-09-08 11:40:18 +03:00
23rd
1b5b9f46d2 Allowed to save not loaded photos from bulk download menu item. 2023-09-08 11:40:18 +03:00
23rd
ed345e0823 Allowed to select loaded documents for bulk download menu item. 2023-09-08 11:40:18 +03:00
23rd
90adc2d97c Fixed misaligned line in expanded reaction menu with disabled animation.
Fixed #26748.
2023-09-08 11:40:18 +03:00
23rd
787ed443f4 Increased clickable area to change forward options in sections. 2023-09-08 11:40:18 +03:00
23rd
7ffb341597 Removed some unwanted include directives of styles in header files. 2023-09-08 11:40:18 +03:00
Ilya Fedin
483909854a Use brackets include for QtWaylandScanner-generated headers 2023-09-08 07:28:13 +04:00
Ilya Fedin
289257dd0f Update submodules 2023-09-08 07:10:53 +04:00
Ilya Fedin
547a39d835 Update tg_owt in snap 2023-09-07 07:40:52 +04:00
John Preston
eef3cdd31b Update mini_forward/mini_reply_story icons. 2023-09-05 21:33:04 +04:00
John Preston
4bfe40d02e Don't close ShareBox by outside click. 2023-09-05 21:33:04 +04:00
John Preston
107b72f442 Fix possible crash in AddBotToGroupBox. 2023-09-05 21:33:04 +04:00
John Preston
8adbbe6885 Don't expect itemId from shareContact. 2023-09-05 19:30:29 +04:00
John Preston
191f832e52 Use notarytool instead of altool for notarization. 2023-09-05 16:42:12 +04:00
John Preston
9f0a756f71 Version 4.9.5: Fix build with GCC. 2023-09-05 13:10:03 +04:00
Ilya Fedin
0079a18e97 Call D-Bus ReloadConfig asynchronously 2023-09-04 18:11:25 +04:00
John Preston
876a803e0e Version 4.9.5.
- Several new bot web-app features.
- Bug fixes and other minor improvements.
2023-09-04 17:54:11 +04:00
John Preston
7009e967d0 Fix build with MSVC. 2023-09-04 17:38:02 +04:00
John Preston
076aa9452e Unblock the bot before sharing phone number. 2023-09-04 17:36:55 +04:00
John Preston
d77c7a70ab Implement new bot web-app methods. 2023-09-04 17:36:55 +04:00
John Preston
8255de1ba8 Update API scheme to layer 162. 2023-09-04 17:36:55 +04:00
23rd
aad1296829 Fixed overlapping right badges on ellipsis in dialogs list. 2023-09-04 17:36:54 +04:00
23rd
738aff9c4f Fixed paint of mini icon in dialogs list even there is no space for it. 2023-09-04 17:36:54 +04:00
23rd
7740780eeb Respected presence of plain link in preview text for mini icons. 2023-09-04 17:36:54 +04:00
23rd
9edbb9762a Fixed some cases when peer may not be removed from filter from menu. 2023-09-04 17:36:54 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
23rd
ae2182c1e5 Removed document's requirement when it's unavailable in userpic builder. 2023-09-04 17:36:54 +04:00
Ilya Fedin
4807244682 Don't use crl::on_main unnecessarily with XDP::SettingWatcher
g_dbus_connection_signal_subscribe calls the callback on the same thread
2023-09-04 16:21:58 +04:00
John Preston
119f7e757d Don't show yourself in notification exceptions. 2023-09-01 12:00:25 +04:00
GitHub Action
e34e640dbb Update User-Agent for DNS to Chrome 116.0.5845.96. 2023-09-01 11:08:21 +04:00
Ilya Fedin
e755851237 Update lib_base 2023-08-31 22:46:54 +04:00
John Preston
dff168c62e Version 4.9.4: Workaround MSVC optimization bug.
When adding some de-optimizing code, like logging etc,
the issue disappears. This volatile workaround looks like it works.
2023-08-31 22:43:26 +04:00
John Preston
b39bf11d9e Fix build with GCC. 2023-08-31 22:37:29 +04:00
John Preston
d8f53d5f60 Version 4.9.4.
- Default private chats / groups / channels notification settings.
- Forwarded / reply-to-a-story icon in chats list message preview.
- Bug fixes and other minor improvements.
2023-08-30 23:33:40 +04:00
John Preston
f10da51517 Improve phrases in SendFilesBox drag areas. 2023-08-30 23:32:17 +04:00
23rd
3dc0e3818b Fixed redundant peer adding to always/never lists in filter from menu. 2023-08-30 18:14:14 +03:00
23rd
1493b23574 Added mini icon to messages with reply to story. 2023-08-30 18:14:14 +03:00
23rd
70e298cfe4 Added icon for replies to stories in dialogs list. 2023-08-30 18:14:14 +03:00
23rd
9d4b8bb9b0 Introduced new struct to dialogs style for icons. 2023-08-30 16:46:19 +03:00
23rd
089432be5e Added icon for forwarded messages in dialogs list. 2023-08-30 14:50:00 +03:00
23rd
4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
23rd
aeb593dd77 Slightly refactored StickersBox class. 2023-08-30 14:50:00 +03:00
23rd
0d4a83ea47 Added ability to remove sticker set from tab of featured sticker sets. 2023-08-30 14:50:00 +03:00
John Preston
95b26911e0 Use inline image/path expanding from lib_ui. 2023-08-30 08:55:46 +04:00
Ilya Fedin
4c2be58dd3 Update Qt patches on Linux 2023-08-30 05:13:21 +02:00
Ilya Fedin
374e95de31 Update kimageformats 2023-08-30 05:13:21 +02:00
Ilya Fedin
cfe3285e68 Update cmake_helpers 2023-08-29 15:53:49 +02:00
John Preston
7b184e553b Fix build with Xcode. 2023-08-29 17:02:23 +04:00
Ilya Fedin
02e37ab2f2 Update submodules 2023-08-29 08:29:10 +02:00
Ilya Fedin
48206bcf95 Re-use base_linux_library 2023-08-29 08:08:03 +02:00
Ilya Fedin
d0eb7ec522 Fix window extents terminology
Extents is a synonym of size but we're setting not window size.
2023-08-29 08:02:00 +02:00
Ilya Fedin
77c2e12ebc Use non-throwing directory_iterator 2023-08-26 00:14:01 +02:00
Ilya Fedin
a479fcd55c Update cmake_helpers 2023-08-25 10:21:25 +02:00
Ilya Fedin
396635fa1d Make use of the new window-less base::Platform::XDP::ParentWindowID 2023-08-25 10:21:25 +02:00
Ilya Fedin
4755be4ace Add missing returns to skip taskbar Linux abstraction 2023-08-24 11:44:06 +02:00
John Preston
1148a2e144 Show information about default notifications toggle. 2023-08-23 19:43:35 +02:00
John Preston
827e755552 Allow customizing default notifications. 2023-08-23 19:29:56 +02:00
John Preston
b80f5f9706 Manage notifications exceptions in Settings. 2023-08-23 18:09:32 +02:00
John Preston
518f0e22cd Improve small blocklist layout, fix heightMin. 2023-08-23 11:23:28 +02:00
John Preston
610e0e7913 Start default notification settings. 2023-08-22 19:43:13 +02:00
John Preston
e7be8e1c60 Version 4.9.3.
- Fix audio output on macOS.
2023-08-22 16:22:19 +02:00
Ilya Fedin
ac15457961 A better naming for API issue 2023-08-22 16:12:17 +02:00
John Preston
eeb8af3ca6 Fix a glitch in history re-open while loading. 2023-08-22 16:09:11 +02:00
John Preston
8245660c81 Fix inline result title over-optimized layout.
Fixes #26695.
2023-08-22 15:30:57 +02:00
John Preston
b03120d83a Update OpenAL to 1.23.1 on macOS.
This (library rebuild, really) fixes #26694.
2023-08-22 15:30:56 +02:00
John Preston
eab9186790 Fix dividers in passport date input.
Fixes #26683.
2023-08-22 15:30:56 +02:00
John Preston
89dd9c93ef Allow copying static emoji as well. 2023-08-22 15:30:56 +02:00
Ilya Fedin
bb141b4268 Fix Windows action 2023-08-22 14:51:49 +02:00
John Preston
1244200987 Improve edit group info box design. 2023-08-22 11:50:42 +02:00
Ilya Fedin
2af4b2b512 Move systemd to a separate snap part 2023-08-22 09:31:37 +02:00
Ilya Fedin
ed8c8aba17 Add VA-API and VDPAU drivers to snap package 2023-08-22 09:31:12 +02:00
John Preston
20ad39bdf9 Version 4.9.2: Fix build with GCC. 2023-08-21 23:58:10 +02:00
John Preston
1d26a01144 Version 4.9.2: Fix build Xcode. 2023-08-21 21:37:59 +02:00
23rd
5ee7cb4dbf Improved mouse wheel handling in vertical drum picker without animation. 2023-08-21 21:37:06 +02:00
23rd
d14e32f63e Guarded input for both directions in vertical drum picker. 2023-08-21 21:37:04 +02:00
John Preston
bb4476890f Version 4.9.2.
- Remove single recently used emoji or reset the list from context menu.
- Change all emoji skin colors from Emoji & People section.
- Connected Websites section in Settings > Advanced.
- Bug fixes and other minor improvements.
2023-08-21 21:29:58 +02:00
Ilya Fedin
0b115dedf5 Revert "Write Qt messages only to log in debug mode"
This reverts commit 1d2e34f5e9.
2023-08-21 16:36:08 +02:00
Ilya Fedin
2cb7d8ea77 Revert "Log all Qt messages as usual in debug builds."
This reverts commit 52b9a1fceb.
2023-08-21 16:36:08 +02:00
John Preston
23dbe4742a Add recent emoji context menu. 2023-08-21 16:24:12 +02:00
John Preston
58d762f130 Fix web page video message with reactions. 2023-08-21 13:32:09 +02:00
John Preston
d7e2046ef3 Fix maximize/fullscreen of pinned-to-top livestream. 2023-08-21 13:14:22 +02:00
John Preston
56555c330b Don't cancel admin log files download on item destroy. 2023-08-21 12:06:20 +02:00
John Preston
4e3db5b693 Fix build with GCC. 2023-08-21 11:23:53 +02:00
John Preston
05b628da9b Limit libvpx frame size. 2023-08-21 11:06:23 +02:00
John Preston
2f9ae75a65 Message edit: check changes correctly. 2023-08-21 11:06:05 +02:00
23rd
e8e74e7ac7 Updated Qt to 5.15.10 on Windows. 2023-08-21 11:05:40 +02:00
John Preston
c765c4198f Improve updates build script. 2023-08-18 23:03:15 +02:00
John Preston
a2fe91af03 Disable zooming in full screen video view. 2023-08-18 20:02:57 +02:00
John Preston
ccc61028b8 Allow downloading files from webpage collages. 2023-08-18 19:39:22 +02:00
John Preston
b610de30f4 Fix adding downloaded files to Downloads. 2023-08-18 19:25:25 +02:00
John Preston
653d7aadb1 Don't close EditCaptionBox with changed media by click. 2023-08-18 18:14:01 +02:00
John Preston
95ea61cd41 Fix rare repaint glitch in main menu. 2023-08-18 18:06:33 +02:00
Ilya Fedin
96cef39576 Update cmake_helpers 2023-08-18 17:09:21 +02:00
Ilya Fedin
07bbfd1353 Make dark mode update go through Qt code on Linux
This makes the behavior consistent and is possible now thanks to a Qt patch
2023-08-18 17:09:21 +02:00
John Preston
92fec8304e Implement connected websites section. 2023-08-18 17:03:50 +02:00
John Preston
7d4c3766d5 Move to the new autoupdate channel. 2023-08-18 11:00:04 +02:00
John Preston
ed9028e1c4 Allow choosing emoji color for all emoji. 2023-08-18 11:00:04 +02:00
John Preston
ecaf3340f6 Fix audio init crash on macOS. 2023-08-18 10:48:04 +02:00
John Preston
f8c396e2cf Fix scheduled outgoing messages unread state.
Fixes #17079.
2023-08-17 15:36:27 +02:00
John Preston
b23420f775 Fix call stream negotiation.
Fixes #26584.
2023-08-17 15:17:00 +02:00
John Preston
af3cf63e5f Fix OpenGL rendering with precise HighDPI. 2023-08-17 14:22:04 +02:00
John Preston
311691a3bc Use FlatLabel::textMaxWidth. 2023-08-17 13:54:53 +02:00
John Preston
4b0c4eee30 Use name instead of "My Story" if it doesn't fit. 2023-08-17 12:31:57 +02:00
John Preston
5dcca4482a Fix copying photo while it is done uploading.
Fixes #26669.
2023-08-17 11:40:04 +02:00
John Preston
fc47aa0da9 Fix scheduled media editing. 2023-08-17 10:51:10 +02:00
John Preston
83eb352747 Fix archive open in single-column layout.
Regression was introduced in 16128d61c0.

Before we always force-closed the current filter,
which always force-closed the current opened chat.

Now we don't touch the filter if it is All Chats already,
so that it's scroll state isn't forgotten. In that case
we have to clear the stack in single-column layout explicitly.
2023-08-17 10:31:17 +02:00
John Preston
e4811505c8 Fix stale mention / reaction badges. 2023-08-17 10:04:56 +02:00
John Preston
3aebf59a61 Attempt to fix selection loss on Ctrl. 2023-08-16 17:16:38 +02:00
John Preston
b5d3391956 Fix album part edit/delete/replace after reorder. 2023-08-16 17:16:31 +02:00
John Preston
f502229cc8 Disable zoom glitches on stories. 2023-08-16 17:16:19 +02:00
Ilya Fedin
ec9f8943de Use QEvent::registerEventType for custom event types 2023-08-16 16:41:55 +02:00
John Preston
19d5b17d2e Call file dialog from InvokeQueued.
Otherwise for some reason timerEvent-s stop being delivered on
the background thread that processes audio data from the voice chat.

Fixes #24002.
2023-08-16 12:43:01 +02:00
John Preston
bc523c2685 Version 4.9.1: Allow highlighting client side messages. 2023-08-15 20:04:03 +02:00
John Preston
b871a29275 Version 4.9.1: Fix states of archive settings.
Fixes #26510.
2023-08-15 19:16:53 +02:00
John Preston
3fe9ba41ba Improve chats expand animation.
Fixes #25890.
2023-08-15 16:50:41 +02:00
John Preston
4e95d62018 Version 4.9.1.
- Fix a crash in reply area ripple animation.
- Fix a crash on start in some Linux distributions.
2023-08-15 15:53:31 +02:00
John Preston
d57d95c53f Pass context chat from one webview to another. 2023-08-15 15:01:34 +02:00
Ilya Fedin
87f52cf7df Downgrade libwayland to the version before thread safe API was introduced
This API sadly not present on older systems and we have to use the thread unsafe one if we want to be compatible with them
2023-08-15 13:35:00 +02:00
23rd
3c246fa49d Fixed crash on destroying message view with reply ripple animation. 2023-08-15 13:08:28 +02:00
John Preston
5285f74b13 Use outline premium icon. 2023-08-15 13:07:29 +02:00
John Preston
80fb506f84 Use underlying QPlatformSystemTrayIcon on Windows.
Fixes #26655.
2023-08-15 12:11:45 +02:00
23rd
fd6e135700 Ignored drag action on reply links in unwrapped media. 2023-08-15 10:27:10 +03:00
23rd
9bf5f992a3 Removed not really necessary HistoryView::Media::dragItem method. 2023-08-15 10:26:52 +03:00
23rd
f539912405 Fixed overriding all link handlers in messages with reply. 2023-08-15 09:48:45 +03:00
23rd
a0fb81b871 Removed text transform from send button in toasts. 2023-08-15 09:48:45 +03:00
23rd
3d0b139c40 Removed text transform from update application button. 2023-08-15 09:48:45 +03:00
23rd
29a458c8a0 Added ability to jump between channel posts with Ctrl + arrow shortcuts. 2023-08-15 09:48:45 +03:00
John Preston
2e6abf0bed Version 4.9: Fix build with GCC. 2023-08-15 00:33:18 +02:00
c0re100
b1cf6c57b3 Update CMakeLists.txt
Move `ASM` to Linux only
To avoid `cannot open file 'dxguid.obj'` on Windows.

Closes #26646
2023-08-15 00:14:11 +02:00
John Preston
b352537279 Version 4.9: Fix build with Xcode. 2023-08-14 22:58:42 +02:00
John Preston
751af75f3e Version 4.9.
- Gradual stories rollout.
2023-08-14 22:30:40 +02:00
23rd
10829d4a6c Added glare effect to inline bot buttons while waiting response. 2023-08-14 22:30:40 +02:00
John Preston
79e8b1dbca Don't check contact status for bots / service. 2023-08-14 22:30:40 +02:00
John Preston
cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston
59546e87dc Fix multi-monitor window adjust on Windows. 2023-08-14 22:30:40 +02:00
John Preston
94f842a81f Fix Shift+F10 context menu in media viewer.
Fixes #26595.
2023-08-14 22:30:39 +02:00
John Preston
f1ab712f07 Fix outdated bar closing. 2023-08-14 22:30:39 +02:00
John Preston
d52475666d Suggest group-with-hidden-members admins in mentions. 2023-08-14 22:30:39 +02:00
John Preston
027e662478 Fix story links opening viewer in the background. 2023-08-14 22:30:39 +02:00
John Preston
de4152496f Add archive settings to context menu. 2023-08-14 22:30:39 +02:00
John Preston
ae26c781c1 Fix build with Xcode. 2023-08-14 22:30:39 +02:00
John Preston
88c7b16b44 Fix reaction emoji disappearing. 2023-08-14 22:30:39 +02:00
John Preston
dbe7f42881 Update API scheme on layer 161. 2023-08-14 22:30:38 +02:00
John Preston
1207e84dcb Add reaction menu to story context menu. 2023-08-14 22:30:38 +02:00
John Preston
2dfaf27884 Fix colors for colorized stories reactions. 2023-08-14 22:30:38 +02:00
John Preston
e6ad367c55 Show reactions in story viewers list. 2023-08-14 22:30:38 +02:00
John Preston
13f67d68c4 Implement custom reactions in stories. 2023-08-14 22:30:38 +02:00
John Preston
066dbfe8fc Handle clicks on location areas in stories. 2023-08-14 22:30:38 +02:00
John Preston
ebe2088561 Parse story location marks. 2023-08-14 22:30:38 +02:00
John Preston
4e78c24abf Show reactions count below my stories. 2023-08-14 22:30:38 +02:00
John Preston
318d75cc63 Update API scheme on layer 161. 2023-08-14 22:30:38 +02:00
John Preston
6be1a05876 Add NEW badge to stories premium promo. 2023-08-14 22:30:38 +02:00
John Preston
7877cb0b3a Implement stories premium promo. 2023-08-14 22:30:37 +02:00
John Preston
40b274e1b4 Add effect animation for heart-like. 2023-08-14 22:30:37 +02:00
John Preston
4bd925ac2c Implement simple UI for single-type likes in stories. 2023-08-14 22:30:37 +02:00
John Preston
3adb0c1856 Show correct reply placeholder in stealth mode. 2023-08-14 22:30:37 +02:00
John Preston
c12297d8cb Implement stealth mode in stories. 2023-08-14 22:30:37 +02:00
John Preston
5575d50277 Update API scheme to layer161. 2023-08-14 22:30:37 +02:00
23rd
8a24f33c06 Added warning of limitation on excluding chats from filter from menu. 2023-08-14 22:30:37 +02:00
23rd
717041a462 Added ripple animation to message replies. 2023-08-14 22:30:36 +02:00
Ilya Fedin
238d4b8e17 Build OpenAL in RelWithDebInfo mode on macOS 2023-08-15 00:27:36 +04:00
John Preston
ff2df4b1e5 Beta version 4.8.12. (macOS only)
- Fix crash in file attachments by a full rebuild on macOS.
2023-08-11 13:45:05 +02:00
John Preston
58c91be156 Fix location links with Bing Maps uninstalled.
Fixes #26506.
2023-08-11 11:47:18 +02:00
John Preston
8cc3eb4bfe Change default URL scheme to https.
Fixes #26499.
2023-08-11 10:23:05 +02:00
John Preston
7ee9028783 Beta version 4.8.11.
- Fix initial video playback speed.
- Use native window resize on Windows 11.
- Fix memory leak in Direct3D 11 media viewer on Windows.
2023-08-10 22:24:16 +02:00
John Preston
18fc09c8e7 Improve top resize area on Windows 11. 2023-08-10 22:20:45 +02:00
Ilya Fedin
f7bff01793 Fullscreen hack for Windows 11 native resize 2023-08-10 20:04:27 +04:00
Ilya Fedin
404ce2e011 Add check for vaapi/vdpau libraries before loading them with implib 2023-08-10 19:54:52 +04:00
Ilya Fedin
249f0890df Add implib support 2023-08-10 19:54:52 +04:00
Ilya Fedin
6408ab2c00 Bring back vaapi/vdpau support to Dockerfile 2023-08-10 19:54:52 +04:00
Ilya Fedin
786d8dd22e Get rid of QOpenGLWidget in main_window_mac
ui_window_mac has logic depending on Qt version to use Metal when possible, this will conflict once Qt is updated to 6.4+
2023-08-10 19:37:53 +04:00
Ilya Fedin
12eed5f433 Get optional string support in cppgir 2023-08-10 19:33:01 +04:00
John Preston
dfe36f638b Correctly apply editions to media-edit-in-progress. 2023-08-10 18:19:00 +03:00
John Preston
21b06f390c Fix initial video playback speed.
Regression was introduced in b663edff09.
2023-08-10 18:19:00 +03:00
John Preston
56fa88f47f Update ANGLE revision, workaround D3D11 memory leak. 2023-08-10 18:19:00 +03:00
John Preston
c5718678ea Disable OpenGL ANGLE backend.
Currently ANGLE can work through desktop OpenGL only with enabled
attribute EGL_SURFACE_ORIENTATION_INVERT_Y_ANGLE.

Qt can't work with it enabled and shows vertically flipped content.
2023-08-10 18:19:00 +03:00
John Preston
39a80c6604 Improve sticker sets box design. 2023-08-10 18:19:00 +03:00
John Preston
6441266879 Improve tabbed slider design. 2023-08-10 18:19:00 +03:00
John Preston
f3ba8fea57 Support vertical attach modify buttons layout. 2023-08-10 18:19:00 +03:00
John Preston
38941eb3c8 Invoke linux prepare script the same way. 2023-08-08 13:26:22 +02:00
Ilya Fedin
9ef7806130 Update submodules 2023-08-06 21:20:10 +04:00
Ilya Fedin
c2e96db358 Fix a typo in the LinuxIntegration event dispatcher warning 2023-08-06 21:20:10 +04:00
Ilya Fedin
1cad1966f7 Try to instantiate GApplication instance without nested event loop 2023-08-06 21:20:10 +04:00
Ilya Fedin
8669e6a891 Port GApplication to cppgir 2023-08-06 21:20:10 +04:00
John Preston
bda3bae712 Always use crl::time for media durations. 2023-08-04 08:46:46 +02:00
23rd
39e8ed22a9 Removed display of all layers in media view on open any media. 2023-08-04 08:46:46 +02:00
23rd
5515988439 Fixed false clicking on Silent post toggle when mouse is outside. 2023-08-04 08:46:45 +02:00
23rd
0f70f9e89d Removed Screencast button from Call panel while pending call. 2023-08-04 08:46:45 +02:00
23rd
1364dba015 Added phrase for limit of number of chats that never show in filter. 2023-08-04 08:46:45 +02:00
23rd
d6e1ee2a28 Added closing of attached bot web view when app is locked by passcode.
Fixed #26582.
2023-08-04 08:46:45 +02:00
23rd
29db7488fc Slightly moved right action icon in message view for forwarded messages.
Fixed #26587.
2023-08-04 08:46:45 +02:00
23rd
eb2fa5b806 Added round corners to preview in pinned messages bar. 2023-08-04 08:46:45 +02:00
GitHub Action
506fa52c1c Update User-Agent for DNS to Chrome 115.0.5790.102. 2023-08-04 10:46:06 +04:00
Ilya Fedin
0e3e0c5b81 Do a D-Bus request instead of systemctl command for D-Bus config reload 2023-08-03 18:14:17 +04:00
Ilya Fedin
da55698a51 Generate GUID for GNotification
That's what g_application_send_notification does when ID is not passed and that simplifies the code
2023-08-03 18:12:55 +04:00
Ilya Fedin
cf781e1043 Port AppLaunchContext to cppgir 2023-08-03 18:11:31 +04:00
John Preston
8ec0bdcac9 Version 4.8.10: Fix build with GCC. 2023-07-28 21:46:41 +04:00
John Preston
81be0ef20b Version 4.8.10.
- Send story sharing comments as separate messages.
- Fix stories explanation tooltip ordering.
2023-07-28 21:41:24 +04:00
John Preston
1c1e643735 Use close icon from group calls in stories tooltip. 2023-07-28 21:38:59 +04:00
John Preston
84ce95cc95 Update toast colors in day-blue / day-custom-base. 2023-07-28 21:37:42 +04:00
John Preston
61f4defa4d Partially revert "Support and use share comment in stories."
Send sharing comment as a separate message, like in posts sharing.
2023-07-28 21:20:18 +04:00
John Preston
f58171b50b Fix tooltips in group calls. 2023-07-28 20:45:04 +04:00
John Preston
815e9d2462 Call viewMessage only when marking as read. 2023-07-28 12:20:41 +04:00
John Preston
7d1725b339 Simplify ordering of stories tooltip. 2023-07-28 12:19:53 +04:00
John Preston
fcd1062d78 Use message date instead of file date in voices. 2023-07-28 12:19:53 +04:00
John Preston
e59e7d9b97 Correct check for scheduled message ids. 2023-07-28 11:48:16 +04:00
John Preston
48687d443f Use message date instead of file date. 2023-07-28 11:48:16 +04:00
John Preston
b663edff09 Improve silent stories playback. 2023-07-28 11:48:16 +04:00
23rd
7149119098 Fixed style of media player controls. 2023-07-28 10:06:27 +03:00
23rd
a08e42fb97 Moved edit folders button from folders menu to context menu. 2023-07-28 10:06:27 +03:00
23rd
19ba685cc3 Added ability to mark as read all chats from menu of filter button. 2023-07-28 03:37:40 +03:00
23rd
4017d8db7c Removed Save button from box for bot username editing. 2023-07-28 02:44:20 +03:00
23rd
73373e373f Moved important tooltip for stories in dialogs to MainWidget. 2023-07-26 22:23:45 +03:00
23rd
ebbef70d42 Removed self from contacts list. 2023-07-26 18:40:02 +03:00
John Preston
e6a80927c6 Version 4.8.9: Fix build with GCC. 2023-07-26 13:46:58 +04:00
John Preston
770880b74b Version 4.8.9: Add hiding X button to stories tooltip. 2023-07-26 13:43:25 +04:00
John Preston
b6e2360f51 Version 4.8.9.
- Bug fixes and other minor improvements.
2023-07-26 12:37:10 +04:00
23rd
16e5792f3a Improved style of buttons in stickers search results. 2023-07-26 12:06:51 +04:00
23rd
16820139dd Improved style of stickers settings box. 2023-07-26 12:06:50 +04:00
John Preston
ce39431beb Don't jump by scroll events in stories viewer. 2023-07-26 12:01:53 +04:00
John Preston
3654c197a9 Fix DirectManipulation scroll events in media viewer. 2023-07-26 12:00:57 +04:00
John Preston
5dc35bc75f Fix userpics in "Who Read" menu. 2023-07-26 12:00:43 +04:00
John Preston
37ab65d952 Allow editing photos in messages in ComposeControls. 2023-07-26 10:47:19 +04:00
John Preston
e71f614f4d Fix a possible crash in messages list. 2023-07-26 09:48:44 +04:00
John Preston
2d31704bde Fix lock/unlock button visibility. 2023-07-26 09:45:06 +04:00
John Preston
642c5a37c5 Version 4.8.8.
- Several crash fixes and story viewer improvements.
2023-07-25 21:34:40 +04:00
John Preston
885a8b3161 Attempt to fix a crash in pinned message translations. 2023-07-25 21:33:32 +04:00
John Preston
30334b6c74 Attempt to fix crash in story preloading. 2023-07-25 20:50:21 +04:00
John Preston
35f0f87f73 Fix possible crash in story deletion.
Fixes #26571.
2023-07-25 20:24:14 +04:00
John Preston
a85f33f7d3 Fix reactions strip glitch in story reply sending. 2023-07-25 20:08:26 +04:00
John Preston
6098e5ac33 Close stories on Key_Right press on last one. 2023-07-25 18:03:02 +04:00
John Preston
0f2e8d9a79 Add a small scale for stories siblings. 2023-07-25 17:59:53 +04:00
John Preston
5aa6102903 Implement nice expandable story caption viewer. 2023-07-25 17:48:31 +04:00
John Preston
8cc90c3373 Fix media viewer with MacBook top notch. 2023-07-25 12:30:52 +04:00
John Preston
b7ea9a2837 Block tab-focus inside a layer widget. 2023-07-25 10:45:17 +04:00
John Preston
57fc9f71ac Fix some stories tooltip edge cases. 2023-07-25 10:45:08 +04:00
23rd
065eb8e63c Removed tabbing navigation from short info box. 2023-07-25 02:10:44 +03:00
23rd
921aeb3083 Removed display of all layers in media view on open story. 2023-07-24 23:33:37 +03:00
23rd
fd33fb4e7a Fixed style of input field in boxes from compose controls in media view. 2023-07-24 23:09:11 +03:00
23rd
9a72b05117 Removed left button from short info box with self. 2023-07-24 22:15:51 +03:00
23rd
16117e56bb Added phrase for public photo to short info box. 2023-07-24 22:10:21 +03:00
John Preston
fce8bc6201 Add stories-above-chats-list tooltip. 2023-07-24 21:42:13 +04:00
23rd
65a344be76 Added phrase for personal photo to short info box. 2023-07-24 20:02:46 +03:00
23rd
3a472d1b90 Removed first animation from radio button in premium graphics. 2023-07-24 18:38:08 +03:00
23rd
6d69a78a05 Fixed width updating of message field with hidden right buttons. 2023-07-24 17:52:06 +03:00
23rd
39f494eadd Removed display of right buttons in message field while editing message. 2023-07-24 17:52:06 +03:00
23rd
4e109e0517 Added support build of dav1d on arm machines. 2023-07-24 17:08:56 +04:00
John Preston
2323aef899 Show nice tooltips about story privacy / silence. 2023-07-24 17:01:33 +04:00
John Preston
320db83155 Fix build with GCC. 2023-07-24 15:31:43 +04:00
Avimitin
88a165d676 Use absolute executable path for dbus service
After the v4.8.7 release, I cannot launch telegram desktop because of the
recent dbus support introduced in
2dfe858327.
And it was fixed after I changed the value of the Exec field to absolute
path to the telegram-desktop executable.

In dbus specification they don't mention that they will find
executable from PATH variable, so this is a UB.
After this commit, cmake will use the full install path to generate the correct service file
and fix the above issue.

Signed-off-by: Avimitin <dev@avimit.in>
2023-07-24 14:20:51 +04:00
John Preston
fb4e05405e Support and use share comment in stories. 2023-07-24 11:43:20 +04:00
John Preston
0b1b996e33 Fix build with MSVC. 2023-07-24 10:44:36 +04:00
John Preston
727bfd1059 Fix incorrect state of ElasticScroll. 2023-07-24 10:44:01 +04:00
Ilya Fedin
272d2da04a Stabilize app id on Linux when -workdir is set to the default workdir
Currently the app id hash is generated from workdir path only when it's set explicitly and that's for a good reason: the default workdir could be changed (e.g. by creating a TelegramForcePortable) and app id would change what would result in a duplicate .desktop created.

The current code has the possibility of having duplicate .desktop files, too, as it happened, but by specifying -workdir to the same directory as the default one.

There's now a check that ensures the specified workdir is really custom so those duplicate launchers could be removed what should really stabilize the hash.
2023-07-24 10:37:38 +04:00
Ilya Fedin
cd7539c001 Detect when -workdir value is not really custom 2023-07-24 10:37:38 +04:00
Ilya Fedin
100e875530 Short launcher access in Logs::start 2023-07-24 10:37:38 +04:00
John Preston
0c61e0e184 Version 4.8.7.
- Several crash fixes and small stories improvements.
2023-07-21 21:59:08 +04:00
John Preston
0b32a0a1ea Lock scroll either horizontal or vertical. 2023-07-21 21:50:35 +04:00
John Preston
676a3f8cfa Open hidden stories by archive userpic click. 2023-07-21 20:31:10 +04:00
John Preston
daef7faaa4 Don't open stories from userpic in narrow chats mode. 2023-07-21 20:23:52 +04:00
John Preston
87206a6c79 Use transparent outline for stories in chats list. 2023-07-21 19:49:58 +04:00
John Preston
5bda700c2c Fix t.me/s/domain links. 2023-07-21 19:25:55 +04:00
John Preston
fd3169f82d Fix admins list restore in group profile. 2023-07-21 19:17:14 +04:00
John Preston
e7312697bf In the viewer remember which story was opened. 2023-07-21 18:49:54 +04:00
John Preston
c0b7577db9 If opening an unread story show only unread. 2023-07-21 18:21:42 +04:00
John Preston
06e49c6813 Fix opening t.me/channel with min-loaded channels. 2023-07-21 18:21:42 +04:00
Ilya Fedin
30c73fbdf2 Fix D-Bus service with non-standard workdir or backslash in the path
Working dir not set leads to unrelevant instance being launched with unrelevant bus name and entire launchf fails.

D-Bus service files also don't need backslash escaping unlike the .desktop files.
2023-07-21 17:53:24 +04:00
John Preston
2cc0faa5b3 Pause stories if reply context menu is shown. 2023-07-21 17:11:49 +04:00
John Preston
0b5c0e3e98 Force internal player for stories. 2023-07-21 16:44:28 +04:00
John Preston
21fa3264e3 Pause video while caption is expanded. 2023-07-21 16:40:20 +04:00
John Preston
75dc7e6e81 Fix a crash with possible empty contact name. 2023-07-21 14:42:51 +04:00
John Preston
f8e8155452 Fix possible crash with large UI scale values. 2023-07-21 14:42:26 +04:00
John Preston
863313531d Fix crash in viewed shared story deletion. 2023-07-21 13:44:43 +04:00
John Preston
9d8d039886 Fix possible crash in pinned item translations. 2023-07-21 13:15:38 +04:00
John Preston
2402285d03 Fix possible crash in views refresh. 2023-07-21 13:11:53 +04:00
John Preston
315b95a214 Fix voice recording indicator. 2023-07-21 12:58:36 +04:00
John Preston
b7370127ff Correctly clear story instances on deletion. 2023-07-21 12:22:53 +04:00
John Preston
76f7a870ed Return loading of full archive. 2023-07-21 11:53:56 +04:00
Ilya Fedin
3cb49127f4 Make a weak pointer for GApplication startup lambda
Or it never gets destroyed
2023-07-21 06:48:57 +04:00
John Preston
5fc10c934a Version 4.8.6.
- Fix langpack keys by a full rebuild on macOS.
2023-07-21 06:18:47 +04:00
John Preston
9a6cb68d71 Version 4.8.5: Fix build with GCC. 2023-07-21 00:53:53 +04:00
John Preston
e646205bca Version 4.8.5: Fix build. 2023-07-20 23:30:12 +04:00
John Preston
e034f5e304 Version 4.8.5.
- Bug fixes and other minor improvements. And stories preview.
2023-07-20 23:19:48 +04:00
John Preston
1bdab16d7b Pause story while previewing a voice note. 2023-07-20 23:13:35 +04:00
John Preston
2cd08b8923 Cut off name / date correctly. 2023-07-20 23:08:43 +04:00
John Preston
c35556b33a Improve short info button geometry. 2023-07-20 22:31:47 +04:00
John Preston
1f47b8e130 Fix userpics list glitch. 2023-07-20 22:19:32 +04:00
John Preston
94ad9221ed Fix opening recent viewers short profiles. 2023-07-20 22:08:24 +04:00
John Preston
6e3c3a8dd2 Collapse stories on archive open/close. 2023-07-20 21:42:35 +04:00
Ilya Fedin
9ccb11bd1a Avoid using const_string for constant consumed by std::string 2023-07-20 21:39:06 +04:00
John Preston
68fa3e36d7 Fix story mention text updating. 2023-07-20 20:50:04 +04:00
John Preston
150957abcd Fix story viewer after attach choose dialog. 2023-07-20 20:20:38 +04:00
John Preston
75f542747d Fix build with GCC. 2023-07-20 20:12:47 +04:00
John Preston
d392c7e8f0 Use only vertical volume dropdown layout. 2023-07-20 19:39:24 +04:00
John Preston
5b10b7e15f Use separate record cancel text in stories. 2023-07-20 19:39:24 +04:00
John Preston
0b7af5bfe3 Auto-focus story reply on input start. 2023-07-20 19:31:43 +04:00
John Preston
da5bce00d4 Gray out names of users with non-unread stories. 2023-07-20 19:17:46 +04:00
John Preston
7e18ecfb78 Use "My Story" instead of name in viewer. 2023-07-20 19:10:10 +04:00
John Preston
dd9ea29334 Close short info box by outside click in stories. 2023-07-20 19:07:51 +04:00
John Preston
93457c8ea3 Fix possible crash in legacy group participants. 2023-07-20 18:44:40 +04:00
Ilya Fedin
d60d80ba63 Reuse lib_ui's title control side deduction code 2023-07-20 17:58:41 +04:00
Ilya Fedin
f817df9d7f Use new glibmm 2.78 API 2023-07-20 17:58:07 +04:00
John Preston
d7d493e0bf Don't open stories on saved messages click. 2023-07-20 13:55:30 +04:00
John Preston
150cbe2866 Support silent video volume toggle state. 2023-07-20 10:21:04 +04:00
John Preston
7d067d4924 Fix build with Xcode. 2023-07-20 10:20:53 +04:00
John Preston
92f2b6dfbf Fix unintentional stories viewer move-by-mouse-drag. 2023-07-20 10:00:29 +04:00
John Preston
69b9c63a69 Implement volume dropdown. 2023-07-20 07:20:57 +04:00
John Preston
80bdf9b74c Add play/pause button to video stories. 2023-07-20 07:20:57 +04:00
John Preston
c2805d92a5 Fix marking stories as read. 2023-07-20 07:20:57 +04:00
John Preston
99926be57a Add privacy badge to stories userpic. 2023-07-20 07:20:57 +04:00
John Preston
ffd691e556 Update API scheme, pass privacy info to viewer. 2023-07-20 07:20:57 +04:00
John Preston
585bbd45f4 Fix undesired lock/unlock button visibility. 2023-07-20 07:20:57 +04:00
John Preston
04a969cc5f Fix calls peer-to-peer privacy button icon. 2023-07-20 07:20:57 +04:00
John Preston
4e046ca31a Closed alpha version 4.8.4.5. 2023-07-20 07:20:57 +04:00
John Preston
961dd2a4a8 Break large stories lists by days in viewer. 2023-07-20 07:20:57 +04:00
John Preston
b630e48a77 Improve chats list filter border. 2023-07-20 07:20:57 +04:00
John Preston
f31b40f6ce Add stories outline to group participants list. 2023-07-20 07:20:57 +04:00
John Preston
fad05e8b35 Update tgcalls. 2023-07-20 07:20:57 +04:00
John Preston
4402cce928 Allow archive with stories only. 2023-07-20 07:20:57 +04:00
John Preston
35214d108e Move Bio privacy up a bit. 2023-07-20 07:20:57 +04:00
John Preston
8818012182 Show segments around chats list userpics. 2023-07-20 07:20:57 +04:00
John Preston
734c5c6740 Use a single Ui::UnreadStoryOutlineGradient. 2023-07-20 07:20:57 +04:00
John Preston
04f1a7be02 Preload not_hidden -> hidden -> archive. 2023-07-20 07:20:57 +04:00
John Preston
5f4dcc5eb6 Show segments in expanded stories list. 2023-07-20 07:20:57 +04:00
John Preston
89bd3c10c5 Fix crash in premium preview box. 2023-07-20 07:20:56 +04:00
John Preston
3b59f52028 Fix overscroll background on theme change. 2023-07-20 07:20:56 +04:00
John Preston
b46799f2c3 Fix premium gift message layout. 2023-07-20 07:20:56 +04:00
John Preston
de0b79aee8 Use larger skips in segments to allow up to 50. 2023-07-20 07:20:56 +04:00
John Preston
3606e62515 Apply interface scale multiplier in overscroll. 2023-07-20 07:20:56 +04:00
John Preston
ad8f06fd95 Mark stories as read almost instantly. 2023-07-20 07:20:56 +04:00
John Preston
6b4ccd2995 Fix lock/unlock toggle without stories. 2023-07-20 07:20:56 +04:00
John Preston
3851fa27d9 Update lock/unlock icon. 2023-07-20 07:20:56 +04:00
John Preston
d46f974ab5 Fix mark-as-read of deleted accounts by Enter. 2023-07-20 07:20:56 +04:00
John Preston
1f69c61d51 Fix init glitch in ComposeControls. 2023-07-20 07:20:56 +04:00
John Preston
5f5933c1b3 Improve overscroll, revert cmake_helpers. 2023-07-20 07:20:56 +04:00
John Preston
94820f36ba Improve expanded state of small amount of stories. 2023-07-20 07:20:56 +04:00
John Preston
10f65c63e7 Allow opening unknown stories from chats list. 2023-07-20 07:20:56 +04:00
John Preston
3c28e7b585 Mark as read recent stories in profile top bar. 2023-07-20 07:20:56 +04:00
John Preston
74014d18a5 Fix build with GCC. 2023-07-20 07:20:56 +04:00
John Preston
ac136638a4 Closed alpha version 4.8.4.4. 2023-07-20 07:20:56 +04:00
John Preston
5368507259 Improve lock/unlock icon behavior. 2023-07-20 07:20:56 +04:00
John Preston
5d234d3103 Update API scheme on layer 160. 2023-07-20 07:20:56 +04:00
John Preston
39a1743e7e Fix overscroll in topics list. 2023-07-20 07:20:56 +04:00
John Preston
7d98acb4a3 Closed alpha version 4.8.4.3. 2023-07-20 07:20:56 +04:00
John Preston
21a5e26250 Add current stories label to profile top bar. 2023-07-20 07:20:52 +04:00
John Preston
91cc5f5284 Fix small stories thumbnails in profile / my stories. 2023-07-20 07:20:47 +04:00
John Preston
8a974273b9 Fix possible crash in click handling. 2023-07-20 07:20:47 +04:00
John Preston
ebd8380019 Use correct reply placeholder in stories view. 2023-07-20 07:20:47 +04:00
John Preston
2664d984d9 Ignore wrong wheel direction in ElasticScroll. 2023-07-20 07:20:47 +04:00
John Preston
51027a0bc2 Workaround Wayland popup menu bug.
When hiding a child popup first the app receives ApplicationDeactivate
event and in a short time (a couple of ms) ApplicationActivate.

But the first event hides all popups, so the parent popup gets closed too.

Delay handling of ApplicationDeactivate event in this specific case.
2023-07-20 07:20:47 +04:00
John Preston
196447ac19 Fix build with GCC. 2023-07-20 07:20:46 +04:00
John Preston
66532aaac5 Workaround for std::variant bug in libstdc++. 2023-07-20 07:20:46 +04:00
John Preston
bbe4312017 Use GSL from a desktop-app fork. 2023-07-20 07:20:46 +04:00
John Preston
6607848abc Fix build with GCC. 2023-07-20 07:20:46 +04:00
John Preston
f7cbac1f46 Try different function in overscroll. 2023-07-20 07:20:46 +04:00
John Preston
b0403553fa Remove testing more chats bar. 2023-07-20 07:20:46 +04:00
John Preston
8726884b21 Fix media rotation animation. 2023-07-20 07:20:46 +04:00
John Preston
641a03c988 Fix crash on mention story opening. 2023-07-20 07:20:46 +04:00
John Preston
35e34541b0 Closed alpha version 4.8.4.2. 2023-07-20 07:20:46 +04:00
John Preston
05cf8d034e Improve touch-screen stories overscroll. 2023-07-20 07:20:46 +04:00
John Preston
dfd1aa5cd6 Fix empty stories list hiding. 2023-07-20 07:20:46 +04:00
John Preston
06469270d0 Remove hidden stories from contacts box. 2023-07-20 07:20:46 +04:00
John Preston
7b911897fc Remove legacy summaries from stories list. 2023-07-20 07:20:46 +04:00
John Preston
70ca3d4f1a Show hidden stories in archive. 2023-07-20 07:20:46 +04:00
John Preston
61b8aac7c4 Allow manually toggle stories expand state. 2023-07-20 07:20:46 +04:00
John Preston
85795aa376 Working stories in overscroll. 2023-07-20 07:20:44 +04:00
John Preston
e0c10e7cc2 Fix scroll-to-top in chats list visibility. 2023-07-20 07:20:33 +04:00
John Preston
dc806d4286 Try ElasticScroll in Dialogs::Widget. 2023-07-20 07:20:33 +04:00
John Preston
08ee386b28 Fix build for macOS. 2023-07-20 07:20:33 +04:00
John Preston
1c914e40bb Closed alpha version 4.8.4.1. 2023-07-20 07:20:33 +04:00
John Preston
6a11888852 Poll views for my story that is viewed. 2023-07-20 07:20:33 +04:00
John Preston
5ccb97668c Add short-polling of stories. 2023-07-20 07:20:33 +04:00
John Preston
12fe0a836a Apply editions in realtime, show badge. 2023-07-20 07:20:33 +04:00
John Preston
ee507722ba Add stories counter to hidden stories sources. 2023-07-20 07:20:33 +04:00
John Preston
57b7391f53 Improve design of contacts according to mockups. 2023-07-20 07:20:33 +04:00
John Preston
e41dba5fb2 Cache title controls layout. 2023-07-20 07:20:33 +04:00
John Preston
a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston
d7d8847c1d Show stories in chats list userpics. 2023-07-20 07:20:33 +04:00
John Preston
9a29807276 Show stories segments in contacts list. 2023-07-20 07:20:33 +04:00
John Preston
451c4e3101 Implement vertical list of hidden story sources. 2023-07-20 07:20:33 +04:00
John Preston
a79deb89ce Update API scheme on laydr 160. 2023-07-20 07:20:33 +04:00
John Preston
f0ab6e5690 Update main menu and stories icons. 2023-07-20 07:20:33 +04:00
John Preston
ef1f1846a4 Respect PowerSaver in TranslateBox. 2023-07-20 07:20:33 +04:00
John Preston
e66d9d5d24 Fix jump to top on a new message send. 2023-07-20 07:20:33 +04:00
John Preston
fcc15dd52d Open profile on header click. 2023-07-20 07:20:33 +04:00
John Preston
ac534780cc Implement context menu actions in stories list. 2023-07-20 07:20:33 +04:00
John Preston
a733b83642 Use stories ShareBox from the saved stories list. 2023-07-20 07:20:33 +04:00
John Preston
5f72a5238c Save to Profile / Archive / Delete in list. 2023-07-20 07:20:33 +04:00
John Preston
af0e578da5 Save to Profile / Archive stories from the viewer. 2023-07-20 07:20:32 +04:00
John Preston
6c960243a9 Improve story source context menus. 2023-07-20 07:20:32 +04:00
John Preston
074a4e3c92 Track stories deletion and refresh views. 2023-07-20 07:20:32 +04:00
John Preston
1d5b57c39c Add video story saved toast to viewer. 2023-07-20 07:20:32 +04:00
John Preston
3d795f2f67 Implement story mention messages. 2023-07-20 07:20:32 +04:00
John Preston
75d4ba7be1 Use scroll phase information from wheel events. 2023-07-20 07:20:32 +04:00
John Preston
1cd20ff5e2 Implement custom scrolling using DirectManipulation.
Use it in Ui::RpWindow. This is an experiment.

Thanks Chromium and Firefox.
2023-07-20 07:20:29 +04:00
John Preston
24012a76b3 Fix stories snap-by-timeout on macOS. 2023-07-20 07:20:14 +04:00
John Preston
71e341237d Improve touchscreen chats list stories physics. 2023-07-20 07:20:14 +04:00
John Preston
fba1b79252 Don't delete files on Shift+Drop on Windows. 2023-07-20 07:20:14 +04:00
John Preston
fda2f56fd8 Don't copy empty selected text. 2023-07-20 07:20:14 +04:00
John Preston
b46659eb22 Restore scroll to collapsed stories in chats list. 2023-07-20 07:20:14 +04:00
John Preston
a73490e5ad Add simple scroll control to Hidden Stories. 2023-07-20 07:20:14 +04:00
John Preston
c61e1b9139 Don't scroll through from chats list to stories. 2023-07-20 07:20:14 +04:00
John Preston
7f583f86c0 Nice expand / collapse animations. 2023-07-20 07:20:14 +04:00
John Preston
aff094f278 Prevent some accidental story closing. 2023-07-20 07:20:14 +04:00
John Preston
aa2cf2f6ca Collapse stories on chat open. 2023-07-20 07:20:14 +04:00
John Preston
bc7da9309d Fix controls in regular media viewer. 2023-07-20 07:20:14 +04:00
John Preston
010c666d23 Preload next stories inside the media viewer. 2023-07-20 07:20:14 +04:00
John Preston
d567282430 Preload stories in the sources lists. 2023-07-20 07:20:14 +04:00
John Preston
21543338d7 On typing in messages selection focus input field. 2023-07-20 07:20:14 +04:00
John Preston
a57e9990b0 Update API scheme on layer 160. 2023-07-20 07:20:13 +04:00
John Preston
e7ccf5d8ad Fix possible std::clamp contract violation. 2023-07-20 07:20:13 +04:00
John Preston
6eaa192f51 Don't allow reply to changelog stories. 2023-07-20 07:20:13 +04:00
John Preston
0183790518 Improve archive / unarchive story toast. 2023-07-20 07:20:12 +04:00
John Preston
3c44cf0251 Track all sponsored messages clicks. 2023-07-20 07:20:12 +04:00
John Preston
7ad5520b82 Support external links sponsored messages. 2023-07-20 07:20:12 +04:00
John Preston
859636ff9c Show "Expired story" in the reply bar. 2023-07-20 07:20:12 +04:00
John Preston
1b581a1597 Support story link previews. 2023-07-20 07:20:12 +04:00
John Preston
22b6f27f7b Put changelog stories above premium stories. 2023-07-20 07:20:12 +04:00
John Preston
e21c06f67c Support deleting and reporting stories. 2023-07-20 07:20:12 +04:00
John Preston
ebafb55b1b Cache stories sources order in viewer. 2023-07-20 07:20:12 +04:00
John Preston
4e39144d0f Resolve unknown story on open. 2023-07-20 07:20:12 +04:00
John Preston
80bec508b6 Support new stories link t.me/username/s/123. 2023-07-20 07:20:12 +04:00
John Preston
eb260b91c1 Improve unsupported stories design. 2023-07-20 07:20:12 +04:00
John Preston
8d2fd4bd69 Show only hidden stories in Contacts. 2023-07-20 07:20:12 +04:00
John Preston
19d0bf142c Improve empty / archived stories section. 2023-07-20 07:20:12 +04:00
John Preston
d2dd63e90a Show active stories in profile top bar. 2023-07-20 07:20:12 +04:00
John Preston
738e20252e Fix a crash in saved stories layer management. 2023-07-20 07:20:12 +04:00
John Preston
e98770d418 Improve saved / archive stories design. 2023-07-20 07:20:12 +04:00
John Preston
119ee6044a Update stories icons in some places. 2023-07-20 07:20:12 +04:00
John Preston
2a1631247d Add stories to data export. 2023-07-20 07:20:12 +04:00
John Preston
08c4f1f67a Force streaming bit for stories videos. 2023-07-20 07:20:12 +04:00
John Preston
fc0902adf0 Force focus on parent widget on story show. 2023-07-20 07:20:11 +04:00
John Preston
e41fc69513 Show nice short info box from viewers dropdown. 2023-07-20 07:20:11 +04:00
John Preston
a2bf0fc511 Show unsupported stories with an Update button. 2023-07-20 07:20:11 +04:00
John Preston
ad5b96b049 Show toasts on reply / archive / unarchive. 2023-07-20 07:20:11 +04:00
John Preston
ff835ec76c Show animation on story reaction sending. 2023-07-20 07:20:11 +04:00
John Preston
41eac3692c Correctly show views count without viewers. 2023-07-20 07:20:11 +04:00
John Preston
cdb5f4dc1e Update API scheme on layer 160. 2023-07-20 07:20:11 +04:00
John Preston
881867186a Load more saved / archive in the viewer. 2023-07-20 07:20:11 +04:00
John Preston
1c41df364c Improved shared story layout. 2023-07-20 07:20:11 +04:00
John Preston
c133f4de69 Display shared stories in message history. 2023-07-20 07:20:11 +04:00
John Preston
d7186e68e2 Open stories by t.me/username?story=id links. 2023-07-20 07:20:11 +04:00
John Preston
a933168ef7 Allow sharing stories and copying a link. 2023-07-20 07:20:11 +04:00
John Preston
3ac7725111 Show relative time in stories, like last seen. 2023-07-20 07:20:11 +04:00
John Preston
f828caf0d9 Simplify saved stories list. 2023-07-20 07:20:11 +04:00
John Preston
0401364d71 Fix build with Xcode. 2023-07-20 07:20:11 +04:00
John Preston
bafb4f91b4 Update API scheme on layer 160. 2023-07-20 07:20:11 +04:00
John Preston
af5228771c Send views for expired pinned stories. 2023-07-20 07:20:11 +04:00
John Preston
10d64d6bdf Send story reactions as single-emoji messages. 2023-07-20 07:20:11 +04:00
John Preston
43af9fd87e Fix controls fading in raster stories backend. 2023-07-20 07:20:11 +04:00
John Preston
0a54325db9 Add a separate icon for My Stories. 2023-07-20 07:20:11 +04:00
John Preston
39538e89e0 Show stories reactions in dark theme. 2023-07-20 07:20:10 +04:00
John Preston
0ed200beee Show / expand / collapse / hide reactions strip. 2023-07-20 07:20:10 +04:00
John Preston
c1be4d6451 Hide self in small stories userpics. 2023-07-20 07:20:10 +04:00
John Preston
087c27c5e0 Fix expire calculations for the stories. 2023-07-20 07:20:10 +04:00
John Preston
5e5b252f2f Support correct saved stories / archive loading. 2023-07-20 07:20:10 +04:00
John Preston
7f8a985067 Start stories overview in profile / My Stories. 2023-07-20 07:20:10 +04:00
John Preston
8eac04cb90 Track and load ids of expired mine stories. 2023-07-20 07:20:10 +04:00
John Preston
aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston
b71d72ca7c Allow showing stories in different contexts. 2023-07-20 07:20:10 +04:00
John Preston
e7c0385aea Show hidden stories above contacts list. 2023-07-20 07:20:10 +04:00
John Preston
f40391b4f0 Support two lists of stories sources. 2023-07-20 07:20:10 +04:00
John Preston
d0e1ac1238 Start hiding stories from chats list. 2023-07-20 07:20:10 +04:00
John Preston
17a5c27658 Update API scheme on layer 160.
Leave plain scheme in api.tl.
2023-07-20 07:20:10 +04:00
John Preston
41edd41b92 Pause story while viewing the viewers list. 2023-07-20 07:20:10 +04:00
John Preston
d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
John Preston
16069db3e6 Fix build with Xcode. 2023-07-20 07:20:10 +04:00
John Preston
1f1e543df7 Fix good thumbnail generation in sibling stories. 2023-07-20 07:20:10 +04:00
John Preston
d76c80bf0e Show recent viewers in self stories. 2023-07-20 07:20:10 +04:00
John Preston
e90642f3a0 Add bio privacy section. 2023-07-20 07:20:09 +04:00
John Preston
8b22f9dcac Better track paused story state. 2023-07-20 07:20:09 +04:00
John Preston
b8cf00a0b2 Fix replying to stories with voice messages. 2023-07-20 07:20:09 +04:00
John Preston
f814e401b9 Mark stories as read. 2023-07-20 07:20:09 +04:00
John Preston
f323370752 Preload stories in both directions. 2023-07-20 07:20:09 +04:00
John Preston
4a67641460 Load more story users on demand. 2023-07-20 07:20:09 +04:00
John Preston
4e165a2107 Sort chats list stories by unread state. 2023-07-20 07:20:09 +04:00
John Preston
d82381881a Allow sending stickers / GIFs in story replies. 2023-07-20 07:20:09 +04:00
John Preston
cdd4774bb8 Fix initial stories collapsing in chats list. 2023-07-20 07:20:09 +04:00
John Preston
0edbb91b72 Process media edition updates from API. 2023-07-20 07:20:09 +04:00
John Preston
9f548b523e Apply updates correctly. 2023-07-20 07:20:09 +04:00
John Preston
2e6790c45c Support replies to stories layout in messages. 2023-07-20 07:20:09 +04:00
John Preston
b195ec4fd5 Support stories file reference refreshing. 2023-07-20 07:20:09 +04:00
John Preston
7a042c23e9 Use real stories data, open from chats list. 2023-07-20 07:20:09 +04:00
John Preston
ff902f2a1f Send StoryReply info correctly. 2023-07-20 07:20:09 +04:00
John Preston
04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston
455cb0d21b Fix build with Xcode. 2023-07-20 07:20:09 +04:00
John Preston
d57ada8a64 Show stories summary status in chats list. 2023-07-20 07:20:08 +04:00
John Preston
1fc37178b7 Show names for chats list stories. 2023-07-20 07:20:08 +04:00
John Preston
16128d61c0 Implement nice stories list scrolling. 2023-07-20 07:20:08 +04:00
John Preston
1d27c8c940 Paint nice stories userpics in chats list. 2023-07-20 07:20:08 +04:00
John Preston
2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston
ae4d660c38 Improve stories controls geometry constraints. 2023-07-20 07:20:08 +04:00
John Preston
00b4f77384 Finish theming for voice recording in stories. 2023-07-20 07:20:08 +04:00
John Preston
a02876562a Finish improved stories reply area theming. 2023-07-20 07:20:08 +04:00
John Preston
75d2b5994f Apply dark theme to reply controls in stories. 2023-07-20 07:20:08 +04:00
John Preston
a745c9ff75 Display full caption if it doesn't fit. 2023-07-20 07:20:08 +04:00
John Preston
0331955ce7 Show captions with darkening over stories. 2023-07-20 07:20:08 +04:00
John Preston
0d3df824e3 Apply stories fade in raster renderer. 2023-07-20 07:20:08 +04:00
John Preston
30871ed116 Show userpic / name on sibling stories. 2023-07-20 07:20:08 +04:00
John Preston
a0e9e148b0 Apply rounding to stories. 2023-07-20 07:20:08 +04:00
John Preston
bab66c4ff6 Darken and pause on reply field focus. 2023-07-20 07:20:08 +04:00
John Preston
0ca40e9d34 Fix build with Xcode. 2023-07-20 07:20:08 +04:00
John Preston
2212b55b13 Allow downloading my own stories. 2023-07-20 07:20:08 +04:00
John Preston
2bc7f465c2 Hide "Close friends" in privacy edit by default. 2023-07-20 07:20:08 +04:00
John Preston
ae94cd2d42 Allow navigating to stories of sibling users. 2023-07-20 07:20:08 +04:00
John Preston
7717de19ab Implement stories switching, photo "animation". 2023-07-20 07:20:08 +04:00
John Preston
027bd89e5b Apply geometry constraints in stories viewer. 2023-07-20 07:20:07 +04:00
John Preston
89ca38ed29 Start stories viewer with ComposeControls. 2023-07-20 07:20:07 +04:00
John Preston
429a3da3e5 Update API scheme to layer 160. 2023-07-20 07:20:07 +04:00
John Preston
918af601cf Correctly handle reactions from channels. 2023-07-20 07:20:07 +04:00
John Preston
29d0c8c2ec Update API scheme to layer 159. 2023-07-20 07:20:07 +04:00
Ilya Fedin
59bb46aa40 Update Qt to 6.5.2 on Linux 2023-07-19 23:51:50 +04:00
Ilya Fedin
0534a2fb62 Fix QGuiApplication::desktopFileName usage
The Qt documentation says:
This is the file name, without the full path or the trailing ".desktop" extension of the desktop entry that represents this application according to the freedesktop desktop entry specification.

Qt 6.5.2 also automatically fixes it breaking all the current tdesktop and desktop-app usage expecting the file extension.
2023-07-19 23:51:50 +04:00
Daniel Novomeský
d0e851647a Upgrade dav1d, libde265, libheif, libjxl in Linux build 2023-07-19 14:42:32 +04:00
Daniel Novomeský
2534fab7e7 Upgrade libjxl in snapcraft.yaml 2023-07-19 14:42:32 +04:00
GitHub Action
23778bec9f Update User-Agent for DNS to Chrome 114.0.5735.133. 2023-07-10 09:56:27 +04:00
Daniel Novomeský
8bd9293a49 Update dav1d, libde265, libheif, libjxl in Windows build 2023-07-07 08:18:16 +04:00
Daniel Novomeský
1da95a03c7 Update cmake_helpers submodule 2023-07-07 08:18:16 +04:00
Ilya Fedin
86cc3c5557 Fail docker script on cmake fail 2023-07-01 22:27:18 +04:00
Ilya Fedin
2dfe858327 Support D-Bus activation 2023-07-01 21:05:42 +04:00
Ilya Fedin
0421e41c47 Check actual executable path instead of cExeName in GenerateDesktopFile 2023-07-01 21:05:42 +04:00
Ilya Fedin
ac589cb51e Update submodules 2023-06-27 19:53:03 +04:00
Ilya Fedin
fd0456b037 Update submodules 2023-06-22 17:41:28 +04:00
Ilya Fedin
cadacc1f51 Update submodules 2023-06-19 18:02:49 +04:00
Ilya Fedin
44c9cfc36b Fix a warning in snap build
Looks like having gsettings in global plugs is no more valid
2023-06-19 18:02:49 +04:00
Ilya Fedin
63cc462b06 Migrate from qt_static_plugins.cpp to the Qt6-pregenerated initializators 2023-06-19 18:01:14 +04:00
CaledoniaProject
78b003761f Update building-mac.md
ninja is required to run prepare.py
2023-06-19 11:32:17 +04:00
Ilya Fedin
0eff5236d4 Free disk space for Docker and Snap 2023-06-18 23:40:21 +04:00
Ilya Fedin
9f34f049ec Simplify setting Dockerfile defaults 2023-06-18 23:40:21 +04:00
Ilya Fedin
00a237c144 Update lib_webview 2023-06-17 15:13:31 +04:00
Ilya Fedin
a3cdf19c1f Ensure Wayland integration instance accessor doesn't leak 2023-06-17 15:13:31 +04:00
Ilya Fedin
c9179b78b3 Update lib_base 2023-06-16 11:38:54 +04:00
Ilya Fedin
2c1a2088b7 Port forgetten places to Core::Launcher::Instance() 2023-06-16 11:38:54 +04:00
Ilya Fedin
1d234ea990 Use argv0 for shortcuts when updater is disabled 2023-06-16 11:38:54 +04:00
Ilya Fedin
8aee08eaef Track argv0 through relaunches 2023-06-16 11:38:54 +04:00
Ilya Fedin
32f13c3716 Deduplicate executable path computation 2023-06-16 11:38:54 +04:00
John Preston
22235226d6 Make the full-tarball script collect nested submodules. 2023-06-14 21:30:15 +04:00
John Preston
9c6ffa0101 Version 4.8.4.
- Fix opening links on Linux.
2023-06-14 16:11:20 +04:00
John Preston
c81e2c525f Update submodules. 2023-06-13 22:59:33 +04:00
Ilya Fedin
074c725c6c Move Platform::ThirdParty::start content to LinuxIntegration 2023-06-13 12:19:21 +04:00
Ilya Fedin
af00247362 Provide access to un-joined argument list in Core::Launcher
This allows to re-use the variable in Linux-specific code
2023-06-13 12:19:21 +04:00
Ilya Fedin
a7bd097b2f Have a global Core::Launcher accessor
This allows to use Launcher in code executing before Sandbox is created
2023-06-13 12:19:21 +04:00
Ken VanDine
63ccf1bed4 snap: connect to the network-bind interface, necessary on systems where
desktop-legacy isn't supported like Ubuntu Core Desktop.
2023-06-10 17:09:45 +04:00
Ilya Fedin
ea82c9ba3e Enable control flow protection 2023-06-06 16:04:23 +04:00
Ilya Fedin
a128fdcc28 Always use Python3 cmake package instead of the Python one 2023-06-05 17:53:32 +04:00
Ilya Fedin
d40205135c Update submodules 2023-06-05 17:49:06 +04:00
Ilya Fedin
30b20a2102 Convert all the dependencies in Dockerfile to use depth=1 2023-06-05 17:49:06 +04:00
Ilya Fedin
be89e57d27 Use ARGN where applicable 2023-06-01 20:04:28 +04:00
Ilya Fedin
7cc191ba61 Update lib_base 2023-06-01 20:01:46 +04:00
Ilya Fedin
8352aeb338 Send mouse release event after startSystemMove/startSystemResize 2023-06-01 20:01:46 +04:00
John Preston
bcf91e2f2c Version 4.8.3: Fix statup crash with passcode. 2023-06-01 11:47:36 +04:00
GitHub Action
1e9087db4a Update User-Agent for DNS to Chrome 113.0.5672.63. 2023-06-01 11:36:47 +04:00
John Preston
c5cb928724 Version 4.8.3.
- Fix main window focus from notifications with disabled animations.
- Some minor fixes and improvements.
2023-05-31 21:50:53 +04:00
John Preston
e1350d6813 Fix webview links opening from webview. 2023-05-31 21:46:32 +04:00
Ilya Fedin
898581badd Update submodules 2023-05-30 20:55:15 +04:00
Ilya Fedin
71570f5be1 Store managed objects inside managers 2023-05-30 20:55:15 +04:00
Ilya Fedin
8c38d31950 C++ify wl_registry 2023-05-30 20:55:15 +04:00
Ilya Fedin
c8407e5bde Update lib_base 2023-05-29 11:07:19 +04:00
Ilya Fedin
2ce9e610fa Update icons when icon theme on Linux changes 2023-05-29 11:07:19 +04:00
Ilya Fedin
6aef6d7f4e Integrate GApplication with QFileOpenEvent and Core::Application::activate 2023-05-29 10:51:40 +04:00
Ilya Fedin
54841de991 Use new base_linux_wayland_utilities 2023-05-25 22:05:13 +04:00
Ilya Fedin
fc66a0eea8 Destroy Wayland integration before Wayland disconnection 2023-05-25 22:05:13 +04:00
Ilya Fedin
e9787170d5 Update Qt to 6.5.1 on Linux 2023-05-25 14:41:02 +04:00
John Preston
d57aa2a1f6 Fix possible crash on MTP::Instance shutdown. 2023-05-25 11:56:09 +04:00
John Preston
2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston
f671897a4d Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.
2023-05-24 20:22:41 +04:00
John Preston
7877463468 Respect peer_types in the switch inline button.
Fixes #26274.
2023-05-24 19:36:58 +04:00
John Preston
8a99de16f6 Allow editing messages even if sending is not allowed. 2023-05-24 18:48:48 +04:00
John Preston
f46f655a0e Revert "Disable xcb_xlib"
This reverts commit d1ff6e583d.

Otherwise HIME input is broken:
https://github.com/telegramdesktop/tdesktop/issues/26228
2023-05-24 18:11:36 +04:00
John Preston
04a3a50e74 Show error when trying change number from TDesktop. 2023-05-24 18:11:17 +04:00
John Preston
d349763460 Fix "Remain Anonymous" change in recent actions. 2023-05-24 17:17:38 +04:00
Ilya Fedin
c4b95b40e5 Update lib_webview 2023-05-24 17:10:39 +04:00
Ilya Fedin
0fa2f83cf8 Fix gobject-introspection base in Dockerfile
It doesn't use patches
2023-05-24 17:10:39 +04:00
John Preston
abc32c63b0 Force-hide media viewer on passcode lock. 2023-05-24 16:58:34 +04:00
John Preston
8ae373b654 Update patches with a commit revert. 2023-05-24 13:23:01 +04:00
John Preston
b6395d08d8 Remove streaming channel from live stream "participants". 2023-05-24 13:20:13 +04:00
John Preston
ad573ecc84 Fix a possible crash in Large Emoji toggling. 2023-05-24 12:50:54 +04:00
Vedant
1d2a50c407 Fix installer selection for winget-releaser 2023-05-21 20:10:22 +04:00
Ilya Fedin
082ffb6cd1 Update submodules 2023-05-19 15:33:43 +04:00
Ilya Fedin
9514b0d1f1 Get rid of unneeded gi::result wrap 2023-05-19 15:33:43 +04:00
Ilya Fedin
2ea50f5c85 Constify options in Linux screen locker monitor
That's possible now thanks to cppgir update
2023-05-19 15:33:43 +04:00
GitHub Action
3eca5d206b Update User-Agent for DNS to Chrome 112.0.5615.165. 2023-05-19 15:31:10 +04:00
Ilya Fedin
862f4822f2 Don't drop default LDFLAGS in snap 2023-05-18 18:15:40 +04:00
Ilya Fedin
6dff1f11ba Fix .gir file generation in snap 2023-05-18 15:49:15 +04:00
John Preston
90b5c6a582 Version 4.8.2: Hardened Runtime in Mac App Store. 2023-05-18 11:54:56 +04:00
Ilya Fedin
e05b813b6e Fix gobject-inrospection dependency in snap
Debian's weird package naming goes on
2023-05-17 17:59:47 +04:00
John Preston
e8a4a7b754 Some build fixes. 2023-05-17 16:29:31 +04:00
John Preston
d909248e25 Update lib_ui. 2023-05-17 15:55:26 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
Ilya Fedin
665467b02d Add new dependencies to snap build 2023-05-17 15:38:49 +04:00
Ilya Fedin
787cab7417 Update submodules 2023-05-17 15:38:34 +04:00
Ilya Fedin
b98b44e638 Downgrade to the working revision 2023-05-15 12:34:56 +04:00
Ilya Fedin
d1455f5117 Switch Wayland integration to the new type safe Qt API
This also makes object lifetime tracking better thanks to the new API
2023-05-15 12:34:56 +04:00
Ilya Fedin
0ffaff2d8b Support Qt 6.5 dark mode API 2023-05-15 12:33:30 +04:00
Ilya Fedin
2675b5df3b Use QGuiApplication::setBadgeNumber API since Qt 6.6 on Linux 2023-05-15 10:20:18 +04:00
Ilya Fedin
627c870dd5 Get rid of qt5compat dependency 2023-05-15 10:14:52 +04:00
Ilya Fedin
db60bee7dc Implement screen locker monitor on Linux 2023-05-15 09:51:13 +04:00
Ilya Fedin
2ff341b7d3 Update submodules 2023-05-15 09:50:28 +04:00
Ilya Fedin
bb008911b0 Get rid of SystemMediaControls::setServiceName usage 2023-05-15 09:50:28 +04:00
Ilya Fedin
0ca9bbafad Update cmake on Linux 2023-05-15 09:50:28 +04:00
Ilya Fedin
0ca983ed71 Add cppgir dependencies to Dockerfile 2023-05-15 09:50:28 +04:00
Ilya Fedin
0b4ebcbae4 Warn if incompatible event loop is detected 2023-05-15 08:08:04 +04:00
Ilya Fedin
0a011db483 Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
Desktop App Toolkit uses GLib as the D-Bus library for quite long time, but GLib is not only a D-Bus library, it's more a basic library providing native Linux APIs implementing various specs. The situation right now is that DESKTOP_APP_DISABLE_DBUS_INTEGRATION disables not only D-Bus code but all the native API integration such as MIME handling or .desktop file parsing. In other words, the option disables native Linux APIs on Linux what is absurd and doesn't have any sense.
2023-05-15 08:08:04 +04:00
Ilya Fedin
37f5576c38 Get rid of -Ofast on Linux
This seem to make some miscompilation that lead to hangs
2023-05-03 23:49:38 +04:00
John Preston
b881d24a5a Update libyuv in tg_owt. 2023-05-01 11:08:24 +04:00
Ilya Fedin
4628d4fece Update submodules 2023-04-30 12:31:14 +04:00
Ilya Fedin
68e229640b Revert "Build OpenSSL 1.1.1 in snap"
This reverts commit 0e97ef992e.
2023-04-30 12:31:14 +04:00
Ilya Fedin
1ac0c4142d Update tg_owt in snap 2023-04-30 12:31:14 +04:00
John Preston
61a61669b6 Fix build with Xcode. 2023-04-28 22:03:42 +04:00
John Preston
9b576a13bc Fix calls with OpenSSL 3.
For that libsrtp was updated to v2.5.0 in tg_owt.
2023-04-28 14:40:53 +04:00
John Preston
60fe961c21 Implement new client hello generation. 2023-04-27 21:11:03 +04:00
John Preston
c890281258 Fix emoji in macOS title bar text. 2023-04-27 15:23:37 +04:00
John Preston
9615347634 This should allow calling another authed account. 2023-04-27 15:23:36 +04:00
John Preston
864959aee0 Hide login code with a spoiler in chats list. 2023-04-27 15:23:36 +04:00
Klemens Nanni
11906297d8 Explicitly specify QVector element type to fix build with clang13+range-v3+qt6
Same story as 2b383a4 for #24014.
Fixes 4.8.0 build on OpenBSD/amd64 7.3 with clang 13.0.0, range-v3 0.12.0 and Qt 6.5.0.
2023-04-27 09:59:32 +04:00
Ilya Fedin
3825586715 Update lib_base 2023-04-25 08:29:07 +04:00
Ilya Fedin
cc6f63edf4 Downgrade wl_seat version in snap
To avoid high-resolution scrolling events
2023-04-25 08:29:07 +04:00
John Preston
3da787791f Version 4.8.1.
- Fix sending an album of ten scheduled messages.
- Convert folder back to non-shareable on last link deletion.
- Several fixes of focus control in discussions / channel comments.
- Drop all formatting on paste in non-message input fields.
- Clear search field on archive opening.
- Show video upload / download progress over the spoiler.
- Better support for text-colored emoji in reactions.
- Close archive / topics group when clicking on currently active folder.
- Allow replace media by paste in discussions / comments / scheduled messages.
- Fix stuck Replace Media button after editing media in some chats.
- Quick reply by double click only with the left mouse button.
- Fix applying the same custom chat background with different dimming value.
- Fix "who reacted" list display for media album parts.
- Show full t.me/+ invite link prefix in Recent Actions.
- Don't try to suggest userpic photos to bots.
- Add "Send when online" to the send button context menu.
- Fix crash in empty topics message sending.
2023-04-24 22:52:26 +04:00
John Preston
ad238108bd Fix background dimming slider initial visibility. 2023-04-24 22:50:36 +04:00
John Preston
81f40586a3 Don't re-apply exactly the same custom chat wallpaper. 2023-04-24 22:47:31 +04:00
John Preston
40deda1e9b Divide groupId of scheduled / normal messages. 2023-04-24 22:31:38 +04:00
John Preston
2d50e893b5 Update lib_base with wl_display_roundtrip. 2023-04-24 21:48:24 +04:00
John Preston
5ad4719c08 Correctly handle shareable->non-shareable conversion. 2023-04-24 21:39:21 +04:00
John Preston
f0acc9526e Fix compose controls focus checks. 2023-04-24 21:32:44 +04:00
John Preston
d938d91366 Drop all formatting by default in InputField. 2023-04-24 21:25:27 +04:00
John Preston
0b60985966 Clear search field on archive opening. 2023-04-24 21:15:40 +04:00
John Preston
b6fbdd25a0 Show video radial above the spoiler. 2023-04-24 21:12:52 +04:00
John Preston
faf6352a11 Support colorized emoji in reactions inline dropdown. 2023-04-24 20:59:19 +04:00
John Preston
4cfa486d91 Support colorized emoji in reactions fly animation. 2023-04-24 14:56:10 +04:00
John Preston
2dea8941a5 Return focus to input field on ListWidget selection clear. 2023-04-23 20:40:59 +04:00
John Preston
9c7fee0bfe Add .m4v as a video file format. 2023-04-23 20:32:00 +04:00
John Preston
3394094dd3 Close archive / forum on repeated click on current filter. 2023-04-23 20:08:53 +04:00
John Preston
58f735e19b Allow replace media by paste in replies/scheduled. 2023-04-23 19:24:03 +04:00
John Preston
3a8237f03a Fix staying _replaceMedia button after media edit. 2023-04-23 19:23:41 +04:00
John Preston
95174a5f36 Quick reply only by left mouse button. 2023-04-23 19:23:16 +04:00
John Preston
b569078e96 Make dimming intensity part of the cache key. 2023-04-23 18:51:47 +04:00
John Preston
33e66d21bd Force dst path creation on Save Selected. 2023-04-23 18:44:52 +04:00
John Preston
480c109b09 Request WhoRead/Reacted only for group leader. 2023-04-23 18:41:33 +04:00
John Preston
4eefebc96c Fix possible assertion violation in non-self reaction. 2023-04-23 18:41:14 +04:00
John Preston
1697e9e791 Fix a regression in accounts switching. 2023-04-23 18:21:31 +04:00
John Preston
8fe2ec63b7 Show t.me/+ invite link prefix in Recent Actions. 2023-04-23 18:09:10 +04:00
John Preston
c1a63164c0 Make count-depended button texts in filter links. 2023-04-23 18:09:10 +04:00
John Preston
cb1041a289 Fix item view refresh in comments / discussions. 2023-04-22 23:04:47 +04:00
John Preston
67fa4372aa Don't suggest userpic photos to bots. 2023-04-22 22:38:43 +04:00
John Preston
a25005483a Fix sending-when-online for already-online user. 2023-04-22 22:33:51 +04:00
John Preston
e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston
4201a0193c Add additional assertion for OOM detection. 2023-04-22 21:35:06 +04:00
John Preston
dffe79fea8 Fix possible crash in nested section show. 2023-04-22 21:20:10 +04:00
John Preston
454c8db00d Fix crash in empty topics message sending. 2023-04-22 21:09:46 +04:00
John Preston
27aa678f6a Version 4.8: Fix build with GCC. 2023-04-22 16:09:52 +04:00
John Preston
f361dd0df2 Fix initial device selection in calls. 2023-04-21 16:50:22 +04:00
John Preston
f4f5139eb8 Version 4.8.
- Share folders that include dozens of chats with friends or colleagues.
- Anyone you invite can add the folder and join all its chats in one tap.
- You can create multiple invite links to give different people access
to different chats in the folder.
- Set a custom wallpaper for any 1-on-1 chat.
- Your chat partner can apply the same wallpaper - or choose their own.
2023-04-21 16:39:01 +04:00
John Preston
976c32e5af Fill isTcp field in calls reflector descriptors. 2023-04-21 15:49:37 +04:00
23rd
2e85f7e5fc Fixed bottom padding below description field in bot management box. 2023-04-21 14:39:43 +03:00
John Preston
3e8b1d9663 Fix focus loosing in RepliesWidget with JoinGroup button. 2023-04-21 15:14:50 +04:00
John Preston
05b8b9f22e Show pin confirmation correctly in topics. 2023-04-21 15:09:06 +04:00
John Preston
b782569faf Handle escape before messages are loaded.
Fixes #4111.
2023-04-21 14:38:21 +04:00
John Preston
7dfed2a012 Disable some bot editing items while there is no design. 2023-04-21 14:23:54 +04:00
John Preston
64125f0cc8 Update patches revision in docker. 2023-04-21 14:16:19 +04:00
John Preston
8a64a9b2ad Close forward options box by Enter. 2023-04-21 14:15:19 +04:00
John Preston
0b5038aaa2 Fix t.me channel comment links opening.
Regression was introduced in af51307aa6.
2023-04-21 14:10:49 +04:00
John Preston
d37666e91a Fix sharing system audio in video chat on Windows.
Fixes #26107.
2023-04-21 13:42:12 +04:00
John Preston
458082c738 Add correct icons for dark/light mode switch. 2023-04-21 13:42:06 +04:00
23rd
383b100fc7 Fixed changing speed of video in windowed media viewer. 2023-04-21 01:34:05 +03:00
23rd
f4a02b126d Improved format of ttl phrases. 2023-04-21 01:21:08 +03:00
23rd
47756fb8c3 Removed focus from disabled editor in UsernamesBox for bots. 2023-04-21 00:23:49 +03:00
23rd
efa19d5782 Added check of bot info with correct lang code to bot management box. 2023-04-21 00:13:11 +03:00
John Preston
66e7f1d490 Fix dimming edition for new wallpapers. 2023-04-20 23:05:54 +04:00
John Preston
2b2d190d2b Closed alpha version 4.7.1.3. 2023-04-20 23:03:34 +04:00
John Preston
4617ba5fb9 Add couple of phrases to the langpack. 2023-04-20 23:02:33 +04:00
John Preston
65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston
ac57d46f30 Try allowing correct &nbsp; handling. 2023-04-20 13:36:48 +04:00
John Preston
0d6e5eda0c Allow larger PiP window size. 2023-04-20 12:55:01 +04:00
John Preston
32c7964e8c Fix video thumbnail in PiP raster renderer. 2023-04-20 12:49:44 +04:00
John Preston
a27ef55ff8 Improve chat theme selector design. 2023-04-20 11:55:23 +04:00
John Preston
1b6b0c1732 Show blur / dimming in wallpaper preview. 2023-04-19 12:14:39 +04:00
John Preston
ae6d703a44 Always show current custom wallpaper. 2023-04-19 11:15:50 +04:00
John Preston
0b25d19e3b Allow uploading chat wallpapers from file. 2023-04-19 10:42:01 +04:00
John Preston
9130735ed6 Add a 'Choose from file' button in wallpapers gallery. 2023-04-18 22:07:12 +04:00
John Preston
da7d4687ca Drop custom wallpaper on theme change. 2023-04-18 22:06:53 +04:00
John Preston
352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston
9b25973b49 Update chat wallpaper from service message. 2023-04-17 16:36:13 +04:00
John Preston
bf27185feb Show custom chat wallpapers in chats. 2023-04-17 16:35:50 +04:00
John Preston
5cbf9a2dc4 Show background preview in service messages. 2023-04-14 13:52:49 +04:00
John Preston
d0e8802b9d Allow who viewed lists in topic groups. 2023-04-11 20:54:56 +04:00
John Preston
ad3ec244e9 Fix pasting file for media replacement. 2023-04-11 20:06:38 +04:00
John Preston
22ca4e25d9 Fix replace media button non-disappearance. 2023-04-11 19:18:54 +04:00
23rd
a02ded6fd8 Disabled editor in UsernamesBox for bots. 2023-04-11 19:17:42 +04:00
23rd
ca2a0d41c9 Moved some app config values to separated file. 2023-04-11 19:17:42 +04:00
23rd
30a7893afe Added initial implementation of bot management box. 2023-04-11 19:17:42 +04:00
23rd
cfc8820bad Added support of non-self users to UsernamesBox. 2023-04-11 19:17:42 +04:00
23rd
c53b26dec8 Added ability to provide empty callback to list of usernames management. 2023-04-11 19:17:42 +04:00
23rd
973dd5c50f Added support of bots to list of usernames management. 2023-04-11 19:17:42 +04:00
23rd
896bbb7c56 Added api support to toggle and reorder bot usernames. 2023-04-11 19:17:42 +04:00
23rd
bbeefaed9c Added api support to upload bot photo. 2023-04-11 19:17:42 +04:00
23rd
2276a4c9af Added menu item to bot info for bot management. 2023-04-11 19:17:42 +04:00
23rd
a0ca3beef8 Added phrases for bot management. 2023-04-11 19:17:42 +04:00
23rd
ec2299a7e2 Updated Qt to 5.15.9 on Windows. 2023-04-11 19:17:42 +04:00
John Preston
6eb904acb1 Closed alpha version 4.7.1.2. 2023-04-11 19:17:42 +04:00
John Preston
7ed020ecc5 Use new caption edit in ComposeControls. 2023-04-11 19:17:42 +04:00
John Preston
42c96b4c7f Edit media captions in message field. 2023-04-11 19:17:42 +04:00
John Preston
e3f2dcec22 Fix userpic glitch in folder chats lists. 2023-04-11 19:17:42 +04:00
John Preston
c3f20c59b5 Update API scheme on layer 158. 2023-04-11 19:17:39 +04:00
John Preston
2a06182d1a Closed alpha version 4007001001: Fix build. 2023-04-11 19:17:39 +04:00
John Preston
004a60ded5 Fix a possible crash in folder link export. 2023-04-11 19:17:39 +04:00
John Preston
b4a588a676 Update API scheme on layer 158. 2023-04-11 19:17:39 +04:00
John Preston
2f261e6f7b A bit more error handling. 2023-04-11 19:17:39 +04:00
23rd
cda4bca190 Added support of left edge to corner tail of bubble in premium box. 2023-04-11 19:17:39 +04:00
23rd
127bafa254 Fixed closing of main menu on activate account in separated window. 2023-04-11 19:17:39 +04:00
John Preston
90cea58d28 Closed alpha version 4.7.1.1. 2023-04-11 19:17:39 +04:00
John Preston
7c11fd58cf Make whole same-background message clickable. 2023-04-11 19:17:39 +04:00
John Preston
9600cc0ed5 Don't suggest joining forbidden chats by link. 2023-04-11 19:17:39 +04:00
John Preston
959348f8cd Improve error messages for shareable folders. 2023-04-11 19:17:39 +04:00
John Preston
1a1fa5db3e Implement complex filter delete from context menu. 2023-04-11 19:17:39 +04:00
John Preston
6f4eef035d Don't jump in filters list on list change. 2023-04-11 19:17:39 +04:00
John Preston
e351ad1f3d Show only channels in suggest-leave box. 2023-04-11 19:17:39 +04:00
John Preston
292e5bc3f7 Improve filters save-on-demand. 2023-04-11 19:17:39 +04:00
John Preston
06cf2b562f Improve layout of shareable folder limit boxes. 2023-04-11 19:17:38 +04:00
John Preston
09de881036 Improve peer list decorate widgets. 2023-04-11 19:17:38 +04:00
John Preston
1ffbc122e1 Allow select/deselect all in filter link boxes. 2023-04-11 19:17:38 +04:00
John Preston
f05f1f4359 Change the format for shared filters link. 2023-04-11 19:17:38 +04:00
John Preston
7ff0659e91 Improve scrolling limits in chat select boxes. 2023-04-11 19:17:38 +04:00
John Preston
9b1c5b1050 Support new limit boxes for shareable folders. 2023-04-11 19:17:38 +04:00
John Preston
77939ae9bd Add more-chats-added bar to cloud folders. 2023-04-11 19:17:38 +04:00
John Preston
63960c647b Don't allow sharing public groups with requests in folders. 2023-04-11 19:17:38 +04:00
John Preston
312aa4b130 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston
6be2fb9790 Support nice leaving of shareable folder. 2023-04-11 19:17:38 +04:00
John Preston
4444844443 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston
7a9961b0e9 Improve folder link chats list edit design. 2023-04-11 19:17:38 +04:00
John Preston
0faadc8fa0 Implement folder link add / join design. 2023-04-11 19:17:38 +04:00
John Preston
7684dbc701 Allow "Nobody" in group/channel invites privacy. 2023-04-11 19:17:38 +04:00
John Preston
86f9875662 Add most of the phrases to the langpack. 2023-04-11 19:17:38 +04:00
John Preston
fb16375a19 Delete filter links, edit filter link names. 2023-04-11 19:17:38 +04:00
John Preston
8a9d13c6e4 Initial add filter / chats / edit filter link. 2023-04-11 19:17:37 +04:00
John Preston
b7d9d549ff Start filter share links management. 2023-04-11 19:17:37 +04:00
John Preston
725c22e776 Update API scheme to layer 158. 2023-04-11 19:17:37 +04:00
Ilya Fedin
b2c5c8ae2c Update kcoreaddons 2023-04-11 14:57:57 +04:00
Ilya Fedin
a6e5e7ab84 Tell QLocalSocket the socket is abstract 2023-04-07 12:21:35 +04:00
Ilya Fedin
b2faed6b96 Switch Dockerfile and snap to https for Qt clone 2023-04-06 09:47:41 +04:00
GitHub Action
ec10306ccb Update User-Agent for DNS to Chrome 111.0.5563.110. 2023-04-05 15:41:18 +04:00
Ilya Fedin
590be6d6e7 Fix CounterLayerArgs devicePixelRatio order 2023-04-05 10:17:22 +04:00
Ilya Fedin
8dee2a1c8b Set device pixel ratio for counter layer 2023-04-04 10:07:51 +04:00
Ilya Fedin
c9308d04b8 Don't set no more needed variables for portal support in snap
Both glib 2.76 and Qt 6.5 detect snap automatically now
2023-04-04 08:31:28 +04:00
Ilya Fedin
07791aa2eb Update submodules 2023-04-03 19:44:52 +04:00
Ilya Fedin
c78a15410d Try to remove Wayland blacklist again 2023-04-03 19:44:52 +04:00
Ilya Fedin
dc459d454f Update OpenAL to 1.23.0 on Linux 2023-04-03 13:33:37 +04:00
Ilya Fedin
db04e33128 Update patches on Linux 2023-04-03 13:33:37 +04:00
Ilya Fedin
d1ff6e583d Disable xcb_xlib 2023-04-03 13:33:37 +04:00
Ilya Fedin
a529932556 Update Qt to 6.5.0 on Linux 2023-04-03 13:33:37 +04:00
Ilya Fedin
d52cabb386 Update to the new WebKitGTK 6.0 API 2023-04-02 17:19:15 +04:00
Ilya Fedin
e632ac631e Add version check for abstract sockets 2023-04-02 00:06:04 +04:00
Ilya Fedin
3064a41014 Try to restore updater-dependent binary path logic
Now that the file generating logic is simplier, it may be not that hard to maintain
2023-04-02 00:06:04 +04:00
Ilya Fedin
40e65eb1e6 Fix snap action 2023-04-01 17:41:03 +04:00
Ilya Fedin
30f057fff5 Use abstract socket for single instance on Linux 2023-04-01 00:17:58 +04:00
Ilya Fedin
bebf8e4a03 Update glibmm in snap to 2.76.0 2023-04-01 00:17:58 +04:00
Ilya Fedin
463b628f99 Remove no longer needed hack to build libjxl in snap 2023-04-01 00:17:58 +04:00
Ilya Fedin
e9a92c311b Fix non-first attempts to build snap 2023-04-01 00:17:58 +04:00
Ilya Fedin
4c05da604a Add crash ID field to the bug report template 2023-03-22 13:21:22 +04:00
Ilya Fedin
5da26ffdf8 Explain where to find log.txt 2023-03-22 13:21:22 +04:00
John Preston
66baeb86a1 Specify minimal required glibmm version. 2023-03-22 08:46:34 +04:00
John Preston
e368de008d Version 4.7.1.
- Fix media viewer with some system scale settings on Windows.
- Fix calls on Linux.
2023-03-21 20:28:59 +04:00
John Preston
58c5bb7247 Update online after the window active status.
I hope this fixes #26059.
2023-03-21 16:23:38 +04:00
John Preston
f0a96d0aad Update tgcalls with one more fix. 2023-03-21 16:23:37 +04:00
John Preston
ed3e37b06a Fix calls on Linux.
I hope it fixes #26066.
2023-03-21 12:05:59 +04:00
John Preston
83052ec056 Fix translucent windows in some screen scales.
I hope this fixes #25958, problems with the viewer on Windows.
2023-03-21 09:33:45 +04:00
Ilya Fedin
398237b80e Remove pre-defined title from feature request template
There are labels for this purpose, pre-defined title lets people to not to think about the title what leads to feature requests not having title
2023-03-20 21:54:47 +04:00
John Preston
ef1e5d50b1 Version 4.7.
- You can disable all resource-intensive animations
and animated stickers and emoji.
- Power saving mode turns on automatically based on
system battery saving settings.
- Fully flexible playback speed settings for videos,
voice and video messages.
- Click the "1X" button to quickly switch between normal
and adjusted speed – or hold it to set any speed between 0.5-2.5x.
- Improved sound quality for adjusted speed playback.
- Read receipts in groups under 100 members now show reaction timestamps
and when your messages were read.
- When inviting people to groups, you can quickly send invite links
to anyone who doesn't allow adding them directly.
- Invite links now show previews in chats.
- Fully translatable bots. Bot descriptions
and ”What can this bot do?" sections can now be translated.
- Starting a call now shows a confirmation window.
- Fixed pasting images from Firefox on Windows.
- Global Fn+F shortcut to switch active window
to full screen mode on macOS.
- Silent notification sound in Focus Mode on macOS.
2023-03-19 17:50:09 +04:00
John Preston
9d0d97d5bf Fix large file export progress display. 2023-03-19 17:48:12 +04:00
John Preston
2b1ed79011 Beta version 4.6.12: Fix local changelog version. 2023-03-18 08:12:50 +04:00
John Preston
2c17f41c61 Beta version 4.6.12: Compare speed values safely. 2023-03-17 21:18:56 +04:00
John Preston
1f2836af59 Beta version 4.6.12.
- Fix several possible crashes.
- Deprecate macOS 10.12, Ubuntu 18.04 and CentOS 7 in July.
2023-03-17 21:15:37 +04:00
John Preston
bcb07110e0 Fix possible crash in application shutdown. 2023-03-17 21:07:52 +04:00
John Preston
e4834f583f Fix possible crash in ~RepliesWidget on logout. 2023-03-17 21:02:28 +04:00
John Preston
f5ab3a54bf Fix possible stack overflow. 2023-03-17 20:46:56 +04:00
John Preston
b5aa90baa6 Deprecate glibc < 2.28 in July. 2023-03-17 20:40:53 +04:00
John Preston
f66e6879c2 Fix possible crash in messages forwarding.
Regression was introduced in 2c1e7bfcb6.
2023-03-17 19:25:35 +04:00
Ilya Fedin
2635b35b74 Move kurlmimedata.h include to where it's really used 2023-03-17 18:56:23 +04:00
Ilya Fedin
ae93455101 Update glibmm to 2.76.0 2023-03-17 18:56:23 +04:00
John Preston
b92e6e38f7 Skip premium effect if stickers aren't playing. 2023-03-17 18:53:32 +04:00
John Preston
d01c026521 Don't reply while asked to join the group. 2023-03-17 18:34:48 +04:00
John Preston
f5f374d933 Fix crash in forwarding video message when can't.
Fixes #25994.
2023-03-17 18:12:49 +04:00
John Preston
2b1ff39798 Fix phrase when forwarding one album item. 2023-03-17 18:09:23 +04:00
John Preston
3b1d13eac9 Clear memory while scrolling in topics / discussions. 2023-03-17 17:51:53 +04:00
John Preston
f410a3b6da Fix possible crash in media viewer content re-show. 2023-03-17 17:51:35 +04:00
John Preston
68eb99bde0 Mark as read only in visible non minimized window.
I hope this fixes #26050.
2023-03-17 16:48:43 +04:00
John Preston
84c75f4a74 Fix out-of-clip-area dialog paint with collapsed archive. 2023-03-17 16:48:22 +04:00
John Preston
2928c7b4b5 Invalidate chats list online mark on palette change. 2023-03-17 16:09:23 +04:00
John Preston
9c91b03a5b Don't cancel caption edit by outside click. 2023-03-17 15:57:46 +04:00
John Preston
75a1db9900 Move media viewer menu when resizing the window. 2023-03-17 15:40:49 +04:00
John Preston
6dae6dc42a Deprecate macOS 10.12 in July. 2023-03-17 15:20:45 +04:00
John Preston
f3951157d7 Workaround for emoji selector in popup menu on Windows. 2023-03-17 14:22:53 +04:00
23rd
8b61cf1ee3 Fixed style of menu for sponsored messages with large additional info. 2023-03-16 21:44:46 +03:00
John Preston
eb7ef59bde Support only up to 2^31 local messages. 2023-03-16 17:07:06 +04:00
John Preston
ca50ad3468 Fix cursor on speed changing context menu item. 2023-03-16 09:55:27 +04:00
Ilya Fedin
77f4256d8d Show speed control in media viewer only when supported 2023-03-16 06:59:12 +04:00
John Preston
fc860a1ef4 Beta version 4.6.11: Fix build for Linux. 2023-03-15 22:57:53 +04:00
John Preston
adda93338d Beta version 4.6.11.
- Allow larger interface scale values on high-dpi screens.
- Implement new voice and video speed change interface (up to 2.5x).
- Support global Fn+F shortcut to toggle fullscreen on macOS.
- Silent notification sound in Focus Mode on macOS.
- Fix media viewer on macOS with several screens.
- Fix a crash in connection type box.
- Fix possible crash on quit.
2023-03-15 17:38:16 +04:00
John Preston
7264d82e8d Allow larger scales on high-dpi screens. 2023-03-15 17:17:46 +04:00
John Preston
ba01ba4c33 Fix menu hide on single viewer / liker click. 2023-03-15 16:52:37 +04:00
John Preston
9beb111956 Fix viewer fullscreen toggle on macOS. 2023-03-15 16:45:49 +04:00
John Preston
152661dcea Use global Fn+F shortcut for toggle fullscreen on macOS. 2023-03-15 16:39:13 +04:00
John Preston
eae2788f73 Fix icons in audio player. 2023-03-15 16:39:13 +04:00
John Preston
832d426c1c Add media viewer title to lang pack keys. 2023-03-15 16:27:54 +04:00
John Preston
32e650548f One more attempt to fix DND on macOS. 2023-03-15 15:00:29 +04:00
John Preston
1eff68813d Reuse new speed change control for video. 2023-03-15 13:36:40 +04:00
John Preston
4351baffb3 Unify playback speed settings serialization. 2023-03-15 09:15:40 +04:00
John Preston
f9066235ca Fix custom ripple on speed change button. 2023-03-14 22:02:53 +04:00
John Preston
5ca7b95cdb Implement new voice speed change control design. 2023-03-14 17:30:50 +04:00
John Preston
42d999922f Fix media viewer on macOS multi-monitor setup. 2023-03-13 16:04:42 +04:00
John Preston
cc6dfd08fc Fix possible crash in folder chats clearing. 2023-03-13 16:00:15 +04:00
John Preston
ce5084c444 Fix crash in ConnectionType box init. 2023-03-12 21:11:22 +04:00
Ilya Fedin
2eaa66e873 Show speed control in media viewer only when supported 2023-03-12 15:32:12 +04:00
John Preston
e9f5f0c948 Beta version 4.6.10: Fix build with GCC. 2023-03-12 10:16:26 +04:00
John Preston
9db091c540 Beta version 4.6.10.
- Suggest sending an invite link if user forbids inviting him to groups.
- Show when a reaction was left on your message in small groups.
- Fix a crash in video chats on Windows.
- Fix a crash in audio speed change.
2023-03-12 08:42:24 +04:00
John Preston
f3e15c7fcd Suggest inviting by link if privacy disallows adding. 2023-03-12 07:25:39 +04:00
John Preston
7682ccf6a7 Update API scheme to layer 155. 2023-03-12 07:25:39 +04:00
John Preston
0c165d1fb8 Fix possible crash in audio speed change. 2023-03-12 07:25:39 +04:00
John Preston
a4d8b78bc5 Beta version 4.6.9: Fix status power saving. 2023-03-10 12:24:06 +04:00
John Preston
fadd19bca4 Beta version 4.6.9: Fix critical loading bug.
Regression was introduced in ec6dda47ae.

The HistoryWidget was infinitely trying to load history down even
when there was nothing to load and kept flooding with requests.
2023-03-10 12:02:14 +04:00
Ilya Fedin
37d3ac2cca Fix spaces on ends of lines in changelogs 2023-03-10 11:30:43 +04:00
Ilya Fedin
aefb0f52ff Remove unused media_openal_functions 2023-03-10 11:30:43 +04:00
Ilya Fedin
b69404635c Get rid of empty unused files 2023-03-10 11:30:43 +04:00
John Preston
ba04ab4756 Beta version 4.6.9: Fix build. 2023-03-10 11:13:46 +04:00
John Preston
da7cd6291e Proper check for atempo filter existance. 2023-03-10 11:13:44 +04:00
John Preston
b0c8b77ba5 Beta version 4.6.9.
- Fix audio speed change filter in Windows x64 build.
- Fix build scripts.
2023-03-10 10:45:52 +04:00
John Preston
e6b92eaf37 Add a power saving option to stop user statuses. 2023-03-10 10:44:57 +04:00
John Preston
3b3ee6fbbe Remove debugging logging. 2023-03-10 10:44:57 +04:00
John Preston
62b8165b7d Add atempo filter to macOS build script. 2023-03-10 10:07:55 +04:00
John Preston
83ea3a4b21 Fix build scripts on Windows. 2023-03-10 10:05:13 +04:00
Ilya Fedin
4b57cbb9f7 Make liblapack3 discoverable in snap 2023-03-10 08:01:27 +04:00
Ilya Fedin
e62bdc9e1c Fix legacy snapcraftctl usage 2023-03-10 06:21:57 +04:00
Ilya Fedin
b46d002157 Make libblas3 discoverable in snap 2023-03-10 06:21:57 +04:00
John Preston
95a4bf718d Beta version 4.6.8: Fix build with GCC. 2023-03-09 23:21:51 +04:00
John Preston
f4c9bfa7c2 Beta version 4.6.8.
- Improve quality of voice messages with changed playback speed.
- Show when your message was read in small groups.
- Fix pasting images from Firefox on Windows.
- Improve memory usage for custom emoji.
2023-03-09 19:12:44 +04:00
23rd
9803342c93 Fixed closing media viewer in fullscreen mode with click on top area. 2023-03-09 17:20:22 +03:00
23rd
d961b56a2d Added missed avfilter binaries for linkage on macOS. 2023-03-09 17:20:22 +03:00
John Preston
76351b6184 Fix huge memory allocation on unused emoji. 2023-03-09 12:30:45 +04:00
John Preston
214b112de0 Fix build with FFmpeg < 5.1. 2023-03-09 12:27:33 +04:00
Ilya Fedin
8975a31597 Optimize system tray icon cache invalidation 2023-03-09 11:16:35 +04:00
Ilya Fedin
96cced8401 Make the quit action lowercase
Just like other GApplciation actions
2023-03-09 11:16:11 +04:00
Ilya Fedin
327febbcdf Install libavfilter in snap 2023-03-09 08:25:00 +04:00
John Preston
de9a757e7a Fix webview switch_inline to the same chat. 2023-03-08 16:59:30 +04:00
John Preston
05ffc79539 Handle only left click on voice chat bar. 2023-03-08 16:59:28 +04:00
John Preston
9e79b59cce Remove confirmation when sharing a user to a bot. 2023-03-08 16:59:21 +04:00
John Preston
bfd318cf3f Treat test mode accounts as premium accounts.
Fixes #25982.
2023-03-08 16:59:13 +04:00
John Preston
3a0b912274 Fix bot about text selection. 2023-03-08 16:59:02 +04:00
John Preston
9c74c04738 Implement audio speed using libavfilter. 2023-03-08 16:10:36 +04:00
John Preston
0880a83c2c Improve ffmpeg audio loader interface. 2023-03-08 16:10:36 +04:00
John Preston
af95bd6fb7 Use FFmpeg 5.1 on Windows. 2023-03-08 16:10:36 +04:00
John Preston
ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +04:00
John Preston
c687882760 Fix glitch in Invite by Link button disappearance. 2023-03-08 16:10:36 +04:00
John Preston
d15c462cc3 Don't read legacy "errors" in passport. 2023-03-08 16:10:36 +04:00
John Preston
221b0d19c7 Support media covers for bot descriptions.
For that replace custom handling of _botAbout by a fake message.
2023-03-08 16:10:36 +04:00
23rd
59c66d1f49 Fixed showing of multiline toast from comments button. 2023-03-07 08:42:29 +03:00
23rd
728ec0974a Slightly improved style of menu for sponsored messages. 2023-03-07 08:42:29 +03:00
23rd
ec6dda47ae Fixed injecting of sponsored messages at first load of history messages. 2023-03-07 08:42:29 +03:00
John Preston
1b3cf0a654 Add an "Open App" button for bot app link previews. 2023-03-07 08:42:29 +03:00
John Preston
b95ea28e12 Implement dates of who read your message list. 2023-03-07 08:42:29 +03:00
John Preston
af51307aa6 Implement opening of t.me/bot/app-s. 2023-03-07 08:42:29 +03:00
23rd
ae5f2add0e Added possible info about sponsors to menu from sponsored messages. 2023-03-07 08:42:29 +03:00
23rd
5a43e7718a Moved out menu item with multiline text to separated file. 2023-03-07 08:42:29 +03:00
John Preston
4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston
34c1bd950e Update API scheme to layer 154. 2023-03-07 08:42:29 +03:00
Daniel Novomeský
6f16014232 Upgrade libheif in Windows build 2023-03-06 11:57:05 +04:00
Ilya Fedin
5991130b6f Try to make important tips more noticeable in the bug report template 2023-03-05 06:52:44 +04:00
Ilya Fedin
40b79dec12 GApplication as GNotification option scope 2023-03-04 15:24:09 +04:00
John Preston
ccbab25fae Beta version 4.6.7.
- Fix crash when accepting incoming calls.
- Remove sound when cancelling an unconfirmed call.
2023-03-02 19:36:57 +04:00
Ilya Fedin
c5acef8c53 Deduplicate notification actions on Linux
As there are notification daemons with quick reply support and GNotification API having mandatory default action support now, it's the time to reconsider button arrangement.

This also makes it possible for legacy notification daemons without default action support opening the chat when no buttons are allowed since 05524c3f6c again.
2023-03-02 17:33:06 +04:00
23rd
e2450101c0 Added ability to use back button in top bar with any mouse button. 2023-03-02 10:45:47 +03:00
23rd
6f3dbc4305 Fixed crash on incoming peer calls. 2023-03-02 09:22:13 +03:00
23rd
6ae15ff264 Fixed indents in some files. 2023-03-02 07:51:17 +03:00
23rd
582df3f39f Removed sound for cancel of unconfirmed peer calls. 2023-03-02 07:51:09 +03:00
John Preston
4838315ca7 Beta version 4.6.6.
- Confirmation window before starting a call.
- New "Battery and Animations" settings section.
- "Save Power on Low Battery" option for laptops.
- Improved windowed mode support for media viewer.
- Hardware accelerated video playback fix on macOS.
- New application icon on macOS following the system guidelines.
2023-03-01 17:53:24 +04:00
John Preston
da38539fa6 Try building Qt with -no-feature-netlistmgr on Windows. 2023-03-01 17:53:13 +04:00
John Preston
87d549baec Fix building Qt on Windows. 2023-03-01 17:53:13 +04:00
John Preston
6ad149e118 Improve semi-native minimize button icon on macOS. 2023-03-01 17:39:09 +04:00
John Preston
8dcb69ccdd Fix switch-inline bot buttons in topics. 2023-03-01 14:49:35 +04:00
John Preston
856c537335 Show correct state of "Accept calls" checkbox. 2023-03-01 12:53:06 +04:00
John Preston
d18c6591e9 Fix media viewer window preliminary destroy. 2023-03-01 12:41:12 +04:00
John Preston
b65a00824c Fix unused function warning. 2023-03-01 11:23:31 +04:00
Ilya Fedin
79e2157442 Update Qt to 6.5.0-beta3 on Linux 2023-03-01 11:14:34 +04:00
Ilya Fedin
63cf64fca2 Fix the configuration warning about OpenSSL 2023-03-01 11:14:34 +04:00
Ilya Fedin
84dbdc6e92 Let Dockerfile define the Qt version in use 2023-03-01 11:14:34 +04:00
John Preston
596e9310e4 Use battery saving API implementation on Linux. 2023-03-01 10:47:27 +04:00
John Preston
191b10ba74 Use software QML backend if OpenGL isn't available. 2023-03-01 10:47:27 +04:00
23rd
6813d21285 Fixed dragging of zoomed photos in windowed media viewer. 2023-03-01 10:47:27 +04:00
23rd
df176dd1d9 Guarded users from instant calls with confirmation dialog. 2023-03-01 09:12:03 +04:00
23rd
30ae879fb3 Fixed changing volume and seeking video in windowed media viewer. 2023-03-01 09:12:03 +04:00
23rd
63c390c505 Added ability to close media viewer with click on same media. 2023-03-01 09:12:03 +04:00
John Preston
aa9e56c633 Update icon on macOS, allow changing back. 2023-03-01 09:12:02 +04:00
John Preston
c575e61853 Remove unneeded field in libtgvoip. 2023-03-01 09:12:02 +04:00
John Preston
29224fea66 Improve design of mediaview controls over state. 2023-03-01 09:12:02 +04:00
John Preston
df9bd91d9a Implement semi-native macOS title buttons for the viewer. 2023-03-01 09:12:02 +04:00
John Preston
78090f540e Implement low power mode detection on macOS. 2023-03-01 09:12:02 +04:00
John Preston
a01f74ecdc Fix build with Xcode. 2023-03-01 09:12:02 +04:00
John Preston
ce0e07d332 Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
John Preston
388541a3fb Show a new "Battery and Animations" settings item. 2023-03-01 09:12:02 +04:00
John Preston
588d5ad695 Fix build with Xcode. 2023-03-01 09:12:02 +04:00
John Preston
122234f55c Show shadow below controls in media viewer. 2023-03-01 09:12:02 +04:00
John Preston
d1230167bf Improve title controls in Windows media viewer. 2023-03-01 09:12:02 +04:00
John Preston
2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
GitHub Action
02bc950b57 Update User-Agent for DNS to Chrome 110.0.5481.100. 2023-03-01 07:49:32 +04:00
Ilya Fedin
2181422d5f Fix build with ffmpeg 5.0 2023-02-26 13:27:17 +04:00
Ilya Fedin
1f1cd35d57 videoplayer cheat code -> experimental setting 2023-02-26 13:27:17 +04:00
John Preston
01d6cacee5 Version 4.6.5: Fix build with FFmpeg 5.1. 2023-02-25 17:56:16 +04:00
John Preston
df594de4bf Version 4.6.5: Fix build with Xcode. 2023-02-25 17:18:30 +04:00
John Preston
3093cb3759 Version 4.6.5.
- Fix payment card input field validation.
- Fix video playback with hardware acceleration on macOS.
2023-02-25 17:10:35 +04:00
John Preston
6fa8426ff4 Backport hinting changes from Qt 6 on Windows. 2023-02-25 17:04:52 +04:00
John Preston
7a090610b9 Upgrade FFmpeg to 5.1 on macOS.
In this version videos play fine with hardware acceleration enabled.
2023-02-25 16:57:06 +04:00
John Preston
4ca6834e03 Fix (somehow) snap-grid in media viewer on Windows 11. 2023-02-24 11:43:36 +04:00
Ilya Fedin
e444c22a01 Update cmake_helpers and patches on Windows 2023-02-22 16:51:13 +04:00
Ilya Fedin
808cf119b8 Switch freetype to experimental settings 2023-02-22 16:51:13 +04:00
John Preston
c327fa0d45 Fix the card validator. 2023-02-21 17:10:48 +04:00
John Preston
b8c510ca6d Hide shared media layer on jump to message in topic. 2023-02-21 17:10:41 +04:00
Ilya Fedin
1cf50f95ac Install pkg-config explicitly in macOS action 2023-02-20 14:26:41 +04:00
Ilya Fedin
9849b7adb6 Use custom workdir even if it doesn't exist 2023-02-20 13:52:59 +04:00
Ilya Fedin
8099c28197 Fallback to other working directories in debug mode on Unix systems
Just like on Windows
2023-02-20 13:52:59 +04:00
Daniel Novomeský
dbe84d732c Upgrade libjxl in snapcraft.yaml 2023-02-20 12:11:12 +04:00
Daniel Novomeský
78fc112a00 Upgrade highway, libde265, libheif, libjxl in Linux build 2023-02-20 12:11:12 +04:00
Ilya Fedin
f71e7812e6 Don't hold GApplication
That's a much better way to avoid defunct event loop that will work in any edge case

Also don't assume GApplication is always running in Platform::Notifications::Enforced
2023-02-18 20:33:40 +04:00
John Preston
78467b18f7 Beta version 4.6.4: Fix initial windowed viewer. 2023-02-18 18:36:03 +04:00
John Preston
5d9383b8e4 Beta version 4.6.4.
- Allow media viewer to exit fullscreen and become a normal window.
2023-02-18 15:17:26 +04:00
John Preston
137c13c9c0 Don't steal window focus to viewer on another screen. 2023-02-18 15:16:06 +04:00
John Preston
18ebaeb726 Fix theme preview in a small OpenGL viewer. 2023-02-18 15:10:14 +04:00
John Preston
c09043f827 Fix build for macOS. 2023-02-18 15:10:14 +04:00
John Preston
832d47121f Save media viewer position to Settings. 2023-02-18 15:10:13 +04:00
John Preston
783d1cd4c1 Improve initial video geometry in media viewer. 2023-02-18 15:10:13 +04:00
John Preston
27d446bdda Improve Ctrl+W / Ctrl+M handling by media viewer. 2023-02-18 15:10:13 +04:00
John Preston
24a1208b9a Manual rounding support in OpenGL media viewer. 2023-02-18 15:10:13 +04:00
John Preston
b9e0c60adf Fix window shadow on Linux for translucent windows. 2023-02-18 15:10:13 +04:00
John Preston
f9847090f9 Cmd+Q quit prevention in windowed media viewer. 2023-02-18 15:10:13 +04:00
John Preston
2a1e3c4453 Initial implementation of windowed media viewer on macOS. 2023-02-18 15:10:13 +04:00
John Preston
7a5c9a6fb8 First version of windowed media viewer on Windows. 2023-02-18 15:10:13 +04:00
John Preston
5c33f0cc5b Allow translucent captioned windows on Windows. 2023-02-18 15:10:13 +04:00
Ilya Fedin
e78975d770 Fix event loop for non-first instance on Linux 2023-02-17 09:27:36 +04:00
John Preston
4247fd0c0f Version 4.6.3.
- Optimize chats list initial loading.
- Various crash fixes.
2023-02-16 07:03:13 +04:00
John Preston
50f2e93623 Replace "Your Report Tag" with "Crash ID". 2023-02-15 22:32:11 +04:00
Vitaly Zaitsev
fbfa6966f4 Updated internal submodules. 2023-02-15 21:17:16 +04:00
Vitaly Zaitsev
42eb452de8 Updated GSL submodule to version 4.0.0. 2023-02-15 21:17:16 +04:00
Vitaly Zaitsev
9b3692ca22 Removed deprecated GSL headers usage. 2023-02-15 21:17:16 +04:00
Daniel Novomeský
7463aad755 Upgrade libde265, libheif, libjxl in Windows build 2023-02-15 20:19:13 +04:00
Daniel Novomeský
9cf419999d Update kimageformats submodule
Contains fix in HEIF Qt plug-in
2023-02-15 20:19:13 +04:00
John Preston
7557a20679 Close PiP when a passcode lock is enabled. 2023-02-15 10:47:10 +04:00
John Preston
91e6c42fcf Fix channel creation flow. 2023-02-15 10:14:50 +04:00
John Preston
3573b84e8b Fix drag area in comments appearance. 2023-02-15 10:02:14 +04:00
John Preston
bb900c195c Fix possible crash in top bar back button.
Fixes #25882.
2023-02-15 09:43:42 +04:00
John Preston
e61c058eb5 Fix account activation from main menu. 2023-02-15 08:44:24 +04:00
Vitaly Zaitsev
b48dee0af7 Fixed build with GCC 13.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2023-02-14 21:00:37 +04:00
Ilya Fedin
6b6afd38ac Update submodules 2023-02-14 18:37:01 +04:00
Ilya Fedin
98e8a20f5f Fix missing include in settings_main 2023-02-14 18:37:01 +04:00
Ilya Fedin
aeeb9fe761 Fix macOS GH action 2023-02-14 18:37:01 +04:00
Ilya Fedin
c65b45460b Fix range-v3 deprecation warnings 2023-02-14 18:37:01 +04:00
Ilya Fedin
1940edd6ee Fix deprecated declarations warnings on macOS 2023-02-14 18:37:01 +04:00
Ilya Fedin
96ef82272b Use QT_DEPRECATED_WARNINGS_SINCE 2023-02-14 18:37:01 +04:00
John Preston
29d93d348c Fix possible crash in migration tracking. 2023-02-14 10:00:10 +04:00
Ilya Fedin
879df6e6a3 Present window's devicePixelRatio in the UI
It's a more valid value when Qt's rater downscaling is in effect

Also round it
2023-02-13 11:48:51 +04:00
John Preston
9d3715a36a Fix possible crash in members invite.
In some cases Info::Controller (public Window::SessionNavigation)
can be destroyed without the box being destroyed, for example when
group topics are turned on and off.
2023-02-13 06:09:55 +04:00
John Preston
1cb0d7c2dc Fix crash in emoji panel search mode toggle. 2023-02-12 15:04:57 +04:00
John Preston
1da635a5dd Fix crash in cloud lang manager destructor. 2023-02-12 15:01:50 +04:00
John Preston
d0c2bec925 Fix crash clearing chats list before histories. 2023-02-12 14:39:06 +04:00
Ilya Fedin
13a9920c11 Set QT_DPI_ADJUSTMENT_POLICY for older Qt to the new default value 2023-02-11 15:40:00 +04:00
Ilya Fedin
0b100884fc Round system scale in step of 5 points, just like in settings 2023-02-11 15:40:00 +04:00
Ilya Fedin
6e89d41d58 Use variables from style namespace instead of hardcoded scale limits 2023-02-11 15:40:00 +04:00
John Preston
20f946f657 Add empty emoji search icon. 2023-02-10 20:12:28 +04:00
John Preston
9e49e32702 Fix system buttons padding on Windows. 2023-02-10 20:12:17 +04:00
John Preston
6834cdb969 Check restrictions in attach menu bots. 2023-02-09 13:15:45 +04:00
John Preston
36bf54b0d1 Fix layout in blocked users list. 2023-02-09 13:05:21 +04:00
John Preston
8f908ab9c0 Show empty search results in emoji panel. 2023-02-09 12:55:44 +04:00
John Preston
cbd9dd0c2c Allow either category or set being selected. 2023-02-09 12:17:16 +04:00
Joe Kappus
a8decf154f Fix build with GCC12 2023-02-09 11:18:02 +04:00
John Preston
f2ed77649e Preload complex last message on demand. 2023-02-09 09:56:54 +04:00
John Preston
369862a3a7 Always use 64 bit build of dump_syms. 2023-02-09 09:56:54 +04:00
23rd
e6b24a49f6 Moved sticker randomization to class in menu item of userpic builder. 2023-02-09 08:36:59 +03:00
23rd
08644a9c31 Fixed search categories in list of stickers from userpic emoji builder. 2023-02-09 08:36:59 +03:00
23rd
9090b8ce6b Fixed color buttons in userpic emoji builder with different scales. 2023-02-09 08:36:59 +03:00
John Preston
646bb2ff71 Upload sources-full first in release script. 2023-02-09 08:12:38 +04:00
John Preston
7fa229537d Version 4.6.2: Fix translating to fallback language. 2023-02-08 18:12:08 +04:00
John Preston
c314e43a44 Fix sending / sent image icon in night-green theme. 2023-02-08 16:59:00 +04:00
John Preston
ee1162faff Version 4.6.2: Fix ghost drafts appearing in channels. 2023-02-08 15:48:05 +04:00
John Preston
84b4ab1c3c Version 4.6.2: Re-enable global /LTCG on Windows.
With /LTCGOUT: empty path it should not try generating .iobj file,
and work on both 32 bit and 64 bit build with all static libs.
2023-02-08 13:20:01 +04:00
John Preston
9659cb5b6f Version 4.6.2: Fix build on macOS. 2023-02-08 12:55:57 +04:00
Ilya Fedin
eee800b6d0 Use window widget's devicePixelRatio when displaying interface scale value
This is less confusing in multi-monitor environments
2023-02-08 12:18:21 +04:00
John Preston
41d9a9fcbd Version 4.6.2.
- One more attempt to fix fonts on Windows.
- Fix polls forwarding to private chats.
- Improve translations bar appearance.
- Improve userpic editor presets.
2023-02-07 21:27:33 +04:00
John Preston
fec80c0c64 Support text-color-ed emoji in userpic editor. 2023-02-07 20:43:50 +04:00
John Preston
ed9ba07a32 Disable local card number validation.
Some cards are reported invalid there that are valid.
2023-02-07 20:18:18 +04:00
John Preston
2f1c674401 Support markup in TranslateBox.
Server will translate with markup for premium users.
2023-02-07 20:06:21 +04:00
John Preston
663e89662b Bring "Do Not Translate" to "Translate To" list top. 2023-02-07 19:45:18 +04:00
John Preston
afd717b36e Ease local card expiry date check. 2023-02-07 19:13:07 +04:00
John Preston
ddfcf9f1df Don't allow empty "Do Not Translate" list. 2023-02-07 18:38:10 +04:00
John Preston
4a37846605 Feed initial messages slice to translation tracker. 2023-02-07 17:29:30 +04:00
John Preston
64f4e0dd52 Don't offer translate from / to the same language. 2023-02-07 16:38:16 +04:00
John Preston
d889cd0e72 Fix polls forwarding to private chats. 2023-02-07 16:28:59 +04:00
23rd
d7aa18cb0a Moved light part of palette gradients to top in userpic emoji builder. 2023-02-07 11:35:23 +04:00
23rd
e486cf1afa Fixed calculate of discount in premium subscription options. 2023-02-07 11:35:21 +04:00
John Preston
5f3e7235a5 Update submodules. 2023-02-07 11:35:17 +04:00
John Preston
26ff3148d6 One more fonts fix and fix paste from clipboard. 2023-02-07 11:31:19 +04:00
John Preston
f95610edfc Version 4.6.1: Add one more patch on Windows. 2023-02-06 23:04:40 +04:00
John Preston
0d134f2b89 Version 4.6.1.
- Fix fonts fallback on Windows.
- Fix crash in userpic editor.
- Fix some crashes on 32 bit Window build.
- Bug fixes and other minor improvements.
2023-02-06 20:42:51 +04:00
John Preston
1a9e217c3e Remove duplicate LTCG flags in td_scheme. 2023-02-06 20:41:33 +04:00
John Preston
c4402c717a Rebuild Qt with a patch for fonts fallback. 2023-02-06 20:39:00 +04:00
John Preston
0bdd0689c0 Create tray / mediaview queued on macOS.
This removes some strange redundant entries like "Item-0" from the Dock menu.
2023-02-06 13:34:03 +04:00
John Preston
671b3bc94e Improve cursor coordinate rounding.
Fixes #25838.
2023-02-06 12:44:30 +04:00
Joe Kappus
0943d3aac1 Add missing include to fix GCC12 build
Signed-off-by: Joe Kappus <joe@wt.gd>
2023-02-06 12:43:55 +04:00
John Preston
405230c0c6 Don't request settings of unknown peers. 2023-02-06 12:24:08 +04:00
John Preston
af8c1f77c7 Change td_ui to a static library.
This (temporarily) fixes LTCG linking on Windows 32 bit.

I hope this fixes #25832.
2023-02-06 10:37:52 +04:00
John Preston
81fb4046d1 Fix possible crash with pinned message deletion. 2023-02-06 10:36:21 +04:00
John Preston
fb283c4828 Fix bot buttons disappearing on chat switch. 2023-02-06 09:12:06 +04:00
John Preston
6f797a17ad Fix activating chat list entry from global search. 2023-02-04 21:19:46 +04:00
Ilya Fedin
326b4eb10d Add the package with C.UTF-8 locale to snap 2023-02-04 11:29:00 +04:00
John Preston
713889aa9c Make sure the device model isn't empty.
I hope this fixes #25824.
2023-02-04 10:23:26 +04:00
GitHub Action
a6aa759947 Update User-Agent for DNS to Chrome 109.0.5414.74. 2023-02-04 09:56:19 +04:00
John Preston
985db8aacf Fix a possible crash in userpic editor. 2023-02-04 09:56:01 +04:00
John Preston
dff1568cb2 Fix "Do Not Translate" button visibility. 2023-02-04 09:37:36 +04:00
John Preston
b9188f892f Version 4.6.
- Emoji Profile Pictures.
Quickly create group and profile pictures from animated emoji
and stickers with the new "Use an Emoji" option.
- Emoji Categories.
Filter stickers and emoji by categories like "love", "cheers"
or "sleeping" in the sticker and emoji tabs.
- Chat Translation.
As a Premium user, translate entire chats in real time
as you scroll them or receive new messages.
- Media Permissions in Groups.
Control whether members of your groups can send
9 distinct media types – like Photos, Voice or Video Messages.
- Select Chats for Bots.
Bot developers can now let users quickly select groups,
channels or contacts that meet predefined criteria (more in @BotNews).
- Open in New Window.
Open chats or additional accounts in separate windows.
2023-02-03 22:13:26 +04:00
John Preston
84bf716f94 Improve colors in tabbed search field. 2023-02-03 20:51:13 +04:00
John Preston
c737e2f91b Track window activation history. 2023-02-03 20:48:12 +04:00
John Preston
bbd937115c Add "Open in new window" to context menu. 2023-02-03 20:47:59 +04:00
John Preston
94b489835c Add chat name / account name / unread count title settings. 2023-02-03 17:51:47 +04:00
John Preston
eb64ffcd86 Fix chat filters detection on login. 2023-02-03 17:51:47 +04:00
John Preston
95336d4a96 Reorder translation languages. 2023-02-03 17:51:47 +04:00
John Preston
ad91592390 Set system window title text on macOS. 2023-02-03 11:27:51 +04:00
John Preston
a52bb21606 Fix activating account more than once. 2023-02-03 09:59:28 +04:00
John Preston
762589b622 Fix userpic in a notification with hidden sender. 2023-02-03 09:51:06 +04:00
John Preston
5f027d7c87 Check FindDecoder result in GIFs renderer. 2023-02-03 09:51:06 +04:00
23rd
2dd01ed09f Replaced default gradients for color palette in userpic emoji builder. 2023-02-03 08:03:09 +03:00
23rd
1d21c2ca8f Slightly improved input of phone code in PhoneWidget. 2023-02-03 08:03:09 +03:00
23rd
e0cba40410 Replaced icons in gradient editor from userpic emoji builder. 2023-02-03 08:03:09 +03:00
John Preston
4484457965 Fix build with Xcode. 2023-02-02 22:12:33 +04:00
John Preston
989689f0e0 Fix static emoji appearing in reaction categories. 2023-02-02 22:12:33 +04:00
John Preston
20533a6795 Fix wrong padding in stickers search results. 2023-02-02 22:12:33 +04:00
23rd
98f811a258 Replaced toggles in admin rights box with universal nested list. 2023-02-02 22:12:33 +04:00
23rd
d823db32fc Added support of universal list of nested permission flags. 2023-02-02 22:12:33 +04:00
23rd
db7a251ceb Slightly optimized CreateEditFlags function for restrictions. 2023-02-02 22:12:33 +04:00
23rd
0c2f5ed76c Dedicated CreateEditFlags function only for restrictions. 2023-02-02 22:12:33 +04:00
23rd
6dd6066738 Replaced signature ApplyDependencies function with more abstract one. 2023-02-02 22:12:33 +04:00
23rd
fecf538e31 Returned old design of toggles in admin rights box for now. 2023-02-02 22:12:33 +04:00
John Preston
29379fac35 Use graphics for permissions expand arrow. 2023-02-02 22:12:33 +04:00
John Preston
ebfddc1a68 Fix return to saved history state with translate bar. 2023-02-02 22:12:33 +04:00
John Preston
3ac86adf10 Support translations in replies / pinned. 2023-02-02 22:12:33 +04:00
John Preston
f55d9fb82b Improve emoji footer over state in status panel. 2023-02-02 22:12:33 +04:00
John Preston
1aeca7b486 Add create-from-choose-peer button icons. 2023-02-02 22:12:33 +04:00
John Preston
6957376a21 Improve translation bar styles. 2023-02-02 22:12:33 +04:00
John Preston
9344e78889 Fix translation of the pinned message. 2023-02-02 22:12:33 +04:00
John Preston
514b2a55be Add divider below choosing chat requirements list. 2023-02-02 22:12:33 +04:00
John Preston
2886ae6909 Block field with toast if texts are not allowed. 2023-02-02 22:12:33 +04:00
John Preston
d697a57834 Fix UserpicButton loading an avatar. 2023-02-02 22:12:33 +04:00
John Preston
19f346e658 Fix translate bar show after slide animation. 2023-02-02 22:12:33 +04:00
John Preston
bc90399ec3 Fix crash in custom duration status set. 2023-02-02 22:12:33 +04:00
John Preston
edb011dc0d Fix build with MSVC. 2023-02-02 22:12:33 +04:00
23rd
7a63246e6c Respected forum userpic type in userpic emoji builder. 2023-02-02 22:12:33 +04:00
23rd
1026f41da8 Replaced BubbleWrap class with single function. 2023-02-02 22:12:33 +04:00
23rd
7c8ada0e78 Slightly improved shadows for bubble wraps in userpic emoji builder. 2023-02-02 22:12:33 +04:00
23rd
841ddcefab Simplified icon of toggle button in selector of userpic emoji builder. 2023-02-02 22:12:33 +04:00
John Preston
4234f0b797 Check if bot is in group or if can be added. 2023-02-02 22:12:33 +04:00
John Preston
17ce93fd5e Add choose chat for bot confirmation. 2023-02-02 22:12:33 +04:00
23rd
bbd8571c9a Fixed height of emoji selector in userpic emoji builder. 2023-02-02 22:12:33 +04:00
23rd
7881cb8946 Fixed finishing of toggle animations in peer permissions box. 2023-02-02 22:12:33 +04:00
23rd
a8a9b638bb Removed unused keys from chat.style. 2023-02-02 22:12:33 +04:00
23rd
81b47fd224 Removed unused keys from info.style. 2023-02-02 22:12:33 +04:00
23rd
0489f085fc Removed unused keys from settings.style. 2023-02-02 22:12:33 +04:00
23rd
9ec42f02bd Removed unused keys from profile.style. 2023-02-02 22:12:33 +04:00
23rd
563f933201 Removed unused keys from media_player.style. 2023-02-02 22:12:33 +04:00
23rd
0033e364dd Removed unused keys from media_view.style. 2023-02-02 22:12:33 +04:00
23rd
cad52a68f9 Removed unused keys from dialogs.style. 2023-02-02 22:12:33 +04:00
23rd
ca022b139c Removed unused keys from window.style. 2023-02-02 22:12:33 +04:00
23rd
6c0deeb725 Removed unused keys from intro.style. 2023-02-02 22:12:32 +04:00
23rd
9476e7636b Removed unused keys from chat_helpers.style. 2023-02-02 22:12:32 +04:00
23rd
84d699397c Removed unused keys from overview.style. 2023-02-02 22:12:32 +04:00
23rd
bd984b2ddb Removed unused keys from passport.style. 2023-02-02 22:12:32 +04:00
23rd
dc2ca16268 Removed unused keys from premium.style. 2023-02-02 22:12:32 +04:00
23rd
d06dd8469d Removed unused keys from calls.style. 2023-02-02 22:12:32 +04:00
23rd
a2f51d8203 Removed unused keys from boxes.style. 2023-02-02 22:12:32 +04:00
23rd
8887b2f542 Added ability to set photo for contact from userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
48b783f6a0 Fixed display of new chat photo after applying. 2023-02-02 22:12:32 +04:00
23rd
322cbc5ed0 Improved round corners of emoji on userpic preview in builder. 2023-02-02 22:12:32 +04:00
23rd
5558ac22f5 Fixed footer animation on switch of emoji selector in userpic builder. 2023-02-02 22:12:32 +04:00
John Preston
097d04e2d4 Remove unused keys from lang.strings file. 2023-02-02 22:12:32 +04:00
John Preston
5b063a1807 Update API scheme on layer 152. 2023-02-02 22:12:32 +04:00
John Preston
be6644266d Fix build on Windows. 2023-02-02 22:12:32 +04:00
John Preston
489d6d1f58 Warn that m4v and m3u8 may reveal your IP. 2023-02-02 22:12:32 +04:00
John Preston
5c02a61de6 Fix killing of upload sessions for inactivity. 2023-02-02 22:12:32 +04:00
John Preston
72d6ba5e41 Fix diacritic after a char after an emoji.
Fixes #24785.
2023-02-02 22:12:32 +04:00
23rd
5773a8021a Added some round corners to emoji on userpic preview in builder. 2023-02-02 22:12:32 +04:00
23rd
6bb7263f7d Provided result of emoji userpic builder to api. 2023-02-02 22:12:32 +04:00
23rd
b7cf32a65f Extended output data from emoji userpic builder. 2023-02-02 22:12:32 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
23rd
d6bf5513ff Respected option from app config in emoji preview for userpic builder. 2023-02-02 22:12:32 +04:00
23rd
36190258be Fixed emoji categories in emoji picker from userpic builder. 2023-02-02 22:12:32 +04:00
23rd
575221b7be Fixed resolving of custom emoji in menu item of emoji userpic builder. 2023-02-02 22:12:32 +04:00
23rd
0578fb421f Added api support of default list of group emoji for userpic builder. 2023-02-02 22:12:32 +04:00
John Preston
5ba7b3906c Fix translation of replies to web-page previews. 2023-02-02 22:12:32 +04:00
John Preston
f4455663fc Don't add views counter when editing media. 2023-02-02 22:12:32 +04:00
23rd
70cda17dea Applied search categories to emoji userpic builder. 2023-02-02 22:12:32 +04:00
23rd
fda49a3bfa Fixed respect of locked state in list of chat participant statuses. 2023-02-02 22:12:32 +04:00
23rd
7b7ff32c94 Split button to expand list of restrictions for sending media on two. 2023-02-02 22:12:32 +04:00
23rd
70a61fa2a4 Added icons to buttons in edit peer permissions box. 2023-02-02 22:12:32 +04:00
23rd
5f2c8acae9 Replaced design of restriction buttons for sending media with checkbox. 2023-02-02 22:12:32 +04:00
23rd
3ce3baee61 Added button to expand list of chat restrictions for sending media. 2023-02-02 22:12:32 +04:00
23rd
4598fc3d53 Moved paint of toggle up-down arrow from main menu to td_ui. 2023-02-02 22:12:32 +04:00
23rd
21cd1555f0 Replaced Checkbox with SettingsButton for chat participant statuses. 2023-02-02 22:12:32 +04:00
23rd
642554828c Added ability to fill chat participant statuses with custom widgets. 2023-02-02 22:12:32 +04:00
23rd
8688a68115 Added ability to fill list of chat participant statuses from external. 2023-02-02 22:12:32 +04:00
23rd
f21edd1d23 Replaced EditPeerPermissionsBox with generic box. 2023-02-02 22:12:32 +04:00
John Preston
19e43cfd1d Show "Translate" in three-dot if bar was hidden. 2023-02-02 22:12:32 +04:00
John Preston
be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston
f5be551ff8 Add translation bar dropdown menu. 2023-02-02 22:12:32 +04:00
John Preston
1689c1a597 Add Real-Time Translations premium promo section. 2023-02-02 22:12:32 +04:00
John Preston
7d2ad39a26 Fix build on macOS. 2023-02-02 22:12:32 +04:00
John Preston
dc464b2718 Translate pinned message as well. 2023-02-02 22:12:32 +04:00
John Preston
719466fcac Initial chat-translation feature implementation. 2023-02-02 22:12:32 +04:00
John Preston
02a0ca7112 Update API scheme on layer 152.
Add a method for ProfilePhoto emoji group requesting.
2023-02-02 22:12:32 +04:00
23rd
a50cde291b Removed unused unique_qptr of ScrollArea in userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
a23bd5f3ff Fixed selecting of stickers in userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
9c43f9c3e2 Fixed low quality of first frame for lottie emoji in userpic builder. 2023-02-02 22:12:32 +04:00
John Preston
a58f9c6ebd Update API scheme on layer 152. 2023-02-02 22:12:32 +04:00
23rd
6bac662ee8 Added ability to change initial color in color editor. 2023-02-02 22:12:32 +04:00
23rd
27ff6b3446 Added special button to open gradient color editor. 2023-02-02 22:12:32 +04:00
23rd
c02fe1cd8d Added entry point for gradient color editor as layer. 2023-02-02 22:12:32 +04:00
23rd
a61c4f1813 Added initial implementation of gradient color editor. 2023-02-02 22:12:32 +04:00
23rd
16f59eee5d Removed colors palette class for userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
cae97cb062 Replaced gradient stops with gradient colors in EmojiUserpic of builder. 2023-02-02 22:12:32 +04:00
23rd
2f7e4ae8fb Moved out common structures for userpic emoji builder to single place. 2023-02-02 22:12:32 +04:00
23rd
9a717b885a Moved out preview for userpic emoji builder to separated file. 2023-02-02 22:12:32 +04:00
23rd
5c3067d1f8 Added to ColorEditor rpl value of current colors. 2023-02-02 22:12:32 +04:00
23rd
dff738f3c6 Removed emoji and sticker animations from userpic emoji builder for now. 2023-02-02 22:12:32 +04:00
23rd
6fe930c19d Fixed paint of static stickers in userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
b52948c1c0 Added initial ability to switch between stickers and emoji in builder. 2023-02-02 22:12:32 +04:00
23rd
cf6245af42 Added entry point for userpic emoji builder to userpic button. 2023-02-02 22:12:32 +04:00
23rd
e0aabe3acf Added ability to open userpic emoji builder with initial data. 2023-02-02 22:12:32 +04:00
23rd
76ee5fcefe Simplified paint of static custom emoji status in premium settings. 2023-02-02 22:12:32 +04:00
23rd
9bc4c0a551 Added initial implementation of userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
6c1e9b1387 Added initial implementation of inner widget of userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
6ffdc52b55 Added initial api support of default list for emoji profile. 2023-02-02 22:12:32 +04:00
23rd
607e79fca0 Added initial implementation of layer for userpic emoji builder. 2023-02-02 22:12:32 +04:00
23rd
177b9140d5 Added bubble wrap for layer of userpic builder. 2023-02-02 22:12:32 +04:00
23rd
d2e940f1ff Added initial implementation of color chooser for userpic builder. 2023-02-02 22:12:32 +04:00
23rd
5150ca054e Added ability to paint circle buttons of accent colors with custom size. 2023-02-02 22:12:32 +04:00
23rd
a7e2de53f5 Moved out size of result file for userpic to public interface. 2023-02-02 22:12:31 +04:00
23rd
f077c555e2 Moved out styles of ripples with shadowFg color to single place. 2023-02-02 22:12:31 +04:00
John Preston
54117cc762 Fix styles in reactions expanded panel. 2023-02-02 22:12:31 +04:00
John Preston
22f9e87fbe Grab/return focus in status/reactions search. 2023-02-02 22:12:31 +04:00
John Preston
2e88ada392 Improve reactions expanding animation. 2023-02-02 22:12:31 +04:00
John Preston
1f6ccf59cb Improve status selector design. 2023-02-02 22:12:31 +04:00
John Preston
4129664637 Fix animated toggle in tabbed panel. 2023-02-02 22:12:31 +04:00
John Preston
21f3a7b07f Find emoji by words for stickers search. 2023-02-02 22:12:31 +04:00
John Preston
c48ac28204 Search stickers by emoji. 2023-02-02 22:12:31 +04:00
John Preston
65b1a0c9a4 Use TabbedSearch control for stickers panel. 2023-02-02 22:12:31 +04:00
John Preston
d4897c8a95 Remove fake generated Premium Sticker Set. 2023-02-02 22:12:31 +04:00
John Preston
ffb2c5093d Use StickersListFooter for GIFs section. 2023-02-02 22:12:31 +04:00
John Preston
d51d1939b0 Add search with categories to GIF. 2023-02-02 22:12:31 +04:00
John Preston
4f18535f8d Implement nice emoji categories scrolling. 2023-02-02 22:12:31 +04:00
John Preston
04482ef33b Fix emoji set right buttons. 2023-02-02 22:12:31 +04:00
John Preston
f19e343025 Fix cancel search style in emoji panel. 2023-02-02 22:12:31 +04:00
John Preston
88e7f4b662 Improve the tabbed emoji panel design. 2023-02-02 22:12:31 +04:00
John Preston
e73dbf5f65 Implement emoji search / categories. 2023-02-02 22:12:31 +04:00
John Preston
826ec75c33 Update API scheme on layer 152. 2023-02-02 22:12:31 +04:00
John Preston
ea4e2f0952 Fix build with Xcode. 2023-02-02 22:12:31 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston
de5bbf2cb9 Allow creating group / channel for the bot. 2023-02-02 22:12:31 +04:00
John Preston
809610817e Initial request peer button implementation. 2023-02-02 22:12:31 +04:00
John Preston
90cb61676a Update API scheme to layer 152. 2023-02-02 22:12:31 +04:00
John Preston
37cf12f06e Beta version 4.5.9: Fix new window position. 2023-02-02 22:10:44 +04:00
John Preston
fa4b538e6f Beta version 4.5.9.
- Hide taskbar window preview when Telegram is locked by a passcode
(Windows only).
- More improvements for working with multiple windows.
- Bug fixes and other minor improvements.
2023-02-02 20:22:21 +04:00
John Preston
0495cf4187 Use better initial geometry for new windows. 2023-02-02 20:20:05 +04:00
Ilya Fedin
933f1944c7 Strip binaries in snap 2023-02-02 16:18:53 +04:00
Ilya Fedin
925849858b Use ninja generator for libjxl in snap 2023-02-02 16:18:53 +04:00
Ilya Fedin
3c3829d9c5 Replace some legacy variables in snapcraft.yml 2023-02-02 16:18:53 +04:00
John Preston
88f3aeca5b Show just logo in Dwm Preview when passcoded. 2023-02-02 16:14:36 +04:00
John Preston
c7b3c95dc6 Fix root view pinned bar glitch in comments. 2023-02-02 16:12:44 +04:00
John Preston
e950130da6 Fix date and forward bar overlapping. 2023-02-02 10:55:04 +04:00
John Preston
a4cdd83816 Improve crash report window on Windows. 2023-02-02 10:55:04 +04:00
John Preston
e10964a0bc Allow opening new account in a separate window. 2023-02-02 10:55:04 +04:00
John Preston
42a2f53a11 Fix wrong media controls activations.
Fixes #25778, fixes #25786.
2023-02-02 10:55:04 +04:00
John Preston
f713585f17 Remove non-authed account only without a window. 2023-02-02 10:55:04 +04:00
John Preston
5278ed1f41 Fix account activation after window closing. 2023-02-02 10:55:04 +04:00
John Preston
58cedb796e Fix possible crash on empty options from the server. 2023-02-02 10:55:04 +04:00
Ilya Fedin
de11987312 Fix changelog dates since new year 2023-01-31 13:52:48 +04:00
Ilya Fedin
204cfaa8ca Update patches commit in Dockerfile 2023-01-31 13:52:48 +04:00
Ilya Fedin
5d20d585b3 Don't use alcGetEnumValue for non-ALC enum value
This makes no effective change for openal-soft as alGetEnumValue and alcGetEnumValue do lookup in the same table, but it's more semantically right and openal-soft is not the only implementation of the API
2023-01-26 15:56:01 +04:00
Ilya Fedin
2be4641496 Install launcher on every launch on Linux
Just like AppUserModelId on Windows

This makes the cheat code and having the function outside of private namespace unnecessary
2023-01-23 12:16:59 +04:00
Ilya Fedin
b62e1d5036 Set prgname and application name before glibmm initialization
This ensures possible warnings use right process name
2023-01-22 15:11:02 +04:00
Ilya Fedin
fc8d1e21e8 Merge generate-caches and desktop-qt snap parts 2023-01-22 10:43:03 +04:00
John Preston
8ddbfb7de5 Beta version 4.5.8: Fix build with GCC. 2023-01-22 00:13:13 +04:00
John Preston
89687e5bff Beta version 4.5.8.
- Allow opening another account in a new window
(see Settings > Advanced > Experimental Settings).
- A lot of bugfixes for working with more than one window.
2023-01-21 21:27:45 +04:00
John Preston
fcfacf1f9d Fix scroll in return to a channel I'm not in. 2023-01-21 21:24:54 +04:00
John Preston
a6484e6131 Fix build on MSVC. 2023-01-21 21:12:40 +04:00
John Preston
c2578f9a5a Add an #import statement in lib_webrtc. 2023-01-21 21:08:49 +04:00
John Preston
0de77a051a Fix interface scale padding in non-authed Settings. 2023-01-21 21:08:49 +04:00
John Preston
b0f8846d12 Fix opening topic on non-existent message error display. 2023-01-21 21:08:49 +04:00
23rd
6258aa01b8 Replaced multiple static constants for square root of 2 with Qt define. 2023-01-21 19:40:33 +03:00
Ilya Fedin
c8aa97b6b2 Fix fonts in snap
Regression was introduced in 09bd953c18
2023-01-21 09:44:14 +04:00
Ilya Fedin
d67c48fda1 Generate various caches in snap to speedup launch after updates 2023-01-21 09:44:14 +04:00
John Preston
7caabb8f5a Fix crash in topics disabling. 2023-01-21 09:42:57 +04:00
23rd
37454b4ff4 Added list of active group calls to Calls box. 2023-01-21 07:29:40 +04:00
23rd
cd032f5c16 Fixed update of flag for group calls from mtp chat data. 2023-01-21 07:29:40 +04:00
23rd
0c17bdc783 Replaced Calls box with GenericBox. 2023-01-21 07:29:40 +04:00
23rd
23a1f7b83c Fixed display of empty result of topics search. 2023-01-21 07:29:40 +04:00
23rd
465a33f095 Fixed display of loading peer list item in choose forum topic box. 2023-01-21 07:29:40 +04:00
Ilya Fedin
8820b9046d Map PipeWire's modules in snap 2023-01-20 16:53:30 +04:00
Ilya Fedin
09bd953c18 Add pipewire configs to snap 2023-01-20 14:44:09 +04:00
Ilya Fedin
6f89413c76 Don't get cursor position twice for open with menu 2023-01-20 12:58:48 +04:00
John Preston
a65e25b8ae Fix accidental lib_ui rollback. 2023-01-20 12:13:42 +04:00
Ilya Fedin
24ecd2ac88 Map PipeWire's SPA plugins in snap 2023-01-20 12:12:49 +04:00
John Preston
e8f27be364 Fix build without DBus integration. 2023-01-20 10:58:45 +04:00
John Preston
5e12cd27df Fix web_app_request_[theme|viewport].
Fixes #25752.
2023-01-20 09:35:18 +04:00
John Preston
7d1cc67019 Fix sending modified photos with existing bytes. 2023-01-19 13:05:38 +04:00
John Preston
507a064153 Fix OpenWith dropdown menu positioning on Windows. 2023-01-19 12:52:59 +04:00
John Preston
9751d36788 Fix child geometry for mega-rich popup menus. 2023-01-19 12:52:58 +04:00
John Preston
c46fd66abe Fix custom emoji position in sets. 2023-01-19 11:45:40 +04:00
John Preston
ec3957fcf3 Active round video moving to active window. 2023-01-19 11:42:00 +04:00
John Preston
b80b770631 Fix input field shortcuts on macOS. 2023-01-19 10:36:43 +04:00
John Preston
0f234188e1 Fix crash in SystemMediaControls init. 2023-01-19 09:57:33 +04:00
23rd
df5baba86b Moved out function for painting of color buttons to public interface. 2023-01-19 08:51:57 +03:00
23rd
64bd839d2c Slightly improved code style of color editor. 2023-01-19 08:51:57 +03:00
23rd
9390450049 Moved out color editor to td_ui. 2023-01-19 08:51:57 +03:00
23rd
e3334f7a87 Replaced EditColorBox with Ui::GenericBox. 2023-01-19 08:51:57 +03:00
23rd
58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00
John Preston
cdfdccbb66 Detach SystemMediaControls from Window::Controller. 2023-01-19 09:46:20 +04:00
John Preston
6b8f80bd63 Fix starting of video messages. 2023-01-19 09:46:20 +04:00
John Preston
6e5dfc79d4 Fix mouse BackButton with more than one window.
Fixes #24704.
2023-01-19 09:46:20 +04:00
John Preston
f8e76f1b84 Single entry point to search in chat. 2023-01-19 09:46:19 +04:00
John Preston
2c75fe033c Fix inline GIFs play start in separate windows.
Fixes #25694.
2023-01-19 09:46:19 +04:00
John Preston
b3667d69a1 Each MainWindow has its own Global Menu. 2023-01-19 09:46:19 +04:00
John Preston
ba520aadcb Fix hashtags in separate windows. 2023-01-19 09:46:19 +04:00
John Preston
e4c16ccba4 Create tray icon without a parent. 2023-01-19 09:46:19 +04:00
John Preston
3e332ad8e7 Rewrite shortcuts using QAction.
That way they don't depend on the main window.
2023-01-19 09:46:19 +04:00
John Preston
5154fe0044 Fix call bar appearance in a new MainWidget. 2023-01-19 09:46:19 +04:00
John Preston
dcb1315d53 Fix assertion violation in a new window init.
Fixes #24620.

In MainWidget updateControlsGeometry accesses SessionController
and itself through SessionController::content, which is not filled
in the MainWidget constructor yet, so ignore initial updates.
2023-01-19 09:46:19 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston
86ed2745e3 Fix new forum userpic rounding. 2023-01-19 09:42:14 +04:00
Ilya Fedin
7db2acc742 Set UTF-8 code page in Windows manifest 2023-01-19 08:34:46 +04:00
Ilya Fedin
745b01a407 Another attempt to enable UTF-8 charset on Windows 2023-01-19 08:34:46 +04:00
Ilya Fedin
95979b1ad9 Call scheme handler registration after opening main window
To avoid system dialog being under it
2023-01-19 08:33:45 +04:00
John Preston
5910efa0bd Beta version 4.5.7.
- Fix glitches after moving window to another screen (Windows only).
2023-01-13 13:17:39 +04:00
John Preston
037e8f1858 Allow window to receive WM_DPICHANGED in Qt.
Fixes #25726.
2023-01-13 12:46:20 +04:00
John Preston
b1d1d73541 Copy/Paste original JPEG bytes to clipboard. 2023-01-13 12:46:17 +04:00
Ilya Fedin
9b154b3c91 Ensure freedesktop capabilities aren't used when GNotification is used 2023-01-13 10:24:06 +04:00
Ilya Fedin
a1f9b5a96f Get GApplication out of experimental settings
GApplication will always be used on Linux now. GNotification gets a toggle instead.
2023-01-12 21:49:16 +04:00
John Preston
2887c0b564 Beta version 4.5.6.
- Try enabling non-fractional scale
High DPI support on Windows and Linux.
- Experimental setting for fractional scale
High DPI support on Windows and Linux.
- Fix navigation to bottom problems in groups you didn't join.
- Fix a crash in chat export settings changes.
- Fix a crash in sending some of JPEG images.
- Fix CJK fonts on Windows.
2023-01-12 21:35:44 +04:00
Ilya Fedin
9b7826ea0d Get GApplication out of experimental settings
GApplication will always be used on Linux now. GNotification gets a toggle instead.
2023-01-12 21:30:45 +04:00
Ilya Fedin
241be89e5c Enable the new experimental setting for Linux 2023-01-12 21:17:08 +04:00
John Preston
39075538fb Enable RoundPreferFloor HighDpi support on Windows.
Add an experimental setting for exact HighDPI on Windows.
2023-01-12 13:57:09 +04:00
John Preston
1592f70a7c Respect trackUnreadMessages in history jumps.
Fixes #25384.
2023-01-12 12:23:29 +04:00
John Preston
732bb25666 Fix read from clipboard after bot install. 2023-01-12 12:23:28 +04:00
John Preston
5cba1cdc64 Fix blurred background for small images.
Fixes #25707.
2023-01-12 11:45:45 +04:00
John Preston
d346925b9d Fix window title update on accounts switch. 2023-01-12 11:36:00 +04:00
John Preston
02f3985125 Inspect correct url() instead of dragText().
Fixes #25720.

Regression was introduced in 23387d6625.
2023-01-12 11:34:16 +04:00
John Preston
f3db43abc9 Fix sending compressed images. 2023-01-12 11:34:08 +04:00
John Preston
ecf61712cd Fix CJK font fallback on Windows.
Fixes #25714.
2023-01-12 11:34:02 +04:00
John Preston
b47c66155d Beta version 4.5.5.
- Fix crash in Settings.
2023-01-10 22:16:24 +04:00
John Preston
2fda96a375 Fix a crash in non-authorized Settings. 2023-01-10 22:10:58 +04:00
John Preston
12c2e42917 Beta version 4.5.4: Fix build with GCC. 2023-01-10 16:59:05 +04:00
John Preston
94a956ce19 Beta version 4.5.4: Fix build for Windows x64. 2023-01-10 16:47:57 +04:00
John Preston
704f64a0c9 Fix "Limit special config request types." 2023-01-10 16:47:41 +04:00
John Preston
f9ca7f4505 Beta version 4.5.4: Fix "Mark-as-read-inactive setting." 2023-01-10 16:24:27 +04:00
John Preston
0a3d31a91f Beta version 4.5.4: Try updating OpenAL on macOS. 2023-01-10 15:34:33 +04:00
John Preston
3c17fab15a Beta version 4.5.4: Mark-as-read-inactive setting.
In case an experimental setting of auto-scrolling is enabled,
just ignore the window activity check in marking chat as read..
2023-01-10 15:31:15 +04:00
John Preston
2efe409c60 Beta version 4.5.4.
- Allow wide range of interface scale options.
- Show opened chat name in the window title.
- Bug fixes and other minor improvements.
- Fix updating on macOS older than 10.14.
2023-01-10 15:23:19 +04:00
John Preston
1176421bf2 Limit special config request types. 2023-01-10 15:09:49 +04:00
John Preston
05911a7172 Fix initial scale counting from dpi. 2023-01-10 09:51:12 +04:00
Ilya Fedin
1326359745 Don't involve locale in filename timestamp generation
It was batch replaced as part of 7b5781b845, but it's not really semantically valid
2023-01-10 09:50:02 +04:00
John Preston
fc26457218 Show current chat name in the window title. 2023-01-09 18:39:07 +04:00
Ilya Fedin
173108a9cb Differ file download failure reasons
..and uncomment the code for handling incorrect permissions
2023-01-09 17:02:11 +04:00
Ilya Fedin
7307f0b1a5 Use temp directory for downloads in Linux sandbox by default 2023-01-09 16:09:57 +04:00
John Preston
c49dac57b7 Don't use window title for IPC. 2023-01-09 16:08:34 +04:00
Ilya Fedin
6288da2f3d Remove socket errors from Qt adapters 2023-01-09 15:01:14 +04:00
Ilya Fedin
ce37c6ef08 Implement lossless jpeg progression 2023-01-09 15:00:11 +04:00
John Preston
5f93725431 Relax controls hiding conditions in full screen.
Fixes #25499.
2023-01-09 14:03:27 +04:00
23rd
90dfdb0e1f Moved NeverFreedPointer to lib_base. 2023-01-09 12:51:32 +03:00
23rd
7cd330db9a Improved style of box for creation of linked chat. 2023-01-09 12:34:44 +03:00
23rd
b14ac5cafe Moved Info::Profile::FloatingIcon to td_ui. 2023-01-09 12:34:44 +03:00
John Preston
1fc929b78f Add some logs for jump-to-end bugs.
This is related to #25384.
2023-01-09 13:25:15 +04:00
John Preston
fd47fd4d9e Track shared media index better.
Fixes #25667.
2023-01-09 11:48:33 +04:00
John Preston
9b74958fab Fix send-as button appearance after joining the group. 2023-01-09 11:18:58 +04:00
John Preston
7091fb9448 Force weak linking of NaturalLanguage framework.
Fixes #25429.
2023-01-09 10:50:41 +04:00
John Preston
876cdcf26a Show "Photo set by you" in profile photos list. 2023-01-09 09:56:36 +04:00
John Preston
36eca970f2 Pass correct parent to choose folder file dialog.
I hope it fixes #25689, although it didn't work for me, not crash.
2023-01-09 09:44:58 +04:00
John Preston
21232e09a4 Fix a crash in topic from archive search.
Fixes #25609.
2023-01-09 09:36:20 +04:00
John Preston
2d9d373c7f Don't show "Report" for personal contact photos. 2023-01-09 09:20:36 +04:00
John Preston
23387d6625 Don't drag-n-drop "internal:" URLs. 2023-01-09 09:10:53 +04:00
John Preston
6137c64444 Fix scale preview on macOS. 2023-01-09 09:05:07 +04:00
John Preston
43a830f0af Fix in-window preview (Wayland / noCompositing). 2023-01-09 09:05:07 +04:00
John Preston
ff331c040a Allow huge range of interface scales. 2023-01-09 09:05:07 +04:00
John Preston
3532e187fd Write more DPI logs. 2023-01-09 09:05:07 +04:00
23rd
6467ba7739 Fixed painting of photo with spoiler in SendFilesBox on Retina. 2023-01-09 09:05:07 +04:00
23rd
8de3b2c0d3 Fixed painting of non personal photo in UserpicButton on Retina. 2023-01-09 09:05:07 +04:00
23rd
deeb022e0b Fixed possible crash on deleting own channel. 2023-01-09 09:05:07 +04:00
23rd
9e0e28dc45 Improved style of box for editing of linked chat. 2023-01-09 09:05:07 +04:00
23rd
c99ac0a264 Moved creation of divider with text and lottie to single place. 2023-01-09 09:05:07 +04:00
23rd
991fafb30e Fixed clickable online status in profile settings. 2023-01-09 09:05:06 +04:00
23rd
5cf5d4b4c4 Improved opening main menu from top left corner.
Fixed #17423.
2023-01-09 09:05:06 +04:00
23rd
38e42f9a95 Fixed ripple color of main menu button in narrow forum state. 2023-01-09 09:05:06 +04:00
23rd
9b7689993f Fixed phrase of global TTL for new chats. 2023-01-09 09:05:06 +04:00
23rd
0e3eddcb77 Slightly improved TTL badge in dialogs list. 2023-01-09 09:05:06 +04:00
23rd
3f829ef3b9 Accepted tg://login only for started domain. 2023-01-09 09:05:06 +04:00
23rd
de8d93ba73 Added support of multiline subtext for many usernames to info layer. 2023-01-09 09:05:06 +04:00
23rd
dad9f4b87d Flipped icon for rotation button in photo editor. 2023-01-09 09:05:06 +04:00
23rd
0f538e2606 Updated Qt to 5.15.8 on Windows. 2023-01-09 09:05:06 +04:00
John Preston
08fa6a9815 Version 4.5.3.
- Attempt to fix incoming video in calls from mobile apps.
2023-01-06 21:57:04 +04:00
John Preston
a7cf4027ea Attempt to fix calls incoming video. 2023-01-06 21:55:08 +04:00
Ilya Fedin
646c7ecceb Update Qt version for Linux in cmake 2023-01-06 12:57:54 +04:00
Ilya Fedin
3cbbe3d3c2 Update Qt to 6.4.2 on Linux 2023-01-05 23:00:13 +04:00
John Preston
0af26dd353 Capture mouse in PipeWire screen capture. 2023-01-05 10:09:44 +04:00
John Preston
159e366122 Choose screens/windows in Wayland screencapture.
Fixes #25674.
2023-01-05 09:55:46 +04:00
John Preston
b9081c26ba Use tg://settings/edit_profile instead /information. 2023-01-05 09:55:38 +04:00
John Preston
9933c6ba59 Mark topics as read using Ctrl+R shortcut.
Fixes #25669.
2023-01-05 09:53:51 +04:00
John Preston
eb0642f569 Version 4.5.2.
- Fix unread reactions button in private chats.
- Fix tile background saving after an app update.
- Allow Ctrl+6,7,8 to activate extra pinned chats.
2023-01-03 11:11:02 +04:00
John Preston
1cce35a5a5 Fix multiline checkbox geometry counting. 2023-01-03 11:06:40 +04:00
John Preston
aeb71e089a Fix tile background saving after an app update.
Fixes #25666, I hope fixes #16468, I hope fixes #5944.
2023-01-03 10:43:55 +04:00
John Preston
b962efeca3 Allow ctrl+6/7/8 to activate extra pinned chats.
Fixes #25647.
2023-01-03 09:59:42 +04:00
John Preston
eb6c350e72 Fix unread reactions button in chats with users.
Regression was introduced in 6a7f030ee7.

Fixes #25661.
2023-01-03 09:22:46 +04:00
John Preston
d496d41e7e Version 4.5.1: Fix excessive flood_wait trigger.
Regression was introduced in 1e8dfb7315.

Fixes #25494.
2023-01-02 17:33:39 +04:00
John Preston
19aa4f4acc Version 4.5.1.
- Fix crash in profile photo privacy edition.
- Allow sending photos larger than 1280px (in Experimental Settings).
2023-01-02 16:02:19 +04:00
John Preston
19350e3846 Open type="document" with photo as a photo.
Fixes #25600.
2023-01-02 15:08:36 +04:00
John Preston
741b524d71 Add description to an option (looks better). 2023-01-02 15:08:28 +04:00
John Preston
84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +04:00
John Preston
7c537cd787 Revert "Removed downscaling of 2560px images before displaying them"
This reverts commit 0f3ec7893d.

Instead correct max limits of 2560x2560 will be used.
2023-01-02 14:26:41 +04:00
Ilya Fedin
c56977cbc1 Check autostart enabling success on Linux 2023-01-02 13:10:17 +04:00
John Preston
2afa2cd9ab Fix scroll reset bug in topics on message removal. 2023-01-02 12:26:20 +04:00
John Preston
442d0da5c1 Force autostart folder creation.
Also show an error if autostart couldn't be enabled.

Fixes #25608.
2023-01-02 12:26:20 +04:00
Ilya Fedin
db6bdf36af Update patches 2023-01-02 11:19:15 +04:00
Ilya Fedin
b246328dcf Use latest mesa in snap 2023-01-02 11:19:15 +04:00
John Preston
a27ea35edd Fix possible memory leak in jpeg inspecting. 2023-01-02 11:07:57 +04:00
John Preston
a7c4aea9ff Revert "Clear draft that failed to be saved."
This reverts commit 7866013ab6.

Loosing the current field text in case the server doesn't accept
the draft is worse than showing some sticked draft in the list.

We always can just hide the cloud draft in chats list in case you
can't edit it really if there are reports about them.
2023-01-02 10:50:59 +04:00
GitHub Action
1ba870a655 Update User-Agent for DNS to Chrome 108.0.5359.98. 2023-01-02 10:10:34 +04:00
GitHub Action
5bc3cf56fd Update copyright year to 2023. 2023-01-02 10:10:14 +04:00
John Preston
3c4cf2862b Fix crash in profile photo privacy edition.
Fixes #25645.
2023-01-02 10:09:31 +04:00
Daniel Novomeský
af69a7a01f Upgrade highway, libde265, libavif, libheif on Linux 2023-01-01 13:21:08 +04:00
Ilya Fedin
b9f7a501f5 Do pacman -Syu twice in prepare.py
So new databases are downloaded in case runtime updates and gets new repostiories
2023-01-01 13:19:11 +04:00
Ilya Fedin
322a085b70 Fix the check for Native Tools Command Prompt in prepare.py 2022-12-31 16:03:27 +04:00
Ilya Fedin
6c4dc34441 Fix build with various Windows locales 2022-12-31 16:02:28 +04:00
Ilya Fedin
efa287b786 Use text=True instead of decode() in prepare.py 2022-12-31 16:02:28 +04:00
John Preston
23e1c6128b Specify no non-exempt encryption usage in plist. 2022-12-30 17:30:18 +04:00
John Preston
bc71a2619a Version 4.5: Fix build with GCC. 2022-12-30 16:16:35 +04:00
John Preston
4f3510c47c Version 4.5: Fix search in topic. 2022-12-30 15:50:56 +04:00
John Preston
2adc20f07f Version 4.5.
- Media with spoiler effects.
You can wrap photos and videos you send in a fuzzy cover
by selecting media in the attachment menu
and tapping (...) > Hide With Spoiler.

- Setting pictures for your contacts.
You can choose your own picture for
a contact – only you will see it on their profile.

- Suggested profile pictures.
When editing your contacts, you can suggest
a photo for their profile. It will take them just two clicks
to add the picture you suggested.

- Public profile pictures.
If you only allow certain users to see your profile photos,
you can set a public picture for everyone else.

- Ultimate profile picture privacy.
You can set 'Who can see my profile photos' to 'Nobody'
and add some users or groups as exceptions.

- Member list privacy.
Owners of large groups can hide the list of members.
2022-12-30 14:55:09 +04:00
John Preston
b6ade7ce19 Fix spoiler / custom emoji in pinned bar unpause. 2022-12-30 14:27:00 +04:00
John Preston
cabed9587b Close PiP if message with video gets deleted. 2022-12-30 14:26:43 +04:00
John Preston
0ce01410a1 Fix crash in Pip-to-Viewer after message deletion.
Fixes #25262. Fixes #25522.
2022-12-30 14:18:04 +04:00
John Preston
d02819db13 Support spoilers in reply previews / pinned bar. 2022-12-30 14:06:20 +04:00
John Preston
46bae9ed74 Remove splits reverse. It was done on the server. 2022-12-30 10:49:51 +04:00
23rd
693ff3398e Fixed changing of button style between states within single intro step. 2022-12-29 23:25:53 +03:00
John Preston
567216f41f Fix crash in topic jump ripple animation.
Fixes #25500.
2022-12-29 17:48:33 +04:00
John Preston
1ef0791bc6 Fix OOM crash on wrong attached stickers hash.
Fixes #25495.
2022-12-29 17:11:24 +04:00
John Preston
ef5e39f680 Beta version 4.4.3.
- Support for anonymous numbers from the Fragment.com platform.
- Fix a crash in own profile photo updating.
- Bug fixes and other minor improvements.
2022-12-29 15:03:34 +04:00
John Preston
27228480a8 Reorder privacy buttons like on Android. 2022-12-29 14:57:27 +04:00
John Preston
eebe1f4c11 Revert "Move Blocked users to Privacy in Settings."
This reverts commit 1acfe441e1.
2022-12-29 14:44:45 +04:00
Ilya Fedin
5d5e4cbdff Add information about required and supported peripheral to XDG metadata 2022-12-29 14:43:23 +04:00
Ilya Fedin
7e9920b5ea Set contributing URL in XDG metadata
Currently the button opens the official website instead
2022-12-29 14:43:23 +04:00
23rd
297fd0f0c8 Moved regexp for excluding digits to single place. 2022-12-29 13:36:28 +03:00
Ilya Fedin
0eec470387 Hide default download folder option if it's not available 2022-12-29 14:18:08 +04:00
John Preston
7a64725045 Improve fragment phone number description 2022-12-29 14:06:52 +04:00
John Preston
1acfe441e1 Move Blocked users to Privacy in Settings. 2022-12-29 14:06:52 +04:00
John Preston
80e932a083 Fix group call userpics on Retina. 2022-12-29 14:06:52 +04:00
bovirus
698d32db57 Update Inno Setup script
Add Copyright message with copyright autor styarting and ending yaer (current year) copyright
Add AppverName (app name and vesrion on top left in main window)
2022-12-29 13:41:37 +04:00
John Preston
2ee7cc784f Fix initial TTL after group creation. 2022-12-29 12:59:53 +04:00
John Preston
071411c8b9 Fix fragment button in Intro process. 2022-12-29 12:59:53 +04:00
23rd
43671e2b47 Fixed width of button in passport VerifyBox. 2022-12-29 11:48:53 +03:00
Ilya Fedin
1666683dbb Fix various line length in notifications_manager_linux 2022-12-29 12:30:17 +04:00
Ilya Fedin
c134861cd9 Have notification subtitle in title on Linux when body-markup is not supported
This makes it look way better
2022-12-29 12:30:17 +04:00
John Preston
a1a5ef9d39 Fix possible crash on force-logout from the server.. 2022-12-29 12:21:21 +04:00
John Preston
7e98e9ecf2 Fix uploading new group / account photo. 2022-12-29 12:16:49 +04:00
John Preston
cad6faa790 Fix connection re-init in case of CONNECTION_NOT_INITED. 2022-12-29 12:16:49 +04:00
John Preston
13ad39dfc2 Fix possible crash in logout. 2022-12-29 12:16:49 +04:00
23rd
aa8ca28f77 Added description to context menu for anonymous phone numbers. 2022-12-29 11:11:08 +03:00
23rd
d424a8b039 Added handler of urls for login. 2022-12-29 11:11:08 +03:00
23rd
9896855789 Added button for opening custom url to passport VerifyBox. 2022-12-29 11:11:08 +03:00
23rd
613d4932ca Added button for opening custom url to Ui::ConfirmPhoneBox. 2022-12-29 11:11:08 +03:00
23rd
44f79b8331 Added button for opening custom url to ChangePhone::EnterCode box. 2022-12-29 11:11:08 +03:00
23rd
aa1117a714 Added ability to sing up and sing in with anonymous numbers. 2022-12-29 11:11:08 +03:00
23rd
8748265b00 Added support of multiple phone pattern groups. 2022-12-29 11:11:08 +03:00
John Preston
be8aeb0d96 Fix week name display in chats list.
Fixes #25625.
2022-12-29 10:27:22 +04:00
John Preston
599cc35e57 Fix a crash in history clear. 2022-12-29 09:57:45 +04:00
John Preston
bd367da1bd Put #include after the #pragma once. 2022-12-29 09:52:38 +04:00
Ilya Fedin
62b50a41c8 Update libtgvoip 2022-12-29 09:32:07 +04:00
Ilya Fedin
a3caecbc07 Fix build with clang 2022-12-29 09:32:07 +04:00
John Preston
71354d1611 Fix two crashes in own profile photo edit. 2022-12-28 23:37:16 +04:00
John Preston
232fceeee6 Beta version 4.4.2: Fix build with GCC. 2022-12-28 17:39:29 +04:00
John Preston
19c4130a1d Beta version 4.4.2.
- Send photos and video files hidden by a spoiler effect.
- Set a public photo for those who are restricted to see
your profile photo in the Privacy Settings.
- Bug fixes and other minor improvements.
2022-12-28 16:03:17 +04:00
Ilya Fedin
dc5abf8ddd Support ICCv4 with Little CMS on Linux 2022-12-28 16:02:35 +04:00
John Preston
b334a1f4fd Support spoilers in chats list media previews. 2022-12-28 14:07:38 +04:00
John Preston
17f40d6a1f Don't lose focus when showing image editor. 2022-12-28 13:05:23 +04:00
John Preston
77078f704c Fix a crash in topic deletion. 2022-12-28 12:44:01 +04:00
John Preston
df8176d671 Fix non-shown group thumb in media viewer. 2022-12-28 12:41:30 +04:00
John Preston
cad8a85497 Fix empty fallback photo appending. 2022-12-28 12:41:06 +04:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
9633f93690 Fix reactions panel expanding animation. 2022-12-28 10:11:38 +04:00
Ilya Fedin
1b8352f878 Fix image format mime type filter 2022-12-28 09:56:16 +04:00
23rd
27bcd35832 Added ability to translate transcribed voice messages. 2022-12-28 00:18:43 +03:00
23rd
b401f0bfea Added phrase to admin log when user joined via public request. 2022-12-28 00:18:43 +03:00
23rd
36391617d7 Fixed possible crash in optimized ministars animation. 2022-12-27 22:06:32 +03:00
23rd
5bf46c0e90 Adjusted button style in intro steps to style in settings steps. 2022-12-27 22:06:26 +03:00
Ilya Fedin
690e1013cf Find venv without configure.bat 2022-12-27 15:14:12 +04:00
John Preston
63c2db30f2 Fix folder updating when leaving a channel. 2022-12-27 14:05:22 +04:00
John Preston
bf388d8a37 Fix assertion violation in topic create box. 2022-12-27 13:55:34 +04:00
John Preston
b4571b80d6 Show spoilers in shared media overview. 2022-12-27 13:10:38 +04:00
Ilya Fedin
2cbd2725e5 Remove force-disabling of Qt's color space support for sent images
Qt had a bug with interpreting PNG gamma, but it seems it's fixed now.
2022-12-27 11:52:27 +04:00
John Preston
7f969e5102 Fix forwarding to General topic. 2022-12-27 11:49:03 +04:00
John Preston
e878ccccb4 Fix crash in sending media with spoilers. 2022-12-27 11:48:54 +04:00
John Preston
11bb4ec615 Closed alpha version 4.4.1.6. 2022-12-26 18:11:44 +04:00
John Preston
168cdaf350 Fix build with GCC. 2022-12-26 14:27:19 +04:00
John Preston
0ae819397a Fix protobuf timestamp generation. 2022-12-26 14:24:34 +04:00
John Preston
627eba1c5a Update API scheme on layer 151. 2022-12-26 14:24:08 +04:00
John Preston
673eb1090f Fix a crash and adjust some styles in snowflakes. 2022-12-26 14:24:08 +04:00
John Preston
43f0da683f Fix a crash in media spoilers. 2022-12-26 14:24:08 +04:00
John Preston
1bb6b07515 Fix build with GCC. 2022-12-26 14:24:08 +04:00
John Preston
aacb720664 Fix build with Xcode. 2022-12-26 14:24:08 +04:00
John Preston
12dd72bddf Closed alpha version 4.4.1.1. 2022-12-26 14:24:08 +04:00
John Preston
891559b3d9 Reverse message ranges for export. 2022-12-26 14:24:08 +04:00
23rd
b43f8fcff7 Slightly optimized drawing of ministars in premium settings. 2022-12-26 14:24:08 +04:00
John Preston
ce40ecc7f9 Show admins in participants_hidden group info. 2022-12-26 14:24:08 +04:00
John Preston
d6c188d642 Respect hidden_members_group_size_min in group edit. 2022-12-26 14:24:08 +04:00
John Preston
bd490421e8 No "Who Viewed" in case of hidden members. 2022-12-26 14:24:08 +04:00
John Preston
b9b6d4dba1 Show toast after photo suggestion is accepted. 2022-12-26 14:24:08 +04:00
John Preston
349fbeeb23 Add original userpic to "Reset to Original" menu item. 2022-12-26 14:24:08 +04:00
23rd
68b1b595a5 Fixed height of top bar with large subtext in premium settings. 2022-12-26 14:24:08 +04:00
23rd
cf4dfa55da Fixed order of premium feature previews. 2022-12-26 14:24:07 +04:00
23rd
8296d72923 Added first state to snowflakes effect in main menu. 2022-12-26 14:24:07 +04:00
John Preston
2364b0ad4e Show additional information in userpic suggest / accept. 2022-12-26 14:24:07 +04:00
John Preston
076f0e0800 Fix General topic message links. 2022-12-26 14:24:07 +04:00
John Preston
191ea6f0f4 Fix search in chat / jump to archive. 2022-12-26 14:24:07 +04:00
John Preston
7cf3babcbd Fix search by a hashtag from a topic. 2022-12-26 14:24:07 +04:00
John Preston
98af2d3006 Fix reactions layout for large emoji messages. 2022-12-26 14:24:07 +04:00
John Preston
b3858d5d97 Fix streamed media downloading.
Fixes #8500.
2022-12-26 14:24:07 +04:00
John Preston
1d7ad701b4 Implement blurred background for photo editor. 2022-12-26 14:24:07 +04:00
John Preston
9513aaa768 Allow accepting video userpic suggestions. 2022-12-26 14:24:07 +04:00
John Preston
446f0f1653 Fix channels limit info when trying an invite link. 2022-12-26 14:24:07 +04:00
John Preston
7d9b999cb0 Support request_write_access flag in attach bots. 2022-12-26 14:24:07 +04:00
John Preston
c647afec02 Support clipboard reading for attach menu bots. 2022-12-26 14:24:07 +04:00
23rd
4c181b6d08 Added initial implementation of fallback photo management in settings. 2022-12-26 14:24:07 +04:00
23rd
a4d3c694bc Added ability to use short info user for fallback photo. 2022-12-26 14:24:07 +04:00
23rd
721b2ebe8a Added initial support of api for fallback photo. 2022-12-26 14:24:07 +04:00
23rd
b135a09e00 Added initial support of fallback user photo to storage module. 2022-12-26 14:24:07 +04:00
23rd
6327d5ea38 Fixed conflict between peer update flags. 2022-12-26 14:24:07 +04:00
23rd
2a99046bbd Added snowflakes effect. 2022-12-26 14:24:07 +04:00
23rd
a3a48a38c8 Replaced callback for box showing with dedicated class in photo editor. 2022-12-26 14:24:07 +04:00
John Preston
4518067f9c Support persistent flag for bot keyboard. 2022-12-26 14:24:07 +04:00
John Preston
54a12aa74f Update API scheme on layer 151. 2022-12-26 14:24:06 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
c7c652a277 Improve icons and phrases. 2022-12-26 14:24:06 +04:00
John Preston
faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston
14f113266f Improve suggested photo service message. 2022-12-26 14:24:06 +04:00
John Preston
5ebea97ded Fix deleting a search result in chats list. 2022-12-26 14:24:06 +04:00
John Preston
af350e2daa Allow hiding members list in groups. 2022-12-26 14:24:06 +04:00
John Preston
b0a24238e8 Add icons to the photo set/suggest menu. 2022-12-26 14:24:06 +04:00
John Preston
2ce8094932 Add spoiler toggle to three dot menu in SendFilesBox. 2022-12-26 14:24:06 +04:00
John Preston
ca0b34dcf0 Update API scheme on layer 151. 2022-12-26 14:24:06 +04:00
John Preston
833a259234 Colorize emoji in text color correctly. 2022-12-26 14:24:06 +04:00
23rd
1ab8830ba8 Fixed outdated album info in reply on deleting dependency message. 2022-12-26 14:24:06 +04:00
23rd
40443b7547 Fixed mirrored display of shared screen in video calls. 2022-12-26 14:24:06 +04:00
John Preston
ca1c826c5c Simplify some code. 2022-12-26 14:24:06 +04:00
John Preston
bd1d7f4d96 Allow apply spoiler when editing to another media. 2022-12-26 14:24:05 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston
3a38497c4c Support displaying of video spoilers. 2022-12-26 14:24:05 +04:00
John Preston
ae3659d15b Remove languages not supported in Qt 5. 2022-12-26 14:24:05 +04:00
John Preston
25746d195c Support displaying of photo spoilers. 2022-12-26 14:24:05 +04:00
John Preston
ae819eb1a6 Open settings when done changing photo. 2022-12-26 14:24:05 +04:00
John Preston
48cf0a4382 Implement suggested profile photo message. 2022-12-26 14:24:05 +04:00
John Preston
5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
John Preston
cb99d611f3 Update API scheme to layer 151. 2022-12-26 14:24:05 +04:00
23rd
0e93693856 Moved current interface language to top of list in translate box. 2022-12-26 14:24:05 +04:00
23rd
9e93ecc154 Added more languages to translate box. 2022-12-26 14:24:05 +04:00
23rd
2cf579426b Added interface support of skipping translation for multiple languages. 2022-12-26 14:24:05 +04:00
23rd
6118ced862 Fixed possible crash on local clearing of filters. 2022-12-26 14:24:05 +04:00
23rd
8db8bc466e Added ability to remember last choice in send files box. 2022-12-26 14:24:05 +04:00
23rd
994d789c60 Added ability to remember last choice in delete messages box. 2022-12-26 14:24:05 +04:00
23rd
a043e22622 Added internal support of skipping translation for multiple languages. 2022-12-26 14:24:05 +04:00
John Preston
ccb3bbea15 Apply initial forwards count from the message. 2022-12-26 14:24:05 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
Ilya Fedin
36de2e98d4 Get supported image extensions from QImageReader 2022-12-26 14:23:23 +04:00
Ilya Fedin
9fba9048af Use the same check for drag'n'drop image type as for file dialog
The code path when choosing an image in file dialog tries to read a QImage with Images::Read and then only checks that mime type starts with image/ in ValidPhotoForAlbum

Core::FileIsImage and QImageReader::canRead checks should provide the same behavior
2022-12-26 14:23:23 +04:00
Ilya Fedin
95b29f5f35 Enable ffmpeg dav1d support 2022-12-25 08:40:16 +04:00
Ilya Fedin
13eeddf479 Don't wait for input when there are fullscreen applications 2022-12-23 14:04:17 +04:00
Ilya Fedin
3991be752c Replace various QDesktopService::openUrl with File::OpenUrl for correct operation on Linux
This also reverts commit bb94507af1.
2022-12-23 14:02:25 +04:00
Lesiuk
0f3ec7893d Removed downscaling of 2560px images before displaying them
Fixes #2206
2022-12-23 11:00:07 +04:00
Daniel Novomeský
351a2eee08 Update cmake_helpers submodule 2022-12-23 10:58:22 +04:00
Daniel Novomeský
6ff2c08764 Added dependencies for Windows build
They will be used for plugins in kimageformats:
dav1d, libavif are needed for AVIF plugin
libde265, libheif are needed for HEIF plugin
libjxl is needed for JXL plugin
dav1d could be used by ffmpeg to provide AV1 decoding
meson is required to build dav1d
2022-12-23 10:58:22 +04:00
Daniel Novomeský
d163135117 Update kimageformats submodule
It is necessary to use new heif.cpp to enable static linkage on Windows
There are important fixes for AVIF and JPEG XL plugins too.
2022-12-23 10:58:22 +04:00
Ilya Fedin
ecd217a79f Implement autostart in snap 2022-12-20 18:55:29 +04:00
Ilya Fedin
4aa9c1fea3 Get saving desktop file out of group loop 2022-12-20 18:55:29 +04:00
Ilya Fedin
2e60b28612 Install Python and cmake to default paths
There's no real need to install to custom paths
2022-12-20 17:22:19 +04:00
Ilya Fedin
2bbe511a6f Revert some mistakenly replaced '/' symbols earlier 2022-12-20 17:22:19 +04:00
Ilya Fedin
5cbdc2f739 Install gyp python dependencies in prepare.py 2022-12-20 17:22:19 +04:00
Ilya Fedin
6f88e46938 Update kcoreaddons
This finally fixes portal paste on X11
2022-12-16 11:14:28 +04:00
Ilya Fedin
8209602cbd Fix Linux action 2022-12-16 11:03:37 +04:00
Ilya Fedin
b3e547f4dd Fix a warning in snap build 2022-12-16 11:03:37 +04:00
Ilya Fedin
5289810b81 Fix snap action lxd firewall integration 2022-12-16 11:03:37 +04:00
Ilya Fedin
3cb333d323 Fix counter paint when DPR != 1 in Linux tray 2022-12-09 16:04:07 +04:00
Ilya Fedin
2565b948d9 Cache system icon in Linux tray 2022-12-09 16:04:07 +04:00
23rd
5101ea2a96 Updated Qt to 5.15.7 on Windows. 2022-12-09 11:54:37 +03:00
23rd
23150d4e2a Added special branch for Windows Github CI. 2022-12-09 11:54:37 +03:00
23rd
66926ba25e Fixed scrolling to end when media is replaced. 2022-12-09 11:54:37 +03:00
23rd
b4a7d98fa0 Added support of custom emoji to translate box. 2022-12-09 11:54:37 +03:00
Klemens Nanni
620f6657ae Update to minizip 1.2.13
https://github.com/madler/zlib/releases/tag/v1.2.13

Tested with tdesktop 4.4.1 on OpenBSD/amd64, where a manual fix is still
required to build tdesktop's old zlib version:
https://github.com/openbsd/ports/blob/master/net/tdesktop/Makefile#L105-L108

I upstreamed this fix with https://github.com/madler/zlib/pull/678,
although it got fixed differently in
40c5a9bc06
2022-12-09 09:58:16 +04:00
Ilya Fedin
577f4b6271 Don't check com.canonical.Unity for the counter
It seems there's a race condition when Telegram is auto-started on Plasma and it doesn't hurt to issue the signal always, so just remove the check
2022-12-09 09:19:00 +04:00
Klemens Nanni
9c27271571 Use std::invoke_result_T not ::result_of to fix C++20 tdesktop 4.3.4
tdesktop defaults to (probably requires) C++20, but `std::result_of`[0]
was deprecated in C++17 and removed in C++20.

0: https://en.cppreference.com/w/cpp/types/result_of
2022-12-09 09:12:34 +04:00
John Preston
cad87f6818 Update to WebRTC M108. 2022-12-08 14:22:04 +04:00
Ilya Fedin
a9a69c7d14 Update submodules 2022-12-08 10:15:59 +04:00
Ilya Fedin
5990b0fabf Fix build with Qt 5 2022-12-08 10:15:59 +04:00
John Preston
6986430f37 Version 4.4.1.
- Bug fixes and other minor improvements.
2022-12-07 13:41:04 +04:00
John Preston
04eff72ce8 Update lib_spellcheck submodule. 2022-12-07 13:39:09 +04:00
John Preston
985f557adf Forbid deleting General topic. 2022-12-07 13:36:42 +04:00
John Preston
77b2572854 Add some General topic phrases. 2022-12-07 13:35:24 +04:00
23rd
993b501996 Filtered out only channels in list of applying TTL for multiple chats. 2022-12-07 13:09:46 +04:00
23rd
bba45293da Added gradient colors to sessions section. 2022-12-07 13:09:45 +04:00
John Preston
58fe2d7ecc Fix last topic opening on some systems. 2022-12-07 13:08:41 +04:00
John Preston
cfddca8f58 Fix possible crashes in toastParent expiring. 2022-12-07 13:07:36 +04:00
Ilya Fedin
6f50906952 Don't use unneeded QEventLoop::ApplicationExec 2022-12-07 11:27:49 +04:00
John Preston
1f39d16a35 Fix warning in building with LTCG libs. 2022-12-07 11:27:07 +04:00
John Preston
54f697eba1 Selectively request LTCG on Windows 32 bit build. 2022-12-07 11:01:05 +04:00
John Preston
02e2fb1258 Fix crash in pinned topic deletion. 2022-12-07 11:01:05 +04:00
mid-kid
d01969ff1e Fix building without spellcheck
Port from gentoo: f62d7c6599/net-im/telegram-desktop/files/tdesktop-4.3.4-fix-disabling-spellcheck.patch

/var/tmp/portage/net-im/telegram-desktop-4.3.4/work/tdesktop-4.3.4-full/Telegram/SourceFiles/boxes/translate_box.cpp:18:10: fatal error: spellcheck/platform/platform_language.h: No such file or directory
   18 | #include "spellcheck/platform/platform_language.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
2022-12-07 09:44:14 +04:00
Robin van der Vliet
e4d8a06cf9 Add Esperanto to language list of translate box 2022-12-07 09:35:53 +04:00
John Preston
8ec64f4167 Fix crash in Replies go-to-original button ripple. 2022-12-07 09:30:36 +04:00
John Preston
06ea927095 Fix build of not used lib_base subproject. 2022-12-07 08:49:56 +04:00
John Preston
14e4524776 Version 4.4.
- You can set a Global Auto-Delete Timer
for all new chats and groups you create.
- New messages will be deleted after 1 day, week, month,
or a custom duration you choose.
- The new menu in Settings > Privacy & Security > Auto-Delete Messages
also lets you set up Auto-Delete for any of your existing chats faster.
- Admins of groups with 100+ members can organize discussions
into separate topics.
- Topics now have a two-column layout
that keeps recent chats easily accessible as you browse topics.
- Previews of topic messages in the chat list work like a button,
click to jump to the last updated topic.
- Up to 5 topics can be pinned to the top of the list.
- Each topic now supports multiple pinned messages.
- The View as Messages mode now shows
which topic each message belongs to.
- Badge counters for topics you never opened
will have a lighter, less distracting color.
- A new General topic is now included by default,
containing service messages and the earlier message history from the
group.
- Admins can rename the General topic.
- Large groups can enable Aggressive Filtering in Manage Group
> Administrators to remove more spam with automated algorithms.
- Admins help improve filtering
by reporting any false positives in Recent Actions.
2022-12-06 23:40:56 +04:00
John Preston
7dc9d5c37f Fix empty menu toggle in closed topics. 2022-12-06 23:36:28 +04:00
John Preston
d827045199 Fix possible crash on forum switch off. 2022-12-06 23:22:50 +04:00
John Preston
76d44172f1 Add "Copy Topic Link" topic profile menu item. 2022-12-06 23:22:50 +04:00
23rd
afc9eb7cef Improved filter of list to apply TTL for multiple chats. 2022-12-06 22:17:33 +03:00
John Preston
b0bb8b05fd Fix reply from notification replyTo field value. 2022-12-06 22:52:04 +04:00
John Preston
6e75668e45 Fix forum without last topic opening. 2022-12-06 22:51:33 +04:00
John Preston
f86afc9539 Fix userpics view cache invalidation. 2022-12-06 22:51:14 +04:00
John Preston
74ecd44294 Show anti-spam checkbox only to admins. 2022-12-06 22:50:54 +04:00
John Preston
273a2809cf Fix username change error display. 2022-12-06 22:13:15 +04:00
John Preston
ebb6b4ab63 Fix build. 2022-12-06 21:10:37 +04:00
John Preston
a8106aa38d Fix glitches in search results. 2022-12-06 20:33:17 +04:00
John Preston
6abfdd20fa Don't apply deleted GYP patch in Windows prepare. 2022-12-06 18:23:51 +04:00
John Preston
4dd1f95fbf Disable deprecated warning when building dump_syms.
Fixes #25366.
2022-12-06 18:13:23 +04:00
John Preston
a1faee285c Use LTCG on Windows for two targets only. 2022-12-06 18:11:47 +04:00
John Preston
8937d732f6 Fix build with GCC. 2022-12-06 18:08:07 +04:00
John Preston
589556442c Closed alpha version 4.3.4.1. 2022-12-06 16:50:03 +04:00
GitHub Action
0e6b333bde Update User-Agent for DNS to Chrome 107.0.5304.110. 2022-12-06 16:47:50 +04:00
Ilya Fedin
9328f31a65 Configure the template chooser 2022-12-06 16:47:06 +04:00
John Preston
d5c145b707 Fix forum userpic rounding on Retina screens. 2022-12-06 16:38:54 +04:00
John Preston
3649cb41e2 Fix build with Xcode. 2022-12-06 16:38:42 +04:00
John Preston
cd85c4911c Migrate macOS build to patched Qt 6.3.2.
Fixes #24915.
2022-12-06 16:38:08 +04:00
John Preston
4db2b83c9b Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics. 2022-12-06 14:32:46 +04:00
John Preston
a1de77e8d2 Improve child list closing. 2022-12-06 14:32:46 +04:00
23rd
6bd2be0aee Added support of drag events to back button in dialogs list. 2022-12-06 12:56:56 +03:00
23rd
1b364f2621 Added support of drag events to filters menu. 2022-12-06 12:56:56 +03:00
23rd
0310d9902c Added ripple animation to right action in messages. 2022-12-06 12:56:56 +03:00
23rd
d55d383627 Cached TTL badge in dialogs list. 2022-12-06 12:56:56 +03:00
23rd
84de08cad6 Added separated unread counter to single peer window titles. 2022-12-06 12:56:56 +03:00
23rd
cc0b1b1d54 Added option for chat names in titles of single peer windows. 2022-12-06 12:56:56 +03:00
23rd
e2205c7251 Fixed build on macOS. 2022-12-06 12:56:56 +03:00
John Preston
2d6bac5a28 Fix background color in collapsed row with child list. 2022-12-06 13:05:05 +04:00
John Preston
7ad26a0fca Fix minimal unwrapped message height as userpic size.
Fixes #25354.
2022-12-06 13:04:38 +04:00
John Preston
48148a8cc3 Revert "Provide the same sizes for tray icon as for main window icon"
This reverts commit f9bf68461d.
2022-12-06 12:55:09 +04:00
John Preston
1be37a10b3 Show info on forum top bar click. 2022-12-06 12:46:10 +04:00
John Preston
4937cea38f Fix reply-to re-appear after voice message sending. 2022-12-06 12:38:46 +04:00
John Preston
b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston
2407ac50bc Improve shading of collapsed chats list. 2022-12-05 10:07:54 +04:00
John Preston
fbf3168317 Fix crash in unread bar destruction. 2022-12-05 09:47:54 +04:00
John Preston
fe9cf7ddad Report in forum menu, remove from topic menu. 2022-12-05 09:03:31 +04:00
John Preston
88b555e907 Fix incorrect topic names in forum preview row. 2022-12-05 08:55:39 +04:00
23rd
234fdbed4a One more time fixed display of send as button above voice record bar. 2022-12-05 05:35:26 +03:00
23rd
6cb0834d19 Added chat name to titles of single peer windows. 2022-12-05 02:49:34 +03:00
John Preston
e26dd4e418 Fix a crash in chats filter results. 2022-12-04 08:00:20 +04:00
John Preston
a8c230aba3 Update API scheme on layer 150: AntiSpam admin log. 2022-12-04 08:00:20 +04:00
23rd
b81868eeba Simplified drawing of empty userpics in theme previews. 2022-12-04 03:46:44 +03:00
23rd
b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd
a458c89810 Changed default colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd
5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd
c8d273c2a3 Added some icons for global TTL settings and anti-spam. 2022-12-03 18:58:14 +03:00
23rd
badebb261b Fixed reporting to anti-spam incorrect message id from admin log. 2022-12-03 18:58:06 +03:00
23rd
beb062dd64 Removed requesting of full peers from box of applying TTL for chats.
Since TTL is provided from the dialog info.
2022-12-03 13:51:14 +03:00
John Preston
33c0c79593 Correct unread counter after first topic open. 2022-12-02 21:29:51 +04:00
John Preston
1a9c6749ae Correct pen width in TTL dialogs badge. 2022-12-02 20:51:06 +04:00
John Preston
587715a966 Add jump-to-topic panel to stickers. 2022-12-02 20:32:06 +04:00
John Preston
b5cb2bc9f0 Fix build on Qt 5.* for Windows. 2022-12-02 18:31:52 +04:00
John Preston
a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
John Preston
8281990bb8 Fix some HP device model names on Linux. 2022-12-02 18:20:22 +04:00
23rd
2c1e7bfcb6 Added ability to forward messages to multiple chats. 2022-12-02 17:02:11 +03:00
23rd
bd8e7fdddd Moved out sending method of many messages to many peers to single place. 2022-12-02 17:01:11 +03:00
John Preston
037f2bcce2 Fix closing forum by escape. 2022-12-02 13:48:30 +04:00
23rd
819e1602ef Slightly improved style of anti-spam buttons. 2022-12-02 01:46:31 +03:00
23rd
fe6ad54836 Fixed crash in translate box for text with spoilers. 2022-12-02 01:23:54 +03:00
23rd
92756f418b Added TTL badge to dialogs list. 2022-12-02 00:28:19 +03:00
23rd
cbbbcd877c Added support of switching between corner layers in dialogs list. 2022-12-02 00:25:23 +03:00
John Preston
34f0aae418 Respect topic pin limit from appConfig. 2022-12-01 21:44:32 +04:00
John Preston
f0b8ccbd71 Collapse forum row height in narrow layout. 2022-12-01 21:36:26 +04:00
John Preston
c200263f2e Don't duplicate Update Telegram / Download Bar. 2022-12-01 19:18:32 +04:00
John Preston
1ff53eb585 Fix opening _childList from archive. 2022-12-01 18:59:03 +04:00
John Preston
32491ead5e Animate child topics list open / close. 2022-12-01 18:03:20 +04:00
John Preston
468d01fc1a Show square rounded photo in forum userpic change message. 2022-12-01 17:48:15 +04:00
John Preston
1c44121db7 Fix forum userpic button if no userpic is set. 2022-12-01 17:43:29 +04:00
John Preston
b561705528 Use Window::SlideAnimation in all widgets. 2022-12-01 14:18:37 +04:00
23rd
eed706f917 Added ability to filter and report of anti-spam in admin log. 2022-12-01 05:49:33 +03:00
23rd
4bd2091e6e Added initial ability to enable anti-spam mode in megagroups. 2022-12-01 05:49:33 +03:00
23rd
22f45bc1fb Added loading peer animation to peer list content. 2022-12-01 05:49:33 +03:00
23rd
1cc3440fcc Added new loading element animation for peer list. 2022-12-01 05:49:33 +03:00
23rd
1cd4cb3baa Added ability to set TTL on creation groups. 2022-12-01 05:49:33 +03:00
23rd
11165abc09 Removed skip translation setting when it is disabled. 2022-11-30 17:17:16 +03:00
23rd
f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd
47bb04b019 Added ability to download multiple files to custom location. 2022-11-30 17:17:16 +03:00
23rd
8bcb30e84d Added settings link for global TTL to TTL box. 2022-11-30 17:17:16 +03:00
23rd
81c48e1b09 Added phrase of global TTL for new chats. 2022-11-30 17:17:16 +03:00
23rd
377ee7df06 Added ability to apply TTL for multiple chats. 2022-11-30 17:17:16 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston
188c6ba64a Paint expanded topics indicator. 2022-11-30 13:57:00 +04:00
John Preston
823bbb1b77 Fix jump-to-topic area and unread counter overlapping. 2022-11-30 13:55:46 +04:00
John Preston
f324017299 Don't open unread topic on full forum row click. 2022-11-30 13:03:42 +04:00
John Preston
76837c6f44 Fix render glitches in pinned forum reordering. 2022-11-30 13:03:42 +04:00
John Preston
5e6a4d9e8d Fix crash in jump-to-topic from filtered results. 2022-11-30 13:03:42 +04:00
John Preston
01773e5bb1 Fix custom notifications in topics. 2022-11-30 13:03:42 +04:00
John Preston
5d8a2bc7b7 Implement simple sub-column for topics list. 2022-11-30 13:03:42 +04:00
John Preston
beaea9c57d Update dialog row height on topic switch. 2022-11-29 23:13:51 +04:00
John Preston
3c799a5cc1 Correctly track General editing service messages. 2022-11-29 23:13:51 +04:00
John Preston
5e20c15c20 Adapt edit topic box to General. 2022-11-29 23:13:51 +04:00
23rd
d0ae07f3c2 Added initial implementation of global TTL settings. 2022-11-29 18:03:37 +03:00
23rd
97fa92de0b Added api support for global TTL settings. 2022-11-29 17:41:20 +03:00
23rd
c481d48865 Added some phrases for global TTL settings. 2022-11-29 17:41:20 +03:00
John Preston
545cf93d82 Show nice General icon in an empty topic. 2022-11-29 18:30:38 +04:00
John Preston
6ff29b8902 Don't show 'Discussion started' in General topic. 2022-11-29 18:30:38 +04:00
John Preston
623176e901 Show loading state for non-loaded forum topics list. 2022-11-29 18:30:38 +04:00
John Preston
03b35457fa Fix collapsed narrow archive row display. 2022-11-29 18:30:38 +04:00
John Preston
01748d8aba Better General topic support. 2022-11-29 18:30:38 +04:00
John Preston
7866013ab6 Clear draft that failed to be saved. 2022-11-29 18:30:38 +04:00
John Preston
ac3834bfdb Support custom icon for General topic. 2022-11-29 18:30:38 +04:00
John Preston
57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00
John Preston
8cd5105813 Fix unread badge render glitch. 2022-11-29 18:30:38 +04:00
John Preston
d89573bab5 Update API scheme to layer 150. 2022-11-29 18:30:38 +04:00
23rd
39f9fee22f Added ability to translate peer description. 2022-11-29 15:56:17 +03:00
23rd
6695d7d503 Respected copy restriction on translate box. 2022-11-29 14:57:53 +03:00
23rd
3fdb807a1e Respected new error for occupied usernames in manage channel. 2022-11-29 14:12:57 +03:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd
22dc7023fc Respected new error for occupied usernames in UsernameBox. 2022-11-29 14:12:50 +03:00
23rd
9946fbbd89 Moved out check info text in UsernameBox to separated row. 2022-11-29 14:12:50 +03:00
23rd
fec7febc8e Added small round to document thumbnails in overview layout. 2022-11-29 14:12:50 +03:00
23rd
0b86caef67 Added ability to translate polls. 2022-11-29 14:12:49 +03:00
John Preston
c39b9e9635 Add 'Copy Username' context menu to usernames in profiles. 2022-11-29 13:42:09 +04:00
Ilya Fedin
05524c3f6c Don't show reply button in Linux native notifications when it's not supposed to
All modern notification daemons have support for the default action and it's a requirement with the portal spec
2022-11-28 21:55:00 +01:00
Ilya Fedin
b9a766387c Replace docker buildx with DOCKER_BUILDKIT=1 environment variable
This seem to work better with distribution-provided Docker
2022-11-28 21:54:37 +01:00
Ilya Fedin
54a0f443b4 Better check for download path availability in sandbox 2022-11-28 12:16:57 +01:00
Ilya Fedin
04a8a9b7ee Update lib_base 2022-11-28 12:12:09 +01:00
Ilya Fedin
c77f07239f Have full path to the binary in .desktop file
After removing the -workdir, this is the last difference with URL scheme handler command
2022-11-28 12:12:09 +01:00
Ilya Fedin
b383dad6ac Install launcher before registering URL scheme 2022-11-28 12:12:09 +01:00
Ilya Fedin
f18bf46fb1 Speed up Linux action
The binary is stripped anyway, there's no sense in producing debug symbols
2022-11-28 12:09:45 +01:00
Ilya Fedin
2bda3c4e2b Don't save temp file for native notification userpics on Linux 2022-11-26 22:15:39 +01:00
Ilya Fedin
4484edd212 Get rid of unneeded QTextStream from GenerateDesktopFile 2022-11-26 17:26:52 +01:00
Ilya Fedin
ace363f432 Use GBytesIcon with GNotification
GFileIcon is not supported by xdg-desktop-portal
2022-11-26 17:26:52 +01:00
Ilya Fedin
d6ed23b3dd Fix race condition between GApplication and GNotification 2022-11-26 17:26:52 +01:00
Ilya Fedin
51cd07945b Restore launchable tag in metainfo
Fixes #25378
2022-11-26 17:26:52 +01:00
Ilya Fedin
9ee4ad95d0 Fix GApplication with some binary paths 2022-11-26 17:26:52 +01:00
Ilya Fedin
4ade80905f Add proper build-time checks to AutostartSupported on Linux 2022-11-26 17:26:52 +01:00
Ilya Fedin
70b039a6e4 Don't build unneeded libprotoc in snap 2022-11-26 17:26:52 +01:00
John Preston
4bde87cda4 Don't use LTCG in Debug builds on Windows. 2022-11-25 16:56:42 +01:00
Ilya Fedin
94b4809cdf Get XDG activation token also from DESKTOP_STARTUP_ID 2022-11-25 15:11:25 +01:00
Ilya Fedin
109f6614f0 Unset XDG_ACTIVATION_TOKEN after used with GApplication 2022-11-25 15:11:25 +01:00
23rd
88b0ea70b3 Respected download manager when loading multiple files from menu. 2022-11-25 16:42:47 +03:00
23rd
c7583e3106 Fixed codesign in Github CI on macOS. 2022-11-25 16:42:47 +03:00
23rd
b9003202bf Removed differentiation of replies by color in channels. 2022-11-25 16:42:47 +03:00
23rd
53c4b511f8 Fixed different configuration flags for FFmpeg on macOS. 2022-11-25 16:01:41 +03:00
John Preston
b474db2106 Version 4.3.4.
- Fix OpenGL regression in Qt and language detection.
2022-11-25 12:21:45 +01:00
Ilya Fedin
ca408828c1 Update patches on Linux 2022-11-25 12:20:12 +01:00
Ilya Fedin
d63e483615 Use command-chain for desktop-launch in snap 2022-11-25 12:20:12 +01:00
Ilya Fedin
bea3e5d48f Add mm-common to glibmm build-packages 2022-11-25 12:20:12 +01:00
Ilya Fedin
8b20c27ba7 Add protobuf to snap 2022-11-25 12:20:12 +01:00
Ilya Fedin
e561f93d44 Revert "Implement sonnet-based language detection backend"
This reverts commit 4b2d8b0c53.
2022-11-25 12:20:12 +01:00
Ilya Fedin
5df4dd36a7 Update Python to 3.8 in Docker 2022-11-25 11:14:15 +01:00
John Preston
1e6937a075 Version 4.3.3.
- Fix an issue with media auto-download on Windows.
- Fix switching accounts in maximized window.
- Fix collapsed archive row layout.
2022-11-23 23:09:31 +01:00
John Preston
d714c1edc0 Update submodules. 2022-11-23 23:01:05 +01:00
John Preston
ebf46e1270 Paint unread counter in expanded archive row. 2022-11-23 23:01:05 +01:00
John Preston
116a598508 Fix displaying of collapsed archive row. 2022-11-23 23:01:05 +01:00
23rd
f9a14fc6bc Fixed first check for skipping translation. 2022-11-23 23:01:05 +01:00
23rd
7cdc3eb2b2 Fixed translation of non-server messages. 2022-11-23 23:01:04 +01:00
23rd
294432ceed Differentiated replies in groups by color. 2022-11-23 23:01:04 +01:00
23rd
551bf4f9a7 Switched default language for skip translation to application language. 2022-11-23 23:01:04 +01:00
Ilya Fedin
4b2d8b0c53 Implement sonnet-based language detection backend 2022-11-23 23:00:06 +01:00
John Preston
58e35dec12 Fix auto-download with LTCG on Windows. 2022-11-23 10:07:16 +01:00
John Preston
ae90347c6c Revert "Fixed switching between accounts with filters at screen edge."
This reverts commit 8f3c3b2a54.

Regressions with account switch in a maximized window.
2022-11-23 00:44:31 +01:00
John Preston
1aece79a47 Version 4.3.2.
- Enable message translations in Settings > Language.
- Fast jump to the last updated topic.
- Bug fixes and other minor improvements.
2022-11-22 00:28:07 +00:00
John Preston
79a2d85287 Fix build with GCC. 2022-11-22 00:28:07 +00:00
23rd
937d243a4c Respected translation preferences in sections. 2022-11-22 00:28:07 +00:00
23rd
f82bae15f0 Added translation preferences. 2022-11-22 00:28:07 +00:00
23rd
7aede75e43 Added external cld3 library. 2022-11-22 00:28:03 +00:00
23rd
b72fce4894 Removed LanguageBox::createMultiSelect method. 2022-11-22 00:26:49 +00:00
23rd
32cebc0d9b Fixed position of show more button in translate box. 2022-11-22 00:26:49 +00:00
John Preston
2de76cb75b Highlight primary usernames in profiles like the additional ones. 2022-11-22 00:26:49 +00:00
John Preston
ab06574fd9 Add some margin for one-line profile values copying. 2022-11-22 00:26:49 +00:00
John Preston
473e190aeb Fix single-column forum-by-user search. 2022-11-22 00:26:49 +00:00
John Preston
4b5a0942b1 Open just topic in quick jump-to-last-topic click. 2022-11-22 00:26:49 +00:00
John Preston
106bdae9ce Always open first topic in two-column layout. 2022-11-22 00:26:49 +00:00
John Preston
f97e5d6307 Fix build with Xcode. 2022-11-22 00:26:49 +00:00
John Preston
bb106b07af Show small unread mark for non-opened topics. 2022-11-22 00:26:49 +00:00
John Preston
ce631436bf Show non-read non-opened topics as unread. 2022-11-22 00:26:49 +00:00
23rd
bc5aa7338e Removed inaccessible users from choosing recipients for forwards box. 2022-11-22 00:26:49 +00:00
23rd
6db7840fa7 Added translate ability to context menu. 2022-11-22 00:26:49 +00:00
23rd
921d2239c7 Added initial implementation of choosing translation language from list. 2022-11-22 00:26:49 +00:00
23rd
0feef675f7 Added loading text effect to translate box. 2022-11-22 00:26:49 +00:00
23rd
f16d30de37 Added initial implementation of loading element effect. 2022-11-22 00:26:49 +00:00
23rd
cf54d9fb12 Moved out glare effect to separate file. 2022-11-22 00:26:49 +00:00
23rd
b7647fbcc1 Added initial implementation of translate box. 2022-11-22 00:26:49 +00:00
23rd
95a1ab6b0b Fixed display of send as button above voice record bar. 2022-11-22 00:26:49 +00:00
23rd
823b4e6b98 Added icon for inaccessible users. 2022-11-22 00:26:49 +00:00
23rd
3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
23rd
57c50c8655 Optimized includes of attach_prepare.h. 2022-11-22 00:26:48 +00:00
23rd
8f3c3b2a54 Fixed switching between accounts with filters at screen edge. 2022-11-22 00:26:48 +00:00
23rd
efc0908ed8 Fixed forum closing with Back mouse button.
- Fixed #25330.
2022-11-22 00:26:48 +00:00
John Preston
561e3f4809 Handle clicks on topic jump area. 2022-11-22 00:26:48 +00:00
John Preston
ede34578da Display jump to last topic message bubble. 2022-11-22 00:26:48 +00:00
John Preston
97356032ac Fix build in Xcode. 2022-11-22 00:26:48 +00:00
John Preston
4c8187f623 Topics list in forum chats list entry. 2022-11-22 00:26:48 +00:00
John Preston
996b6bf46a Fix unread mentions / reactions button in topics. 2022-11-22 00:26:48 +00:00
John Preston
37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston
248337daf5 Implement topics pin limit box. 2022-11-22 00:26:48 +00:00
John Preston
8a288476b8 Implement pinned topics reordering. 2022-11-22 00:26:48 +00:00
John Preston
c7741cb62a Apply short topic info from channelMessages. 2022-11-22 00:26:48 +00:00
John Preston
983b6af0b4 Update API scheme to layer 149. 2022-11-22 00:26:48 +00:00
Ilya Fedin
a94dd22caa Rewrite GenerateDesktopFile using Glib::KeyFile and KShell 2022-11-21 21:30:17 +00:00
Ilya Fedin
899ab9a16a Fix range loop warnings in Snap build 2022-11-21 21:30:17 +00:00
Ilya Fedin
2f0d14bd35 Use customWorkingDir() outside of Core::Launcher
This allows to add -workdir to shortcuts only if the process was launched with -workdir
2022-11-21 21:30:17 +00:00
Ilya Fedin
9b66b76bac Use GNotification only in flatpak by default
The UX is not the best without sound, so there's no advantage in using GNotification on GNOME.

Remove mention about being native to GNOME as it's not true anymore.
2022-11-20 08:52:36 +00:00
Ilya Fedin
a1e60a3f20 Ensure GNotification is not autodetected in snap
Snap reports it as present, but prevents the access and GNotification attempts to use portal that doesn't work in snap
2022-11-19 02:21:51 +04:00
Ilya Fedin
f7971733f4 Update msys2 base
It has new signatures and fixes the CI
2022-11-19 02:21:32 +04:00
Ilya Fedin
e33b62ad28 Update cmake_helpers 2022-11-18 20:40:57 +04:00
Ilya Fedin
82629dd3e5 Update Qt to 6.4.1 on Linux 2022-11-18 20:40:57 +04:00
Ilya Fedin
768fc9b8f6 Use the new Glib::Variant qint64/quint64 compatibility with old code 2022-11-18 20:40:33 +04:00
Ilya Fedin
b9b6a9e747 Follow desktop file naming specification
This is required for GApplication to enable all the features

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2022-11-18 20:40:33 +04:00
Ilya Fedin
b4d310fd1e Don't subscribe to inhibiton changes when not supported 2022-11-18 20:40:33 +04:00
Ilya Fedin
f9dd2b4a0a Support GNotification
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol.

GNotification API is poor, but should feel native on environments using GNOME technologies.
2022-11-18 20:40:33 +04:00
Ilya Fedin
afaad155a0 Update to changes in MPRIS SystemMediaControlsManager backend
And let it use service name provided by flatpak by default
2022-11-11 11:47:13 +04:00
Ilya Fedin
9726b3c298 Avoid race condition when registering Wayland interfaces 2022-11-11 11:47:01 +04:00
23rd
85b94bc6fd Changed behavior to always delete messages for bots.
Fixed #17033.
2022-11-11 11:45:13 +04:00
23rd
f0645753d4 Toggled checkbox of deleting messages for both participants. 2022-11-11 11:45:13 +04:00
23rd
8b570f2e8f Fixed duplicated transcribe buttons for video messages.
Fixed #25327.
2022-11-11 11:45:13 +04:00
23rd
2b7b278b52 Respected global notify sound for Saved Messages.
Fixed #25315.
2022-11-11 11:45:13 +04:00
23rd
a02c01cce7 Added phrases for various types of albums in chats list. 2022-11-11 11:45:13 +04:00
23rd
9601207b2c Fixed warnings from Github CI. 2022-11-11 11:45:12 +04:00
John Preston
c06f0b3ea1 Fix contact status bar in single column layout. 2022-11-11 11:44:10 +04:00
John Preston
b514496546 Simplify SendProgressManager::done prototype. 2022-11-11 11:44:03 +04:00
John Preston
ca460dab6d Fix mute value casting. 2022-11-11 11:43:47 +04:00
John Preston
644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston
73e2cc96d1 Fix music player with RTL song names. 2022-11-11 11:43:06 +04:00
Ilya Fedin
d756ecc609 Handle cancel in menu_item_download_files, too 2022-11-10 17:43:48 +04:00
Ilya Fedin
0cd0ad7a5b Handle cancel for default download path in Linux sandbox 2022-11-10 00:24:37 +04:00
John Preston
9229c57e7a Fix monospace-wide comments thread root message.
Fixes #16343.
2022-11-09 12:51:44 +04:00
John Preston
5b17416177 Fix spoiler glitches in reply previews. 2022-11-09 12:40:28 +04:00
John Preston
0b7a2c18a2 Pause spoilers in reply / edit panels. 2022-11-09 12:40:27 +04:00
John Preston
187f5fa4f3 Fix emoji panel section appearance in topics. 2022-11-09 11:00:24 +04:00
John Preston
3fad69d3c8 Hide pinned bar in topics for a single pin. 2022-11-09 11:00:22 +04:00
John Preston
7e2a49c1f9 Fix possible crash in pinned bar destruction. 2022-11-09 10:22:48 +04:00
John Preston
66435d5269 Better folder / chat closing by escape. 2022-11-09 10:22:44 +04:00
John Preston
4a8b5c3015 Add "Show Topics List" button to topic profile. 2022-11-09 10:22:33 +04:00
John Preston
d0d2a4f488 Show messages count in forum. 2022-11-09 10:22:23 +04:00
John Preston
8ee28f6665 Skip forum send action painting. 2022-11-09 10:22:07 +04:00
John Preston
a2b0c551c2 Pass default download path in sandboxed environments. 2022-11-09 10:21:52 +04:00
Ilya Fedin
bff641c217 Update cmake_helpers 2022-11-08 23:37:58 +04:00
Ilya Fedin
a9c0b817d1 Explain how to build a backward compatible binary on Linux 2022-11-08 23:37:58 +04:00
Ilya Fedin
0f38dabd84 Update cmake for -flto=auto support 2022-11-08 23:37:58 +04:00
Ilya Fedin
8552047210 Always build glibmm with LTO to be able to build backward compatible binary 2022-11-08 23:37:58 +04:00
John Preston
092923fe6e Don't autodownload files if sandbox prevents it.
Partially fixes #25308.
2022-11-08 18:26:02 +04:00
John Preston
ab5792f59f Revert "Fix crash when asking download path in sandbox environment"
This reverts commit a4b0443047.
2022-11-08 18:26:01 +04:00
Dragoon Aethis
9d59e42b52 Add an experimental "small message radius" toggle (#25305)
Add an experimental "small message radius" toggle.

This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
Ilya Fedin
e675dc1ef1 Fix appdata filename in snapcraft.yaml 2022-11-08 01:13:08 +04:00
John Preston
8cb980a791 Version 4.3.1.
- Critical bug fixes.
2022-11-07 23:43:04 +04:00
John Preston
785372f5d0 Remove redundant updateSize. 2022-11-07 23:40:41 +04:00
John Preston
aa6495a257 Fix a crash in sharing contact.
Fixes #25287.
2022-11-07 23:19:52 +04:00
23rd
7993c6207a Fixed crash on checking sponsored state with closed dialog. 2022-11-07 23:11:30 +04:00
Ilya Fedin
6af93b3497 Fix appdata changelog generation 2022-11-07 23:11:17 +04:00
John Preston
153fb3e579 Fix search in topic cancel on forum closing. 2022-11-07 20:01:18 +04:00
23rd
80d4c3affe Added button for invite links management even to public channels. 2022-11-07 19:17:21 +04:00
John Preston
9a1d9deea5 Fix peer list row selecting for forums.
The blobs in group calls are still round for them :(
2022-11-07 19:15:57 +04:00
Ilya Fedin
3b7cdb5748 Update lib_base 2022-11-07 18:16:49 +04:00
Ilya Fedin
f542a026ec Add _GTK_APPLICATION_ID support 2022-11-07 18:16:49 +04:00
23rd
629314cfa2 Added saving of scroll state in dialogs widget for restoring from forum. 2022-11-07 15:39:03 +03:00
23rd
c320917069 Fixed Escape shortcut for opened archived forums. 2022-11-07 14:46:41 +03:00
John Preston
9276f3dab8 Fix reply button in View as Messages. 2022-11-07 15:44:37 +04:00
John Preston
1316d14f7a Fix reading of comments.
Fixes #25276.
2022-11-07 15:27:09 +04:00
John Preston
0737034ea6 Fix pinning between topics. 2022-11-07 15:12:47 +04:00
John Preston
9a54473e03 Fix dialog row updating on user online status change.
Regression was introduced in ed895ace66.

Fixes #6410. Again. I hope.
2022-11-07 15:11:15 +04:00
John Preston
991fe491c5 Animate emoji only twice in chats list. 2022-11-07 14:32:06 +04:00
John Preston
6e606f3bb6 Animate topic icons only twice in topics list. 2022-11-07 14:32:06 +04:00
John Preston
d8a0497a7e Don't jump with focus to chats list. 2022-11-07 14:32:06 +04:00
Ilya Fedin
fc4682d77e Get rid of TDESKTOP_LAUNCHER_BASENAME
This key was mainly used to let flatpak and snap provide right desktop file name.
Now, we can compute it from the environment in runtime for both flatpak and snap.
There's no more need in this option. Desktop filename override by downstreams is highly discouraged.
2022-11-07 13:47:58 +04:00
Ilya Fedin
a507edb67a Get rid of workarounds for old flatpak versions
The minimal supported flatpak version since Qt 6.x is 1.14.0.
Flatpak shares temp directory and runtime directory between launches since 1.11.1.
FLATPAK_ID is defined since 1.1.2.
2022-11-07 13:47:58 +04:00
John Preston
bd8b90055e Fix showing forum in a single-column layout. 2022-11-07 13:19:40 +04:00
23rd
371ba40a50 Added volume button to media player for voices. 2022-11-06 18:55:11 +03:00
23rd
a8d8b5be28 Removed wrapping of message texts for mime data. 2022-11-06 18:18:24 +03:00
23rd
3e428faa2e Fixed crash on creating of callback for adding items to non-exist menu. 2022-11-06 18:18:24 +03:00
23rd
3887fbc437 Fixed crash from type box for groups. 2022-11-06 16:56:45 +03:00
Ilya Fedin
a4b0443047 Fix crash when asking download path in sandbox environment
This makes first download to go to temp directory, but I can't think of better solution without changing download path getting architecture.
2022-11-06 17:38:20 +04:00
Ilya Fedin
a73ff8f5d7 Get rid of legacy themes in snap
gtk-common-themes contains all the themes now
2022-11-06 08:08:42 +04:00
Ilya Fedin
0c8400212e Add curl to fix snap build on Launchpad 2022-11-06 00:08:25 +04:00
Ilya Fedin
dcfc3431f5 Disable unneeded validation for libsigc++ 2022-11-06 00:08:25 +04:00
John Preston
be60052b2d Version 4.3: Fix build for Linux. 2022-11-05 20:29:12 +04:00
John Preston
fcf88a9d1f Version 4.3: Fix build with GCC. 2022-11-05 19:13:56 +04:00
John Preston
9e7a4e59a8 Version 4.3: Fix build with Xcode. 2022-11-05 19:11:38 +04:00
John Preston
29e30d2d00 Version 4.3: Fix rounding with inline keyboard markup. 2022-11-05 19:07:20 +04:00
John Preston
efc06b7951 Version 4.3.
- Groups with more than 200 members
can now have their discussions organized into topics.
- Premium users can now convert both voice messages
and video messages into text.
2022-11-05 18:26:50 +04:00
John Preston
c15f89c260 Hide reply bars to the topic root in topic pinned. 2022-11-05 18:26:50 +04:00
John Preston
9dcea2cdef Hide unread counter inside View as Messages. 2022-11-05 17:49:01 +04:00
John Preston
080ab26804 Add some phrases to langpack. 2022-11-05 17:49:01 +04:00
John Preston
d58f312342 Generate old topic message links for now. 2022-11-05 17:49:01 +04:00
John Preston
b5bba2e4e2 Update lib_webview. 2022-11-05 17:49:01 +04:00
23rd
26f287fae0 Added support of posts_between flag for sponsored messages. 2022-11-05 15:44:08 +03:00
John Preston
fb33951c94 Fix grammar in a phrase. 2022-11-05 15:01:02 +04:00
23rd
421e7a960b Added phrases for usernames in admin log. 2022-11-05 08:16:34 +03:00
Ilya Fedin
fe987e3f22 Don't prime Qt's pkg-config files in snap 2022-11-04 23:06:25 +04:00
Ilya Fedin
d3071acad2 Build newer glibmm in snap 2022-11-04 23:06:25 +04:00
Ilya Fedin
959f23f475 Remove unused external_glib dependency from Telegram target 2022-11-04 23:06:25 +04:00
Ilya Fedin
820d367e78 Fix library search path in Docker image 2022-11-04 16:38:18 +04:00
Ilya Fedin
6ff3d9f975 Don't build qtquickcontrols2 in Docker 2022-11-04 16:38:18 +04:00
Ilya Fedin
da2f1b3d97 Add switch for LTO in Docker image 2022-11-04 16:38:18 +04:00
Ilya Fedin
0b2b3416d7 Build both versions of zlib in Dockerfile
For consistence with other libraries
2022-11-04 16:38:18 +04:00
Ilya Fedin
1c514b23ea Reduce glibmm's build targets 2022-11-04 16:38:18 +04:00
John Preston
592c471f58 Fix cancel of search by sender in forums. 2022-11-03 19:09:07 +04:00
John Preston
fdee5f9227 Fix search by recently used hashtags. 2022-11-03 18:45:15 +04:00
John Preston
9d313d2827 Fix focus jump to chats list on channel open. 2022-11-03 18:32:59 +04:00
John Preston
55fd9c5091 Closed alpha version 4.2.4.3. 2022-11-03 16:37:31 +04:00
John Preston
0dd45de254 Remember scroll state between topic openings. 2022-11-03 16:29:40 +04:00
Ilya Fedin
d7f2385275 Parallelize LTO on Linux 2022-11-03 14:46:46 +04:00
Ilya Fedin
1336a7149b Update glibmm to latest version 2022-11-03 14:45:01 +04:00
John Preston
67d99355ca Don't show empty popup menu in ListWidget. 2022-11-03 14:27:42 +04:00
John Preston
1953cc2f8a Fix "Topic Author" badge for the new topics. 2022-11-03 14:13:52 +04:00
John Preston
da941e4837 Fix possible crashes in topic / history deletion. 2022-11-03 13:26:36 +04:00
John Preston
b5a412929e Display pinned messages bar after topic creation. 2022-11-03 12:20:25 +04:00
John Preston
3fcb7c90e0 Apply first topic message pinning. 2022-11-03 12:19:29 +04:00
John Preston
b772697c59 Fix crash on topic creation. 2022-11-03 12:18:48 +04:00
John Preston
a088791752 Closed alpha version 4.2.4.2: Fix build with Xcode. 2022-11-02 22:29:21 +04:00
Ilya Fedin
ba9f5d138a Use some APIs from newer glibmm 2022-11-02 21:02:46 +04:00
John Preston
41192e5acd Closed alpha version 4.2.4.2. 2022-11-02 20:59:25 +04:00
John Preston
a21c73facd Optimize updates subscription in topics. 2022-11-02 20:59:12 +04:00
John Preston
9d4840c0de Respect window active state on mark as read. 2022-11-02 20:13:29 +04:00
John Preston
ff352d7647 Fix password request box closing in bot button callback. 2022-11-02 20:13:29 +04:00
John Preston
fdb29a756a Fix topic profile icon on Retina screen (again). 2022-11-02 17:22:01 +04:00
John Preston
34a2c5c8ce Display topic name in chats list. 2022-11-02 16:39:13 +04:00
John Preston
fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston
45cacc94c0 Fix build with Xcode. 2022-11-02 01:16:55 +04:00
John Preston
e62bdd286d Show topic title in the notifications. 2022-11-01 21:05:49 +04:00
23rd
969b051c8f Limited count of sponsored messages at bottom to single one for now. 2022-11-01 20:03:16 +04:00
23rd
3b79d944af Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
John Preston
cddb2a4bac Improve video chat menu for forums. 2022-11-01 20:00:09 +04:00
Ilya Fedin
0c514c4b0a Have unified compiler flags in Dockerfile 2022-11-01 19:34:05 +04:00
Ilya Fedin
435e4f2783 Adapt for target_prepare_qrc changes 2022-11-01 19:33:54 +04:00
Ilya Fedin
68ad56db79 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 19:33:46 +04:00
John Preston
ab0f12cf1c Fix topic icon on retina screen. 2022-11-01 19:25:45 +04:00
John Preston
fba0f0c49b Improve topic three-dot menu. 2022-11-01 19:25:45 +04:00
23rd
03c08ad95f Added saving of scroll state in dialogs widget between chats filters. 2022-11-01 19:25:45 +04:00
John Preston
c6aba83a6b Fix crash on local edit draft, fix reading drafts. 2022-11-01 19:25:45 +04:00
John Preston
f13a2517cd Topic Author badge only if not admin. 2022-11-01 19:25:45 +04:00
John Preston
7ec1af5e50 Forbid saving / copying of extended media.
Fixes #25227.
2022-11-01 19:25:45 +04:00
John Preston
bd8cdcb520 Fix topic icons animating in choose topic box. 2022-11-01 19:25:45 +04:00
John Preston
7dbb4a0959 Clear forward drafts on topic destruction. 2022-11-01 19:25:45 +04:00
John Preston
f6e501a431 Fix opening topic first time, jump down on second click. 2022-11-01 19:25:45 +04:00
John Preston
57dc0c632e Open forum by invite link. 2022-11-01 19:25:45 +04:00
John Preston
e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston
7384cd3463 Support sharing games by link to topics. 2022-11-01 19:25:44 +04:00
John Preston
83ec449890 Display topic title in topic-root reply bars. 2022-11-01 19:25:44 +04:00
John Preston
15f72ca6c1 Fix contact sharing to topics. 2022-11-01 19:25:44 +04:00
John Preston
afd6121cbb Don't mass-select service messages in replies. 2022-11-01 19:25:44 +04:00
John Preston
dd3c8430bf Forbid deleting the topic root. 2022-11-01 19:25:44 +04:00
John Preston
d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston
6d215d3729 Implement unpin all messages within a thread. 2022-11-01 19:25:44 +04:00
John Preston
1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
23rd
c497e9ca9c Slightly optimized includes in HistoryWidget. 2022-11-01 19:25:44 +04:00
23rd
ed356a1fc5 Fixed jumping to message from composed search. 2022-11-01 19:25:44 +04:00
23rd
290e8bb449 Fixed appearing of transcribe button on various messages with video. 2022-11-01 19:25:44 +04:00
John Preston
079c36abf3 Fix build with Xcode. 2022-11-01 19:25:44 +04:00
John Preston
fb0eee01f2 Closed alpha version 4.2.4.1. 2022-11-01 19:25:44 +04:00
John Preston
bc96bdf7a9 Add video chat management menu items to forum. 2022-11-01 19:25:43 +04:00
John Preston
18bf5c0ee2 Handle nice topic / post-in-topic links. 2022-11-01 19:25:43 +04:00
23rd
3078a94404 Added fallback of waveform data to transcribed round messages. 2022-11-01 19:25:43 +04:00
John Preston
af6ca8d4f1 Show "Topic Author" fake admin rank. 2022-11-01 19:25:43 +04:00
John Preston
aa5f9467f2 Support attach webview bots in topics. 2022-11-01 19:25:43 +04:00
John Preston
b3f9b16eb2 Add correct topics icon to manage group box. 2022-11-01 19:25:43 +04:00
John Preston
443745e3fc Show chosen search result in topic messages search. 2022-11-01 19:25:43 +04:00
John Preston
fcf9ca3982 Fix local pinned hiding in topics. 2022-11-01 19:25:43 +04:00
John Preston
8dc27339b4 Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
John Preston
da1e784803 Search from a user inside forum / topic. 2022-11-01 19:25:43 +04:00
John Preston
46ebbdb547 Open jump-to-date by date click in topics. 2022-11-01 19:25:43 +04:00
John Preston
850746b0ba Improve search-in-topic closing. 2022-11-01 19:25:43 +04:00
John Preston
5d76415a5d Implement jump-to-date in topics. 2022-11-01 19:25:43 +04:00
John Preston
ee8f997c14 Implement search inside a single topic. 2022-11-01 19:25:43 +04:00
John Preston
60aef7871a Append server-side topic search results. 2022-11-01 19:25:43 +04:00
John Preston
d6ee5b3456 Show forum messages search results with topics. 2022-11-01 19:25:42 +04:00
John Preston
88d1a502a5 Implement search in topics / forum messages. 2022-11-01 19:25:42 +04:00
John Preston
c8ed8e0e5f Support nice empty topic view. 2022-11-01 19:25:42 +04:00
John Preston
99564d3d44 Implement restrictions on topics enabling. 2022-11-01 19:25:42 +04:00
John Preston
aac91a19ca Context-aware phrases in topic service messages. 2022-11-01 19:25:42 +04:00
John Preston
97d8aa0a0d Add a distinct forum icon in chats list. 2022-11-01 19:25:42 +04:00
John Preston
76330eaaa6 Provide a draft from notification to correct thread. 2022-11-01 19:25:42 +04:00
John Preston
06d1644baa Mark topics as read on reply from notification. 2022-11-01 19:25:42 +04:00
John Preston
ef3ed760b1 Unread counters don't differ in/out messages in threads. 2022-11-01 19:25:42 +04:00
John Preston
ec0380b250 Show premium tooltip on custom topic icon selection. 2022-11-01 19:25:42 +04:00
John Preston
c6bc7c3de1 Disable "Clear history" in forums. 2022-11-01 19:25:42 +04:00
John Preston
6e491913d6 Add "View in Thread" context menu button. 2022-11-01 19:25:42 +04:00
John Preston
48fb410bc7 Fix third column profile in topics. 2022-11-01 19:25:42 +04:00
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
23rd
1cd02fc3c9 Added display of video message in transcribed view. 2022-11-01 19:25:42 +04:00
23rd
dec47eafb8 Improved display of transcribe button for video messages. 2022-11-01 19:25:42 +04:00
23rd
579b20fff7 Added initial ability to transcribe video messages. 2022-11-01 19:25:42 +04:00
John Preston
b4a9705564 Simplify pin_messages/manage_topics logic. 2022-11-01 19:25:41 +04:00
John Preston
72354f52d4 Improve top bars in forums, in narrow column. 2022-11-01 19:25:41 +04:00
John Preston
70e5f752ba Correctly handle complex pin_messages/manage_topics. 2022-11-01 19:25:41 +04:00
John Preston
53beb6f562 Allow editing ManageTopics rights/restrictions. 2022-11-01 19:25:41 +04:00
John Preston
ed895ace66 Track dialog row offline status by timer.
Fixes #6410.
2022-11-01 19:25:41 +04:00
John Preston
0cba9e4a22 Support default forum topic icons. 2022-11-01 19:25:41 +04:00
John Preston
5314833c82 Show requests / group call / report in forums. 2022-11-01 19:25:41 +04:00
John Preston
b92b8e56cb Improve single column layout forum / topic top bar. 2022-11-01 19:25:41 +04:00
John Preston
b497e5ea21 Add a Reopen Topic button on topic top for admins. 2022-11-01 19:25:41 +04:00
John Preston
92bf925fd0 Show locked topic icon in topics list. 2022-11-01 19:25:41 +04:00
John Preston
eab23df174 Improve narrow topics column in forum. 2022-11-01 19:25:41 +04:00
John Preston
ce17904dcc Improve topic creation, fix glitches. 2022-11-01 19:25:41 +04:00
23rd
fd2edb51e9 Fixed build in Xcode. 2022-11-01 19:25:41 +04:00
23rd
6d3f9017fa Added ability to report chat photo and channel photo. 2022-11-01 19:25:41 +04:00
23rd
f0177bc6cc Fixed display of info in profile box for inaccessible peers. 2022-11-01 19:25:41 +04:00
23rd
50b27b51a1 Fixed losing of saved usernames order from edit peer box. 2022-11-01 19:25:41 +04:00
John Preston
4074a558e7 Get rid of Ui::FlatInput class.
Fixes #16172.
2022-11-01 19:25:41 +04:00
John Preston
f9173ea849 Improve top bar design for forum / topic. 2022-11-01 19:25:41 +04:00
John Preston
3a967bbbfe Ignore unread counts in non-opened topics. 2022-11-01 19:25:41 +04:00
John Preston
7aea54ad8f Fix crash in topics admin log. 2022-11-01 19:25:41 +04:00
John Preston
4910a60499 Track mentions / reactions together with unread. 2022-11-01 19:25:40 +04:00
John Preston
5356f6cd2c Reload topics on channelDifferenceTooLong. 2022-11-01 19:25:40 +04:00
John Preston
08ba277327 Track forum unread state by topics inside. 2022-11-01 19:25:40 +04:00
John Preston
a292f8a34e Allow opening forums from archive / filters. 2022-11-01 19:25:40 +04:00
John Preston
7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston
adaa1d0c55 Support pinned topics in forums. 2022-11-01 19:25:40 +04:00
John Preston
306179ca7c Update API scheme on layer 148. 2022-11-01 19:25:40 +04:00
John Preston
c86496add1 Fix document thumbnails on Retina screens. 2022-11-01 19:25:40 +04:00
John Preston
ad2f9438a2 Support topic closing. 2022-11-01 19:25:40 +04:00
John Preston
fe41fbd7e9 Support topics in Recent Actions. 2022-11-01 19:25:40 +04:00
John Preston
df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +04:00
John Preston
fcc4503791 Add "View as Messages" in forums. 2022-11-01 19:25:40 +04:00
23rd
9ddbc75638 Added api flag support of userpic display for sponsored messages. 2022-11-01 19:25:40 +04:00
23rd
dc8b693f1d Added context menu to bar of pinned messages with bot button. 2022-11-01 19:25:40 +04:00
23rd
659a7622be Fixed memory leak from bar of pinned messages. 2022-11-01 19:25:40 +04:00
23rd
a4856e4436 Added handling of error for too much number of activated usernames. 2022-11-01 19:25:40 +04:00
23rd
c9390dc02a Added draft for usernames in admin log. 2022-11-01 19:25:40 +04:00
23rd
bdd79aa2f2 Changed row in usernames list for editable one. 2022-11-01 19:25:40 +04:00
23rd
ad70942d0e Moved usernames data management to separated class. 2022-11-01 19:25:39 +04:00
23rd
c8ae7c7402 Added ability to download multiple files from context menu. 2022-11-01 19:25:39 +04:00
23rd
8175fd19de Fixed position of toggle menu button in downloads narrow section. 2022-11-01 19:25:39 +04:00
23rd
4207995ef0 Added right button to rows of usernames list for reorder. 2022-11-01 19:25:39 +04:00
23rd
00df4625e2 Added support of primary username to FieldAutocomplete. 2022-11-01 19:25:39 +04:00
23rd
79f592a84f Added usernames support to info profile. 2022-11-01 19:25:39 +04:00
23rd
ad7bc6326d Added context menu to usernames list. 2022-11-01 19:25:39 +04:00
23rd
17623640b3 Slightly improved appearing of usernames list. 2022-11-01 19:25:39 +04:00
23rd
d55ff7aa4a Added usernames list to peer type box for public channels. 2022-11-01 19:25:39 +04:00
23rd
113d9742f4 Added initial implementation of usernames list for boxes. 2022-11-01 19:25:39 +04:00
23rd
acbc248f23 Replaced UsernameBox with generic box. 2022-11-01 19:25:39 +04:00
23rd
4f4d0bef25 Added usernames info to ChannelData. 2022-11-01 19:25:38 +04:00
23rd
ffa8a94180 Added usernames info to UserData. 2022-11-01 19:25:38 +04:00
23rd
51cead1445 Added initial implementation of api for usernames. 2022-11-01 19:25:38 +04:00
23rd
29663a410a Added decimal separators to count of participants in group call bar. 2022-11-01 19:25:38 +04:00
23rd
4824b26afd Added tooltip with forwards count to views info for channel messages. 2022-11-01 19:25:38 +04:00
23rd
5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
23rd
9b7329b378 Removed username from public data members of ChannelData. 2022-11-01 19:25:38 +04:00
23rd
38f5cda800 Added display of full filenames for documents in tooltips. 2022-11-01 19:25:38 +04:00
23rd
c1b2d7ed4c Attempted to fix showing of tooltips on loading documents. 2022-11-01 19:25:38 +04:00
John Preston
89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston
791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston
d4255bbfe4 Fix build with Xcode. 2022-11-01 19:25:38 +04:00
John Preston
ead427793b Handle forum / topic links. 2022-11-01 19:25:38 +04:00
John Preston
16e189a2ce Update API scheme on layer 148: Usernames. 2022-11-01 19:25:37 +04:00
John Preston
6997e165c6 Forum three-dot menu, except search. 2022-11-01 19:25:37 +04:00
John Preston
9b0cae9c97 Fix name width in accounts list. Fixes #25116. 2022-11-01 19:25:37 +04:00
John Preston
b68ffcd75d Update topic mute state on history mute changes. 2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston
9fccdf21cc Remove General meta-forum-topic. 2022-11-01 19:25:37 +04:00
John Preston
92a4b27e65 Support per-topic notification settings. 2022-11-01 19:25:37 +04:00
John Preston
24843e3acd Rounded square userpics for forums. 2022-11-01 19:25:37 +04:00
John Preston
8561893e2e Update API scheme on layer 148. 2022-11-01 19:25:37 +04:00
John Preston
6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston
04d06e5b12 Fix build with Xcode. 2022-11-01 19:25:37 +04:00
John Preston
58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston
eec4b72d9a Implement correct jump to message / unread / bottom. 2022-11-01 19:25:37 +04:00
John Preston
3999bca823 Support unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston
6a7f030ee7 Update API scheme on layer 148.
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston
2c0b5b3210 Track unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston
9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston
0d985b5745 Don't focus main button on progress show. 2022-11-01 19:25:36 +04:00
John Preston
d4cdd67128 Fix RTL text in bot attach webview main button. 2022-11-01 19:25:36 +04:00
John Preston
f258b054e8 Request last topic message if it becomes unknown. 2022-11-01 19:25:36 +04:00
John Preston
032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston
377b86372b Don't jump above pinned chats.
Fixes #6802.
2022-11-01 19:25:36 +04:00
John Preston
24d3bcb590 Use operator<=> for some simplest data types. 2022-11-01 19:25:36 +04:00
John Preston
2c50f7b18c Implement nice topic icon create / edit box. 2022-11-01 19:25:36 +04:00
John Preston
3aa7f4dd62 Test custom emoji timer-by-on_main optimization. 2022-11-01 19:25:36 +04:00
John Preston
bacc30e296 Fix custom emoji interaction with other animations. 2022-11-01 19:25:36 +04:00
John Preston
3c739912ba Use non-allocating literals with MSVC in Release. 2022-11-01 19:25:36 +04:00
John Preston
ae3496d6a4 Update API scheme on layer 148: Topic icons. 2022-11-01 19:25:36 +04:00
John Preston
f3c664859d Don't show root pinned bar in topic messages list. 2022-11-01 19:25:36 +04:00
John Preston
57b752c232 Don't crash on topic icon reset. 2022-11-01 19:25:36 +04:00
John Preston
2781fe2c34 Show temporary placeholder topic icon. 2022-11-01 19:25:35 +04:00
John Preston
5d43073efa Support editing of not-fully-created topic. 2022-11-01 19:25:35 +04:00
John Preston
3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston
065d2e2ac9 Fix crash in toasts without spoilers. 2022-11-01 19:25:35 +04:00
John Preston
b77756ce12 Highlight active topic in chats list. 2022-11-01 19:25:35 +04:00
John Preston
1e8dfb7315 Partially support correct rounding near unwrapped media. 2022-11-01 19:25:35 +04:00
John Preston
83008fa358 Support new rounding in theme preview generator. 2022-11-01 19:25:35 +04:00
John Preston
f167cdad6f Fix crash in quiz explanation with spoilers. 2022-11-01 19:25:35 +04:00
John Preston
d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston
001c46f68a Support new rounding in poll bottom button. 2022-11-01 19:25:35 +04:00
John Preston
09ab83836f Support new rounding for comments button. 2022-11-01 19:25:35 +04:00
John Preston
e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston
9cab06e17d Support new rounding for albums. 2022-11-01 19:25:35 +04:00
John Preston
8268e9f872 Support new rounding for GIFs / videos. 2022-11-01 19:25:35 +04:00
John Preston
b2302d35fe Implement correct rounding of shared locations. 2022-11-01 19:25:35 +04:00
John Preston
5e82433693 Fix build with Xcode. 2022-11-01 19:25:35 +04:00
John Preston
abdd126dcf Round correctly distinct photos and extended media. 2022-11-01 19:25:35 +04:00
John Preston
f3662f4873 Support correct rounding of file thumbnails. 2022-11-01 19:25:34 +04:00
John Preston
dd52c53ec0 Allow more file attach layout customization. 2022-11-01 19:25:34 +04:00
John Preston
b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston
ba2f92906b Implement new bubble rounding. 2022-11-01 19:25:34 +04:00
John Preston
405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston
1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston
4724ef91f6 Improve topic by message resolving. 2022-11-01 19:25:34 +04:00
John Preston
d7fdd80f55 Fix jumping in topics list on message send. 2022-11-01 19:25:34 +04:00
John Preston
9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
c90f879c96 Update API scheme on layer 148. 2022-11-01 19:25:33 +04:00
John Preston
73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston
2201159da5 Simplify app name in Install-nd-Remove. 2022-11-01 19:25:32 +04:00
John Preston
eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
John Preston
388fe6adfb Allow enabling forum, creating topics. 2022-11-01 19:25:32 +04:00
John Preston
c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +04:00
GitHub Action
87b228b256 Update User-Agent for DNS to Chrome 106.0.5249.119. 2022-11-01 19:24:47 +04:00
Ilya Fedin
4832e3b3ab Fix the comment about surface size in media_view_pip
Surface size is buffer size, in fact...
2022-10-30 07:35:33 +04:00
Ilya Fedin
7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
Ilya Fedin
2c1933bdb8 Use application-wide time format in remaining td_ui places 2022-10-17 08:33:22 +04:00
Ilya Fedin
f9bf68461d Provide the same sizes for tray icon as for main window icon 2022-10-16 18:04:07 +04:00
Ilya Fedin
8f1a8f909d Ask download path first time in Linux sandbox
This allows to have less sandbox holes in flatpak and allows snap users to specify a normal folder to download to (as opposed to $HOME/snap/$SNAP_NAME/current/Downloads)
2022-10-06 19:13:38 +04:00
Ilya Fedin
4b859828c8 Replace the duplicate issues link with link to translation platform in XDG metadata 2022-10-06 19:10:47 +04:00
Ilya Fedin
13103ad0e6 Update cmake_helpers 2022-10-03 09:29:25 +04:00
Ilya Fedin
2d69329dc9 Set linux webview debug mode via D-Bus IPC 2022-10-03 09:29:25 +04:00
Anton Samokhvalov
3fe403117a fix clang15/libc++15 build 2022-10-02 07:39:54 +04:00
GitHub Action
6147994713 Update User-Agent for DNS to Chrome 105.0.5195.125. 2022-10-01 09:10:55 +04:00
John Preston
0fbb2e77fe Fix rare crash in message list context menu. 2022-09-30 18:50:43 +04:00
John Preston
1350fa64f3 Version 4.2.4.
- Fix crash in emoji statuses clearing.
2022-09-30 16:30:58 +04:00
John Preston
70ba28bbd5 Fix crash in emoji statuses clearing. 2022-09-30 16:30:58 +04:00
Ilya Fedin
16649a9661 Fix snap build 2022-09-30 07:44:18 +04:00
Ilya Fedin
8eb6d2e36b Update Qt and libjxl to release versions on Linux 2022-09-30 00:24:32 +04:00
23rd
8b580de47e Version 4.2.3: Fixed Github CI Windows and macOS builds. 2022-09-29 21:22:06 +04:00
23rd
5b1a9fb3e1 Migrated gyp for breakpad to upstream in prepare script on macOS. 2022-09-29 21:22:06 +04:00
Ilya Fedin
2a6e2fa353 Bundle kcoreaddons 2022-09-28 23:59:59 +04:00
Ilya Fedin
16669402cf Decrease the amount of clipboard data retrievation 2022-09-28 23:59:59 +04:00
John Preston
073c1a4d0f Version 4.2.3: Fix possible crash in premium section. 2022-09-28 15:58:25 +04:00
John Preston
4c276e2357 Version 4.2.3: Fix clearing of user emoji status. 2022-09-28 15:49:34 +04:00
John Preston
889529718f Fix possible stack overflow crash on Windows.
Fixes #25129.
2022-09-28 15:49:34 +04:00
23rd
acb092f9f2 Fixed stuck of history-down button after sending message. 2022-09-28 12:31:16 +03:00
23rd
9cd194e60e Removed ability to copy links in channels with restricted content. 2022-09-28 12:31:16 +03:00
23rd
9c3173e4bb Fixed updating of emoji status from TopBar in Premium Settings for user.
Regression was introduced in 47b32898f5.
2022-09-28 08:46:35 +03:00
John Preston
62b624c390 Version 4.2.3.
- Improve scaling / cropping for photos / video files.
- Improve touch support in channel comments.
- Nice animation for spoilers.
2022-09-28 09:34:31 +04:00
John Preston
1ee9122660 Fix text selection in recent actions. 2022-09-25 18:22:01 +04:00
John Preston
6cb01998cc Fix crash in recent actions with spoilers. 2022-09-25 18:21:59 +04:00
John Preston
0e6c899cee Fix crash after spoiler reveal in comments. 2022-09-25 18:21:58 +04:00
John Preston
09a6df1fdc Set some layers crash annotations. 2022-09-25 18:21:56 +04:00
John Preston
43bdfbf170 Beta version 4.2.2.
- Fix crash in spoiler revealing in media captions.
- Fix spoiler revealing in media viewer captions.
- Fix crash in folder editing on Linux.
2022-09-23 23:50:37 +04:00
John Preston
bcfe4ac4a3 Allow revealing spoilers in media viewer captions. 2022-09-23 23:50:21 +04:00
John Preston
c67c53bcdf Fix build with GCC. 2022-09-23 23:32:54 +04:00
John Preston
330c6a31a2 Fix crash in empty text state resolving. 2022-09-23 23:32:22 +04:00
John Preston
aa674a0ea5 Fix UB in closing chat across all windows. 2022-09-23 23:32:21 +04:00
John Preston
e01910ac68 Fix a crash in folders editing, happens in Qt 6.4.
Fixes #25074.
2022-09-23 23:32:19 +04:00
John Preston
eac13b31f1 Fix crash in subscribe button. 2022-09-23 23:32:18 +04:00
John Preston
d4a2c4a151 Fix crash in caption spoiler opening. 2022-09-23 23:22:08 +04:00
John Preston
8fc35e45e4 Beta version 4.2.1: Fix build with GCC. 2022-09-22 22:44:28 +04:00
John Preston
2931e754c3 Beta version 4.2.1.
- Improve scaling / cropping for photos / video files.
- Improve touch support in channel comments.
- Nice animation for spoilers.
2022-09-22 20:15:55 +04:00
John Preston
4e7a5eeffb Use Python 3.10 and GYP supporting it. 2022-09-22 15:31:46 +04:00
John Preston
6fcafeff5b Don't repeat premium stickers in fake-pack. 2022-09-22 14:58:40 +04:00
Ilya Fedin
3165ef9f0b Implement target_compile_options_if_exists, target_link_options_if_exists 2022-09-22 12:58:07 +04:00
John Preston
ec992ae552 Fix reactions menu on Retina screens. 2022-09-22 12:33:48 +04:00
John Preston
f0a36d6460 Show only first row of colored default statuses. 2022-09-22 12:27:46 +04:00
John Preston
ffb024a5f7 Move Ui::Text::String to HistoryView::Element. 2022-09-22 11:07:48 +04:00
Ilya Fedin
140dcb033b Fix snap building on snapcraft 2022-09-20 10:20:07 +04:00
Ilya Fedin
06d9d04787 Remove explicit setting of paths for cmake in snapcraft.yaml
This is reported as fixed in snapcraft, thus these paths should be set automatically
2022-09-19 19:12:16 +04:00
John Preston
a7c29991db Hide toggle silent send in channels on msg edit. 2022-09-19 18:49:46 +04:00
John Preston
e3d79d46f7 Fix new format of direct post links in channels. 2022-09-19 18:28:53 +04:00
John Preston
476a864be2 Improve cropping for videos a bit.
Partially fixes #25061 for videos as well.
2022-09-19 18:05:03 +04:00
John Preston
fc3810fd7f Improve scaling / expanding for photos.
Fixes #25061.
2022-09-19 17:44:59 +04:00
John Preston
f5bff22bb8 Improve touch support in popup menus. 2022-09-19 17:29:28 +04:00
Ilya Fedin
157b4c43ee Update lib_ui 2022-09-19 14:23:27 +04:00
Ilya Fedin
f2d2826fc7 Make InstallLauncher accessible on any platform 2022-09-19 14:23:27 +04:00
Ilya Fedin
cfa12fb0cc Move AppRuntimeDirectory to private namespace 2022-09-19 14:23:27 +04:00
Ilya Fedin
d9318c9935 Move icon name getter to cross-platform header 2022-09-19 14:23:27 +04:00
Ilya Fedin
5132fd5010 Use KSandbox to check flatpak/snap environment 2022-09-19 14:23:27 +04:00
Ilya Fedin
89879e355d Replace EscapeShell with KShell::joinArgs 2022-09-19 14:20:02 +04:00
Ilya Fedin
278ab5ebaf Add support for AVIF, HEIF and JPEG XL (only on Linux yet) 2022-09-19 11:20:50 +04:00
John Preston
39294a7fe1 Use touch handling from HistoryInner in ListWidget.
Fixes #24880.
2022-09-19 11:16:09 +04:00
John Preston
7727cdff92 Fix build with Xcode. 2022-09-18 17:12:16 +04:00
John Preston
8bd0ff7925 Opimize spoiler revealing. 2022-09-18 16:52:31 +04:00
John Preston
4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston
cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
Ilya Fedin
4975254cc1 Avoid building qttools
Removing po folder from kcoreaddons allows that
2022-09-18 15:55:56 +04:00
Ilya Fedin
b36063e086 Update kcoreaddons to 5.98.0
And patch to cache portal result
2022-09-17 06:23:05 +04:00
John Preston
645ae69220 Version 4.2.
- A new expandable reaction menu was added in private chats and groups.
- All users get access to dozens of new reactions,
including reactions previously reserved for Premium users.
- The reactions you use most frequently
will always be displayed at the top.
- Premium users can react to messages with thousands of custom emoji
and add up to 3 reactions to each message.
- Group admins can control whether
custom reactions are allowed in their groups.
- Premium users can add an animated emoji status next to their name
to display their current activity.
- To set a status, tap your Premium badge in the main menu or Settings.
- Popular suggestions for working, sleeping,
traveling and more will be shown at the top.
- To set a status for a specific duration like 1 hour or 2 days,
right click the emoji.
- A new format was supported for username links,
in addition to "t.me/username." You can now open Telegram accounts,
groups or channels using links like "username.t.me"
or "https://username.t.me."
- Improved support for long media captions.
2022-09-17 00:47:22 +04:00
John Preston
782c5c28a8 Support custom quick reaction in settings. 2022-09-16 11:16:59 +04:00
John Preston
fba683be8e Fix custom status remove on chat reopen. 2022-09-16 10:42:25 +04:00
Ilya Fedin
552d96df71 Update Qt to 6.4.0 rc1 2022-09-16 09:46:36 +04:00
John Preston
1043467eec Fix lib_ui build. 2022-09-15 22:00:20 +04:00
John Preston
9923cc9b31 Beta version 4.1.2: Fix build with Xcode. 2022-09-14 23:15:00 +04:00
23rd
47b32898f5 Fixed padding of TopBar in Premium Settings for user. 2022-09-14 23:10:31 +04:00
23rd
557a2e400e Fixed muting of peer forever. 2022-09-14 23:10:30 +04:00
23rd
84400f5912 Added strictly typed field to export JSON for text entities. 2022-09-14 23:10:28 +04:00
John Preston
b28140c4b0 Beta version 4.1.2.
- New reaction selector above the right click menu.
- Premium: Set any custom emoji reactions in private chats.
- Premium: Set any custom emoji as your profile status.
- Insert or copy custom emoji from pack preview.
2022-09-14 23:06:00 +04:00
John Preston
08321b8d8b Fix sending custom emoji based on Dice-type game emoji. 2022-09-14 20:41:24 +04:00
John Preston
bc340d75c4 Insert / Copy emoji from pack preview. 2022-09-14 14:45:23 +04:00
John Preston
cae18b3320 Use "Change Emoji Status" phrase. 2022-09-14 12:27:06 +04:00
John Preston
d81b2fbb69 Activate the chosen default folder on Escape. 2022-09-14 09:13:28 +04:00
John Preston
02daa2a04b Add new reaction menu to channel comments. 2022-09-13 07:53:20 +04:00
John Preston
1363faddbf Add "Reaction button in messages" setting. 2022-09-13 07:44:22 +04:00
John Preston
20a5950f99 Fix premium star / status in accounts list. 2022-09-12 18:56:03 +04:00
John Preston
40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston
379736a7d1 Show extended preview inline keyboard button. 2022-09-12 16:40:19 +04:00
John Preston
d2234d88b6 Update extended media, hide inline keyboard. 2022-09-12 16:10:56 +04:00
John Preston
c2fd4ccd59 Skip custom reactions if premium isn't possible. 2022-09-12 10:07:07 +04:00
John Preston
26c79939e0 Fix custom status duration edit from Settings. 2022-09-12 09:51:55 +04:00
John Preston
ffaeb239f0 Don't show emoji tooltip in reactions / statuses. 2022-09-12 09:46:23 +04:00
John Preston
7c8d3452b5 Fix reaction icons in Who Reacted. 2022-09-12 09:38:18 +04:00
John Preston
e2bca0a7ff Fix media with caption in a narrow window. 2022-09-12 09:35:28 +04:00
John Preston
2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
a919978a37 Use spoiler animation for ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
20b5138e00 Initial implementation of ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston
2523d6e8d8 Update API scheme to layer 146. 2022-09-12 09:06:26 +04:00
John Preston
03e90840de Closed alpha version 4.1.1.1: Fix build with GCC. 2022-09-10 11:07:08 +04:00
John Preston
4ab34e3727 Suggest only like and dislike reactions in groups by default. 2022-09-10 09:36:08 +04:00
John Preston
3129d9f0df Add a distinct "N seconds" key for the slowmode phrase. 2022-09-10 08:19:37 +04:00
John Preston
2b6b1d7611 Closed alpha version 4.1.1.1. 2022-09-10 08:12:35 +04:00
John Preston
6e9493c725 Ignore premium gradient keys when colorizing theme. 2022-09-10 08:11:58 +04:00
John Preston
746141a363 Update lib_ui to fix a crash on Linux. 2022-09-10 08:08:46 +04:00
John Preston
4942154a9c Make loading emoji set icons look nicer. 2022-09-10 07:23:20 +04:00
John Preston
d511f2bb90 Fix via @bot after name for premium users. 2022-09-09 09:35:36 +04:00
John Preston
460b4b2de5 Move around some sources in CMakeLists. 2022-09-08 13:16:39 +04:00
John Preston
ab25cf214c Fix FFmpeg frame generator ending. 2022-09-08 09:50:11 +04:00
John Preston
b0203af398 Fix no-bubble comments button resize. 2022-09-08 09:38:52 +04:00
John Preston
c00f2f96ec Replace phone number with "Set Emoji Status". 2022-09-07 20:39:57 +04:00
John Preston
2215500c9a Add emoji status icon to premium promo. 2022-09-07 20:36:06 +04:00
John Preston
5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston
d4810713cb Fly-animate reactions from the new context menu. 2022-09-06 17:08:20 +04:00
John Preston
1877786707 Special phrase for a colored emoji status. 2022-09-06 12:32:33 +04:00
John Preston
06ec574543 Fix single-frame 60 fps lotties. 2022-09-06 12:07:09 +04:00
John Preston
f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston
400d4b793a Fix initial visibility of Who can send messages.
Fixes #25030.
2022-09-06 08:09:29 +04:00
John Preston
d6ba092697 Make GIFs and videos with captions larger. 2022-09-05 19:03:52 +04:00
John Preston
9ef2f370ac Handle only username subdomains for t.me domain. 2022-09-05 12:22:43 +04:00
Ilya Fedin
234c74a439 Update patches commit in Dockerfile 2022-09-05 11:57:46 +04:00
Ilya Fedin
88f1f8ff22 Move QGuiApplication::setDesktopFileName call to Platform::start
It depends on Core::UpdaterDisabled that is not initialized in Launcher::initHook yet
2022-09-05 08:24:48 +04:00
John Preston
00ee31ce2d Make photos with captions wider. 2022-09-04 08:18:50 +04:00
Alexander Kernozhitsky
a5bd4ef6f7 Fix code style 2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky
c6c2a44e9d Patch the remaining uses or FFmpeg APIs 2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky
21b0454461 Remove duplicate line
Co-authored-by: darkkeks <darkkeks@rambler.ru>
2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky
ca4b5edf21 Correct FFmpeg API usage
FFmpeg docs say that you must return AVERROR_EOF from the read callback, not zero. Still, Telegram just propagates the return value from IODevice::read() call, which returns zero in case of EOF.

I don't know whether this commit has any effect on the upstream build, but it fixes a bug in Debian build of Telegram, which is using FFmpeg 5.1 instead of 4.4. Still, it's also useful in the upstream, as it makes work with FFmpeg more correct.
2022-09-04 08:04:02 +04:00
Ilya Fedin
9ac739c423 Update poetry installer URL 2022-09-04 08:02:43 +04:00
Ilya Fedin
bd7a880468 Increase operation limit of stale action to 1000 for it to operate normally 2022-09-04 08:01:51 +04:00
Ilya Fedin
807e63d9f2 Disable PR processing in stale bot explicitly
According to the documentation, it shouldn't procces them until stale-pr-message is set, but that doesn't seem to be true
2022-09-04 08:01:51 +04:00
Ilya Fedin
4cedf89e51 Migrate from stale app to stale action
It doesn't seem to work for multiple months
2022-09-03 09:30:20 +04:00
John Preston
a736ddb24e One more fix for GCC build. 2022-09-03 09:08:13 +04:00
Ilya Fedin
b48674d302 Avoid unneccesary QPA, again 2022-09-03 08:47:02 +04:00
GitHub Action
a6a9b16358 Update User-Agent for DNS to Chrome 104.0.5112.101. 2022-09-03 08:42:51 +04:00
Ilya Fedin
dfb40dd216 Handle PiP aspect ratio on Wayland synchronously
During testing with Qt 6.4 I now remember why I made a way complicated logic (yes, because the trivial one bugs with Qt 6.4)
This restores it, but uses event filters rather than hardware integration override
2022-09-03 08:41:49 +04:00
John Preston
85acf051c1 Try to fix build with GCC. 2022-09-03 06:51:02 +04:00
Ilya Fedin
86059f2b5e Update Qt to 6.4.0 beta4 on Linux 2022-09-02 21:27:41 +04:00
Ilya Fedin
4f261ced8e Ceil device pixel ratio
Qt 6.4 provides QT_WIDGETS_HIGHDPI_DOWNSCALE that allows widgets to draw at integer device pixel ratio by using the next integer. Ceiling this value makes tdesktop in sync with technique and provides sharp content.

Without QT_WIDGETS_HIGHDPI_DOWNSCALE, this doesn't makes the content sharp, but the quality is still better as Qt attempts to downscale those graphic rather than upscale.
2022-09-02 21:27:41 +04:00
Ilya Fedin
feb6107ce6 Qt 6.4 supports window activation with tray on Wayland 2022-09-02 21:27:41 +04:00
Ilya Fedin
eab41d272b Fix various spaces on end of lines 2022-09-02 21:27:41 +04:00
Ilya Fedin
38da0e086d Get rid of lib_waylandshells 2022-09-02 21:27:41 +04:00
Ilya Fedin
f874876b00 Update wayland to 1.21.0 2022-09-02 21:27:41 +04:00
Ilya Fedin
2065616592 Let Qt use Vulkan headers for Vulkan support 2022-09-02 21:27:41 +04:00
John Preston
898edad09b Show status duration menu only in status panel. 2022-09-02 21:14:34 +04:00
23rd
49773dde72 Attempted to fix rare non-elided text in bar of pinned bot messages. 2022-09-02 21:14:34 +04:00
23rd
fa6b4f9b52 Slightly improved style of Premium Settings. 2022-09-02 21:14:34 +04:00
23rd
fa4801ac94 Added ability to set emoji status for certain period of time. 2022-09-02 21:14:34 +04:00
John Preston
9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston
e32031963b Colorize status in premium promo and pack preview. 2022-09-02 21:14:34 +04:00
John Preston
c13221a984 Menu reactions selector without enabled compositing. 2022-09-02 21:14:34 +04:00
John Preston
688cd70c91 Prepend colored default statuses in selector. 2022-09-02 21:14:34 +04:00
John Preston
a256eb4bc8 Add mini-copies animation for custom reactions. 2022-09-02 21:14:34 +04:00
John Preston
7d77e8a203 Play generic animations for custom reactions. 2022-09-02 21:14:34 +04:00
John Preston
47709884dd Allow 50% interface scale from command line. 2022-09-02 21:14:33 +04:00
John Preston
7658d1da3c Fix unsetting reaction in private chats. 2022-09-02 21:14:33 +04:00
John Preston
0a3077b9a5 Update API scheme on layer 145. 2022-09-02 21:14:33 +04:00
John Preston
e0513f7b7c Return old allowed reactions edit for channels. 2022-09-02 21:14:33 +04:00
23rd
7e7562fdad Fixed crash in RecoverBox from PasscodeBox with custom check callback. 2022-09-02 21:14:33 +04:00
23rd
15aefddab4 Added support of Webm custom emoji to Premium Settings. 2022-09-02 21:14:33 +04:00
23rd
e34b61d56b Moved out HistoryView::StickerPlayer implementations to separate file. 2022-09-02 21:14:33 +04:00
John Preston
010b5e3949 Support username.t.me links. 2022-09-02 21:14:33 +04:00
John Preston
5530df8f2d Play emoji status only twice in main menu. 2022-09-02 21:14:33 +04:00
John Preston
742b819c7e Always show reaction userpics in private chats. 2022-09-02 21:14:33 +04:00
John Preston
2618ee3d75 Paint two-loops of custom emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston
da281c4d3d Fix build with Xcode. 2022-09-02 21:14:33 +04:00
John Preston
2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston
923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd
b2d72e2541 Removed subscription options from Settings when there is only one. 2022-09-02 21:14:33 +04:00
23rd
7ed10eaacc Added gradient colors to radiobutton views in Premium Settings. 2022-09-02 21:14:33 +04:00
23rd
5505a566be Replaced gradient header in Premium Settings for dark themes. 2022-09-02 21:14:32 +04:00
23rd
35c59ad35a Moved out util function for contrast calculation between 2 colors. 2022-09-02 21:14:32 +04:00
John Preston
5e81c65ea6 Implement improved allowed reactions editing. 2022-09-02 21:14:32 +04:00
John Preston
021e275336 Update API scheme on layer 145. 2022-09-02 21:14:32 +04:00
John Preston
e540b8cbdc Read correct reactions limit from config. 2022-09-02 21:14:32 +04:00
John Preston
ebf6cea2f5 Correctly show premium promo for custom reactions. 2022-09-02 21:14:32 +04:00
John Preston
a3c110dafa Correctly show flying custom reactions. 2022-09-02 21:14:32 +04:00
John Preston
ad0c9ebb79 Fly-animate custom reactions. 2022-09-02 21:14:32 +04:00
John Preston
d5008fe7ac Sync custom emoji from strip to recent in the panel. 2022-09-02 21:14:32 +04:00
John Preston
7c3814cdcd Fix recent userpics display in reactions. 2022-09-02 21:14:32 +04:00
John Preston
ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
John Preston
d9a6d5f508 Update API scheme on layer 145. 2022-09-02 21:14:32 +04:00
23rd
da6d580348 Fixed style of box for premium doubled limits. 2022-09-02 21:14:32 +04:00
23rd
0ffa88d0f3 Added shadow to small TopBar in Premium Settings for user. 2022-09-02 21:14:32 +04:00
23rd
149d92d224 Added ability to choose subscription option for Premium in Settings. 2022-09-02 21:14:32 +04:00
23rd
6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
23rd
fc759ac688 Renamed GiftOption to SubscriptionOption. 2022-09-02 21:14:31 +04:00
23rd
e03eaaaa98 Fixed switching between sections of Premium Settings. 2022-09-02 21:14:31 +04:00
23rd
857f56d5b4 Added animation pause in TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
23rd
638cf237c4 Slightly improved design of Premium Settings. 2022-09-02 21:14:31 +04:00
23rd
01b50a8460 Added initial implementation of TopBar in Premium Settings for user. 2022-09-02 21:14:31 +04:00
23rd
b519b6bf4c Reduced minimum and maximum sizes of ministars. 2022-09-02 21:14:31 +04:00
23rd
b10bf0e12c Replaced svg file for premium star. 2022-09-02 21:14:31 +04:00
23rd
4d43830c3b Replaced ripple colors for top buttons in Premium Settings. 2022-09-02 21:14:31 +04:00
23rd
65ad8e6ac1 Moved out class for colored ministars to separate file. 2022-09-02 21:14:31 +04:00
23rd
56cbde93da Divided TopBar in Premium Settings into abstract and main classes. 2022-09-02 21:14:31 +04:00
23rd
90ef0e4969 Reformated serializing and parsing of ref data for Premium Settings. 2022-09-02 21:14:31 +04:00
John Preston
668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +04:00
John Preston
ba83836922 Display custom emoji reactions under messages. 2022-09-02 21:14:31 +04:00
John Preston
14f937cb02 Show only some reactions in the bottom info.
Only in private chats with no premium users.
Only if nobody sent more than one reaction while was premium.
Only if nobody sent a custom emoji reaction while was premium.
2022-09-02 21:14:31 +04:00
John Preston
733cad798b Load emoji for reactions panel. 2022-09-02 21:14:31 +04:00
John Preston
8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston
31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston
f8c962712b Update API scheme on layer 145. 2022-09-02 21:14:31 +04:00
John Preston
a202174d12 Disable expand button in the inline reactions selector for now. 2022-09-02 21:14:31 +04:00
John Preston
3399397a76 Allow 1 year for session termination delay. 2022-09-02 21:14:30 +04:00
John Preston
c655f78780 Fix build with Xcode. 2022-09-02 21:14:30 +04:00
John Preston
73d8530c13 Fix jumping to premium promo from reactions panel. 2022-09-02 21:14:30 +04:00
John Preston
610c46e26f Make a nice selector for only-recent set. 2022-09-02 21:14:30 +04:00
John Preston
96805b62b2 Seamless switch from strip icons to custom emoji. 2022-09-02 21:14:30 +04:00
John Preston
4762c7a4fd Fix layout with a single available reaction. 2022-09-02 21:14:30 +04:00
John Preston
0277d765bb Nice reactions panel expanding. 2022-09-02 21:14:30 +04:00
John Preston
20d4d00634 Implement expanding of list / categories. 2022-09-02 21:14:30 +04:00
John Preston
c5fa4aae62 Support reaction dropdown based on EmojiListWidget. 2022-09-02 21:14:30 +04:00
John Preston
f72092a261 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston
33b266175d Allow creating EmojiListWidget without SessionController. 2022-09-02 21:14:30 +04:00
John Preston
c9a98ae723 Expand reaction selection panel. 2022-09-02 21:14:30 +04:00
John Preston
bd42c23999 Implement reactions selector above the menu. 2022-09-02 21:14:30 +04:00
John Preston
f658cb7e99 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston
fa26afaf9a Rename several HistoryView::Reactions modules. 2022-09-02 21:14:30 +04:00
John Preston
b648387e96 Fixed emoji packs menu item. 2022-09-02 21:14:29 +04:00
John Preston
8d2ebdbb99 Animate reactions strip appearance. 2022-09-02 21:14:29 +04:00
John Preston
a0d5456a4d PoC content outside of PopupMenu. 2022-09-02 21:14:29 +04:00
23rd
c20ed7c7a8 Enabled utf-8 mode for python while breakpad is building. 2022-09-02 21:14:29 +04:00
23rd
ef543d040e Replaced separate click handlers for each spoiler entry with single one. 2022-09-02 21:14:29 +04:00
John Preston
27063167ae Don't cut name / status unnecessary. 2022-09-02 21:14:29 +04:00
John Preston
8a1118d9bb Show how much message limit is exceeded when editing. 2022-09-02 21:14:29 +04:00
John Preston
1e2e007d38 Show custom emoji in private chat reactions. 2022-09-02 21:14:29 +04:00
John Preston
09124f6424 Implement PoC custom reaction selection. 2022-09-02 21:14:29 +04:00
John Preston
cece9cf09b Show in chats list EntityType::Pre like EntityType::Code. 2022-09-02 21:14:29 +04:00
John Preston
60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston
ba8673af5e Fix build with Xcode. 2022-09-02 21:14:29 +04:00
John Preston
77772caabb Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston
e22bb40dd1 Improve premium / emoji status badge styles. 2022-09-02 21:14:29 +04:00
John Preston
bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
John Preston
64bd4f0926 Make nice emoji status selector in profile. 2022-09-02 21:14:28 +04:00
John Preston
165d3143de Allow emoji status edit from self profile. 2022-09-02 21:14:28 +04:00
John Preston
21fd381778 Show emoji status in chats list / top bar. 2022-09-02 21:14:28 +04:00
John Preston
285ce81b7b Update API scheme to layer 145. 2022-09-02 21:14:28 +04:00
Ilya Fedin
e7f85f7255 Add missing include to settings_advanced 2022-09-02 18:46:31 +04:00
Ilya Fedin
12d8d193a1 Create QSystemTrayIcon even when tray is not supported
QSystemTrayIcon provides no public API to know when tray icon support appears, but can subscribe to native events internally

This should help for environments where a race condition between applications autostart and tray service autostart present in case Qt is subscribed internally
2022-09-02 17:29:57 +04:00
Ilya Fedin
c18313614b Use Core::Tray::has in settings_advanced 2022-09-02 17:29:57 +04:00
Ilya Fedin
f1092753fc Remove version from the .desktop file
Some desktop environments hide the launcher if they don't know the version
2022-09-01 13:53:53 +04:00
Ilya Fedin
5fc7caeec9 Provide old version to Platform::NewVersionLaunched 2022-09-01 13:53:53 +04:00
Ilya Fedin
e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
Ilya Fedin
5f53dfda0e Move Qt version from configure.py to CMakeLists.txt 2022-08-30 20:25:10 +04:00
Joe Kappus
630e73fa23 Fix build with GCC 12. 2022-08-30 12:42:26 +04:00
John Preston
92a9ba2ba0 Use exact jom url instead of mirrored. 2022-08-29 09:12:09 +04:00
Ilya Fedin
4d4d75addf Install nuget and jom with prepare.py 2022-08-28 08:38:37 +04:00
Ilya Fedin
42fe80b5e2 Use perl, nasm, yasm and ninja from msys64 2022-08-28 08:38:37 +04:00
Ilya Fedin
96793179a3 Find nuget in the recommended directory automatically 2022-08-28 00:35:45 +04:00
Ilya Fedin
fc19ce5a9b Install msys64 with prepare.py 2022-08-28 00:35:45 +04:00
Ilya Fedin
31fa6d24f4 Use zlib built with cmake on Windows 2022-08-28 00:35:45 +04:00
John Preston
7b005c64e0 Workaround MSVC 17.3.2 ICE. 2022-08-26 09:47:03 +04:00
Yue Wu
82d68f5b98 Fix JSON output when exporting custom emojis
Fixes #24961
2022-08-23 12:21:58 +04:00
Ilya Fedin
2259f747f1 Add missing network-status permission
This should make webview working as well as auto-reconnection when system network changed
2022-08-22 17:23:02 +04:00
John Preston
c793537d96 Version 4.1.1.
- Fix editing media captions with animated emoji.
- Fix viewing animated emoji sets used in a message.
- Fix premium sticker tooltip auto-show in channel comments.
- Fix main window position and size restoring after relaunch.
- Other bug fixes and minor improvements.
2022-08-16 09:38:19 +03:00
23rd
e568f7ab01 Added ability to restrict voice messages in conversations for everyone. 2022-08-16 09:38:19 +03:00
John Preston
11b711c43f Fix realtime "Large emoji" applying to only-custom-emoji. 2022-08-16 09:29:02 +03:00
John Preston
d1a81a83b4 Fix crash in editing media captions. 2022-08-16 09:21:12 +03:00
John Preston
42ca06d33c Request up to 32 file parts at once for video downloads. 2022-08-16 08:57:36 +03:00
John Preston
184ebc865c Fix downloading videos of size > INT_MAX to disk. 2022-08-16 08:56:30 +03:00
John Preston
c8c3f43853 Fix editing media captions with custom emoji. 2022-08-16 08:27:55 +03:00
John Preston
9105677325 Add "View Profile" even with third column info. 2022-08-16 07:41:32 +03:00
John Preston
7c2d3a8855 Fix custom emoji in initial send files caption. 2022-08-15 19:10:38 +03:00
John Preston
888306c017 Fix custom emoji in reply bar in comments / scheduled. 2022-08-15 19:01:40 +03:00
John Preston
6ff30c643a Fix user links in Recent Actions. 2022-08-15 18:54:08 +03:00
John Preston
5f8fca0355 Don't allow custom emoji pseudo-links in EditLink. 2022-08-15 18:41:37 +03:00
John Preston
4933fbb74a Show out message timestamp always for > 3 custom emoji. 2022-08-15 17:54:45 +03:00
John Preston
51010e864c Fix premium sticker tooltip auto-show in comments. 2022-08-15 16:39:56 +03:00
John Preston
24ee944689 Improve reply info layout in narrow mode.
Fixes #24935.
2022-08-15 16:21:08 +03:00
John Preston
2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston
e05f570e1a Fix custom emoji copy from TextWithEntities to clipboard. 2022-08-15 15:13:46 +03:00
John Preston
2846b2f7a5 Fix stickers list footer last icon. 2022-08-15 14:23:07 +03:00
John Preston
c126a1e56e Simplify CustomEmojiId. 2022-08-15 13:17:24 +03:00
John Preston
f0f7318978 Better saved credentials processing. 2022-08-15 12:20:17 +03:00
John Preston
fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston
94e4a8981f Specify gift box sticker explicitly. 2022-08-15 10:42:06 +03:00
Ilya Fedin
1e7117dd67 Revert "Fix enlargening the window by shadow margin when resotring position"
This reverts commit e0ddaf9da1.
2022-08-14 11:51:13 +04:00
Ilya Fedin
65ddbec794 Set Qt version in configure.py 2022-08-14 11:51:13 +04:00
Ilya Fedin
8adec5fcfd Update lib_webview 2022-08-13 14:32:11 +04:00
Joe Kappus
f82089cbfe Fix build with GCC 12. 2022-08-13 14:18:13 +04:00
Ilya Fedin
23d9ca896e Update cmake_helpers 2022-08-13 12:10:07 +04:00
Ilya Fedin
5f3c957b1d Use COPY --link to consume less space when building Docker image 2022-08-13 12:10:07 +04:00
Ilya Fedin
b9181db407 Don't use QWindowSystemInterface in the PiP
It provides no difference, there was a mistake while testing the behavior
2022-08-12 19:51:04 +03:00
Ilya Fedin
be8d91055a Remove unused prepare.sh in centos_env 2022-08-12 19:47:03 +03:00
John Preston
df45294855 Version 4.1: Fix build with GCC. 2022-08-12 19:01:41 +03:00
John Preston
ef6d2b2c0b Version 4.1.
- Include animated emoji in messages and captions.
- Premium users unlock over 500 new emoji,
including custom packs with unique characters.
- All users can view any emoji,
and try them out in the Saved Messages chat.
- Control who can send you voice
and video messages with Telegram Premium.
- Send a Premium subscription to any user from their profile.
- Choose 3, 6, or 12 months - at a discount.
2022-08-12 16:46:57 +03:00
John Preston
60839bb8ac Update cmake_helpers. 2022-08-12 16:23:05 +03:00
John Preston
228a48c8bf Fix possible crash in main window destructor.
In platform window destructor it can send window state change signal.
2022-08-12 16:21:52 +03:00
John Preston
76a482317d Fix main menu name label refreshing. 2022-08-11 20:58:30 +03:00
John Preston
01f28b4d52 Use CustomEmoji instances for categories in the panel. 2022-08-11 20:56:33 +03:00
John Preston
655194c841 Return ApiWrap::requestPeerSettings method. 2022-08-11 09:59:18 +03:00
Ilya Fedin
8fe48f3ca2 Use cmake_dependent_option to better declare variables that relate on other variables 2022-08-11 09:07:15 +03:00
John Preston
54f467eb47 Don't rely on MTP* when sending photos. 2022-08-11 09:06:56 +03:00
John Preston
3698396677 Remove MTP from Polls::create interface. 2022-08-11 09:06:43 +03:00
John Preston
d2e1517e7a Correctly cancel username check request. 2022-08-11 09:06:30 +03:00
John Preston
7733e3350d Remove unused private fields in ApiWrap. 2022-08-11 09:06:16 +03:00
John Preston
566128c3eb Remove MTP from requestDeepLinkInfo interface. 2022-08-11 09:05:37 +03:00
John Preston
ab3d3a449b Remove MTP from requestWallPaper interface. 2022-08-11 09:05:23 +03:00
John Preston
e9fd249c5a Remove some unused ApiWrap methods. 2022-08-11 09:04:25 +03:00
John Preston
e7a3c5367a Make MTP* optional in ConfirmInviteBox. 2022-08-11 09:02:41 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
Ilya Fedin
ceb7d5f238 Use version-less Qt targets and functions whenever possible 2022-08-09 10:42:24 +04:00
John Preston
84b3260f38 Don't open group info on migration update. 2022-08-08 20:21:30 +03:00
Sergey A. Osokin
7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00
John Preston
05edf00d40 Fix unwrapped media top skip. 2022-08-08 19:12:18 +03:00
John Preston
b67bfd0a8a Improve device model detection on macOS. 2022-08-08 19:12:08 +03:00
John Preston
90d2021f4d Jump to keyboard top on FullMsgId change. 2022-08-08 18:28:36 +03:00
John Preston
72ed3bfab9 Show leave confirmation when starting an RTMP stream. 2022-08-08 18:19:04 +03:00
John Preston
d8743ec0e6 Fix opening channel with active livestream in a new window. 2022-08-08 18:18:44 +03:00
John Preston
3a3341fef8 Fix RTMP livestream starting while in another call.
Fixes #24862.
2022-08-08 16:39:44 +03:00
John Preston
068eb3fcd1 Fix a click on "via @bot" of a sticker.
Fixes #24888.
2022-08-08 16:02:09 +03:00
John Preston
75ee74ff1f Fix paddings in unwrapped emoji messages. 2022-08-08 15:41:33 +03:00
John Preston
dfb3346096 Better replace many same emoji at once. 2022-08-08 15:34:04 +03:00
John Preston
a098abefd7 Replace many same emoji at once. 2022-08-08 15:24:11 +03:00
John Preston
f63984c9e3 Don't select first result on animated emoji suggestion. 2022-08-08 14:57:33 +03:00
John Preston
9509c88ef9 Fix possible crash in pinned messages destruction. 2022-08-08 14:32:16 +03:00
John Preston
819925fc72 Don't show premium effects on message previews. 2022-08-08 13:37:31 +03:00
John Preston
cf4b869c27 Don't always show timestamps on large custom-emoji-only messages. 2022-08-08 13:37:15 +03:00
John Preston
5c43a541d7 Show emoji promo only on Premium Emoji toast. 2022-08-08 13:25:22 +03:00
Ilya Fedin
68e0d155f9 Update submodules 2022-08-08 11:05:52 +04:00
Ilya Fedin
8c1bef929e A better way of PiP aspect ratio handling on Wayland 2022-08-08 11:05:52 +04:00
23rd
cde5e89e42 Fixed recording of voice messages in Saved Messages. 2022-08-08 09:34:55 +03:00
Ilya Fedin
e0ddaf9da1 Fix enlargening the window by shadow margin when resotring position 2022-08-08 08:54:14 +04:00
Vedant
aa208fb7d0 Update winget.yml 2022-08-05 18:49:28 +04:00
John Preston
b7cc2e9894 Don't pass redundant MTPUpdates arguments. 2022-08-05 13:37:41 +03:00
John Preston
d891a5344a Beta version 4.0.4: Fix build with GCC. 2022-08-05 10:12:48 +03:00
John Preston
11b62118d2 Beta version 4.0.4.
- Allow sending animated emoji to Saved Messages
even without Telegram Premium.
- Premium: Suggest animated emoji by regular emoji
(can be disabled in Settings).
- Premium: Show all suggested premium stickers
in a special section of the stickers panel.
- Premium: Allow hiding premium stickers special section
of the stickers panel.
- Fix a memory leak in RTMP livestreams.
- Fix some bot webview bugs on macOS.
- Fix forwarding of voice messages.
2022-08-04 21:05:44 +03:00
John Preston
7c284a9453 Drop custom emoji correctly in message edit preview. 2022-08-04 20:55:50 +03:00
John Preston
57b0ec0d7e Fix forwarded message with custom emoji preview. 2022-08-04 20:41:45 +03:00
Ilya Fedin
66d2c06eb4 Update minimum & maximum size in the PiP 2022-08-04 21:27:57 +04:00
John Preston
2f5038a792 Improve webview on macOS. 2022-08-04 19:33:56 +03:00
John Preston
5793241efc Improve webview popups design. 2022-08-04 18:26:12 +03:00
John Preston
9b92700c24 Add additional cloud premium stickers to fake-set. 2022-08-04 17:48:36 +03:00
John Preston
068d3caef5 Allow hiding Premium Stickers fake-sticker-set. 2022-08-04 17:29:49 +03:00
John Preston
4bdac53be2 Fix toast hiding on jump to Saved Messages. 2022-08-04 17:06:02 +03:00
John Preston
c8ec183c88 Fix custom emoji suggestions geometry. 2022-08-04 17:06:02 +03:00
Ilya Fedin
bf339de773 Always pass activation_token option
glib shows a warning about invalid GVariant and empty activation_token shouldn't hurt I believe
2022-08-04 17:12:07 +04:00
John Preston
e438cb57bc Show, send and receive interactions in single custom emoji. 2022-08-04 16:10:36 +03:00
Ilya Fedin
9e63fc5acd Let PiP have custom buffer size on Wayland 2022-08-04 16:41:25 +04:00
John Preston
543bfab24a Resolve custom emoji in OnlyCustomEmoji media. 2022-08-04 14:31:15 +03:00
John Preston
f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
Aokromes
5b0d023a88 Update README.md 2022-08-03 21:46:04 +04:00
John Preston
7a88f9434e Support OnlyCustomEmoji unwrapped messages. 2022-08-03 20:43:26 +03:00
John Preston
8a91c949c2 Fix build with GCC and Clang. 2022-08-03 20:41:01 +03:00
Ilya Fedin
0921ae283b Send XDG_ACTIVATION_TOKEN to the first instance 2022-08-03 15:26:08 +04:00
Ilya Fedin
d500714242 Use xdg-activation to open URLs&files 2022-08-03 15:26:08 +04:00
John Preston
c5702f0887 Request small song thumbnails. 2022-08-03 11:43:30 +03:00
John Preston
f4b80d8714 Show premium emoji toast / send to Saved Messages. 2022-08-02 20:59:50 +03:00
John Preston
59903b0b1c Suggest animated emoji in Saved Messages. 2022-08-02 19:23:06 +03:00
John Preston
2319278c92 Suggest animated emoji by regular emoji. 2022-08-02 17:57:59 +03:00
23rd
e7b3416da8 Allowed to forward voice messages without full user info. 2022-08-02 16:51:11 +03:00
23rd
c47e951519 Added missed back button to premium narrow section without stack. 2022-08-02 16:51:00 +03:00
John Preston
5472654ac1 Show "You" in out voice messages player. 2022-08-02 16:48:47 +03:00
John Preston
4a5592e95d Show premium mark in suggested stickers. 2022-08-02 16:47:53 +03:00
John Preston
e3140a8a45 Implement premium sticker-by-emoji suggestions. 2022-08-02 13:20:38 +03:00
John Preston
1968fb5d95 Fix memory leak in RTMP streams.
Fixes #24849.
2022-08-02 13:20:38 +03:00
John Preston
4915ea8ad3 Add convenient appConfig().get<int>(..). 2022-08-02 13:20:38 +03:00
John Preston
b96e09534d Fix blocked list loading.
Fixes #24783.
2022-08-02 13:20:38 +03:00
John Preston
0ce7e402ed Mark premium stickers with a star. 2022-08-02 13:20:38 +03:00
John Preston
b42f2784ab Allow sending premium emoji to Saved Messages. 2022-08-02 13:20:38 +03:00
John Preston
087074fea4 Request song covers through MTProto. 2022-08-02 13:20:38 +03:00
Ilya Fedin
be133fce78 Follow TitleControlsLayout in the PiP 2022-08-01 13:53:50 +04:00
GitHub Action
07232e2520 Update User-Agent for DNS to Chrome 103.0.5060.134. 2022-08-01 13:53:11 +04:00
Ilya Fedin
66c9587650 Add fail callback to linux notifications exceptions handler 2022-07-31 12:21:24 +04:00
John Preston
730ee3ae16 Beta version 4.0.3: Fix build with Xcode. 2022-07-29 00:33:47 +03:00
John Preston
9ae7dc1cab Beta version 4.0.3.
- Animated emoji for messages.
- Premium: Privacy settings for voice messages.
- Premium: Gifting Telegram Premium to any user from their profile page.
2022-07-28 23:23:48 +03:00
John Preston
8bb3cd7e65 Push click handler context to Api::ActivateBotCommand. 2022-07-28 20:03:38 +03:00
Ilya Fedin
8e8a209aad Guard linux notification inhibition checks 2022-07-28 20:18:51 +04:00
Ilya Fedin
a79e979fb8 Fix Linux GitHub action 2022-07-28 20:18:06 +04:00
Ilya Fedin
bb8ffcac3a Default to Wayland on GNOME for new installs 2022-07-28 20:17:49 +04:00
John Preston
7a61693034 Limit attached emoji phrase to two lines. 2022-07-28 18:36:48 +03:00
John Preston
d80cf5d149 Download stickers for custom emoji in export. 2022-07-28 18:36:48 +03:00
23rd
d57e752ae9 Added ability to open context menu from inner media in service messages. 2022-07-28 02:49:07 +03:00
23rd
de7f983aeb Changed sort by DocumentId wit sort by index for gift sticker fallback. 2022-07-28 02:49:07 +03:00
23rd
c1fa39ac05 Equaled top and bottom padding for sticker in service gift message. 2022-07-28 02:49:07 +03:00
John Preston
3c19d7b302 Show shared link long URL tooltips. 2022-07-27 14:24:34 +03:00
John Preston
c8aacbdb9f Allow viewing emoji packs from comments / scheduled. 2022-07-27 14:02:41 +03:00
John Preston
85ec212220 Don't scroll large message menus. 2022-07-27 13:49:27 +03:00
23rd
2d75f9e752 Fixed build with Xcode. 2022-07-27 12:49:52 +03:00
23rd
7e208453c7 Fixed context menu for gift service actions. 2022-07-27 12:49:52 +03:00
23rd
3602155f68 Fixed display of gift service actions for gift senders. 2022-07-27 12:49:52 +03:00
John Preston
e64190fb64 Fix crash in attached emoji preview. 2022-07-27 12:26:22 +03:00
John Preston
4f39e723f9 Closed alpha version 4.0.2.4. 2022-07-26 20:12:14 +03:00
John Preston
a58c41be96 Fix scrolling of emoji categories. 2022-07-26 20:12:14 +03:00
John Preston
3c352cad40 Don't scroll outer categories through inner categories. 2022-07-26 20:12:14 +03:00
John Preston
80ebd943aa Fix popup menu with variable item height. 2022-07-26 20:12:14 +03:00
John Preston
4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston
4f7aa15416 Fix emoji panel footer updating. 2022-07-26 20:12:14 +03:00
John Preston
f7885da7dd Support additional saved payment methods. 2022-07-26 20:12:14 +03:00
John Preston
e492a18194 Add emoji subcategory icon color. 2022-07-26 20:12:14 +03:00
John Preston
4796594011 Fix crash in large animated emoji. 2022-07-26 20:12:14 +03:00
John Preston
73fc478a2d Allow removing sets from emoji set preview box. 2022-07-26 20:12:14 +03:00
John Preston
af54721f07 Disable attach bot share phone command for now. 2022-07-26 20:12:14 +03:00
John Preston
136eaee8d5 Fix crash on data share in attach bots. 2022-07-26 20:12:14 +03:00
John Preston
edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston
9b941bae97 Copy single selected message without author. 2022-07-26 20:12:14 +03:00
John Preston
813bbba8b7 Allow copying large-emoji message texts. 2022-07-26 20:12:13 +03:00
John Preston
2a4d269eca Use large image previews more. 2022-07-26 20:12:13 +03:00
John Preston
2d6008f6ca Fix custom emoji in edit caption / send files box. 2022-07-26 20:12:13 +03:00
John Preston
075ced2742 Remove emoji-set preview context menu. 2022-07-26 20:12:13 +03:00
John Preston
012ecb2dcc Limit animated emoji to 30 FPS. 2022-07-26 20:12:13 +03:00
John Preston
31bb08068b Use non-exact image previews if available. 2022-07-26 20:12:13 +03:00
John Preston
c51837cfdf Reuse SizeTag::Large emoji instances. 2022-07-26 20:12:13 +03:00
John Preston
076d5c756a Fix build with Xcode and GCC. 2022-07-26 20:12:13 +03:00
John Preston
b829ed3530 Build docker using poetry by ./build/prepare/linux.sh 2022-07-26 20:12:13 +03:00
John Preston
5624162194 Closed alpha version 4.0.2.3. 2022-07-26 20:12:13 +03:00
John Preston
bb8f8131e4 Improve premium preview from emoji panel. 2022-07-26 20:12:13 +03:00
John Preston
19f89b1d87 Collapse unavailable premium emoji sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston
b0fab8c987 Show featured custom sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston
ff55918da0 Parse link entities into Data::Invoice. 2022-07-26 20:12:13 +03:00
John Preston
9d7060c24a Pass secondary_bg_color to WebView-s. 2022-07-26 20:12:13 +03:00
John Preston
b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston
b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
23rd
152bcb3570 Changed calculation of discount for premium gifts relative to smallest. 2022-07-26 20:12:13 +03:00
23rd
d2170232af Added toast to privacy setting for voice messages for non-premium users. 2022-07-26 20:12:13 +03:00
John Preston
4c45ddfde1 Fix slot machine stickers size. 2022-07-26 20:12:13 +03:00
John Preston
18a6f7d700 Make 8 column emoji picker by default. 2022-07-26 20:12:13 +03:00
John Preston
265bebb304 Closed alpha version 4.0.2.2. 2022-07-26 20:12:13 +03:00
John Preston
905137e421 Respect kSetVersion in default set cache key. 2022-07-26 20:12:12 +03:00
John Preston
b14b69272a Fix build with GCC. 2022-07-26 20:12:12 +03:00
John Preston
45b875f1a1 Closed alpha 4.0.2.1. 2022-07-26 20:12:12 +03:00
John Preston
1171c4b0b1 Fix build after rebase. 2022-07-26 20:12:12 +03:00
23rd
505e60545e Respected privacy setting for voice messages when they are forwarded. 2022-07-26 20:12:12 +03:00
John Preston
c9aec6a170 Update emoji to Unicode 14. 2022-07-26 20:12:12 +03:00
John Preston
bb29773090 In jump-to-date don't clear history stack. 2022-07-26 20:12:12 +03:00
John Preston
58fb14e292 Show Experimental settings in builds without autoupdates. 2022-07-26 20:12:12 +03:00
John Preston
bb251627a9 Support additional payment methods. 2022-07-26 20:12:12 +03:00
John Preston
de0eef8cc6 Update API scheme on layer 144. 2022-07-26 20:12:12 +03:00
John Preston
04d4fdbf9b Support suggestions of custom emoji. 2022-07-26 20:12:12 +03:00
John Preston
bf286cf175 Show "Unlock emoji" button for premium sets. 2022-07-26 20:12:12 +03:00
John Preston
bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston
fce4452af5 Fix repainting of custom emoji in notifications. 2022-07-26 20:12:12 +03:00
John Preston
8a9549dca3 Fix custom emoji preview painting on Retina screen. 2022-07-26 20:12:12 +03:00
John Preston
8383caa2b5 Fix build with Xcode. 2022-07-26 20:12:12 +03:00
23rd
57ecd918f1 Added auto-unblocking of bot when it is auto-submitted. 2022-07-26 20:12:11 +03:00
23rd
2055fbc164 Added ability to hide sticker toast with right click. 2022-07-26 20:12:11 +03:00
23rd
31a683ab3d Added lock icon to buttons in privacy settings. 2022-07-26 20:12:11 +03:00
23rd
391082712a Added fallback sticker for pack for premium gifts even without order. 2022-07-26 20:12:11 +03:00
23rd
b7189556f8 Respected order from special pack for premium gifts. 2022-07-26 20:12:11 +03:00
John Preston
240b47da86 Check test/production DC in recent emoji. 2022-07-26 20:12:11 +03:00
John Preston
323c2a6aa5 Don't send custom emoji links to generate previews. 2022-07-26 20:12:11 +03:00
John Preston
5ce8ed80bf Show premium emoji tooltip on paste. 2022-07-26 20:12:11 +03:00
John Preston
4ca6af33d4 Support web_app_request_phone attach bot requests. 2022-07-26 20:12:11 +03:00
John Preston
2524b9a4c6 Show outline for premium emoji packs. 2022-07-26 20:12:11 +03:00
John Preston
3ccc567e04 Add animated emoji premium preview. 2022-07-26 20:12:11 +03:00
John Preston
66b2bdd656 Improve footer custom emoji sizes. 2022-07-26 20:12:11 +03:00
John Preston
ffe4babe89 Update API scheme on layer 144. 2022-07-26 20:12:11 +03:00
23rd
3fe83282a8 Slightly improved code style of controllers for privacy settings. 2022-07-26 20:12:11 +03:00
23rd
67195f3825 Added initial support of privacy setting for voice messages. 2022-07-26 20:12:11 +03:00
23rd
b295a9eeb1 Added support of service actions for premium gifts to export. 2022-07-26 20:12:11 +03:00
23rd
e84f5aaa3d Added support of service actions for premium gifts. 2022-07-26 20:12:11 +03:00
23rd
ef72c9f7ee Moved media above text in service messages. 2022-07-26 20:12:11 +03:00
23rd
89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston
44a7d11e4a Support mixed custom / default recent emoji. 2022-07-26 20:12:11 +03:00
John Preston
c0ec3a23bb Remove old emoji panel footer code. 2022-07-26 20:12:11 +03:00
John Preston
a821c3c31d Support thumb_document_id in emoji sets. 2022-07-26 20:12:10 +03:00
John Preston
64f25a6dae Fix sticker sets icons scrollMax. 2022-07-26 20:12:10 +03:00
John Preston
f1144965c0 Scroll expanded emoji category icons by wheel. 2022-07-26 20:12:10 +03:00
John Preston
007cb9d156 Allow dragging the expanded emoji categories. 2022-07-26 20:12:10 +03:00
John Preston
57d5ec4513 Handle clicks on expandable emoji category icons. 2022-07-26 20:12:10 +03:00
John Preston
38a69242ca Update API scheme on layer 144. 2022-07-26 20:12:10 +03:00
John Preston
3dfe48a407 Display selected emoji set in footer by background. 2022-07-26 20:12:10 +03:00
John Preston
0bd9d5f7ae Expand emoji categories in the footer. 2022-07-26 20:12:10 +03:00
John Preston
d3f62d971d Use unified StickersListFooter for emoji / stickers. 2022-07-26 20:12:10 +03:00
John Preston
25f4646cd8 Adapt emoji pack preview box. 2022-07-26 20:12:10 +03:00
John Preston
54d683171d Allow to open / remove sets from emoji panel. 2022-07-26 20:12:10 +03:00
John Preston
a7e295ae64 Fix build with Xcode. 2022-07-26 20:12:10 +03:00
John Preston
ddd5021966 Minimal emoji sets support. 2022-07-26 20:12:10 +03:00
John Preston
afc7b1da62 Update API scheme on layer 144. 2022-07-26 20:12:10 +03:00
John Preston
6e25a2fc12 Provide single-data generic TL accessor. 2022-07-26 20:12:10 +03:00
John Preston
9eaac98070 Fix build for Windows. 2022-07-26 20:12:10 +03:00
23rd
38322dc998 Fixed display of quiz solution in sections. 2022-07-26 20:12:10 +03:00
23rd
5fbbdd8a9e Added ability to choose to show recent group history for each new user.
Fixed #9864.
2022-07-26 20:12:10 +03:00
23rd
c14d9b18f7 Added ability to copy link from confirmation box on hidden url.
Fixed #17480.
2022-07-26 20:12:10 +03:00
23rd
df66743c61 Added right padding to text in top bar of sections. 2022-07-26 20:12:10 +03:00
23rd
1a6b6e6084 Fixed right padding of text in dialogs entries with unread reactions. 2022-07-26 20:12:10 +03:00
23rd
9f11c783eb Fixed scheduling of recorded voice messages. 2022-07-26 20:12:10 +03:00
23rd
bcdcd7ee70 Disabled animation for first showing of right button in pinned bar. 2022-07-26 20:12:10 +03:00
23rd
6cc0d4f7d5 Removed uppercase from admin log section. 2022-07-26 20:12:09 +03:00
23rd
6450c213e6 Fixed some global shortcuts with non-primary windows. 2022-07-26 20:12:09 +03:00
23rd
032372f150 Added stars animation to box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd
c7c8ebed13 Added initial box for premium gifts. 2022-07-26 20:12:09 +03:00
23rd
2a3d72ad2e Added ability to provide custom text to subscribe button. 2022-07-26 20:12:09 +03:00
23rd
afb336ed41 Added list for options of premium gifts. 2022-07-26 20:12:09 +03:00
23rd
009ef829a0 Moved computing of premium gradient parts to separated class. 2022-07-26 20:12:09 +03:00
23rd
99676c4cf8 Moved some premium styles to separate file. 2022-07-26 20:12:09 +03:00
John Preston
0ed434cfaf Show all stickers as emoji after default categories. 2022-07-26 20:12:09 +03:00
John Preston
248e0d502c Revert "For testing insert stickers as custom emoji."
This reverts commit 17095983c546326223cd8eb69453f7f4c7dd8e78.
2022-07-26 20:12:09 +03:00
John Preston
4127b68675 Fix non-square video-emoji. 2022-07-26 20:12:09 +03:00
John Preston
11fbc8112f Fix monospace text color in chats list. 2022-07-26 20:12:09 +03:00
John Preston
c1e7e63677 Support custom popups in attach bots. 2022-07-26 20:12:09 +03:00
John Preston
e954871cb9 Make custom emoji size 12% larger. 2022-07-26 20:12:09 +03:00
John Preston
c1cdca36d2 Fix custom emoji before a newline. 2022-07-26 20:12:09 +03:00
John Preston
754371a295 Optimize custom emoji repaints in pinned bar / reply info. 2022-07-26 20:12:09 +03:00
John Preston
68ee753fc7 Fix sender name / media color in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston
2a8e035f42 For testing insert stickers as custom emoji. 2022-07-26 20:12:09 +03:00
John Preston
b87fd601ab Update API scheme on layer 144. 2022-07-26 20:12:09 +03:00
John Preston
c01d9747e7 Fix inline via @bot click in additional windows
Fixes #24717.
2022-07-26 20:12:09 +03:00
John Preston
6d17226c7f Don't show bold markup in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston
90cd4afb8c Remove empty icon space in Manage Group settings. 2022-07-26 20:12:09 +03:00
John Preston
15d6988511 Don't clear history stack on sendBotCommand. 2022-07-26 20:12:09 +03:00
John Preston
d00755100a Update API scheme on layer 144. 2022-07-26 20:12:09 +03:00
John Preston
3238cf2b4b Support custom emoji in reply / pinned / forward bars. 2022-07-26 20:12:08 +03:00
John Preston
2fc43a44a4 Don't paste custom emoji for non-premium users. 2022-07-26 20:12:08 +03:00
John Preston
b976aa0872 Support custom emoji in chats list entries. 2022-07-26 20:12:08 +03:00
John Preston
ee8d8171f7 Support custom emoji in custom notification replies. 2022-07-26 20:12:08 +03:00
John Preston
8c8cbbbc83 Display custom emoji in custom notifications. 2022-07-26 20:12:08 +03:00
John Preston
be36f07168 Fix custom emoji in service messages. 2022-07-26 20:12:08 +03:00
John Preston
289602528c Fix custom emoji pausing in captions. 2022-07-26 20:12:08 +03:00
John Preston
7a10d3d82c Support animated emoji in share box comment. 2022-07-26 20:12:08 +03:00
John Preston
806c5ddf29 Support animated emoji in caption edit fields. 2022-07-26 20:12:08 +03:00
John Preston
00d1828fbe Update API scheme on layer 144. 2022-07-26 20:12:08 +03:00
John Preston
2499955496 Support custom emoji in the message input field. 2022-07-26 20:12:08 +03:00
John Preston
cb32c3957b Add LZ4 caching for animated emoji. 2022-07-26 20:12:08 +03:00
John Preston
c4dd45689d Use src/dst prefixes instead of from/to. 2022-07-26 20:12:08 +03:00
John Preston
3c01bb5a4a Add support for static and webm custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
8ed101cbbf Insert recent stickers as emoji for testing. 2022-07-26 20:12:08 +03:00
John Preston
c796dd142b Optimize many animated emoji repaint requests. 2022-07-26 20:12:08 +03:00
John Preston
6db3a0ec98 Support optimized lottie emoji. 2022-07-26 20:12:08 +03:00
John Preston
9d280da80b Start optimized custom emoji, show path thumbnail. 2022-07-26 20:12:08 +03:00
John Preston
2e6733e433 Proof-of-concept animated custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
21aa1323ec Provide custom emoji factory through MarkedTextContext. 2022-07-26 20:12:08 +03:00
John Preston
bbfcac26c9 Update UiIntegration for custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
368bc283a1 Don't use Ui::Text::String copy construct/assign. 2022-07-26 20:12:07 +03:00
Vedant
182c07db7f WinGet: Publish beta releases also 2022-07-26 21:11:45 +04:00
Ilya Fedin
9b8dcec26e Ensure notification manager is not null before first call to setManager in cross-platform code 2022-07-26 21:11:17 +04:00
Ilya Fedin
6718d238af Switch to the dummy notification manager when notification daemon is not running on Linux 2022-07-26 21:11:17 +04:00
Ilya Fedin
dd70a6f659 IsQualifiedDaemon -> ByDefault 2022-07-26 21:11:17 +04:00
Ilya Fedin
ff2bd86744 Have a central place for catch-based logging of linux native notifications 2022-07-26 21:11:17 +04:00
Ilya Fedin
d2e3c01c11 Get linux notification inhibition state asynchronously
This is the last sync request in the D-Bus notifications
2022-07-26 21:11:17 +04:00
Ilya Fedin
e9e5dedeed Update Hunspell to get rid of 'error: cannot open' 2022-07-26 21:09:46 +04:00
Ilya Fedin
e8477e5911 Get rid of 'paramtersCopy' in dbus code 2022-07-26 21:09:30 +04:00
GitHub Action
238a2f4477 Update User-Agent for DNS to Chrome 103.0.5060.53. 2022-07-19 19:35:36 +04:00
Ilya Fedin
9502ce8b32 Use templating with Dockerfile in order to have less rebuilds 2022-07-19 19:34:44 +04:00
nintendoit
653f17915e money-purchasing and money-advertising updated
Changed money-purchasing from 'none' to 'intense' as the in-app purchase of telegram premium is available.
Added money-advertising and set it to 'moderate' as telegram ads has been introduced.
2022-07-19 19:33:16 +04:00
Niklas Haas
6096116526 Use quasi-logarithmic volume controls
This commit significantly improves the usability of the volume controls
for controlling volume in a way that matches intuitively onto human
needs and loudness perception.

Using the third power of the volume is a good approximation of the
quasi-logarithmic psychoacoustic system, while being defined everywhere
and preserving the useful quality of 0% volume mapping onto gain 0.0.
The use of this exact mapping function is a prior art established by
e.g. PulseAudio, among many other programs.

Fixes #24488
2022-07-19 19:32:46 +04:00
Vedant
5c3f15af41 Update winget.yml 2022-07-01 19:15:41 +04:00
Vedant
ca37a727fc Update winget.yml 2022-07-01 19:15:41 +04:00
Begula
598a4b3922 Create winget.yml 2022-07-01 19:15:41 +04:00
Ilya Fedin
060cd0aab9 Don't trigger actions on build documentation change
Documentation is not sourced in actions since prepare.py invention
2022-06-29 08:21:16 +04:00
Ilya Fedin
463f437486 Update lib_ui 2022-06-28 09:49:45 +04:00
Ilya Fedin
0e97ef992e Build OpenSSL 1.1.1 in snap 2022-06-28 09:49:45 +04:00
Ilya Fedin
d09a591d1b Use *.so everywhere to exclude devlopment symlinks in snap 2022-06-28 09:49:45 +04:00
Ilya Fedin
aeddaf3dbd Update openal to 1.22.2 2022-06-28 09:49:45 +04:00
Sprite
bf0ad9e7ca Explicitly specify signed modifier for char type 2022-06-25 07:13:57 +04:00
John Preston
fc7dcd0360 Version 4.0.2: Remove Saved Messages premium badge. 2022-06-25 00:06:13 +04:00
Ilya Fedin
14416a68db Fix openal pipewire version check in snap 2022-06-24 21:11:12 +04:00
John Preston
ee1a80abd7 Version 4.0.2.
- Fix window title on Windows 7. (again)
- Fix file chooser and global menu on macOS.
- Crash fix and OpenAL check for PipeWire fix on Linux.
2022-06-24 21:00:52 +04:00
John Preston
d392d9cb1f Fix a crash in window handling on Linux. 2022-06-24 20:59:55 +04:00
John Preston
65c7a9a554 Fix title on Win7 and macOS file chooser. 2022-06-24 20:45:14 +04:00
Ilya Fedin
1c98399c6f Fix pipewire version check in openal 2022-06-24 19:52:55 +04:00
John Preston
263ac2eb71 Version 4.0.1.
- Fix window title on Windows 7.
- Bug fixes and other minor improvements.
2022-06-24 13:07:47 +04:00
23rd
75d8e8ba7d Fixed opening of non-primary windows while recording voice message. 2022-06-24 04:07:16 +03:00
23rd
0fbd7d1a3b Fixed playback of recorded but not sent voice messages. 2022-06-24 04:07:16 +03:00
John Preston
8f0ba749d1 Fix history visibility edit button.
Regression was introduced in c3386fba52.

Fixes #24691.
2022-06-24 00:25:23 +04:00
John Preston
fc8ea688a3 Update profile badges order. 2022-06-23 17:53:36 +04:00
John Preston
2d651050ad Show premium badge in peer lists.
Fixes #24687.
2022-06-23 14:00:59 +04:00
John Preston
a94c42411b Show verified badge in chat top bar. 2022-06-23 11:35:44 +04:00
23rd
57f769f358 Returned lost method that checks tray existence. 2022-06-23 09:38:21 +03:00
John Preston
ce39eb2da9 Don't watch theme file while using theme editor. 2022-06-23 10:35:52 +04:00
Ilya Fedin
f7bc84fdd6 Automatically reload theme on file change 2022-06-23 10:09:59 +04:00
Ilya Fedin
28f75525b2 Update openal to 1.22.1
Downgrade pipewire headers as openal won't work with pipewire version less than headers it builds with now
2022-06-23 09:48:27 +04:00
John Preston
03c1f15961 Fix MentionClickHandler in non-context handler activations. 2022-06-23 09:47:54 +04:00
John Preston
2f92830f6a Use correct title in premium sticker toast. 2022-06-23 09:31:32 +04:00
John Preston
73af96e9c3 Hide reply keyboard if started typing. 2022-06-22 20:15:50 +04:00
John Preston
1e63a6a1a7 Fix possible crash in Windows Toast Notifications. 2022-06-22 20:07:17 +04:00
John Preston
0df699a054 Allow drag-n-drop-ing files up to 4 GB.
Fixes #24657.
2022-06-22 18:56:01 +04:00
John Preston
0e771312f4 Edit Chat Theme / Auto Delete on service message click. 2022-06-22 18:48:57 +04:00
John Preston
db15a58dde Fix separate windows with audio player.
Fixes https://bugs.telegram.org/c/18154
2022-06-22 16:42:46 +04:00
John Preston
d81c40f4c8 Fix new window crash for unavailable channels. 2022-06-22 15:30:56 +04:00
John Preston
e2624416af Allow base::WinRT::TryCreateInstance on Win7.
Fixes #24666.
2022-06-22 12:38:32 +04:00
John Preston
e72b4c6192 Allow complex forwarding from Saved to Saved. 2022-06-22 12:21:44 +04:00
John Preston
654fefaa72 Fix custom rank display in profile members dropdown. 2022-06-22 12:07:39 +04:00
John Preston
7f6c163449 Fix crash in video userpics.
Fixes #24665.
2022-06-22 12:03:47 +04:00
John Preston
5738998310 Fix window frame. 2022-06-22 12:03:37 +04:00
Ilya Fedin
45d2baa2c4 Restore missed QWindow::setScreen 2022-06-21 22:19:32 +04:00
John Preston
9033d49d76 Version 4.0.
- Premium: Send media and files each up to 4 GB in size.
- Premium: Download media and files at the fastest possible speed,
with no limits.
- Premium: Double most of the limits in the app.
- Premium: Get a new button next to any voice message
to generate a transcript of its audio.
- Premium: React with even more emoji,
including :clown: and 😍.
- Premium: Send unique stickers with additional effects,
updated monthly.
- Premium: Set a default chat folder
or enable tools to auto-archive and hide new chats.
- Premium: Subscribers have a badge next to their name,
showing they help support Telegram.
- Premium: Show off your profile video
that will be animated for everyone in chats and the chat list.
- Premium: Sponsored Messages that are sometimes shown
in public channels will no longer appear.
- Enable join requests for your public groups,
no invite links required.
- Users who open the group will see an Apply to Join Group button.
- Once approved by an admin,
users will be able to participate in the chat.
- Bots that are integrated into the attachment menu
can be programmed to work in groups and channels.
2022-06-21 02:04:35 +04:00
23rd
1b754d14ae Improved display some api errors in non-primary windows. 2022-06-20 23:08:37 +03:00
John Preston
d1c1b687c7 Update lib_ui submodule. 2022-06-21 00:05:45 +04:00
John Preston
8b44dcf8d0 Update cmake_helpers submodule. 2022-06-21 00:03:58 +04:00
Ilya Fedin
984094a7ff Partially revert "Use QWidget::screen/QWidget::mask instead of QWindow ones"
This partially reverts commit e5d8a1aa3c to use QWindow::setScreen.
2022-06-21 00:03:21 +04:00
John Preston
55285f327a Fix possible stack overflow crash. 2022-06-20 23:44:52 +04:00
John Preston
b85ad05f8a Fix possible crash in cached stickers playback. 2022-06-20 21:28:11 +04:00
John Preston
3c1663adeb Fix couple of possible crashes.
Fixes #24613.
2022-06-20 20:31:54 +04:00
John Preston
66e9c5ef16 Allow HiddenUrlClickHandler to work in a payment form. 2022-06-20 17:14:14 +04:00
John Preston
7027c0db0b Fix build with Qt >= 6.0 < 6.2 2022-06-20 15:09:51 +04:00
John Preston
6812f1e5ec Fix build with DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION. 2022-06-20 13:00:05 +04:00
John Preston
b963a68dd6 Fix windows taskbar notifications counter with multi-windows. 2022-06-20 12:56:50 +04:00
John Preston
1c720af9bc Clear history allowed when delete channel allowed. 2022-06-20 12:04:56 +04:00
John Preston
69f469a0f9 Fix bio limits in premium info page. 2022-06-20 11:57:31 +04:00
John Preston
fbc284af49 Fix auto-download limit.
Fixes #24642.
2022-06-20 11:48:19 +04:00
John Preston
ff51bf81f3 Allow clearing history in megagroups. 2022-06-20 11:30:43 +04:00
John Preston
29c61635de Revert some window title improvements.
Fixes #24617.
2022-06-20 11:13:49 +04:00
John Preston
1b9232e28d Always show premium badge in support mode. 2022-06-20 11:13:39 +04:00
John Preston
b84c876ba2 Fix opening links from bot inline reply markup. 2022-06-18 00:02:27 +04:00
John Preston
5fe1988d0a Suggest bot commands only in the start of the field. 2022-06-18 00:01:47 +04:00
John Preston
77330aa6a7 Fix a crash in adding a contact. 2022-06-18 00:01:30 +04:00
John Preston
03e60ed329 Fix uploading files > 500 Mb. 2022-06-18 00:00:56 +04:00
John Preston
45caa25e55 Beta version 3.7.6: Backport a Qt 5.15.4 crashfix. 2022-06-16 19:12:33 +04:00
John Preston
7a9273eca9 Fix setup.dmg prepare on M1 Mac. 2022-06-16 19:11:41 +04:00
John Preston
35142476b2 Beta version 3.7.6: Fix card expire date validation. 2022-06-16 18:30:12 +04:00
John Preston
7db2256f63 Beta version 3.7.6: Fix Document::fullSelectionLength. 2022-06-16 16:09:52 +04:00
John Preston
fa01a9df69 Beta version 3.7.6.
- Settings > Advanced > Experimental adds an option
to open chats in separate windows.
- Fix possible crash in video chat reconnection.
- Fix possible crash after account switch.
2022-06-16 15:19:31 +04:00
23rd
2f1286a05e Fixed display of max accounts in box for premium doubled limits. 2022-06-16 13:29:38 +03:00
23rd
7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
John Preston
08ebff4e5d Preload premium previews even with Close button. 2022-06-16 14:07:54 +04:00
John Preston
0a81246502 Show correct error box when sending file > 4GB. 2022-06-16 13:48:11 +04:00
John Preston
91b7fe5650 Mark premium impossible in MacAppStore version. 2022-06-16 12:30:31 +04:00
John Preston
3df7c71813 Don't show connecting spinner in secondary windows. 2022-06-16 12:25:50 +04:00
Ilya Fedin
d353e11077 Ensure reActivateWindow is used only on X11 2022-06-16 12:11:21 +04:00
John Preston
0fc687953f Allow selecting / copying voice transcribe text. 2022-06-16 12:05:24 +04:00
Ilya Fedin
1467b1c720 Fix webkit2gtk directory mapping in snap 2022-06-16 09:02:52 +04:00
Ilya Fedin
d2faacb0fb Update snap to core22 2022-06-16 08:39:29 +04:00
John Preston
145d112982 Fix build with GCC. 2022-06-15 23:25:51 +04:00
John Preston
0434e520fd Don't quit on secondary window destroy by the system. 2022-06-15 19:59:16 +04:00
John Preston
06e2724731 Fix login Qr-code when main DC is switched. 2022-06-15 19:48:55 +04:00
John Preston
01bcdf10ee Add arrows to move in premium previews box. 2022-06-15 19:31:13 +04:00
John Preston
2583ddea2e Switch premium previews by keyboard. 2022-06-15 17:23:01 +04:00
John Preston
855d4692fe Fallback to large profile video in chat / chats list. 2022-06-15 16:50:59 +04:00
John Preston
a8ffb21bfa Fix premium sticker preview switching. 2022-06-15 16:50:59 +04:00
Ilya Fedin
226154baa5 Fix macOS action 2022-06-15 16:09:42 +04:00
John Preston
a480fc9d7c Put "View" in the middle of the toast. 2022-06-15 15:21:46 +04:00
John Preston
1d64a03804 Fix transcribe animation glitch in message view refresh. 2022-06-15 15:09:08 +04:00
23rd
6553e4492c Fixed phrase for placeholder in field of local passcode check. 2022-06-15 14:06:32 +03:00
23rd
6d4506f8aa Fixed display of most of multiline toasts in corresponding window. 2022-06-15 14:06:32 +03:00
John Preston
eba606e85e Fix video message forward reply info paint. 2022-06-15 15:03:08 +04:00
John Preston
1c6fac337e Fix global menu and file chooser on macOS. 2022-06-15 14:49:53 +04:00
John Preston
aa484ac015 Fix crash on launch with passcode. 2022-06-15 14:49:06 +04:00
John Preston
014cd19e93 Restrict CMake to 3.23+ on macOS. 2022-06-15 13:02:15 +04:00
John Preston
0f5d71434f Update Qt to 6.3.1 in prepare script. 2022-06-15 12:57:59 +04:00
Ilya Fedin
798998203a Get XDG activation token from native notification on Linux 2022-06-15 12:55:59 +04:00
Ilya Fedin
fc98f9c0c5 Update cmake_helpers 2022-06-15 10:47:34 +04:00
Ilya Fedin
64a5e03321 Synchronize new Qt build argument between Dockerfile & snapcraft.yml 2022-06-15 10:47:34 +04:00
John Preston
7b4c0740d0 Closed alpha version 3.7.5.1. 2022-06-14 21:27:50 +04:00
John Preston
60d998bf36 Fix build on Linux. 2022-06-14 21:27:50 +04:00
John Preston
9b7e19e9c5 Remove debug code path (always error display). 2022-06-14 19:52:09 +04:00
John Preston
c37012efec Fix docker build with Qt 6.3.1. 2022-06-14 19:26:09 +04:00
John Preston
d03bc02948 Refresh appConfig after successfull authorization. 2022-06-14 19:21:26 +04:00
John Preston
7c2223e540 Write serialized peer has_video correctly, versioned. 2022-06-14 19:20:02 +04:00
John Preston
ce7b6fe17a Fix build with the new scheme. 2022-06-14 19:16:18 +04:00
23rd
c9bd0ab725 Replaced MTP types with type aliases for shared media api. 2022-06-14 18:51:53 +04:00
23rd
7727cd734e Slightly simplified processing of received full peer info. 2022-06-14 18:51:45 +04:00
23rd
243b16398b Moved out api for user photos to related separated module. 2022-06-14 18:51:38 +04:00
23rd
13146e9c06 Replaced use of raw MTP* bot commands with new transitional classes. 2022-06-14 18:51:18 +04:00
23rd
5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
23rd
8347318c90 Removed some methods with MTP signature from history widget. 2022-06-14 18:38:25 +04:00
23rd
3403b3c471 Removed methods with MTP signature from compose controls. 2022-06-14 18:38:14 +04:00
John Preston
326304ca48 Update Qt to 5.15.4 and 6.3.1. 2022-06-14 18:34:09 +04:00
John Preston
707359e371 Close double limits preview box on premium change. 2022-06-14 16:40:50 +04:00
Ilya Fedin
61bad55dbc Update submodules & Docker patches 2022-06-14 16:36:44 +04:00
Ilya Fedin
08b99134fa Use brackets include for third-party libraries 2022-06-14 16:36:44 +04:00
Ilya Fedin
6ee08faa24 Migrate from kwayland to QtWaylandScanner 2022-06-14 16:36:44 +04:00
Ilya Fedin
0a876226fe Move QT_FONT_DPI workaround to Qt patches 2022-06-14 16:36:44 +04:00
Ilya Fedin
391a3a77f6 Use Qt's xdg-desktop-portal file dialog implementation 2022-06-14 16:36:44 +04:00
Ilya Fedin
762f561c60 Add architecture to Windows action artifact name 2022-06-14 16:36:44 +04:00
Ilya Fedin
2477b35b42 Move tray availability logging to the appropriate class 2022-06-14 16:36:44 +04:00
Ilya Fedin
4d997a26b0 Don't update global menu on Linux without focus widget
The window loses focus when menu is open and edit options are deactivated
2022-06-14 16:36:44 +04:00
Ilya Fedin
4410aeb3eb Make QMenuBar on Linux work without private API 2022-06-14 16:36:44 +04:00
Ilya Fedin
088cca7452 Adapt for XCB::IsSupportedByWM changes 2022-06-14 16:36:44 +04:00
GitHub Action
66b9d70993 Update User-Agent for DNS to Chrome 101.0.4951.64. 2022-06-14 16:32:26 +04:00
John Preston
3e5b52bc2e Fix premium settings cover. 2022-06-14 16:23:09 +04:00
John Preston
7b4fca57ae Fix subscription from preview box. 2022-06-14 16:16:40 +04:00
John Preston
6260f258bb Improve premium preview boxes close buttons. 2022-06-14 16:03:44 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
29910cd1f7 Provided Ui::Show to Calls::TopBar. 2022-06-14 14:24:21 +03:00
23rd
236b7bbf28 Fixed display of toast about copying post link in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston
4de71408a2 Improve accounts limit box. 2022-06-14 14:54:30 +04:00
John Preston
6d8012f13a Pause premium settings animations. 2022-06-14 13:43:07 +04:00
John Preston
a34e6ca7db Take premiumPossible in the accounts limit box correctly. 2022-06-14 13:43:07 +04:00
23rd
691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
23rd
8b4405b71a Added premium badge to list of accounts. 2022-06-14 08:52:45 +03:00
23rd
7a821ca0f4 Decomposed creating of unread badge in list of accounts. 2022-06-14 08:52:45 +03:00
John Preston
c9292512c0 Show premium previews from the settings. 2022-06-14 07:11:35 +04:00
John Preston
5f9eeb7cbe Show premium star while preview video loads. 2022-06-13 23:10:32 +04:00
John Preston
221bc5ef59 Preload premium stickers / reactions previews. 2022-06-13 23:10:32 +04:00
John Preston
50926acab9 Toggle premium stickers previews. 2022-06-13 23:10:32 +04:00
John Preston
afb7f2e9a6 Update lib_ui with new Windows custom title bar. 2022-06-13 23:10:32 +04:00
23rd
acf7a82507 Added preview box for premium doubled limits. 2022-06-13 14:27:26 +03:00
23rd
17274e17ed Changed behavior for premium features in settings to be clickable. 2022-06-13 14:27:26 +03:00
23rd
15cce4900c Fixed lock from voice recording bar with transparent foreground. 2022-06-13 14:27:26 +03:00
John Preston
fc07954276 Improve premium section bottom. 2022-06-13 13:49:45 +04:00
23rd
0bd65794d2 Added glare effect to gradient round button. 2022-06-12 16:07:41 +03:00
23rd
fe7cffc509 Improved management of online status from non-primary windows.
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
2022-06-12 16:07:41 +03:00
23rd
1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston
333b986098 Remove ToS and Privacy Policy footer. 2022-06-12 16:51:55 +04:00
John Preston
ff3bfd3fba Make links in the invoice description clickable. 2022-06-12 16:51:37 +04:00
John Preston
bcfbdcd6ed Fix build on macOS. 2022-06-10 17:38:52 +04:00
John Preston
0e90092d59 Paint phone frame + animate preview transitions. 2022-06-10 17:15:01 +04:00
John Preston
25bd97a12b Fix build with lib_ui updating. 2022-06-10 17:15:01 +04:00
23rd
6ca167679d Added ability to invoke callback for non-primary window controllers. 2022-06-10 14:57:44 +03:00
John Preston
f78b9324dc Show videos in premium preview boxes. 2022-06-10 12:05:16 +04:00
John Preston
1b604bed0b Fix bottom shadow in premium settings. 2022-06-10 12:05:16 +04:00
23rd
bfe873e91c Provided session controller to AddBotToGroupBoxController. 2022-06-09 08:19:11 +03:00
23rd
d034410a3f Fixed icon position of invite links in add members box. 2022-06-09 08:05:11 +03:00
23rd
f9df37960b Slightly improved code style in MainWidget. 2022-06-09 07:06:01 +03:00
23rd
43c0197445 Removed Ui::hideLayer from places that can be in non-primary windows. 2022-06-09 07:06:01 +03:00
23rd
1169c5e143 Removed facades from url click handler types. 2022-06-09 06:23:51 +03:00
23rd
e25b0e791d Provided window session controller to api functions for bots. 2022-06-09 06:23:51 +03:00
23rd
4add87e7a9 Removed Ui::show from CountryInput. 2022-06-09 06:23:51 +03:00
23rd
f0e1498a41 Fixed display of failed peer resolve in corresponding window. 2022-06-09 06:23:51 +03:00
23rd
948ce77a8f Improved deleting peer from non-primary windows. 2022-06-09 04:20:13 +03:00
23rd
cc7a4c2772 Removed Ui::showPeerProfile. 2022-06-09 00:45:04 +03:00
23rd
58163ea581 Provided session controller to Profile::GroupMembersWidget. 2022-06-09 00:45:04 +03:00
23rd
37f96534ec Fixed opening of shared media in corresponding window from media viewer. 2022-06-09 00:45:04 +03:00
23rd
fe2455dea6 Moved copy link of public user from context menu to button in profile. 2022-06-09 00:45:04 +03:00
John Preston
b750908dff Refresh stickers when premium becomes possible. 2022-06-08 19:29:16 +04:00
John Preston
e8933decb1 Show sticker / reaction preview over premium gradient. 2022-06-08 19:13:22 +04:00
John Preston
7ba997259c Use sizes like iOS for premium sticker effects. 2022-06-08 19:00:48 +04:00
John Preston
17b2d043cb Auto-submit bot start in subscription settings. 2022-06-08 17:23:24 +04:00
John Preston
916f86b401 Don't show premium star when premium unavailable. 2022-06-08 16:53:16 +04:00
John Preston
aaf1383304 Update API scheme on layer 143. 2022-06-08 16:51:31 +04:00
John Preston
2b21ec3299 Fix group call create box window. 2022-06-08 15:21:13 +04:00
John Preston
7828288660 Fix minimized start. 2022-06-08 14:34:46 +04:00
23rd
176f3ea15c Removed simultaneous voice recording. 2022-06-08 11:59:30 +03:00
23rd
7bf9db8644 Fixed logging out with opened non-primary windows. 2022-06-08 11:59:30 +03:00
23rd
873301e7df Fixed handling of requests to open media from non-primary windows. 2022-06-08 11:59:30 +03:00
23rd
16e61ae2b2 Fixed lock by local passcode for non-primary windows. 2022-06-08 11:59:30 +03:00
23rd
9861370b75 Added hotkeys to get next / previous item of search messages in dialogs. 2022-06-08 11:59:30 +03:00
23rd
86cc83b491 Added time zone info to date tooltips in export HTML. 2022-06-08 11:59:30 +03:00
23rd
96bd9ae81c Inserted additional unixtime format to each date field in export JSON. 2022-06-08 11:59:30 +03:00
John Preston
524771529a Don't shows premium section / preview if unavailable. 2022-06-08 11:26:53 +04:00
John Preston
86889cf1ef Don't show premium stickers if premium blocked. 2022-06-08 10:28:45 +04:00
John Preston
e925acc622 Don't show premium sticker tooltip if premium blocked. 2022-06-08 09:34:45 +04:00
John Preston
a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
John Preston
896d39bc6a Add ToS and Privacy Policy links to premium subscription. 2022-06-07 16:58:14 +04:00
John Preston
654eaa27fd Make premium_purchase_blocked true by default. 2022-06-07 15:53:19 +04:00
23rd
1c13f2587c Fixed display of bottom info in media with overridden edited date. 2022-06-07 13:49:37 +03:00
John Preston
a6bc6c877e Add subscribed-to-premium toast. 2022-06-07 12:41:10 +04:00
John Preston
00bea8d1ee Don't show subscribe button with blocked premium. 2022-06-07 11:49:24 +04:00
John Preston
4570da5767 Skip premium section in settings. 2022-06-07 11:27:06 +04:00
John Preston
368a1e4231 Support non-premium-supported limit boxes. 2022-06-07 10:30:59 +04:00
23rd
1572af3a71 Fixed limits in bubble to show more relevant value in server-side boxes. 2022-06-07 08:16:39 +03:00
23rd
9e9a269439 Provided count of dialogs in filter to premium limit boxes. 2022-06-07 08:16:39 +03:00
23rd
9b6b5968e2 Provided count of pinned dialogs to premium limit boxes for pins. 2022-06-07 08:16:39 +03:00
23rd
95cc27b145 Provided character count of large file caption to premium limit box. 2022-06-07 08:16:39 +03:00
23rd
3959918fc5 Provided size of big file to premium limit box. 2022-06-07 08:16:39 +03:00
John Preston
f586ea3a75 Handle MSG_VOICE_TOO_LONG for voice messages. 2022-06-06 18:04:27 +04:00
John Preston
719190d570 Improve locked premium stickers design. 2022-06-06 16:08:11 +04:00
John Preston
0bf58936e3 Update API scheme on layer 143. 2022-06-06 09:44:49 +04:00
23rd
99059ab95a Respected setting of disabled animation in save toast from media viewer. 2022-06-06 02:26:52 +03:00
23rd
f9dd8c182f Added ability to copy link of public user. 2022-06-05 14:56:12 +03:00
23rd
7dac57cc0e Slightly improved includes in HistoryWidget. 2022-06-05 09:11:10 +03:00
23rd
ea955a2c66 Respected setting of disabled animation in item highlighter. 2022-06-05 09:11:10 +03:00
23rd
c9ef5e47fe Migrated from frequency timer to simple animation for item highlighting. 2022-06-05 09:11:10 +03:00
23rd
ba7422805b Moved items highlighting to separate management module. 2022-06-05 09:11:10 +03:00
23rd
924780d8d8 Fixed replying of local messages with shortcuts in sections. 2022-06-05 09:11:09 +03:00
23rd
8f076b0c9e Added auto-scroll-inactive-chat option. 2022-06-05 09:11:09 +03:00
John Preston
df17f20a47 Support attach bot menu / reload / settings. 2022-06-03 20:07:33 +04:00
John Preston
b023044cc8 Handle click on premium star in profile. 2022-06-03 16:11:44 +04:00
John Preston
705753efb2 Use small userpic video in dialogs list / chat history. 2022-06-03 15:58:02 +04:00
John Preston
499923b6d3 Show real subscription price from the API. 2022-06-03 15:57:06 +04:00
John Preston
6454f67e74 Support new attach bot deeplinks. 2022-06-03 00:38:04 +04:00
John Preston
092474fdb9 Support recurring payment phrases. 2022-06-02 21:10:43 +04:00
John Preston
1ba2bdab21 Use python3 in macOS configure script. 2022-06-02 20:21:07 +04:00
John Preston
46f9bdd701 Skip premium effect for nopremium stickers. 2022-06-02 18:23:33 +04:00
John Preston
de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
23rd
1d7e901b7a Improved processing of premium accounts limits. 2022-06-02 13:56:01 +03:00
23rd
6c48abb562 Added support of premium accounts limits to list of accounts. 2022-06-02 13:54:41 +03:00
23rd
44f0f81d5d Fixed QPainter warnings in line from premium limits boxes. 2022-06-02 13:50:58 +03:00
23rd
287fae858e Moved Settings::OrderedAccounts() to Main::Domain::orderedAccounts(). 2022-06-02 13:48:42 +03:00
23rd
a1736de977 Fixed processing of premium limits for filters. 2022-06-02 12:15:59 +03:00
23rd
9e4d47dcc0 Slightly improved style of box for premium accounts limits.
Added an icon for the info bubble.
Added a gradient color to selected account.
Respected an order of accounts from settings.
2022-06-02 02:16:01 +03:00
23rd
c138c74ab3 Moved out some ui effects to td_ui. 2022-06-02 01:22:16 +03:00
John Preston
74463eb1a8 Fix premium section with a box over it. 2022-06-01 11:59:14 +04:00
John Preston
568640f830 Hide subscribe button if premium. 2022-06-01 11:59:14 +04:00
23rd
35e4dd5968 Added initial support for increased premium count of accounts. 2022-06-01 11:59:14 +04:00
23rd
78246aada7 Added box for premium accounts limits. 2022-06-01 11:59:14 +04:00
23rd
e09b624b84 Added gradient color to icon of premium settings. 2022-06-01 11:59:14 +04:00
23rd
735f1d5b03 Added phrases for subscribed users to premium settings. 2022-06-01 11:59:14 +04:00
John Preston
569cea98b4 Redesign premium reactions preview box. 2022-06-01 11:59:14 +04:00
John Preston
5bc072de07 Support premium bio (with links and x2 length). 2022-06-01 11:59:14 +04:00
John Preston
8ca2f6a444 Simplify Info::Profile::Cover code, remove toggling. 2022-06-01 11:59:14 +04:00
John Preston
b7259615a7 Request terms acceptance for recurring payments. 2022-06-01 11:59:14 +04:00
23rd
8e6825771e Added support of filters limit to side bar. 2022-05-30 14:57:49 +03:00
23rd
b45f97d384 Removed description text from premium settings. 2022-05-30 07:58:04 +03:00
23rd
f1ebf3d9f6 Optimized drawing of ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd
ea0466aaa3 Added deformation effect to ministars in premium settings. 2022-05-30 07:58:04 +03:00
23rd
443d40906d Added fade effect to ministars from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
23rd
7749fadf11 Added support of disabled animation in premium settings. 2022-05-30 07:58:04 +03:00
23rd
de08e1d9a9 Added corner tail when bubble in premium box is at edge. 2022-05-30 07:58:04 +03:00
23rd
8fbdd36ca0 Improved style of text from custom top bar in premium settings. 2022-05-30 07:58:04 +03:00
John Preston
d2abcdacee Show information about disabled reactions. 2022-05-27 23:57:40 +04:00
John Preston
2362d6c6fb Introduce premium reactions preview box. 2022-05-27 19:42:05 +04:00
John Preston
1a2a65ff19 Scale premium reaction lock. 2022-05-26 17:14:40 +04:00
John Preston
1745ccf0bf Fix sticker preview background. 2022-05-26 16:51:18 +04:00
John Preston
d1cb558b43 Show path gradient while loading sticker preview. 2022-05-26 15:53:26 +04:00
John Preston
b1dd3b2a19 Better support for web_app_open_link. 2022-05-26 13:08:11 +04:00
John Preston
be16a7725c Show premium stickers toast on double click. 2022-05-26 12:30:50 +04:00
John Preston
e5d95c0ab0 Improve voice transcribe design. 2022-05-25 16:18:49 +04:00
John Preston
28733fadcd Update icon of closed premium reactions. 2022-05-24 23:40:37 +04:00
John Preston
0b2a5a22ba Update API scheme on layer 143 + transcribe. 2022-05-24 23:38:40 +04:00
John Preston
3fac522bbc Update premium chat list icons. 2022-05-24 19:38:05 +04:00
23rd
5916bd3e0d Added initial implementation of star animation in premium settings. 2022-05-24 14:37:05 +03:00
23rd
7037268a36 Slightly improved margins in premium settings. 2022-05-24 12:24:39 +03:00
John Preston
c0664d2d81 Prevent activating chats search when in Settings. 2022-05-24 11:25:49 +04:00
John Preston
59be3d746c Show "Auto mute and archive new" for premium users. 2022-05-24 11:25:49 +04:00
John Preston
490f6f7e50 Display premium / fake / scam badge in group members. 2022-05-24 11:25:49 +04:00
23rd
3b379c67ac Slightly improved style of some boxes for premium limits. 2022-05-24 10:00:23 +03:00
23rd
a73676b3ba Slightly improved animation of top bar in premium settings. 2022-05-24 08:01:27 +03:00
23rd
ee9a04393e Slightly improved style of premium settings. 2022-05-24 08:01:27 +03:00
23rd
c123f9e119 Redirected wheel events from custom top bar to section content. 2022-05-24 08:01:27 +03:00
23rd
141f96590b Fixed focus in some new settings sections. 2022-05-24 01:41:23 +03:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
62f42eabb0 Allow layers with fixed-bottom to stick-to-bottom. 2022-05-23 15:45:43 +04:00
John Preston
ff030d0252 Auto-submit /start when paying for premium. 2022-05-23 15:45:22 +04:00
23rd
1eccb34f86 Added support for MTP order of entries in premium settings. 2022-05-23 13:37:02 +03:00
23rd
2a4faf22f6 Added initial animation to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd
a284fa3273 Added close button to custom top bar in premium settings. 2022-05-23 13:37:02 +03:00
23rd
4e173c8e61 Provided Info::Wrap info to premium settings. 2022-05-23 13:37:02 +03:00
23rd
c310b263a6 Added ability to provide back button to pinned to top content. 2022-05-23 13:37:02 +03:00
23rd
00632dff46 Added initial support of custom top bar for premium settings. 2022-05-23 13:37:02 +03:00
23rd
6a8ccde527 Added ability to set padding for background in Info::ContentWidget. 2022-05-23 13:37:02 +03:00
23rd
9236dd3acb Added support of flexible scrollbar to Info::ContentWidget. 2022-05-23 13:37:02 +03:00
23rd
001aba4791 Added support of empty top bar to Info::WrapWidget. 2022-05-23 13:37:02 +03:00
23rd
3fde5b56a1 Added ability to provide custom top bar mask to Window::SlideAnimation. 2022-05-23 13:37:02 +03:00
23rd
ef3e139b85 Added padding to info layer sections with pinned to bottom content. 2022-05-23 13:37:02 +03:00
23rd
10ff236cd2 Slightly improved icon colors in premium settings. 2022-05-23 13:37:02 +03:00
John Preston
7fb99319bb Fix repeated subscriptions on layer wrapping type change. 2022-05-23 14:35:39 +04:00
John Preston
8035fe8771 Handle tg://premium_offer links. 2022-05-23 12:40:30 +04:00
John Preston
e37c157fff Remove Pre tag when removing Code tag. 2022-05-23 12:39:46 +04:00
John Preston
e72ca712ec Fix glitch in Settings > Premium layer scroll-to-bottom. 2022-05-23 12:04:31 +04:00
John Preston
3c5267f307 Fix invoice links slug reg-exp. 2022-05-21 15:59:14 +04:00
John Preston
bbaedc1952 Support attach bot native back button. 2022-05-20 20:04:05 +04:00
John Preston
d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
John Preston
9c9eae05a8 Update premium files icon in Settings. 2022-05-20 19:00:14 +04:00
John Preston
853cafe195 Show premium stickers lock icon. 2022-05-20 18:57:01 +04:00
John Preston
5cd065ef6b Show premium page on limit increase decision. 2022-05-20 17:12:56 +04:00
John Preston
dc444ec22b Update API scheme on layer 143. 2022-05-20 17:11:32 +04:00
23rd
e5ac8ccda3 Slightly improved code style of Window::SlideAnimation. 2022-05-20 13:18:22 +03:00
23rd
51ed3af14c Added new section for premium settings. 2022-05-20 13:18:22 +03:00
23rd
e7cc8ff44b Added ability to override brush for color icons in settings. 2022-05-20 13:18:22 +03:00
23rd
f3ca4f45ea Added bottom fade shadow to info sections with pinned bottom content. 2022-05-20 13:18:22 +03:00
23rd
62c759a0ff Improved style of premium limits boxes. 2022-05-20 13:18:22 +03:00
23rd
52904b6d58 Added line info about limits for premium boxes. 2022-05-20 13:18:22 +03:00
23rd
bc5c85655d Added animated bubble for premium boxes. 2022-05-20 13:18:22 +03:00
23rd
8e80b9cb06 Moved out gradient round button to td_ui. 2022-05-20 13:18:22 +03:00
John Preston
8a87f2996a Fix build with Xcode. 2022-05-19 19:11:45 +04:00
John Preston
ad3c6ebb1e Use / cache the same sticker / effect size in preview. 2022-05-19 19:05:07 +04:00
John Preston
693d886d81 Disable sync between sticker and effect. 2022-05-19 17:57:39 +04:00
John Preston
b02a965778 Add premium sticker packs icon. 2022-05-19 17:30:02 +04:00
John Preston
22613fc204 Show only one placeholder for premium reactions. 2022-05-19 17:27:04 +04:00
John Preston
26d7abe2c9 Fix crash in 2sv. 2022-05-19 17:27:04 +04:00
John Preston
0870a28443 Fix pinned chats in main list. 2022-05-19 17:27:04 +04:00
John Preston
ca731968ca Improve premium sticker sync / preview. 2022-05-19 17:27:03 +04:00
John Preston
3b5ec78f4f Show first (may be non-"All Chats") folder by default. 2022-05-19 17:27:03 +04:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
John Preston
73bacfc650 Animate video userpics in chat history. 2022-05-19 17:27:03 +04:00
John Preston
201edb2e69 Play premium video avatars in chats list. 2022-05-19 17:27:03 +04:00
John Preston
5478a8c014 Show reply info in scheduled forwards. 2022-05-19 17:27:03 +04:00
John Preston
45857fe208 Build FFmpeg with AC3 decoder. 2022-05-19 17:27:03 +04:00
John Preston
88393eb77b Fixed streaming for big files. 2022-05-19 17:27:03 +04:00
John Preston
308f106dc1 Support large files in Downloads. 2022-05-19 17:27:03 +04:00
John Preston
87662de2a6 Support web_app_open_tg_link / web_app_open_invoice. 2022-05-19 17:27:03 +04:00
John Preston
26c99cea7c Show all premium limits boxes. 2022-05-19 17:27:03 +04:00
John Preston
63940ea557 Support "recommended" sponsored messages. 2022-05-19 17:27:03 +04:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
John Preston
dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston
d11f1c22be Fix folder chats limit checking. 2022-05-19 17:27:02 +04:00
John Preston
23caae689b Show new pins limit box. 2022-05-19 17:27:02 +04:00
John Preston
d15b299e32 Fill payment form information for invoice links. 2022-05-19 17:27:02 +04:00
John Preston
96f480ba41 Fix cancel payment form button style. 2022-05-19 17:27:02 +04:00
John Preston
090f83ae0d Smooth folder icon scale. 2022-05-19 17:27:02 +04:00
John Preston
739123dedc Implement simple premium limits boxes. 2022-05-19 17:27:02 +04:00
John Preston
ea3084aea5 Support t.me/$slug invoice links. 2022-05-19 17:27:02 +04:00
John Preston
8c5d919d23 Handle invoice t.me links. 2022-05-19 17:27:02 +04:00
John Preston
4665ea2854 Update API scheme on layer 142. 2022-05-19 17:27:02 +04:00
John Preston
5adf95fc28 Display premium stickers in comments/pinned/scheduled. 2022-05-19 17:27:02 +04:00
John Preston
8890f263af Update API scheme on layer 142. 2022-05-19 17:27:02 +04:00
John Preston
877be8e6cb Show premium effects in sticker preview. 2022-05-19 17:27:02 +04:00
John Preston
af9a252b64 Show premium stickers fake-set in the panel. 2022-05-19 17:27:02 +04:00
John Preston
a079139c3b Sync premium sticker effect with sticker frame index. 2022-05-19 17:27:01 +04:00
John Preston
323cb78f22 Paint effects in correct places. 2022-05-19 17:27:01 +04:00
John Preston
ee793a2c59 Paint last empty frame in sticker effects. 2022-05-19 17:27:01 +04:00
John Preston
6f285874f3 Fix build on macOS. 2022-05-19 17:27:01 +04:00
John Preston
2ece565aac Mirror premium sticker thumbnail / path. 2022-05-19 17:27:01 +04:00
John Preston
935fb79c52 Play premium sticker effects. 2022-05-19 17:27:01 +04:00
John Preston
d87c9c72fb Update API scheme on layer 142: Premium reactions. 2022-05-19 17:27:01 +04:00
John Preston
2f6f432583 Handle join-to-write / request-to-join in comments section. 2022-05-19 17:27:01 +04:00
John Preston
5874ae7c51 Update API scheme on layer 142: Premium stickers. 2022-05-19 17:27:01 +04:00
John Preston
c3386fba52 Edit join public group request requirement. 2022-05-19 17:27:01 +04:00
John Preston
a752c4d9f3 Update API scheme on layer 142. 2022-05-19 17:27:01 +04:00
Ilya Fedin
36b8d03b1d Update submodules 2022-05-19 17:23:47 +04:00
Ilya Fedin
a2a401c0b0 Use public Qt API for native dialogs modality 2022-05-19 17:23:47 +04:00
Ilya Fedin
acd18a57fb Get rid of the IBUS_USE_PORTAL workaround
It's been a while after the ibus breaking change, the new socket path should be in all major distros and this hack shouldn't be needed anymore.
2022-05-19 17:23:47 +04:00
Ilya Fedin
6a80b1b94c Get rid of __HAIKU__ checks
This is a leftover of something that wasn't finiched and looks like won't be finished. It also feels that's not a good idea to mix Linux and Haiku in the same file though...
2022-05-19 17:23:47 +04:00
Ilya Fedin
db33fbac27 Get rid of DisableCustomScaling hack
This shouldn't be needed since Qt is built without High-DPI scaling support in official binaries and QT_SCALE_FACTOR is a debug environment variable, so any use of it is a user's environment misconfiguration.

https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
2022-05-19 17:23:47 +04:00
John Preston
69e41e911d Update tg_owt revision in snap build. 2022-05-13 20:32:05 +04:00
John Preston
526484e694 Update jemalloc to 5.3.0. 2022-05-13 20:31:57 +04:00
John Preston
c4e713815b Fix codes input in Settings. 2022-05-13 19:38:28 +04:00
John Preston
b5bc567eb8 Beta version 3.7.5: Fix MSVC x64 Release build. 2022-05-13 12:26:26 +04:00
John Preston
5f91a97778 Beta version 3.7.5.
- Improve cloud password management design.
- Fix a crash in shared media search.
- Fix audio recording on macOS.
2022-05-12 18:02:52 +04:00
John Preston
63aa3576d8 Append correct RtcServer-s and RtcServer ids. 2022-05-12 18:02:52 +04:00
John Preston
7749794d6b Update OpenAL to fix macOS audio recording. 2022-05-12 17:26:30 +04:00
John Preston
368468447f Fix possible crash on bad data. 2022-05-12 16:29:12 +04:00
John Preston
54fa16424d Update API to layer 142. 2022-05-12 15:31:53 +04:00
John Preston
fc7f1991dd Allow more attempts to finalize section geometry. 2022-05-12 14:43:24 +04:00
23rd
910d0a7e47 Unified element sizes in all cloud password sections. 2022-05-12 03:51:41 +03:00
23rd
6e8fb2ec06 Returned ability to copy phone number from main settings. 2022-05-10 08:53:31 +03:00
23rd
94d943f3af Fixed style of icons in info peer box. 2022-05-10 08:53:31 +03:00
23rd
41e6e32962 Fixed closing of box for passport authorization. 2022-05-10 08:53:31 +03:00
23rd
2f58a7d3c4 Added auto-close timer for cloud password management section. 2022-05-10 08:53:31 +03:00
23rd
e364b80d0a Added ability to validate expired cloud password in management section. 2022-05-10 08:53:31 +03:00
23rd
f3efa85206 Added short comments for cloud password settings sections. 2022-05-10 08:53:31 +03:00
23rd
42f2f3c99f Slightly improved style of buttons in security and privacy settings. 2022-05-10 08:53:31 +03:00
23rd
a6d0367d71 Added some error handles for recovery email settings section. 2022-05-10 08:53:31 +03:00
23rd
bcbf009a62 Added ability to reset cloud password without recovery email. 2022-05-10 08:53:31 +03:00
23rd
fedd8bece3 Added ability to clear cloud password from recover state. 2022-05-10 08:53:31 +03:00
23rd
031525e7e3 Added ability to recover cloud password with email from settings. 2022-05-10 08:53:31 +03:00
23rd
4d5cb6398e Moved creation of link button in cloud password settings to common file. 2022-05-10 08:53:31 +03:00
23rd
3ef352b63c Added ability to recover cloud password from Api::CloudPassword. 2022-05-10 08:53:31 +03:00
23rd
9809c12fb8 Added initial entry point for new cloud password to settings privacy. 2022-05-10 08:53:30 +03:00
23rd
3e4ac35913 Added ability to set recovery email from cloud password management. 2022-05-10 08:53:30 +03:00
23rd
a72953411b Added step section of email confirm to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
3967e58627 Improved step section of password input for checking cloud password. 2022-05-10 08:53:30 +03:00
23rd
db46f84f2c Added initial implementation of cloud password management to settings. 2022-05-10 08:53:30 +03:00
23rd
9a57347973 Added step section of email input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
c9c988e5f4 Added step section of hint input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
5e2acdeaa3 Added step section of password input to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
5a4d1a1e85 Added first step section to cloud password settings. 2022-05-10 08:53:30 +03:00
23rd
fbd9437775 Added ability to transfer variant data between nearest setting sections. 2022-05-10 08:53:30 +03:00
23rd
2eaa17b938 Moved creation of flexible bottom content of password section to module. 2022-05-10 08:53:30 +03:00
23rd
01eacadca5 Added ability to set recovery email from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd
9f155e0053 Added ability to confirm recovery email from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd
2f9dc6ca2a Added ability to check cloud password from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd
3d6f6cdd8f Added ability to set cloud password from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd
7e3c54f8d0 Added common initial helpers for steps of cloud password settings. 2022-05-10 08:53:29 +03:00
23rd
540ee0bc44 Moved out mtp fields from PasscodeBox::CloudFields to nested struct. 2022-05-10 08:53:29 +03:00
23rd
627170520a Moved out mtp fields from CloudPasswordState to nested struct. 2022-05-08 23:13:45 +03:00
23rd
77d50d9177 Moved out template classes for local passcode from header. 2022-05-05 20:31:17 +03:00
23rd
c47140c62d Fixed window activation by clicking on tray icon for macOS. 2022-05-05 16:52:09 +03:00
23rd
546dfb08ef Moved out info in Folders settings from pinned content. 2022-05-05 16:52:09 +03:00
23rd
376b592e5a Replaced boxes for local passcode settings with section. 2022-05-05 16:52:09 +03:00
23rd
c27db754a7 Added initial implementation of first screen for local passcode. 2022-05-05 16:52:09 +03:00
23rd
5fb71cb165 Added ability to append pinned to bottom content to settings sections. 2022-05-05 16:52:09 +03:00
23rd
972666440e Added ability to remove previous sections from stack in info widget. 2022-05-05 16:52:09 +03:00
23rd
549d7c77e5 Added to settings support of showing back section from stack. 2022-05-05 16:51:17 +03:00
23rd
de3b30ed7d Added support of focus handle to sections of settings. 2022-05-05 16:51:17 +03:00
23rd
a4f5e3f411 Removed display of strings with tiny formats with huge values. 2022-05-05 16:51:17 +03:00
23rd
df19b62e92 Replaced json of lottie icon for filters with binary file. 2022-05-05 16:51:16 +03:00
Ilya Fedin
caf2be13b3 Move pipewire stubs initialization to Media::Audio::Start 2022-05-04 14:34:33 +04:00
John Preston
e206f42e4e Beta version 3.7.4: Update tg_owt in snap. 2022-05-04 12:34:22 +04:00
John Preston
3f60410190 Beta version 3.7.4: Fix build with GCC in Release. 2022-05-04 11:49:11 +04:00
John Preston
3cdd8558db Beta version 3.7.4: Fix build with GCC. 2022-05-04 11:42:54 +04:00
John Preston
f2b89445ae Allow playing single lottie icon repeatedly or once. 2022-05-04 11:39:53 +04:00
23rd
3ff4bf77e7 Removed repeated animation from some settings lottie icons. 2022-05-04 07:32:52 +03:00
John Preston
d16ccf0d9e Beta version 3.7.4: Fix build with Xcode. 2022-05-03 23:33:41 +04:00
John Preston
fc7d9b264f Add webview-debug-enabled option. 2022-05-03 23:30:54 +04:00
John Preston
b28d5a63d1 Handle alert/confirm/prompt with custom dialog on Linux. 2022-05-03 23:30:42 +04:00
John Preston
043ba4ff04 Handle alert/confirm/prompt with custom dialog on macOS. 2022-05-03 23:30:21 +04:00
John Preston
d6c3bf4168 Use EdgeChromium by default on Windows. 2022-05-03 23:29:04 +04:00
John Preston
7bf7a8feff Beta version 3.7.4.
- Improve some more sections design.
- Update the OpenAL library to 1.22.0.
2022-05-03 23:09:26 +04:00
John Preston
3413ad1d22 Add some more icons for folders. 2022-05-03 23:09:26 +04:00
John Preston
84af084a3b Update tg_owt to WebRTC M101. 2022-05-03 23:09:26 +04:00
23rd
cd50008429 Moved plus icon to settings style file. 2022-05-03 21:59:38 +03:00
23rd
767459ab57 Slightly improved style of button in settings of blocked peers. 2022-05-03 21:59:38 +03:00
23rd
3b45a120e6 Slightly improved style of buttons and icons in Folders settings. 2022-05-03 21:59:38 +03:00
23rd
b04aaba8d0 Slightly improved style of box for edit folder. 2022-05-03 21:59:38 +03:00
23rd
bfa3655c7b Removed unused code of box for filters choosing. 2022-05-03 21:59:38 +03:00
CrisMystik
8642eb23a7 Removed unneeded part of code 2022-05-03 16:35:54 +04:00
CrisMystik
ef8ecc546b Use ::Settings::Main::Id() as fallback 2022-05-03 16:35:54 +04:00
CrisMystik
fafbbb4996 Suggested code improvements 2022-05-03 16:35:54 +04:00
CrisMystik
3a021f4e49 Make type variable const 2022-05-03 16:35:54 +04:00
CrisMystik
2788c19c85 Add some missing includes 2022-05-03 16:35:54 +04:00
CrisMystik
300cc3dbca Support all Settings links 2022-05-03 16:35:54 +04:00
GitHub Action
62516e264d Update User-Agent for DNS to Chrome 100.0.4896.127. 2022-05-03 16:24:54 +04:00
John Preston
8b89cfc4cb Fix custom notification sounds for all chats. 2022-05-03 16:23:39 +04:00
Ilya Fedin
e3f65d2346 Convet font point size to pixel size more like Qt does in the crash reporter 2022-05-03 15:16:20 +04:00
Andrew Krasavin
2b383a4236 Explicitly specify QVector element type to fix build with clang13+rangev3+qt6
More info:
https://github.com/telegramdesktop/tdesktop/issues/24385
https://github.com/telegramdesktop/tdesktop/issues/24014
https://github.com/ericniebler/range-v3/issues/1691
2022-05-03 15:15:20 +04:00
John Preston
a8426bd6da Update submodules. 2022-05-03 14:58:13 +04:00
John Preston
39a02e649d Fix crash on invalid data in local cache. 2022-05-03 14:52:08 +04:00
John Preston
276fe2169a Use SeparatePanel / ShowMultilineToast from lib_ui. 2022-05-03 14:52:08 +04:00
23rd
8fae56bee8 Improved style of Folders settings. 2022-05-03 04:25:36 +03:00
23rd
0e16a50bbc Completely removed common and platform code for tray from main window. 2022-05-03 04:25:36 +03:00
23rd
9de372d715 Replaced macOS Qt tray with native implementation. 2022-05-03 04:25:36 +03:00
23rd
fbae5bdbcf Removed macOS tray implementation from main window. 2022-05-03 04:25:36 +03:00
23rd
aee1ef78da Moved out static job for Linux tray icon to separated class. 2022-05-03 04:25:36 +03:00
23rd
27c5c4b8f2 Removed Linux tray implementation from main window. 2022-05-03 04:25:36 +03:00
23rd
94e06c6846 Removed Windows tray implementation from main window. 2022-05-03 04:25:36 +03:00
23rd
7948d971e8 Added initial implementation of Linux tray. 2022-05-03 04:25:36 +03:00
23rd
70acc7a0e3 Added initial implementation of Windows tray. 2022-05-03 04:25:36 +03:00
23rd
56fdc7d39a Added common and macOS tray implementations. 2022-05-03 04:25:36 +03:00
23rd
f67c3bbf65 Added placeholders for platform dependent implementations of tray. 2022-05-03 04:25:35 +03:00
23rd
de194c4aa2 Initialized empty files for tray implementations. 2022-05-03 04:25:35 +03:00
23rd
511805199f Added ability to check are windows active for tray menu. 2022-05-03 04:25:35 +03:00
23rd
aa241a1f62 Removed duplicated icons. 2022-05-03 04:25:35 +03:00
23rd
4125a45503 Slightly improved format of mute time in menu. 2022-05-03 04:25:35 +03:00
23rd
1349989494 Moved settings of blocked peers to section. 2022-05-03 04:25:35 +03:00
23rd
639ed8b973 Added ability to append pinned to top content to settings sections. 2022-05-02 22:31:05 +03:00
23rd
2f5db08c9b Fixed double scroll in reactions settings when height is small. 2022-05-02 22:31:05 +03:00
Ilya Fedin
4c6814def6 Replace style sheet in PreLaunchInput 2022-05-02 16:01:36 +04:00
Ilya Fedin
387914be31 Replace style sheet in Editor::Paint 2022-05-02 16:01:36 +04:00
Ilya Fedin
2f2003c89b Fix media viewer on Unity
This could be a regression for tiling WMs, though...
2022-05-02 16:00:56 +04:00
Ilya Fedin
48589b721d Update openal to 1.22.0 2022-05-02 15:33:56 +04:00
23rd
3bdf1634a9 Added ability to copy phone number from main menu. 2022-04-28 17:41:34 +03:00
23rd
1878061c9a Fixed color of attention menu items for account buttons. 2022-04-28 17:16:58 +03:00
23rd
774c3b5ba0 Fixed tab order in EditNameBox. 2022-04-28 17:10:13 +03:00
23rd
a64b8d4181 Slightly improved style of section for group stickers. 2022-04-28 16:27:39 +03:00
23rd
e3e380124d Removed ttl menu from inaccessible groups and channels. 2022-04-28 15:13:58 +03:00
John Preston
823fc25fa8 Fix layer height updating in poll results. 2022-04-27 15:20:19 +04:00
23rd
4062912a98 Added missed icon for join requests in manage of groups / channels. 2022-04-26 22:16:41 +04:00
23rd
62b5192f24 Added missed icon for channel type in manage of channels. 2022-04-26 22:16:39 +04:00
23rd
058717532a Replaced title static reaction icon in manage of groups / channels. 2022-04-26 22:16:38 +04:00
Sergey A. Osokin
d117a72e6e Fix -Wunused-const-variable warnings by removing unused variables
Fixes #24432
2022-04-26 21:25:05 +04:00
Sergey A. Osokin
3ba5b825e5 Fix -Wunused-const-variable warnings by removing unused variables
Fixes #24432
2022-04-26 21:25:05 +04:00
John Preston
075ab20e5b Version 3.7.3: Don't copy text from a restricted post. 2022-04-26 14:13:16 +04:00
John Preston
deeea0aaed Version 3.7.3: Update lib_webview. 2022-04-26 13:06:42 +04:00
John Preston
8113117cc4 Version 3.7.3.
- Fix a crash in the pinned bar bot button refresh.
2022-04-26 10:38:58 +04:00
John Preston
7bfe096f3b Fix possible crashes in pinned bar button. 2022-04-26 10:24:36 +04:00
John Preston
c37b08ac8b Version 3.7.2.
- Fix mute period selector values.
- Fix a crash in repeated context menu item selection.
- Fix context menu item selection of systems without a compositor.
2022-04-25 22:38:29 +04:00
Hugo Osvaldo Barrera
c52a5927e5 Avoid a second query for the current color-scheme
Telegram listens for a signal that indicates when the color-scheme
changes. The signal itself includes the new value, but Telegram
currently queries for the value immediately after getting the signal.
This second round-trip is unnecessary, since the signal itself contains
the same information.

This changeset avoids this follow-up query, and drops the now-unused
`Setter`.
2022-04-25 22:38:08 +04:00
23rd
edcfac8da3 Slightly improved display of media replacement in admin log. 2022-04-25 22:35:02 +04:00
23rd
a994c9f017 Moved EditPeerHistoryVisibilityBox to td_ui. 2022-04-25 22:35:02 +04:00
23rd
66e6bf8217 Replaced EditPeerHistoryVisibilityBox with generic box. 2022-04-25 22:35:02 +04:00
23rd
4a4cc766c2 Replaced icons in manage group / channel. 2022-04-25 22:35:02 +04:00
23rd
31cd841b75 Added bot button to bar of pinned messages. 2022-04-25 22:35:02 +04:00
23rd
1710890886 Added ability to change width between pinned bar animation entries. 2022-04-25 22:35:02 +04:00
23rd
16f616c5e0 Added ability to set content to bar of pinned messages later. 2022-04-25 22:35:02 +04:00
23rd
7600c9bb2f Added fade animation to right button in bar of pinned messages. 2022-04-25 22:35:02 +04:00
23rd
100a44daef Removed unused includes from MultiSelect. 2022-04-25 22:35:02 +04:00
23rd
54305fafde Removed forced context menu in profiles for muted peers. 2022-04-25 22:35:02 +04:00
23rd
d172d3d7db Fixed intervals of seconds in PickMuteBox. 2022-04-25 22:35:02 +04:00
Ilya Fedin
cee593c423 Check whether notification image has alpha channel 2022-04-25 22:33:22 +04:00
John Preston
43adbb1cb1 Revert some changes in Menu actions triggering. 2022-04-25 15:54:32 +04:00
John Preston
e96731be11 Fix popup menu callbacks on systems without compositing. 2022-04-25 15:42:42 +04:00
John Preston
6ea062462f Fix crash in Ui::Menu second action trigger event. 2022-04-25 14:03:57 +04:00
John Preston
1bc8d6fb18 Fix non-working Qt-on-Windows bug workaround. 2022-04-25 14:03:43 +04:00
John Preston
73d00a4caf Reload stale video chat on join. 2022-04-25 13:41:24 +04:00
John Preston
a23561c380 Reload stale video chats on group / channel open. 2022-04-25 12:50:58 +04:00
Ilya Fedin
bb75a6a31b Speed up submodule checkout in Dockerfile
Use --depth=1 for submodules, too.
This also replaces perl init-repository for Qt as the only thing it does is fetches submodules, but there's no way to specify --depth=1 with it.
2022-04-24 07:26:20 +04:00
John Preston
ce79c1f0c4 Handle "web_app_request_theme" event in WebView. 2022-04-21 10:47:21 +04:00
John Preston
3cdb82a0bf Version 3.7.1.
- Hardware accelerated video decoding off by default.
- Fix several crashes.
2022-04-20 13:56:09 +04:00
John Preston
d2f928f0c3 Fix info layer animations. 2022-04-20 13:53:07 +04:00
John Preston
3cc0110464 Fix menu callbacks triggering in some cases. 2022-04-20 11:43:53 +04:00
John Preston
df533f2efe Don't use WebView embed in Windows before 8.1. 2022-04-20 11:43:53 +04:00
John Preston
2529bd3f44 Add logging of PickMuteBox invocation. 2022-04-20 11:43:53 +04:00
23rd
a5c12065af Slightly improved style of ttl button. 2022-04-19 17:48:48 +03:00
23rd
101e795af8 Changed time picker box to highlight closest value. 2022-04-19 17:48:48 +03:00
23rd
8faa65fdf3 Improved format of ttl and mute phrases. 2022-04-19 17:48:48 +03:00
John Preston
644881bd3e Fix build on Windows. 2022-04-19 18:13:27 +04:00
John Preston
efa1b2dcbc Update WebView2 package version. 2022-04-19 16:59:23 +04:00
John Preston
92a9832337 Update patches revision in CentOS docker. 2022-04-19 16:21:18 +04:00
John Preston
8f3456cd6c Attempt to fix the build on GCC. 2022-04-19 16:10:45 +04:00
John Preston
e67192cdf0 Fix export window size.
Fixes #24373.

SeparatePanel::show calls activePopupWidget::close,
activePopupWidget::close calls SeparatePanel::resizeEvents with strange values.
2022-04-19 12:02:54 +04:00
John Preston
9f2683a35b Fix crash in MessagesSearch requests. 2022-04-19 12:02:11 +04:00
Ilya Fedin
0a7e25e45a Update cmake_helpers 2022-04-19 10:23:24 +04:00
Ilya Fedin
643a034aae Fix default branch check in the Dokcer action 2022-04-19 10:23:24 +04:00
John Preston
1c5a3aef54 Hardware accelerated video decoding off by default. 2022-04-19 09:51:29 +04:00
John Preston
bfe47a1ba2 Clear hw_device_ctx in AVCodecContext. 2022-04-19 09:39:01 +04:00
John Preston
acd76fc97b Clear possible crash in media viewer. 2022-04-19 09:39:01 +04:00
John Preston
78fedce2d5 Fix icon positions in manage group / channel. 2022-04-19 09:39:01 +04:00
23rd
5261e962e2 Removed Ui::show from menu item for poll stopping. 2022-04-19 09:39:01 +04:00
23rd
e4bfd562b5 Fixed phone formatting when app is started from settings. 2022-04-19 09:39:01 +04:00
23rd
d289bbdc5e Added ability to report profile photos.
Fixed #24325.
2022-04-19 09:39:01 +04:00
23rd
2e9e3b3751 Provided parent to report toasts. 2022-04-19 09:39:01 +04:00
23rd
af0a2f182c Removed Ui::show from ShowReportItemsBox. 2022-04-19 09:39:01 +04:00
23rd
e3ac84a849 Moved boxes for reporting messages or peers to separated file. 2022-04-19 09:39:01 +04:00
23rd
6dce8dfa20 Moved api for report messages to separated file. 2022-04-19 09:39:01 +04:00
23rd
eef1da56c8 Slightly optimized box of messages reporting in HistoryWidget. 2022-04-19 09:39:01 +04:00
23rd
e37866d0b9 Added animated reactions in manage of groups / channels. 2022-04-19 09:39:00 +04:00
23rd
1ed7d482ab Added ability to choose precise time for user restriction.
Fixed #3599.
Fixed #6923.
2022-04-19 09:39:00 +04:00
23rd
f1a7db780e Fixed text color of menu item for disabling notifications. 2022-04-19 09:39:00 +04:00
23rd
8591fae031 Added slight nice effect to time picker. 2022-04-19 09:39:00 +04:00
23rd
18b9bba21c Fixed width of time picker for different scales. 2022-04-19 09:39:00 +04:00
Ilya Fedin
580e15dc21 Update cmake_helpers 2022-04-19 09:33:23 +04:00
Ilya Fedin
bf4fc2596a Remove unneeded primary screen fallbacks
QWidget::screen automatically fallbacks to primary screen as the last effort, so this is not needed
2022-04-19 09:33:23 +04:00
Ilya Fedin
9a4d2bc8f9 Make processDpi a constexpr and remove unneeded qreal 2022-04-19 08:40:07 +04:00
Ilya Fedin
62a2277f43 Passthrough QT_FONT_DPI in crash report window just like in the main scaling engine 2022-04-19 08:40:07 +04:00
Ilya Fedin
d11885d48c Update URL to the Docker image in Linux action 2022-04-18 21:21:57 +04:00
Ilya Fedin
c8cec18ad3 Update patches in Dockerfile 2022-04-18 20:17:08 +04:00
Ilya Fedin
86105403bf Automatically update Docker image on GHCR 2022-04-18 20:17:08 +04:00
Ilya Fedin
41288f5ddb Update patches in Dockerfile 2022-04-18 10:06:16 +04:00
Ilya Fedin
9cc1a020f3 Have a variable to control debug info in docker image 2022-04-18 10:06:16 +04:00
Ilya Fedin
68f35e98e0 Have less Docker steps to avoid saving superfluous data 2022-04-18 10:06:16 +04:00
Ilya Fedin
b6c9a1d655 Add glib-networking to snap
It's required by webkit2gtk for correct operation
2022-04-17 13:50:25 +04:00
Ilya Fedin
9b35fa29b8 Remove object files from the resulting Docker image 2022-04-17 09:10:44 +04:00
Ilya Fedin
53272d951b Adjust path variables in Dockerfile 2022-04-17 09:10:44 +04:00
John Preston
e3dc4ae088 Version 3.7: Fix a crash in some langpacks. 2022-04-16 20:58:17 +04:00
John Preston
000d9d8b52 Version 3.7.
- Use any short music file or voice message as a notification sound.
- Right click audio files in chats to add them to your list
of sounds - or use 'Upload Sound' in the Notifications menu.
- Click on Mute notifications > Select sound in a chat's (...) menu
to change its notification sound.
- Set custom tones for notifications
in Settings > Notifications > Play sound.
- Click on Mute notifications in a chat's (...) menu
to manage its notifications.
- Choose 'Mute for...' to turn off notifications for a preset period,
like 1 hour or 1 day.
- Quickly configure Auto-Delete settings from any chat info page.
- Click (...) to turn on Auto-Delete,
then select a specific duration.
- Replies are now preserved when forwarding messages,
making forwarded conversations easier to read.
- Bots can now open detailed pages directly in the chat.
- Use these streamlined interfaces to buy real-world goods
and services without leaving the app.
- Open a bot's profile to add it to your group or channel.
- Instantly configure a bot's rights and permissions when adding it.
- Bots can send a new type of button
that lets you add them to your group or channel.
2022-04-16 20:37:17 +04:00
Ilya Fedin
3d8742fa7c Fix some working with paths in prepare.py
Use os.path.join for separator
Get real path of Libraries/ThirdParty directories to workaround gyp's problems with drive letters
2022-04-16 20:27:19 +04:00
Ilya Fedin
ae43e78a86 Have libraries in GITHUB_WORKSPACE for caching in Windows action 2022-04-16 20:27:19 +04:00
Ilya Fedin
7c72393361 Add architecture to Windows action cache key 2022-04-16 20:27:19 +04:00
Ilya Fedin
fa95ca4289 Don't install unused brew packages 2022-04-16 20:27:19 +04:00
Ilya Fedin
e6e90e99da Run Windows action on changes in prepare.py 2022-04-16 20:27:19 +04:00
Ilya Fedin
6a3c1f2fd9 Fix macOS action 2022-04-16 20:27:19 +04:00
John Preston
90f99ebfbe Add some additional space for TimePickerBox. 2022-04-16 20:26:49 +04:00
John Preston
59fb61e3e6 Don't re-request ringtones on empty list. 2022-04-16 20:13:21 +04:00
John Preston
261740967d Fix media viewer crop on multi-monitor setup. 2022-04-16 19:56:28 +04:00
Nicholas Guriev
e99e35a12a Close restarting confirm box when cancelled
The regression seems introduced in commit 5718789d53.
2022-04-16 18:14:33 +04:00
Ilya Fedin
fd6d09caaa Fix cache update for the actions
The caching action doesn't update the cache when cache hit is happenned.
This could be fixed by having unique keys for every cache change and using restore-keys to find these caches.
2022-04-16 07:28:06 +04:00
23rd
47ec5b18b8 Removed info button from top bar in profile when menu is empty. 2022-04-15 14:19:29 +03:00
23rd
aac21e1f71 Removed ttl menu for deleted accounts. 2022-04-15 13:59:44 +03:00
23rd
21c647147a Fixed total count of found messages in channels via api search. 2022-04-15 13:13:44 +03:00
23rd
07a022bfb6 Converted ttl and mute boxes to confirm boxes. 2022-04-15 13:13:44 +03:00
23rd
0427f90649 Removed label from confirm box when text is not provided. 2022-04-15 13:13:44 +03:00
23rd
64627c9093 Fixed theme of sample bubble message in reactions settings. 2022-04-15 13:11:32 +03:00
23rd
148a173474 Removed animation when removing reaction with double click. 2022-04-15 13:11:32 +03:00
John Preston
acb6e5dbc3 Fix date layout for webpage preview without description. 2022-04-15 09:30:34 +04:00
John Preston
9bd9f17a6c Show only active reactions in quick reaction box. 2022-04-15 09:26:58 +04:00
John Preston
d59ed7b14c Fix glitch on layer open. 2022-04-14 17:29:58 +04:00
John Preston
3600055424 Fix possible use-after-free in VerticalLayout. 2022-04-14 17:29:56 +04:00
John Preston
949caecb75 Fix bot start token sending. 2022-04-14 16:13:12 +04:00
John Preston
87df42f8c1 Improve icon padding in bot inline buttons. 2022-04-14 15:24:12 +04:00
John Preston
2996cbc518 Fix bot menu button on voice recording. 2022-04-14 15:22:19 +04:00
John Preston
205cd3b751 Fix mention links to groups and channels. 2022-04-14 14:15:29 +04:00
Ilya Fedin
d25bd2f481 Update tg_owt in Dockerfile & snapcraft.yaml 2022-04-14 14:14:15 +04:00
Ilya Fedin
072974216b Disable egl-extension-platform-wayland again
Looks like it causes problems along with -Wl,-z,now
2022-04-14 13:54:51 +04:00
John Preston
f2256dfa4f Beta version 3.6.3: Don't build OBJC precompiled header. 2022-04-14 10:35:33 +04:00
John Preston
5cf3b621ee Beta version 3.6.3: Fix emoji in ReactionsSettingsBox on non-Retina. 2022-04-14 09:57:38 +04:00
23rd
59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
John Preston
9380c4bbc3 Fix reaction image caching after settings. 2022-04-14 09:46:03 +04:00
John Preston
2edefbf93c Beta version 3.6.3: Support deployment on WSL. 2022-04-14 09:46:02 +04:00
John Preston
866ab2fcc2 Beta version 3.6.3: Fix build with Qt 5.15. 2022-04-14 09:46:02 +04:00
John Preston
d9ba83c222 Beta version 3.6.3.
- Allow sending the default reaction by a double click.
- Select a custom sound for message notifications.
- Add chats to folders from a chat context menu.
- Fix group and channel photo upload.
- Test hardware video decoding.
2022-04-14 09:46:02 +04:00
Ilya Fedin
62e82a42fb Adapt to lib_base's XDP API changes 2022-04-14 09:15:50 +04:00
Ilya Fedin
80f1f079f1 Move waitForInterfaceAnnounce call to the uses of announced interfaces 2022-04-14 09:11:05 +04:00
John Preston
17be462d59 Fix build for macOS with Qt 6.3.0.. 2022-04-13 16:03:35 +04:00
23rd
2f8efb5ce6 Moved out setup of top and bottom scroll shadows to separated file. 2022-04-13 14:26:11 +03:00
John Preston
dad2ad2eb8 Update submodules for Qt 6.3 on macOS and Linux. 2022-04-13 15:08:34 +04:00
John Preston
43ddb856c1 Don't build InstanceV2ReferenceImpl yet. 2022-04-13 15:06:24 +04:00
John Preston
488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00
John Preston
2253cd86e5 Add an icon to a webview bot button. 2022-04-13 15:06:23 +04:00
23rd
4216d72c67 Added ability to set favorite reaction from settings. 2022-04-13 15:06:23 +04:00
23rd
4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
Ilya Fedin
572eb1f5f8 Remove unneeded anymore xdg-open workaround for snap 2022-04-13 15:06:06 +04:00
Ilya Fedin
2e1f504c11 Update to Qt 6.3 2022-04-13 15:06:06 +04:00
John Preston
d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
23rd
9510d38929 Fixed reply on double click with protected content. 2022-04-12 17:35:51 +03:00
GitHub Action
a8b2604512 Update User-Agent for DNS to Chrome 100.0.4896.60. 2022-04-12 17:36:18 +04:00
Ilya Fedin
17fcc729a2 Implement org.freedesktop.appearance.color-scheme 2022-04-12 17:35:51 +04:00
Ilya Fedin
ddeac15859 Update submodules 2022-04-12 17:03:42 +04:00
Ilya Fedin
2fac888453 Update KDE frameworks to 5.93.0 2022-04-12 17:03:42 +04:00
John Preston
f6f39d1560 Change layer widget height with animation. 2022-04-12 16:07:25 +04:00
John Preston
9933d1ff3a Try CUDA hardware decoding on Linux. 2022-04-11 12:58:59 +04:00
John Preston
1e5f18bfe8 Request bots on updateAttachMenuBots. 2022-04-11 12:30:46 +04:00
John Preston
be6ee73a04 Update bot menu attach in realtime. 2022-04-11 12:18:16 +04:00
John Preston
c73eb5d791 Update WebKit2GTK webview to open external links. 2022-04-11 11:53:33 +04:00
23rd
12b3d9b61e Updated Qt license. 2022-04-10 23:28:56 +03:00
23rd
a49eda44d9 Replaced hardcoded limitations for ringtones with server values. 2022-04-10 22:16:15 +03:00
23rd
7eacd26d70 Slightly optimized processing of webpages in compose controls. 2022-04-10 17:11:42 +03:00
23rd
8440c44def Replaced box for choosing of filter with submenu. 2022-04-10 15:34:12 +03:00
John Preston
d15ff46eb4 Fix webview initialization on GCC. 2022-04-08 23:15:37 +04:00
23rd
8721b7a689 Simplified condition for display of invite links button. 2022-04-07 19:54:20 +03:00
23rd
08f2bbef4e Moved out nested class for merged message search to separated file. 2022-04-07 19:18:47 +03:00
23rd
4ad31ce4e0 Fixed refreshing of file reference in api toggling media module. 2022-04-07 19:18:47 +03:00
23rd
cf6b995c50 Moved out saving of ringtones to api toggling media module. 2022-04-07 19:18:47 +03:00
John Preston
ea30918d35 Fix build with GCC. 2022-04-07 18:28:58 +04:00
John Preston
84cd5b9278 Update API scheme on layer 140. 2022-04-07 17:30:35 +04:00
John Preston
2b5d61ad36 Update tgcalls library.
Fixes #24173.
2022-04-07 16:49:38 +04:00
John Preston
94c6793e92 Add bot menu button with webview open support. 2022-04-07 16:31:07 +04:00
John Preston
d35b8f82a3 Play ringtones on click in select box. 2022-04-07 11:35:53 +04:00
23rd
f5164fe3e4 Added ability to use previous peer userpics. 2022-04-07 02:14:02 +03:00
23rd
e033337b26 Added toast to add to / remove from folder actions. 2022-04-06 18:44:45 +03:00
John Preston
0615f21deb Allow editing general notification sound. 2022-04-06 19:23:41 +04:00
John Preston
c71ba2b8e7 Choose newly uploaded ringtone in the box. 2022-04-06 19:19:50 +04:00
John Preston
d9f6a5206e Update API scheme on layer 140. 2022-04-06 16:29:06 +04:00
23rd
7b307a9e54 Added ability to save audio from chat as custom notification sound. 2022-04-06 15:21:37 +03:00
23rd
41784eb56a Removed display of file extension from list of custom sounds. 2022-04-06 13:15:27 +03:00
23rd
d224b3d301 Added quick actions for folders to menu from chats list. 2022-04-06 12:36:32 +03:00
John Preston
eabe7a3411 Support macOS webview file chooser. 2022-04-06 12:27:33 +04:00
John Preston
646682b6a0 Add confirmation on first webview open. 2022-04-06 11:53:44 +04:00
John Preston
73c5988e7e Allow opening external pages from attach bots. 2022-04-06 10:55:05 +04:00
John Preston
622474e83b Leave only one list of items for custom sounds. 2022-04-05 19:29:43 +04:00
John Preston
071f599d48 Cache multiple custom ringtone tracks. 2022-04-05 18:08:35 +04:00
John Preston
2156e15732 Fix refreshing ringtone file references. 2022-04-05 18:08:13 +04:00
John Preston
ef972ae15b Fix requesting ringtones list. 2022-04-05 18:07:37 +04:00
John Preston
0374d8caa8 Add "Photo or video" and "Document" attach menu items. 2022-04-05 16:32:02 +04:00
John Preston
0e75204762 Support native button in bot webview. 2022-04-05 16:31:15 +04:00
John Preston
d9bbfeead1 Provide section title from the section class. 2022-04-05 16:31:09 +04:00
23rd
b1e3b9688e Added initial support of custom sound to notifications. 2022-04-05 15:28:48 +03:00
23rd
9950452e57 Slightly optimized name of methods in data notify settings. 2022-04-05 15:28:48 +03:00
23rd
c04a0e42a7 Added initial ability to configure notification sound. 2022-04-05 15:28:48 +03:00
23rd
1c9b1ea69f Added api ability to load list of available ringtones. 2022-04-05 15:28:48 +03:00
23rd
085c6f9c12 Added initial api ability to upload ringtones from files. 2022-04-05 11:52:34 +03:00
23rd
a0b88e8f8b Added public api for sound configuration to data notify settings. 2022-04-05 11:52:33 +03:00
23rd
55864edb67 Refactored adding of sensitive menu items. 2022-04-04 17:15:45 +03:00
23rd
4754a513aa Fixed closing of transfer ownership box. 2022-04-04 16:09:41 +03:00
23rd
e20aa0c524 Added total number of messages when deleting all messages from user. 2022-04-03 13:21:08 +03:00
23rd
a4cdd6e376 Fixed width of checkbox for deleting all messages from specific user. 2022-04-03 13:09:37 +03:00
23rd
1a746b1ba3 Added few last used mute periods to mute menu. 2022-04-02 01:26:00 +03:00
23rd
511789d7af Added vertical time picker for mute period. 2022-04-01 19:15:10 +03:00
23rd
209e09ab66 Moved box with vertical drum picker for time to separated module. 2022-04-01 19:15:10 +03:00
23rd
6a7cbc545f Fixed scrolling with touchpad in vertical drum picker. 2022-04-01 19:14:58 +03:00
23rd
7fda14ccca Added loop setting to vertical drum picker. 2022-04-01 17:02:01 +03:00
John Preston
7b7016c4b3 Fix scrolling with a touchpad in vertical drum. 2022-04-01 16:24:28 +04:00
23rd
9478798a47 Moved out public api for notify settings from Data::Session. 2022-04-01 15:53:58 +04:00
23rd
36bb23c54c Moved out data of notify settings to separated module. 2022-04-01 15:53:58 +04:00
23rd
5a3bbfbf62 Renamed Data::NotifySettings to Data::PeerNotifySettings. 2022-04-01 15:53:58 +04:00
23rd
70d1a1e376 Slightly improved some phrases for chat menu. 2022-04-01 15:53:58 +04:00
23rd
67d8a7e106 Moved out peer menu callback and its creation to separated files. 2022-04-01 15:53:58 +04:00
23rd
36e334ecf2 Replaced arrow for items with submenu in menu with icons. 2022-04-01 15:53:58 +04:00
23rd
320ff9d606 Simplified settings of auto-delete. 2022-04-01 15:53:58 +04:00
23rd
8d923489d3 Replaced inputs for auto-delete setting with prepared values. 2022-04-01 15:53:58 +04:00
23rd
d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd
fb750b69e3 Added vertical drum picker. 2022-04-01 15:53:58 +04:00
23rd
4dd5be9356 Simplified settings of notification sound. 2022-04-01 15:53:57 +04:00
23rd
93563358ca Added remain time to notification menu item when peer is muted. 2022-04-01 15:53:57 +04:00
23rd
d7bf9e285c Replaced kick button with admin rank in list of members. 2022-04-01 15:53:57 +04:00
23rd
221ef74150 Slightly improved phrases in clear history box. 2022-04-01 15:53:57 +04:00
23rd
3c4f575bc2 Added ability to set auto-delete from profile info. 2022-04-01 15:53:57 +04:00
23rd
3356168745 Replaced DropdownMenu with PopupMenu in profile info. 2022-04-01 15:53:57 +04:00
23rd
8fcd07863a Replaced box for auto-delete settings with menu. 2022-04-01 15:53:57 +04:00
23rd
fc71a640a6 Added implementation of menu for auto-delete settings. 2022-04-01 15:53:57 +04:00
23rd
06d17c6b2c Changed color of some sensitive menu items to attention one. 2022-04-01 15:53:57 +04:00
23rd
ae25804d83 Moved widget for time choosing to td_ui. 2022-04-01 15:53:57 +04:00
23rd
2f7017b305 Added mute submenu to top bar in sections. 2022-04-01 15:53:57 +04:00
23rd
4bcd9de2b0 Added submenu support to Window::PeerMenuCallback. 2022-04-01 15:53:57 +04:00
23rd
77659c64e0 Replaced DropdownMenu with PopupMenu in top bar of sections. 2022-04-01 15:53:57 +04:00
23rd
c520cb777c Replaced Window::PeerMenuCallback with struct. 2022-04-01 15:53:57 +04:00
23rd
d8ee50c6fe Added ability to set custom mute time. 2022-04-01 15:53:57 +04:00
23rd
73b4a8b75a Added special field for time input with placeholder. 2022-04-01 15:53:57 +04:00
23rd
7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
23rd
4d0b0bbf66 Added mute menu to button for notifications in profile. 2022-04-01 15:53:57 +04:00
23rd
3f6c693c3f Added draft implementation of menu for silent notifications setting. 2022-04-01 15:53:57 +04:00
23rd
8b7ea09fa9 Added initial implementation of detailed mute menu. 2022-04-01 15:53:57 +04:00
23rd
f32215f77d Added support of sound notification setting to Data::Session. 2022-04-01 15:53:57 +04:00
23rd
93d4581443 Slightly refactored Data::Session::applyNotifySetting. 2022-04-01 15:53:57 +04:00
23rd
46b9c0eae6 Added tiny phrases for display duration. 2022-04-01 15:53:56 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
6716c08306 Fix another crash on context loss. 2022-04-01 10:12:41 +04:00
John Preston
f6559c01e4 Fix sticker image caching in case cell size changes. 2022-03-31 15:24:58 +04:00
John Preston
b1e66279d5 Update API scheme on layer 140. 2022-03-31 13:24:13 +04:00
John Preston
2aa293f1a5 Re-create texture image on format change. 2022-03-30 17:07:35 +04:00
John Preston
5167eb47ae Add hardware acceleartion video decoding setting. 2022-03-30 15:26:34 +04:00
John Preston
27d9f78566 Enforce our own hardware acceleration attempts order. 2022-03-30 14:59:54 +04:00
John Preston
dd9e317257 Recover after a streaming error. 2022-03-30 14:08:36 +04:00
John Preston
2e2aed5002 Fix invoice pinned message phrase. 2022-03-30 12:23:06 +04:00
John Preston
1ffd6d54a0 Don't try to resolve empty username. 2022-03-30 12:23:06 +04:00
John Preston
1c1e67abe3 Fix build with Xcode. 2022-03-30 12:23:06 +04:00
John Preston
00f442573a Update API scheme on layer 140. 2022-03-30 12:23:06 +04:00
John Preston
b38ac32898 Allow removing a bot from attach menu. 2022-03-30 12:23:06 +04:00
John Preston
72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston
426be943a2 Add proof-of-concept webview-bots attach menu. 2022-03-30 12:23:06 +04:00
John Preston
273f2f7ce9 Prolong bot attach webview. 2022-03-30 12:23:06 +04:00
John Preston
a219cc43ce Fix simple web view support. 2022-03-30 12:23:06 +04:00
John Preston
c6ded00461 Move webview attach code to a separate module. 2022-03-30 12:23:05 +04:00
John Preston
aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
20bdbf531a Add proof-of-concept support for keyboardButtonWebView. 2022-03-30 12:23:05 +04:00
John Preston
1d8aac26ce Proof of concept webview attach menu support. 2022-03-30 12:23:05 +04:00
John Preston
841da9dde8 Update API scheme on layer 140.
Handle attach argument in resolve username links.
2022-03-30 12:23:05 +04:00
John Preston
cdde9f8841 Reaction notifications are always silent. 2022-03-30 12:23:05 +04:00
John Preston
468917a91a Add bot to group / channel by link with rights. 2022-03-30 12:23:05 +04:00
John Preston
649f2908e8 Improve phrases in adding a bot as an admin. 2022-03-30 12:23:05 +04:00
John Preston
a35888a07b Add to Group / Channel with suggested rights for bots. 2022-03-30 12:23:05 +04:00
John Preston
b62c7c76c8 Update API scheme to layer 140. 2022-03-30 12:23:05 +04:00
John Preston
e8748986bf Fix fallback to software decoding in FFmpeg. 2022-03-30 12:22:50 +04:00
John Preston
528a3cdca1 Fix media viewer window. 2022-03-30 12:22:50 +04:00
John Preston
4b328a236c Fix NV12 video rendering in Picture-in-Picture panel. 2022-03-28 17:39:25 +04:00
John Preston
3e1cac94bf Migrate macOS build to Qt 6.2.4. 2022-03-28 17:39:00 +04:00
John Preston
77dae3a7b6 Version 3.6.2: Fix build on Linux. 2022-03-28 01:27:26 +04:00
John Preston
03840557ed Version 3.6.2: Fix build with the new Xcode. 2022-03-27 20:02:50 +04:00
John Preston
ec0f1088ce Version 3.6.2.
- Fix photo changing in settings, groups and channels.
- Fix non-square animated video-stickers.
2022-03-27 19:14:33 +04:00
23rd
51cb234b37 Moved menu item with check to td_ui. 2022-03-27 17:59:50 +03:00
23rd
2846aa2f77 Moved SendMenu to separated folder. 2022-03-27 17:59:30 +03:00
John Preston
1bd4595bba Fix photo changing in settings / groups / channels. 2022-03-27 18:56:05 +04:00
23rd
49d090bb4c Added Escape hotkey to hide search messages in dialogs. 2022-03-27 18:56:05 +04:00
23rd
307894415f Added support of close prevention for search messages in dialogs. 2022-03-27 18:56:05 +04:00
Ilya Fedin
1f4ea8414b Update tg_owt commit in snap 2022-03-27 12:38:45 +04:00
Ilya Fedin
680dee14a1 Update snap to Qt 6.2.4 2022-03-27 12:38:45 +04:00
Ilya Fedin
e036f7503a Update Docker to Qt 6.2.4, get rid of Qt 5 support 2022-03-27 12:38:45 +04:00
Ilya Fedin
129c58370a Synchronize ffmpeg decoder flags in Docker with other platforms 2022-03-27 12:38:45 +04:00
Ilya Fedin
93e9eedfae Update media viewer window flags
1. FramelessWindowHint seem to be a redudant leftover of BypassWindowManagerHint, media viewer uses fullscreen state now that implies lack of the frame
2. MaximizeUsingFullscreenGeometryHint is useless since media viewer doesn't use maximize
3. Transient parent/window modality dance is replaced with minimum/maximum size just like in other places where tiling shouldn't be done
4. setWindowState(WindowFullScreen) is replaced with showFullScreen that ensures the flag is set on each show
2022-03-24 16:05:32 +04:00
John Preston
bf3fbd4141 Build FFmpeg with av1 and vp8 on macOS. 2022-03-23 10:28:53 +04:00
23rd
069413c19c Added caching of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
03c5e67047 Fixed focus of field in search messages in HistoryWidget. 2022-03-23 10:03:43 +04:00
23rd
df38dde296 Added search messages to HistoryWidget. 2022-03-23 10:03:43 +04:00
23rd
a141a9404f Added list of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
4e7ff63c53 Added support of search messages for migrated histories. 2022-03-23 10:03:43 +04:00
23rd
a1d21cf452 Added ability to search messages from specific peer in dialogs. 2022-03-23 10:03:43 +04:00
23rd
89ab23e70f Removed Ui::show from ShowSearchFromBox. 2022-03-23 10:03:43 +04:00
23rd
38abfacd88 Added ability to open calendar from search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
69e37ad978 Added initial implementation of search of messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
12fbb53ada Added initial implementation of separated api class for message search. 2022-03-23 10:03:43 +04:00
John Preston
41eb223bbf Render NV12 in OpenGL from hwaccel without swscale. 2022-03-23 10:03:43 +04:00
John Preston
0dca556843 Use FFmpeg hardware acceleration in media viewer / PiP. 2022-03-23 10:03:38 +04:00
John Preston
207cb35c55 Report how much memory was requested on OOM. 2022-03-23 10:00:02 +04:00
c0re100
0f05a1fd63 Fix incorrect admin log
Type: Restricted to Left
2022-03-23 09:44:35 +04:00
Ilya Fedin
c6d7270bbc Update submodules and patches 2022-03-23 09:42:51 +04:00
Ilya Fedin
36282c450e Log media viewer geometry on show 2022-03-23 09:42:51 +04:00
Ilya Fedin
e5d8a1aa3c Use QWidget::screen/QWidget::mask instead of QWindow ones 2022-03-23 09:42:51 +04:00
Aokromes
a3877570fe fix case
closes https://github.com/telegramdesktop/tdesktop/issues/24232
2022-03-23 09:41:14 +04:00
Ilya Fedin
1e744efef8 Replace setMinimumWidth with updateMinimumSize in Window::MainWindow
There's no RpWindow::setMinimumWidth
2022-03-23 09:40:28 +04:00
John Preston
32eca14a81 Add icons to report reason selectors. 2022-03-22 09:18:17 +04:00
Ilya Fedin
5e02da6fb7 Update cmake_helpers 2022-03-21 10:15:40 +04:00
Ilya Fedin
49e143f84e Synchronize capture source chooser's screen detection code with media viewer 2022-03-21 10:15:40 +04:00
Ilya Fedin
3967e5d4ff Synchronize PiP's screen detection code with media viewer 2022-03-21 10:15:40 +04:00
John Preston
a943a993cb Fix layout in the info edit page. 2022-03-21 09:37:30 +04:00
23rd
964b0f4f79 Moved MultiSelect to td_ui. 2022-03-20 10:24:10 +03:00
23rd
cd97495208 Moved out MultiSelect::Item from header. 2022-03-20 10:24:10 +03:00
23rd
354584e1b1 Moved out MultiSelect::Inner from header. 2022-03-20 10:24:10 +03:00
23rd
0a35931d0b Returned ability to schedule livestreams to admins. 2022-03-19 09:14:16 +03:00
John Preston
2c6971e91f Fix rendering selected webm stickers. 2022-03-18 20:41:25 +04:00
John Preston
a877c21d94 Update submodules. 2022-03-18 20:39:49 +04:00
John Preston
dce976d1f9 Fix non-square webm stickers display.
Fixes https://bugs.telegram.org/c/15686
2022-03-18 20:09:07 +04:00
John Preston
eec2992be5 Version 3.6.1: Fix video-from-webpage-preview download. 2022-03-16 20:14:50 +04:00
John Preston
81f9d043d0 Version 3.6.1.
- Change volume for RTMP stream from the context menu.
- Set a profile photo from your camera.
- Improve RTMP stream full screen mode.
- Improve edit account section design.
- Fix switching personal account or channel in video chats.
- Fix pinning chats in folders with 100 chats.
- Fix YouTube timestamp links after 10 hours.
2022-03-16 19:26:18 +04:00
John Preston
e599c829e5 Don't limit possible YouTube video duration.
Fixes #24167.
2022-03-16 19:16:17 +04:00
John Preston
db6a9b0354 Improve name elision in the main menu cover. 2022-03-16 11:23:37 +04:00
John Preston
4f44692ae8 Fix name elision in settings information edit. 2022-03-16 11:20:39 +04:00
John Preston
33d87a3ffe Remove unneeded divider from Advanced settings. 2022-03-16 11:06:44 +04:00
John Preston
efdc39a273 Fix reply-to names in forwarded messages. 2022-03-16 11:02:45 +04:00
23rd
03d9876c8a Replaced one side forced origin with vertical one in ShareBox. 2022-03-16 09:29:51 +03:00
John Preston
22dc842705 Gray unread reaction mention in muted chats. 2022-03-16 10:11:16 +04:00
John Preston
13106d781e Fix icon for username edit in settings. 2022-03-16 09:48:21 +04:00
John Preston
47ddd075f1 Improve info layer title position. 2022-03-16 09:41:05 +04:00
Ilya Fedin
4e090fcfda Get media viewer screen by checking the screen by active window position
QWindow::screen seem to be buggy on Windows and doesn't always follow window moves
2022-03-16 09:23:43 +04:00
Ilya Fedin
b32b10a4e1 Update KDE frameworks to 5.92.0 2022-03-16 09:22:33 +04:00
John Preston
3823bf9c0d Fix possible crash in replies (overlapping ids). 2022-03-15 20:29:32 +04:00
John Preston
bde3da53b6 Improve fullscreen RTMP streams. 2022-03-15 19:41:16 +04:00
John Preston
b087688349 Fix build on Windows. 2022-03-15 19:41:06 +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
23rd
b14b1a415f Removed Q_OBJECT from Dialogs::Widget. 2022-03-15 18:02:30 +03:00
23rd
c96b2081c4 Removed Q_OBJECT from Dialogs::InnerWidget. 2022-03-15 18:02:30 +03:00
23rd
72ecc286dc Replaced timer for dragging scroll in Dialogs::Widget with manager. 2022-03-15 18:02:30 +03:00
23rd
6793d2cc7c Moved base::Timer to std::unique_ptr in DraggingScrollManager. 2022-03-15 18:02:30 +03:00
23rd
0e6c036fa2 Moved Ui::SelectScrollManager to lib_ui. 2022-03-15 18:02:30 +03:00
23rd
bbc72f752a Provided separated style for general labels in ShareBox. 2022-03-15 18:02:30 +03:00
23rd
0b336a2954 Fixed sending animation from inline bots with unexpected result type. 2022-03-15 18:02:30 +03:00
John Preston
34f6c6b23f Fix video message frame request.
Fixes #24190.
2022-03-15 17:33:23 +04:00
John Preston
435d451f3f Change the userpic locally while uploading. 2022-03-15 17:00:17 +04:00
John Preston
b8028886b0 Add upload photo button to Edit Info settings. 2022-03-15 16:35:28 +04:00
John Preston
f31be7784b Redesign edit account settings page. 2022-03-15 15:12:49 +04:00
John Preston
a2ac9e10e2 Fix camera capture DCHECKs in tg_owt on Windows. 2022-03-14 17:25:14 +04:00
John Preston
728155f0d8 Disable speaker link sharing in RTMP streams. 2022-03-14 13:45:05 +04:00
John Preston
b1281c7999 Use Yes / No in "Cancel uploading?" confirm box. 2022-03-14 13:45:05 +04:00
John Preston
616f4e4027 Allow volume changing in RTMP stream context menu. 2022-03-14 13:45:05 +04:00
23rd
0529aea194 Simplified condition to provide sending animation from inline results. 2022-03-14 11:57:34 +03:00
23rd
3cb595c3c9 Added ability to set profile photo from camera. 2022-03-14 11:57:34 +03:00
John Preston
3b9ac19482 Allow pinning chats in folders when 100 added. 2022-03-14 11:11:17 +04:00
John Preston
d1a913450a Allow using mono icons in experimental settings. 2022-03-14 10:20:36 +04:00
John Preston
c03e15979c Fix changing personal account / channel in group calls. 2022-03-14 09:44:11 +04:00
John Preston
f90f5aa0c2 Fix menu toggle order in group calls. 2022-03-14 09:44:11 +04:00
John Preston
e84bfe0420 Fix build for Windows Store. 2022-03-12 09:06:50 +04:00
John Preston
9c57e31256 Version 3.6: Fix build with GCC. 2022-03-11 17:09:18 +04:00
John Preston
0c03070109 Fix build for macOS. 2022-03-11 16:39:18 +04:00
John Preston
b40f6577a6 Version 3.6.
- Active and recently finished downloads pop up
in bar in the bottom left corner, like they do in browsers.
- View recently downloaded files in Settings > Advanced > Downloads.
- Get an alert before closing the app if you have unfinished downloads.
- Share a direct t.me link to your phone number
that instantly opens a chat with you.
- Use the full number in international format,
like t.me/+123456789
- Manage Live Streams in your channels using external software
like OBS Studio or XSplit Broadcaster.
- Choose "Stream With..." when staring a video chat or live stream,
then copy your Stream Key and paste it into your streaming software.
2022-03-11 15:54:55 +04:00
John Preston
c7398c631d Attempt to fix building with GCC. 2022-03-11 15:54:55 +04:00
John Preston
95f5f28906 Add search to the Downloads section. 2022-03-11 15:14:07 +04:00
John Preston
5be72e8ce2 Just compute scheduled ids instead of a lookup. 2022-03-11 11:25:30 +04:00
John Preston
1833fac094 Make scheduled message ids determenistic.
Fixes #6686.
2022-03-11 11:05:02 +04:00
John Preston
1bc438ed01 Support "Delete all files" menu in Downloads section. 2022-03-11 09:56:29 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
Ilya Fedin
437fe4ba82 Set path to mozjpeg in snap for tdesktop 2022-03-10 17:11:41 +04:00
John Preston
e7b437980e Update submodules. 2022-03-10 14:20:01 +04:00
John Preston
a46329f796 Update "trade" folder icon. 2022-03-09 17:55:20 +04:00
John Preston
6805259f74 Don't recompress some JPEGs when sending as photos.
If JPEG is saved in progressive mode and has bpp <= 4
and max(width, height) <= 1280 then we send original bytes.
2022-03-09 17:37:51 +04:00
John Preston
e84ebc2a5c Fix download bar appearing after account switch. 2022-03-09 16:02:27 +04:00
John Preston
602e7a7164 Warn on quit if downloading files. 2022-03-09 15:36:14 +04:00
John Preston
6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston
f1064e2d2f Fix crash in downloads bar. 2022-03-09 08:53:15 +04:00
John Preston
6e00b4636b Move Qt 5 version to 5.15.3 open source. 2022-03-08 22:24:31 +04:00
John Preston
1bdada3cfc Beta version 3.5.6.
- Show viewers count in RTMP streams.
- Send GIFs search results without "via @bot".
- Display the file thumbnail in downloads bar.
- Always try to save original photo bytes to disk.
- Fix crash when deleting a user from your contacts list.
2022-03-08 21:25:48 +04:00
John Preston
ceb5e63166 Fix Picture-in-Picture shadow on scale > 2x. 2022-03-08 19:00:17 +04:00
John Preston
445b6e0f90 Remove persistent recording display (for debug). 2022-03-08 18:49:56 +04:00
John Preston
a29d1816c9 Fix Picture-in-Picture resize on macOS. 2022-03-08 18:20:02 +04:00
John Preston
aa83b9e3fd Fix build with Xcode. 2022-03-08 18:20:02 +04:00
John Preston
8259f74074 Fix notifications settings in dark system themes. 2022-03-08 18:20:02 +04:00
John Preston
3644dfd6fc Show viewers count in RTMP streams. 2022-03-08 18:16:59 +04:00
John Preston
1aa8029a8a Improve notification preview settings design. 2022-03-08 15:24:02 +04:00
John Preston
4054bae9be Update file download / cancel icons. 2022-03-08 15:24:02 +04:00
23rd
2d28d795cf Replaced PinMessageBox with generic box. 2022-03-08 12:43:00 +03:00
23rd
2b8eefccca Returned Enter shortcut to confirm box. 2022-03-08 12:43:00 +03:00
23rd
ffc0e04a1e Fixed state stuck after canceling of box of stream scheduling. 2022-03-08 12:43:00 +03:00
Ilya Fedin
6fd02ccbae Match socket length check with Qt 2022-03-08 12:41:38 +04:00
John Preston
cbe7b5f61b Fix finished downloads bar hiding. 2022-03-07 19:52:54 +04:00
John Preston
bde79210ca Support single download file thumbnail display. 2022-03-07 18:10:01 +04:00
John Preston
c04a789d70 Fix video decoding in some RTMP streams. 2022-03-07 16:59:50 +04:00
John Preston
b90524357e Improve download bar finished state. 2022-03-07 13:33:29 +04:00
John Preston
7e617b7f39 Fix camera preview in Calls Settings. 2022-03-07 12:33:48 +04:00
John Preston
98f2f6d4c0 Always try to save original photo bytes to disk. 2022-03-07 11:09:14 +04:00
John Preston
173fdf8056 Send GIFs search results without "via @bot". 2022-03-07 11:09:14 +04:00
John Preston
eb72b1a925 Add some more assertions for a crash debug. 2022-03-07 11:09:14 +04:00
23rd
63b5eb66ff Provided Window::SessionController to FastShareMessage. 2022-03-06 18:11:47 +03:00
23rd
b9f6591734 Moved out FastShareMessage from history_message. 2022-03-06 18:11:47 +03:00
23rd
b5ab222e64 Provided full style to share box from group calls. 2022-03-06 18:11:47 +03:00
23rd
fa50a5962c Removed Window::SessionNavigation from ShareBox. 2022-03-06 18:11:47 +03:00
23rd
309d4ea702 Added ability to provide field style to EditLinkBox. 2022-03-06 18:11:47 +03:00
23rd
cf55f1a7cd Added ability to use EditLinkBox without SessionController. 2022-03-06 18:11:47 +03:00
23rd
87bdfaf731 Added ability to skip dictionaries manager in context menu. 2022-03-06 18:11:47 +03:00
23rd
f721f5edcf Added ability to provide style of schedule box to share box. 2022-03-06 18:11:47 +03:00
23rd
dd6501ef8f Added ability to provide style to schedule box. 2022-03-06 18:11:47 +03:00
23rd
5298cf0e52 Added ability to provide style to box for choosing date and time. 2022-03-06 18:11:47 +03:00
23rd
239c617818 Added ability to provide some style color to calendar box. 2022-03-06 18:11:47 +03:00
23rd
fa1c2e9dbc Provided parent for toasts in some boxes for peer editing. 2022-03-06 18:11:47 +03:00
23rd
972b421fc6 Delegated display of ShareInviteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd
d9cdff3e6e Provided parent for toast to CopyInviteLink. 2022-03-06 18:11:47 +03:00
23rd
71ee2de354 Delegated display of InviteLinkQrBox to caller. 2022-03-06 18:11:47 +03:00
23rd
dc6788706c Delegated display of RevokeLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd
905a7e6346 Added simple PeerListDelegate to show content. 2022-03-06 18:11:47 +03:00
23rd
9dccc12734 Delegated display of EditLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd
b18d665fbe Delegated display of DeleteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd
5ddb9f9097 Delegated display of ShowInviteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd
f48cf2e27a Provided instance of Ui::Show to AddPermanentLinkBlock. 2022-03-06 18:11:47 +03:00
23rd
c56c0e3232 Removed Ui::show from EditPeerTypeBox. 2022-03-06 18:11:47 +03:00
John Preston
a2e57de3a3 Fix crash in delete contact box creation. 2022-03-06 14:44:12 +04:00
John Preston
1557b356f4 Beta version 3.5.5: Fix build on macOS. 2022-03-06 01:17:07 +04:00
John Preston
dc9ef43625 Beta version 3.5.5.
- Support stereo audio output in RTMP streams.
- Improve RTMP stream full screen mode.
- Fix a couple of crashes.
2022-03-05 21:23:57 +04:00
23rd
0f00d90c29 Removed unused argument when pin animation in touchbar is cancelled. 2022-03-05 17:43:49 +03:00
23rd
a61ad9e2a2 Fixed possible crash in sending animation when message view is lost. 2022-03-05 17:19:38 +03:00
John Preston
d2d41f978d Update Qt to 6.2.3 on macOS and Linux. 2022-03-05 17:04:10 +04:00
wangxiangqing
1ddc0c1977 Fix dir separator on windows
Change-Id: I4afe534c826127e11163f716612d62ea44705448
2022-03-05 16:54:46 +04:00
Ilya Fedin
b39e4a3138 Do not call CloseNotification for activatable services
If the notification daemon is an activatable GApplication service (e.g.
on Mate), then the notification daemon may terminate a short time after
the notification has vanished (usually 15s). In that case the
notification daemon may reuse notification IDs, which is incompatible
with our notification clearing.
Also the service may not be running at all, when we call the
CloseNotification endpoint.

To fix this, we simply disable the entire notification history clearing
functionality on such desktops by proactively clearing all notification
references from our internal notification manager.

Signed-off-by: Magnus Groß <magnus.gross@rwth-aachen.de>
2022-03-05 16:51:02 +04:00
Magnus Groß
4dd14b81e1 Do not remove notification reference on NotificationClosed
In general we need to keep a reference to the notification id, so that
we can delete the notification later from history - unless the
NotificationClosed reason was that the user actively dismissed it, in
which case it is not kept in history anyway (so we can dismiss our
reference too).

-- Background --
Some desktop environments such as KDE keep a history of notifications.
An API is provided to delete notifications from that history by calling
the org.freedesktop.Notifications.CloseNotification endpoint with the ID
of that notification. If the notification was already closed (timed
out), then this will delete the notification from history.

The intent is to clear these notifications from the notification history
as soon as a chat with notifications originating from that person is
opened, as the user is then not interested anymore in those
notifications and to prevent unnecessary clutter in the history widget.
It is also cleared when the chat is read on another device.

-- Problem --
Telegram already has all the code in place to support this
functionality, but unfortunately this did not work on Linux before,
because we listen to the NotificationClosed signal and remove our
reference to the notification id from our internal manager as soon as we
get that signal. This means that we do not clear that notification from
history once we open the chat with that person (unless we open the chat
before the notification has timed out, i.e. if we didn't get the
NotificationClosed signal).

-- Fix --
To fix this, we keep our notification reference (if the notification was
not dismissed by the user), which means that our reference will be kept
around until we open the chat with that person (or close Telegram
entirely).

Since all the needed functionality for deleting notifications was
already in place, this patch is quite short as we only need to keep the
reference around longer than we did before this patch.

Note also that code is already in place to clear notifications for
messages that were read on another device: History::inboxRead() calls
Core::App().notifications().clearIncomingFromHistory()

Fixes #17111
2022-03-05 16:51:02 +04:00
Ilya Fedin
daaa654065 Get rid of unneeded MainWindow::Private class on Linux 2022-03-05 16:47:38 +04:00
Ilya Fedin
8db567ba7a Don't hold a dbus connection unecessarily in main window 2022-03-05 16:47:38 +04:00
Ilya Fedin
805e6de1dc Add global menu event hook on Linux just like on macOS 2022-03-05 16:47:38 +04:00
Ilya Fedin
ffbafcb5fb Get rid of Q_OBJECT in macOS MainWindow 2022-03-05 16:47:38 +04:00
Ilya Fedin
1c8d4ee7ab Get rid of Q_OBJECT in HistoryInner 2022-03-05 16:47:38 +04:00
23rd
f469cab7b0 Added disable-autoplay-next option. 2022-03-05 12:40:49 +03:00
23rd
c6cdf0a4c4 Fixed ability to send file to photo/video album from EditCaptionBox. 2022-03-04 18:58:07 +03:00
23rd
f74a75da75 Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
23rd
0e08cffedb Fixed error display in EditCaptionBox. 2022-03-04 18:58:07 +03:00
23rd
f57ef43dc7 Fixed minimal height of image thumbnail in EditCaptionBox. 2022-03-04 18:58:07 +03:00
John Preston
d5b9effd2e Improve title text in RTMP full screen. 2022-03-04 18:24:44 +04:00
John Preston
d36315104e Improve full screen RTMP streams. 2022-03-04 16:31:04 +04:00
John Preston
8678eef9e8 Fix download bar close in a hidden window.
Fixes #24132.
2022-03-04 15:37:50 +04:00
John Preston
76a2ae4714 Don't showFullScreen() from isMaximized() state. 2022-03-04 15:28:45 +04:00
John Preston
a6d59fccf4 Update icons for folders. 2022-03-04 14:25:25 +04:00
John Preston
37e5157d5a Improve "Pin on top" icon in RTMP streams. 2022-03-04 13:19:37 +04:00
23rd
b5aafa521a Replaced EditLinkBox with generic box. 2022-03-04 11:25:10 +03:00
23rd
5e13949eda Added ability to initialize spellchecker without SessionController. 2022-03-04 11:25:10 +03:00
23rd
b900ac2b1d Removed Window::SessionController from ManageDictionariesBox. 2022-03-04 11:25:10 +03:00
23rd
28331b3617 Removed Ui::showPeerProfile from controller of ShowInviteLinkBox. 2022-03-04 11:25:10 +03:00
23rd
026045af17 Removed Ui::show from ManageInviteLinksBox. 2022-03-04 11:25:10 +03:00
23rd
bdb2a5f277 Removed Ui::show from EditAdminBox and EditRestrictedBox. 2022-03-04 11:25:10 +03:00
23rd
1f8f462461 Removed Ui::show from EditLinkedChatBox. 2022-03-04 11:25:10 +03:00
23rd
cacbc60302 Removed Ui::show from AddParticipants and AddSpecial box controllers. 2022-03-04 11:25:10 +03:00
23rd
093d2ae99b Removed Ui::show from ParticipantsBoxController. 2022-03-04 11:25:10 +03:00
23rd
e44b37e654 Added to PeerListDelegate methods to show content. 2022-03-04 11:25:10 +03:00
23rd
e0eec138d5 Removed Ui::hideLayer from ChangePhoneBox::EnterCode. 2022-03-04 11:25:10 +03:00
23rd
b0617711ed Removed Ui::hideLayer from PinMessageBox. 2022-03-04 11:25:10 +03:00
23rd
fd528aa1b7 Removed Ui::show from window peer menu functions. 2022-03-04 11:25:10 +03:00
23rd
4fff812910 Moved out importChatInvite from ApiWrap. 2022-03-04 11:25:10 +03:00
23rd
0f7b0c4227 Added ability to hide layer for specific window controller. 2022-03-04 11:25:10 +03:00
23rd
3ebb9af8f8 Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
23rd
bc6d69319c Provided window controller to box of converting channel to gigagroup. 2022-03-04 11:25:10 +03:00
23rd
6bcca6c94e Added Ui::Show implementation for Window::SessionController. 2022-03-04 11:25:10 +03:00
23rd
ed5b83bc62 Fixed unexpected copyright reason from top bar in sections. 2022-03-02 06:11:44 +03:00
John Preston
015c5d9618 Beta version 3.5.4: Fix build with Xcode. 2022-03-01 19:43:37 +03:00
John Preston
d608e046c5 Beta version 3.5.4.
- Bug fixes and other minor improvements.
2022-03-01 19:38:33 +03:00
John Preston
cfa60df134 Show "No languages found." label. 2022-03-01 19:35:37 +03:00
John Preston
5ad2900c9c Hide controls in full screen stream by timeout. 2022-03-01 19:12:51 +03:00
John Preston
dd5aeeb65a Show information about downloads from cloud. 2022-03-01 18:59:59 +03:00
John Preston
3262c2d1b9 Support select by drag in Downloads. 2022-03-01 18:55:35 +03:00
John Preston
aa3357eee1 Show connecting / proxy status above downloads.
Fixes #24125.
2022-03-01 18:39:08 +03:00
John Preston
0192edbe84 Handle documentLoadProgress instead of itemRepaintRequest. 2022-03-01 17:32:39 +03:00
John Preston
1f38ab1690 Make local storage clear buttons non-uppercase. 2022-03-01 17:01:08 +03:00
John Preston
d8724a63fb Fix pin livestream on top button position. 2022-03-01 16:15:40 +03:00
John Preston
bcbd97e515 Fix restart confirmation box cancel. 2022-03-01 16:15:23 +03:00
John Preston
616d099c07 Copy t.me/+phonenumber link from Phone Number Privacy. 2022-03-01 15:30:55 +03:00
John Preston
bea2cfd363 Support t.me/+phonenumber links. 2022-03-01 15:30:22 +03:00
John Preston
f7957a8903 Use better "Fix chats order" icon in support mode. 2022-03-01 14:28:08 +03:00
John Preston
b9685ec711 Correctly destroy Media::Capture::Inner. 2022-03-01 14:27:42 +03:00
John Preston
4cea79973f Fix Show In Finder window re-activation on macOS. 2022-03-01 14:22:29 +03:00
John Preston
7ee159b53d Fix check for IP revealing file names. 2022-03-01 14:06:31 +03:00
John Preston
8cd579d443 Show no stream channels warning even if we have a frame. 2022-03-01 13:59:02 +03:00
John Preston
6e9e289dd7 Move pin stream on top icon a bit. 2022-03-01 13:59:00 +03:00
John Preston
c6fc462361 Update folders_travel icon.
Fixes #24124.
2022-03-01 13:25:43 +03:00
John Preston
667e2e697e Support emoji in account names. 2022-03-01 13:25:42 +03:00
John Preston
dc6080b57b Fix crash in tgcalls. 2022-03-01 13:25:42 +03:00
23rd
2b79fd7e67 Fixed display of settings for viewers of RTMP stream. 2022-03-01 13:19:20 +03:00
23rd
319d661ce6 Reduced width of box for RTMP info. 2022-03-01 12:52:31 +03:00
23rd
00c4ab197d Fixed margins of copy buttons in RTMP info. 2022-03-01 12:52:31 +03:00
23rd
789c829bc2 Added dividers to settings of group call with RTMP info. 2022-03-01 12:52:31 +03:00
23rd
e44961e571 Fixed display of userpic for sponsored messages in channels. 2022-03-01 12:52:31 +03:00
23rd
da75e790ea Disabled mouse events for information about empty RTMP streams. 2022-03-01 12:52:31 +03:00
23rd
60be4b32be Improved design of context menu from top button in RTMP boxes. 2022-03-01 12:52:31 +03:00
23rd
13aa2196f4 Returned context menu to RTMP labels with custom style. 2022-03-01 12:52:31 +03:00
23rd
d1bb87ccec Added ability to provide custom style to Settings::AddSubsectionTitle. 2022-03-01 12:52:31 +03:00
23rd
e8f0be80bb Moved RTMP data to common struct. 2022-03-01 12:52:31 +03:00
GitHub Action
a049a62397 Update User-Agent for DNS to Chrome 98.0.4758.102. 2022-03-01 12:44:36 +03:00
John Preston
2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
John Preston
5cacf8a8af Beta version 3.5.3: Fix build with Xcode. 2022-02-28 23:12:23 +03:00
Klemens Nanni
6decece009 Remove unused variables 2022-02-28 23:11:07 +03:00
John Preston
9f3f734b8c Beta version 3.5.3.
- Check the status of media and file downloads by clicking
on the new panel in the bottom of the chats list.
- View recently downloaded files
from the new Settings > Advanced > Downloads section.
- Manage Live Streams in your groups and channels
using external software like OBS Studio or XSplit Broadcaster.
2022-02-28 22:43:41 +03:00
John Preston
01a7db1953 Fix crash in tgcalls. 2022-02-28 22:37:24 +03:00
John Preston
55d850a615 Adjust default icon colors. 2022-02-28 22:37:10 +03:00
John Preston
de7c7aca6c Fix information about empty RTMP streams. 2022-02-28 22:36:08 +03:00
23rd
13f1ab7965 Added confirm box for stream key revoking from settings of group call. 2022-02-28 21:41:50 +03:00
John Preston
d49649b3a3 Fix label updating in RTMP settings. 2022-02-28 21:13:46 +03:00
John Preston
7a602690bb Show information about absent RTMP stream. 2022-02-28 21:10:49 +03:00
23rd
6d46590312 Added ability to disable context menu for RTMP labels. 2022-02-28 20:55:49 +03:00
23rd
069a2814fc Added ability to revoke stream key from settings of group call. 2022-02-28 20:41:45 +03:00
23rd
1f18c9a273 Added RTMP info to settings of group call. 2022-02-28 20:26:24 +03:00
Nicholas Guriev
436622ad7c Fix build against FFmpeg v5.0
It has been released on January 17th. This patch keeps source compatibility
with older versions.
2022-02-28 20:22:18 +03:00
Ilya Fedin
f4f7b5b99c Hide the window instantly within autostart
Unnecessary minimize triggers animation that provides a sign there were a window. There's also seem to be queuing of hide on Linux that makes the effect even more noticable and it seems the bug this workaround was made for no longer reproduces.
2022-02-28 20:22:01 +03:00
Ilya Fedin
b9519dd5b9 Try to react to move events in media viewer, again
This time with a weaker geometry check
2022-02-28 20:20:25 +03:00
John Preston
4b93f58d2f Pin RTMP stream on top. 2022-02-28 20:06:54 +03:00
John Preston
282b3592c2 Show toast about jump-to non-existent message. 2022-02-28 19:53:14 +03:00
John Preston
71228eae59 Show user name when deleting all messages from user. 2022-02-28 19:45:19 +03:00
John Preston
38600d8189 Update submodules. 2022-02-28 19:43:51 +03:00
John Preston
78e42bbae3 Add support for Clipperton Island flag emoji. 2022-02-28 19:43:36 +03:00
John Preston
8c6521e382 Enlarge padded title controls hit area.
Fixes #23933.
2022-02-28 19:12:52 +03:00
John Preston
3cf330134b Keep RTMP url / key in Calls::GroupCall. 2022-02-28 17:29:08 +03:00
John Preston
6d1106bc9f Fix recording mark click handler. 2022-02-28 17:08:42 +03:00
23rd
40d97bc6a4 Added ability to start video chat with RTMP as well. 2022-02-28 16:54:08 +03:00
23rd
7cea4efac1 Removed ability to select hidden stream key. 2022-02-28 16:54:08 +03:00
John Preston
fc5ed46b40 Toggle fullscreen by mute button in RTMP streams. 2022-02-28 16:51:14 +03:00
John Preston
25e29d3dd5 Hide members in RTMP streams. 2022-02-28 13:52:49 +03:00
John Preston
39c10b9e1c Move chat name with icon to the left. 2022-02-28 13:52:32 +03:00
John Preston
e7b5ab56e0 Handle getGroupCallStreamChannels errors. 2022-02-28 13:19:04 +03:00
John Preston
e109b9e279 Update tgcalls. 2022-02-28 12:55:35 +03:00
John Preston
664774f474 Fix group call bar with requests bar. 2022-02-28 12:53:50 +03:00
John Preston
05be9d72b8 Fix crash on bad_function_call in ChooseJoinAsProcess. 2022-02-28 12:52:23 +03:00
John Preston
8d575a5fbf Fix rtmp stream current time request. 2022-02-28 12:51:17 +03:00
23rd
ed90891607 Fix build with Xcode. 2022-02-28 11:15:30 +03:00
23rd
592f47a751 Removed Calls::Group::ConfirmBoxBuilder. 2022-02-28 09:08:01 +03:00
23rd
df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd
e6da3cf845 Removed old implementation of Ui::ConfirmBox. 2022-02-28 09:08:01 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd
d5a44a2ba4 Removed mutable lambdas from controller of privacy settings. 2022-02-28 08:08:32 +03:00
23rd
2d36079999 Removed mutable lambdas from export controller. 2022-02-28 08:08:32 +03:00
23rd
bb78c43de5 Removed mutable lambdas from window peer menu. 2022-02-28 08:08:32 +03:00
23rd
1394b1d56f Added ConfirmBox implementation with GenericBox. 2022-02-28 08:08:32 +03:00
23rd
6478b7b129 Added menu to HistoryView::TopBarWidget for starting of livestream. 2022-02-28 08:05:02 +03:00
23rd
8909b654d3 Added ability to start livestream with RTMP. 2022-02-28 08:05:02 +03:00
23rd
97dbb98862 Added ability to schedule live stream without "Join As" choosing. 2022-02-28 08:04:46 +03:00
23rd
166d844d55 Divided showing of peer menu from top bar into two methods. 2022-02-28 08:04:46 +03:00
23rd
a3d00b1953 Replaced args for Calls::Instance::startOrJoinGroupCall with struct. 2022-02-28 08:04:46 +03:00
23rd
f2f4f9b24b Divided ChooseJoinAsProcess::start into methods. 2022-02-28 08:04:46 +03:00
John Preston
40ed4559c4 Update API scheme on layer 139. 2022-02-27 20:26:52 +03:00
John Preston
a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
bff8313a37 Use nice media names in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston
147d2e1934 Show all entries as files in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
e89c95551f Show correct downloads elements context menu. 2022-02-27 20:26:52 +03:00
John Preston
daadf7e2a1 Allow goToMessageClickHandler to switch accounts. 2022-02-27 20:26:52 +03:00
John Preston
5ddcf402bc Show download start date in Downloads section. 2022-02-27 20:26:52 +03:00
John Preston
57f17b7afe Save and restore downloads between launches. 2022-02-27 20:26:52 +03:00
John Preston
3425dc027c Show downloaded files in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
1f2eba9dc9 Fix empty state of Downloads section. 2022-02-27 20:26:52 +03:00
John Preston
1710863231 Update some icons. 2022-02-27 20:26:52 +03:00
John Preston
aa012b6d0b Update tgcalls. 2022-02-27 20:26:50 +03:00
23rd
1da5e7d1f7 Added ability to chose copyright as reason for message report. 2022-02-25 19:41:16 +03:00
23rd
c0ae4b86a6 Provided Window::SessionController to ShareGameScoreByHash. 2022-02-25 19:41:16 +03:00
23rd
ca7f4ffed9 Removed Ui::show from Settings::SessionsContent. 2022-02-25 19:41:16 +03:00
23rd
78f7ea0c9d Provided click handler context for general urls in profile info as well. 2022-02-25 19:41:16 +03:00
23rd
ed14e47389 Renamed BoxContent::onScrollToY to BoxContent::scrollToY. 2022-02-25 19:41:16 +03:00
23rd
06d5d8859a Added extracting of session controller from context for custom urls. 2022-02-25 19:41:16 +03:00
23rd
add6352012 Provided primary MainWindow as default parent for toasts. 2022-02-25 19:41:16 +03:00
23rd
f095522cd7 Provided float player delegate only from primary MainWidget. 2022-02-25 19:41:16 +03:00
23rd
e8a5ddad37 Removed width calculation of dialogs list when this list is disabled. 2022-02-25 19:41:16 +03:00
23rd
9bc48f4aba Fixed links position of inline keyboard when reactions aren't in bubble. 2022-02-25 19:41:16 +03:00
23rd
4f6776eeaa Provided video start position to OverlayWidget. 2022-02-25 19:41:16 +03:00
23rd
4dee21c0e6 Added userpics support to sponsored messages. 2022-02-25 19:41:16 +03:00
23rd
2e40798e8e Added simple animation of GIFs sending. 2022-02-25 19:41:16 +03:00
23rd
0dc2e1a5ae Migrated SendingInfoTo from using of end geometry to end point. 2022-02-25 19:41:16 +03:00
23rd
6939da2fd2 Fixed simple animation of message sending with custom chat themes. 2022-02-25 19:41:16 +03:00
23rd
a0a857a6db Added simple animation of stickers sending from autocomplete field. 2022-02-25 19:41:16 +03:00
23rd
0a2fbb0d70 Added simple animation of stickers sending from inline bots. 2022-02-25 19:41:16 +03:00
23rd
2632ec45bd Added support to skip parts of gifs drawing. 2022-02-25 19:41:16 +03:00
23rd
9d164dc33c Added clearing of message sending animations on escape from section. 2022-02-25 19:41:15 +03:00
23rd
cf5f5f75bc Added permanent info display to webm stickers with right action. 2022-02-25 19:41:15 +03:00
23rd
40875ac8ff Added simple animation of static stickers sending to replies section. 2022-02-25 19:41:15 +03:00
23rd
e72be4abfc Removed cache from sending animation. 2022-02-25 19:41:15 +03:00
23rd
4cebccd6dc Simplified drawing of surrounding info in sending animation. 2022-02-25 19:41:15 +03:00
23rd
afdfe1c2e8 Added ability to provide custom view to sending animation controller. 2022-02-25 19:41:15 +03:00
23rd
abbfdf211b Added surrounding info to simple animation of stickers sending. 2022-02-25 19:41:15 +03:00
23rd
d633860e1d Added simple animation of static stickers sending. 2022-02-25 19:41:15 +03:00
23rd
b46adec413 Added initial controller of message sending animations. 2022-02-25 19:41:15 +03:00
23rd
cb7da60ec7 Added ability to send existing media with pre-generated local msgId. 2022-02-25 19:41:15 +03:00
23rd
298c5026be Added ability to count inner geometry in HistoryView::Element. 2022-02-25 19:41:15 +03:00
23rd
7cd14b8c4e Renamed anim::interpolateF to anim::interpolateToF. 2022-02-25 19:41:15 +03:00
John Preston
1de35cf8ef Support receiving RTMP streams in group calls. 2022-02-25 19:41:15 +03:00
John Preston
9d200017c3 Support two new message report reasons. 2022-02-25 19:41:15 +03:00
John Preston
e962036889 Update API scheme to layer 139. 2022-02-25 19:41:15 +03:00
John Preston
45398bb54e Update tgcalls with streams support. 2022-02-25 19:41:15 +03:00
John Preston
e6294f48de Track all required sessions notifications. 2022-02-25 19:41:15 +03:00
John Preston
93c6038992 Start showing downloading items in Downloads. 2022-02-25 19:41:15 +03:00
John Preston
0be320a6c7 Export media, updates and stream parts through media cluster. 2022-02-25 19:41:15 +03:00
John Preston
0c627e7ca0 Open "Downloads" from the download bar. 2022-02-25 19:41:15 +03:00
John Preston
91c46dbc85 Allow Info::Media::ListWidget use different data providers. 2022-02-25 19:41:15 +03:00
John Preston
eefb9823e1 Don't apply theme accent color to the settings icons. 2022-02-25 14:14:44 +03:00
John Preston
ffd65e1fe4 Fix slide animations with new layer rounding. 2022-02-25 14:14:43 +03:00
John Preston
1a664edd39 Initial implementation of download progress bar. 2022-02-25 14:14:43 +03:00
John Preston
e8a7e86f41 Update menu icons. 2022-02-25 14:14:43 +03:00
John Preston
e4a7c01541 Move window_outdated_bar to td_ui subproject. 2022-02-25 14:14:43 +03:00
John Preston
280d79fecc Add observing Data::DownloadManager. 2022-02-25 14:14:43 +03:00
John Preston
7718764294 Save original bytes of a photo on "Save to disk". 2022-02-25 14:14:43 +03:00
John Preston
c39f15bd71 Fix build with VS 2022 17.1. 2022-02-25 14:14:43 +03:00
John Preston
f5b8683b33 Add some icons to Advanced settings. 2022-02-25 14:14:43 +03:00
John Preston
3c2caeb43a Adjust Notifications settings to the mockup. 2022-02-25 14:14:43 +03:00
John Preston
1c060f40c1 Increase minimal main menu footer height. 2022-02-25 14:14:42 +03:00
John Preston
d15af0c5f0 Use red chats list badge for unread reactions. 2022-02-25 14:14:42 +03:00
John Preston
6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
c5d7889ac9 Adjust username change box to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
d7c63b85ed Simplify main menu cover according to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
adb25d65c2 Use shortened count for unread badges in main menu. 2022-02-25 14:14:42 +03:00
John Preston
4af02d3d00 Add "Archived chats" unread badge to the main menu. 2022-02-25 14:14:42 +03:00
John Preston
bce19c7151 Adjust main menu accounts to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
7c5d27d7ce Add "Telegram Features" to the main settings page. 2022-02-25 14:14:42 +03:00
John Preston
2e435f07a3 Make "Archived chats" a normal menu item. 2022-02-25 14:14:42 +03:00
John Preston
3ad978fc72 Adjust main menu geometry to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
9c581d63ea Adjust main menu icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
1501a6d8fc Don't check config.phonecalls_enabled value. 2022-02-25 14:14:41 +03:00
John Preston
f57d21eaeb Add "Calls Settings" to the main settings section. 2022-02-25 14:14:41 +03:00
John Preston
9c903bacf2 Adjust main settings icons to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
1468be0af4 Adjust main settings buttons geometry to the mockup. 2022-02-25 14:14:41 +03:00
John Preston
340db7662b Improve settings main cover. 2022-02-25 14:14:41 +03:00
John Preston
7b0513a1ea Improve box rounding and buttons. 2022-02-25 14:14:40 +03:00
Ilya Fedin
feb2d3066e Use RpWindow's method to set minimum window size 2022-02-22 18:15:05 +03:00
Ilya Fedin
5d5b964f4e Don't block main queue with drag operation 2022-02-22 12:45:35 +03:00
Ilya Fedin
9309f98094 Fix Hunspell spellchecking with Qt 6 2022-02-19 16:00:24 +03:00
Ilya Fedin
3a9f34e47b Disable some syscalls in snap Qt build 2022-02-15 19:32:45 +03:00
Ilya Fedin
d5521370f4 Update KDE frameworks and wayland-protocols 2022-02-15 19:31:56 +03:00
John Preston
95e806cb89 Play webm stickers only once if looping is disabled. 2022-02-10 19:11:21 +03:00
John Preston
b4a49de819 Fix possible incorrect links in service messages. 2022-02-10 19:11:21 +03:00
John Preston
4f4ef941c6 Move SendPreloadRequest out of HistoryWidget. 2022-02-10 15:20:37 +03:00
John Preston
7228752a01 Check only for existing unread reactions. 2022-02-10 14:09:22 +03:00
Ilya Fedin
145a610321 Update Qt to 6.2.3 in snap 2022-02-10 09:52:30 +03:00
John Preston
6ce3f9bb71 Version 3.5.2.
- Fix a freeze in audio playback on Linux.
- Fix a crash in screen sharing initialization on Linux.
2022-02-08 19:18:14 +03:00
John Preston
a5483a5113 Fix build on Linux. 2022-02-08 19:17:44 +03:00
John Preston
7f5e646db5 Disable PortalPreventAppSuspention for now.
A lot of freezing reports:
- https://bugs.telegram.org/c/14426
- XFCE X11, Ubuntu X11, XCinnamon X11 reports to support
- tdesktop/issues/24032
- tdesktop/issues/24043
2022-02-08 16:47:37 +03:00
John Preston
666251f23e Allow to set custom app icon on macOS. 2022-02-08 00:24:11 +03:00
John Preston
d89d8b09da Preload chats in support switch. 2022-02-08 00:24:11 +03:00
John Preston
0aa20b4479 Decrypt shiftedDcId / protocolDcId in mtp_ logs. 2022-02-07 15:26:26 +03:00
John Preston
8658dba97a Improve mtproto connections logging. 2022-02-07 14:44:00 +03:00
23rd
20c911651f Replaced universal initializers with constructors in Ui::Text::Link. 2022-02-06 18:29:38 +03:00
John Preston
bef20ba4a2 Fix loading libdrm before first use.
Fixes #24022.
2022-02-06 13:50:23 +03:00
John Preston
ee325031a0 Fix build without wayland integration. 2022-02-05 19:20:40 +03:00
John Preston
b57549546d Update lib_ui for the indexed links fixes. 2022-02-05 19:19:54 +03:00
23rd
1e4d278604 Fixed formatting text of pinned messages in service messages. 2022-02-05 18:39:43 +03:00
23rd
80aa596310 Fixed possible incorrect order of links in Ui. 2022-02-05 18:39:43 +03:00
John Preston
4913288061 Fix "Fix chats order" toggle in support mode. 2022-02-05 15:09:18 +03:00
John Preston
1a43cd8a67 Fix the date in the latest changelog entry. 2022-02-05 01:41:41 +03:00
John Preston
bcb0511083 Version 3.5.1: Fix build with MSVC. 2022-02-04 22:56:45 +03:00
John Preston
2dda044dd1 Fix crash in video message without a thumbnail. 2022-02-04 22:56:29 +03:00
John Preston
da18ab3d41 Fix group call settings button position. 2022-02-04 22:56:28 +03:00
John Preston
f26cae8807 Version 3.5.1.
- Keep the screen on while watching a video
or participating in a video chat.
- Save experimental settings between relaunches.
- Bug fixes and other minor improvements.
2022-02-04 22:20:17 +03:00
23rd
641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston
02c9b61840 Fix PowerSaveBlocker in case QWindow was destroyed. 2022-02-04 16:44:20 +03:00
Ilya Fedin
99e8d22c51 Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
John Preston
cd9b3368da Don't request scheduled messages in channels I can't write to. 2022-02-04 09:50:12 +03:00
John Preston
f918c6bb83 Pass QWindow to PowerSaveBlocker. 2022-02-04 09:43:56 +03:00
gasinvein
28dff5ba6d Correct year in changelog for 2022 releases 2022-02-03 11:44:20 +03:00
John Preston
4d978f5b36 Add PowerSaveBlocker implementation for macOS. 2022-02-02 17:07:31 +03:00
John Preston
ef41878815 Fix date tooltip on outgoing messages. 2022-02-02 15:46:55 +03:00
John Preston
6a663932f3 Fix message viewers display in message reactions box. 2022-02-02 15:40:39 +03:00
John Preston
67c538ae8f Add AllowLinuxNvidiaOpenGL option. 2022-02-02 15:33:41 +03:00
John Preston
38137e16a0 Save / restore experimental settings in a json. 2022-02-02 12:05:33 +03:00
John Preston
9c01295521 Create PowerSaveBlocker-s on calls / video / audio. 2022-02-02 12:05:33 +03:00
Ilya Fedin
c7b6db00ca Build WebRTC without PipeWire support in snap
WebRTC no more supports PipeWire 0.2, so it's impossible to build PipeWire support until core22 runtime is released
2022-02-02 09:32:44 +03:00
Ilya Fedin
7f0bdc5d36 Fix desktop environment list deduplication 2022-02-02 09:23:14 +03:00
John Preston
5f6d8f74dd Warn about supergroup clearing history just for me. 2022-02-01 19:41:51 +03:00
John Preston
9086319b99 Update lib_ui for accounts reordering. 2022-02-01 19:41:29 +03:00
23rd
37cd4f51eb Added view-profile-in-chats-list-context-menu option. 2022-02-01 18:48:02 +03:00
23rd
74416568d6 Distributed tabbed-panel-show-on-click option to sections as well. 2022-02-01 18:48:02 +03:00
23rd
a8c3d6c39b Added ability to reorder accounts in MainMenu. 2022-02-01 18:48:02 +03:00
John Preston
5939c2dbfc Don't crash on no-frame with SUCCESS status. 2022-02-01 16:51:51 +03:00
John Preston
4bef1e9f59 Use unreliable video duration if open with audio. 2022-02-01 16:51:51 +03:00
John Preston
18bf48bf90 Fix possible crash in view button click handler. 2022-02-01 16:51:51 +03:00
John Preston
b415b293cf Fix crash from background access to style::icon-s. 2022-02-01 16:51:51 +03:00
John Preston
3a1bb1966d Fix comparator in tgcalls. 2022-02-01 16:51:51 +03:00
Ilya Fedin
d4b686ff65 Update tg_owt 2022-02-01 15:30:02 +03:00
Ilya Fedin
8148974e9f Update cmake_helpers 2022-02-01 14:42:21 +03:00
Ilya Fedin
eaa2573c66 Build ffmpeg without xlib as it was needed only for libva/vdpau 2022-02-01 14:42:21 +03:00
GitHub Action
4d315f8e61 Update User-Agent for DNS to Chrome 97.0.4692.99. 2022-02-01 14:42:05 +03:00
Ilya Fedin
e5981ed22b Move jemalloc initialization code to cmake_helpers 2022-02-01 14:41:54 +03:00
John Preston
eccaca8808 Version 3.5: Fix build with GCC. 2022-02-01 01:51:17 +03:00
John Preston
36e6c76b59 Version 3.5: Merge some lib_ui fixes. 2022-02-01 01:27:33 +03:00
John Preston
06c35f5b51 Version 3.5.
- Use a new type of detailed stickers with smooth animations.
- Create new sets by sending .webm videos to @stickers.
- Bring your custom animated stickers from other apps.
- See smaller, compact animations when reacting to messages.
- See real-time animations in chat when a user reacts to your message.
- React with additional emoji expressing love,
appreciation, anger or surprise.
- Tap the new button in chats to jump to your messages
that have unseen reactions.
- Watch the animations for unseen reactions play
when you hit the button.
- The app will warn you before closing
if you are uploading photos or files to a chat.
- Enjoy better screencast quality in video chats.
2022-02-01 00:51:00 +03:00
John Preston
ca21b7efae Allow disable Cmd+Q warning on macOS. 2022-02-01 00:43:20 +03:00
John Preston
9eb20ede33 Fix click area of web page preview article photo. 2022-02-01 00:26:52 +03:00
John Preston
656146c445 Improve ViewButton + Reactions view. 2022-02-01 00:26:34 +03:00
John Preston
2eb8ed59cc Update unread reaction icon to a heart. 2022-01-31 23:32:04 +03:00
John Preston
9d6eeace54 Fix quilt by system on macOS. 2022-01-31 23:16:56 +03:00
John Preston
315c85fb8d Always show unread mentions / reactions buttons. 2022-01-31 23:16:56 +03:00
John Preston
b7a70a2f28 Improve unread reactions list consistency. 2022-01-31 23:16:56 +03:00
John Preston
63bf564757 Reaction notifications only from non-blocked contacts. 2022-01-31 16:18:40 +03:00
John Preston
6a9c5818ba Show go-to-user buttons in t.me links preview. 2022-01-31 16:17:58 +03:00
John Preston
98e7de01b0 Improve naming in dialogs_layout module. 2022-01-31 16:17:34 +03:00
John Preston
8ef7325e16 No confirmation for graph.org / te.legra.ph domains. 2022-01-31 16:14:03 +03:00
John Preston
17de379145 Fix document thumbnails on Retina screens. 2022-01-31 13:18:52 +03:00
John Preston
eb784c665a Fix build with tg_owt@M98 on macOS. 2022-01-31 13:18:42 +03:00
John Preston
07beb3e86b Correctly clear unread reactions. 2022-01-31 11:19:46 +03:00
John Preston
18919a6b4a Fix tg_owt@M98 build on Linux. 2022-01-30 19:39:33 +03:00
John Preston
71d4b64691 Fix link / forward preview on Retina screen.
Regression was introduced in 3ff17a8789.
2022-01-30 00:34:19 +03:00
John Preston
9918a20946 Fix tg_owt@M98 build with MSVC. 2022-01-29 15:18:23 +03:00
John Preston
ae5e7d641a Build on macOS with WebRTC M98. 2022-01-29 14:06:55 +03:00
John Preston
4e88ea970e Fix build with GCC. 2022-01-29 12:47:20 +03:00
John Preston
f6ff0f3b2c Fix build for macOS 10.12+. 2022-01-28 23:52:11 +03:00
John Preston
84d58e574f Closed alpha version 3.4.8.1. 2022-01-28 19:11:13 +03:00
John Preston
1dd7cc956b Show reaction notifications in groups. 2022-01-28 19:10:07 +03:00
John Preston
54e7dfe986 Open exact message on local reaction notification. 2022-01-28 19:10:07 +03:00
John Preston
4e9a52343f Process unread reactions to unknown messages. 2022-01-28 19:10:07 +03:00
John Preston
51c805d77a Enable reading reactions on the server. 2022-01-28 19:10:07 +03:00
John Preston
8bde488662 Support multiple reaction animations in one message. 2022-01-28 19:10:07 +03:00
John Preston
4f1e04cf9e Animate reactions when reading. 2022-01-28 19:10:07 +03:00
John Preston
e509da8fd8 Instantly mark as read visible new reactions. 2022-01-28 19:10:07 +03:00
John Preston
f6bfe2c9a8 Mark all reactions as read context menu. 2022-01-28 19:10:07 +03:00
John Preston
15719b73b4 Fix updating unread message reactions. 2022-01-28 19:10:07 +03:00
John Preston
8da9638563 Count correct scroll-for-message with unread reaction. 2022-01-28 19:10:07 +03:00
John Preston
a5afeebc0c Show reaction notification by unread status. 2022-01-28 19:10:07 +03:00
John Preston
9903266722 Index new unread reactions in history. 2022-01-28 19:10:07 +03:00
John Preston
8f33d5903d Display unread reactions badge in chats list. 2022-01-28 19:10:07 +03:00
John Preston
e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston
6207770120 Paint unread mention badge as an icon. 2022-01-28 19:10:07 +03:00
John Preston
2a99f1a1ef Add tabbed-panel-show-on-click option. 2022-01-28 19:10:07 +03:00
John Preston
4aafcebef5 Add empty experimental settings section. 2022-01-28 19:10:07 +03:00
John Preston
3a78e94f2f Don't downscale screen captured frame too much. 2022-01-28 19:10:07 +03:00
John Preston
b5aca56914 Fix pausing stickers in StickerSetBox. 2022-01-28 19:10:07 +03:00
John Preston
a6621233d0 Show first frame of webm in photo editor. 2022-01-28 19:10:07 +03:00
John Preston
b4eb25de58 Support webm stickers in StickerSetBox. 2022-01-28 19:10:07 +03:00
John Preston
d96a8d028a Support webm stickers in field autocomplete. 2022-01-28 19:10:07 +03:00
John Preston
f45c47f3d5 Limit inline results repainting rate. 2022-01-28 19:10:07 +03:00
John Preston
827ce46d3c Support webm stickers in bot inline results. 2022-01-28 19:10:07 +03:00
John Preston
91c84d63de Force libvpx_vp9 decoder for VP9 videos.
Webm stickers depend on decoder support for alpha channel.
2022-01-28 19:10:07 +03:00
John Preston
545392f90f Show webm stickers in media preview. 2022-01-28 19:10:07 +03:00
John Preston
fa61cf3c85 Show webm animation in stickers box set thumbnail. 2022-01-28 19:10:07 +03:00
John Preston
c359646702 Animate webm pack icon in the panel. 2022-01-28 19:10:07 +03:00
John Preston
51fef843f0 Optimize sets stickers / gifs panel repainting. 2022-01-28 19:10:07 +03:00
John Preston
1a3a0fb124 Fix caching of webm stickers in local storage. 2022-01-28 19:10:07 +03:00
John Preston
f1d9cca119 Fix crash and pause in stickers panel with webm. 2022-01-28 19:10:07 +03:00
John Preston
8e749173de Render webm stickers in StickersListWidget. 2022-01-28 19:10:07 +03:00
John Preston
20dbf18106 Init webm player for sticker set thumbnails. 2022-01-28 19:10:07 +03:00
John Preston
10ff71e8f6 Support svg path outline for Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
170cc77a1b Use QColor instead of optional<QColor> in lottie. 2022-01-28 19:10:07 +03:00
John Preston
589673e420 Fix non-sticker Webm in media viewer. 2022-01-28 19:10:07 +03:00
John Preston
2f9c39fe53 Support selecting Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
044c7f3ce9 Generate opaque good thumbnails for non-sticker Webm. 2022-01-28 19:10:07 +03:00
John Preston
d18e28978a Cache good thumbnail in Webp for Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
581b84afe0 Update API scheme on layer 138. 2022-01-28 19:10:07 +03:00
John Preston
846cabeda5 Premultiply YUVA alpha in FFMpegReaderImplementation. 2022-01-28 19:10:07 +03:00
John Preston
9b59ef00af Generate good video thumbnail for Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
079772a399 Correctly preserve first frame alpha in video streaming. 2022-01-28 19:10:07 +03:00
John Preston
2e39befd7c Don't trust AVFormatContext duration in Webm video.
It reports some strange numbers like 1000, which is 1ms.
2022-01-28 19:10:07 +03:00
John Preston
219ffd2c48 Handle clicks on Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
63d15e4479 Support Webm sticker display in chat history. 2022-01-28 19:10:07 +03:00
John Preston
2f01efdd64 Correctly detect Webm stickers. 2022-01-28 19:10:07 +03:00
John Preston
8b7d2c880e Support rendering Webm videos with alpha. 2022-01-28 19:10:07 +03:00
John Preston
1755ead681 Update API scheme to layer 138. 2022-01-28 19:10:07 +03:00
John Preston
1e1f7be708 Don't scroll reactions dropdown too fast.
Fixes #23985.
2022-01-28 19:08:44 +03:00
John Preston
7170bec25d Update scroll-history-to-bottom arrow icon. 2022-01-27 17:23:31 +03:00
John Preston
7ad1a7dd37 Fix userpics re-generating in message reactions. 2022-01-27 17:18:06 +03:00
John Preston
217e9b2475 Fix build with GCC. 2022-01-27 16:20:39 +03:00
John Preston
28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00
John Preston
b8f1cebeb6 Support confirm-on-Quit on macOS. 2022-01-26 14:50:10 +03:00
John Preston
6a3ad52aef Add upload cancel confirmation on Quit and Log Out. 2022-01-26 13:15:28 +03:00
John Preston
8c349c0515 Fix non-Retina spelling error underline on macOS. 2022-01-26 12:42:12 +03:00
John Preston
9038dfb3b8 Load more reactions per page after the first request. 2022-01-26 11:57:21 +03:00
John Preston
2e94488eb4 Fix possible crash in ListWidget destructor. 2022-01-26 10:40:22 +03:00
23rd
59ed41abfe Added ability to select links and monospaced text with pressed Alt key. 2022-01-26 10:39:57 +03:00
23rd
8bea6776f5 Replaced checking global key modifiers with qt adapters. 2022-01-26 10:34:38 +03:00
23rd
0143d22a21 Split qt_adapters to separated files. 2022-01-26 10:33:28 +03:00
23rd
021d0053be Fixed hiding spoilers in captions when switching sections. 2022-01-26 10:33:20 +03:00
Ilya Fedin
443ca0b390 Don't use BYPRODUCTS with appdata changelog
Due to recursive dependency
2022-01-25 18:25:58 +04:00
Ilya Fedin
2e0224589f Update cmake_helpers 2022-01-25 16:14:01 +04:00
Ilya Fedin
f8da59595a Fix appdata changelog target name 2022-01-25 16:14:01 +04:00
Ilya Fedin
e8568c6701 Set encoding when reading changelog for appdata 2022-01-25 16:14:01 +04:00
gasinvein
4ca3f6a1b3 Ensure appdata releases tag is replaced rather than added 2022-01-25 16:14:01 +04:00
John Preston
6af255923a Use generate_target for timestamped changelog generator. 2022-01-25 14:53:26 +03:00
Ilya Fedin
624d83dc60 Update cmake_helpers 2022-01-23 18:25:37 +04:00
Ilya Fedin
6073da2843 Disable libvpx unit tests in Dockerfile & prepare.py 2022-01-23 18:25:37 +04:00
Ilya Fedin
ca5d2c115d Update tg_owt 2022-01-23 18:25:37 +04:00
John Preston
86f3d88116 Fix build for Windows and Linux. 2022-01-23 12:23:31 +03:00
John Preston
7a971b5855 Fix build for Windows x64. 2022-01-23 10:17:15 +03:00
John Preston
0a7de3340a Revert submodules downgrade. 2022-01-23 10:07:41 +03:00
John Preston
2cb73eefeb Build docker for Linux with external libvpx. 2022-01-23 01:07:36 +03:00
John Preston
152aa06930 Qt patch with a possible work-through-proxy fix. 2022-01-23 00:54:41 +03:00
John Preston
cbca78ff63 Fix build with GCC. 2022-01-23 00:27:17 +03:00
John Preston
7c46b292ac Fix build with MSVC. 2022-01-23 00:26:16 +03:00
John Preston
883509903f Fix build with Xcode. 2022-01-22 23:27:13 +03:00
Ilya Fedin
37b2951058 Update submodules 2022-01-22 21:18:37 +04:00
Ilya Fedin
ceb323ac7c Use QMenuBar instead of own global menu implementation on Linux
This is another attempt of 79f96480c2
2022-01-22 21:18:37 +04:00
Ilya Fedin
b65d40a22b Get rid of custom SNI implementation
XDG is inventing new tray specification, so SNI will be outdated soon and it's better to just use QSystemTrayIcon.
I believe all the major drawbacks of QSystemTrayIcon are solved and we can live with minor ones.
Given the planned MainWindow refactoring, it seems it's the best time to do that.
2022-01-22 21:18:37 +04:00
John Preston
aed49b9289 Build FFmpeg with libvpx on macOS. 2022-01-22 19:51:00 +03:00
John Preston
72d81cc52f Build 32 bit Windows version with external_vpx. 2022-01-22 19:50:55 +03:00
c0re100
4bb3aec168 Fix incorrect admin log
Type: Restricted to Member
2022-01-22 18:43:43 +04:00
Ilya Fedin
c0a81f2428 Use the suggested workaround for qtwayland build arguments instead of patching 2022-01-22 18:42:59 +04:00
Ilya Fedin
692adacc2a Fix support icon on Linux when system icon is present 2022-01-22 18:39:53 +04:00
John Preston
26dbeb6831 Fix build with Xcode. 2022-01-22 16:42:38 +03:00
John Preston
07f72c20eb Change application icon only in support mode.
Fixes #23895.
2022-01-22 16:40:57 +03:00
John Preston
8407b0cccf Fix buffer double-delete in Images::Blur. 2022-01-21 16:01:16 +03:00
John Preston
3ff17a8789 Refactor image transformation interfaces. 2022-01-21 15:33:44 +03:00
John Preston
a9a6d8a568 Fix creating links containing '$'.
Regression was introduced in desktop-app/lib_ui@8331322c20.

Fixes #23921.
2022-01-21 15:32:45 +03:00
John Preston
9877845b9c Don't always enable screencast logs. 2022-01-21 15:32:45 +03:00
John Preston
dc89262461 Version 3.4.8.
- Nice animations in reactions.
- Add snap layouts support on Windows 11.
- Bug fixes and other minor improvements.
2022-01-19 19:12:22 +03:00
John Preston
a5425042cf Fix possible crash when update is ready.
Regression was introduced in 9a0be43ef5.
2022-01-19 19:03:19 +03:00
John Preston
d6e03c3e48 Fix possible crash with incorrect local time. 2022-01-19 19:03:19 +03:00
John Preston
e91eecf34f Fix possible crash in empty sticker set. 2022-01-19 19:03:19 +03:00
John Preston
1a8cc87e60 Fix reaction images on Retina screen. 2022-01-19 15:40:04 +03:00
John Preston
0863941642 Beta version 3.4.7.
- Fix a crash on launch on Windows.
2022-01-19 09:34:17 +03:00
John Preston
b331aee599 Fix a crash on Windows < 11. 2022-01-19 09:33:34 +03:00
John Preston
e19180cc86 Beta version 3.4.6: Fix build with Xcode. 2022-01-18 21:56:20 +03:00
John Preston
10cb891f48 Beta version 3.4.6.
- Add snap layouts support on Windows 11.
- Fix crash in drafts after accounts switching.
2022-01-18 21:47:13 +03:00
John Preston
c8f7a8c795 Add a tab with "Who Seen" to "Who Reacted" box. 2022-01-18 21:44:59 +03:00
John Preston
74a28ffdf7 Use correct string for reacted / seen item. 2022-01-18 19:55:24 +03:00
John Preston
ecedce0c2f Fix crash in drafts saving.
Regression was introduced in 43559fb6b7.
2022-01-18 19:05:31 +03:00
John Preston
bd4f993292 Add Windows 11 snap layouts to call / voicechat. 2022-01-18 18:39:55 +03:00
John Preston
4934b026d3 Improve call / voicechat title controls on Windows 11. 2022-01-18 15:53:04 +03:00
John Preston
11f183a79f Better animate sent reaction in flipped context. 2022-01-18 14:45:28 +03:00
John Preston
ae426a41e0 Better reaction layout outside of a bubble. 2022-01-18 14:37:14 +03:00
John Preston
d6edc3728d Workaround selection glitches on macOS. 2022-01-18 14:11:15 +03:00
John Preston
e121487170 Fix appear animation when sending a reaction in a group. 2022-01-18 13:09:42 +03:00
John Preston
72a093ec77 Support Windows 11 snap layouts in the main window. 2022-01-18 12:59:54 +03:00
John Preston
4996d90782 Fix first my reaction userpic in groups. 2022-01-17 21:29:28 +03:00
John Preston
9a451a1423 Don't suggest "Set As Quick" on already quick. 2022-01-17 19:21:34 +03:00
John Preston
4d11ad45db Use common title bar buttons in Call Panel. 2022-01-17 19:21:34 +03:00
John Preston
1657c2c7f2 Fix context menu on sent images / documents. 2022-01-17 19:21:34 +03:00
John Preston
c5e7048a3d Don't copy-on-click "pre" entities. 2022-01-17 16:49:14 +03:00
John Preston
1f194da2f0 Improve macOS title bar font and rounding. 2022-01-17 16:48:32 +03:00
John Preston
0954b04f24 Fix title controls on Windows 11. 2022-01-17 13:39:14 +03:00
John Preston
4659499340 Update window title icons. 2022-01-17 11:18:12 +03:00
John Preston
6eb4584408 Fix links before monospace formatting. 2022-01-17 10:51:35 +03:00
23rd
4ba4b77b95 Fixed formatting of text in entry of archived folder.
Fixed #23906.
2022-01-17 10:12:18 +03:00
John Preston
f9bf6dbc1e Beta version 3.4.5: Fix build with GCC. 2022-01-16 23:25:08 +03:00
John Preston
64b5269648 Beta version 3.4.5.
- Fix crash in monospace blocks processing.
- Fix reaction animations stopping after an hour uptime.
2022-01-16 22:57:01 +03:00
John Preston
f394cecf55 Fix crash in monospace blocks processing.
Fixes #23905.
2022-01-16 14:13:41 +03:00
23rd
8b56676c23 Fixed formatting of some internal links. 2022-01-16 14:13:12 +03:00
23rd
e2713ea627 Added ability to create formatted internal links. 2022-01-16 14:13:10 +03:00
John Preston
f5e50409d3 Add initial reaction bubble appear animation. 2022-01-16 14:11:50 +03:00
John Preston
050916a56a Fix userpics in more than one recent reaction. 2022-01-15 22:02:10 +03:00
John Preston
cdf36cc387 Fix reaction animations stopping after an hour uptime. 2022-01-15 12:38:47 +03:00
John Preston
f909a36cbd Beta version 3.4.4: Fix incorrect changelog metadata. 2022-01-15 06:29:19 +03:00
John Preston
1d36255ca5 Beta version 3.4.4: Fix build on Windows. 2022-01-14 23:41:27 +03:00
John Preston
acfdae2d72 Beta version 3.4.4: Fix build with GCC. 2022-01-14 22:57:13 +03:00
John Preston
ab59e97b92 Beta version 3.4.4.
- Nice animations in reactions.
2022-01-14 22:06:03 +03:00
John Preston
1060b04b1e Reacted users list on inline reaction right click. 2022-01-14 21:55:48 +03:00
John Preston
df044dbd83 Show local notifications about contact reactions. 2022-01-14 21:55:48 +03:00
John Preston
5eb210ec12 "Set As Quick" context menu in reactions dropdown. 2022-01-14 21:55:48 +03:00
John Preston
f24f78c0cc Use click handler property instead of dynamic cast. 2022-01-14 21:55:48 +03:00
John Preston
8a071fe1fe Respect reactions_default from appconfig. 2022-01-14 21:55:48 +03:00
John Preston
f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
John Preston
2dec1b72f7 Rename reactionBottom* to reactionInline* styles. 2022-01-14 21:55:48 +03:00
John Preston
604a827a52 Allow fast reaction revoke in private chats. 2022-01-14 21:55:48 +03:00
John Preston
3d8b303ab7 Implement parabolic reaction drop. 2022-01-14 21:55:48 +03:00
John Preston
2c599e60c3 Improve first reaction animation in group. 2022-01-14 21:55:48 +03:00
John Preston
928d8feb21 Improve clearing of reaction animations. 2022-01-14 21:55:48 +03:00
John Preston
490e688a91 Add reaction animations to comments. 2022-01-14 21:55:48 +03:00
John Preston
34c36d77c3 Paint reaction animations above everything. 2022-01-14 21:55:47 +03:00
John Preston
0ab26f0c82 Initial reaction effects implementation. 2022-01-14 21:55:47 +03:00
John Preston
db453ab7ae Allow slowing down Animations::Simple in debug build. 2022-01-14 21:55:47 +03:00
John Preston
e032dbf383 Cache reaction lottie in Window::SessionController. 2022-01-14 21:55:47 +03:00
John Preston
3b4ed03105 Image coords should be multiply devicePixelRatio.
I hope this fixes #17277.
2022-01-14 21:55:47 +03:00
John Preston
963694330d Correctly apply reaction restrictions. 2022-01-14 21:55:47 +03:00
John Preston
2733b12cff Improve popup menu dimensions. 2022-01-14 21:55:47 +03:00
John Preston
a377364621 Use correct sizes for lottie frames. 2022-01-14 21:55:47 +03:00
John Preston
58f4884deb Optimize dropdown overlay painting. 2022-01-14 21:55:47 +03:00
John Preston
c2c7a25487 Keep reaction media in memory. 2022-01-14 21:55:47 +03:00
John Preston
f98c08f4c6 Improve reaction scale animation. 2022-01-14 21:55:47 +03:00
John Preston
cfc2a959cf Implement nice dropdown collapse animation. 2022-01-14 21:55:47 +03:00
John Preston
6a1630a84c Paint gradients inside dropdown. 2022-01-14 21:55:47 +03:00
John Preston
a51be85199 Improve button and dropdown layout. 2022-01-14 21:55:47 +03:00
John Preston
e0fd5d8795 Fix reactions dropdown on Retina screen. 2022-01-14 21:55:47 +03:00
John Preston
8659f60b46 Good dropdown rounding and shadow. 2022-01-14 21:55:47 +03:00
John Preston
c43699fb43 Prepare for better clipping. 2022-01-14 21:55:47 +03:00
John Preston
c56a22c8d5 Play select animations in reactions. 2022-01-14 21:55:47 +03:00
John Preston
7f27ce6dee Scale reactions on mouse over. 2022-01-14 21:55:47 +03:00
John Preston
508ba4750c Show appear animations in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston
c0b19000d6 Use lottie instead of webp in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston
409a3357da Use lottie instead of webp in bottom info reactions. 2022-01-14 21:55:47 +03:00
John Preston
82523978c9 Use lottie instead of webp in Edit Chat Reactions. 2022-01-14 21:55:47 +03:00
John Preston
718ba2d0e3 Update API scheme to layer 137. 2022-01-14 21:55:47 +03:00
John Preston
2317dd8820 Update cmake_helpers submodule. 2022-01-14 21:55:47 +03:00
Hans Gaiser
df06f55c7f Use QT_QPA_PLATFORM if provided. 2022-01-14 21:58:43 +04:00
John Preston
d43853460e Update plasma-wayland-protocols to 1.6.0. 2022-01-13 19:37:22 +03:00
John Preston
28fee318d7 Update submodules. 2022-01-13 13:17:55 +03:00
23rd
1ec2ecac11 Fixed render of scene from photo editor for grayscaled images.
Fixed #23889.
2022-01-13 04:20:15 +03:00
23rd
7aa3956792 Fixed skip blocks for web pages and games. 2022-01-13 04:06:50 +03:00
Ilya Fedin
d349759618 Update cmake_helpers 2022-01-12 20:34:51 +03:00
Ilya Fedin
ac3e4fb42f Add missing openssl dependency for non-legacy tgcalls 2022-01-12 20:34:51 +03:00
Ilya Fedin
eccb01e5b5 Use ninja generator in snap 2022-01-12 20:34:51 +03:00
Ilya Fedin
7c8d10022f Use return to decrease indentation in cmake files 2022-01-12 20:34:51 +03:00
John Preston
f1244e19a1 Fix build for Windows. 2022-01-12 13:07:00 +03:00
John Preston
e17143dd8b Update lib_ui submodule. 2022-01-12 12:24:20 +03:00
23rd
39d5d3a1cf Moved some photo editor files to td_ui. 2022-01-12 11:54:25 +03:00
23rd
f8be5731a5 Moved out extracting of attached stickers from Scene to FileLoadTask. 2022-01-12 11:54:25 +03:00
23rd
ab248febcd Added ability to select text of question from polls.
Fixed #8713.
Fixed #17531.
2022-01-12 11:54:25 +03:00
23rd
d4afba3a24 Added ability to copy monospace text via click. 2022-01-12 11:54:25 +03:00
23rd
4ee9751feb Added ability to cancel selection in calendar box with Esc key. 2022-01-12 11:54:24 +03:00
23rd
46fb5ee1d2 Added Page Up / Down keys to calendar box. 2022-01-12 11:54:24 +03:00
23rd
749f837df5 Fixed Home and End keys in calendar box. 2022-01-12 11:54:24 +03:00
23rd
e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
23rd
e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd
2af3770b29 Moved special text command for lang tags to td_lang. 2022-01-12 11:54:24 +03:00
23rd
74f9d0935b Removed text commands from skip blocks. 2022-01-12 11:54:24 +03:00
23rd
f9c50fdc06 Removed text commands from theme preview. 2022-01-12 11:54:24 +03:00
23rd
1fa825321d Removed text commands from poll box. 2022-01-12 11:54:24 +03:00
23rd
d9147562e5 Removed text commands from profile cover. 2022-01-12 11:54:24 +03:00
23rd
5b569718ec Removed text commands from main menu. 2022-01-12 11:54:24 +03:00
23rd
a5d4746202 Removed text commands from overview layout for voices. 2022-01-12 11:54:24 +03:00
23rd
50d150302d Removed text commands from web pages. 2022-01-12 11:54:24 +03:00
23rd
e451eb5126 Removed text commands from dialogs list. 2022-01-12 11:54:24 +03:00
23rd
a626364430 Removed text commands from connection box. 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
23rd
d6801517bb Removed text commands from url auth box. 2022-01-12 11:54:24 +03:00
23rd
97dde7eb56 Removed text commands from Export::View::TopBar. 2022-01-12 11:54:24 +03:00
23rd
10df3dce7c Removed text commands from dialogs row. 2022-01-12 11:54:24 +03:00
23rd
889d7c0c15 Added undo and redo shortcuts to photo editor. 2022-01-12 11:54:24 +03:00
Ilya Fedin
799155279f Update kwayland and move its dependencies to ThirdParty to keep them in sync 2022-01-11 16:51:01 +03:00
Vitaly Zaitsev
10e7bd0d6e Updated XDG SPEC version to 1.5.
SingleMainWindow is a part of XDG SPEC version 1.5 and bogus on 1.0.

Co-authored-by: gasinvein <gasinvein@gmail.com>
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2022-01-11 10:37:44 +03:00
TheEvilSkeleton
0a99487091 Re-add X-GNOME-SingleWindow
`X-GNOME-SingleWindow` is best to be used for backward compatibility. Since `SingleMainWindow` was recently added, many Desktop Environments and Window Managers may not have it implemented yet.

This MR also moves `SingleMainWindow` before the `X-GNOME-*` keys, as requested in this comment: https://github.com/telegramdesktop/tdesktop/pull/23875#issuecomment-1008453759
2022-01-10 09:34:49 +03:00
Felipe Kinoshita
4965c19314 Change X-GNOME-SingleWindow key to SingleMainWindow
X-GNOME-SingleWindow was upstreamed to be an XDG spec with the name
"SingleMainWindow" in
https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/53
2022-01-09 09:50:50 +03:00
Ilya Fedin
30810e95f4 Log when DE is unknown 2022-01-08 10:59:47 +03:00
Ilya Fedin
a3d84f69ea fixup! Use more sources for DE detection 2022-01-08 10:45:13 +03:00
Ilya Fedin
b3bb1a537c Use more sources for DE detection 2022-01-08 09:55:34 +03:00
Ilya Fedin
726aa3316d Rework DE detection
Variables can point to a mixed environment, make DE detection non-exclusive.
Remove unused methods.
2022-01-07 19:14:59 +03:00
John Preston
ba6c3eaf73 Add dummy Platform::Integration on Linux. 2022-01-06 15:44:02 +03:00
John Preston
ebe45f3fa1 Fix selecting in expanded down dropdown. 2022-01-06 15:42:32 +03:00
John Preston
3f0fed19d8 Fix build for macOS. 2022-01-06 15:41:17 +03:00
John Preston
609cab6e2f Fix build with Xcode. 2022-01-06 15:41:12 +03:00
John Preston
7b3cb0c3dd Allow non-colored and .tgs Lottie::Icon-s. 2022-01-05 15:14:39 +03:00
John Preston
43559fb6b7 Fix crash in history switching. 2022-01-05 15:14:39 +03:00
John Preston
8788692fb3 Fix crash in sending a reaction. 2022-01-05 15:14:39 +03:00
Ilya Fedin
072e346324 Move libdl/libpthread handling to common_options 2022-01-05 13:18:08 +03:00
23rd
99f65ab5ec Migrated dependencies in Github CI for Windows. 2022-01-05 10:48:06 +03:00
John Preston
fe7b120003 Fix possible crash in dictionaries download.
Fixes #17258.
2022-01-05 01:04:38 +03:00
John Preston
cb8f86bc8d Attach main views to correct HistoryInner-s. 2022-01-05 00:11:29 +03:00
John Preston
18e6e2da9e Open specific chat only in one window. 2022-01-04 19:36:33 +03:00
John Preston
54247cd11b Create dialogs widget only in the primary window. 2022-01-04 16:44:53 +03:00
John Preston
8b0725650d Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
John Preston
20411be9bd Allow creating separate windows for peers. 2022-01-04 14:18:13 +03:00
github-actions[bot]
f4f36d85b9 Update copyright year to 2022. 2022-01-04 12:49:50 +04:00
John Preston
9f887237eb Remove a couple of unused lang keys. 2022-01-04 11:15:09 +03:00
GitHub Action
4e3f917a2c Update User-Agent for DNS to Chrome 96.0.4664.110. 2022-01-04 00:12:00 +03:00
John Preston
5c9c836857 Version 3.4.3: Fix build with GCC. 2022-01-04 00:01:56 +03:00
John Preston
31b7fe6ba0 Version 3.4.3.
- Bug fixes and other minor improvements.
2022-01-03 20:04:53 +03:00
John Preston
102c0a96ed Re-enable XWayland by default on GNOME.
Should fix #17457, fix #17468, fix #17476, fix #17477, fix #1747,
fix #17481, fix #17498.
2022-01-03 20:03:06 +03:00
John Preston
9a0be43ef5 Align reactions outside of the bubble. 2022-01-03 20:00:18 +03:00
John Preston
c1d948ef63 Reshuffle chat menus. 2022-01-03 18:16:19 +03:00
John Preston
9df229a230 Add pinned message icon.
Regression was introduced in 1af2cfe143.

Fixes #17489.
2022-01-03 18:15:36 +03:00
John Preston
a1c342c822 Leave only one style of the reaction button. 2022-01-03 15:30:17 +03:00
John Preston
c313cfb4ec Don't show empty context menu. 2022-01-03 14:47:05 +03:00
John Preston
8d4a658d0b Use mirrors for freedesktop.org repositories. 2022-01-03 14:14:26 +03:00
John Preston
86f53d3eff Fix crash after comments button destruction.
Regression was introduced in df66162bca.
2022-01-03 11:40:42 +03:00
John Preston
3cb89339c8 Version 3.4.2: Fix build for Mac App Store. 2021-12-31 23:40:36 +03:00
John Preston
ba98a8df32 Version 3.4.2: Fix build with GCC. 2021-12-31 23:32:53 +03:00
John Preston
f3faa52bc7 Version 3.4.2.
- Bug fixes and other minor improvements.
2021-12-31 18:03:25 +03:00
John Preston
3dac08d34f Move reaction button from fast share button. 2021-12-31 17:52:41 +03:00
John Preston
deba090cbd Allow smaller popup menus. 2021-12-31 17:52:17 +03:00
John Preston
5b01f9530b Fix reaction images loading. 2021-12-31 17:49:52 +03:00
John Preston
df66162bca Destroy comments button when switched off. 2021-12-31 17:31:03 +03:00
John Preston
d413080f83 Rebuild sets without restarting thumbnails. 2021-12-31 17:08:34 +03:00
John Preston
38ee57f852 Don't jump to top in StickersBox on stickersUpdated. 2021-12-31 16:50:43 +03:00
John Preston
c632316ad7 Fix updated sticker set thumbnail loading. 2021-12-31 16:40:01 +03:00
John Preston
bba7010e74 Show "View Message" button in sponsored. 2021-12-31 16:07:36 +03:00
John Preston
edf93b0031 Use different color for sponsored sender name. 2021-12-31 16:07:36 +03:00
John Preston
611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
John Preston
68886e1b61 Fix channel post views with replies counters. 2021-12-31 14:48:56 +03:00
John Preston
67319c1612 Version 3.4.1: Fix build with GCC. 2021-12-31 12:33:23 +03:00
John Preston
da8db0157f Version 3.4.1: Fix build without DBus. 2021-12-31 10:37:54 +03:00
John Preston
6188268afd Version 3.4.1.
- Bug fixes and other minor improvements.
2021-12-31 02:42:44 +03:00
John Preston
cd0db53bac For non-bubble messages reaction to the left of info. 2021-12-31 02:40:03 +03:00
John Preston
5bb90679a8 Attempt to fix a weird assertion violation. 2021-12-31 01:20:28 +03:00
John Preston
72df3a8f91 Don't show reaction button while selecting text. 2021-12-31 01:03:45 +03:00
John Preston
5fe2e649fb Attempt to fix a crash in reactions list view. 2021-12-31 00:59:29 +03:00
John Preston
9eba8ccc73 Always show reaction emoji in reactions view box. 2021-12-31 00:58:59 +03:00
John Preston
bb3c91aa44 Scale reaction images explicitly.
Fixes #17459.
2021-12-31 00:28:44 +03:00
John Preston
9f1268b6c8 Move kwayland-qt6 patch to kwayland build rule folder.
Fixes #17460.
2021-12-31 00:25:31 +03:00
John Preston
a6f1a1bd62 Fix bottom info with author signature.
Fixes #17464.
2021-12-30 23:57:12 +03:00
John Preston
1b2642b017 Fix spoilers with disabled animations.
Fixes #17458.
2021-12-30 23:38:28 +03:00
John Preston
e722645e7c Try to show the reaction button outside of the bubble. 2021-12-30 23:38:06 +03:00
John Preston
9486c266b5 Use context menu background for sticker reaction dropdown. 2021-12-30 23:36:52 +03:00
John Preston
dc21491099 Fix reactions icon in Manage Group / Channel. 2021-12-30 18:24:12 +03:00
John Preston
2f48bbd317 Version 3.4: Fix build with GCC. 2021-12-30 18:18:30 +03:00
John Preston
450f9ca91e Version 3.4: Update nimf submodule to clone fine on Windows. 2021-12-30 16:53:04 +03:00
John Preston
f86e2d98cc Version 3.4: Show mini-profiles from reactions overview. 2021-12-30 16:48:52 +03:00
John Preston
0cf85be86b Version 3.4.
- Send reactions to messages.
- Group and Channel admins can enable reactions in their chat
via '...' menu > Manage > Reactions.
- Select text when typing and choose 'Formatting > Spoiler' in
the context menu to hide some or all of the contents of a message.
- Click on the spoiler in chat to reveal its hidden text.
- Spoiler formatting hides text in chat,
as well as in the chat list and notifications.
2021-12-30 16:25:43 +03:00
John Preston
a15ef8bbc2 Check noforwards of specific messages in shared media. 2021-12-30 16:15:38 +03:00
John Preston
ecca60afe4 Some spoiler improvements. 2021-12-30 16:08:15 +03:00
John Preston
1ab0f840f3 Use reactions icon in context menu if more than 1 reaction type. 2021-12-30 16:08:15 +03:00
John Preston
3623fb1f9a Disable saveAs in media viewer if restricted. 2021-12-30 14:58:34 +03:00
John Preston
4cbfcc8dbc Disable reaction button on Call messages. 2021-12-30 14:33:11 +03:00
John Preston
90821428d3 Fix quick reaction button on Retina screens. 2021-12-30 14:33:11 +03:00
John Preston
c5468a1111 Fix spoilers in some cases. 2021-12-30 13:37:56 +03:00
John Preston
505ef04134 Show reaction button only when the cursor is over the message. 2021-12-30 13:37:39 +03:00
John Preston
f70c2adbdd Fix menu icons in proxy settings. 2021-12-30 13:37:17 +03:00
John Preston
2c20e7bb02 Beta version 3.3.2: Fix build with GCC. 2021-12-30 00:19:47 +03:00
John Preston
67fa58edc4 Beta version 3.3.2: One more attempt to fix macOS camera. 2021-12-30 00:02:21 +03:00
John Preston
43e1079969 Beta version 3.3.2.
- Select text when typing and choose 'Formatting > Spoiler' in the
context menu to hide some or all of the contents of a message.
- Click on the spoiler in chat to reveal its hidden text.
- Spoiler formatting hides text in chat,
as well as in the chat list and notifications.
2021-12-29 22:55:31 +03:00
John Preston
7b4354eb4a Fallback to QThreadPool if dispatch is unavailable. 2021-12-29 21:23:35 +03:00
John Preston
08b99b19c3 Fix crash in spoilers restoring. 2021-12-29 21:22:34 +03:00
John Preston
70658c6e65 Reactions under view button in the message bubble. 2021-12-29 21:22:34 +03:00
John Preston
c875f367e6 Add a semi-nice looking box with reactions overview. 2021-12-29 21:22:34 +03:00
23rd
3aacae2cb2 Added behavior to hide spoilers when switching sections. 2021-12-29 21:22:34 +03:00
John Preston
a381439e3e Show reactions in replies / pinned context menu. 2021-12-29 21:22:34 +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
71d52d26c3 Show react button and dropdown with a delay. 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
John Preston
a8bc7baa70 Update all messages in case of chat reactions toggle. 2021-12-29 21:22:34 +03:00
John Preston
ec16ca7df7 Poll reactions for visible messages. 2021-12-29 21:22:34 +03:00
John Preston
aafc24008b Apply reactions from message edit updates. 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
c40bcdc446 Added utility to correctly cut text with commands. 2021-12-29 21:22:34 +03:00
23rd
8b74dc2dec Added spoiler support to service messages. 2021-12-29 21:22:33 +03:00
John Preston
1d2065e4ef Fix reactions geometry for round videos. 2021-12-29 21:22:33 +03:00
John Preston
830a338082 Sort reactions in bubbles correctly. 2021-12-29 21:22:33 +03:00
John Preston
4228557722 Improve reactions position and colors. 2021-12-29 21:22:33 +03:00
John Preston
38c296b69f Remove test image-patterned message backgrounds. 2021-12-29 21:22:33 +03:00
John Preston
948dd7d545 Fix emoji in the input field with Qt 6.2.2. 2021-12-29 21:22:33 +03:00
John Preston
26827a5043 Fix build with Qt 6. 2021-12-29 21:22:33 +03:00
John Preston
a7c93a9421 Support patterned reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston
95e003153a Implement inline reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston
54f5b47585 Fix crash in reactions sending. 2021-12-29 21:22:33 +03:00
23rd
ec1511e0c9 Fixed focus when switching between accounts. 2021-12-29 21:22:33 +03:00
John Preston
b396d6e836 Start from-reaction-button dropdown. 2021-12-29 21:22:33 +03:00
23rd
022249f235 Fixed build on non-Windows. 2021-12-29 21:22:33 +03:00
23rd
fa4d1d72c4 Added animation for spoilers in sections. 2021-12-29 21:22:33 +03:00
23rd
938aa5d577 Added spoiler support to system notifications. 2021-12-29 21:22:33 +03:00
23rd
baca36e715 Added chat invites support to sponsored messages. 2021-12-29 21:22:33 +03:00
23rd
4252066cf6 Added spoiler support to export. 2021-12-29 21:22:33 +03:00
23rd
1cca4d71bd Provided spoiler info to preview text. 2021-12-29 21:22:33 +03:00
23rd
a027a02130 Provided spoiler info to notification text. 2021-12-29 21:22:33 +03:00
23rd
90dedb7b70 Added spoiler support to input field. 2021-12-29 21:22:33 +03:00
23rd
52699ccfc2 Added new colors to text palette for spoilers. 2021-12-29 21:22:33 +03:00
23rd
f2c7237d5f Moved item preview structs to separated file. 2021-12-29 21:22:33 +03:00
John Preston
79a09a4510 Show latest reacted in context menu. 2021-12-29 21:22:33 +03:00
John Preston
fe468ce7e9 Respect can_see_list flag in reactions. 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
6f2bb43505 Fix temporary reaction selector on Retina screens. 2021-12-29 21:22:33 +03:00
John Preston
a550b73e2c Move "who read" context menu item to the bottom. 2021-12-29 21:22:33 +03:00
John Preston
a5caebe890 Toggle reactions by the button. 2021-12-29 21:22:33 +03:00
John Preston
2991c3c17f Toggle reactions from the list under the message. 2021-12-29 21:22:33 +03:00
John Preston
b5edaf4c23 Fix layout of reactions in files / contacts. 2021-12-29 21:22:33 +03:00
John Preston
ad1476e80f Return reading proper noforwards value. 2021-12-29 21:22:33 +03:00
John Preston
6f8c9f65cf Optimize small emoji image caching and painting. 2021-12-29 21:22:33 +03:00
John Preston
4050866b3b Nice reactions design in private chats. 2021-12-29 21:22:33 +03:00
John Preston
2a3cf8ac58 Implement (sub-optimal) painting of reactions in groups. 2021-12-29 21:22:33 +03:00
John Preston
710ef43e41 Update API scheme on layer 136. 2021-12-29 21:22:33 +03:00
John Preston
51e96bf074 Support reaction button with gradient bubbles. 2021-12-29 21:22:33 +03:00
John Preston
68d45a2c08 Show / hide reactions selector. 2021-12-29 21:22:33 +03:00
John Preston
35378e717a Handle click on the reaction once again. 2021-12-29 21:22:33 +03:00
John Preston
b108e93092 Keep reaction visible if mouse is over it. 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
9c18f7b0e3 Allow choosing allowed reactions in groups / channels. 2021-12-29 21:22:33 +03:00
John Preston
bfdbb64295 Move some Settings icons to a subfolder. 2021-12-29 21:22:33 +03:00
John Preston
b773bb6e70 Add icons to the media viewer menus. 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
535fd8d523 Display reactions outside bottom info in groups. 2021-12-29 21:22:33 +03:00
John Preston
3aacd15ef2 Use HistoryView::Object in BottomInfo. 2021-12-29 21:22:33 +03:00
John Preston
57cb921bb9 For testing show self reaction in bold. 2021-12-29 21:22:33 +03:00
John Preston
b1668afdf1 Use available reactions list from the server. 2021-12-29 21:22:33 +03:00
John Preston
be74f8f2bc Fix sponsored messages badge with BottomInfo. 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
b5d80a3c15 Improve BottomInfo layout. 2021-12-29 21:22:33 +03:00
John Preston
2b0cd2a611 Fix refreshing bottom info. 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
3a43217301 Show reactions in messages. 2021-12-29 21:22:32 +03:00
John Preston
f5c7b206bb Track message reactions. 2021-12-29 21:22:32 +03:00
John Preston
a1439163ce Update API scheme to layer136. 2021-12-29 21:22:32 +03:00
Klemens Nanni
32473b2908 Remove unused variable
Unused since c79cd0b692
"Use Images::Read instead of App::readImage."
2021-12-29 20:16:04 +03:00
Klemens Nanni
078a2af385 Fix -Wunused-const-variable warnings under DESKTOP_APP_DISABLE_DBUS_INTEGRATION
OpenBSD builds without dbus integration (for now);  this fixes the warnings.
Those variables have been introduced in multiple commits.
2021-12-29 20:16:04 +03:00
Klemens Nanni
b61250e101 Remove unused variables
Not used anymore since 29c0956d61
"Always try to play video in voice chats.".
2021-12-29 20:16:04 +03:00
Ilya Fedin
f90fb6c80c Update cmake_helpers 2021-12-29 17:27:23 +03:00
Ilya Fedin
cbd0469042 Update statusnotifieritem 2021-12-29 17:27:23 +03:00
Ilya Fedin
a49feca281 Update submodule libraries 2021-12-29 17:27:23 +03:00
Ilya Fedin
641583b434 Update libraries in Dockerfile & snapcraft.yml 2021-12-29 17:27:23 +03:00
Ilya Fedin
9506093cbd Remove unused submodules 2021-12-29 17:27:23 +03:00
Ilya Fedin
ffe4208595 Implement loop status/shuffle for MPRIS 2021-12-29 00:56:46 +04:00
k1ee
4c3835c61c Use https:// not git:// to clone.
git:// is not going through proxy.
2021-12-28 15:26:42 +04:00
Nate Graham
dad1f196ba Mark as single-instance using X-GNOME-SingleWindow key
Telegram is a single-instance app; attempting to open a second instance
fails and simply focuses the existing instance. However the app's
.desktop file does not indicate this to Linux desktop shells like GNOME
and KDE Plasma, causing them to show a "Start new instance/Open new
window" action for the app that will not work when used.

This commit fixes that by setting `X-GNOME-SingleWindow=true` in the
desktop file. This is a GNOME-specific key, but it is honored in KDE
Plasma too.
2021-12-27 17:47:48 +04:00
John Preston
8aa2f56717 Specify exact FFmpeg revision. 2021-12-23 00:07:26 +00:00
John Preston
ede4c0f781 Beta version 3.3.1.
- Switch between contacts list sorting modes.
- Sort contacts list by last seen time by default.
- Fix disappearing Send As Channel button after message editing.
- Fix file upload cancelling.
- Fix crash in video capture on macOS.
- Fix labels in the About box.
- Use Qt 6.2.2 for macOS and Linux builds.
- Allow installing x64 Windows version on Windows ARM.
2021-12-23 00:07:26 +00:00
John Preston
75337ad1c2 Fix shared media list in migrated groups. 2021-12-23 00:07:26 +00:00
John Preston
e05b2f3b38 Fix build on Linux. 2021-12-22 17:32:35 +00:00
John Preston
0f15adb208 Sort contacts by last seen by default.
Fixes #5515.
2021-12-22 15:14:16 +00:00
John Preston
a7e552ccab Fix assertion violation in media overview.
Regression was introduced in 5e7e7eaa83.
2021-12-22 13:05:54 +00:00
John Preston
797433ebe9 Fix disappearing Send As Channel button.
Fixes #17359.
2021-12-22 12:32:09 +00:00
John Preston
633532b88d Fix build on Windows. 2021-12-22 11:47:17 +00:00
John Preston
a0dcade9d8 Remove redundant freedesktop.org.xml. 2021-12-22 10:42:32 +00:00
John Preston
2a0babe5ab Fix file upload cancelling.
Fixes #17408.
2021-12-22 10:34:00 +00:00
23rd
dd92f7fb9d Slightly refactored AddContactBox. 2021-12-22 10:27:43 +00:00
John Preston
7ad08b3ef8 Update submodules. 2021-12-22 10:23:54 +00:00
John Preston
73917e8a4b Re-apply crash fix on macOS video capture. 2021-12-22 10:17:50 +00:00
Ilya Fedin
dc7aef3f86 Move HFLAGS to other variables in Dockerfile 2021-12-22 14:15:48 +04:00
Ilya Fedin
d89597bf64 Activate crl dispatch backend on Linux
Linux is the only platform where slow QThreadPool is used, let's use dispatch here as well
2021-12-22 14:15:48 +04:00
Magnus Groß
c2b2d0a92a Do not destroy drag after launchDrag()
On X11 we need to keep the QDrag around a little longer.

Right now, drag is scoped local to launchDrag() and will be destroyed
immediately when launchDrag() finishes. However for X11 we must keep the
drag object alive a little longer. It may only be destroyed once the
drag operation has been accepted by another window, otherwise drag and
drop is broken on Linux and no action happens when something is dragged
from Telegram into another window.

This is because there is still communication happening in the XDND
protocol once QDrag::exec() finishes. See the documentation for
reference: https://freedesktop.org/wiki/Specifications/XDND/

Fixes #17291
2021-12-22 14:15:36 +04:00
John Preston
b341dddbb9 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:31 +00:00
John Preston
999e4264c5 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:29 +00:00
John Preston
aee11469c4 Fix crash in video capture on macOS.
Fixes #17420.
2021-12-22 10:11:57 +00:00
John Preston
651cfe5b7e Fix about box text labels layout. 2021-12-22 10:11:57 +00:00
John Preston
a34b2a5472 Fix build with DESKTOP_APP_USE_PACKAGED_RLOTTIE. 2021-12-22 10:11:57 +00:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
Ilya Fedin
a8f05a01ed Build kwayland as external project
This will simplify packaged Qt 6 build
2021-12-22 14:09:32 +04:00
Ilya Fedin
fedd21b0a6 Use QFontMetrics::height in PreLaunchWindow 2021-12-22 14:08:22 +04:00
Ilya Fedin
7ff7473db6 Auto-check for many instance
This option was invented when single instance check wasn't adapted for -workdir. Now, -workdir can work without -many and this option is redudant, but auto-update prevention is helpful. Let's autodetect whether the binary is already running with a lock file.
2021-12-22 14:07:22 +04:00
Vitaly Zaitsev
d89aab08bf Fixed build against OpenSSL 3.0.
Deprecated function FIPS_mode_set() was removed in OpenSSL 3.0.

Switched to EVP_default_properties_enable_fips() as described in OpenSSL
3.0 migration guide.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2021-12-19 16:35:13 +04:00
Ilya Fedin
b2fb5424ed Get rid of deprecated OpenSSL <1.1 functions 2021-12-16 13:05:53 +04:00
John Preston
e7e34d50ba Fix building on Windows. 2021-12-14 16:27:57 +04:00
John Preston
19320cc5d8 Fix dependencies build on M1. 2021-12-14 11:33:59 +04:00
k1ee
107a87c7ce Add support to build on M1 Mac
On M1 mac, some dependencies build two `arm64` builds and makes `lipo` fail.
2021-12-14 11:32:13 +04:00
RadRussianRus
2cb1d2c0bc Removed explicit definition of cmake generator
Even though TDesktop build migrated to VS 2022, dependencies script still had "Visual Studio 16 2019" for mozjpeg and openal-soft as a generator. Removing these lines allows to use latest Visual Studio without changing the script.
2021-12-13 14:26:05 +04:00
Ilya Fedin
48ab88a9ca Don't use QPlatformNativeInterface for native window handle on Windows 2021-12-13 14:24:34 +04:00
Ilya Fedin
33b7ac209e Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt 2021-12-13 14:24:34 +04:00
Ilya Fedin
4a0ffdc9f5 Result binary shouldn't be in bin subfolder with any generator on macOS
Since MACOSX_BUNDLE is used
2021-12-11 07:29:02 +04:00
Ilya Fedin
1ec2c16d27 Fix path to result binary in Linux action 2021-12-11 07:29:02 +04:00
John Preston
4b03fd0f23 Version 3.3: Fix build with GCC. 2021-12-08 08:35:03 +04:00
John Preston
9f117cd680 Version 3.3: Update submodules. 2021-12-07 16:29:38 +04:00
John Preston
f6d29991d6 Version 3.3.
- Content creators can restrict the ability to save media
and forward messages from their groups and channels.
- Clear messages in one-on-one chats from a specific day or date range.
- Comment as one of your channels in public groups and channel comments.
- When you request to join a community and its admin
or bot-admin contacts you with a message,
you will see which chat they are from at the top of the chat.
- Bot-admins can now ask users to complete tasks
before they are allowed to join - like accepting community rules,
passing a test, or making a donation to the content creators.
2021-12-07 15:52:33 +04:00
John Preston
1a0d430291 Fix crash in admin log right click.
Fixes #17325.
2021-12-07 15:42:30 +04:00
John Preston
e3b9927faa Reset session on receiving a really old msgId. 2021-12-07 10:05:41 +04:00
John Preston
d199e16a6e Load cloud image without active view only once. 2021-12-07 10:01:56 +04:00
John Preston
01c2be3f01 Add some checks for actions in a locked state. 2021-12-07 10:01:56 +04:00
Ilya Fedin
6db537d1ec Rename telegramdesktop.appdata.xml -> telegramdesktop.metainfo.xml
.appinfo.xml is legacy according to https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2021-12-06 11:53:28 +04:00
John Preston
e708b2d39c Move some icons, fix verified check scaling. 2021-12-03 15:30:40 +04:00
John Preston
ebd9587821 Fix admin ranks in participants edit. 2021-12-03 15:02:45 +04:00
John Preston
9e5117d336 Respect autodownload settings in reply previews. 2021-12-03 14:59:08 +04:00
John Preston
1c2ea8d84a Fix semi-transparent inline result thumbnails. 2021-12-02 16:03:13 +04:00
John Preston
235484b719 Fix saving group type without changing username. 2021-12-02 15:26:58 +04:00
John Preston
b9ea5718a2 Fix "about request admin panel" box hiding. 2021-12-02 15:00:27 +04:00
John Preston
db0c57a186 Fix reply-to-media timestamps in captions. 2021-12-02 14:42:50 +04:00
John Preston
0fa458737a Fix shared media loading. 2021-12-02 13:54:30 +04:00
John Preston
caaeff32c5 Move global privacy setting down. 2021-12-02 13:36:49 +04:00
John Preston
c4c234f0d3 Pass FilterId to pinnedIndexChanged. 2021-12-02 13:36:49 +04:00
John Preston
894e7c5828 Fix imported messages without a sender name. 2021-12-02 13:36:49 +04:00
John Preston
afcebb136c Don't use MTP for PeerData::isSelf. 2021-12-02 13:36:49 +04:00
Ilya Fedin
8592326a3c Revert "Use kernel accelerated sendfile to copy files on Linux"
This reverts commit 34534a9653.
2021-12-02 09:15:23 +04:00
John Preston
0b308aebb2 Beta version 3.2.8.
- Fix crash in opening shared media with another user.
2021-12-01 13:29:53 +04:00
John Preston
f7ec60b958 Fix crash in opening shared media with another user. 2021-12-01 13:29:19 +04:00
GitHub Action
7b4bc64191 Update User-Agent for DNS to Chrome 96.0.4664.45. 2021-12-01 13:26:23 +04:00
Ilya Fedin
5c91506723 Update tg_owt in snap 2021-12-01 07:39:03 +04:00
Ilya Fedin
e5ee665fa4 Add support for webkit2gtk-5.0 and webkit2gtk-4.1 2021-12-01 07:39:03 +04:00
John Preston
60a95df652 Beta version 3.2.7.
- Active sessions list redesign.
- Fix disappearing emoji selector button.
- Fix a crash in archived stickers loading.
- Fix a crash in calls to old Telegram versions.
2021-11-30 22:43:22 +04:00
John Preston
28eb2f1a91 Return terminate session button to the list. 2021-11-30 21:08:15 +04:00
John Preston
168711b352 Use PeerList for sessions list (wip). 2021-11-30 20:44:15 +04:00
John Preston
7bf557971e Fix "Send As" button on Retina screens. 2021-11-30 20:19:23 +04:00
John Preston
40330afbd3 Use distinct strings for groups / channels noforwards. 2021-11-30 18:09:06 +04:00
Ilya Fedin
0f0ade54a7 Update lock-threads bot to v3 2021-11-30 17:58:00 +04:00
Ilya Fedin
899de8a359 Use default values for daysUntilClose and closeComment arguments of no-response bot
The current closeComment follows the default comment anyway and it seems the default value of daysUntilClose (14 days) would be fine
2021-11-30 17:58:00 +04:00
John Preston
fa32151391 Add distinct strings for groups / channels noforwards. 2021-11-30 17:56:46 +04:00
23rd
9706b84409 Slightly refactored api_bot. 2021-11-30 17:38:22 +04:00
23rd
77d1d9bd3a Moved out getting of phone pattern groups from PhoneInput fields. 2021-11-30 17:38:17 +04:00
23rd
d218b76efe Removed MTP::Error from migrating chat. 2021-11-30 17:38:12 +04:00
23rd
0dfb77435d Slightly refactored add_contact_box. 2021-11-30 17:38:03 +04:00
23rd
69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
23rd
287a35d208 Removed MTP* from PrePasswordErrorBox. 2021-11-30 17:36:54 +04:00
John Preston
0c3b289af9 Add floating dates to CalendarBox selecting mode. 2021-11-30 17:36:37 +04:00
John Preston
5309af5d56 Restrict shared media selection in noforward chats. 2021-11-30 16:26:47 +04:00
John Preston
1d1fa5f98b Improve session details box design. 2021-11-30 16:06:41 +04:00
John Preston
92e398e0b7 Support new skin color modifiers in rlottie. 2021-11-30 16:05:52 +04:00
John Preston
47074b48d6 Improve sessions list design. 2021-11-30 13:44:31 +04:00
John Preston
94bec3b574 Fix crash in archived stickers loading.
Fixes #17297.
2021-11-30 09:29:28 +04:00
John Preston
234ff3ba37 Add some resources for sessions redesign. 2021-11-29 18:05:49 +04:00
John Preston
d4c6475ae8 Show sessions list in a Settings Section. 2021-11-29 17:30:14 +04:00
Ilya Fedin
2ad20d6c4a Instantiate a local dbus server for webview IPC 2021-11-29 16:23:51 +04:00
John Preston
bd0e4c0075 Backport fix for empty bus name to glibmm patch. 2021-11-29 16:21:07 +04:00
John Preston
09bed4989b Cherry-pick a crash-fix patch for Qt 6.2. 2021-11-29 15:59:48 +04:00
John Preston
2eb64e051b Don't start animations from QEvent::Enter.
The enter/leave events may be sent from ~QWidget() and if we start
animating something with grabbing of widgets it crashes sometimes.
2021-11-29 15:56:50 +04:00
John Preston
03775e0cc5 Allow to ban channels in groups from moderate actions. 2021-11-29 15:24:30 +04:00
John Preston
fc4cdd4482 Fix crash in legacy calls with new WebRTC. 2021-11-29 15:24:08 +04:00
John Preston
16232c0a4a Open channel profile from message sender click. 2021-11-29 14:54:31 +04:00
John Preston
3c0f80719e Don't show playlist with mouse over controls. 2021-11-29 11:11:38 +04:00
John Preston
c153cdc70e Change volume by wheel events on volume icon. 2021-11-29 11:11:16 +04:00
John Preston
07dfe88d62 Fix player controls with animations disabled. 2021-11-29 10:25:55 +04:00
John Preston
453ce1bff9 Beta version 3.2.6: Fix build on Linux. 2021-11-29 09:49:40 +04:00
John Preston
5afcd47ab0 Beta version 3.2.6: Update tg_owt revision in Dockerfile. 2021-11-29 09:47:47 +04:00
John Preston
abc40f7e43 Beta version 3.2.6: Add logs for scroll on Linux. 2021-11-29 09:47:47 +04:00
John Preston
f2915064b5 Fix "Send As" list refresh on admin anonymity change. 2021-11-29 09:24:38 +04:00
John Preston
8460a62588 Don't show "Send As" button when editing a message.
Fixes #17302.
2021-11-28 16:37:11 +04:00
John Preston
27e80b8e42 Fix crash in inconsistent local send as peer data. 2021-11-28 16:26:34 +04:00
John Preston
133f64f370 Fix disappearing emoji selector button. 2021-11-28 15:45:16 +04:00
John Preston
feb1e9c4af Beta version 3.2.6: Disable LTO in 64 bit Windows build. 2021-11-27 21:37:01 +04:00
John Preston
6850cc5ab4 Beta version 3.2.6: Fix build in Release on macOS. 2021-11-27 10:20:59 +04:00
John Preston
9360f1f970 Beta version 3.2.6: Fix build on macOS. 2021-11-26 23:51:47 +04:00
John Preston
57340f9514 Beta version 3.2.6.
- Try out the new audio player with playlist shuffle and repeat.
- Give a custom name to your desktop session
to distinguish it in the sessions list.
2021-11-26 23:06:39 +04:00
Ilya Fedin
4e63346877 Use AL_REMIX_UNMATCHED_SOFT enum value instead of hard-coded value
This makes the feature require version 1.21.0, previously was 1.20.1
2021-11-26 18:48:35 +04:00
Ilya Fedin
f69d0823a9 Get rid of oal-soft specific alext.h include 2021-11-26 18:48:35 +04:00
Ilya Fedin
02ae541246 Get rid of unnecessary udev in docker image 2021-11-26 18:29:03 +04:00
Ilya Fedin
8fda1169e5 Get rid of Platform::MainWindow::psLinux* 2021-11-26 18:28:37 +04:00
Ilya Fedin
53305f5f46 Fix paste check in Linux global menu 2021-11-26 18:28:37 +04:00
John Preston
75fc88d679 Use VS 2022 with 10.0.22000.0 SDK version. 2021-11-26 18:13:58 +04:00
John Preston
8264968718 Use cloud "disable calls" settings instead of local. 2021-11-26 18:04:03 +04:00
John Preston
598cec8a9d Show session details on click. 2021-11-26 18:00:22 +04:00
John Preston
f3e1aef264 Allow editing sessions auto-termination period. 2021-11-26 18:00:22 +04:00
John Preston
fe4bb19358 Improve custom device name input design. 2021-11-26 18:00:22 +04:00
John Preston
07ba84c857 Fix requesting bots list in megagroup. 2021-11-26 18:00:22 +04:00
John Preston
0f443da758 Track noforwards flag in specific messages. 2021-11-26 18:00:22 +04:00
John Preston
886ff7de50 Fix different colors in active emoji icon. 2021-11-26 18:00:22 +04:00
John Preston
5cb5e3cc22 Use similar dropdown for playback speed. 2021-11-26 18:00:22 +04:00
John Preston
82e150a27e Improve device model name handling. 2021-11-26 18:00:22 +04:00
John Preston
c947586091 Add reverse / shuffle options dropdown. 2021-11-26 18:00:22 +04:00
John Preston
eb6afdf438 Fix build on Windows. 2021-11-26 18:00:22 +04:00
John Preston
b634ebab78 Update API scheme on layer 135. 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
c65468f270 Added new class Api::ChatParticipant. 2021-11-26 18:00:22 +04:00
23rd
503814ad4e Slightly refactored Api::ChatParticipants. 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
3271cdf251 Removed duplicated MTP* rights generation. 2021-11-26 18:00:21 +04:00
23rd
0eee937e6d Moved ChatRestrictionsInfo and ChatAdminRightsInfo 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
551e1f787c Move volume dropdown management to audio player. 2021-11-26 18:00:21 +04:00
John Preston
cdf09e0519 Use composition for playbackSpeed button. 2021-11-26 18:00:21 +04:00
John Preston
4b489ee7d2 Fade out controls in a narrow player. 2021-11-26 18:00:21 +04:00
John Preston
ca61b80fe5 Update audio player icons. 2021-11-26 18:00:21 +04:00
John Preston
aef37be3d0 Move box divider colors to the palette. 2021-11-26 18:00:21 +04:00
John Preston
96c86b3e49 Update API scheme on layer 135. 2021-11-26 18:00:21 +04:00
John Preston
38367dc1c7 Allow repeat all in shuffle mode. 2021-11-26 18:00:21 +04:00
John Preston
7ef78ba6c9 Fix contact status buttons display. 2021-11-26 18:00:21 +04:00
John Preston
433169626b Fix restarting shuffled playlist. 2021-11-26 18:00:21 +04:00
John Preston
5cd339332c Implement shuffled playlist. 2021-11-26 18:00:20 +04:00
John Preston
d1b9785d31 Allow deleting all from a channel to a group. 2021-11-26 18:00:20 +04:00
John Preston
a7c9a1ab34 Fix chats list forwarded messages sender. 2021-11-26 18:00:20 +04:00
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
Ilya Fedin
55e44e3675 Use GCC 10 in GH action 2021-11-18 20:32:52 +04:00
Ilya Fedin
dc8aefd7ad Use GCC 10 in snap 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
Ilya Fedin
80fe3d732a Try to fix snap store upload 2021-11-16 18:06:25 +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
Ilya Fedin
1e60eb1894 Adjust snap permissions
Due to the removal of beariers, network-manager-observe shouldn't be needed anymore.
hardware-observe is needed for DeviceModelPretty, though.
Added systemd to stage-packages for calling systemd-detect-virt.
pulseaudio is a legacy interface, audio-playback and audio-record replace it.
2021-11-06 10:28:28 +04:00
John Preston
af93d7cc97 History::createItem returns not_null. 2021-11-06 00:36:16 +04:00
Ilya Fedin
0e6e263a7b Use epoxy in snap 2021-11-05 19:41:03 +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
589ddb7b22 Add network reachability plugin on macOS. 2021-11-02 11:16:54 +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
7e9302fce8 Try linking with -z,now on Linux once again. 2021-11-02 09:43:20 +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
Ilya Fedin
b36fce31d5 Add missing libSM and libICE to snap 2021-10-30 21:46:48 +04: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
05efc925f8 Fix CMake warning when running on Windows. 2021-10-30 15:03:45 +04:00
23rd
06c9cac2e4 Updated Qt license. 2021-10-30 14:20:20 +04:00
Ilya Fedin
4b33d7cb2f Fix Qt dependencies in snap
Qt uses libOpenGL and libGLX instead of libGL now
2021-10-30 14:02:37 +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
Ilya Fedin
e42f08f08d Switch snap to Qt 6 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
John Preston
b4895ef730 Allow to accept / reject requests by link. 2021-10-29 18:31:06 +04:00
John Preston
9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
John Preston
3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
John Preston
e471d61d7a Enable ads leading to a specific channel post. 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
John Preston
66a83d3862 Update build script for macOS. 2021-10-29 18:29:29 +04:00
John Preston
ad9d15dd21 Remove debug code from resource loading. 2021-10-29 17:42:57 +04:00
John Preston
f204b9fca0 RegisterBundledResources only on macOS. 2021-10-29 17:42:57 +04:00
John Preston
a3e3bcd46d Fix repeated phoneCallRequested update handling. 2021-10-29 17:42:57 +04:00
John Preston
c693b03a64 Update breakpad build in Windows CI. 2021-10-29 17:42:57 +04:00
John Preston
31f15a2f09 Beta version 3.1.10.
- Native support for M1 on macOS.
2021-10-29 16:11:15 +04:00
John Preston
45b5e1241c Show device model in sessions list on Windows / Linux. 2021-10-29 16:11:15 +04:00
John Preston
43d42b54f8 Closed alpha version 3.1.9.5: Separate macOS updates. 2021-10-29 16:10:07 +04:00
John Preston
090277d7a1 Upload a separate macOS ARM update. 2021-10-29 16:10:07 +04:00
John Preston
766b393295 On macOS build autoupdates single-arch + universal setup. 2021-10-29 16:10:07 +04:00
John Preston
b2d647b579 Add support for fcitx-qt5 on Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston
1ed6844247 Use Qt resources from a file on macOS. 2021-10-29 16:10:07 +04:00
John Preston
5276e5b4ae Build minidump_stackwalk separately.
On macOS gyp is no longer required for non-official builds.
2021-10-29 16:10:07 +04:00
John Preston
6587f89db1 Update Breakpad to the latest commit. 2021-10-29 16:10:07 +04:00
John Preston
fb262b265b Link a single crashpad_client library. 2021-10-29 16:10:07 +04:00
John Preston
95074ef304 Closed alpha version 3.1.9.2 for macOS. 2021-10-29 16:10:07 +04:00
John Preston
4ac93806aa Fix emoji in the input fields on macOS with Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston
92b3149cdd Pass CMAKE_OSX_ARCHITECTURES from command line to configure. 2021-10-29 16:10:07 +04:00
John Preston
98c87d4a16 Dump symbols for both macOS builds. 2021-10-29 16:10:07 +04:00
John Preston
9a93d5811a Closed alpha version 3.1.9.1: Universal 2 macOS build. 2021-10-29 16:10:07 +04:00
John Preston
759e3270cc Fix popup menu transparency on macOS with Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston
746b72166f Fix main window drag-by-title on macOS with Qt 6.2. 2021-10-29 16:10:07 +04:00
John Preston
0292df12ef Working Universal 2 build. 2021-10-29 16:10:07 +04:00
John Preston
1e86c07505 Build FFMpeg as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston
47b6956be9 Update crashpad to a new revision. 2021-10-29 16:10:07 +04:00
John Preston
df8708ef1e Build some dependencies as Universal 2 binaries. 2021-10-29 16:10:07 +04:00
John Preston
20c0be0df6 Use python from a correct folder. 2021-10-29 16:10:07 +04:00
23rd
cefdc29a7f Fixed release build of Breakpad on clean macOS. 2021-10-29 16:10:07 +04:00
23rd
70e9b4a332 Moved type of call id to alias. 2021-10-29 16:10:07 +04:00
23rd
08939ac51d Fixed display of edit badge in albums. 2021-10-29 16:10:07 +04:00
23rd
b5d9947408 Slightly improved code style in Calls:Call. 2021-10-29 16:10:07 +04:00
23rd
78f0cf908e Moved RateCallBox to td_ui. 2021-10-29 16:10:07 +04:00
23rd
93ae5e71f7 Guarded timers for online processing in touchbar's PinnedDialogButton. 2021-10-29 16:10:07 +04:00
Ilya Fedin
b8b268c7cc Add build architecture to version on other systems with non-x86_64 2021-10-29 16:02:41 +04:00
Ilya Fedin
c991bbc7e3 Reduce obtrusiveness of the lock bot 2021-10-29 16:02:15 +04:00
Ilya Fedin
45bbe33929 Multiple scale values in UI by device pixel ratio on non-Mac
To avoid confusion
2021-10-25 19:55:11 +04:00
John Preston
5aaa72e8cd Fix crash in scheduled emoji interactions.
Fixes #17093.
2021-10-25 09:43:22 +04:00
John Preston
57345cec3b Discard incoming calls by ring_timeout (1.5 minutes). 2021-10-25 09:43:12 +04:00
John Preston
fba17a8c25 Update description in lib/xdg/telegramdesktop.appdata.xml.in. 2021-10-25 09:23:36 +04:00
Ilya Fedin
70147922ae Re-enable kwayland with Qt 6 2021-10-25 08:59:43 +04:00
Ilya Fedin
44cc3c7809 Update submodules 2021-10-24 20:01:55 +04:00
Ilya Fedin
c50a5db277 Restore dbusmenu-qt dependent functionality with Qt 6 2021-10-24 20:01:55 +04:00
John Preston
389ea2af83 Fix compilation error on Linux. 2021-10-22 18:34:59 +04:00
John Preston
4cf9bf18e9 Fix clearing of macOS native notifications. 2021-10-21 23:37:14 +04:00
John Preston
7bc4b2c595 Add StickersSet::thumbnailBigFileBaseCacheKey. 2021-10-21 23:01:14 +04:00
John Preston
9075489c18 Use last history item date for jump-to-date. 2021-10-21 23:01:13 +04:00
John Preston
d361f5c6b0 Hide native notifications of deleted messages. 2021-10-21 23:01:13 +04:00
John Preston
1f95e00793 Fix "Copy Selected Text" appearing outside of selection. 2021-10-21 22:59:49 +04:00
John Preston
3d8899b9dc Update tg_owt revision. 2021-10-21 22:53:12 +04:00
John Preston
dba9aa30f7 Fix build action on macOS. 2021-10-21 21:01:33 +04:00
John Preston
3626943fc9 Use Qt 6.2 build on macOS GitHub action. 2021-10-21 20:20:35 +04:00
John Preston
1f6a9ab556 Fix prepare libraries on macOS with Qt 6.2. 2021-10-21 20:19:56 +04:00
John Preston
f7085b40b1 Support building macOS version with Qt 6.2. 2021-10-21 19:49:48 +04:00
Ilya Fedin
7222bc63f7 Update MozJPEG 2021-10-21 19:31:22 +04:00
Ilya Fedin
3dacbc6bf6 Ignore changes to Dockerfile on mac 2021-10-21 19:31:22 +04:00
Ilya Fedin
9dfa29ff0f Avoid using scl binary since it breaks conditions 2021-10-21 18:31:08 +04:00
Ilya Fedin
a1e67b6177 Fix failing on exit code check 2021-10-21 15:51:36 +04:00
Ilya Fedin
03a687c200 Adapt Dockerfile for Qt 6 2021-10-21 15:43:59 +04:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03:00
23rd
159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd
36d6682122 Improved code style in ChangePhoneBox. 2021-10-20 04:06:17 +03:00
23rd
25f6bea66e Moved ConfirmPhoneBox to td_ui. 2021-10-19 06:34:28 +03: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
3fa529d858 Extracted MaxInviteBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
9117b3cdfa Extracted DeleteMessagesBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
d4fe5f7a83 Extracted PinMessageBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
fa6725c54a Extracted api code from ConfirmPhoneBox to separated file. 2021-10-19 06:34:27 +03:00
23rd
f9976005f7 Moved ShowPhoneBannedError to separated file. 2021-10-19 06:34:27 +03:00
23rd
c6e1b14429 Added Window::SessionController to ChangePhoneBox. 2021-10-19 06:34:27 +03:00
23rd
30681e2e58 Moved widget sliders to td_ui. 2021-10-19 06:34:27 +03:00
23rd
c15ba7d23a Moved SentCodeField to td_ui. 2021-10-19 06:34:27 +03:00
23rd
94d5d20281 Simplified saving self bio. 2021-10-19 06:34:27 +03:00
23rd
b776308fd7 Moved some constants for peer editing to separated file. 2021-10-19 06:34:27 +03:00
23rd
2d37920a4c Improved code style in some peer boxes. 2021-10-19 06:34:27 +03:00
23rd
ee05e0af06 Improved code style in UsernameBox. 2021-10-19 06:34:27 +03:00
23rd
2efd735243 Removed static storing of passport config. 2021-10-14 17:41:52 +03:00
John Preston
adb0a9b6f0 Fix document filenames.
Regression was introduced in 2b11e45692.
2021-10-11 22:58:24 +04:00
CoderTimZ
c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
John Preston
041c922451 Add non-MTP ParseWebPageType. 2021-10-11 21:54:07 +04:00
John Preston
01c1096c62 Save Data::Session* in GameData. 2021-10-11 21:53:18 +04:00
John Preston
2b11e45692 Add DocumentData::setFileName. 2021-10-11 21:52:49 +04:00
23rd
6163e922b3 Added view button to webpages. 2021-10-10 19:30:38 +03:00
John Preston
1613495425 Version 3.1.9.
- Fix crash in chat closing while scrolling (macOS only).
2021-10-08 22:37:36 +04:00
23rd
455c7280a4 Fixed possible crash in scroll of empty HistoryWidget. 2021-10-08 19:10:39 +03:00
John Preston
746f8d835d Version 3.1.8.
- Show small media previews in chats list.
- Show media album previews and caption text in chats list.
- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
2021-10-08 13:51:22 +04:00
John Preston
d66e9a1b00 Remove -pie linker flag.
See https://gitlab.gnome.org/GNOME/nautilus/-/issues/1601
2021-10-08 13:50:27 +04:00
John Preston
8cca75da5c Handle foreign instance in COM toast activator. 2021-10-08 13:46:52 +04:00
John Preston
8d0ff1b61d Try setting current window as foreground on activate. 2021-10-08 12:20:24 +04:00
John Preston
dd856b9e4a Use real QWindow for taskbar icon hider.
Fixes #17081.
2021-10-08 12:19:41 +04:00
23rd
eb5ba12ba3 Fixed ability to copy original caption in admin log.
Fixed #17076.
2021-10-08 10:39:36 +04:00
23rd
e2c5995a2e Fixed timestamp highlighting in albums.
Fixed #17078.
2021-10-08 10:39:36 +04:00
23rd
ef10bb2bd6 Fixed editing caption of album from context menu.
Fixed #17077.
2021-10-08 10:39:36 +04:00
23rd
64aa5480ad Fixed display edited badge in scheduled albums.
Moved hideEditedBadge from HistoryMessage to HistoryItem.
2021-10-08 10:39:36 +04:00
23rd
816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
23rd
6c0dccd9ff Fixed replying in replies by double click.
Fixed #16645.
2021-10-08 10:39:36 +04:00
23rd
c2b505b78c Added ability to open specific post from sponsored messages. 2021-10-08 10:39:27 +04:00
23rd
d8fb5be9b5 Moved opening peer from PeerClickHandler to SessionController. 2021-10-07 23:32:10 +03:00
23rd
51b259fdea Updated ad description. 2021-10-07 23:32:10 +03:00
John Preston
d532b65d1c Don't use MTP* for replies data. 2021-10-07 22:57:44 +04:00
John Preston
bef35b9bc3 Don't use MTP* in call and invoice media data. 2021-10-07 18:22:28 +04:00
John Preston
ae261fcede Beta version 3.1.7.
- Fix channel message views and comments counter updates.
- Sponsored messages support.
- Crash fix.
2021-10-07 11:42:24 +04:00
John Preston
c04cdff7f7 Disable group call logs to console. 2021-10-07 11:42:24 +04:00
John Preston
466aa5a14d Fix view button style. 2021-10-07 11:38:07 +04:00
John Preston
4aac633413 Fix views increment.
Regression was introduced in 21aa1f49d7.

Fixes #17069.
2021-10-07 11:29:30 +04:00
23rd
ad328d35a2 Added box for ad description. 2021-10-07 11:09:09 +04:00
23rd
c5140f34a7 Added view button to sponsored messages. 2021-10-07 11:09:09 +04:00
23rd
419f6345b3 Added sponsored messages to HistoryWidget. 2021-10-07 11:09:09 +04:00
23rd
c2c53df886 Added new Ui::СontinuousScroll. 2021-10-07 11:09:09 +04:00
23rd
b3f73bb6a9 Added badge for sponsored messages. 2021-10-07 11:09:08 +04:00
23rd
eda5cd47ad Added manager of sponsored messages. 2021-10-07 11:09:08 +04:00
John Preston
0c906a5e6d Fix crash in local changelog messages. 2021-10-07 10:58:24 +04:00
John Preston
352768053d Beta version 3.1.6: Fix build on Linux. 2021-10-06 21:07:18 +04:00
John Preston
79b1cec4f3 Beta version 3.1.6: Remove -z,all from linker flags on Linux.
I hope it fixes #17037.
2021-10-06 20:37:39 +04:00
John Preston
8d09190439 Build ffmpeg without --disable-alsa/iconv on Linux. 2021-10-06 20:37:30 +04:00
John Preston
5cd0a3719e Beta version 3.1.6: Detach FastReply from MarkAsRead. 2021-10-06 19:24:30 +04:00
John Preston
8b7cd4a0c7 Beta version 3.1.6: Fix crash on old Windows 10 versions. 2021-10-06 17:36:30 +04:00
John Preston
937c2d3dce Beta version 3.1.6: Update patches revision. 2021-10-06 13:44:28 +04:00
23rd
1fa5d273cc Fixed scroll in Dialogs::Widget.
Regression was introduced in cb8f49aea0.
2021-10-06 13:40:26 +04:00
John Preston
24fa3dbf8f Beta version 3.1.6: Fix build on macOS. 2021-10-06 11:10:06 +04:00
John Preston
c9b782fd63 Beta version 3.1.6.
- Show small media previews in chats list.
- Show media album previews and caption text in chats list.
- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
2021-10-06 11:07:38 +04:00
John Preston
e7cf560da0 Handle toast activations by COM activator. 2021-10-06 11:02:57 +04:00
John Preston
86e07518ad Fix clearing notifications from Action Center.
Regression was introduced in 997913be25.
2021-10-05 16:53:36 +04:00
John Preston
8c71d03959 Add reply from Windows native notifications. 2021-10-05 16:52:46 +04:00
John Preston
967e86f4ab Rewrite Windows native notifications using C++/WinRT. 2021-10-05 12:09:15 +04:00
John Preston
730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
John Preston
576883ddc8 Make mini preview radius 2px. 2021-10-04 23:47:33 +04:00
John Preston
992d636680 Generate album mini previews with up-to-three images. 2021-10-04 23:47:33 +04:00
John Preston
8cdd2f113f Add play icon to video mini previews. 2021-10-04 23:47:33 +04:00
John Preston
d5f935b73d Put mini-previews after sender name. 2021-10-04 23:47:33 +04:00
John Preston
84f561b251 Don't use MTP* in the image editor. 2021-10-04 23:47:33 +04:00
John Preston
21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
John Preston
1790828b01 Dump symbols from the binary instead of dSYM.
For some reason dump_syms from dSYM now fails with an error:

Telegram.app.dSYM/Contents/Resources/DWARF/Telegram:
the section '__text' in segment '__TEXT' claims its contents lie outside the segment's contents
2021-10-04 23:45:21 +04:00
John Preston
792b9090a7 Generate mini-previews for photos and files. 2021-10-04 23:45:21 +04:00
John Preston
8c21fad642 Move preview paint to Dialogs::Ui::MessageView. 2021-10-04 23:45:21 +04:00
John Preston
5136cc3c9c Rename Dialogs::Layout to Dialogs::Ui. 2021-10-04 23:45:21 +04:00
John Preston
b78b27f517 Move dialogs_layout to dialogs/ui/. 2021-10-04 23:45:21 +04:00
John Preston
85760ea92c Fix repeated attempt to transfer ownership.
Fixes #8570.
2021-10-04 23:45:21 +04:00
Ilya Fedin
c2212c719e Inform Qt about taskbar hider
This allows the feature to work without patching Qt
2021-10-04 23:23:50 +04:00
GitHub Action
fc8a0d0efd Update User-Agent for DNS to Chrome 94.0.4606.61. 2021-10-04 23:23:20 +04:00
23rd
c052c37621 Fixed build for non-Windows. 2021-09-30 21:04:43 +03:00
23rd
21f7cec781 Fixed build for macOS. 2021-09-30 21:21:07 +04:00
23rd
64af456d29 Fixed build for macOS. 2021-09-30 21:16:45 +04:00
John Preston
7751c4ac1f Port PQ factorization from TDLib. 2021-09-30 21:14:00 +04:00
23rd
ececdcb9c0 Removed Q_SLOTS from HistoryInner. 2021-09-30 18:45:38 +03:00
23rd
cb8f49aea0 Removed Q_OBJECT from ScrollArea. 2021-09-30 18:45:38 +03:00
23rd
e3ef7d6631 Removed MainWidget::highlightStartTime. 2021-09-30 18:45:38 +03:00
23rd
21aa1f49d7 Moved views increment scheduler from MainWidget to separate file. 2021-09-30 18:45:38 +03:00
John Preston
51e80170e2 Always clear passcode lock widget on reset.
Fixes #17016.
2021-09-30 19:37:42 +04:00
John Preston
b2526ab7f6 Make sure special MsgId-s are always outside ServerMaxMsgId range. 2021-09-30 19:31:03 +04:00
John Preston
e220447bdd Put the "N Seen" context menu item always first. 2021-09-30 15:36:14 +04:00
John Preston
ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
John Preston
4ea72f8f89 Don't add "Change colors" to profile menu. 2021-09-30 15:30:29 +04:00
John Preston
4ef550da9b Hide webview while showing a box in payments. 2021-09-30 14:53:18 +04:00
John Preston
1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
Ilya Fedin
6adf791b3b Update cmake_helpers 2021-09-29 09:04:23 +04:00
Ilya Fedin
d2a41a42e0 Move applicationDidFinishLaunching code to init
This should make the Qt patch catching the event unneeded
2021-09-29 09:04:23 +04:00
John Preston
315549b5f8 Beta version 3.1.5: Fix build on Linux. 2021-09-28 23:48:37 +04:00
John Preston
fd4a543bab Beta version 3.1.5: Fix theme change UI on Retina screens. 2021-09-28 22:27:41 +04:00
John Preston
d525e56053 Beta version 3.1.5: Fix build on Linux. 2021-09-28 22:08:28 +04:00
John Preston
dab5d1f994 Beta version 3.1.5.
- Choose one of 8 new preset themes for any individual private chat.
- Click on '...' menu > 'Change Colors' to pick a theme.
- Both chat participants will see the same theme
in that chat – on all their devices.
- Each new theme features colorful gradient message bubbles,
beautifully animated backgrounds and unique background patterns.
- All chat themes have day and night versions
and will follow your overall dark mode settings.
- Implement main window rounded corners on Windows 11.
- Fix audio capture from AirPods on macOS.
2021-09-28 22:00:51 +04:00
23rd
de3b52425c Removed unused HistoryInner::setFirstLoading. 2021-09-28 21:14:33 +04:00
John Preston
844fd58a97 Support Windows 11 rounded corners and themeable title bar. 2021-09-28 21:11:35 +04:00
John Preston
de2bad51d3 Scroll to currently selected theme. 2021-09-28 19:27:41 +04:00
John Preston
1424ea3540 Allow scrolling themes list. 2021-09-28 19:27:41 +04:00
John Preston
a8efd0ef3d Show chosen element in custom theme selector. 2021-09-28 19:27:41 +04:00
John Preston
1204e282d3 Fix attach icon in theme preview. 2021-09-28 19:27:41 +04:00
John Preston
6588242793 Prepare correct custom chat theme preview. 2021-09-28 19:27:41 +04:00
John Preston
b1ba9a42c6 Use Ui::GenerateBackgroundImage for preview in Settings. 2021-09-28 19:27:41 +04:00
John Preston
ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston
80028e41f3 Bump OpenAL version in prepare script. 2021-09-28 19:25:39 +04:00
John Preston
2c581adc55 Add some hardening compiler / linker flags to dependencies. 2021-09-28 18:44:52 +04:00
John Preston
f0e8c1e325 Update lib_webview and docker patches revision. 2021-09-28 12:23:54 +04:00
John Preston
a2db9de4d7 Remove debug code. 2021-09-28 11:30:18 +04:00
John Preston
a228c62286 Fix "Nobody Viewed / Watched / Listened" seen state. 2021-09-27 18:51:50 +04:00
John Preston
37d940eca6 Beta version 3.1.4.
- Fix crash in network availability init.
- Fix assertion violation after a NaN-resulting std::round call.
2021-09-27 13:29:11 +04:00
John Preston
f7c24c54a1 Fix crash in failed network availability init. 2021-09-27 13:25:04 +04:00
John Preston
19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
21b10cebe0 Beta version 3.1.3.
- Fix illegal instruction crash in opus encoder.
2021-09-27 10:28:29 +04:00
John Preston
50435f7783 Allow creating links with Ip addresses. 2021-09-27 10:28:29 +04:00
Ilya Fedin
1b789de4f4 Cherry-pick a opus fix for detecting CPU instructions on Windows 2021-09-27 08:50:51 +04:00
4522 changed files with 340065 additions and 122874 deletions

View File

@@ -34,7 +34,7 @@ body:
label: Operating system
description: >
Your operating system name, version and desktop environment.
Please don't use kernel version (uname), it's useless.
**Don't use kernel version (uname), it's useless.**
validations:
required: true
- type: input
@@ -42,9 +42,9 @@ body:
label: Version of Telegram Desktop
description: >
Please note we don't support versions from Linux distro repositories.
If you need support for these versions, please contact your distro maintainer
If you need support for these versions, **please contact your distro maintainer**
or your distro bugtracker.
Don't use 'latest', specify actual version, that's a reason to close your issue.
**Don't use 'latest'**, specify actual version, **that's a reason to close your issue**.
validations:
required: true
- type: dropdown
@@ -60,8 +60,19 @@ body:
- Other (unofficial) source
validations:
required: true
- type: input
attributes:
label: Crash ID
description: >
If you're reporting a crash, please enter the crash ID from the crash reporter
opening on the next launch after crash. **You have to enable beta versions
installation in Settings -> Advanced for the reporter to appear.**
You don't have to wait for a beta version to arrive.
- type: textarea
attributes:
label: Logs
description: >
You can find log.txt using the `viewlogs`
[cheat code](https://github.com/telegramdesktop/tdesktop/wiki/Cheat-Codes).
placeholder: Insert log.txt here (if necessary)
render: shell

View File

@@ -2,7 +2,6 @@
name: Feature request
description: Suggest an idea.
labels: [enhancement]
title: "[Feature Request] "
body:
- type: textarea
attributes:

View File

@@ -1,8 +0,0 @@
---
name: Question
about: Ask a question.
title: "[Question] "
labels: 'question'
assignees: ''
---

11
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Platform-wide issue
url: https://bugs.telegram.org
about: Any bug report or feature request affecting more than only Telegram Desktop.
- name: Issue of other client
url: https://bugs.telegram.org
about: Any bug report or feature request not about Telegram Desktop.
- name: Question
url: https://t.me/TelegramDesktopTalk
about: Ask a question.

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

21
.github/stale.yml vendored
View File

@@ -1,21 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels: [ "enhancement" ]
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: |
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
# Process only issues
only: issues

25
.github/workflows/cant-reproduce.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Can't reproduce.
on:
schedule:
- cron: '0 3 * * *'
jobs:
cant-reproduce:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: cant reproduce
closeComment: >
This issue has been automatically closed because no developer succeeded to
reproduce the issue with the given reproduction steps. With only the
information that is currently in the issue, we don't have enough
information to take action. Please reach out if you find what's missing to
reproduce the issue so that we can investigate further.
Note that GitHub is a developer communication platform. If you're an ordinary
user seeking for help, get to support crew via `Settings -> Ask question` in
the application.

View File

@@ -15,11 +15,30 @@ jobs:
name: Ubuntu
runs-on: ubuntu-latest
env:
IMAGE_TAG: ghcr.io/${{ github.repository }}/centos_env:latest
steps:
- name: Clone.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
- name: First set up.
run: |
sudo apt update
curl -sSL https://install.python-poetry.org | python3 -
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
- name: Docker image build.
run: docker build -t telegram_desktop Telegram/build/docker/centos_env
run: |
cd Telegram/build/docker/centos_env
poetry install
DEBUG= LTO= poetry run gen_dockerfile | DOCKER_BUILDKIT=1 docker build -t $IMAGE_TAG -
- name: Push the Docker image.
if: ${{ github.ref_name == github.event.repository.default_branch }}
run: docker push $IMAGE_TAG

View File

@@ -5,7 +5,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-linux.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -24,7 +23,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-linux.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -43,75 +41,65 @@ on:
jobs:
linux:
name: CentOS 7
name: Rocky Linux 8
runs-on: ubuntu-latest
container:
image: docker.pkg.github.com/telegramdesktop/tdesktop/centos_env
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-9 -- bash --noprofile --norc -eo pipefail {0}
strategy:
matrix:
defines:
- ""
- "DESKTOP_APP_DISABLE_DBUS_INTEGRATION"
- "DESKTOP_APP_DISABLE_X11_INTEGRATION"
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: First set up.
run: |
gcc --version
ln -s $LibrariesPath Libraries
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker pull ghcr.io/$GITHUB_REPOSITORY/centos_env
docker tag ghcr.io/$GITHUB_REPOSITORY/centos_env tdesktop:centos_env
- name: Telegram Desktop build.
run: |
cd $REPO_NAME/Telegram
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
if [ "${{ matrix.defines }}" == "DESKTOP_APP_DISABLE_DBUS_INTEGRATION" ]; then
DEFINE="$DEFINE -D DESKTOP_APP_DISABLE_WEBKITGTK=ON"
fi
echo Define from matrix: $DEFINE
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
./configure.sh \
docker run --rm \
-v $PWD:/usr/src/tdesktop \
-e CONFIG=Debug \
tdesktop:centos_env \
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
-D CMAKE_C_FLAGS_DEBUG="" \
-D CMAKE_CXX_FLAGS_DEBUG="" \
-D CMAKE_C_FLAGS="-Werror" \
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_EXE_LINKER_FLAGS="-s" \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_USE_PACKAGED=OFF \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
cd ../out/Debug
make -j$(nproc)
- name: Check.
run: |
filePath="$REPO_NAME/out/Debug/bin/Telegram"
filePath="$REPO_NAME/out/Debug/Telegram"
if test -f "$filePath"; then
echo "Build successfully done! :)"
@@ -125,12 +113,12 @@ jobs:
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/out/Debug/bin
mkdir artifact
mv Telegram artifact/
- uses: actions/upload-artifact@master
cd $REPO_NAME/out/Debug
sudo mkdir artifact
sudo mv {Telegram,Updater} artifact/
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
path: ${{ env.REPO_NAME }}/out/Debug/artifact/

View File

@@ -8,16 +8,8 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: 45
pr-lock-inactive-days: 45
issue-lock-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-lock-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
issue-inactive-days: 45
pr-inactive-days: 45

View File

@@ -5,7 +5,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-mac.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -13,6 +12,7 @@ on:
- '!.github/workflows/mac.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/docker/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
@@ -22,7 +22,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-mac.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -30,6 +29,7 @@ on:
- '!.github/workflows/mac.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/docker/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
@@ -40,22 +40,23 @@ jobs:
macos:
name: MacOS
runs-on: macos-latest
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
@@ -63,8 +64,10 @@ jobs:
- name: First set up.
run: |
sudo chown -R `whoami`:admin /usr/local/share
brew install automake fdk-aac lame libass libtool libvorbis libvpx \
ninja opus sdl shtool texi2html theora x264 xvid yasm pkg-config
brew update
brew upgrade || true
brew install automake meson nasm ninja pkg-config
# Disable spotlight.
sudo mdutil -a -i off
@@ -73,22 +76,29 @@ jobs:
- name: ThirdParty cache.
id: cache-third-party
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ThirdParty
key: ${{ runner.OS }}-third-party
key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
restore-keys: ${{ runner.OS }}-third-party-
- name: Libraries cache.
id: cache-libs
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: Libraries
key: ${{ runner.OS }}-libs
key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
restore-keys: ${{ runner.OS }}-libs-
- name: Libraries.
run: |
./$REPO_NAME/Telegram/build/prepare/mac.sh skip-release silent
- name: Free up some disk space.
run: |
cd Libraries
find . -iname "*.dir" -exec rm -rf {} || true \;
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'
run: |
@@ -106,8 +116,9 @@ jobs:
./configure.sh \
-D CMAKE_C_FLAGS="-Werror" \
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_USE_PACKAGED=OFF \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
@@ -123,7 +134,7 @@ jobs:
mkdir artifact
mv Telegram.app artifact/
mv Updater artifact/
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:

161
.github/workflows/mac_packaged.yml vendored Normal file
View File

@@ -0,0 +1,161 @@
name: MacOS Packaged.
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
jobs:
macos:
name: MacOS
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
GIT: "https://github.com"
CMAKE_PREFIX_PATH: "/usr/local/opt/ffmpeg@6:/usr/local/opt/openal-soft"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
MANUAL_CACHING: "1"
AUTO_CACHING: "1"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: First set up.
run: |
brew update
brew upgrade || true
brew install autoconf automake boost cmake ffmpeg@6 openal-soft openssl opus ninja pkg-config python qt yasm xz
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
xcodebuild -version > CACHE_KEY.txt
brew list --versions >> CACHE_KEY.txt
echo $MANUAL_CACHING >> CACHE_KEY.txt
echo "$GITHUB_WORKSPACE" >> CACHE_KEY.txt
if [ "$AUTO_CACHING" = "1" ]; then
thisFile=$REPO_NAME/.github/workflows/mac_packaged.yml
echo `md5 -q $thisFile` >> CACHE_KEY.txt
fi
echo "CACHE_KEY=`md5 -q CACHE_KEY.txt`" >> $GITHUB_ENV
echo "LibrariesPath=`pwd`" >> $GITHUB_ENV
curl -o tg_owt-version.json https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master
- name: RNNoise.
run: |
cd $LibrariesPath
git clone --depth=1 https://gitlab.xiph.org/xiph/rnnoise.git
cd rnnoise
./autogen.sh
./configure --disable-examples --disable-doc
make -j$(sysctl -n hw.logicalcpu)
make install
- name: WebRTC cache.
id: cache-webrtc
uses: actions/cache@v4
with:
path: ${{ env.LibrariesPath }}/tg_owt
key: ${{ runner.OS }}-webrtc-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_owt-version.json') }}
- name: WebRTC.
if: steps.cache-webrtc.outputs.cache-hit != 'true'
run: |
cd $LibrariesPath
git clone --recursive --depth=1 $GIT/desktop-app/tg_owt.git
cd tg_owt
cmake -B build . -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'
env:
tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build
run: |
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo Define from matrix: $DEFINE
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
cmake -Bbuild -GNinja . \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DTDESKTOP_API_TEST=ON \
-DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
$DEFINE
cmake --build build --parallel
cd build
macdeployqt Telegram.app
codesign --remove-signature Telegram.app
mkdir dmgsrc
mv Telegram.app dmgsrc
hdiutil create -volname Telegram -srcfolder dmgsrc -ov -format UDZO Telegram.dmg
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/build
mkdir artifact
mv Telegram.dmg artifact/
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/build/artifact/

View File

@@ -11,7 +11,9 @@ jobs:
SKIP: "0"
to_branch: "master"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
if: env.SKIP == '0'
- name: Push the code to the master branch.
if: env.SKIP == '0'

16
.github/workflows/needs-user-action.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Needs user action.
on:
issue_comment:
types: [created]
schedule:
- cron: '0 2 * * *'
jobs:
needs-user-action:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: needs user action

View File

@@ -1,28 +0,0 @@
name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 30
# Label requiring a response
responseRequiredLabel: waiting for answer
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.

View File

@@ -38,38 +38,33 @@ on:
jobs:
linux:
snap:
name: Ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Clone.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: First set up.
run: |
sudo apt-get purge --autoremove lxd
sudo iptables -P FORWARD ACCEPT
sudo snap install --classic snapcraft
sudo snap install lxd
# Workaround for snapcraft
# See https://forum.snapcraft.io/t/13258
sudo chown root:root /
sudo usermod -aG lxd $USER
sudo snap run lxd init --auto
sudo snap run lxd waitready
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
- name: Telegram Desktop snap build.
run: sg lxd -c 'snap run snapcraft --use-lxd'
run: sg lxd -c 'snap run snapcraft --verbosity=debug'
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
@@ -80,7 +75,7 @@ jobs:
mkdir artifact
mv $artifact_name artifact
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:

25
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: |
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
stale-issue-label: 'stale'
exempt-issue-labels: 'enhancement'
days-before-stale: 180
days-before-close: 30
days-before-pr-stale: -1
operations-per-run: 1000

View File

@@ -0,0 +1,16 @@
name: Waiting for answer.
on:
issue_comment:
types: [created]
schedule:
- cron: '30 0 * * *'
jobs:
waiting-for-answer:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: waiting for answer

View File

@@ -5,7 +5,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-win.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -13,7 +12,7 @@ on:
- '!.github/workflows/win.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/build/docker/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/SourceFiles/platform/mac/**'
@@ -24,7 +23,6 @@ on:
paths-ignore:
- 'docs/**'
- '**.md'
- '!docs/building-win.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
@@ -32,7 +30,7 @@ on:
- '!.github/workflows/win.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/build/docker/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/SourceFiles/platform/mac/**'
@@ -44,430 +42,150 @@ jobs:
windows:
name: Windows
runs-on: windows-latest
runs-on: windows-2022
strategy:
matrix:
defines:
- ""
arch: [Win32, x64]
generator: ["", "Ninja Multi-Config"]
env:
SDK: "10.0.18362.0"
GIT: "https://github.com"
QT_VER: "5.15.2"
OPENSSL_VER: "1_1_1"
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
MANUAL_CACHING: "0"
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
AUTO_CACHING: "1"
defaults:
run:
shell: cmd
working-directory: Libraries
steps:
- name: Prepare directories.
run: |
mkdir %userprofile%\TBuild\Libraries
mklink /d %GITHUB_WORKSPACE%\TBuild %userprofile%\TBuild
echo TBUILD=%GITHUB_WORKSPACE%\TBuild>>%GITHUB_ENV%
- name: Get repository name.
shell: bash
working-directory: ${{ github.workspace }}
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- uses: ilammy/msvc-dev-cmd@v1.9.0
name: x86 Native Tools Command Prompt.
- uses: ilammy/msvc-dev-cmd@v1.13.0
name: Native Tools Command Prompt.
with:
arch: win32
arch: ${{ matrix.arch }}
- name: Clone.
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
- name: Set up environment paths.
shell: bash
working-directory: ${{ github.workspace }}
run: |
echo "C:\\Strawberry\\perl\\bin\\" >> $GITHUB_PATH
echo "C:\\Program Files\\NASM\\" >> $GITHUB_PATH
echo "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\" >> $GITHUB_PATH
echo "CACHE_KEY=$(sha256sum $TBUILD/$REPO_NAME/$PREPARE_PATH | awk '{ print $1 }')" >> $GITHUB_ENV
mkdir Libraries && cd Libraries
echo "Convert unix path to win path."
p=`pwd | sed 's#^/[d]#d:#g' |sed 's#/#\\\\#g'`
echo "LibrariesPath=$p" >> $GITHUB_ENV
echo "QT=${QT_VER//./_}" >> $GITHUB_ENV
- name: Save msbuild version.
run: |
call vcvars32.bat
msbuild -version > CACHE_KEY.txt
- name: Clone.
uses: actions/checkout@v2
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: Generate cache key.
shell: bash
working-directory: ${{ github.workspace }}
run: |
curl -o $LibrariesPath/tg_owt-version.json https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master
curl -o $LibrariesPath/tg_angle-version.json https://api.github.com/repos/desktop-app/tg_angle/git/refs/heads/master
echo $MANUAL_CACHING >> CACHE_KEY.txt
if [ "$AUTO_CACHING" == "1" ]; then
thisFile=$REPO_NAME/.github/workflows/win.yml
echo `md5sum $thisFile | awk '{ print $1 }'` >> CACHE_KEY.txt
fi
echo "CACHE_KEY=`md5sum CACHE_KEY.txt | awk '{ print $1 }'`" >> $GITHUB_ENV
- name: Choco installs.
run: |
choco install --allow-empty-checksums --no-progress -y yasm
choco install --no-progress -y nasm jom ninja
python -m pip install pywin32
echo "Configurate git for cherry-picks."
git config --global user.email "you@example.com"
git config --global user.name "Sample"
- name: NuGet sources.
run: |
nuget sources Disable -Name "Microsoft Visual Studio Offline Packages"
nuget sources Add -Source https://api.nuget.org/v3/index.json & exit 0
- name: Patches.
shell: bash
working-directory: ${{ github.workspace }}
run: |
echo "Find necessary commit from doc."
checkoutCommit=$(grep -A 1 "cd patches" $REPO_NAME/$PREPARE_PATH | sed -n 2p)
cd $LibrariesPath
git clone $GIT/desktop-app/patches.git
cd patches
eval $checkoutCommit
- name: LZMA.
run: |
git clone %GIT%/telegramdesktop/lzma.git
cd lzma
cd C\Util\LzmaLib
msbuild -m LzmaLib.sln /property:Configuration=Debug
- name: OpenSSL cache.
id: cache-openssl
uses: actions/cache@v2
- name: Libraries cache.
id: cache-libs
uses: actions/cache@v4
with:
path: ${{ env.LibrariesPath }}/openssl
key: ${{ runner.OS }}-${{ env.CACHE_KEY }}-${{ env.OPENSSL_VER }}
- name: OpenSSL.
if: steps.cache-openssl.outputs.cache-hit != 'true'
run: |
git clone -b OpenSSL_%OPENSSL_VER%-stable %GIT%/openssl/openssl.git
cd openssl
perl Configure no-shared no-tests debug-VC-WIN32
nmake
mkdir out.dbg
move libcrypto.lib out.dbg
move libssl.lib out.dbg
move ossl_static.pdb out.dbg\ossl_static
nmake clean
move out.dbg\ossl_static out.dbg\ossl_static.pdb
perl Configure no-shared no-tests VC-WIN32
nmake
mkdir out
move libcrypto.lib out
move libssl.lib out
move ossl_static.pdb out
path: ${{ env.TBUILD }}\Libraries
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
restore-keys: ${{ runner.OS }}-${{ matrix.arch }}-libs-
rmdir /S /Q test
rmdir /S /Q .git
- name: Zlib.
run: |
git clone %GIT%/telegramdesktop/zlib.git
cd zlib
git checkout tdesktop
cd contrib\vstudio\vc14
msbuild -m zlibstat.vcxproj /property:Configuration=Debug
- name: MozJPEG.
shell: cmd
run: |
git clone -b v4.0.1-rc2 %GIT%/mozilla/mozjpeg.git
cd mozjpeg
cmake . ^
-G "Visual Studio 16 2019" ^
-A Win32 ^
-DWITH_JPEG8=ON ^
-DPNG_SUPPORTED=OFF
cmake --build . --config Debug
- name: OpenAL Soft cache.
id: cache-openal
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/openal-soft
key: ${{ runner.OS }}-openal-soft-${{ env.CACHE_KEY }}
- name: OpenAL Soft.
if: steps.cache-openal.outputs.cache-hit != 'true'
run: |
git clone -b openal-soft-1.21.0 --depth=1 %GIT%/kcat/openal-soft.git
cd openal-soft\build
cmake .. ^
-G "Visual Studio 16 2019" ^
-A Win32 ^
-D LIBTYPE:STRING=STATIC ^
-D FORCE_STATIC_VCRT=ON ^
-D ALSOFT_BACKEND_DSOUND=OFF
msbuild -m OpenAL.vcxproj /property:Configuration=Debug
- name: Breakpad cache.
id: cache-breakpad
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/breakpad
key: ${{ runner.OS }}-breakpad-${{ env.CACHE_KEY }}-${{ hashFiles('**/breakpad.diff') }}
- name: Breakpad.
- name: Libraries.
env:
GYP_MSVS_OVERRIDE_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\'
GYP_MSVS_VERSION: 2019
if: steps.cache-breakpad.outputs.cache-hit != 'true'
GYP_MSVS_OVERRIDE_PATH: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\'
GYP_MSVS_VERSION: 2022
run: |
git clone https://chromium.googlesource.com/external/gyp
cd gyp
SET PATH=%cd%;%PATH%
git checkout d6c5dd51dc
git apply ../patches/gyp.diff
cd %TBUILD%
%REPO_NAME%\Telegram\build\prepare\win.bat skip-release silent
cd %LibrariesPath%
git clone https://chromium.googlesource.com/breakpad/breakpad
cd breakpad
git checkout bc8fb886
git apply ../patches/breakpad.diff
cd src
git clone %GIT%/google/googletest testing
cd client\windows
call gyp --no-circular-check breakpad_client.gyp --format=ninja
cd ..\..
ninja -C out/Debug common crash_generation_client exception_handler
ninja -C out/Release common crash_generation_client exception_handler
cd tools\windows\dump_syms
call gyp dump_syms.gyp --format=ninja
cd ..\..\..
ninja -C out/Release dump_syms
- name: Opus cache.
id: cache-opus
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/opus
key: ${{ runner.OS }}-opus-${{ env.CACHE_KEY }}
- name: Opus.
if: steps.cache-opus.outputs.cache-hit != 'true'
run: |
git clone -b v1.3.1 %GIT%/xiph/opus.git
cd opus
cmake -B out . ^
-A Win32 ^
-DCMAKE_INSTALL_PREFIX=%LibrariesPath%/local/opus ^
-DCMAKE_C_FLAGS_DEBUG="/MTd /Zi /Ob0 /Od /RTC1" ^
-DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /DNDEBUG"
cmake --build out --config Debug
cmake --build out --config Release
cmake --install out --config Release
- name: Rnnoise.
run: |
git clone %GIT%/desktop-app/rnnoise.git
mkdir rnnoise\out
cd rnnoise\out
cmake -A Win32 ..
cmake --build . --config Debug
- name: FFmpeg cache.
id: cache-ffmpeg
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/ffmpeg
key: ${{ runner.OS }}-ffmpeg-${{ env.CACHE_KEY }}-2-${{ hashFiles('**/build_ffmpeg_win.sh') }}
- name: FFmpeg.
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: |
choco install --no-progress -y msys2
git clone %GIT%/FFmpeg/FFmpeg.git ffmpeg
cd ffmpeg
git checkout release/4.4
set CHERE_INVOKING=enabled_from_arguments
set MSYS2_PATH_TYPE=inherit
call c:\tools\msys64\usr\bin\bash --login ../patches/build_ffmpeg_win.sh
rmdir /S /Q .git
- name: Angle cache.
id: cache-angle
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/tg_angle
key: ${{ runner.OS }}-angle-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_angle-version.json') }}
- name: Angle.
if: steps.cache-angle.outputs.cache-hit != 'true'
run: |
git clone --recursive %GIT%/desktop-app/tg_angle.git
mkdir tg_angle\out\Debug
cd tg_angle\out\Debug
cmake -G Ninja ^
-DCMAKE_BUILD_TYPE=Debug ^
-DTG_ANGLE_SPECIAL_TARGET=win64 ^
-DTG_ANGLE_ZLIB_INCLUDE_PATH=%cd%/../../../zlib ../..
ninja
:: Cleanup.
cd %LibrariesPath%\tg_angle
move out\Debug\tg_angle.lib tg_angle.lib
rmdir /S /Q out
mkdir out\Debug
move tg_angle.lib out\Debug\tg_angle.lib
- name: Qt 5.15.2 cache.
id: cache-qt
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/Qt-${{ env.QT_VER }}
key: ${{ runner.OS }}-qt-${{ env.CACHE_KEY }}-${{ hashFiles('**/qtbase_5_15_2/*') }}
- name: Configure Qt 5.15.2.
if: steps.cache-qt.outputs.cache-hit != 'true'
run: |
git clone git://code.qt.io/qt/qt5.git qt_%QT%
cd qt_%QT%
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v%QT_VER%
git submodule update qtbase
git submodule update qtimageformats
git submodule update qtsvg
cd qtbase
for /r %%i in (..\..\patches\qtbase_%QT%\*) do git apply %%i
cd ..
SET SSL=%LibrariesPath%\openssl
SET SSL_LIBS=libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib
SET ANGLE=%LibrariesPath%\tg_angle
SET ANGLE_LIBS=d3d9.lib dxgi.lib dxguid.lib
SET ZLIB=%LibrariesPath%\zlib\contrib\vstudio\vc14\x86
configure ^
-prefix "%LibrariesPath%\Qt-%QT_VER%" ^
-debug ^
-force-debug-info ^
-opensource ^
-confirm-license ^
-static ^
-static-runtime ^
-opengl es2 -no-angle ^
-I "%ANGLE%\include" ^
-D "GL_APICALL=" ^
QMAKE_LIBS_OPENGL_ES2_DEBUG="%ANGLE%\out\Debug\tg_angle.lib %ZLIB%\ZlibStatDebug\zlibstat.lib %ANGLE_LIBS%" ^
QMAKE_LIBS_OPENGL_ES2_RELEASE="%ANGLE%\out\Release\tg_angle.lib %ZLIB%\ZlibStatReleaseWithoutAsm\zlibstat.lib %ANGLE_LIBS%" ^
-egl ^
-D "EGLAPI=" ^
-D "DESKTOP_APP_QT_STATIC_ANGLE=" ^
QMAKE_LIBS_EGL_DEBUG="%ANGLE%\out\Debug\tg_angle.lib %ZLIB%\ZlibStatDebug\zlibstat.lib %ANGLE_LIBS% Gdi32.lib User32.lib" ^
QMAKE_LIBS_EGL_RELEASE="%ANGLE%\out\Release\tg_angle.lib %ZLIB%\ZlibStatReleaseWithoutAsm\zlibstat.lib %ANGLE_LIBS% Gdi32.lib User32.lib" ^
-openssl-linked ^
-I "%SSL%\include" ^
OPENSSL_LIBS_DEBUG="%SSL%\out.dbg\libssl.lib %SSL%\out.dbg\%SSL_LIBS%" ^
OPENSSL_LIBS_RELEASE="%SSL%\out\libssl.lib %SSL%\out\%SSL_LIBS%" ^
-I "%LibrariesPath%\mozjpeg" ^
LIBJPEG_LIBS_DEBUG="%LibrariesPath%\mozjpeg\Debug\jpeg-static.lib" ^
LIBJPEG_LIBS_RELEASE="%LibrariesPath%\mozjpeg\Release\jpeg-static.lib" ^
-mp ^
-nomake examples ^
-nomake tests ^
-platform win32-msvc
- name: Qt 5.15.2 build.
if: steps.cache-qt.outputs.cache-hit != 'true'
run: |
cd qt_%QT%
jom -j%NUMBER_OF_PROCESSORS%
jom -j%NUMBER_OF_PROCESSORS% install
cd ..
rmdir /S /Q qt_%QT%
- name: WebRTC cache.
id: cache-webrtc
uses: actions/cache@v2
with:
path: ${{ env.LibrariesPath }}/tg_owt
key: ${{ runner.OS }}-webrtc-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_owt-version.json') }}
- name: WebRTC.
if: steps.cache-webrtc.outputs.cache-hit != 'true'
run: |
git clone --recursive %GIT%/desktop-app/tg_owt.git
mkdir tg_owt\out\Debug
cd tg_owt\out\Debug
cmake -G Ninja ^
-DCMAKE_BUILD_TYPE=Debug ^
-DTG_OWT_SPECIAL_TARGET=win ^
-DTG_OWT_BUILD_AUDIO_BACKENDS=OFF ^
-DTG_OWT_LIBJPEG_INCLUDE_PATH=%cd%/../../../mozjpeg ^
-DTG_OWT_OPENSSL_INCLUDE_PATH=%cd%/../../../openssl/include ^
-DTG_OWT_OPUS_INCLUDE_PATH=%cd%/../../../opus/include ^
-DTG_OWT_FFMPEG_INCLUDE_PATH=%cd%/../../../ffmpeg ^
../..
ninja
:: Cleanup.
cd %LibrariesPath%\tg_owt
move out\Debug\tg_owt.lib tg_owt.lib
rmdir /S /Q out
mkdir out\Debug
move tg_owt.lib out\Debug\tg_owt.lib
- name: Read defines.
- name: Read configuration matrix.
shell: bash
run: |
ARTIFACT_NAME="Telegram"
ARCH=""
if [ -n "${{ matrix.arch }}" ]; then
case "${{ matrix.arch }}" in
Win32) ARCH="x86";;
*) ARCH="${{ matrix.arch }}";;
esac
echo "Architecture from matrix: $ARCH"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.arch }}"
fi
GENERATOR=""
if [ -n "${{ matrix.generator }}" ]; then
GENERATOR="-G \"${{ matrix.generator }}\""
echo "Generator from matrix: $GENERATOR"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.generator }}"
fi
echo "TDESKTOP_BUILD_GENERATOR=$GENERATOR" >> $GITHUB_ENV
[ -n "$GENERATOR" ] && ARCH=""
echo "TDESKTOP_BUILD_ARCH=$ARCH" >> $GITHUB_ENV
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo Define from matrix: $DEFINE
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
echo "Define from matrix: $DEFINE"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.defines }}"
fi
echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $GITHUB_ENV
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
API="-D TDESKTOP_API_TEST=ON"
if [ $GITHUB_REF == 'refs/heads/nightly' ]; then
echo "Use the open credentials."
API="-D TDESKTOP_API_ID=611335 -D TDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
fi
echo "TDESKTOP_BUILD_API=$API" >> $GITHUB_ENV
- name: Free up some disk space.
working-directory: ${{ github.workspace }}
run: del /S *.pdb
run: |
cd %TBUILD%
del /S Libraries\*.pdb
del /S Libraries\*.pch
del /S Libraries\*.obj
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'
working-directory: ${{ github.workspace }}
run: |
cd %REPO_NAME%\Telegram
cd %TBUILD%\%REPO_NAME%\Telegram
call configure.bat ^
-D TDESKTOP_API_TEST=ON ^
-D DESKTOP_APP_USE_PACKAGED=OFF ^
%TDESKTOP_BUILD_GENERATOR% ^
%TDESKTOP_BUILD_ARCH% ^
%TDESKTOP_BUILD_API% ^
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF ^
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^
-D DESKTOP_APP_NO_PDB=ON ^
%TDESKTOP_BUILD_DEFINE% ^
-DCMAKE_SYSTEM_VERSION=%SDK%
%TDESKTOP_BUILD_DEFINE%
call vcvars32.bat
cd ..\out
msbuild -m Telegram.sln /nologo /p:Configuration=Debug,Platform=Win32
cmake --build ..\out --config Debug --parallel
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
working-directory: ${{ github.workspace }}
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
run: |
cd %REPO_NAME%\out\Debug
set OUT=%TBUILD%\%REPO_NAME%\out\Debug
mkdir artifact
move Telegram.exe artifact/
- uses: actions/upload-artifact@master
move %OUT%\Telegram.exe artifact/
move %OUT%\Updater.exe artifact/
- uses: actions/upload-artifact@v4
name: Upload artifact.
if: env.UPLOAD_ARTIFACT == 'true'
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}\out\Debug\artifact\
path: artifact\

20
.github/workflows/winget.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish to WinGet
on:
release:
types: [released, prereleased]
jobs:
publish:
runs-on: windows-latest # action can only be run on windows
steps:
- if: github.event.action == 'released'
uses: telegramdesktop/winget-releaser@main
with:
identifier: Telegram.TelegramDesktop
installers-regex: 't(setup|portable).*(exe|zip)$'
token: ${{ secrets.WINGET_TOKEN }}
- if: github.event.action == 'prereleased'
uses: telegramdesktop/winget-releaser@main
with:
identifier: Telegram.TelegramDesktop.Beta
installers-regex: 't(setup|portable).*(exe|zip)$'
token: ${{ secrets.WINGET_TOKEN }}

1
.gitignore vendored
View File

@@ -18,6 +18,7 @@ Release/
*.xcodeproj
ipch/
.vs/
.vscode/
/Telegram/log.txt
/Telegram/data

35
.gitmodules vendored
View File

@@ -3,10 +3,7 @@
url = https://github.com/telegramdesktop/libtgvoip
[submodule "Telegram/ThirdParty/GSL"]
path = Telegram/ThirdParty/GSL
url = https://github.com/Microsoft/GSL.git
[submodule "Telegram/ThirdParty/Catch"]
path = Telegram/ThirdParty/Catch
url = https://github.com/philsquared/Catch
url = https://github.com/desktop-app/GSL.git
[submodule "Telegram/ThirdParty/xxHash"]
path = Telegram/ThirdParty/xxHash
url = https://github.com/Cyan4973/xxHash.git
@@ -31,9 +28,6 @@
[submodule "Telegram/lib_ui"]
path = Telegram/lib_ui
url = https://github.com/desktop-app/lib_ui.git
[submodule "Telegram/lib_rlottie"]
path = Telegram/lib_rlottie
url = https://github.com/desktop-app/lib_rlottie.git
[submodule "Telegram/lib_lottie"]
path = Telegram/lib_lottie
url = https://github.com/desktop-app/lib_lottie.git
@@ -58,18 +52,12 @@
[submodule "Telegram/lib_qr"]
path = Telegram/lib_qr
url = https://github.com/desktop-app/lib_qr.git
[submodule "Telegram/ThirdParty/libdbusmenu-qt"]
path = Telegram/ThirdParty/libdbusmenu-qt
url = https://github.com/desktop-app/libdbusmenu-qt.git
[submodule "Telegram/ThirdParty/hunspell"]
path = Telegram/ThirdParty/hunspell
url = https://github.com/hunspell/hunspell
[submodule "Telegram/ThirdParty/range-v3"]
path = Telegram/ThirdParty/range-v3
url = https://github.com/ericniebler/range-v3.git
[submodule "Telegram/ThirdParty/fcitx-qt5"]
path = Telegram/ThirdParty/fcitx-qt5
url = https://github.com/fcitx/fcitx-qt5.git
[submodule "Telegram/ThirdParty/nimf"]
path = Telegram/ThirdParty/nimf
url = https://github.com/hamonikr/nimf.git
@@ -88,9 +76,24 @@
[submodule "Telegram/lib_webview"]
path = Telegram/lib_webview
url = https://github.com/desktop-app/lib_webview.git
[submodule "Telegram/lib_waylandshells"]
path = Telegram/lib_waylandshells
url = https://github.com/desktop-app/lib_waylandshells.git
[submodule "Telegram/ThirdParty/jemalloc"]
path = Telegram/ThirdParty/jemalloc
url = https://github.com/jemalloc/jemalloc
[submodule "Telegram/ThirdParty/dispatch"]
path = Telegram/ThirdParty/dispatch
url = https://github.com/apple/swift-corelibs-libdispatch
[submodule "Telegram/ThirdParty/kimageformats"]
path = Telegram/ThirdParty/kimageformats
url = https://github.com/KDE/kimageformats.git
[submodule "Telegram/ThirdParty/kcoreaddons"]
path = Telegram/ThirdParty/kcoreaddons
url = https://github.com/KDE/kcoreaddons.git
[submodule "Telegram/ThirdParty/cld3"]
path = Telegram/ThirdParty/cld3
url = https://github.com/google/cld3.git
[submodule "Telegram/ThirdParty/libprisma"]
path = Telegram/ThirdParty/libprisma
url = https://github.com/desktop-app/libprisma.git
[submodule "Telegram/ThirdParty/xdg-desktop-portal"]
path = Telegram/ThirdParty/xdg-desktop-portal
url = https://github.com/flatpak/xdg-desktop-portal.git

View File

@@ -4,9 +4,15 @@
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0076 NEW)
cmake_policy(SET CMP0091 NEW)
if (APPLE)
# target_precompile_headers with COMPILE_LANGUAGE restriction.
cmake_minimum_required(VERSION 3.23)
else()
cmake_minimum_required(VERSION 3.16)
endif()
if (POLICY CMP0149)
cmake_policy(SET CMP0149 NEW)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
@@ -16,7 +22,9 @@ desktop_app_parse_version(Telegram/build/version)
set(project_langs C CXX)
if (APPLE)
set(project_langs C CXX OBJC OBJCXX)
list(APPEND project_langs OBJC OBJCXX)
elseif (LINUX)
list(APPEND project_langs ASM)
endif()
project(Telegram
@@ -31,20 +39,28 @@ get_filename_component(third_party_loc "Telegram/ThirdParty" REALPATH)
get_filename_component(submodules_loc "Telegram" REALPATH)
get_filename_component(cmake_helpers_loc "cmake" REALPATH)
if (NOT DESKTOP_APP_USE_PACKAGED AND WIN32)
set(Python3_EXECUTABLE ${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/python/Scripts/python)
endif()
include(cmake/variables.cmake)
include(cmake/nice_target_sources.cmake)
include(cmake/target_link_static_libraries.cmake)
include(cmake/target_compile_options_if_exists.cmake)
include(cmake/target_link_frameworks.cmake)
include(cmake/target_link_optional_libraries.cmake)
include(cmake/target_link_options_if_exists.cmake)
include(cmake/target_link_static_libraries.cmake)
include(cmake/init_target.cmake)
include(cmake/generate_target.cmake)
include(cmake/nuget.cmake)
include(cmake/validate_d3d_compiler.cmake)
include(cmake/target_prepare_qrc.cmake)
include(cmake/options.cmake)
include(cmake/external/qt/package.cmake)
set(desktop_app_skip_libs
glibmm
variant
)

2
LEGAL
View File

@@ -1,7 +1,7 @@
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
Copyright (c) 2014-2021 The Telegram Desktop Authors.
Copyright (c) 2014-2024 The Telegram Desktop Authors.
Telegram Desktop is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -1,6 +1,6 @@
# [Telegram Desktop][telegram_desktop] Official Messenger
This is the complete source code and the build instructions for the alpha version of the official desktop client for the [Telegram][telegram] messenger, based on the [Telegram API][telegram_api] and the [MTProto][telegram_proto] secure protocol.
This is the complete source code and the build instructions for the official [Telegram][telegram] messenger desktop client, based on the [Telegram API][telegram_api] and the [MTProto][telegram_proto] secure protocol.
[![Version](https://badge.fury.io/gh/telegramdesktop%2Ftdesktop.svg)](https://github.com/telegramdesktop/tdesktop/releases)
[![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/Windows./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions)
@@ -17,13 +17,18 @@ The latest version is available for
* [Windows 7 and above (64 bit)](https://telegram.org/dl/desktop/win64) ([portable](https://telegram.org/dl/desktop/win64_portable))
* [Windows 7 and above (32 bit)](https://telegram.org/dl/desktop/win) ([portable](https://telegram.org/dl/desktop/win_portable))
* [macOS 10.12 and above](https://telegram.org/dl/desktop/mac)
* [macOS 10.13 and above](https://telegram.org/dl/desktop/mac)
* [Linux static build for 64 bit](https://telegram.org/dl/desktop/linux)
* [Snap](https://snapcraft.io/telegram-desktop)
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
## Old system versions
Version **4.9.9** was the last that supports older systems
* [macOS 10.12](https://updates.tdesktop.com/tmac/tsetup.4.9.9.dmg)
* [Linux with glibc < 2.28 static build](https://updates.tdesktop.com/tlinux/tsetup.4.9.9.tar.xz)
Version **2.4.4** was the last that supports older systems
* [OS X 10.10 and 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg)
@@ -37,8 +42,8 @@ Version **1.8.15** was the last that supports older systems
## Third-party
* Qt 5.15.2, 5.6.2 and 5.3.2 slightly patched ([LGPL](http://doc.qt.io/qt-5/lgpl.html))
* OpenSSL 1.1.1 and 1.0.1 ([OpenSSL License](https://www.openssl.org/source/license.html))
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) and Qt 5.15 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) slightly patched
* OpenSSL 3.2.1 ([Apache License 2.0](https://www.openssl.org/source/apache-license-2.0.txt))
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE))
* zlib 1.2.11 ([zlib License](http://www.zlib.net/zlib_license.html))
* LZMA SDK 9.20 ([public domain](http://www.7-zip.org/sdk.html))
@@ -55,7 +60,6 @@ Version **1.8.15** was the last that supports older systems
* Open Sans font ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html))
* Vazir font ([SIL Open Font License 1.1](https://github.com/rastikerdar/vazir-font/blob/master/OFL.txt))
* Emoji alpha codes ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md))
* Catch test framework ([Boost License](https://github.com/philsquared/Catch/blob/master/LICENSE.txt))
* xxHash ([BSD License](https://github.com/Cyan4973/xxHash/blob/dev/LICENSE))
* QR Code generator ([MIT License](https://github.com/nayuki/QR-Code-generator#license))
* CMake ([New BSD License](https://github.com/Kitware/CMake/blob/master/Copyright.txt))

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic blue</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="#4BB7FF" offset="0%"></stop>
<stop stop-color="#015EC1" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.39588%" id="linearGradient-2">
<stop stop-color="#0888DF" offset="0%"></stop>
<stop stop-color="#0042AC" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-blue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.47368421 C52.6535116,4.47368421 62.3029461,8.44172846 69.286057,14.8715044 C76.2233062,21.2590526 80.5263158,30.0798831 80.5263158,39.8304382 C80.5263158,49.5809933 76.2233062,58.4018239 69.286057,64.7893721 C62.3029461,71.219148 52.6535116,75.1871923 42,75.1871923 C37.5267059,75.1871923 33.2308553,74.4877643 29.2348341,73.2001187 C29.0182529,73.1303293 28.8019654,73.0586229 28.5862413,72.9852481 C28.3948519,73.106612 28.2000814,73.2292009 28.0019297,73.3530173 C26.1800899,74.4914063 24.5768234,75.4183854 23.1902273,76.1332316 C19.9632993,77.7968433 15.8838664,78.895322 10.968708,79.4573148 L10.3331597,79.5269374 C10.8475353,78.5381033 11.3155893,77.6262907 11.7364879,76.7897918 L12.0856904,76.0911971 C13.1548056,73.9371347 13.8747553,72.3343394 14.2288664,71.2486595 C14.8154652,69.4501884 15.1095499,67.6701625 15.2363061,66.0328103 C15.2549358,65.7921643 15.2704685,65.5479168 15.2812363,65.2994157 C15.1072303,65.1457013 14.9345381,64.9902431 14.7631844,64.8330639 C7.79678435,58.4429296 3.47368421,49.6037286 3.47368421,39.8304382 C3.47368421,30.0798831 7.77669379,21.2590526 14.713943,14.8715044 C21.6970539,8.44172846 31.3464884,4.47368421 42,4.47368421 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.94736842" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#71D0FF" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>general</title>
<g id="general" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M14.4576257,1.02558449 C15.189053,1.1696007 15.6657078,1.88165413 15.5222641,2.61600035 L14.8818905,5.62412405 L16.6504058,5.62421139 C17.3957661,5.62421139 18,6.23085664 18,6.97919149 C18,7.72752633 17.3957661,8.33417159 16.6504058,8.33417159 L14.3525674,8.33397488 L13.6850637,11.7513347 L15.3008116,11.7515071 C16.0461719,11.7515071 16.6504058,12.3581524 16.6504058,13.1064872 C16.6504058,13.8548221 16.0461719,14.4614673 15.3008116,14.4614673 L13.1557407,14.4614328 L12.4307242,17.9055215 C12.2872804,18.6398677 11.5780573,19.1184247 10.84663,18.9744085 C10.1152028,18.8303923 9.63854794,18.1183389 9.7819917,17.3839927 L10.4051821,14.4614328 L7.75733538,14.4614328 L7.03234733,17.9055215 C6.90989534,18.5324024 6.37514133,18.9728813 5.76623746,18.9987859 L5.71387199,19 C5.62631985,19.0002755 5.53745163,18.9919715 5.44825318,18.9744085 C4.71682589,18.8303923 4.24017107,18.1183389 4.38361482,17.3839927 L5.00702313,14.4614328 L3.34959422,14.4614673 C2.60423391,14.4614673 2,13.8548221 2,13.1064872 C2,12.3581524 2.60423391,11.7515071 3.34959422,11.7515071 L5.53634616,11.7513347 L6.20384986,8.33397488 L4.69918844,8.33417159 C3.95382813,8.33417159 3.34959422,7.72752633 3.34959422,6.97919149 C3.34959422,6.23085664 3.95382813,5.62421139 4.69918844,5.62421139 L6.73317289,5.62412405 L7.4751547,2.09447154 C7.60110532,1.44967974 8.16325465,1.00209364 8.79363004,1 L8.84631136,1.00087004 C8.91674267,1.00340951 8.98789009,1.01153413 9.05924885,1.02558449 C9.79067614,1.1696007 10.267331,1.88165413 10.1238872,2.61600035 L9.48348515,5.62412405 L12.1315782,5.62412405 L12.8735316,2.09447154 C13.0169753,1.36012532 13.7261984,0.881568286 14.4576257,1.02558449 Z M10.9345052,11.7513347 L11.6020089,8.33397488 L8.95416211,8.33397488 L8.28665842,11.7513347 L10.9345052,11.7513347 Z" id="Combined-Shape-Copy-6" fill="#FFFFFF"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic gray</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="#A5A5A5" offset="0%"></stop>
<stop stop-color="#616161" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.39588%" id="linearGradient-2">
<stop stop-color="#737373" offset="0%"></stop>
<stop stop-color="#565656" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-gray" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.47368421 C52.6535116,4.47368421 62.3029461,8.44172846 69.286057,14.8715044 C76.2233062,21.2590526 80.5263158,30.0798831 80.5263158,39.8304382 C80.5263158,49.5809933 76.2233062,58.4018239 69.286057,64.7893721 C62.3029461,71.219148 52.6535116,75.1871923 42,75.1871923 C37.5267059,75.1871923 33.2308553,74.4877643 29.2348341,73.2001187 C29.0182529,73.1303293 28.8019654,73.0586229 28.5862413,72.9852481 C28.3948519,73.106612 28.2000814,73.2292009 28.0019297,73.3530173 C26.1800899,74.4914063 24.5768234,75.4183854 23.1902273,76.1332316 C19.9632993,77.7968433 15.8838664,78.895322 10.968708,79.4573148 L10.3331597,79.5269374 C10.8475353,78.5381033 11.3155893,77.6262907 11.7364879,76.7897918 L12.0856904,76.0911971 C13.1548056,73.9371347 13.8747553,72.3343394 14.2288664,71.2486595 C14.8154652,69.4501884 15.1095499,67.6701625 15.2363061,66.0328103 C15.2549358,65.7921643 15.2704685,65.5479168 15.2812363,65.2994157 C15.1072303,65.1457013 14.9345381,64.9902431 14.7631844,64.8330639 C7.79678435,58.4429296 3.47368421,49.6037286 3.47368421,39.8304382 C3.47368421,30.0798831 7.77669379,21.2590526 14.713943,14.8715044 C21.6970539,8.44172846 31.3464884,4.47368421 42,4.47368421 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.94736842" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#B8B8B8" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic green</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.7635421%" id="linearGradient-1">
<stop stop-color="#97E334" offset="0%"></stop>
<stop stop-color="#11B411" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="98.9250576%" id="linearGradient-2">
<stop stop-color="#48AF18" offset="0%"></stop>
<stop stop-color="#05951A" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-green" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.42105263 C52.6675181,4.42105263 62.3294728,8.39460913 69.3217075,14.8327858 C76.2697184,21.230243 80.5789474,30.0648871 80.5789474,39.8304382 C80.5789474,49.5959894 76.2697184,58.4306335 69.3217075,64.8280906 C62.3294728,71.2662674 52.6675181,75.2398239 42,75.2398239 C37.5210466,75.2398239 33.2197662,74.5394876 29.2186919,73.2502137 C29.0098956,73.1829329 28.8013719,73.1138726 28.5929684,73.0432995 C28.4083865,73.1602808 28.2206704,73.2783974 28.0298198,73.3976517 C26.2065565,74.5369301 24.6020235,75.4646079 23.2143446,76.1800123 C19.9826132,77.8461004 15.8972513,78.9467661 10.9744394,79.5096334 L10.3380323,79.5793501 C12.3422829,75.5502987 13.657562,72.8305079 14.1788292,71.2323391 C14.7640488,69.4380965 15.0573738,67.6622454 15.1838316,66.0287479 C15.2017691,65.7970433 15.21683,65.561992 15.2283048,65.3228731 C15.0601712,65.1741519 14.8932645,65.0238038 14.727607,64.8718496 C7.75040024,58.4718025 3.42105263,49.6187586 3.42105263,39.8304382 C3.42105263,30.0648871 7.7302816,21.230243 14.6782925,14.8327858 C21.6705272,8.39460913 31.3324819,4.42105263 42,4.42105263 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.84210526" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#C2FF71" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic red</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="#FF714C" offset="0%"></stop>
<stop stop-color="#C61505" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="98.6056043%" id="linearGradient-2">
<stop stop-color="#E12F1F" offset="0%"></stop>
<stop stop-color="#B40101" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-red" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.42105263 C52.6675181,4.42105263 62.3294728,8.39460913 69.3217075,14.8327858 C76.2697184,21.230243 80.5789474,30.0648871 80.5789474,39.8304382 C80.5789474,49.5959894 76.2697184,58.4306335 69.3217075,64.8280906 C62.3294728,71.2662674 52.6675181,75.2398239 42,75.2398239 C37.5210466,75.2398239 33.2197662,74.5394876 29.2186919,73.2502137 C29.0098956,73.1829329 28.8013719,73.1138726 28.5929684,73.0432995 C28.4083865,73.1602808 28.2206704,73.2783974 28.0298198,73.3976517 C26.2065565,74.5369301 24.6020235,75.4646079 23.2143446,76.1800123 C19.9826132,77.8461004 15.8972513,78.9467661 10.9744394,79.5096334 L10.3380323,79.5793501 C12.3422829,75.5502987 13.657562,72.8305079 14.1788292,71.2323391 C14.7640488,69.4380965 15.0573738,67.6622454 15.1838316,66.0287479 C15.2017691,65.7970433 15.21683,65.561992 15.2283048,65.3228731 C15.0601712,65.1741519 14.8932645,65.0238038 14.727607,64.8718496 C7.75040024,58.4718025 3.42105263,49.6187586 3.42105263,39.8304382 C3.42105263,30.0648871 7.7302816,21.230243 14.6782925,14.8327858 C21.6705272,8.39460913 31.3324819,4.42105263 42,4.42105263 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.84210526" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#FFB47D" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic rose</title>
<defs>
<linearGradient x1="50%" y1="4.31422203%" x2="50%" y2="99.6023762%" id="linearGradient-1">
<stop stop-color="#FF7999" offset="0%"></stop>
<stop stop-color="#E4215A" offset="98.5968743%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="96.4024371%" id="linearGradient-2">
<stop stop-color="#F83B72" offset="0%"></stop>
<stop stop-color="#BA0940" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-rose" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.42105263 C52.6675181,4.42105263 62.3294728,8.39460913 69.3217075,14.8327858 C76.2697184,21.230243 80.5789474,30.0648871 80.5789474,39.8304382 C80.5789474,49.5959894 76.2697184,58.4306335 69.3217075,64.8280906 C62.3294728,71.2662674 52.6675181,75.2398239 42,75.2398239 C37.5210466,75.2398239 33.2197662,74.5394876 29.2186919,73.2502137 C29.0098956,73.1829329 28.8013719,73.1138726 28.5929684,73.0432995 C28.4083865,73.1602808 28.2206704,73.2783974 28.0298198,73.3976517 C26.2065565,74.5369301 24.6020235,75.4646079 23.2143446,76.1800123 C19.9826132,77.8461004 15.8972513,78.9467661 10.9744394,79.5096334 L10.3380323,79.5793501 C12.3422829,75.5502987 13.657562,72.8305079 14.1788292,71.2323391 C14.7640488,69.4380965 15.0573738,67.6622454 15.1838316,66.0287479 C15.2017691,65.7970433 15.21683,65.561992 15.2283048,65.3228731 C15.0601712,65.1741519 14.8932645,65.0238038 14.727607,64.8718496 C7.75040024,58.4718025 3.42105263,49.6187586 3.42105263,39.8304382 C3.42105263,30.0648871 7.7302816,21.230243 14.6782925,14.8327858 C21.6705272,8.39460913 31.3324819,4.42105263 42,4.42105263 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.84210526" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#FFC7D6" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic violet</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.7635421%" id="linearGradient-1">
<stop stop-color="#E57AFF" offset="0%"></stop>
<stop stop-color="#A438BB" offset="99.8550522%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.39588%" id="linearGradient-2">
<stop stop-color="#B239D1" offset="0%"></stop>
<stop stop-color="#7C279A" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-violet" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.42105263 C52.6675181,4.42105263 62.3294728,8.39460913 69.3217075,14.8327858 C76.2697184,21.230243 80.5789474,30.0648871 80.5789474,39.8304382 C80.5789474,49.5959894 76.2697184,58.4306335 69.3217075,64.8280906 C62.3294728,71.2662674 52.6675181,75.2398239 42,75.2398239 C37.5210466,75.2398239 33.2197662,74.5394876 29.2186919,73.2502137 C29.0098956,73.1829329 28.8013719,73.1138726 28.5929684,73.0432995 C28.4083865,73.1602808 28.2206704,73.2783974 28.0298198,73.3976517 C26.2065565,74.5369301 24.6020235,75.4646079 23.2143446,76.1800123 C19.9826132,77.8461004 15.8972513,78.9467661 10.9744394,79.5096334 L10.3380323,79.5793501 C12.3422829,75.5502987 13.657562,72.8305079 14.1788292,71.2323391 C14.7640488,69.4380965 15.0573738,67.6622454 15.1838316,66.0287479 C15.2017691,65.7970433 15.21683,65.561992 15.2283048,65.3228731 C15.0601712,65.1741519 14.8932645,65.0238038 14.727607,64.8718496 C7.75040024,58.4718025 3.42105263,49.6187586 3.42105263,39.8304382 C3.42105263,30.0648871 7.7302816,21.230243 14.6782925,14.8327858 C21.6705272,8.39460913 31.3324819,4.42105263 42,4.42105263 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.84210526" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#F5BDFF" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="84px" height="84px" viewBox="0 0 84 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>topic yellow</title>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="#FFDB5C" offset="0%"></stop>
<stop stop-color="#EA5800" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="99.0141482%" id="linearGradient-2">
<stop stop-color="#F2A807" offset="0%"></stop>
<stop stop-color="#D93A00" offset="100%"></stop>
</linearGradient>
</defs>
<g id="topic-yellow" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M42,4.42105263 C52.6675181,4.42105263 62.3294728,8.39460913 69.3217075,14.8327858 C76.2697184,21.230243 80.5789474,30.0648871 80.5789474,39.8304382 C80.5789474,49.5959894 76.2697184,58.4306335 69.3217075,64.8280906 C62.3294728,71.2662674 52.6675181,75.2398239 42,75.2398239 C37.5210466,75.2398239 33.2197662,74.5394876 29.2186919,73.2502137 C29.0098956,73.1829329 28.8013719,73.1138726 28.5929684,73.0432995 C28.4083865,73.1602808 28.2206704,73.2783974 28.0298198,73.3976517 C26.2065565,74.5369301 24.6020235,75.4646079 23.2143446,76.1800123 C19.9826132,77.8461004 15.8972513,78.9467661 10.9744394,79.5096334 L10.3380323,79.5793501 C12.3422829,75.5502987 13.657562,72.8305079 14.1788292,71.2323391 C14.7640488,69.4380965 15.0573738,67.6622454 15.1838316,66.0287479 C15.2017691,65.7970433 15.21683,65.561992 15.2283048,65.3228731 C15.0601712,65.1741519 14.8932645,65.0238038 14.727607,64.8718496 C7.75040024,58.4718025 3.42105263,49.6187586 3.42105263,39.8304382 C3.42105263,30.0648871 7.7302816,21.230243 14.6782925,14.8327858 C21.6705272,8.39460913 31.3324819,4.42105263 42,4.42105263 Z" id="Combined-Shape-Copy-2" stroke="url(#linearGradient-2)" stroke-width="2.84210526" fill="url(#linearGradient-1)"></path>
<path d="M9.68078613,24.6137047 C9.8721537,24.8136848 10.1894036,24.8206666 10.3893837,24.629299 C10.3964827,24.6225057 10.4033805,24.6155051 10.410082,24.6083194 C20.5178445,13.7276637 31.3141669,8.50123177 42.7990494,8.92902374 C54.2584365,9.35586606 64.9235425,15.3681505 74.7943671,26.9658769 C75.0309355,27.243826 75.4426222,27.2904538 75.7353592,27.0724506 C76.0315877,26.8518473 76.1075038,26.440096 75.9094038,26.1283693 C67.7821181,13.3374534 56.7453333,6.69089625 42.7990494,6.18869781 C28.8220513,5.68539338 17.7581791,11.5492352 9.60743269,23.7802233 C9.4336795,24.0409463 9.46416665,24.3873362 9.68078613,24.6137047 Z" id="Path-22" fill="#F9FF71" opacity="0.37491644"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg baseProfile="tiny" version="1.2" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg">
<path d="m27.57 30.79q0.77-0.44 1.14-1.28 4.38-9.86 4.67-24.25 0.03-1.64 1.63-1.54 1.14 0.07 1.9 0.65c14.45 10.9 28.35 31.97 18.06 50.37-9.55 17.08-32.38 15.75-41.59-0.69-5.25-9.37-0.83-23.06 4.26-32.03a2.13 2.12 43.5 0 1 3.64-0.09l5.53 8.68a0.57 0.56-31.3 0 0 0.76 0.18z" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 KiB

After

Width:  |  Height:  |  Size: 832 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -111,6 +111,11 @@ pre {
border-radius: 50%;
overflow: hidden;
}
.story {
display: block;
border-radius: 4px;
overflow: hidden;
}
.userpic .initials {
display: block;
color: #fff;
@@ -194,6 +199,10 @@ a.block_link:hover {
text-decoration: none !important;
background-color: #f5f7f8;
}
a.expanded {
padding: 2px 8px;
margin: -2px -8px;
}
.sections {
padding: 11px 0;
}
@@ -428,6 +437,9 @@ div.toast_shown {
.section.sessions {
background-image: url(../images/section_sessions.png);
}
.section.stories {
background-image: url(../images/section_stories.png);
}
.section.web {
background-image: url(../images/section_web.png);
}
@@ -489,6 +501,9 @@ div.toast_shown {
.section.sessions {
background-image: url(../images/section_sessions@2x.png);
}
.section.stories {
background-image: url(../images/section_stories@2x.png);
}
.section.web {
background-image: url(../images/section_web@2x.png);
}
@@ -531,3 +546,39 @@ div.toast_shown {
background-image: url(../images/media_video@2x.png)
}
}
.spoiler {
background: #e8e8e8;
}
.spoiler.hidden {
background: #a9a9a9;
cursor: pointer;
border-radius: 3px;
}
.spoiler.hidden span {
opacity: 0;
user-select: none;
}
.bot_buttons_table {
border-spacing: 0px 2px;
width: 100%;
}
.bot_button {
border-radius: 8px;
text-align: center;
vertical-align: middle;
background-color: #168acd40;
}
.bot_button_row {
display: table;
table-layout: fixed;
padding: 0px;
width:100%;
}
.bot_button_row div {
display: table-cell;
}
.bot_button_column_separator {
width: 2px
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -52,6 +52,28 @@ function ShowMentionName() {
return false;
}
function ShowNotLoadedEmoji() {
ShowToast("This custom emoji is not included, change data exporting settings to download.");
return false;
}
function ShowNotAvailableEmoji() {
ShowToast("This custom emoji is not available.");
return false;
}
function ShowTextCopied(content) {
navigator.clipboard.writeText(content);
ShowToast("Text copied to clipboard.");
return false;
}
function ShowSpoiler(target) {
if (target.classList.contains("hidden")) {
target.classList.toggle("hidden");
}
}
function AddClass(element, name) {
var current = element.className;
var expression = new RegExp('(^|\\s)' + name + '(\\s|$)', 'g');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 814 B

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Some files were not shown because too many files have changed in this diff Show More