Commit Graph

15131 Commits

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