Commit graph

14503 commits

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