Commit graph

14508 commits

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