Compare commits

...

1598 Commits

Author SHA1 Message Date
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
1747 changed files with 86062 additions and 30848 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.

View File

@@ -25,13 +25,18 @@ jobs:
submodules: recursive
- name: First set up.
run: curl -sSL https://install.python-poetry.org | python3 -
run: |
sudo apt update
curl -sSL https://install.python-poetry.org | python3 -
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c
- name: Docker image build.
run: |
cd Telegram/build/docker/centos_env
poetry install
DEBUG= LTO= poetry run gen_dockerfile | docker buildx build -t $IMAGE_TAG -
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 }}

View File

@@ -57,7 +57,6 @@ jobs:
matrix:
defines:
- ""
- "DESKTOP_APP_DISABLE_DBUS_INTEGRATION"
- "DESKTOP_APP_DISABLE_X11_INTEGRATION"
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"
@@ -93,6 +92,8 @@ jobs:
fi
./configure.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" \

View File

@@ -64,7 +64,7 @@ jobs:
- name: First set up.
run: |
sudo chown -R `whoami`:admin /usr/local/share
brew install automake
brew install automake ninja pkg-config
# Disable spotlight.
sudo mdutil -a -i off
@@ -113,6 +113,7 @@ 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_DISABLE_CRASH_REPORTS=OFF \
$DEFINE

View File

@@ -40,7 +40,7 @@ jobs:
snap:
name: Ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
UPLOAD_ARTIFACT: "false"
@@ -54,11 +54,15 @@ jobs:
- name: First set up.
run: |
sudo iptables -P FORWARD ACCEPT
sudo snap install --classic snapcraft
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@76866dbe54312617f00798d1762df7f43def6e5c
- name: Telegram Desktop snap build.
run: sg lxd -c 'snap run snapcraft -v'

View File

@@ -60,13 +60,10 @@ jobs:
steps:
- name: Prepare directories.
run: |
mkdir %userprofile%\TBuild
mkdir %userprofile%\TBuild\Libraries
mklink /d %GITHUB_WORKSPACE%\TBuild %userprofile%\TBuild
echo TBUILD=%GITHUB_WORKSPACE%\TBuild>>%GITHUB_ENV%
mkdir %userprofile%\TBuild Libraries
mklink /d %userprofile%\TBuild\Libraries %GITHUB_WORKSPACE%\Libraries
- name: Get repository name.
shell: bash
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
@@ -82,9 +79,6 @@ jobs:
submodules: recursive
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
- name: Python installs.
run: pip3 install --upgrade pywin32 six
- name: Set up environment paths.
shell: bash
run: |
@@ -103,7 +97,7 @@ jobs:
id: cache-libs
uses: actions/cache@v3.0.11
with:
path: Libraries
path: ${{ env.TBUILD }}\Libraries
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
restore-keys: ${{ runner.OS }}-${{ matrix.arch }}-libs-
@@ -111,7 +105,9 @@ jobs:
env:
GYP_MSVS_OVERRIDE_PATH: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\'
GYP_MSVS_VERSION: 2022
run: '%TBUILD%\%REPO_NAME%\Telegram\build\prepare\win.bat skip-release silent'
run: |
cd %TBUILD%
%REPO_NAME%\Telegram\build\prepare\win.bat skip-release silent
- name: Read defines.
shell: bash
@@ -119,15 +115,23 @@ jobs:
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo Define from matrix: $DEFINE
echo "Define from matrix: $DEFINE"
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}" >> $GITHUB_ENV
fi
echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $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.
run: |
cd %TBUILD%
del /S Libraries\*.pdb
del /S Libraries\*.pch
del /S Libraries\*.obj
@@ -139,7 +143,7 @@ jobs:
call configure.bat ^
${{ matrix.arch }} ^
-D TDESKTOP_API_TEST=ON ^
%TDESKTOP_BUILD_API% ^
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^
-D DESKTOP_APP_NO_PDB=ON ^
%TDESKTOP_BUILD_DEFINE% ^
@@ -149,13 +153,13 @@ jobs:
msbuild -m Telegram.sln /p:Configuration=Debug,Platform=${{ matrix.arch }},DebugSymbols=false,DebugType=none
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
run: |
mkdir artifact
move %TBUILD%\%REPO_NAME%\out\Debug\Telegram.exe artifact/
- uses: actions/upload-artifact@master
name: Upload artifact.
if: env.UPLOAD_ARTIFACT == 'true'
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
with:
name: ${{ env.ARTIFACT_NAME }}
path: artifact\

