Commit graph

13919 commits

Author SHA1 Message Date
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