View File

@@ -10,9 +10,11 @@ jobs:
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 }}

5
.gitmodules vendored
View File

@@ -3,7 +3,7 @@
url = https://github.com/telegramdesktop/libtgvoip
[submodule "Telegram/ThirdParty/GSL"]
path = Telegram/ThirdParty/GSL
url = https://github.com/Microsoft/GSL.git
url = https://github.com/desktop-app/GSL.git
[submodule "Telegram/ThirdParty/xxHash"]
path = Telegram/ThirdParty/xxHash
url = https://github.com/Cyan4973/xxHash.git
@@ -100,3 +100,6 @@
[submodule "Telegram/ThirdParty/cld3"]
path = Telegram/ThirdParty/cld3
url = https://github.com/google/cld3.git
[submodule "Telegram/ThirdParty/wayland"]
path = Telegram/ThirdParty/wayland
url = https://github.com/gitlab-freedesktop-mirrors/wayland.git

View File

@@ -21,7 +21,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
@@ -36,12 +38,17 @@ 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_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/target_link_frameworks.cmake)
include(cmake/init_target.cmake)
include(cmake/generate_target.cmake)
include(cmake/nuget.cmake)
@@ -52,11 +59,9 @@ include(cmake/options.cmake)
if (NOT DESKTOP_APP_USE_PACKAGED)
if (WIN32)
set(qt_version 5.15.4)
set(qt_version 5.15.10)
elseif (APPLE)
set(qt_version 6.3.1)
else()
set(qt_version 6.4.1)
set(qt_version 6.3.2)
endif()
endif()
include(cmake/external/qt/package.cmake)

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-2022 The Telegram Desktop Authors.
Copyright (c) 2014-2023 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

@@ -12,9 +12,7 @@ add_subdirectory(lib_crl)
add_subdirectory(lib_base)
add_subdirectory(lib_ui)
add_subdirectory(lib_tl)
if (NOT DESKTOP_APP_DISABLE_SPELLCHECK)
add_subdirectory(lib_spellcheck)
endif()
add_subdirectory(lib_spellcheck)
add_subdirectory(lib_storage)
add_subdirectory(lib_lottie)
add_subdirectory(lib_qr)
@@ -72,6 +70,7 @@ PRIVATE
desktop-app::lib_crl
desktop-app::lib_ui
desktop-app::lib_tl
desktop-app::lib_spellcheck
desktop-app::lib_storage
desktop-app::lib_lottie
desktop-app::lib_qr
@@ -168,22 +167,30 @@ PRIVATE
api/api_user_privacy.h
api/api_views.cpp
api/api_views.h
api/api_websites.cpp
api/api_websites.h
api/api_who_reacted.cpp
api/api_who_reacted.h
boxes/filters/edit_filter_box.cpp
boxes/filters/edit_filter_box.h
boxes/filters/edit_filter_chats_list.cpp
boxes/filters/edit_filter_chats_list.h
boxes/filters/edit_filter_links.cpp
boxes/filters/edit_filter_links.h
boxes/peers/add_bot_to_chat_box.cpp
boxes/peers/add_bot_to_chat_box.h
boxes/peers/add_participants_box.cpp
boxes/peers/add_participants_box.h
boxes/peers/choose_peer_box.cpp
boxes/peers/choose_peer_box.h
boxes/peers/edit_contact_box.cpp
boxes/peers/edit_contact_box.h
boxes/peers/edit_forum_topic_box.cpp
boxes/peers/edit_forum_topic_box.h
boxes/peers/edit_linked_chat_box.cpp
boxes/peers/edit_linked_chat_box.h
boxes/peers/edit_members_visible.cpp
boxes/peers/edit_members_visible.h
boxes/peers/edit_participant_box.cpp
boxes/peers/edit_participant_box.h
boxes/peers/edit_participants_box.cpp
@@ -225,8 +232,6 @@ PRIVATE
boxes/background_box.h
boxes/background_preview_box.cpp
boxes/background_preview_box.h
boxes/change_phone_box.cpp
boxes/change_phone_box.h
boxes/choose_filter_box.cpp
boxes/choose_filter_box.h
boxes/connection_box.cpp
@@ -241,8 +246,6 @@ PRIVATE
boxes/download_path_box.h
boxes/edit_caption_box.cpp
boxes/edit_caption_box.h
boxes/edit_color_box.cpp
boxes/edit_color_box.h
boxes/edit_privacy_box.cpp
boxes/edit_privacy_box.h
boxes/gift_premium_box.cpp
@@ -347,6 +350,9 @@ PRIVATE
calls/calls_video_bubble.h
calls/calls_video_incoming.cpp
calls/calls_video_incoming.h
chat_helpers/compose/compose_features.h
chat_helpers/compose/compose_show.cpp
chat_helpers/compose/compose_show.h
chat_helpers/bot_command.cpp
chat_helpers/bot_command.h
chat_helpers/bot_keyboard.cpp
@@ -443,6 +449,8 @@ PRIVATE
data/data_audio_msg_id.h
data/data_auto_download.cpp
data/data_auto_download.h
data/data_bot_app.cpp
data/data_bot_app.h
data/data_chat.cpp
data/data_chat.h
data/data_chat_filters.cpp
@@ -543,6 +551,12 @@ PRIVATE
data/data_sparse_ids.h
data/data_sponsored_messages.cpp
data/data_sponsored_messages.h
data/data_stories.cpp
data/data_stories.h
data/data_stories_ids.cpp
data/data_stories_ids.h
data/data_story.cpp
data/data_story.h
data/data_streaming.cpp
data/data_streaming.h
data/data_thread.cpp
@@ -583,6 +597,8 @@ PRIVATE
dialogs/ui/dialogs_layout.h
dialogs/ui/dialogs_message_view.cpp
dialogs/ui/dialogs_message_view.h
dialogs/ui/dialogs_stories_content.cpp
dialogs/ui/dialogs_stories_content.h
dialogs/ui/dialogs_topics_view.cpp
dialogs/ui/dialogs_topics_view.h
dialogs/ui/dialogs_video_userpic.cpp
@@ -667,14 +683,18 @@ PRIVATE
history/view/media/history_view_media_common.h
history/view/media/history_view_media_grouped.cpp
history/view/media/history_view_media_grouped.h
history/view/media/history_view_media_spoiler.cpp
history/view/media/history_view_media_spoiler.h
history/view/media/history_view_media_unwrapped.cpp
history/view/media/history_view_media_unwrapped.h
history/view/media/history_view_photo.cpp
history/view/media/history_view_photo.h
history/view/media/history_view_poll.cpp
history/view/media/history_view_poll.h
history/view/media/history_view_service_media_gift.cpp
history/view/media/history_view_service_media_gift.h
history/view/media/history_view_premium_gift.cpp
history/view/media/history_view_premium_gift.h
history/view/media/history_view_service_box.cpp
history/view/media/history_view_service_box.h
history/view/media/history_view_slot_machine.cpp
history/view/media/history_view_slot_machine.h
history/view/media/history_view_sticker.cpp
@@ -682,8 +702,12 @@ PRIVATE
history/view/media/history_view_sticker_player.cpp
history/view/media/history_view_sticker_player.h
history/view/media/history_view_sticker_player_abstract.h
history/view/media/history_view_story_mention.cpp
history/view/media/history_view_story_mention.h
history/view/media/history_view_theme_document.cpp
history/view/media/history_view_theme_document.h
history/view/media/history_view_userpic_suggestion.cpp
history/view/media/history_view_userpic_suggestion.h
history/view/media/history_view_web_page.cpp
history/view/media/history_view_web_page.h
history/view/reactions/history_view_reactions.cpp
@@ -748,6 +772,10 @@ PRIVATE
history/view/history_view_sticker_toast.h
history/view/history_view_transcribe_button.cpp
history/view/history_view_transcribe_button.h
history/view/history_view_translate_bar.cpp
history/view/history_view_translate_bar.h
history/view/history_view_translate_tracker.cpp
history/view/history_view_translate_tracker.h
history/view/history_view_top_bar_widget.cpp
history/view/history_view_top_bar_widget.h
history/view/history_view_view_button.cpp
@@ -764,6 +792,8 @@ PRIVATE
history/history_item_components.h
history/history_item_edition.cpp
history/history_item_edition.h
history/history_item_helpers.cpp
history/history_item_helpers.h
history/history_item_reply_markup.cpp
history/history_item_reply_markup.h
history/history_item_text.cpp
@@ -772,10 +802,8 @@ PRIVATE
history/history_inner_widget.h
history/history_location_manager.cpp
history/history_location_manager.h
history/history_message.cpp
history/history_message.h
history/history_service.cpp
history/history_service.h
history/history_translation.cpp
history/history_translation.h
history/history_unread_things.cpp
history/history_unread_things.h
history/history_view_highlight_manager.cpp
@@ -835,14 +863,14 @@ PRIVATE
info/profile/info_profile_cover.h
info/profile/info_profile_emoji_status_panel.cpp
info/profile/info_profile_emoji_status_panel.h
info/profile/info_profile_icon.cpp
info/profile/info_profile_icon.h
info/profile/info_profile_inner_widget.cpp
info/profile/info_profile_inner_widget.h
info/profile/info_profile_members.cpp
info/profile/info_profile_members.h
info/profile/info_profile_members_controllers.cpp
info/profile/info_profile_members_controllers.h
info/profile/info_profile_phone_menu.cpp
info/profile/info_profile_phone_menu.h
info/profile/info_profile_text.cpp
info/profile/info_profile_text.h
info/profile/info_profile_values.cpp
@@ -851,6 +879,24 @@ PRIVATE
info/profile/info_profile_widget.h
info/settings/info_settings_widget.cpp
info/settings/info_settings_widget.h
info/stories/info_stories_inner_widget.cpp
info/stories/info_stories_inner_widget.h
info/stories/info_stories_provider.cpp
info/stories/info_stories_provider.h
info/stories/info_stories_widget.cpp
info/stories/info_stories_widget.h
info/userpic/info_userpic_colors_editor.cpp
info/userpic/info_userpic_colors_editor.h
info/userpic/info_userpic_emoji_builder.cpp
info/userpic/info_userpic_emoji_builder.h
info/userpic/info_userpic_emoji_builder_common.cpp
info/userpic/info_userpic_emoji_builder_common.h
info/userpic/info_userpic_emoji_builder_menu_item.cpp
info/userpic/info_userpic_emoji_builder_menu_item.h
info/userpic/info_userpic_emoji_builder_preview.cpp
info/userpic/info_userpic_emoji_builder_preview.h
info/userpic/info_userpic_emoji_builder_widget.cpp
info/userpic/info_userpic_emoji_builder_widget.h
inline_bots/bot_attach_web_view.cpp
inline_bots/bot_attach_web_view.h
inline_bots/inline_bot_layout_internal.cpp
@@ -897,6 +943,8 @@ PRIVATE
main/main_account.h
main/main_app_config.cpp
main/main_app_config.h
main/main_app_config_values.cpp
main/main_app_config_values.h
main/main_domain.cpp
main/main_domain.h
main/main_session.cpp
@@ -905,8 +953,8 @@ PRIVATE
main/main_session_settings.h
main/session/send_as_peers.cpp
main/session/send_as_peers.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
main/session/session_show.cpp
main/session/session_show.h
media/audio/media_audio.cpp
media/audio/media_audio.h
media/audio/media_audio_capture.cpp
@@ -921,10 +969,6 @@ PRIVATE
media/audio/media_audio_track.h
media/audio/media_child_ffmpeg_loader.cpp
media/audio/media_child_ffmpeg_loader.h
media/audio/media_openal_functions.cpp
media/audio/media_openal_functions.h
media/player/media_player_button.cpp
media/player/media_player_button.h
media/player/media_player_float.cpp
media/player/media_player_float.h
media/player/media_player_instance.cpp
@@ -935,6 +979,30 @@ PRIVATE
media/player/media_player_volume_controller.h
media/player/media_player_widget.cpp
media/player/media_player_widget.h
media/stories/media_stories_caption_full_view.cpp
media/stories/media_stories_caption_full_view.h
media/stories/media_stories_controller.cpp
media/stories/media_stories_controller.h
media/stories/media_stories_delegate.cpp
media/stories/media_stories_delegate.h
media/stories/media_stories_header.cpp
media/stories/media_stories_header.h
media/stories/media_stories_reactions.cpp
media/stories/media_stories_reactions.h
media/stories/media_stories_recent_views.cpp
media/stories/media_stories_recent_views.h
media/stories/media_stories_reply.cpp
media/stories/media_stories_reply.h
media/stories/media_stories_share.cpp
media/stories/media_stories_share.h
media/stories/media_stories_sibling.cpp
media/stories/media_stories_sibling.h
media/stories/media_stories_slider.cpp
media/stories/media_stories_slider.h
media/stories/media_stories_stealth.cpp
media/stories/media_stories_stealth.h
media/stories/media_stories_view.cpp
media/stories/media_stories_view.h
media/streaming/media_streaming_audio_track.cpp
media/streaming/media_streaming_audio_track.h
media/streaming/media_streaming_common.h
@@ -980,6 +1048,10 @@ PRIVATE
media/view/media_view_playback_progress.cpp
media/view/media_view_playback_progress.h
media/view/media_view_open_common.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
menu/menu_antispam_validator.cpp
menu/menu_antispam_validator.h
menu/menu_item_download_files.cpp
menu/menu_item_download_files.h
menu/menu_mute.cpp
@@ -1055,9 +1127,9 @@ PRIVATE
platform/linux/integration_linux.h
platform/linux/main_window_linux.cpp
platform/linux/main_window_linux.h
platform/linux/notifications_manager_linux_dummy.cpp
platform/linux/notifications_manager_linux.cpp
platform/linux/notifications_manager_linux.h
platform/linux/overlay_widget_linux.h
platform/linux/specific_linux.cpp
platform/linux/specific_linux.h
platform/linux/tray_linux.cpp
@@ -1073,6 +1145,8 @@ PRIVATE
platform/mac/main_window_mac.h
platform/mac/notifications_manager_mac.mm
platform/mac/notifications_manager_mac.h
platform/mac/overlay_widget_mac.h
platform/mac/overlay_widget_mac.mm
platform/mac/specific_mac.mm
platform/mac/specific_mac.h
platform/mac/specific_mac_p.mm
@@ -1110,6 +1184,7 @@ PRIVATE
platform/win/main_window_win.h
platform/win/notifications_manager_win.cpp
platform/win/notifications_manager_win.h
platform/win/overlay_widget_win.h
platform/win/specific_win.cpp
platform/win/specific_win.h
platform/win/tray_win.cpp
@@ -1129,7 +1204,8 @@ PRIVATE
platform/platform_integration.h
platform/platform_main_window.h
platform/platform_notifications_manager.h
platform/platform_specific.cpp
platform/platform_overlay_widget.cpp
platform/platform_overlay_widget.h
platform/platform_specific.h
platform/platform_tray.h
platform/platform_window_title.h
@@ -1173,6 +1249,8 @@ PRIVATE
settings/settings_experimental.h
settings/settings_folders.cpp
settings/settings_folders.h
settings/settings_global_ttl.cpp
settings/settings_global_ttl.h
settings/settings_information.cpp
settings/settings_information.h
settings/settings_intro.cpp
@@ -1183,13 +1261,19 @@ PRIVATE
settings/settings_main.h
settings/settings_notifications.cpp
settings/settings_notifications.h
settings/settings_power_saving.cpp
settings/settings_power_saving.h
settings/settings_premium.cpp
settings/settings_premium.h
settings/settings_privacy_controllers.cpp
settings/settings_privacy_controllers.h
settings/settings_privacy_security.cpp
settings/settings_privacy_security.h
settings/settings_scale_preview.cpp
settings/settings_scale_preview.h
settings/settings_type.h
settings/settings_websites.cpp
settings/settings_websites.h
storage/details/storage_file_utilities.cpp
storage/details/storage_file_utilities.h
storage/details/storage_settings_scheme.cpp
@@ -1250,6 +1334,10 @@ PRIVATE
ui/chat/choose_send_as.h
ui/chat/choose_theme_controller.cpp
ui/chat/choose_theme_controller.h
ui/controls/silent_toggle.cpp
ui/controls/silent_toggle.h
ui/controls/userpic_button.cpp
ui/controls/userpic_button.h
ui/effects/emoji_fly_animation.cpp
ui/effects/emoji_fly_animation.h
ui/effects/message_sending_animation_common.h
@@ -1269,8 +1357,6 @@ PRIVATE
ui/widgets/level_meter.h
ui/countryinput.cpp
ui/countryinput.h
ui/empty_userpic.cpp
ui/empty_userpic.h
ui/filter_icons.cpp
ui/filter_icons.h
ui/filter_icon_panel.cpp
@@ -1280,8 +1366,6 @@ PRIVATE
ui/resize_area.h
ui/search_field_controller.cpp
ui/search_field_controller.h
ui/special_buttons.cpp
ui/special_buttons.h
ui/text/format_song_document_name.cpp
ui/text/format_song_document_name.h
ui/unread_badge.cpp
@@ -1342,8 +1426,6 @@ PRIVATE
apiwrap.cpp
apiwrap.h
config.h
facades.cpp
facades.h
logs.cpp
logs.h
main.cpp
@@ -1365,18 +1447,6 @@ if (NOT build_winstore)
)
endif()
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
remove_target_sources(Telegram ${src_loc}
platform/linux/linux_xdp_open_with_dialog.cpp
platform/linux/linux_xdp_open_with_dialog.h
platform/linux/notifications_manager_linux.cpp
)
else()
remove_target_sources(Telegram ${src_loc}
platform/linux/notifications_manager_linux_dummy.cpp
)
endif()
if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
remove_target_sources(Telegram ${src_loc}
platform/linux/linux_wayland_integration.cpp
@@ -1414,6 +1484,13 @@ PRIVATE
numbers.txt
)
if (APPLE AND NOT build_macstore)
nice_target_sources(Telegram ${res_loc}
PRIVATE
qrc/telegram/mac_icons.qrc
)
endif()
if (WIN32)
# message(${CMAKE_GENERATOR})
# mt.exe -manifest "${res_loc}/winrc/Telegram.manifest" "-inputresource:\"$<TARGET_FILE:Telegram>\";#1" "-outputresource:\"$<TARGET_FILE:Telegram>\";#1" >NUL
@@ -1479,12 +1556,13 @@ elseif (APPLE)
endif()
endif()
else()
if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
target_link_libraries(Telegram
PRIVATE
desktop-app::external_glibmm
)
endif()
target_link_libraries(Telegram
PRIVATE
desktop-app::external_glibmm
)
include(${cmake_helpers_loc}/external/glib/generate_dbus.cmake)
generate_dbus(Telegram org.freedesktop.portal. XdpInhibit ${src_loc}/platform/linux/org.freedesktop.portal.Inhibit.xml)
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
target_link_libraries(Telegram
@@ -1496,6 +1574,7 @@ else()
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
qt_generate_wayland_protocol_client_sources(Telegram
FILES
${third_party_loc}/wayland/protocol/wayland.xml
${third_party_loc}/plasma-wayland-protocols/src/protocols/plasma-shell.xml
)
@@ -1685,6 +1764,7 @@ endif()
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
include(GNUInstallDirs)
configure_file("../lib/xdg/org.telegram.desktop.service" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.service" @ONLY)
configure_file("../lib/xdg/org.telegram.desktop.metainfo.xml" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml" @ONLY)
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml")
install(TARGETS Telegram RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}")
@@ -1696,5 +1776,6 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
install(FILES "Resources/art/icon256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "telegram.png")
install(FILES "Resources/art/icon512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "telegram.png")
install(FILES "../lib/xdg/org.telegram.desktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.service" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
endif()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 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

@@ -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);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 B

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 B

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 B

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 B

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