Compare commits

...

3707 Commits

Author SHA1 Message Date
John Preston
f05191e668 Version 5.5.2: Fix build. 2024-09-09 21:30:15 +04:00
John Preston
1ba189e59d Version 5.5.2.
- Support two bottom buttons in web apps.
- Fix text layout outside of the message bubble glitch.
- Don't stop video when dragging media viewer in window mode.
2024-09-09 21:12:33 +04:00
23rd
c40ca70aa6 Added date of admin promotional to EditAdminBox. 2024-09-09 17:20:52 +03:00
23rd
521f991167 Replaced float labels with text in dividers in EditAdminBox. 2024-09-09 17:20:52 +03:00
23rd
edf1417bbb Added date of restriction to EditRestrictedBox. 2024-09-09 17:20:52 +03:00
23rd
686e9643ad Replaced channel participant parsing with modern way in admin log. 2024-09-09 17:20:52 +03:00
23rd
975460d268 Added api support for dates of chat participant data. 2024-09-09 17:20:52 +03:00
23rd
6b0c606d25 Switched type of subscription date from Qt to TimeId. 2024-09-09 17:20:52 +03:00
23rd
93ff0bdcff Slightly improved style of box for sending GIF with caption. 2024-09-09 17:20:52 +03:00
23rd
bf9d90ca4e Fixed emoji display in header of link for dialog filters. 2024-09-09 17:20:52 +03:00
23rd
d6e5e1e8f7 Added handle of flood errors in request of join to chatlist. 2024-09-09 17:20:52 +03:00
23rd
d3ae2ef9ea Synced local English phrases with server. 2024-09-09 17:20:52 +03:00
John Preston
40b0854704 Don't pause video on viewer drag. 2024-09-09 17:54:16 +04:00
John Preston
9aec6b6496 Set min width for field collapsed quotes. 2024-09-09 17:24:15 +04:00
John Preston
d01f977960 Don't offer hello-sticker to user you've blocked. 2024-09-09 16:42:02 +04:00
John Preston
1444009ee2 Update submodules. 2024-09-09 14:58:40 +04:00
John Preston
14ee9bee26 Fix quotes starting with custom urls. 2024-09-09 14:58:40 +04:00
Ilya Fedin
93587ddc3c Allow scale preview in separate window on Wayland 2024-09-09 14:49:44 +04:00
John Preston
0c4d03477e Fix text layout in some cases. 2024-09-09 14:28:37 +04:00
John Preston
a35092f012 Support second button in web apps. 2024-09-09 13:29:00 +04:00
John Preston
49ee7ee52b Version 5.5.1: Update cmake_helpers. 2024-09-07 00:25:47 +04:00
John Preston
52c77a1970 Version 5.5.1.
- Fix crash in peer short info box.
2024-09-06 23:30:32 +04:00
John Preston
e4269ae7fb Fix crash in PeerShortInfoBox. 2024-09-06 23:28:43 +04:00
John Preston
bd6011c524 Version 5.5.
- Star Giveaways.
- Swipe-to-Reply.
- Audio device selection in one-on-one calls.
- Text selection in collapsed / expanded quotes.
2024-09-06 21:57:47 +04:00
23rd
46cb3ec103 Added box for boosts with credits. 2024-09-06 21:57:47 +04:00
23rd
0241129948 Added support of admin log filter for extended subscriptions. 2024-09-06 21:57:47 +04:00
23rd
e44aca06cb Added support of admin log event of extended subscriptions. 2024-09-06 21:57:47 +04:00
23rd
19d386f977 Added support of credits to giveaway info results. 2024-09-06 21:57:47 +04:00
John Preston
a67fdda913 Fix the Release build for macOS. 2024-09-06 21:57:47 +04:00
John Preston
5286c7b1c3 Allow selecting text in collapsed quotes. 2024-09-06 21:57:47 +04:00
23rd
d9d96d0a6f Fixed display of custom badge in selected messages for giveaways. 2024-09-06 21:57:47 +04:00
23rd
13353bb615 Improved phrases in service message for giveaway results with credits. 2024-09-06 21:57:47 +04:00
23rd
d78348fd16 Fixed crash in box for giveaway create when winners number is constant. 2024-09-06 21:57:46 +04:00
23rd
1e8e660133 Improved phrases in top bar from box for giveaway creation with credits. 2024-09-06 21:57:46 +04:00
23rd
5196982c98 Improved phrases in box for information of giveaway with credits. 2024-09-06 21:57:46 +04:00
23rd
99f857fbf6 Improved phrases in service message for started giveaway with credits. 2024-09-06 21:57:46 +04:00
23rd
0982aa166a Added support of prepaid giveaway with credits. 2024-09-06 21:57:46 +04:00
23rd
3ae9f86097 Slightly improved display of credits in boosts from statistics list. 2024-09-06 21:57:46 +04:00
23rd
9efd9b0d68 Slightly improved timestamp parsing in Api::Boosts. 2024-09-06 21:57:46 +04:00
John Preston
267a73f355 Update API scheme on layer 187. 2024-09-06 21:57:46 +04:00
John Preston
437d8ea890 Fix build with MSVC. 2024-09-06 21:57:46 +04:00
23rd
7ed92ec402 Added credits icon to boosts in statistics list. 2024-09-06 21:57:46 +04:00
23rd
678d9ffbf9 Added support of giveaway prize action messages to export to JSON. 2024-09-06 21:57:46 +04:00
23rd
bc4b427ed1 Added support of giveaway prize action messages to export to HTML. 2024-09-06 21:57:46 +04:00
23rd
36141a9df9 Added support of giveaway results messages to export to JSON. 2024-09-06 21:57:46 +04:00
23rd
d68ba75457 Improved process of giveaway messages for export to JSON. 2024-09-06 21:57:46 +04:00
23rd
00ad32c5f4 Added support of giveaway results messages to export to HTML. 2024-09-06 21:57:46 +04:00
23rd
064bab60ff Improved process of giveaway messages for export to HTML. 2024-09-06 21:57:46 +04:00
23rd
5b146217c0 Added support for credits in messages of prize in giveaways. 2024-09-06 21:57:46 +04:00
23rd
202c81b2e5 Added support for credits in messages for starting and ending giveaways. 2024-09-06 21:57:46 +04:00
23rd
4520480604 Added support of credits giveaway to ReceiptCreditsBox. 2024-09-06 21:57:46 +04:00
23rd
aea87bb5cb United buttons for premium giveaway and premium gifts to single button. 2024-09-06 21:57:46 +04:00
23rd
19492f7e7b Improved prize description for credits in box for giveaway creation. 2024-09-06 21:57:46 +04:00
23rd
51030e3c45 Added list of options to box for giveaway creation with credits. 2024-09-06 21:57:46 +04:00
23rd
e6b8b4be18 Added initial payment support for credits giveaway. 2024-09-06 21:36:03 +04:00
23rd
6ac13b7f80 Added button for credits giveaway to box for giveaway creation. 2024-09-06 21:36:03 +04:00
23rd
7e5e6003a9 Added initial api support for credits giveaway options. 2024-09-06 21:36:03 +04:00
23rd
f445440995 Added initial data structure for credits giveaway options. 2024-09-06 21:36:03 +04:00
John Preston
d81547f091 Support cloud-saved paid reaction privacy. 2024-09-06 21:36:03 +04:00
John Preston
2b185d491b Update API scheme to layer 187. 2024-09-06 21:36:03 +04:00
John Preston
ca47440950 Don't treat .gif as "small image". 2024-09-06 21:07:17 +04:00
John Preston
5e32602f4a Add elastic overscroll to swipe-to-reply. 2024-09-06 21:07:02 +04:00
23rd
1f4516028c Fixed desync of repaint of userpics and messages while swipe-on-reply. 2024-09-06 19:52:29 +03:00
23rd
7f29d269a3 Changed swipe-on-reply detection only when scroll has began. 2024-09-06 17:11:16 +03:00
23rd
62c3374911 Disabled swipe-to-reply for channels. 2024-09-06 12:04:42 +03:00
23rd
2116e04af5 Allowed to swipe-to-reply only with started initial of touches. 2024-09-06 11:56:21 +03:00
John Preston
a97d5e80c7 Fix custom reaction as a quick one. 2024-09-05 19:13:52 +04:00
John Preston
b5098038d0 Add two-year ttl time for account. 2024-09-05 17:05:09 +04:00
John Preston
6fce718252 Add jump-to-end button to chat preview. 2024-09-05 14:50:38 +04:00
John Preston
40cf96202d Add 1.5 years account ttl value. 2024-09-05 14:11:41 +04:00
John Preston
c18e59218e Show internal list of apps as Stars Examples. 2024-09-05 13:14:07 +04:00
John Preston
216865a20d Fix file albums with inline keyboard buttons. 2024-09-05 12:01:43 +04:00
John Preston
6c5036ee8d Fix typo in swipe-to-reply through QWheelEvent. 2024-09-05 11:52:25 +04:00
Viliansh
dc2f59ca24 Added org.telegram as developer_id in the flatpak metainfo.xml
Co-authored-by: ilya-fedin <fedin-ilja2010@ya.ru>
2024-09-05 09:47:43 +02:00
Viliansh
6f6457137e removed update_contact from flatpak metainfo.xml 2024-09-05 09:47:43 +02:00
Viliansh
bc5cb6e2a2 Changed dev name in org.telegram.desktop.metainfo.xml
In flathub, and it's front-ends like KDE's Discover or GNOME Software, Telegram shows "By John Preston", and some users were hesitant to install it afraid that was "fake", so i changed it to Telegram, this would also make it consistent with snap, thanks!
2024-09-05 09:47:43 +02:00
John Preston
16825fff41 Use QWheelEvent::inverted() in swipe gesture. 2024-09-05 11:30:37 +04:00
John Preston
5024f1db8c Beta version 5.4.6.
- Add Swipe-To-Reply for modern touchpads and touchscreens.
- Add text selection in collapsed and expanded blockquotes.
- Fix text rendering in 100% interface scale on Windows.
2024-09-04 18:39:16 +04:00
23rd
a60385fc3d Removed QGraphicsOpacityEffect usage from media view overlay widget. 2024-09-04 18:39:16 +04:00
23rd
b20e2c37c1 Fixed build on Qt6. 2024-09-04 18:39:16 +04:00
John Preston
acd40cbeb6 Apply invert_media flag on message send finish. 2024-09-04 18:32:48 +04:00
23rd
6a45a862dd Removed wheel events from scale slider in section of main settings. 2024-09-04 16:01:55 +02:00
23rd
5bd45e9a20 Fixed updating of left userpic with offset from swipe-on-reply. 2024-09-04 16:01:55 +02:00
23rd
52e42f23ab Improved animation speed on release of swipe-on-reply with various x. 2024-09-04 16:01:54 +02:00
23rd
96b7755cde Fixed updating of message on bounce animation of swipe-on-reply icon. 2024-09-04 16:01:54 +02:00
23rd
c589ee1ca5 Fixed overlap of reply icon on left swipe of message with right action. 2024-09-04 16:01:54 +02:00
23rd
18c9ee093b Fixed unwanted top offset of dialogs widget when float player opened. 2024-09-04 16:01:54 +02:00
John Preston
b82fa3112c Improve touchscreen swipt-to-reply. 2024-09-04 16:01:20 +02:00
John Preston
8d0f66d562 Fix touchscreen history scrolling. 2024-09-04 14:06:11 +02:00
John Preston
20a5e0ba73 Fix controls layout after adding a bot to a group.
Fixes https://bugs.telegram.org/c/19451
2024-09-04 14:56:50 +04:00
John Preston
5a2667c71e Fix reply previews to blockquotes / codeblocks. 2024-09-04 14:45:35 +04:00
John Preston
1f4a8d7eb6 Fix build with MSVC. 2024-09-04 14:45:07 +04:00
John Preston
4430bd0328 Improve lottie icon layout in group calls. 2024-09-04 14:14:12 +04:00
John Preston
ab2e7f4c03 Fix media viewer create on non-primary screen. 2024-09-04 14:14:12 +04:00
John Preston
54e5c06b4d Revert updated Harfbuzz-NG in Qt 5.15.15.
This fixes the regression with text rendering in 100% scale.

Fixes #28340.
2024-09-04 14:14:12 +04:00
23rd
add5a6a0be Added debug util to ensure end of life of objects. 2024-09-04 14:14:12 +04:00
23rd
89c2ba4293 Weakened gesture orientation check within swipe-to-reply. 2024-09-04 14:14:12 +04:00
23rd
dd100fb709 Fixed back gesture responsiveness for swipe-to-reply on macOS. 2024-09-04 14:14:12 +04:00
John Preston
e8dd2b9e7b Use only integer translations in reply swipe. 2024-09-04 14:14:12 +04:00
23rd
71e3cd227c Added initial swipe-to-reply to section for replies. 2024-09-04 14:14:12 +04:00
23rd
1648c31a22 Moved out swipe-to-reply setup to inner method in HistoryInner. 2024-09-04 14:14:12 +04:00
23rd
f8c820f319 Fixed swipe-to-reply on macOS. 2024-09-04 14:14:12 +04:00
John Preston
300f35e78f Implement both touch and wheel swipe-to-reply. 2024-09-04 14:14:12 +04:00
23rd
2aa5849997 Improved horizontal animation for reply icon on left swipe. 2024-09-04 14:14:12 +04:00
23rd
fb1b845211 Improved process of message repaint on swipe to reply. 2024-09-04 14:14:11 +04:00
23rd
3d2af9db8e Improved distance of reply icon on left swipe. 2024-09-04 14:14:11 +04:00
23rd
6129e5a1cf Added bounce animation on finish of replying with left swipe. 2024-09-04 14:14:11 +04:00
23rd
7f70ee1227 Added initial ability to reply with left swipe. 2024-09-04 14:14:11 +04:00
23rd
c9f7da6e82 Added ability to paint icons in center of QRectF. 2024-09-04 10:33:28 +03:00
23rd
f956c0f227 Added experimental option to disable touch bar on macOS. 2024-09-04 10:12:08 +03:00
23rd
df935e0477 Improved code style of gifMaxStatusWidth static function. 2024-09-04 10:11:57 +03:00
23rd
841f1afe1e Improved subtitle space in permissions and restrictions edit boxes. 2024-09-04 10:11:54 +03:00
23rd
fb8b88557e Added ability to kick participants from section of admin log. 2024-09-04 10:11:49 +03:00
23rd
2b502b22b9 Replaced PeerData::generateUserpicImage with static function. 2024-09-04 10:11:44 +03:00
23rd
5ac80d2655 Fixed text clipping at bottom in settings section for cloud password. 2024-09-04 10:11:41 +03:00
23rd
8aa7499e63 Fixed width of stats PointDetailsWidget for charts with currency. 2024-09-04 10:11:36 +03:00
23rd
8cd5e51982 Added missed handler of server error when try to reset cloud password. 2024-09-04 10:11:31 +03:00
23rd
e5c2133446 Disabled Qt build on Windows without successful applied patches. 2024-09-04 10:11:17 +03:00
John Preston
3dccdf2f05 Beta version 5.4.5.
- Fix possible crash in text rendering.
2024-09-01 10:19:39 +04:00
John Preston
8a708c6655 Update Qt to 5.15.15 on Windows. 2024-09-01 10:19:39 +04:00
Ilya Fedin
9e1d9eee4b Fix snap build 2024-08-31 20:09:36 +02:00
Ilya Fedin
f30aabc365 Update Qt 6.7.2 -> 6.8.0 2024-08-31 19:54:58 +02:00
John Preston
a5546d016f Fix possible crash in long-word texts. 2024-08-31 21:48:52 +04:00
John Preston
f79d70d112 Use Ui::Text::String in Ui::RoundButton. 2024-08-31 21:48:52 +04:00
John Preston
ec28f258fb Use full bubble width in message text rendering.
Fixes #28331.
2024-08-31 21:48:52 +04:00
John Preston
08f3a6fb40 Fix local group sent-as display. 2024-08-31 21:48:52 +04:00
John Preston
8823d5256f Fix indentation. 2024-08-31 21:48:52 +04:00
23rd
60e7aa90d2 Added ability to report profile photo from peer info section. 2024-08-31 12:34:50 +03:00
John Preston
71357a9546 Fix archive chats list bidi support. 2024-08-29 17:48:06 +04:00
John Preston
a5b06e9c56 Fix possible crash in text elision. 2024-08-29 17:41:15 +04:00
23rd
0f94419f6d Improved fix of crash in video messages playback.
Regression was introduced in ad3e447f08.
2024-08-29 17:37:55 +04:00
John Preston
94e7aabea5 Fix spaces after emoji in text rendering. 2024-08-29 17:19:28 +04:00
John Preston
f6c816cafe Beta version 5.4.4.
- Fix wrong layout and crashes in text shaping.
- Fix crashes in voice / video messages playback.
2024-08-29 13:01:06 +04:00
John Preston
4cf160e8dc Fix UB in text shaping. 2024-08-29 12:54:52 +04:00
John Preston
9252be5e8c Fix crash in video messages playback.
Regression was introduced in ad3e447f08.
2024-08-29 12:13:51 +04:00
John Preston
ed342eea64 Beta version 5.4.3. (Windows only)
- Fix working on Windows 7.
2024-08-29 10:32:53 +04:00
John Preston
e6405bc455 Beta version 5.4.2.
- Select audio devices from one-on-one call window.
- Bug fixes and other minor improvements.
- New text layout testing.
2024-08-28 21:50:05 +04:00
John Preston
fed09461ce Fix spaces after newline rendering. 2024-08-28 19:16:55 +04:00
John Preston
6e1ddef4fe Fix strings for group profile colors. 2024-08-28 17:45:29 +04:00
John Preston
76be4a3eb9 Fix build on Windows. 2024-08-28 17:45:18 +04:00
John Preston
997a9e2fe3 Fix text elision under spoiler. 2024-08-28 17:29:43 +04:00
23rd
03790f3da0 Removed include directive for ui_utility from rp_widget header. 2024-08-28 15:15:58 +03:00
23rd
e46a703c7d Removed include directive for ui/integration from ui_utility header. 2024-08-28 14:39:05 +03:00
23rd
ae17acdfd4 Removed include directive for ui_utility from rp_widget header. 2024-08-28 14:38:33 +03:00
23rd
2422c9ce9e Moved out Ui::MakeWeak to separate file. 2024-08-28 14:37:56 +03:00
23rd
7f75d7082a Moved out Ui::CreateChild to separate file. 2024-08-28 14:37:07 +03:00
23rd
4749ab175e Fixed build with Apple clang. 2024-08-28 14:37:07 +03:00
John Preston
e651699e1d Fix thumbnailed document layout. 2024-08-28 14:58:21 +04:00
John Preston
3f4157bab2 Fix crash in unlock with chat in separate window.
Fixes #28306, fixes #28319.
2024-08-28 14:58:21 +04:00
John Preston
a98f559066 Add test_text test app. 2024-08-28 14:58:09 +04:00
John Preston
ffd54c452c Support DirectManipulation in chat preview. 2024-08-28 14:58:02 +04:00
John Preston
61424eeab9 Fix build with Qt 5. 2024-08-28 14:57:49 +04:00
John Preston
c131d6637d Don't force LTR direction on texts. 2024-08-28 14:57:42 +04:00
John Preston
24b0b33f1d Wrap names in LRM/RLM for correct layout. 2024-08-28 14:55:41 +04:00
23rd
675198d361 Fixed gradient in Ui::Premium::BubbleWidget with large ui scale. 2024-08-28 12:38:07 +03:00
23rd
ed667a42ad Moved out MainWidget::clearBotStartToken to static function. 2024-08-28 09:49:53 +03:00
23rd
920484d540 Fixed update of submit way in all opened windows. 2024-08-28 09:32:39 +03:00
23rd
07c5e6542b Replaced Info::Controller with navigation in box for giveaway creation. 2024-08-28 09:10:10 +03:00
23rd
6a43f2e508 Fixed display of round edges in box for giveaway creation. 2024-08-28 09:06:44 +03:00
23rd
ad3e447f08 Added ability to player to go to message for songs from another session. 2024-08-28 08:50:28 +03:00
23rd
1840da1d68 Moved out creation of button for paging of stats lists to single place. 2024-08-27 18:48:19 +03:00
23rd
c82b86cea3 Added ability to convert scale float values. 2024-08-27 18:48:19 +03:00
23rd
0fb383c466 Added ability to block bot from moderate box. 2024-08-27 18:27:15 +03:00
23rd
69fc2f48bf Removed unused include directives from MainWidget. 2024-08-27 18:27:15 +03:00
23rd
7c604fc86a Added ability to send GIF with caption. 2024-08-27 18:27:15 +03:00
23rd
ec7fbb8952 Added ability to provide text with tags when send existing document. 2024-08-22 17:10:17 +03:00
23rd
679350e23d Removed unused simple sendExistingDocument methods from sections. 2024-08-22 17:10:12 +03:00
23rd
f0209c9d6e Removed unused MainWidget::sendExistingDocument. 2024-08-22 17:10:06 +03:00
23rd
5020aec6ec Moved out AddEmojiToggleToField to separate file. 2024-08-22 17:08:25 +03:00
23rd
13737577e7 Fixed updating over state in history widget when edit spoiler of media. 2024-08-21 20:00:48 +03:00
23rd
4ee7d46d78 Improved static infinite radial animation in panel of webview bot. 2024-08-21 19:25:58 +03:00
23rd
d143e32022 Fixed loading of credits history list with offset. 2024-08-21 18:26:24 +03:00
23rd
0a0dab74a1 Added ability to rejoin to subscribed channel after left. 2024-08-21 17:46:36 +03:00
23rd
c6ea91e671 Replaced AdminLog::FilterBox with GenericBox. 2024-08-21 17:18:12 +03:00
23rd
8011adb219 Replaced bool with std::optional in AdminLog::FilterValue. 2024-08-21 17:18:12 +03:00
23rd
6ba5d5f16b Removed old AdminLog::FilterBox. 2024-08-21 17:18:12 +03:00
23rd
d5774830d8 Added ability to provide data to Ui::ExpandablePeerListController. 2024-08-21 17:18:12 +03:00
23rd
eb268102fc Moved out functions to create expandable moderate list to separate file. 2024-08-21 17:18:12 +03:00
23rd
b364c4f23a Moved out graphic of button for expandable moderate list to view. 2024-08-21 17:18:12 +03:00
23rd
91b9266a91 Moved out lambdas to create expandable moderate list to functions. 2024-08-21 17:18:12 +03:00
23rd
1e6236a987 Wrapped filter value labels with EditFlagsControl. 2024-08-21 17:18:12 +03:00
23rd
10ebd7e6ef Moved out AdminLog::FilterValue to separate file. 2024-08-21 17:18:12 +03:00
John Preston
6b83c52c7c Improve top senders rebuild.
Fixes #28296.
2024-08-21 10:54:30 +02:00
John Preston
46304c7a2d Fix build in Release. 2024-08-21 09:35:46 +02:00
John Preston
c3fda41224 Check for local URLs more strictly. 2024-08-21 09:35:46 +02:00
John Preston
a4017e930e Add device selectors to one-on-one calls. 2024-08-21 09:35:46 +02:00
John Preston
95bdb925d5 Fix paddings in text messages disabler. 2024-08-20 16:10:27 +02:00
23rd
a26bae70c7 Added Enter shortcut to EditForumTopicBox for confirmation. 2024-08-19 12:53:42 +03:00
23rd
a38dcb6ee5 Improved color of topic icon in TopicIconView. 2024-08-19 12:02:12 +03:00
23rd
eb27c12117 Added icon and name of contact to deletion confirmation box. 2024-08-18 21:53:12 +03:00
23rd
c03fcf9a23 Added icon and name of topic to deletion confirmation box. 2024-08-18 21:44:34 +03:00
23rd
71f83b5993 Made creation of title with userpic more generic. 2024-08-18 21:44:23 +03:00
23rd
fd2d12d6b1 Removed time shift when reschedule history item. 2024-08-18 20:32:21 +03:00
23rd
50f9f36c3d Fixed padding for history entries in channel earn section. 2024-08-18 13:02:39 +03:00
23rd
f650c679e0 Improved text padding in ShowOrPremiumBox. 2024-08-18 12:41:00 +03:00
23rd
8349cb0dd4 Removed currency column from channel earn section when it's empty. 2024-08-18 12:29:56 +03:00
John Preston
2c1788a63a Version 5.4.1.
- Fix crash when sending Star Reaction in comments.
- Fix loading "Send As" channels in a channel.
- Place Star Reaction always first in list.
- Removed paid Invite Links in groups.
2024-08-17 18:14:54 +02:00
John Preston
eec59611ef Fix leaving forum glitch. 2024-08-17 17:09:49 +02:00
23rd
bfbdf1b935 Removed currency stat from channel earn section when it's not available. 2024-08-16 14:07:55 +03:00
John Preston
f2ea0edc95 Fix link confirmation box in media viewer. 2024-08-16 11:16:35 +02:00
John Preston
754b3a5ae8 Fix bottom text and info layout in albums. 2024-08-16 11:16:18 +02:00
John Preston
62a20ba975 Fix incorrect window activation on message jump.
Fixes #28275.
2024-08-16 10:57:30 +02:00
John Preston
f3dca6efb7 Show correct signature in send-as channel posts. 2024-08-16 10:54:02 +02:00
John Preston
dc1df14a71 Fix send_as appearance in channels. 2024-08-16 09:45:17 +02:00
John Preston
73c018667d Place star reaction always first. 2024-08-16 09:11:25 +02:00
23rd
3905fc7c38 Slightly improved input of credits with large numbers for invite links. 2024-08-15 16:18:33 +03:00
23rd
0c3cabf4ac Removed interface for subscription links from mega groups. 2024-08-15 16:18:33 +03:00
23rd
838d5669ed Replaced api for credits rate. 2024-08-15 16:18:33 +03:00
John Preston
3a7a485dd0 Fix switching profiles in a channel. 2024-08-15 10:45:55 +02:00
John Preston
a4ac00acbd Allow sending star reactions to discussion roots. 2024-08-15 10:14:30 +02:00
John Preston
7d52c13625 Fix focus search on topic open. 2024-08-15 09:48:59 +02:00
John Preston
520de600a0 Fix manifest for Windows Store version. 2024-08-15 08:19:18 +02:00
23rd
4f8e914d53 Added button to media viewer for photo from sponsored messages. 2024-08-15 00:46:58 +03:00
John Preston
79c8c5ec5d Version 5.4.
- Super Channels with post authors' profiles.
- Support favorite channels with Star Reactions.
- Channel Subscriptions with Stars monthly payments.
2024-08-14 23:32:55 +03:00
John Preston
3548aba652 Fix build with GCC. 2024-08-14 23:32:55 +03:00
John Preston
5d1812efc8 Fix build on Windows. 2024-08-14 19:57:38 +02:00
23rd
0477d43fbb Added button to media viewer for media from sponsored messages. 2024-08-14 20:51:01 +03:00
John Preston
73609fe5b2 Fix build on macOS. 2024-08-14 19:02:31 +02:00
John Preston
e027196c8a Don't ask to download CMake on Windows.
The one from Visual Studio works just fine now.
2024-08-14 18:42:52 +02:00
23rd
6d00165e5a Fixed text state of media in sponsored messages. 2024-08-14 18:17:53 +02:00
John Preston
693eaf9262 Allow tonsite:// custom links. 2024-08-14 18:17:53 +02:00
John Preston
3549349ffb Improve layout for the first star reaction. 2024-08-14 18:17:53 +02:00
John Preston
fac20e436d Nice top-up / star sent toasts. 2024-08-14 18:17:53 +02:00
John Preston
63f0feaf04 Change shown top senders only on amount change. 2024-08-14 18:17:52 +02:00
John Preston
3001464f6b Show error on webapp share-to-story. 2024-08-14 18:17:52 +02:00
John Preston
eec9c8a46b Support tg://stars_topup links. 2024-08-14 18:17:52 +02:00
John Preston
80b3754be1 Fix build on Windows. 2024-08-14 18:17:52 +02:00
John Preston
6d61caea4e Update cmake_helpers. 2024-08-14 18:17:52 +02:00
John Preston
b9de12fedb Support 18+/restrictions for messages. 2024-08-14 18:17:52 +02:00
23rd
074dbf41e0 Replaced menu in media viewer with menu for sponsored messages. 2024-08-14 18:17:52 +02:00
23rd
e51b2c0c91 Improved Menu::ShowSponsored to be more generic. 2024-08-14 18:17:52 +02:00
23rd
e4538947c3 Added ability to open media from sponsored messages. 2024-08-14 18:17:52 +02:00
23rd
624e068f2f Added initial ability to display media in sponsored messages. 2024-08-14 18:17:52 +02:00
23rd
30077133d4 Fixed drawing online badge.
Regression was introduced in 66cd27a23e.
2024-08-14 18:17:52 +02:00
John Preston
b0fece2fd0 Provide privacy policy in mini-app. 2024-08-14 18:17:52 +02:00
John Preston
5f8c007a0c Always show Bot Privacy Policy button. 2024-08-14 18:17:52 +02:00
John Preston
a2785867b2 Support correct paid-media-from-bot phrases. 2024-08-14 18:17:52 +02:00
John Preston
9ea495f59d Support group-like channels. 2024-08-14 18:17:52 +02:00
John Preston
24a7e48b75 Fix reactions layout under a media. 2024-08-14 18:17:52 +02:00
John Preston
7ef44fb621 Fix channel reactions list editing. 2024-08-14 18:17:51 +02:00
John Preston
0a1ddddd81 Allow paid reaction even after limit is reached. 2024-08-14 18:17:51 +02:00
John Preston
284f1a5210 Support anonymous paid reactions. 2024-08-14 18:17:51 +02:00
John Preston
37283a7a35 Fix shortcut messages incorrect processing. 2024-08-14 18:17:51 +02:00
John Preston
7f4b540aad Fix crash in poll results collapsing. 2024-08-14 18:17:51 +02:00
John Preston
83f4c53766 Provide unavailable reasons for messages. 2024-08-14 18:17:51 +02:00
John Preston
155f4ea252 Fix build on Windows. 2024-08-14 18:17:51 +02:00
John Preston
f6c071bd18 Fix crash in paid media preview. 2024-08-14 18:17:51 +02:00
John Preston
56959398e2 Update API scheme on layer 186. 2024-08-14 18:17:51 +02:00
23rd
d34d3a796d Added initial graphic of badge to dialog row for subscribed channels. 2024-08-14 18:17:51 +02:00
23rd
dca61541d6 Added ability to emplace badge in dialog row for subscribed channels. 2024-08-14 18:17:51 +02:00
23rd
81a79e2895 Added subscription price info to list of invite links. 2024-08-14 18:17:51 +02:00
23rd
d6541d777f Added box of channel subscriber. 2024-08-14 18:17:51 +02:00
23rd
457301493f Moved out drawing of label for subscription rows to single place. 2024-08-14 18:17:51 +02:00
23rd
4f7364b798 Added ability to cancel and renew subscription from settings section. 2024-08-14 18:17:51 +02:00
23rd
32e8ed93e2 Added ability to display subscription info in ReceiptCreditsBox. 2024-08-14 18:17:51 +02:00
23rd
4760337958 Removed redundant argument from ReceiptCreditsBox. 2024-08-14 18:17:51 +02:00
23rd
f2f85a9083 Replaced icon with custom emoji in list of credits history entries. 2024-08-14 18:17:50 +02:00
23rd
70d5dd8b71 Added initial list of subscriptions to credits settings section. 2024-08-14 18:17:50 +02:00
23rd
ec93a91db2 Added api support for subscriptions list. 2024-08-14 18:17:50 +02:00
23rd
cc3baad377 Added subscription date to credits history entries. 2024-08-14 18:17:50 +02:00
John Preston
d1313f38eb Show right icon in top reactors. 2024-08-14 18:17:50 +02:00
John Preston
49e6c4f552 Don't allow setting star as quick reaction. 2024-08-14 18:17:50 +02:00
John Preston
fb252bb644 Update API scheme on layer 186. 2024-08-14 18:17:50 +02:00
John Preston
78e09f2605 Fix build on Windows. 2024-08-14 18:17:50 +02:00
John Preston
ba4c521d7a Send scheduled paid reactions on quit. 2024-08-14 18:17:50 +02:00
23rd
92f70a0ebb Added handler to subscribe box when balance is too small. 2024-08-14 18:17:50 +02:00
23rd
a13f0cb11e Added ability to subscribe to channel via invite link. 2024-08-14 18:17:50 +02:00
23rd
617ad38a68 Added subscription info to box for details of invite link. 2024-08-14 18:17:50 +02:00
23rd
fb66c85567 Added initial ability to request rate of credits from Credits component. 2024-08-14 18:17:50 +02:00
23rd
05fa2c381a Added initial ability to use credits icon as emoji. 2024-08-14 18:17:50 +02:00
23rd
ae18b4c851 Added special icon to list for invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
7ed715b01c Added ability to edit invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
8158c52e82 Added ability to create invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
44c1109798 Slightly improved include directives in files for invite links. 2024-08-14 18:17:50 +02:00
23rd
ba6bbf54e6 Added initial api support to create invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
75b26b1a85 Moved bunch of arguments for creation of invite links to structure. 2024-08-14 18:17:50 +02:00
23rd
c8a3b0ab80 Renamed SubscriptionOption with PremiumSubscriptionOption. 2024-08-14 18:17:49 +02:00
John Preston
52a199a362 Make nice paid reaction toast. 2024-08-14 18:17:49 +02:00
John Preston
e89f2b55e8 Support arbitrary content in toasts. 2024-08-14 18:17:49 +02:00
John Preston
ac92e1c99e Start paid reaction toast notification. 2024-08-14 18:17:49 +02:00
John Preston
02610de010 Improve paid reactions box design. 2024-08-14 18:17:49 +02:00
John Preston
273e041935 Update currencies list and rules. 2024-08-14 18:17:49 +02:00
John Preston
474c0838d1 Show "Star Reaction" in stars statistics. 2024-08-14 18:17:49 +02:00
John Preston
afe30da9f4 Add top reactors to paid reaction details. 2024-08-14 18:17:49 +02:00
John Preston
9bb1fa8782 Allow sending paid reactions. 2024-08-14 18:17:49 +02:00
John Preston
bb3fc17489 Allow enabling paid reactions. 2024-08-14 18:17:49 +02:00
John Preston
126fd89bb7 Remove accidentally added files from git. 2024-08-14 18:17:49 +02:00
John Preston
fb8f3ad26c Update API scheme to layer 186. 2024-08-14 18:17:48 +02:00
23rd
cedf161e44 Removed inappropriate phrase from photo editor for profile bot photo. 2024-08-14 18:17:48 +02:00
23rd
89dc18aaea Added mode animations to loading screen from different stats. 2024-08-14 18:17:48 +02:00
23rd
ba99706e75 Fixed indents in qrc file. 2024-08-14 18:17:48 +02:00
23rd
efc8417ab1 Improved text size in list of credits options. 2024-08-14 18:17:48 +02:00
23rd
c4f45c4b7c Fixed resizing of label in section of profile info. 2024-08-14 18:17:48 +02:00
23rd
c985b77a48 Removed event filter from input field in edit peer info box on close. 2024-08-14 18:17:48 +02:00
Ilya Fedin
6148fb9474 Use CMAKE_CXX_COMPILER_FRONTEND_VARIANT 2024-08-14 18:43:27 +04:00
Ilya Fedin
fe86f5d050 Check IV support early 2024-08-13 17:09:15 +04:00
Ilya Fedin
916926bfa6 Fix default export directory in flatpak 2024-08-13 08:45:55 +04:00
Ilya Fedin
9eb15f7b17 Move ada snap part to maintain alphabetical order 2024-08-04 12:16:10 +04:00
Ilya Fedin
2d1b1fbd44 Ensure tdesktop builds after ada in snap 2024-08-04 12:16:10 +04:00
Ilya Fedin
1301c42afa Add ada to macOS packaged action 2024-08-04 12:16:10 +04:00
John Preston
0de5080874 Version 5.3.2.
- Fix crash on launch by focing non-LTO jemalloc build.

Fixes #28213, fixes #28221.
2024-08-02 18:14:03 +03:00
John Preston
a982560a62 Fix build on Linux. 2024-08-02 05:31:59 +03:00
John Preston
4a5d8046d5 Version 5.3.1.
- Open normal links from tonsite-s in system browser.
- Fix unicode tonsite:// links.
- Fix crash on Linux X11.
2024-08-01 17:21:06 +02:00
23rd
65a14bcab4 Removed placeholder from input field in box for renaming sticker set. 2024-08-01 17:21:01 +02:00
John Preston
e9bb6f65e3 Update submodules. 2024-08-01 17:14:26 +02:00
John Preston
74f7fa80b7 Fix opening .ton links. 2024-08-01 17:14:26 +02:00
John Preston
2ff0ed50be Encode/Decode tonsite:// punycode correctly. 2024-08-01 17:14:26 +02:00
John Preston
281ad01b85 Add ada library. 2024-08-01 17:14:26 +02:00
John Preston
4864a6996f Open links from tonsite:// externally. 2024-08-01 14:47:33 +02:00
John Preston
0af3028cd6 Allow opening tonsite:// from web apps. 2024-08-01 14:47:16 +02:00
John Preston
11c91c1a42 Don't show recent apps in popular apps. 2024-08-01 14:13:27 +02:00
John Preston
7f3dc27aa9 Allow removing mini apps from recents. 2024-08-01 13:28:25 +02:00
John Preston
51fc104c60 Show bot active users count in status. 2024-08-01 13:28:03 +02:00
John Preston
6b96466c5e Fix possible crash in forward preview. 2024-08-01 12:55:34 +02:00
John Preston
7c1510b611 Fix crash on empty gift receivers list. 2024-08-01 12:55:23 +02:00
Ilya Fedin
993c0ee648 Ensure fake modal widget is a window 2024-08-01 08:58:16 +04:00
John Preston
503c3c7b00 Version 5.3: Update cmake_helpers submodule. 2024-08-01 00:20:34 +03:00
John Preston
b7c14f17a7 Version 5.3: Fix build with Xcode. 2024-07-31 23:06:39 +02:00
John Preston
0b6bd7075a Version 5.3.
- View recent and popular web apps in chats search.
- Open several web apps in different windows.
- Gift Telegram Stars to your friends.
- Send location marks and venues.
- Open tonsite:// links in webview.
- Edit order of stickers in your packs.
2024-07-31 19:06:47 +02:00
John Preston
148690d8b1 Open .ton as a tonsite. 2024-07-31 18:59:31 +02:00
John Preston
a422aec99a Fix cancel of bot app confirm. 2024-07-31 18:59:24 +02:00
John Preston
813d0501da Fix build on Windows. 2024-07-31 18:58:44 +02:00
John Preston
db80096e6b Use corporate sign certificate identity. 2024-07-31 17:03:56 +02:00
John Preston
cf896aeb13 Improve focusing of shown layers. 2024-07-31 17:03:56 +02:00
John Preston
76314e3c03 Close additional windows on passcode lock. 2024-07-31 17:03:56 +02:00
John Preston
8959679b3c Make IV internal links bg semi-transparent. 2024-07-31 17:03:56 +02:00
John Preston
bb6c94ef4f Handle tonsite:// links from the system. 2024-07-31 17:03:56 +02:00
John Preston
fb9ce6d3a8 Provide canGo[Back|Forward] for tonsite-s. 2024-07-31 17:03:56 +02:00
John Preston
dac4389e37 Fix build on Linux. 2024-07-31 17:03:55 +02:00
John Preston
a25b2e9700 Show webview error in Iv::Controller. 2024-07-31 17:03:55 +02:00
John Preston
699a7bdc58 Fix possible crash in message field.
Fixes #28203.
2024-07-31 17:03:55 +02:00
John Preston
4108debca0 Fix possible crash in web apps. 2024-07-31 17:03:55 +02:00
John Preston
8b2bbfba6a Navigate back/forward in tonsite pages. 2024-07-31 17:03:55 +02:00
John Preston
4f37343e8b Use special webview storage for tonsite. 2024-07-31 17:03:55 +02:00
John Preston
2dcf40817e Initial tonsite:// show in IV window. 2024-07-31 17:03:55 +02:00
John Preston
3eeb01be61 Save Celsius/Fahrenheit in Settings. 2024-07-31 17:03:55 +02:00
John Preston
6a8a85e395 Implement recent/popular apps list. 2024-07-31 17:03:55 +02:00
John Preston
031233ea98 Remove some code duplication. 2024-07-31 17:03:54 +02:00
John Preston
4b09050061 Implement Stars gift view from service messages. 2024-07-31 17:03:54 +02:00
John Preston
992c876930 Show correct presents in Stars gifts. 2024-07-31 17:03:54 +02:00
John Preston
a5ffd8b7cf Request new main web app. 2024-07-31 17:03:54 +02:00
John Preston
5fdd4eba80 Implement weather area in stories. 2024-07-31 17:03:54 +02:00
John Preston
54ce85f8e6 Show nice star in stars payments. 2024-07-31 17:03:54 +02:00
23rd
0bfb0fd045 Added initial ability to gift credits to users. 2024-07-31 17:03:54 +02:00
23rd
8ad2d3d39a Added api support to create invoice for credit gifts. 2024-07-31 17:03:54 +02:00
23rd
b8a19b56b6 Removed window session controller usage from list of credit options. 2024-07-31 17:03:54 +02:00
23rd
24b93a5eff Added support for credits gift options to list of credit options. 2024-07-31 17:03:53 +02:00
23rd
127f651d5e Added api support to get credits gift options. 2024-07-31 17:03:53 +02:00
23rd
e760a0983f Added gift sticker to ReceiptCreditsBox for gifts. 2024-07-31 17:03:53 +02:00
23rd
3f2cb8f8c9 Added file origin to sticker pack for gifts. 2024-07-31 17:03:53 +02:00
23rd
bcb6e9e1af Removed unused include directives from settings_common_session. 2024-07-31 17:03:53 +02:00
23rd
847d66c973 Added initial support of received gifts in list of credits history. 2024-07-31 17:03:53 +02:00
John Preston
5c797d1f31 Update API scheme to layer 185. 2024-07-31 17:03:53 +02:00
23rd
f749616dd8 Added additional request of special sticker pack on failing view pack. 2024-07-31 16:50:48 +03:00
23rd
3cc92e01fe Added ability to force request favorite stickers. 2024-07-31 16:50:04 +03:00
23rd
06f2b23687 Added badge to header for owned sticker sets in stickers list. 2024-07-31 13:05:29 +03:00
23rd
6a167b33f5 Added ability to delete sticker from sticker set box. 2024-07-31 11:57:19 +03:00
23rd
850155b3be Added shake animation while reordering to sticker set box. 2024-07-31 11:57:19 +03:00
23rd
358e586801 Added api support to reorder stickers from sticker set box. 2024-07-31 11:57:19 +03:00
23rd
54214ff2ad Added initial ability to drag stickers in sticker set box. 2024-07-30 13:52:32 +03:00
23rd
06fc813e95 Added loading state to box for renaming of stickers set. 2024-07-30 13:52:32 +03:00
23rd
0046bae53f Added ability to change name of sticker set from sticker set box. 2024-07-30 13:52:32 +03:00
23rd
aeb5e57061 Fixed profile opening of group call participant in separate windows. 2024-07-30 13:52:27 +03:00
23rd
a32b781e49 Improved Controller::invokeForSessionController for separate windows. 2024-07-30 13:52:27 +03:00
23rd
caef698e54 Fixed recursive invoking of Application::windowFor. 2024-07-30 13:52:27 +03:00
23rd
e9650385ad Added ability to provide custom style to widget with infinite animation. 2024-07-30 10:54:38 +03:00
23rd
f55584b160 Fixed position of click handler for via bot header in message view. 2024-07-30 10:54:38 +03:00
John Preston
b0981ea8e3 Beta version 5.2.6.
- Fix launching on X11. (Linux)
2024-07-29 11:02:25 +03:00
Ilya Fedin
a141d01a23 Fix macOS packaged action 2024-07-27 22:59:48 +02:00
John Preston
6a000207ee Beta version 5.2.5.
- Fix media viewer context menu.
- Fix blockquotes layout in messages.
2024-07-27 07:48:35 +02:00
John Preston
ee6edf9caa Force venue icon format. 2024-07-27 07:45:59 +02:00
John Preston
37907636e6 Fix build with Xcode. 2024-07-27 07:44:51 +02:00
John Preston
3f0f3a3c11 Focus existing location picker. 2024-07-26 17:28:04 +02:00
John Preston
db0856f71c Support t.me/username?profile links. 2024-07-26 17:28:03 +02:00
John Preston
86cdda2277 Fix text with blockquotes geometry counting. 2024-07-26 17:28:03 +02:00
John Preston
3888e8084a Update tg_owt, lib_webrtc and patches. 2024-07-26 13:02:38 +02:00
Ilya Fedin
517b456670 Add hit test for window context menu 2024-07-26 10:19:55 +02:00
John Preston
77d6e19214 Beta version 5.2.4.
- Allow opening several web apps.
- Send location marks and venues.
2024-07-25 10:33:57 +03:00
John Preston
fb64452495 Fix build on Linux. 2024-07-25 10:33:57 +03:00
John Preston
24fabf2590 Fix build on Windows. 2024-07-24 18:43:18 +02:00
John Preston
9b2847a11d Update submodules. 2024-07-24 18:15:28 +02:00
Ilya Fedin
c18e8fd777 Enable exceptions for C on Linux 2024-07-24 18:12:30 +02:00
Ilya Fedin
f4afa762d8 Replace -fstack-protector-all with -fstack-protector-strong to avoid slowdown of functions not using stack 2024-07-24 18:12:30 +02:00
Ilya Fedin
5e1fb6ebbf Add -fasynchronous-unwind-tables and -mno-omit-leaf-frame-pointer for better debugging on Linux 2024-07-24 18:12:30 +02:00
Ilya Fedin
2c7922ce7b Get release CFLAGS from Dockerfile on Linux 2024-07-24 18:12:30 +02:00
Ilya Fedin
ac78ae823c Reduce portal autostart dialog modality to parent window 2024-07-24 18:10:56 +02:00
John Preston
1ef6f462f6 Preserve link preview settings on reschedule. 2024-07-24 18:06:08 +02:00
John Preston
c81f406759 Use xz repository from GitHub.
Fixes #28189.
2024-07-24 18:06:07 +02:00
John Preston
889ec0c731 Replace \r\n with \n on paste.
Fixes #28181.
2024-07-24 18:25:33 +03:00
John Preston
677fbdd84e Fix webrtc camera usage on Linux. 2024-07-24 17:56:47 +03:00
John Preston
1ebe3255e0 Fix share focus in IV. 2024-07-24 16:09:04 +02:00
John Preston
c70866a995 Fix child native window focus. 2024-07-24 16:09:04 +02:00
John Preston
fd982b90db Implement separate instances for web apps. 2024-07-24 13:46:22 +02:00
John Preston
9461095c88 Fix build with GCC. 2024-07-19 13:01:08 +03:00
John Preston
a2fa1a52e2 Pass VideoCaptureOptions on Linux. 2024-07-19 11:58:26 +02:00
John Preston
a847969e9c Attempt to fix bad input field layout on Qt 6. 2024-07-19 11:58:26 +02:00
John Preston
4d647e64b7 Fix chat links with '-' in slug.
Fixes https://bugs.telegram.org/c/41902.
2024-07-19 11:58:26 +02:00
John Preston
f8b756d447 Improve bot checkout error messages. 2024-07-19 11:58:26 +02:00
John Preston
484c647b5b Fix bot about text layout on wide windows. 2024-07-19 11:58:26 +02:00
John Preston
730c968b1e Use always 1:1 ratio in limits boxes.
Otherwise "Free" label doesn't fit in 2:20 shareable folders.
2024-07-19 11:58:26 +02:00
John Preston
8a6a749296 Show error on attempt to scan QR in bot app.
Fixes #26886.
2024-07-19 11:58:26 +02:00
John Preston
2f22a8f46b Add Windows on ARM to build scripts. 2024-07-19 11:58:26 +02:00
John Preston
f123a9e16c Add openh264 to Dockerfile. 2024-07-19 11:58:20 +02:00
John Preston
11c45b0342 Update submodules. 2024-07-19 11:57:44 +02:00
John Preston
2cd6bfef06 Fix H265 in webrtc. 2024-07-19 11:57:41 +02:00
John Preston
61ca619db4 Fix build on macOS. 2024-07-19 11:56:57 +02:00
John Preston
675ee9088f Fix build on Windows. 2024-07-19 11:56:57 +02:00
John Preston
28a6aa45b9 Update msys2 and patches. 2024-07-19 11:56:57 +02:00
John Preston
08ec9e6bfd Fix build on macOS with new dependencies. 2024-07-19 11:56:54 +02:00
John Preston
ee9f99a754 Add some Windows on ARM special cases. 2024-07-19 11:56:34 +02:00
John Preston
2412183b83 Build most dependencies for Windows on ARM. 2024-07-19 11:56:34 +02:00
John Preston
e83704982f Set initial location correctly. 2024-07-19 11:56:34 +02:00
John Preston
6f86acf712 Use system reverse geocoding on macOS. 2024-07-19 11:56:34 +02:00
John Preston
c22698084f Location search cancel by X button. 2024-07-19 11:56:34 +02:00
John Preston
8c55364afa Allow editing business location in Settings. 2024-07-19 11:56:34 +02:00
John Preston
2c3ef13b01 Update tg_owt to M123. 2024-07-19 11:56:25 +02:00
John Preston
03454ca3b4 Fix sticker quote reply layout. 2024-07-19 11:20:54 +02:00
John Preston
8a92c89f39 Add fsqr promo footer. 2024-07-19 11:20:54 +02:00
John Preston
b83b403b75 Pass correct peer to venue search. 2024-07-19 11:20:54 +02:00
John Preston
8aac07b3c0 Show empty venue search states. 2024-07-19 11:20:54 +02:00
John Preston
b4dfc25df5 Implement venues search. 2024-07-19 11:20:54 +02:00
John Preston
917d1841c1 Try better webview focusing. 2024-07-19 11:20:54 +02:00
John Preston
8ce10d5503 Send chosen venues. 2024-07-19 11:20:54 +02:00
John Preston
a130bb1be6 Search for venues by location. 2024-07-19 11:20:54 +02:00
John Preston
de52ac6b28 Resolve different addresses. 2024-07-19 11:20:54 +02:00
John Preston
310837c9e1 Add venues list and chosen place name. 2024-07-19 11:20:54 +02:00
John Preston
8e6d7bb190 Improve location picker design. 2024-07-19 11:20:53 +02:00
John Preston
025ab40687 Implement location sending on macOS. 2024-07-19 11:20:53 +02:00
John Preston
2a5071b66c Initial location sending on Windows. 2024-07-19 11:20:53 +02:00
23rd
2a63496054 Extended conditions to ability to view channel message statistics. 2024-07-18 01:54:05 +03:00
23rd
a52d4eb4e8 Fixed peer in list of credits history entries. 2024-07-17 18:11:22 +03:00
23rd
4f7a124f3e Added phrases to credits history entries when peer type is premium bot. 2024-07-17 10:04:14 +02:00
23rd
4b9eb37bd5 Added phrases for single winner of giveaway in channels. 2024-07-17 10:04:14 +02:00
23rd
1d5e4040f4 Added api support of flag to view credits stats from full channel. 2024-07-17 10:04:13 +02:00
23rd
6818b8d8dc Fixed row name in table for credits history entries in earn box. 2024-07-17 10:04:13 +02:00
23rd
3f0b962ae5 Fixed color reset for chat filters on saving. 2024-07-17 10:04:13 +02:00
23rd
8ac1ad3484 Updated Qt to 6.2.9 on macOS. 2024-07-17 10:04:13 +02:00
John Preston
c6e1cf639e Update API scheme to layer 184. 2024-07-17 10:04:13 +02:00
Ilya Fedin
5b9278eced Switch Docker to distro-provided cmake 2024-07-15 09:21:47 +02:00
John Preston
03d4dd00d4 Delete selection on Ctrl+Backspace.
Fixes #28143.
2024-07-12 10:32:59 +02:00
John Preston
f7d698b9ff Fix last seen within week/month. 2024-07-12 08:45:45 +02:00
John Preston
46b69a938b Revert "Register tg:// scheme on initial launch."
This reverts commit 8cbeadc68a.
2024-07-12 08:45:45 +02:00
John Preston
ebba58217c Don't set focus to shown third section.
I hope it fixes #28142.
2024-07-12 08:45:45 +02:00
John Preston
94ad8f9bc3 Don't register collapsed row click as userpic.
Fixes #28149.
2024-07-12 08:45:44 +02:00
John Preston
6effac7915 Migrate games to AttachWebView. 2024-07-12 08:45:44 +02:00
John Preston
78093173a9 Version 5.2.3.
- Fix crash in bot star stats page.
- Bug fixes and other minor improvements.
2024-07-07 09:01:58 +04:00
John Preston
a01d48f063 Update submodules. 2024-07-06 22:21:04 +04:00
John Preston
149c69c9f5 Use a separate string for Your Stars in Settings. 2024-07-06 22:13:44 +04:00
John Preston
df277b366b Fix build on Windows. 2024-07-06 13:31:44 +04:00
John Preston
f20475f07e Show forbidden icon on disabled webview button. 2024-07-06 13:31:27 +04:00
John Preston
b6664625ea Fix assigning text after formatted text.
Fixes #28115.
2024-07-06 13:31:27 +04:00
John Preston
1028219276 Allow chats list preview for narrow photos. 2024-07-06 11:08:42 +04:00
John Preston
219671a3bc Fix archive in Main Menu context menu. 2024-07-06 11:08:42 +04:00
John Preston
8c97e915ec Create .mm source blanks for macOS modules. 2024-07-06 11:08:42 +04:00
John Preston
b648548001 Don't insert "data:image.." after image paste cancel. 2024-07-06 11:08:42 +04:00
23rd
b377c02ad3 Added support of min boost level for channel ads to feature list. 2024-07-06 11:08:41 +04:00
23rd
66d6b461f3 Fixed support type of credits history entry for ads in earn section. 2024-07-06 11:08:41 +04:00
John Preston
054a6db3ae Fix warnings on Windows in submodules. 2024-07-06 11:08:36 +04:00
Ilya Fedin
bf7042df44 Enable warnings as errors on Windows 2024-07-06 11:05:28 +04:00
Ilya Fedin
aa140b2919 Fix warnings on Windows 2024-07-06 11:05:28 +04:00
Ilya Fedin
8d0d9bb0bd Delay clearing transient parent until the pip window is really exposed 2024-07-06 09:17:04 +04:00
Daniel Novomeský
9ca9904732 Upgrade libjxl to v0.10.3 2024-07-05 21:30:00 +04:00
Daniel Novomeský
e6e1b9446d Upgrade libjxl on Linux to 0.10.3 2024-07-03 20:04:32 +04:00
John Preston
a507d28b49 Version 5.2.2.
- Fix topics search in topic groups.
- Fix Instant View pages content updating.
2024-07-02 19:03:07 +04:00
John Preston
ec2faca145 Fix couple of crashes in secondary windows. 2024-07-02 18:08:24 +04:00
John Preston
17bb430006 Register tg:// scheme on first launch.
Also, allow disabling tg:// re-registration on update.
2024-07-02 13:34:52 +04:00
John Preston
8cbeadc68a Register tg:// scheme on initial launch. 2024-07-02 13:22:33 +04:00
John Preston
3947056654 Use cached views count from not modified page. 2024-07-02 10:40:39 +04:00
John Preston
ad7d1fddf0 Reload IV on each open, take hash into account.
Fixes #28111.
2024-07-02 10:27:26 +04:00
John Preston
ab20f8eb31 Fix topics search in topic groups.
Fixes #28110.
2024-07-02 09:53:56 +04:00
John Preston
f75429cbaa Version 5.2.1: Shorten webview socket path.
Fixes #28106.
2024-07-01 21:35:39 +04:00
John Preston
dc8c4a8332 Version 5.2.1: No auto-enable system password unlock on macOS. 2024-07-01 21:03:05 +04:00
John Preston
096530c96a Version 5.2.1: Fix drafts / translations crash on macOS. 2024-07-01 19:21:27 +04:00
23rd
ed0850d823 Renamed files for bot and channel earn sections with different names. 2024-07-01 15:40:39 +03:00
John Preston
4a2173deaf Version 5.2.1.
- Fix crash when opening topic in a new window.
- Fix crash in topic search scope dropdown.
- Fix crash in video player.
- Fix feeze and crash in Instant View (Windows).
- Allow unlock by Apple Watch or System Password (macOS).
2024-07-01 15:01:35 +04:00
John Preston
f40a584905 Support unlock with Watch/SystemPassword. 2024-07-01 15:01:35 +04:00
John Preston
e54204b136 Don't allow forwarding local items by drag. 2024-07-01 13:20:45 +04:00
John Preston
715dff0a3e Fix a crash and a memory leak in video player.
Fixes #28104.
2024-07-01 11:03:19 +04:00
23rd
558daa3382 Fixed align of icons in list of top-up credit options. 2024-07-01 10:50:52 +04:00
GitHub Action
7265297b19 Update User-Agent for DNS to Chrome 126.0.0.0. 2024-07-01 10:49:45 +04:00
John Preston
1fac6db8bd Fix crash in topic search context menu destruction. 2024-07-01 10:46:34 +04:00
John Preston
c9bd776d1e Fix freeze in IV due to cyclic focus request. 2024-07-01 10:38:41 +04:00
John Preston
179e81478e Ignore filter switching in separate window archive. 2024-07-01 09:21:18 +04:00
John Preston
9ef74c510c Fix crash in opening topics in a new window. 2024-07-01 09:07:45 +04:00
Ilya Fedin
36f6917bd3 Query QWindow::windowState in media viewer 2024-07-01 07:56:55 +04:00
John Preston
707951accb Version 5.2: Fix build with GCC. 2024-06-30 23:59:03 +04:00
John Preston
7eb98b50ec Version 5.2.
- Pay for content with Telegram Stars.
- Enable local passcode unlock by Windows Hello and Touch ID.
- Allow opening forums, topics and archive in a separate window.
2024-06-30 21:21:51 +04:00
John Preston
65f7bdb914 Update API scheme on layer 183. 2024-06-30 21:16:11 +04:00
John Preston
876c47c436 Add 'section_separator_color' to webview palette. 2024-06-30 21:16:11 +04:00
John Preston
e8f16840de Fix wrong search focusing.
Fixes #28052.
2024-06-30 21:16:11 +04:00
John Preston
dd57ad567f Don't break by '/', '.' in the middle of the word.
Fixes #27999.
2024-06-30 21:16:11 +04:00
John Preston
54934fb835 Fix problems with message effect preview. 2024-06-30 21:16:11 +04:00
John Preston
bd49887607 Fix paid media price tag background. 2024-06-30 21:16:11 +04:00
John Preston
aaa72b7c30 Improve system unlock button area. 2024-06-30 21:16:10 +04:00
John Preston
4cafacc8db Add message effects promo section. 2024-06-30 21:16:10 +04:00
John Preston
374b3c68ac Fix cancel search with a similar channel open.
Fixes #28079.
2024-06-30 21:16:10 +04:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
23rd
6dc3bd65e8 Improved spell checking on macOS. 2024-06-30 21:16:10 +04:00
23rd
deb9aa435b Improved first display of personal channel in user profiles. 2024-06-30 21:16:10 +04:00
23rd
68cb568898 Fixed build with Qt6. 2024-06-30 21:16:10 +04:00
23rd
1ed81b1c9c Improved process of mtp updates for revenue credits in earn section. 2024-06-30 21:16:10 +04:00
23rd
a95fb5b28d Slightly improved withdraw phrases to fit small buttons. 2024-06-30 21:16:10 +04:00
23rd
4f7b5ca7da Added process of server notification for disabled withdrawal feature. 2024-06-30 21:16:10 +04:00
23rd
29b7673b88 Simplified handle of incoming credit history entries. 2024-06-30 21:16:10 +04:00
23rd
66f375d2c6 Fixed endless memory copying in list of credits history entries. 2024-06-30 21:16:10 +04:00
John Preston
77d214d2a5 Support paid_media_allowed flag in ChannelFull. 2024-06-30 21:16:10 +04:00
John Preston
09e6077e97 Suggest global search of cashtags. 2024-06-30 21:16:10 +04:00
John Preston
631d6abb06 Improve formatting in message field. 2024-06-30 21:16:10 +04:00
John Preston
c833b8a1b0 Make purchased media badge better looking. 2024-06-30 21:16:10 +04:00
John Preston
b58c03f0de Fix build with Xcode. 2024-06-30 21:16:10 +04:00
John Preston
1988435cdf Add a Windows Hello / Touch ID system unlock. 2024-06-30 21:16:10 +04:00
John Preston
7e704d9529 Show price in my/purchased paid media. 2024-06-30 21:16:10 +04:00
John Preston
a39a8dbd2c Show paid media from transactions history. 2024-06-30 21:16:10 +04:00
John Preston
90dfae52f5 Show nice thumbnails for paid albums. 2024-06-30 21:16:10 +04:00
John Preston
dfc422b505 Show paid media albums with context. 2024-06-30 21:16:10 +04:00
John Preston
54cc12cf22 Show media payments as outgoing. 2024-06-30 21:16:10 +04:00
John Preston
d81e832ae6 Use lang key for about stars link. 2024-06-30 21:16:10 +04:00
John Preston
1399d2501d Show first paid media in transactions history. 2024-06-30 21:16:09 +04:00
John Preston
57254ca259 Show a credits emoji in chats list preview. 2024-06-30 21:16:09 +04:00
John Preston
043e3ae97e Use star emoji fallback for credits custom emoji. 2024-06-30 21:16:09 +04:00
John Preston
68b9a8bc6a Fix file reference refresh for paid media. 2024-06-30 21:16:09 +04:00
23rd
157d5c743b Renamed file for data of credits earn statistics. 2024-06-30 21:16:09 +04:00
23rd
54d0290ba2 Added warning to channel earn section when user has no cloud password. 2024-06-30 21:16:09 +04:00
23rd
0fc2df8eec Added transaction link and date to details of credits history entries. 2024-06-30 21:16:09 +04:00
23rd
d9caf15d1d Added initial ability to reinvest existing credits for channels. 2024-06-30 21:16:09 +04:00
23rd
b674826392 Added special widget for credits input to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
37181f9d0a Moved out special widget for credits input to single place. 2024-06-30 21:16:09 +04:00
23rd
93aebc747d Moved out special input for credits to td_ui. 2024-06-30 21:16:09 +04:00
23rd
a84ac933dd Added support of api update to history lists in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
b79c306bfe Added list of credits history to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
57d62423b3 Moved out custom slider class with natural width to single place. 2024-06-30 21:16:09 +04:00
23rd
f4674389d5 Added chart of credits revenue to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
63c4c5064f Added support of api updates for overview in channel earn section. 2024-06-30 21:16:09 +04:00
23rd
ae1f364730 Added rpl support to label with icon in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
c6e322de86 Added credits oveview to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
68bf6f991c Moved out util for wrapping credits icon to widget. 2024-06-30 21:16:09 +04:00
23rd
b15f5f8596 Added credits data to saved state of channel earn section. 2024-06-30 21:16:09 +04:00
23rd
27a71a8dcd Renamed BotEarnStatistics to CreditsEarnStatistics. 2024-06-30 21:16:08 +04:00
John Preston
2044f8f9ad Update API scheme on layer 183. 2024-06-30 21:16:08 +04:00
23rd
ffa4b1db87 Fixed withdrawal button for credits with minimal amount. 2024-06-30 21:16:08 +04:00
23rd
cad25ae644 Fixed unique row id in lists of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
21094fe11b Slightly improved process of incoming credit history entries. 2024-06-30 21:16:08 +04:00
23rd
101dbdf243 Added support of MTP updates to lists of credits history entries. 2024-06-30 21:16:08 +04:00
John Preston
0dc92762bc Show link to message in transactions history. 2024-06-30 21:16:08 +04:00
John Preston
5fdaa6b91f Record bareMsgId in CreditsHistoryEntry. 2024-06-30 21:16:08 +04:00
John Preston
968d036834 Use Ui::NumberInput for the paid media price. 2024-06-30 21:16:08 +04:00
John Preston
d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston
6c1e7357c6 Nice unlock media stars, unlock done tooltip. 2024-06-30 21:16:08 +04:00
John Preston
479b63c33a Customize pay-by-stars box for paid media. 2024-06-30 21:16:08 +04:00
John Preston
950a946a16 Show correct chat preview for paid media. 2024-06-30 21:16:08 +04:00
John Preston
5f8da27c86 Display nice price tag, handle pay in albums. 2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
3ece9b1566 Update API scheme to layer 183. Paid media. 2024-06-30 21:16:08 +04:00
John Preston
e71a067f4b Fix build on Windows. 2024-06-30 21:16:08 +04:00
23rd
ebf456abe4 Added initial support of lists for credits history entries in bot earn. 2024-06-30 21:16:08 +04:00
23rd
3552da5ce7 Added additional row in table for some types of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
b5bd0f53ad Added support of new statuses of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
7d115b3fab Improved api support to credit history entries. 2024-06-30 21:16:08 +04:00
23rd
d0a030ab58 Added support of minimal amount of credits to withdrawal button. 2024-06-30 21:16:08 +04:00
23rd
712c06756e Added icon to label in withdrawal button from bot earn section. 2024-06-30 21:16:08 +04:00
23rd
301ffc15ef Added countdown label to withdrawal button in bot earn section. 2024-06-30 21:16:07 +04:00
23rd
3c4a711b5d Added withdrawal button to bot earn sections. 2024-06-30 21:16:07 +04:00
23rd
989145726d Made withdrawal button handler in earn sections more universal. 2024-06-30 21:16:07 +04:00
23rd
9eebd3b514 Added statistical chart and balance overview to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
eb997ae9e3 Added initial implementation of filter for MTP updates. 2024-06-30 21:16:07 +04:00
23rd
db4c9b83f3 Added credits icon to statistical charts. 2024-06-30 21:16:07 +04:00
23rd
1196b6a3fb Moved out generating of credits icon to td_ui. 2024-06-30 21:16:07 +04:00
23rd
bef216bc93 Moved out colorizing of svg star to td_ui. 2024-06-30 21:16:07 +04:00
23rd
811d75e383 Improved display of different inner currencies in statistical charts. 2024-06-30 21:16:07 +04:00
23rd
049cde48ee Added initial api support of bot earn statistics. 2024-06-30 21:16:07 +04:00
23rd
cb65c50c19 Moved out deserialization of MTP statistical graph to separated file. 2024-06-30 21:16:07 +04:00
23rd
f23c9a61bc Moved out StatisticsRequestSender to separated file. 2024-06-30 21:16:07 +04:00
23rd
b5d5ff3cbb Improved naming of classes for channel earn. 2024-06-30 21:16:07 +04:00
23rd
c5ba0fa705 Added initial structure for bot earn data. 2024-06-30 21:16:07 +04:00
23rd
71893f4ef7 Added initial implementation of entry point to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
4a60c57661 Added dummy files of bot earn section. 2024-06-30 21:16:07 +04:00
John Preston
fbbcc21198 Update API scheme to layer 182. 2024-06-30 21:16:07 +04:00
Ilya Fedin
d993386756 Fix debug-only openssl build on Windows 2024-06-30 11:31:57 +04:00
Ilya Fedin
30819509d3 Set shortcut context for global menu shortcuts 2024-06-30 10:11:40 +04:00
mrbesen
10c3fe0f63 add option to export html and json in global export 2024-06-27 10:49:39 +04:00
Ilya Fedin
3498a7f0ee Update submodules 2024-06-24 16:23:32 +04:00
Ilya Fedin
648b23b548 Do non-getting XCB requests synchronously 2024-06-24 16:23:32 +04:00
Ilya Fedin
ba89912834 Switch more XCB code to base::Platform::XCB::Connection 2024-06-24 16:23:32 +04:00
Ilya Fedin
c1bc7e6ab1 Simplify PipPanel::handleWaylandResize 2024-06-22 11:32:36 +04:00
Ilya Fedin
eea50ed6b0 Delay UpdatePowerSaveBlocker to show in media viewer 2024-06-22 11:32:36 +04:00
Ilya Fedin
006d6fe2c0 Use RpWidget::screenValue 2024-06-22 11:32:36 +04:00
Ilya Fedin
5180e0ec57 Use QWidget::setScreen with Qt 6 2024-06-22 11:32:36 +04:00
Ilya Fedin
490ec7949f Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton 2024-06-22 11:32:36 +04:00
Ilya Fedin
671a15d763 Update skip taskbar hint on Linux without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
d2d5226dc7 Update exposed state for connecting widgets without QWindow events 2024-06-22 11:32:36 +04:00
Ilya Fedin
b58ece3a38 Update lib_ui 2024-06-22 11:32:36 +04:00
Ilya Fedin
2b4a2b5b97 Fix a crash in Dialogs::Widget::setupStories 2024-06-22 11:32:36 +04:00
Ilya Fedin
382b175db2 Fix build on Linux 2024-06-22 11:32:36 +04:00
John Preston
2db81211c8 Fix configure on macOS. 2024-06-21 22:38:49 +04:00
John Preston
46157c99c4 Allow saving empty syntax highlight language. 2024-06-21 22:38:49 +04:00
John Preston
c3ed5224c2 Use tripple-enter to jump out of a block. 2024-06-21 22:38:49 +04:00
John Preston
acee7c7cfc More delay-load libraries on Windows with Qt 6. 2024-06-21 13:25:48 +04:00
John Preston
002fe9a72a Fix build. 2024-06-21 11:55:25 +04:00
John Preston
93b7c47cda Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
Ilya Fedin
053f8ad1c0 Ensure media viewer has native window handle before using it 2024-06-21 08:19:44 +04:00
Ilya Fedin
60ca6895db Update submodules 2024-06-19 10:33:33 +04:00
Ilya Fedin
fc5e9414b7 Subscribe to QEvent::WindowStateChange instead of QWindow::windowStateChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
f768e405fa Use RpWidget::shownValue instead of QWindow::visibleChanged 2024-06-19 10:33:33 +04:00
Ilya Fedin
a22cf8e303 Use RpWidget::windowActiveValue 2024-06-19 10:33:33 +04:00
Ilya Fedin
8a5797e1bd Re-create QSystemTrayIcon on SNI watcher owner change 2024-06-19 10:31:59 +04:00
Ilya Fedin
750ad600be Store media viewer geometry the same way as main window 2024-06-19 10:08:14 +04:00
Ilya Fedin
eaf4575eb8 Fix IV window geometry restoration 2024-06-19 10:08:14 +04:00
Ilya Fedin
b9677fe1db Update Qt to 6.7.2 on Linux 2024-06-18 22:01:23 +04:00
Ilya Fedin
4047f1733d Update submodules 2024-06-16 20:59:32 +04:00
John Preston
3d114131e0 Fix premium gifting recipient choosing. 2024-06-16 10:27:38 +04:00
John Preston
5810149a77 Improve chats search loading indication. 2024-06-16 10:27:38 +04:00
Ilya Fedin
032fe3e0fc Remove std::optional indrection for nullable XCB types 2024-06-16 09:54:04 +04:00
John Preston
81d7fcba7e Beta version 5.1.8: Fix build with GCC. 2024-06-15 23:03:55 +04:00
John Preston
4e9b5b0d33 Beta version 5.1.8: Fix build. 2024-06-15 22:45:21 +04:00
John Preston
90068f6261 Beta version 5.1.8: Update tg_owt on Linux. 2024-06-15 21:16:55 +04:00
John Preston
f37d056c14 Beta version 5.1.8.
- Support nice blockquotes and code blocks edition when composing messages.
- Support collapsing blockquotes and specifying syntax highlight language.
- Support nice spoiler animation in the message composing input field.
2024-06-15 21:06:23 +04:00
John Preston
f748988ae3 Update Qt patches. 2024-06-15 20:59:19 +04:00
John Preston
9a25d2c413 Simplify correct unicode characters counting. 2024-06-15 20:57:48 +04:00
John Preston
ec40292cbf Allow editing of collapsed quotes. 2024-06-15 20:57:30 +04:00
John Preston
5e8c3fb146 Allow editing syntax highlighting language. 2024-06-15 20:57:00 +04:00
John Preston
fa8ed186d8 Improve field fade conditions. 2024-06-15 20:56:45 +04:00
John Preston
c1f36d43d0 Support modern blockquote/pre display. 2024-06-15 20:56:44 +04:00
John Preston
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
John Preston
8ad5117495 Update lib_ui. 2024-06-15 20:55:09 +04:00
Ilya Fedin
d79da3d884 Remove old notification descturction workaround for old X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
e4d88f829c Remove old window activation workaround for X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
Ilya Fedin
2673e1df53 Fix IV window on Linux 2024-06-15 11:04:45 +04:00
John Preston
99e88d74bc Version 5.1.7: Fix build with Qt 6. 2024-06-14 19:06:19 +04:00
John Preston
43ffc9d67c Version 5.1.7.
- Fix recently searched hashtags in chats search.
- Fix formatting shortcuts on macOS.
- Fix non-Telegram-Stars-invoice bot buttons with star emoji.
2024-06-14 18:36:28 +04:00
John Preston
053c462dc0 Fix recent hashtags in chats search. 2024-06-14 18:34:59 +04:00
John Preston
174b627a78 Fix markdown shortcuts on macOS / some Linux. 2024-06-14 17:39:16 +04:00
23rd
bb33d0b997 Replaced credits currency with icon only in buttons with Buy type. 2024-06-14 15:32:02 +03:00
pandaninjas
6f6fb3d1b6 Add xlsb to list of executable extensions 2024-06-14 13:49:15 +04:00
Ilya Fedin
3f216ad946 Enable parallelism for more dependencies 2024-06-13 21:35:34 +04:00
John Preston
c49eb7041f Version 5.1.6: Fix sticker effect filtering. 2024-06-13 20:55:49 +04:00
John Preston
a1d8202644 Version 5.1.6.
- Fix search in archived chats in single-column layout.
- Improve chat previews for topics, Saved Messages and groups.
- Fix formatting shortcuts on Linux.
- Fix options for Telegram Stars buying in case of large amounts.
2024-06-13 18:48:35 +04:00
23rd
82428aef28 Added support for quoted-printable encoding to contact media. 2024-06-13 18:44:33 +04:00
23rd
10f7b985c7 Added decimal separators to count of members in shared similar channels. 2024-06-13 18:44:33 +04:00
23rd
06075411a5 Fixed cases when list of top-up credit options is empty. 2024-06-13 18:44:33 +04:00
23rd
7e01b12825 Replaced credits currency with icon in buttons of reply keyboard. 2024-06-13 18:44:33 +04:00
John Preston
273119fc55 Fix preview messages load in migrated groups. 2024-06-13 18:43:58 +04:00
John Preston
e47e4ba338 Update submodules. 2024-06-13 18:08:43 +04:00
John Preston
cbcdeae200 Don't show topic buttons in topic preview. 2024-06-13 18:08:36 +04:00
John Preston
c585112e37 Fix jump to archive from search in chat. 2024-06-13 16:33:58 +04:00
John Preston
392df8b56f Fix search in archived chats and return back. 2024-06-13 16:24:41 +04:00
John Preston
0e6470a087 Don't restrict Saved Messages by premium-only privacy. 2024-06-13 15:47:40 +04:00
John Preston
6c0ea0eb9f Version 5.1.5.
- Return WebView on Windows.
2024-06-07 06:57:27 +04:00
John Preston
9229de2658 Return webview on Windows. 2024-06-07 06:57:06 +04:00
John Preston
2935721cd0 Version 5.1.4.
- Improve design of search in chat.
- Show vCard information for shared contacts.
- Allow scheduling media in topic groups.
- Several minor bugfixes.
2024-06-06 22:19:53 +04:00
John Preston
a48cd5f15a Don't show IV buttons on old Windows. 2024-06-06 22:17:30 +04:00
John Preston
9e77e80f92 Moderation on context menu album delete.
Fixes #28012.
2024-06-06 22:16:57 +04:00
John Preston
deb50ee528 Fix video full-window toggle in windowed mode. 2024-06-06 22:16:53 +04:00
John Preston
14909ae913 Fix empty space to the right of photo media. 2024-06-06 22:16:48 +04:00
John Preston
d5d9da7d0a Allow scheduling media in topic groups. 2024-06-06 22:16:43 +04:00
John Preston
86a048a021 Update libvpx to 1.14.1. 2024-06-06 22:16:38 +04:00
23rd
aafa8631e0 Moved out url for credits terms to lang pack. 2024-06-06 22:16:38 +04:00
Ilya Fedin
9176bf2e47 Update lib_webview 2024-06-06 21:08:54 +04:00
John Preston
72c667b153 Redesign search scope selection. 2024-06-06 09:12:23 +04:00
23rd
fe6f65b3ab Fixed text elision of peer name in section of chat preview. 2024-06-06 09:12:23 +04:00
23rd
5db2821f8c Removed unused refund api support for credits. 2024-06-06 09:12:23 +04:00
23rd
9e3e7265d2 Improved display of cached message preview in profile sections. 2024-06-06 09:12:23 +04:00
23rd
749b2e0e95 Added ability to see vcard if available to all types if contacts media. 2024-06-06 09:12:23 +04:00
Ilya Fedin
5b45397383 Update lib_webview 2024-06-06 09:12:03 +04:00
Ilya Fedin
61c17c0a93 libasound2 -> libasound2t64 2024-06-04 15:48:18 +04:00
John Preston
93e592472c Version 5.1.3.
- Rebuild version for macOS to fix the phrases.
2024-06-04 14:38:05 +04:00
John Preston
379a94db42 Version 5.1.2.
- Several bugs fixed including a couple of crashes.
2024-06-04 00:00:12 +04:00
23rd
4f4d216987 Fixed display of button in channel earn section when balance is low. 2024-06-03 23:00:48 +04:00
23rd
6400875d55 Replaced text drawing in menu from phone handler with Text::String. 2024-06-03 23:00:47 +04:00
John Preston
06d0e78b00 Fix a crash in forwarded sender avatars. 2024-06-03 22:59:14 +04:00
John Preston
9043c18725 Don't drop search on non-empty backspace. 2024-06-03 22:27:15 +04:00
Ilya Fedin
88e742927f File descriptor fixes for XDPOpenWithDialog
- Open it with O_CLOEXEC
- Remove unneseccary std::array complication
- Rely on Gio::UnixFDList to close it
2024-06-03 17:49:16 +04:00
Ilya Fedin
a6fcc6d51d Rely on media viewer code to close itself before ShowInFolder 2024-06-03 17:49:16 +04:00
John Preston
23a13ab54e Close chats search when selecting a folder. 2024-06-03 17:13:14 +04:00
John Preston
e8a929bdbd Fix bottom info display in media. 2024-06-03 15:03:41 +04:00
John Preston
eafc01e02b Fix small photo display in wide enough chat.
Fixes #28004.
2024-06-03 14:14:42 +04:00
John Preston
f817504d67 Fix formatting drop on zero cursor position. 2024-06-03 13:52:00 +04:00
John Preston
f91eb65239 Fix channel reactions editing. 2024-06-03 13:40:04 +04:00
John Preston
e978770fbd Fix crash in theme IV opening. 2024-06-03 12:48:11 +04:00
23rd
9c83b8bac5 Fixed emoji display in reply markup button from bar for pinned messages. 2024-06-02 23:11:09 +03:00
23rd
47ce34e987 Added initial support of vcard from media contacts. 2024-06-02 22:06:49 +03:00
John Preston
1656a9c3e2 Fix bot about title display. 2024-06-02 10:55:13 +04:00
John Preston
47e06cf385 Fix dropping invertCaption on reschedule. 2024-06-02 10:55:13 +04:00
John Preston
f61f649a7e Add a power saving setting for effects. 2024-06-02 10:55:13 +04:00
John Preston
a7bffe7abd Version 5.1.1: Fix misspelled attribute. 2024-06-01 23:58:31 +04:00
John Preston
51b866293f Version 5.1.1.
- Fix caption display on some media.
- Fix collapsed blockquotes rendering.
- Fully close search in chat by "Cancel" click.
- Allow editing caption placement and spoiler in topics.
- Disable effects on forwarded messages and inline results.
2024-06-01 23:40:20 +04:00
John Preston
bd20a3cfe4 Fix filtered premium sticker effects selection. 2024-06-01 23:35:04 +04:00
John Preston
86778aa4d9 Fix cancel search glitch with the new search. 2024-06-01 23:26:02 +04:00
John Preston
12eecec501 Disable effects for inline results sending. 2024-06-01 23:21:48 +04:00
John Preston
26345208a9 Fix caption disappearance on album sending. 2024-06-01 23:02:29 +04:00
John Preston
ee680ac1f1 Don't try adding effects to forwarded messages. 2024-06-01 22:49:51 +04:00
John Preston
bb79a07262 Move SendMenu additional actions to bottom. 2024-06-01 22:43:19 +04:00
John Preston
70fe649743 Hide media viewer on macOS when showing IV. 2024-06-01 22:31:43 +04:00
John Preston
400f0f8785 Empty line between description and ID. 2024-06-01 22:09:01 +04:00
John Preston
eac7bf1c48 Show "View as Messages" preview on forum preview. 2024-06-01 22:02:17 +04:00
John Preston
f4abe37dff Display peer IDs with delimeters. 2024-06-01 21:53:41 +04:00
John Preston
b7f165a259 Fix albums with wide captions. 2024-06-01 21:53:26 +04:00
John Preston
c1b95afd88 Fix media spoiler/caption-above edit in topics/scheduled. 2024-06-01 21:17:09 +04:00
John Preston
36766e7546 Fix collapsed blockquotes in the end of the text. 2024-06-01 21:16:31 +04:00
John Preston
59c016e4ce Fix search input not in the end of the query. 2024-06-01 20:39:31 +04:00
John Preston
e9e347fa6c Fix crash in stories privacy handling. 2024-06-01 20:34:16 +04:00
23rd
7aef0b0a83 Fixed frame size of video userpic in short info boxes on Retina. 2024-06-01 16:55:01 +03:00
23rd
d9572949f6 Replaced confirmation box for proxy links with generic box. 2024-06-01 16:02:59 +03:00
23rd
233e80d22d Fixed display of confirmation box for proxy links in correspond window. 2024-06-01 16:02:59 +03:00
John Preston
5c83858a50 Remove empty space below video without caption. 2024-06-01 10:58:48 +04:00
John Preston
c681569349 Fix info display in video with caption above. 2024-06-01 10:53:00 +04:00
John Preston
bb43afdd93 Fix search in chat close by "Cancel" link. 2024-06-01 10:52:48 +04:00
John Preston
3ba1941808 Version 5.1: Fix build on macOS. 2024-05-31 23:03:06 +04:00
John Preston
72d1b43453 Version 5.1.
- Send messages with effects.
- Move photo or video captions above the media.
- Chat preview on chat photo long press or Alt+Click.
2024-05-31 21:30:18 +04:00
John Preston
0c1b487956 Fix dragging of non-leader media. 2024-05-31 21:30:18 +04:00
23rd
ba611d0f2d Added initial api support of text phone entity in messages. 2024-05-31 18:58:21 +03:00
23rd
50ce847b31 Fixed display of info in media from chat preview. 2024-05-31 19:52:36 +04:00
23rd
dd0d88ccd3 Fixed userpic views in headers of forwarded messages with via bots. 2024-05-31 19:52:36 +04:00
John Preston
a1049ec7ce Add touchscreen preview to recent / channels. 2024-05-31 19:52:36 +04:00
John Preston
0fffeac8da Fix drag-n-drop forward of selected album. 2024-05-31 19:52:36 +04:00
John Preston
1f0acae151 Show frequent/recent selected when preview. 2024-05-31 19:52:36 +04:00
John Preston
521c17b76c Show chat previews in suggestions. 2024-05-31 19:52:36 +04:00
John Preston
f9f51b4e41 Show preview in Frequent Contacts. 2024-05-31 19:52:32 +04:00
John Preston
4e8895ddd9 Show "View as Messages" preview by Alt+Click. 2024-05-31 19:52:32 +04:00
John Preston
ad342a5324 Extract chat preview as a SessionController part. 2024-05-31 19:52:25 +04:00
John Preston
5cfd86b829 Use Ui::Text::String to show topic names.
Fixes #27956.
2024-05-31 19:52:22 +04:00
John Preston
27eb3e45be Allow only t.me links in factchecks. 2024-05-31 19:52:22 +04:00
John Preston
4953246c5d Support touchscreen pinned chats reordering. 2024-05-31 19:52:18 +04:00
John Preston
4df5372dab Support chat preview on touchscreens. 2024-05-31 19:52:12 +04:00
John Preston
40fbd415ef Support collapsible blockquotes in Ui::Text::String. 2024-05-30 21:35:10 +04:00
John Preston
974bf99921 Allow editing spoiler/caption-above in EditCaptionBox. 2024-05-30 21:35:10 +04:00
John Preston
8c0351be4e Allow editing caption above/below media. 2024-05-30 21:35:10 +04:00
John Preston
67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston
924d80ecba Use message text rendering for media captions. 2024-05-30 21:35:10 +04:00
23rd
d219bccf2b Fixed position of via bot header above reply in message view. 2024-05-30 21:35:10 +04:00
23rd
02bd2bca64 Removed display of credits button in settings when user has no credits. 2024-05-30 21:35:10 +04:00
23rd
57ecc2be1d Improved style of list of credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
d3a01b6235 Improved style of list of credits history entries for entry photo. 2024-05-30 21:35:10 +04:00
23rd
58c060c59d Improved style of box for credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
cd7507fb23 Respected accessibility of premium for credits purchasing. 2024-05-30 21:35:10 +04:00
23rd
9a5923676a Added posting of payment event to webview bot after credits sending. 2024-05-30 21:35:09 +04:00
John Preston
c0f3d263a3 Remove webpage length limit for factcheck. 2024-05-30 21:35:08 +04:00
John Preston
056ba644ed Fix empty search placeholder. 2024-05-30 21:35:08 +04:00
23rd
ebaffc333e Added initial api support of refund flag to credits history entries. 2024-05-30 21:35:08 +04:00
23rd
be099880d8 Added initial ability to claim refund credits from history entries list. 2024-05-30 21:35:08 +04:00
John Preston
885dcf0b28 Update API scheme on layer 181. 2024-05-30 21:35:08 +04:00
John Preston
a0d97f03cb Add factcheck footer support. 2024-05-30 21:35:08 +04:00
23rd
c942034ca4 Added link to terms to box of credits history entries. 2024-05-30 21:35:08 +04:00
23rd
0bd780b20f Added fireworks effect on success credit sending. 2024-05-30 21:35:08 +04:00
23rd
7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd
5defb9fb17 Fixed display of credit spending. 2024-05-30 21:35:08 +04:00
23rd
0549c8f037 Moved out list of top-up options to single place. 2024-05-30 21:35:08 +04:00
23rd
3c246e1e92 Split functions for credits settings. 2024-05-30 21:35:08 +04:00
23rd
58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd
1edf0ed70b Moved out widget of photo for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
c27c567225 Added initial support for non-panel credits receipts. 2024-05-30 21:35:08 +04:00
23rd
93eff78cd6 Replaced all credits currency name at least with simple star. 2024-05-30 21:35:08 +04:00
23rd
a2a27e115c Moved out box for credits history entries to single place. 2024-05-30 21:35:08 +04:00
23rd
e9fb580ba4 Moved out credits currency to single place. 2024-05-30 21:35:08 +04:00
23rd
d73313479b Partly reverted "Processed payments form with API scheme on layer 181.". 2024-05-30 21:35:08 +04:00
23rd
e4e343b871 Removed unused Ui::IsCreditsInvoice. 2024-05-30 21:35:08 +04:00
23rd
dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
3dd894ad30 Improved SendCreditsBox for data from credits payment form. 2024-05-30 21:35:07 +04:00
23rd
f08ff92470 Added initial ability to provide data for non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd
923aaec085 Returned media to messages with credits invoice. 2024-05-30 21:35:07 +04:00
John Preston
1d3110228d Fix phrase in factcheck toast. 2024-05-30 21:35:07 +04:00
23rd
7194781bb8 Added api support for premium bot peer type for credits history entries. 2024-05-30 21:35:07 +04:00
John Preston
97a5e0c6ea Support limited formatting input in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a3ef36f9f7 Fix build on Windows. 2024-05-30 21:35:07 +04:00
John Preston
d13bf19b79 Show length limit when editing a factcheck. 2024-05-30 21:35:07 +04:00
John Preston
493f0450b4 Implement factcheck edition. 2024-05-30 21:35:07 +04:00
John Preston
74861a334d Show expand/collapse icon in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
a87a221f26 Force red for factcheck. 2024-05-30 21:35:07 +04:00
John Preston
923a9ec6a8 Show toggle-able factcheck footer. 2024-05-30 21:35:07 +04:00
John Preston
b299881bf8 Track factcheck text and create media. 2024-05-30 21:35:07 +04:00
John Preston
5ee2bca616 Update API scheme on layer 181. 2024-05-30 21:35:07 +04:00
23rd
d1e914fb30 Added initial implementation of box for credits history entries. 2024-05-30 21:35:07 +04:00
23rd
43cb315f47 Replaced PeerId with BareId in credits history entries. 2024-05-30 21:35:07 +04:00
23rd
dcc52a7333 Moved out painting of userpic for credits entries to single place. 2024-05-30 21:35:07 +04:00
23rd
84cde1354d Slightly improved invoice view in messages for credits. 2024-05-30 21:35:07 +04:00
23rd
3d81414c71 Added initial implementation of box for sending credits. 2024-05-30 21:35:07 +04:00
23rd
69c48e2b5b Moved out credits balance widget to single place. 2024-05-30 21:35:07 +04:00
23rd
5ca9b74142 Fixed effect for successful payments in credits settings. 2024-05-30 21:35:07 +04:00
23rd
e11755af46 Added credits balance to main session. 2024-05-30 21:35:07 +04:00
23rd
174fb62c32 Fixed purchases of credits. 2024-05-30 21:35:07 +04:00
23rd
0e30e306ff Added second type of stars to animation of mini stars. 2024-05-30 21:35:07 +04:00
23rd
5e29f382cd Fixed build with Xcode. 2024-05-30 21:35:07 +04:00
John Preston
8eb24f620d Update API scheme on layer 181. 2024-05-30 21:35:07 +04:00
John Preston
5adde6c93a Fix build on Windows. 2024-05-30 21:35:07 +04:00
23rd
42d6d0d58a Added tooltip to balance label in credits settings for high values. 2024-05-30 21:35:07 +04:00
23rd
6336df2bd6 Slightly improved code style for decimal counts. 2024-05-30 21:35:07 +04:00
23rd
030d35ea7e Added initial implementation of balance in credits settings. 2024-05-30 21:35:07 +04:00
23rd
d81c3554cc Added multiple icons to credits topup options. 2024-05-30 21:35:07 +04:00
23rd
ca37ffa086 Added list of credit history entries to credits settings. 2024-05-30 21:35:07 +04:00
23rd
154fe63b43 Implemented list of credit history entries. 2024-05-30 21:35:06 +04:00
23rd
65384d54f1 Added random debug data to credits history. 2024-05-30 21:35:06 +04:00
23rd
2bf8cb84d0 Added api support of credits status and credits history. 2024-05-30 21:35:06 +04:00
23rd
f0a82de784 Fixed editing of last message with uploading media. 2024-05-30 21:35:06 +04:00
23rd
1a393ddebb Added star icons with gradient to main settings for premium buttons. 2024-05-30 21:35:06 +04:00
23rd
9b11b95c5b Added api support of invoice payments for credits. 2024-05-30 21:35:06 +04:00
23rd
d0bfee6963 Added initial list for topup options in settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
f1636de572 Added initial api support for credits topup options. 2024-05-30 21:35:06 +04:00
23rd
b5eb195f43 Added initial dummy settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
4a0bffe618 Added ability to provide custom gradient to star in premium top bar. 2024-05-30 21:35:06 +04:00
23rd
53d97b4146 Added ability to provide custom gradient to colored premium stars. 2024-05-30 21:35:06 +04:00
23rd
2a224c839e Added initial phrases for settings section for credits. 2024-05-30 21:35:06 +04:00
23rd
bc7aa91fbb Removed redundant constructor from Ui::Premium::TopBar. 2024-05-30 21:35:06 +04:00
23rd
ac2f35f12b Processed payments form with API scheme on layer 181. 2024-05-30 21:35:06 +04:00
John Preston
39e03c3ca7 Update API scheme to layer181. 2024-05-30 21:35:06 +04:00
John Preston
1ce49df123 Fix saved / replies userpics in chats search. 2024-05-30 21:35:06 +04:00
John Preston
1865fd382c Show loading placeholders in chats list. 2024-05-30 21:35:06 +04:00
John Preston
e00c6ecfb8 Show empty / placeholder in chats search. 2024-05-30 21:35:06 +04:00
John Preston
279db771cf Support dynamic search tabs with emoji. 2024-05-30 21:35:06 +04:00
John Preston
7b7438cd7b Make chats list tabs closer to each other. 2024-05-30 21:35:06 +04:00
John Preston
42d53e5543 Fix saved messages tags search. 2024-05-30 21:35:06 +04:00
John Preston
fce520c9c0 Clear saved messages tags on cancel search. 2024-05-30 21:35:06 +04:00
John Preston
b21bcb86cc Fix search from user in forums. 2024-05-30 21:35:06 +04:00
John Preston
7d61ab9412 Improve forum search support. 2024-05-30 21:35:06 +04:00
John Preston
701bf0d553 Fix searching with "from:" prefix. 2024-05-30 21:35:06 +04:00
John Preston
583bcca6a9 Fix forum search open by Ctrl+F. 2024-05-30 21:35:06 +04:00
John Preston
6a8edefc87 Fix some bugs in new chats search. 2024-05-30 21:35:06 +04:00
John Preston
dd5643ac67 Start chats search rewrite. 2024-05-30 21:35:06 +04:00
John Preston
787cf7853e Implement simple chats search bar. 2024-05-30 21:35:06 +04:00
John Preston
5bfbae3afc Update API scheme on layer 180. 2024-05-30 21:35:06 +04:00
John Preston
363b700f1f Fix chat preview and new emoji interactions. 2024-05-30 21:35:05 +04:00
John Preston
cde70b9807 Play effects in a separate layer over MainWidget. 2024-05-30 21:35:05 +04:00
John Preston
f7ab8a2174 Fix Chat / Effect previews in custom themes. 2024-05-30 21:35:05 +04:00
John Preston
a011a7c316 Fix sending scheduled effects. 2024-05-30 21:35:05 +04:00
John Preston
487fa9728a Fade in/out effect preview. 2024-05-30 21:35:05 +04:00
John Preston
8a58ded582 Show effect loading animation. 2024-05-30 21:35:05 +04:00
John Preston
ec5d8b7373 More robust effect icon loading. 2024-05-30 21:35:05 +04:00
John Preston
732b67ca04 Implement effects paywalls. 2024-05-30 21:35:05 +04:00
John Preston
d102d256a9 Implement effects search. 2024-05-30 21:35:05 +04:00
John Preston
bbb3a51b74 Fix effect selector for !_useTransparency case. 2024-05-30 21:35:05 +04:00
John Preston
d0d1ef9e66 Fix effect panel jump on expand. 2024-05-30 21:35:05 +04:00
John Preston
b01244fc42 Show correct sticker effects title. 2024-05-30 21:35:05 +04:00
John Preston
b92a05011f Show sticker effects in a StickerListWidget. 2024-05-30 21:35:05 +04:00
John Preston
5fb7992b04 Improve effect initial auto-play. 2024-05-30 21:35:05 +04:00
John Preston
f371cd1af2 Use nice fake message for effect preview. 2024-05-30 21:35:05 +04:00
John Preston
144109db05 Show effect preview before sending. 2024-05-30 21:35:05 +04:00
John Preston
e120ae6ae6 Pass effect to API for sending. 2024-05-30 21:35:05 +04:00
John Preston
d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston
396ba9a984 Initial code of attaching effect selector. 2024-05-30 21:35:05 +04:00
John Preston
92133e7f50 Show effect animation with correct geometry. 2024-05-30 21:35:05 +04:00
John Preston
a19e71324b Implement basic effect animation. 2024-05-30 21:35:05 +04:00
John Preston
f762634036 Support effects API, show icon in info. 2024-05-30 21:35:05 +04:00
John Preston
ee4f83ffde Disable bottom-info reactions view. 2024-05-30 21:35:05 +04:00
John Preston
f8188f360a Update API scheme to layer 180. 2024-05-30 21:35:05 +04:00
John Preston
2bbc7406da Beta version 5.0.6.
- Fix chat preview with non-default themes.
- Fix chat preview crash when scrolling up.
- Jump to chat from preview only by Double-Click.
- Show chat preview with Force Touch on macOS.
2024-05-30 19:06:51 +04:00
John Preston
a9dd9aeb90 Use InnoSetup SignTool for setup signing.
Fixes #27583.
2024-05-30 19:03:12 +04:00
John Preston
aa4156d1e7 Ignore shortcuts when preview is shown. 2024-05-30 19:03:08 +04:00
John Preston
4f5594c8cc ChatNext jumps to first chat if no chat opened.
Fixes #27963.
2024-05-30 19:03:04 +04:00
John Preston
0527e9a0f7 Fix adding bot as admin to channel. 2024-05-30 17:02:28 +04:00
John Preston
28cbb02b20 Jump to chat only by Double-Click on preview. 2024-05-30 17:02:26 +04:00
John Preston
7d636820ac Show last updated topic preview on Alt+Click. 2024-05-30 17:02:23 +04:00
John Preston
e2b78b673b Fix unintentional search focus. 2024-05-30 17:02:19 +04:00
John Preston
a9a0fe7cf5 Fix RTL chat names in preview. 2024-05-30 17:02:13 +04:00
John Preston
2b9e7a6b25 Show preview on Force-Click on macOS. 2024-05-30 17:02:09 +04:00
John Preston
d6e827e982 Fix loading of chat preview messages. 2024-05-30 17:02:02 +04:00
John Preston
d2e6003521 Ignore right click on preview. 2024-05-30 17:01:59 +04:00
John Preston
465fc42718 Fix chat preview in non-default themes. 2024-05-29 09:43:40 +04:00
John Preston
0dd6ff9d9b Beta version 5.0.5.
- Long press on chat userpic to show quick preview.
- Alt+Click on chat to show quick preview.
- Show author userpics in forwarded messages.
2024-05-29 00:03:45 +04:00
23rd
8a6b1677f4 Added userpic views to headers of forwarded messages. 2024-05-28 21:42:00 +04:00
John Preston
470b3a2cbd Fix preview showing on fast userpic click. 2024-05-28 21:42:00 +04:00
John Preston
a60783eae3 Implement preview top and bottom. 2024-05-28 21:42:00 +04:00
John Preston
de73d8766c Open chat on exact clicked message from preview. 2024-05-28 21:42:00 +04:00
John Preston
cd7cfcdf2f Show chat preview on Alt+Click. 2024-05-28 21:42:00 +04:00
John Preston
aee62c7591 Fix migrated history in chat preview. 2024-05-28 21:42:00 +04:00
John Preston
0f524ac67d Don't stick to bottom while loading down. 2024-05-28 21:42:00 +04:00
John Preston
f223ae7eee Implement chats preview, show from unread. 2024-05-28 21:42:00 +04:00
John Preston
68df8448a2 Use arc_angles.h from lib_ui. 2024-05-28 21:42:00 +04:00
John Preston
da31fef1ae Show long-press preview of topics. 2024-05-28 21:41:59 +04:00
John Preston
4427ae4306 Empty preview widget on long userpic press. 2024-05-28 21:41:59 +04:00
John Preston
ef2aa05197 Allow HistoryView::ListWidget without SessionController. 2024-05-28 21:41:59 +04:00
John Preston
e5132e3fe8 Version 5.0.4
- Fix reply to last message by Ctrl+Up in topics.
- Some other bug fixes.
2024-05-28 20:32:48 +04:00
23rd
3b6870396c Added ability to hide every sponsored message to premium users. 2024-05-28 20:30:40 +04:00
23rd
f6b849e4f7 Added ability to add proxy from clipboard. 2024-05-28 20:30:40 +04:00
23rd
48e3802565 Improved labels for channel and group types with restricted content. 2024-05-28 20:30:40 +04:00
23rd
26ba7e57ce Fixed color of radial animation in audio files from shared media. 2024-05-28 20:30:40 +04:00
23rd
2605e754ff Added back button to cloud password step in intro. 2024-05-28 20:30:40 +04:00
23rd
9e85b1aa23 Fixed fake ability to hide webpage media with spoiler. 2024-05-28 20:30:40 +04:00
Ilya Fedin
88cd886ec8 Update lib_webview 2024-05-28 17:50:39 +04:00
John Preston
adc536b81d Fix Ctrl+Up reply in topics / comments. 2024-05-28 15:01:01 +04:00
John Preston
275327c789 Version 5.0.3.
- Ctrl+Click on Reply in menu to Reply in another chat.
- Allow Zero-Width-Space character in text rendering.
- Fix creating custom links in the message field.
- Fix jump to the topic with last unread message.
- Fix newline entering via Shift+Enter on Linux.
- Fix forum search open by Ctrl+F.
2024-05-28 11:53:51 +04:00
John Preston
72471c74d0 Limit symbols that allow diacritics after them. 2024-05-28 11:45:21 +04:00
John Preston
b9f63f80f1 Reply-in-another-chat by Ctrl+Click on Reply. 2024-05-28 10:59:46 +04:00
John Preston
32cd2120ac Allow zero width space in the middle of text.
Fixes #6959.
2024-05-28 10:54:20 +04:00
John Preston
7db9abf725 Fix forum search open by Ctrl+F. 2024-05-28 10:04:57 +04:00
John Preston
f09a939a7c Improve fix for markup. 2024-05-27 22:24:19 +04:00
John Preston
f1c1c900bf Fix newline regression on Linux. 2024-05-27 22:08:20 +04:00
John Preston
a43143d01c Separate ForceDisable from LastCheckCrashed. 2024-05-27 17:54:23 +04:00
John Preston
7357b40ba1 Fix build with updated lib_ui. 2024-05-27 17:54:23 +04:00
Ilya Fedin
ad6e34f3a4 Update lib_webview 2024-05-27 14:00:26 +04:00
John Preston
daf30dcab8 Fix jump to last topic in case of unread topic click. 2024-05-27 13:33:25 +04:00
Ilya Fedin
0033ad749f Update lib_webview 2024-05-27 08:06:25 +04:00
Ilya Fedin
62c249015d Update lib_webview 2024-05-26 14:20:43 +04:00
John Preston
31fcca245f Version 5.0.2: Fix IME-to-search on macOS. 2024-05-24 20:54:10 +04:00
John Preston
f4864cddc9 Fix possible crash in Settings of crashed web-app.
Fixes #27943.
2024-05-24 20:54:10 +04:00
John Preston
36db1105a2 Fix build with Xcode. 2024-05-24 16:09:01 +04:00
John Preston
364f62660c Version 5.0.2: Update the version number. 2024-05-24 15:26:18 +04:00
John Preston
b67a1bca49 Version 5.0.2.
- Toggle chats search focus by Tab key.
- Unfocus empty search by Backspace key.
- Add a spoiler to already sent media when editing.
- Forward by drag-n-drop to frequent contacts / recent searches.
- Allow wide chats list in empty window
with narrow list when a chat is opened.
- Improve custom font support in the input fields.
- Fix input method typing from unfocused search.
- Fix possible media reordering on batch send.
- Fix crash in group emoji set saving.
- Fix possible hang on quit on macOS.
2024-05-24 15:13:04 +04:00
John Preston
000911546b Fix usernames drop on min user being received. 2024-05-24 14:50:00 +04:00
John Preston
e26b8e7ebc Fix passcode lock glitch with new search. 2024-05-24 14:14:29 +04:00
John Preston
f03935ad9a Kill hang processes in case of app quitting. 2024-05-24 14:08:14 +04:00
John Preston
d91b75b8f8 Allow wide chats in empty window. 2024-05-24 12:55:48 +04:00
John Preston
4d4cf472c8 Fix crash in group emoji set saving. 2024-05-24 12:55:48 +04:00
John Preston
685c7a865e Use 64 iterations (like OpenSSL 3 for 2048 primes). 2024-05-24 12:55:48 +04:00
John Preston
0551550e61 Don't always open last topic in forums. 2024-05-24 12:55:48 +04:00
John Preston
c3fab28e1c Improve scroll style for limited reaction selector. 2024-05-24 12:55:48 +04:00
John Preston
74db2167f9 Allow copy custom emoji from panel. 2024-05-24 12:55:48 +04:00
John Preston
cedd8fc546 Fix incorrect replace media button show in reply. 2024-05-24 12:55:48 +04:00
John Preston
db486e957c Fix group/channel Appearance button style. 2024-05-24 12:55:48 +04:00
John Preston
1c6f45d8d3 Fix drag-n-drop to frequent/recent contacts. 2024-05-24 12:55:48 +04:00
John Preston
ba8bb2d50f Add .vscode to .gitignore. 2024-05-24 12:55:48 +04:00
John Preston
ec6d6a78cf Tab toggles search focus, Backspace doesn't focus. 2024-05-24 12:55:48 +04:00
John Preston
f10f3c08de Attempt to fix sending messages to broken topics. 2024-05-24 12:55:48 +04:00
John Preston
39c1da6642 Attempt to fix jump to unread in some cases. 2024-05-24 12:55:48 +04:00
John Preston
84ec2a5f74 Possibly fix wrong requests order. 2024-05-22 21:21:03 +04:00
Ilya Fedin
5e3e9ba824 Ensure Qt doesn't prevent quit due to ignored widget close events 2024-05-22 16:47:08 +04:00
Ilya Fedin
198528f79f Remove code needed for a removed patch 2024-05-21 14:20:43 +04:00
Ilya Fedin
8a5ad581b8 Update Qt to 6.7.1 on Linux 2024-05-21 14:20:43 +04:00
Ilya Fedin
7dbf8ca1f4 Remove unneeded Qt::WA_InputMethodEnabled
The widget already had it
2024-05-21 14:10:47 +04:00
dependabot[bot]
df808df8d3 Bump actions/upload-artifact from 2 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 09:16:03 +04:00
Ilya Fedin
4fddaef112 Update lib_webview 2024-05-20 14:25:23 +04:00
John Preston
2bdc204c47 Fix geometry applying in webview windows. 2024-05-20 14:25:23 +04:00
Ilya Fedin
6734f99ba8 Update lib_ui & patches on Linux 2024-05-19 20:30:13 +04:00
Ilya Fedin
af4e0178d0 Ensure window flags are set before calling SeparatePanel::setInnerSize
Setting window flags may lead to native window being re-created
2024-05-19 20:30:13 +04:00
Ilya Fedin
65b62485be Forward input method event from Dialogs::Widget to search field 2024-05-19 11:47:16 +04:00
Ilya Fedin
98b58c1168 Add missing binds for OpenGL shaders and buffers 2024-05-19 09:55:34 +04:00
Ilya Fedin
ad13048cdc Update submodules 2024-05-16 22:20:08 +04:00
Ilya Fedin
a753c1515b Remove unneeded wayland-client dependency from telegram part in snap 2024-05-16 22:20:08 +04:00
Ilya Fedin
bd48e2fff2 Fix more package names in snap 2024-05-16 22:20:08 +04:00
John Preston
88ad1be4c3 Try to fix custom fonts in the input field. 2024-05-14 19:36:52 +04:00
John Preston
1f31d8032f Bring chosen font to the top of the box. 2024-05-14 19:36:52 +04:00
John Preston
b5f5aed119 Fix search focus in a hidden window on launch.
Fixes #27853.
2024-05-14 19:36:52 +04:00
John Preston
213326a212 Update submodules. 2024-05-14 19:36:52 +04:00
23rd
264e35a6a8 Fixed rare crash in photo editor when editing media in message. 2024-05-14 17:19:39 +03:00
23rd
76137ca1cf Fixed link to premium section in box about sponsored messages. 2024-05-14 17:19:39 +03:00
23rd
e4323ecd26 Slightly improved code style in processing of api text entities. 2024-05-14 17:19:39 +03:00
23rd
b406e2b99b Fixed sender name for voices in overview layout when sender is hidden. 2024-05-14 17:19:39 +03:00
23rd
c1c49e8ddc Added captions to voice messages in overview layout. 2024-05-14 17:19:39 +03:00
23rd
41e414af37 Removed transcribe buttons from scheduled messages. 2024-05-14 17:19:39 +03:00
23rd
2afb69e787 Fixed text state of reply bubble for messages with unwrapped media. 2024-05-14 17:19:39 +03:00
23rd
3e7d4af4a0 Fixed reply bubble width for short quotes. 2024-05-14 17:19:39 +03:00
23rd
bc11c66777 Added ability to hide single sponsored message to premium users. 2024-05-14 17:19:39 +03:00
23rd
7a95b38d3c Fixed refreshing of file reference in api media spoiler editing module. 2024-05-14 17:19:39 +03:00
23rd
334fd4e951 Added ability to edit media with spoiled one without resending. 2024-05-14 17:19:39 +03:00
GoodDok
923e3ee808 Fix 25202: surrounding $PWD with double quotes
Added double quotes to work correctly with spaces in current directory's name
2024-05-14 14:43:38 +04:00
Robert-André Mauchin
3358673ba4 Add compatibility with FFMPEG 7.0
avio: Constify data pointees of write callbacks

avutil: remove deprecated FF_API_PKT_DURATION

Ref: 2a68d945cd
     02aea61d69
     b8fef7e9c5
2024-05-14 14:39:29 +04:00
dependabot[bot]
d28b9f10b4 Bump jlumbroso/free-disk-space from 1.3.0 to 1.3.1
Bumps [jlumbroso/free-disk-space](https://github.com/jlumbroso/free-disk-space) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jlumbroso/free-disk-space/releases)
- [Commits](f68fdb76e2...54081f1387)

---
updated-dependencies:
- dependency-name: jlumbroso/free-disk-space
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 14:38:48 +04:00
Ilya Fedin
6ebbca58e8 Track major version for official GitHub helpers in actions 2024-05-14 09:54:25 +04:00
Ilya Fedin
15697f4f2b Fix libpng package name in snap 2024-05-08 12:10:37 +04:00
John Preston
2cb0651b04 Redirect IME to search on Windows. 2024-05-07 22:17:34 +04:00
John Preston
1f3a3ec04b Don't focus search when forum is opened. 2024-05-07 22:17:34 +04:00
John Preston
c1a0172822 De-focus empty search by backspace. 2024-05-07 22:17:33 +04:00
GkvJwa
593e76479c Use jom build openssl on windows 2024-05-07 09:52:32 +04:00
dependabot[bot]
5d622b906e Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.13.0
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases)
- [Commits](https://github.com/ilammy/msvc-dev-cmd/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: ilammy/msvc-dev-cmd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 09:02:31 +04:00
dependabot[bot]
7e253314ec Bump jinja2 from 3.1.3 to 3.1.4 in /Telegram/build/docker/centos_env
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:29:00 +04:00
dependabot[bot]
78a05768d8 Bump dessant/lock-threads from 3 to 5
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 5.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 23:28:48 +04:00
dependabot[bot]
ddf6514a90 Bump actions/stale from 5 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:31 +04:00
dependabot[bot]
3847b97f80 Bump actions/cache from 3.0.11 to 4.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:18 +04:00
dependabot[bot]
046bc03037 Bump actions/checkout from 3.1.0 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v4.1.4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:40:02 +04:00
Ilya Fedin
7ff5f81b88 Try automatic actions update 2024-05-06 09:46:18 +04:00
John Preston
fb444e7dd4 Version 5.0.1.
- Fix several crashes in new interfaces.
- Fix monospace font size.
- Fix possible problem with underline font size.
2024-05-04 19:08:30 +04:00
23rd
c4f0db5bc5 Fixed possible crash on slow resolving message from personal channel. 2024-05-04 18:13:30 +04:00
23rd
a866ba8cdd Fixed crash on restricting users from moderation box. 2024-05-04 18:13:28 +04:00
John Preston
129d356909 Fix scrolling expanded frequent contacts. 2024-05-04 18:13:04 +04:00
Ilya Fedin
7289292f02 Update lib_ui & patches on Linux 2024-05-04 14:05:09 +04:00
Ilya Fedin
638e88ec79 Revert "Use latest mesa in snap"
This reverts commit b246328dcf.
2024-05-04 14:05:09 +04:00
John Preston
19ead551d9 Fix a typo bug in replies section scrolling. 2024-05-03 21:04:06 +04:00
John Preston
fccaa587e1 Fix adjustment of size for modified fonts. 2024-05-03 21:04:06 +04:00
23rd
1709fcd0df Guarded personal channel info from possible crash on deleting message. 2024-05-03 21:04:06 +04:00
23rd
de1f222bac Fixed rescheduling of selected and grouped scheduled messages. 2024-05-03 21:04:06 +04:00
Ilya Fedin
5e1f0e9f7f Move waiting for answer action 30 minutes later than lock threads 2024-05-03 19:59:24 +04:00
Alan Pope
e3a14d432b Be consistent with libgtk-3-0t64
The reason it worked without explicitly updating this one is because the deb of libgtk-3-0t64 has a 'replaces' line for libgtk-3-0 - which nullifies this entry, as both were specified. But, you're right, looks better to have the right package in there.
2024-05-03 19:59:07 +04:00
Alan Pope
2b013c108f Fixes for unable to find gtk-query-immodules-3.0
The package has been updated for 2038 t64 update. This fixes that. 

Successfully build telegram 5.0.0 in arm64 after the fixes in this PR.
2024-05-03 19:59:07 +04:00
Alan Pope
0194687181 fix: Incorrect package name
Noble has libvpx9, not vpx8.

https://packages.ubuntu.com/search?keywords=libvpx9
2024-05-03 19:59:07 +04:00
John Preston
bb47f4659d Don't adjust monospace font size. 2024-05-02 19:36:59 +04:00
John Preston
2b580d29ae Add .qoi to list of image extensions. 2024-05-02 17:17:40 +04:00
John Preston
b7e52119bc Add .jxl to the list of image extensions. 2024-05-02 16:35:29 +04:00
John Preston
fd633ecb49 Version 5.0.
- Choose custom font family in Settings > Chat settings > Font family.
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" list and similar channels.
- Premium users can use animated emoji in polls.
- Group admins can mass-moderate many messages.
- Fix frequent crashes on some Linux systems.
2024-05-02 14:11:20 +04:00
John Preston
9c77346f36 Fix build with Xcode and GCC. 2024-05-02 14:11:20 +04:00
John Preston
641e74763f Revert non-production-ready prepare.py changes.
Accidentally commited in b9b7d9e337.
2024-05-02 12:17:57 +04:00
John Preston
2e71427427 Improve font size edge cases. 2024-05-02 12:05:46 +04:00
John Preston
95ec0633ed Use custom-adjusted font metrics for custom fonts.
Fixes #27814.
2024-05-02 11:33:47 +04:00
23rd
14e8b8fb91 Fixed spam reporting in moderation box. 2024-05-02 04:09:25 +03:00
23rd
d40951f068 Added ability to moderate non-users to moderation box. 2024-05-02 04:09:25 +03:00
23rd
ab85d18cc8 Added support of personal channel with message. 2024-05-02 04:09:25 +03:00
23rd
6becaaa953 Slightly improved view style of giveaway results in dialogs list. 2024-05-02 04:09:25 +03:00
23rd
26e8c29f40 Moved formatting of dialog last date to td_ui. 2024-05-02 04:09:25 +03:00
John Preston
47800ee02d Improve font size selection a bit. 2024-05-01 19:09:54 +04:00
John Preston
12a24dd473 Fix possible crash in common groups list.
Currently Data::Session::processChat() may change adminRights(),
that may change Data::CanSendAnyOf(peer, ...), that may lead to
Window::SessionController::updateThirdColumnToCurrentChat() call,
that destroys current third column to replace it with another one.

If common groups list was opened in the third column this will crash.

Fixes #27640.
2024-05-01 17:52:40 +04:00
23rd
ad6321d3ae Fixed possible crash in moderate box. 2024-05-01 14:10:37 +03:00
John Preston
7e071c770f Fix possible crash with custom wallpapered peers. 2024-05-01 14:38:06 +04:00
John Preston
a62d1dfa63 Focus chats search by Ctrl[Cmd]+F. 2024-05-01 14:38:05 +04:00
John Preston
b3eb1dbc14 Revert "Toggle search focus by escape."
This reverts commit 72d5a9b3e0.
2024-05-01 14:38:05 +04:00
Ilya Fedin
3170a45158 Increase snapcraft verbosity 2024-05-01 14:06:23 +04:00
John Preston
32483fa13b Just focus the search field on Space. 2024-05-01 12:57:47 +04:00
John Preston
9166a1c3a6 Update Linux Qt patches. Hope fixes crashes. 2024-05-01 12:57:07 +04:00
GitHub Action
6fa0afff37 Update User-Agent for DNS to Chrome 124.0.0.0. 2024-05-01 12:47:51 +04:00
Ilya Fedin
bc649af941 Schedule no-response action runs at different times
To avoid rate limits
2024-05-01 12:47:42 +04:00
John Preston
16ce5ef046 Greeting category first in ChatIntro setup. 2024-05-01 12:47:20 +04:00
John Preston
bb6fd4bc4d Update scheme, new sticker categories. 2024-05-01 12:47:20 +04:00
John Preston
63e1731d7c Fix premium preview bullet-dots.
Regression was introduced in 88751896af.
2024-05-01 12:47:20 +04:00
John Preston
b9b7d9e337 Implement live location view. 2024-05-01 12:47:20 +04:00
23rd
ef8c07e6eb Added ability to translate selected text in profile section. 2024-04-30 17:35:34 +03:00
23rd
20a13663a6 Slightly improved style of rpl text mapping. 2024-04-30 17:35:04 +03:00
23rd
2f0aa6ef05 Removed state sending of low level of battery to call participant. 2024-04-30 16:49:17 +03:00
23rd
62bd1354dc Replaced box for leaving or deleting chat with generic box. 2024-04-28 20:14:26 +03:00
23rd
be255f1d09 Added to moderate box number of all messages that will be deleted. 2024-04-28 20:14:26 +03:00
23rd
b8b02b2285 Replaced list of history items for sending now with sorted by date. 2024-04-28 13:33:04 +03:00
23rd
e0db0642bd Fixed crash when deleting message from non-user. 2024-04-27 16:39:13 +03:00
23rd
e81465a54e Added Enter shortcut to moderation box for confirmation. 2024-04-27 13:31:00 +03:00
23rd
6e67cfc7be Fixed possible crash in moderation box. 2024-04-27 12:59:36 +03:00
John Preston
c0db5ee98a Beta version 4.16.10: Fix GCC build. 2024-04-26 23:41:28 +04:00
John Preston
372b3da09c Beta version 4.16.10.
- Group admins can mass-moderate many messages.
- Premium users can use animated emoji in polls.
- Revert the default "Open Sans" font to 1.10.
- Several crash fixes and small improvements.
2024-04-26 20:55:06 +04:00
John Preston
79532954dc Allow a bit more font size adjusting. 2024-04-26 20:18:30 +04:00
23rd
aff2be605e Removed item for poll creation from menu when it is impossible. 2024-04-26 19:15:03 +03:00
John Preston
363c191a6e Skip media bottom skip in IV. 2024-04-26 20:12:30 +04:00
John Preston
2949cdab61 Don't request IV two times in a row. 2024-04-26 20:12:29 +04:00
John Preston
7addcf2d25 Add IV footer. 2024-04-26 20:12:29 +04:00
John Preston
a272807a99 Remove "Create poll" button in Replies chat.
Fixes #27817.
2024-04-26 20:12:29 +04:00
23rd
c803603de4 Added ability to insert custom emoji to polls. 2024-04-26 20:12:29 +04:00
23rd
e6c22ec1ca Added api support for custom emoji in polls. 2024-04-26 20:12:29 +04:00
John Preston
b3ae843f0e Update API scheme to layer 179. 2024-04-26 20:12:29 +04:00
John Preston
12a78c1f45 Allow pasting text to the unfocused search. 2024-04-26 20:12:29 +04:00
23rd
612b81ee87 Fixed allowed reactions for channel posts in linked chats. 2024-04-26 20:12:29 +04:00
23rd
e5b91d2f3d Added entry points for moderation box. 2024-04-26 20:12:29 +04:00
23rd
82293c98eb Added arrow icon to divider link in moderation box. 2024-04-26 20:12:29 +04:00
23rd
629da68cfc Added api support to moderation box. 2024-04-26 20:12:29 +04:00
23rd
643ecd2c2c Implemented initial ui of moderation box. 2024-04-26 20:12:29 +04:00
Ilya Fedin
dd1cb00c62 Update snap to core24 2024-04-26 18:39:56 +04:00
23rd
2c4d8418c1 Removed unused code for sponsored messages. 2024-04-26 11:21:41 +04:00
23rd
9fcb5d6f31 Added emoji button to input field for peer title edit. 2024-04-26 11:21:41 +04:00
23rd
38fc6bfbb9 Added special mode to emoji list widget to exclude non-unicode emoji. 2024-04-26 11:21:41 +04:00
23rd
804991a69c Added universal duration to styles. 2024-04-26 11:21:41 +04:00
23rd
7388f46adf Fixed display of subscribers count in dialogs suggestions. 2024-04-26 11:21:41 +04:00
John Preston
10c427127e Fix accidental search focusing. 2024-04-26 11:10:12 +04:00
John Preston
c6d034174b Support separate webview storages. 2024-04-26 08:58:42 +04:00
Ilya Fedin
471831bcd6 Revert "Remove not really needed notification capability checks"
This reverts commit abdfa4f785.
2024-04-25 15:07:51 +04:00
Ilya Fedin
b1e64419a5 Fix setting application icon in Linux notifications 2024-04-25 11:31:43 +04:00
Ilya Fedin
e2f17f1131 Remove unneeded includes from notifications_manager_linux 2024-04-25 11:31:43 +04:00
John Preston
ae4a73a15b Rollback OpenSans to 1.10. 2024-04-24 22:20:22 +04:00
Kolya
a84ca00270 fix typo 2024-04-24 19:18:33 +04:00
John Preston
c16d820b88 Move OpenSSL probing before crash reporter. 2024-04-24 19:12:46 +04:00
John Preston
ef614150d5 Remove dead code in lib_ui. 2024-04-24 17:44:51 +04:00
John Preston
b46ca1ec17 Use different font fallback algo on Windows. 2024-04-24 17:44:40 +04:00
John Preston
d5a347ede7 Try cancelling the new search by mouse back button. 2024-04-24 17:41:12 +04:00
John Preston
72d5a9b3e0 Toggle search focus by escape. 2024-04-24 16:56:20 +04:00
John Preston
e6d72b4861 Un-focus chats search on empty history click. 2024-04-24 16:54:10 +04:00
John Preston
3da51b1bc9 Fix crash on quit in sponsored messages. 2024-04-24 16:37:27 +04:00
John Preston
17b7db6219 Request 64 frequent contacts instead of 32. 2024-04-24 16:37:27 +04:00
John Preston
8353180161 Fix phrase cut-off in QR login. 2024-04-24 16:37:27 +04:00
John Preston
f675a8dcf7 Attempt to fix a couple of crashes. 2024-04-24 16:37:27 +04:00
John Preston
493f1d69e2 Fix cancel search button overlap. 2024-04-24 16:37:27 +04:00
John Preston
331e8c3ec6 Beta version 4.16.9.
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.
2024-04-23 23:14:19 +04:00
John Preston
56bce70558 Fix "long time ago" for users who blocked me. 2024-04-23 21:47:57 +04:00
John Preston
d82e48f8e4 Improve ChooseFontBox navigation. 2024-04-23 19:17:42 +04:00
John Preston
97ecc57be8 Add choose font settings. 2024-04-23 19:17:42 +04:00
John Preston
25bd2b145b Update submodules. 2024-04-23 19:17:42 +04:00
John Preston
7111c92ae7 Fix keyboard navigation in top peers. 2024-04-23 19:17:42 +04:00
John Preston
e066cf1589 Add "Show all" for top peers. 2024-04-23 19:17:41 +04:00
John Preston
6f328b2ef8 Fix inline query draft applying. 2024-04-23 19:17:41 +04:00
23rd
7a6c55bd8a Fixed color of icon for replies with media story. 2024-04-23 19:17:41 +04:00
23rd
b35d3f57fe Slightly improved style of sub-button in sponsored messages. 2024-04-23 19:17:41 +04:00
23rd
eef65af173 Slightly simplified meson usage on macOS in prepare.py. 2024-04-23 19:17:41 +04:00
23rd
bea715b41c Added ICCv4 with Little CMS on macOS. 2024-04-23 19:17:41 +04:00
23rd
7be68ca82c Updated Qt to 6.2.8 on macOS. 2024-04-23 19:17:41 +04:00
John Preston
287d5a7413 Fix shadow below Chats/Channels. 2024-04-23 19:17:41 +04:00
John Preston
1448cea01c Fix ripple in active recommendation row. 2024-04-23 19:17:41 +04:00
John Preston
768e8b457b Improve second-time choose of toppeers. 2024-04-23 19:17:41 +04:00
John Preston
05474f4a3f Improve filter switching with toppeers. 2024-04-23 19:17:41 +04:00
John Preston
8acada9b0f Fix toppeers animation with expanded stories. 2024-04-23 19:17:41 +04:00
23rd
a86e7f035f Slightly improved style of inner box for channel earn history entries. 2024-04-23 19:17:41 +04:00
John Preston
9caff93c35 Fix build for Xcode. 2024-04-23 19:13:48 +04:00
John Preston
e6ba85e112 Keyboard navigation in channels/recommendations. 2024-04-23 19:13:48 +04:00
John Preston
046803dbed Fix rotation reading in FFmpeg. 2024-04-23 19:13:48 +04:00
John Preston
615f4b1d1c Ignore pageBlockUnsupported blocks. 2024-04-23 19:13:48 +04:00
John Preston
a11535806d Always show cancel search when focused. 2024-04-23 19:13:48 +04:00
John Preston
34a7169b4f Make unread badges on top peers nicer. 2024-04-23 19:13:47 +04:00
John Preston
4f365c73ad Support active selection in recommendations. 2024-04-23 19:13:47 +04:00
John Preston
705bd9693d Load recommendations on demand. 2024-04-23 19:13:47 +04:00
John Preston
a88770a8ec Don't close recommendations. 2024-04-23 19:13:47 +04:00
John Preston
da423b5bd2 Add a general FastShareLink method. 2024-04-23 19:13:47 +04:00
John Preston
56080bd0e4 Fix boost group link handling for forums. 2024-04-23 19:13:47 +04:00
John Preston
63f66a1369 Show "Boost" button in boost group links. 2024-04-23 19:13:47 +04:00
John Preston
ca1a30196e Fix LinkButton resizing. 2024-04-23 19:13:47 +04:00
John Preston
b2d8e2a1e6 Initial version of channels/recommendations. 2024-04-23 19:13:47 +04:00
John Preston
2ab8bb13c5 Fix links preview. 2024-04-23 19:13:47 +04:00
23rd
3a2c5c6d0a Increased size of stickerset preview in webpages. 2024-04-23 19:13:47 +04:00
23rd
ed13a325e9 Added stickerset preview to webpages. 2024-04-23 19:13:47 +04:00
23rd
f43f99cff2 Added initial api support of stickerset attribute in web pages. 2024-04-23 19:13:47 +04:00
John Preston
a3b8397361 Close chat/media if thrown out by admin. 2024-04-23 19:13:47 +04:00
John Preston
4fb03e532c Optimize stories list generation. 2024-04-23 19:13:47 +04:00
John Preston
645ad5e1bd Update pinned icon in stories list. 2024-04-23 19:13:47 +04:00
John Preston
9036e9e8e3 Show pinned icon in stories. 2024-04-23 19:13:47 +04:00
John Preston
468d8b04d6 Implement stories pin-to-top. 2024-04-23 19:13:47 +04:00
John Preston
4b98ab1246 Fix build with simplified ads. 2024-04-23 19:13:46 +04:00
John Preston
d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00
23rd
df16e7c00b Added ability to change reactions limit in channels. 2024-04-23 19:13:46 +04:00
23rd
225c0e0af3 Added initial api support of reactions limit in channels and groups. 2024-04-23 19:13:46 +04:00
23rd
5543927042 Added ability to enable sponsored messages for premium self. 2024-04-23 19:13:46 +04:00
23rd
72b274a2bf Added support of simplified constructor for MTP sponsored message. 2024-04-23 19:13:46 +04:00
John Preston
ac15990b48 Update API scheme to layer178, ads broke build. 2024-04-23 19:13:46 +04:00
John Preston
7387dfdd9c Don't create top/recent peers unnecessary. 2024-04-23 19:13:46 +04:00
John Preston
74a7e7d1b4 Fix non-intentional chats list search focus. 2024-04-23 19:13:46 +04:00
John Preston
a0a9de1d18 Cancel search on switching folders. 2024-04-23 19:13:46 +04:00
John Preston
360366ba9e Fix opening forums from recent peers. 2024-04-23 19:13:46 +04:00
John Preston
0180fe9468 Animate search suggestions. 2024-04-23 19:13:46 +04:00
John Preston
19f5d95a3c Implement keyboard navigation for recent peers. 2024-04-23 19:13:46 +04:00
John Preston
051ca51d3b Allow clearing search results. 2024-04-23 19:13:46 +04:00
John Preston
2a6ff9203b Implement basic recent search results. 2024-04-23 19:13:46 +04:00
John Preston
2e0529bd9a Add data component for RecentPeers. 2024-04-23 19:13:46 +04:00
John Preston
e24ab4f1ab Allow saving emoji to files in debug builds. 2024-04-23 19:13:46 +04:00
John Preston
3dbadeb232 Allow opening top peers in a new window. 2024-04-23 19:13:46 +04:00
John Preston
4cdd939028 Cache topPeers locally. 2024-04-23 19:13:46 +04:00
John Preston
c11f4efc5c Support disabling top peers completely. 2024-04-23 19:13:46 +04:00
John Preston
e1c21b908c Add keyboard navigation to top peers. 2024-04-23 19:13:46 +04:00
John Preston
a6c1def6fe Add ripples to top peers. 2024-04-23 19:13:46 +04:00
John Preston
19ae76d8de Top peers context menu. 2024-04-23 19:13:46 +04:00
John Preston
56e28feb00 Top peer realtime badges. 2024-04-23 19:13:45 +04:00
John Preston
b259c566b7 Top peer unread badges and online indicators. 2024-04-23 19:13:45 +04:00
John Preston
18598f8dca Initial version of top peers. 2024-04-23 19:13:45 +04:00
John Preston
11e4c45969 Don't collapse chats list on window unfocus. 2024-04-23 19:13:45 +04:00
John Preston
39658ffe52 Allow narrow chats width without main section. 2024-04-23 19:13:45 +04:00
John Preston
2f03b9aa29 Make dialogs filter onfocused by default. 2024-04-23 19:13:45 +04:00
John Preston
dc438cff23 Always export file_name in json. 2024-04-23 19:13:45 +04:00
John Preston
18f5521be5 Don't look for SDL when building on macOS. 2024-04-23 19:13:45 +04:00
Ilya Fedin
bae9af1076 Switch crash reporter to system fonts
This should prevent nested crashes when loading custom fonts
2024-04-23 11:01:19 +04:00
Ilya Fedin
8d2805f226 Set font weight in crash reporter 2024-04-23 10:10:43 +04:00
Ilya Fedin
0ad18c8182 Get rid of direct Wayland usage
This should get rid of a very nasty vector of misbehaving and quite a lot of code which is boilerplate over Wayland protocols at the price of losing support of niche features

Most of things served by xcb code on X11 is served by portal code on Wayland, hopefully this tendention will continue and we will be fine just with glib which provides D-Bus and other basic APIs
2024-04-22 11:04:02 +04:00
Ilya Fedin
9046b2cafb Stop using the plasma-shell protocol
Looks like this isn't really correct in combination with xdg-shell
2024-04-22 10:59:16 +04:00
Ilya Fedin
3d994b58a0 ShowXDPOpenWithDialog -> UnsafeShowOpenWith 2024-04-21 03:14:34 +04:00
Ilya Fedin
4310c4978e Fix macOS packaged action 2024-04-19 17:41:07 +04:00
23rd
01bfa46729 Fixed display of default box for message schedule in correspond window. 2024-04-18 11:57:25 +04:00
Kolya
3510ca7184 Don't use/link libsharpyuv in libavif 2024-04-18 09:23:15 +04:00
Ilya Fedin
8d7845daa1 Use --shallow-submodules in Docker 2024-04-18 09:13:37 +04:00
Ilya Fedin
cb5fdac0da Replace mozjpeg with jpegli on Linux 2024-04-17 23:45:15 +04:00
John Preston
78c8d0562b Version 4.16.8: Fix build on Linux. 2024-04-16 23:23:11 +04:00
John Preston
bb0280f096 Revert "Replace mozjpeg with jpegli in snap"
This reverts commit f57e2edf2a.
2024-04-16 23:22:55 +04:00
John Preston
566b53ce9f Revert "Clean remainings of mozjpeg in snapcraft.yml"
This reverts commit da1909cc1d.
2024-04-16 23:22:43 +04:00
John Preston
ec95db0945 Revert "Replace mozjpeg with jpegli in Docker"
This reverts commit a1e2e3d011.
2024-04-16 23:00:08 +04:00
John Preston
a0d7d07543 Version 4.16.8.
- Fix in-app playing of some video and audio files.
- Fix crash on Linux opening chats with custom backgrounds.
- Fix crash on quit after using scheduled messages.
2024-04-16 20:15:32 +04:00
John Preston
fe73bf9053 Fix ripples in channel comments buttons. 2024-04-16 20:14:04 +04:00
John Preston
49c9e08b6c Enforce video/audio extension by mime type. 2024-04-16 20:14:01 +04:00
John Preston
abcf55c498 Check chat background read result. 2024-04-16 20:13:55 +04:00
John Preston
849ce310c4 Jump by keyboard between time input fields. 2024-04-16 20:13:02 +04:00
John Preston
a3e593b747 Fix crash in scheduled messages tear-down. 2024-04-16 20:12:03 +04:00
23rd
5433f95eda Simplified creation of label with custom emoji. 2024-04-16 03:44:00 +03:00
23rd
0459196982 Moved out level meter widget to td_ui. 2024-04-16 03:43:39 +03:00
23rd
6f1457d30d Fixed phrase of placeholder for message edition mode. 2024-04-15 23:56:37 +03:00
23rd
ce596e29c4 Fixed opening message from media player widget in corresponding window. 2024-04-15 23:41:00 +03:00
23rd
86b9d16747 Added additional note for macOS keys to json of custom shortcuts. 2024-04-15 23:30:57 +03:00
John Preston
06911ae42a Version 4.16.7.
- Reimplement file open confirmations.
2024-04-15 17:56:45 +04:00
John Preston
af2cb9b757 Fix possible unhandled exception in highlighting. 2024-04-15 17:56:45 +04:00
John Preston
6a28cd1a35 Reimplement file open confirmations. 2024-04-15 12:07:27 +04:00
23rd
f4a09a9ca0 Fixed display of growth rate in statistics info for huge values. 2024-04-15 11:20:30 +04:00
23rd
a35f020f56 Moved out ScheduledMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd
3d48111368 Moved out SponsoredMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd
39ed7d7f4c Increased clickable area for each item in EditPeerHistoryVisibilityBox. 2024-04-15 11:20:30 +04:00
23rd
abe83ccb8f Moved inaccessible groups in box for user's own groups to sub-list.
Fixed #27729.
2024-04-15 11:20:30 +04:00
23rd
d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd
1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd
a37cbd7d05 Initially refactored statistics module to simplify value types changing. 2024-04-15 11:20:30 +04:00
23rd
7ffa9844e2 Fixed currency formatting for channel earn info section. 2024-04-15 11:20:30 +04:00
23rd
bdf5872f04 Fixed opening channel earn info section for admins. 2024-04-15 11:20:30 +04:00
Ilya Fedin
da1909cc1d Clean remainings of mozjpeg in snapcraft.yml 2024-04-15 10:11:54 +04:00
Ilya Fedin
a503197352 Remove XCBSetDesktopFileName
This is done by Qt nowadays
2024-04-15 10:11:30 +04:00
Nyan
d9d9a8f49d Update data_document_resolver.cpp
Added the LEXE and WLUA extensions to the IsExecutableName function for Windows. Those are registered by default on Windows devices with LUA installed
2024-04-13 23:45:03 +04:00
Ilya Fedin
f57e2edf2a Replace mozjpeg with jpegli in snap 2024-04-11 12:35:47 +04:00
Ilya Fedin
a1e2e3d011 Replace mozjpeg with jpegli in Docker 2024-04-11 12:35:47 +04:00
Ilya Fedin
5e546d1198 Update libjxl in Docker & snap 2024-04-11 12:35:47 +04:00
Ilya Fedin
90405f3ebc Install protobuf in Docker 2024-04-11 12:15:55 +04:00
Nyan
11b57ff7d3 Update data_document_resolver.cpp
The correct python zipapp extension on windows is pyzw, this typo could lead to executing code in the client device without proper warning
2024-04-11 11:24:15 +04:00
Ilya Fedin
fe06cd63ac Lock event loop 2024-04-09 20:48:47 +04:00
John Preston
6c9d5e1499 Improve clipboard QR code image logo quality. 2024-04-09 19:05:02 +04:00
John Preston
6ed910de9f Version 4.16.6.
- Show custom emoji preview on long press.
- Fix resume chat bot button disappearance.
- Fix GIF files playback. (regression in 4.16.3.beta)
2024-04-09 15:20:16 +04:00
John Preston
a506b8b25c Support t.me/username?text=.. links. 2024-04-09 15:20:10 +04:00
John Preston
170ebb57c6 Preview custom emoji on long press from the panel. 2024-04-09 12:11:07 +04:00
John Preston
29dd574e22 Fix toggling chatbot replying, fix saving. 2024-04-09 11:55:52 +04:00
John Preston
72770aa76d Add GIF parser to FFmpeg build.
Fixes #27722.
2024-04-09 11:29:19 +04:00
John Preston
7f1c319aee Add interactive mode to prepare script. 2024-04-09 11:29:16 +04:00
John Preston
60805bd916 Version 4.16.5.
- Fix editing privacy for groups and channels invitations.
- Possible fix for the network unresponsiveness after sleep.
- Possible fix for wide range of memory allocator crashes on Linux.
2024-04-08 22:31:07 +04:00
Ilya Fedin
10272ee0cf Revert "Replace jemalloc with scudo"
This reverts commit 960761ef37.
2024-04-08 21:57:25 +04:00
John Preston
7c44cda76e Fix premium users deselection in multi-select field. 2024-04-08 21:56:56 +04:00
John Preston
0152d2c48e Fix possible temp auth key bind freeze. 2024-04-08 21:56:56 +04:00
23rd
c5febce548 Moved out some functions for main menu to separated files. 2024-04-08 17:34:58 +03:00
23rd
129b07c2c0 Improved style of box for all of user's own groups and channels. 2024-04-08 17:02:52 +03:00
23rd
47bf099b88 Fixed updating of field placeholder in compose controls while editing. 2024-04-08 06:55:44 +03:00
23rd
94f1d23788 Fixed behavior to open section with scheduled messages at top. 2024-04-08 04:12:14 +03:00
Ilya Fedin
84ce72ec7a Fix a crash due to half-hidden media viewer 2024-04-07 14:28:51 +04:00
Ilya Fedin
3da8351522 Let Wayland to use QGuiApplication::screenAt (forgotten place) 2024-04-07 14:08:40 +04:00
Ilya Fedin
542153d950 Use nasm from repository 2024-04-07 11:20:46 +04:00
Ilya Fedin
090fdfb458 Add asan libraries to Docker image 2024-04-07 11:20:46 +04:00
John Preston
77835a43a5 Version 4.16.4: Update patches on Linux. 2024-04-07 11:19:23 +04:00
John Preston
1a2a1f1c17 Version 4.16.4.
- Bug fixes and other minor improvements.
2024-04-06 22:59:03 +04:00
John Preston
eaaa704fa4 Check the URL in IV like in attach bots. 2024-04-06 22:59:03 +04:00
John Preston
7803f8e670 Simplify escaping when parsing IV. 2024-04-06 22:59:03 +04:00
Sergey A. Osokin
f36e3c213e Fix build on FreeBSD 13.3 / llvm 17.0.6 / qt 5.15.13 2024-04-06 20:30:08 +04:00
John Preston
6fb1e23ed5 Fix file dialog filter for videos from attach menu. 2024-04-06 13:05:12 +04:00
John Preston
86d0c49e44 Add "Boost Group/Channel" button to chat menu. 2024-04-06 13:05:12 +04:00
John Preston
9251e6faba Use better title in boost box. 2024-04-06 13:05:12 +04:00
John Preston
8f8725e1af Beta version 4.16.3: Fix dav1d in FFmpeg on macOS. 2024-04-05 21:25:20 +04:00
John Preston
0ce6a4cbdb Beta version 4.16.3: Re-enable system proxy (Linux).
This reverts commit 1e6fb202f0.
2024-04-05 20:48:06 +04:00
John Preston
ad3f705f50 Beta version 4.16.3.
- Improve media upload speed.
- Update FFmpeg to 6.1.1.
2024-04-05 15:35:01 +04:00
John Preston
c5847caa91 Update FFmpeg to 6.1.1: Fix AV1 videos. 2024-04-05 14:42:29 +04:00
John Preston
8df6d9db7e Don't update server-time too frequently. 2024-04-05 09:51:20 +04:00
John Preston
a9c1970f41 Send up to 1MB of parts to a single session. 2024-04-05 09:51:20 +04:00
John Preston
c3f0d2ef31 Adaptive upload up to 8 sessions. 2024-04-05 09:51:20 +04:00
John Preston
0dcc439dda Allow upload requests for several files at once. 2024-04-05 09:51:20 +04:00
John Preston
5b0cac47ad Reapply "Use plain vector for prepared upload parts."
This reverts commit f6f8eefaa0.
2024-04-05 09:51:20 +04:00
John Preston
b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston
690d52f7bc Version 4.16.2.
- Use IV by default for Telegraph and some Telegram links.
- Support IV links in bot web-apps.
- Some bug fixes.
2024-04-04 21:13:00 +04:00
John Preston
23883ed4a1 Use generic way for FAQ links. 2024-04-04 21:08:56 +04:00
John Preston
ea178862d8 Open some telegram.org and Telegram links in IV. 2024-04-04 21:08:19 +04:00
John Preston
09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston
f6f8eefaa0 Revert "Use plain vector for prepared upload parts."
This reverts commit aaaeea2979.
2024-04-04 18:36:00 +04:00
John Preston
ede6e18bc9 Fix QOI image reader. 2024-04-04 18:35:20 +04:00
John Preston
36cb28d5cf Respect 'try_instant_view' in webapps. 2024-04-04 18:35:20 +04:00
John Preston
9464f4b095 Fix collectible channel links. 2024-04-04 17:51:53 +04:00
23rd
b31d43cbed Fixed circle drawing in titles of some sections in channel earn info. 2024-04-04 17:51:53 +04:00
23rd
2a388ae4b2 Improved FAQ buttons with opening link in instant view. 2024-04-04 17:51:53 +04:00
23rd
d675e31a51 Fixed display of integer numbers in channel earn section. 2024-04-04 17:51:53 +04:00
23rd
e32de38d04 Added url to learn more about monetization to langpack. 2024-04-04 17:51:53 +04:00
23rd
154753c732 Removed migrated groups from list of user's own groups. 2024-04-04 17:51:53 +04:00
Klemens Nanni
53b75c8ea4 update lib_base to include OpenBSD fix 2024-04-04 15:52:01 +04:00
Klemens Nanni
776e80b4d6 Fix tdesktop 4.15.6 build on OpenBSD
7.5-current with clang 16.0.6 and Qt6 fails, not entirely sure why...
2024-04-04 15:52:01 +04:00
Ilya Fedin
b09cede008 Fix uploading artifact on Linux 2024-04-04 15:51:22 +04:00
Ilya Fedin
e2a0483b9f Enable artifacts for GH actions 2024-04-04 15:51:22 +04:00
John Preston
aaaeea2979 Use plain vector for prepared upload parts. 2024-04-03 12:39:08 +04:00
John Preston
91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
John Preston
ae36019ba9 Version 4.16.1.
- Show information about Fragment phone numbers and usernames.
- Fix jump to original story from a story repost.
- Fix old image display in viewer in some cases.
- Fix several crashes.
2024-04-02 23:13:05 +04:00
John Preston
1e0002aa74 Fix jump to original from story repost. 2024-04-02 23:09:26 +04:00
John Preston
1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston
22f504ca21 Add hidden buttons to langpack. 2024-04-02 22:56:05 +04:00
John Preston
a74c5ee719 Fix complex-shaped Ui::Text::String geometry. 2024-04-02 22:56:05 +04:00
John Preston
ef04ed447f Fix 'listening' state show in group video chats.
Regression was introduced in c3ca8c6258.
2024-04-02 19:22:30 +04:00
Ilya Fedin
c678973119 Update patches on Linux 2024-04-02 17:40:41 +04:00
Ilya Fedin
587b07a648 Update Qt to 6.7.0 on Linux 2024-04-02 17:40:41 +04:00
John Preston
7fa3c6f8e8 Return media viewer hiding glitch workaround. 2024-04-02 13:19:22 +04:00
John Preston
9957678fb7 Fix adding from "Emoji from this message". 2024-04-02 13:15:03 +04:00
John Preston
971803803c Fix ripple animation on Added sticker set button. 2024-04-02 12:47:24 +04:00
John Preston
8ab118a8e9 Fix rare crashes in message sending animations. 2024-04-02 12:20:40 +04:00
John Preston
1da9df690f Fix memory leak in downloads thumbnail loading. 2024-04-02 12:20:40 +04:00
John Preston
615ad85d26 Fix possible crash in notifications setup.
Initial _account assignment triggered sync createManager(),
which in case of native Windows notifications called
ToastNotificationManager::CreateToastNotifier, which could enter
qt-wndproc-message processing with QEvent::ApplicationActivated
delivery and calling updateNonIdle() which called
Window::Controller::account(), that wasn't yet set.
2024-04-02 12:20:40 +04:00
John Preston
e02b60d8fa Fix placeholder in chat intro setup. 2024-04-02 12:20:40 +04:00
Ilya Fedin
3fc4030ca6 Migrate xz in Dockerfile to the URL used in prepare.py 2024-04-02 10:26:43 +04:00
John Preston
707146daed Version 4.16.
- Instant View on Windows 10+ and macOS.
- Allow scheduling messages in topics.
- Telegram Business: Links to Chats.
- Telegram Business: Custom Intro.
- Telegram Business: Chatbots.
- Sharing Revenue with Channel Owners.
2024-04-01 23:27:35 +04:00
John Preston
c0117e72ad Support complex invite-users responses. 2024-04-01 22:44:26 +04:00
John Preston
3cdb528dfe Use "Downloads/Telegram Lite" in MacAppStore version. 2024-04-01 22:44:26 +04:00
John Preston
d2164dc0d0 Suggest premiums in privacy. 2024-04-01 22:44:26 +04:00
John Preston
87acc921c3 Pass Ui::Show to all add participant handlers. 2024-04-01 22:44:26 +04:00
John Preston
5741bd9cca Support "premiums and ..." privacy editing. 2024-04-01 22:44:25 +04:00
John Preston
1e6fb202f0 Re-apply "Disable system proxy support on Linux".
This reverts commit c71c24a6bc.
2024-04-01 22:44:25 +04:00
John Preston
8cbb1abff2 Fix wrong non-album image size in send preview.
Regression was introduced in 84288112fc.
2024-04-01 22:44:25 +04:00
John Preston
d21418cf04 Handle already-premium state in gift link usage. 2024-04-01 22:44:25 +04:00
John Preston
d35c8232d2 Fix send-messages privacy phrase. 2024-04-01 22:44:25 +04:00
John Preston
139d1a9aa3 Allow saving just the sticker in custom intro. 2024-04-01 22:44:25 +04:00
John Preston
f95817861a Fix build on Windows. 2024-04-01 22:44:25 +04:00
23rd
3e968aecc8 Added link for learn more about currency from channel earn section. 2024-04-01 22:44:25 +04:00
23rd
2795af8c7f Slightly improved style of channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
bb438880e3 Added ability to view all of user's own groups. 2024-04-01 22:44:25 +04:00
23rd
8492b7144f Replaced emoji with icon for currency in earn section. 2024-04-01 22:44:25 +04:00
23rd
5dd974f2ab Added line with converted currency amount to point details widget. 2024-04-01 22:44:25 +04:00
23rd
d3cd3bb0a4 Slightly improved style of box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd
04acf08d34 Limited list of data for non-owners of channel in earn section. 2024-04-01 22:44:25 +04:00
23rd
4db885d8b4 Replaced exported data of callbacks from markup replies with base64. 2024-04-01 22:44:25 +04:00
23rd
8718d94e7d Added sub-button to top of sponsored messages that can be reported. 2024-04-01 22:44:25 +04:00
23rd
24c1151101 Fixed incorrect handling of error from channel ownership request. 2024-04-01 22:44:25 +04:00
23rd
0b22e5928c Fixed bottom fade effect for input message fields in compose controls. 2024-04-01 22:44:25 +04:00
23rd
3311a50750 Added second rulers to currency chart in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
1563a85fea Improved style for right action of forwarded messages. 2024-04-01 22:44:25 +04:00
23rd
586983eb9b Added divider text to box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd
1a7a906ced Added ability to review history entry in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
496247c1d8 Added ability to load chunked history transactions in earn info section. 2024-04-01 22:44:25 +04:00
23rd
2f07bb3973 Added initial support of withdraw button in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
9b0f3bedff Added entry point for channel earn info section. 2024-04-01 22:44:25 +04:00
23rd
c66b5b2490 Added support of permission to manage channel earn. 2024-04-01 22:44:25 +04:00
23rd
a1264a6088 Slightly improved style of learn more box in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
4e0d770d05 Removed cpm configuration. 2024-04-01 22:44:24 +04:00
23rd
508119a127 Added ability to report sponsored messages. 2024-04-01 22:44:24 +04:00
23rd
341b9e4a29 Added menu with about box to sponsored messages that can be reported. 2024-04-01 22:44:24 +04:00
23rd
57789c1272 Added second button to sponsored right. 2024-04-01 22:44:24 +04:00
23rd
3845a87f2e Added fade animation to center label of slider in earn channel section. 2024-04-01 22:44:24 +04:00
23rd
3c266b6dc4 Moved out data structures for channel earn to td_ui. 2024-04-01 22:44:24 +04:00
23rd
32a3952524 Added initial support of channel cpm from earn channel api. 2024-04-01 22:44:24 +04:00
23rd
9c52f245ac Added initial support of statistical charts in earn channel section. 2024-04-01 22:44:24 +04:00
23rd
393d9e9f1f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
f28f498467 Added support of level of boosts for restriction of sponsored messages. 2024-04-01 22:44:24 +04:00
23rd
b5a7a351f6 Added initial support for integer format of channel earn amount data. 2024-04-01 22:44:24 +04:00
23rd
a14c0f5253 Added initial support of channel earn data in appropriate info section. 2024-04-01 22:44:24 +04:00
23rd
a278aa0f89 Added initial api support for channel earn statistics. 2024-04-01 22:44:24 +04:00
23rd
479bb2a1d6 Added focus to input field in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
538934a88a Added learn more box to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
5d2726036f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
778317e1b2 Added initial slider for earn settings to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
99dd5507bf Added initial transfer subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
490d9bc3ec Added initial box for every history entry to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
796e09bf13 Added initial subsection for history to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
588624e7a9 Added initial overview subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
a45a9e6515 Added initial learn about as divider text to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
a7df074b8f Added dummy files for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
9941a46769 Added some phrases for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd
b0565f2188 Moved files for boosts to nested folder. 2024-04-01 22:44:24 +04:00
John Preston
8fb3e39881 Simple promo box for Telegram Business. 2024-04-01 22:44:23 +04:00
John Preston
d788f5afac Handle today-birthday click in profile. 2024-04-01 22:44:22 +04:00
John Preston
20123fca7f Mark the Chatbots section as NEW. 2024-04-01 22:44:22 +04:00
John Preston
7c7b962c6d Improve couple of Telegram Business icons. 2024-04-01 22:44:22 +04:00
John Preston
68ded1a6e0 Allow newRequirePremium for free if server allows. 2024-04-01 22:44:22 +04:00
John Preston
da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston
3b5814edae Handle empty channels list. 2024-04-01 22:44:22 +04:00
John Preston
f439443fe5 Show personal channel in users profile. 2024-04-01 22:44:22 +04:00
John Preston
280d69d346 Implement personal channel selector. 2024-04-01 22:44:21 +04:00
John Preston
ab74ed0fa7 Handle flood errors in birthday changes. 2024-04-01 22:44:21 +04:00
John Preston
0d740c21a2 Check if bot supports Telegram Business. 2024-04-01 22:44:21 +04:00
John Preston
f65bc7c0bd Suggest premium on transfer speed limiting. 2024-04-01 22:44:21 +04:00
John Preston
0dd1a4973a Handle the new FLOOD_PREMIUM_WAIT errors. 2024-04-01 22:44:21 +04:00
John Preston
05a5e62327 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
66a47137a0 Copy chat link by left click in footer. 2024-04-01 22:44:21 +04:00
John Preston
f240cbbda6 Handle chat link clicks. 2024-04-01 22:44:21 +04:00
John Preston
3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
John Preston
6fe0c60204 Fix build with Xcode. 2024-04-01 22:44:21 +04:00
John Preston
f7d04d668b Hide captions in IV slideshows. 2024-04-01 22:44:21 +04:00
John Preston
57bd0d2674 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
08ee25deb2 Display date of birth in user profiles. 2024-04-01 22:44:21 +04:00
John Preston
c82d7bd909 Implement birthday info / privacy edit boxes. 2024-04-01 22:44:21 +04:00
John Preston
59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston
5e68dace9f Remove description in intro settings preview. 2024-04-01 22:44:21 +04:00
John Preston
fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston
3a5b3ff3bd Show description about custom chat intro. 2024-04-01 22:44:21 +04:00
John Preston
1e1a48865f Extract history/view/media/history_view_media_generic module. 2024-04-01 22:44:21 +04:00
John Preston
b31c30b9b6 Wait for full user info before intro creation. 2024-04-01 22:44:21 +04:00
John Preston
7886a2179f Fix giveaway messages layout. 2024-04-01 22:44:21 +04:00
John Preston
d1a995a863 Allow sending the sticker from the intro. 2024-04-01 22:44:21 +04:00
John Preston
85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston
7f4d13c54a Fix chat intro sticker aspect ratio. 2024-04-01 22:44:20 +04:00
John Preston
9f67b9ba2f Reload chatbot rules after adding an exception. 2024-04-01 22:44:20 +04:00
John Preston
5381fe5a1a Use MediaInBubble for chat intro fake-message. 2024-04-01 22:44:20 +04:00
John Preston
0887348611 Show length limit in chat intro fields. 2024-04-01 22:44:20 +04:00
John Preston
98ce91df39 Fix intro hello sticker playback in editing. 2024-04-01 22:44:20 +04:00
John Preston
191c35914f Start editing chat intro in Telegram Business. 2024-04-01 22:44:20 +04:00
John Preston
cf1d0677d1 Support business bot state in chat. 2024-04-01 22:44:20 +04:00
John Preston
3d97ea6f96 Track chat business bot state. 2024-04-01 22:44:20 +04:00
John Preston
caa4c5428a Show via_business_bot name in signature. 2024-04-01 22:44:20 +04:00
John Preston
90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston
b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
John Preston
962c64b33c Beta version 4.15.7: Linux fix test. 2024-04-01 11:58:24 +04:00
GitHub Action
bd827d844b Update User-Agent for DNS to Chrome 123.0.0.0. 2024-04-01 10:20:57 +04:00
wention
ed70675e1d Fix build Qt error on non-english windows os 2024-04-01 10:08:16 +04:00
Ilya Fedin
e07d53725c Strip notification service start error 2024-04-01 09:59:19 +04:00
Ilya Fedin
1b589a35cf Don't check the count when it's not going to painted 2024-04-01 09:50:20 +04:00
Ilya Fedin
439f8d0914 Implement monochrome icon setting on Linux 2024-04-01 09:50:20 +04:00
Ilya Fedin
1d7dbc4d17 Update patches & lib_base 2024-03-29 14:12:52 +04:00
Ilya Fedin
001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
John Preston
8534d6d7d7 Fix build on Windows. 2024-03-27 18:32:44 +04:00
Ilya Fedin
e7a7c2d267 Get rid of XDG_CURRENT_DESKTOP dependent logic
Just try all the commands and use the one that works first
2024-03-26 09:31:58 +04:00
Ilya Fedin
8803dfcee6 Add Plasma 6 sound settings support 2024-03-26 09:31:58 +04:00
Ilya Fedin
887f10059d Update Qt to 6.7.0-rc2 in snap 2024-03-25 22:17:59 +04:00
Ilya Fedin
d3db52ce9c Update cmake_helpers 2024-03-25 22:17:59 +04:00
Ilya Fedin
5fa89c22bd Use default Qt prefix on Linux 2024-03-25 22:17:59 +04:00
Ilya Fedin
ea42f9545f Move OpenSSL to system directories on Linux 2024-03-25 22:17:59 +04:00
John Preston
8830fb70a4 Beta version 4.15.6: OpenSSL 3.2.1. 2024-03-25 17:47:53 +04:00
Ilya Fedin
0edf14f3a9 Update Qt to 6.7.0-rc2 on Linux 2024-03-25 17:47:25 +04:00
John Preston
89c6bb163e Beta version 4.15.6: Fix build with GCC. 2024-03-25 11:19:31 +04:00
John Preston
8708598daa Beta version 4.15.6.
- Save the Instant View window geometry.
- Fix jump to anchors with accents in the Instant View.
- Fix possible crash in the ElasticScroll destructor.
2024-03-25 10:26:23 +04:00
John Preston
c71c24a6bc Re-revert "Disable system proxy support on Linux".
This reverts commit 55b2b04e2e.
2024-03-25 10:25:34 +04:00
John Preston
386fb07017 Update lib_base submodule. 2024-03-25 10:16:12 +04:00
23rd
aad2961646 Added all unused shortcuts to json of default shortcuts. 2024-03-25 10:15:42 +04:00
23rd
00a89883fd Added ability to set shortcut to archive chat from dialogs list. 2024-03-25 10:15:42 +04:00
23rd
5509c1810b Added ability to set shortcut to open section with scheduled messages. 2024-03-25 10:15:42 +04:00
23rd
24498bc95f Changed behavior to hide field buttons in HistoryWidget with typed text. 2024-03-25 10:15:42 +04:00
Sergey A. Osokin
58caec8d05 Fix build on FreeBSD 2024-03-25 10:14:17 +04:00
John Preston
ebe331a7e4 Fix build on Windows. 2024-03-24 10:24:26 +04:00
John Preston
d481008fdb Fix possible crash in ElasticScroll destructor. 2024-03-24 10:24:22 +04:00
John Preston
b97d243978 Fix jump to hash with accents in IV. 2024-03-24 10:05:55 +04:00
John Preston
fd833dff35 Save IV window geometry. 2024-03-24 10:05:52 +04:00
John Preston
d9ed3a7d3f Remove for-development-only save document action.
Regression was introduced in 205479fccc.
2024-03-24 10:05:37 +04:00
John Preston
b8ce79467f Fix crash on "History cleared" delete in Saved Messages. 2024-03-24 10:05:04 +04:00
John Preston
9d0457d208 Add "Terms of Use" menu item to all miniapps. 2024-03-24 10:04:54 +04:00
23rd
fa02e521f9 Added ability to view all of user's own channels. 2024-03-24 07:10:07 +03:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
23rd
58fcedab64 Moved out Window::SlideAnimation to td_ui. 2024-03-24 07:01:08 +03:00
23rd
5e11c43f84 Moved out Stickers::EmojiImageLoader to td_ui. 2024-03-24 07:01:08 +03:00
Ilya Fedin
4b4de9d5aa Don't mark as read when unexposed
There's a yet another another visility state called "exposed" and the window could be unexposed while being not hidden and not minimized.

When the window is unexposed, Qt doesn't draw and the user can't see changes for sure.
2024-03-23 10:36:43 +04:00
23rd
f135676d36 Added support for sending state of low level of battery. 2024-03-22 00:12:57 +03:00
23rd
cb9adad660 Added label to call panel when recipient has low level of battery. 2024-03-21 23:48:51 +03:00
23rd
88dab47d2c Changed behavior to open section with scheduled messages at top. 2024-03-21 20:20:06 +03:00
Daniel Novomeský
d6e4613144 Upgrade dav1d, libavif, libde265, libheif on Linux 2024-03-20 20:00:33 +04:00
23rd
893c09c848 Fixed showing of rate call box in appropriate window. 2024-03-20 11:20:22 +04:00
Ilya Fedin
a0e0fd5b98 Don't build libheif tests
That would save some build time
2024-03-19 20:14:28 +04:00
John Preston
98abb3aa00 Fix possible crash in join channel toast. 2024-03-19 11:04:40 +04:00
John Preston
8982a49192 Fix repetitive phone formatting. 2024-03-19 11:04:21 +04:00
John Preston
529eb4e954 Fix window shadow on Linux. 2024-03-19 11:03:39 +04:00
Ilya Fedin
846a6d8717 Update scudo to 18.1.1 2024-03-18 19:53:36 +04:00
Ilya Fedin
07ab875655 Update lib_base 2024-03-18 09:59:47 +04:00
Ilya Fedin
602b0b5d9b Use the File::OpenUrl routine in IV 2024-03-18 09:59:47 +04:00
John Preston
0e428aebdb Update patches in Linux build. 2024-03-17 20:34:02 +04:00
Daniel Novomeský
4abc68ab1c Upgrade dav1d, libavif, libde265, libheif 2024-03-17 19:35:00 +04:00
23rd
2638ee2926 Improved message edition with pre-selected text. 2024-03-17 11:16:07 +03:00
Ilya Fedin
ddaf78828a Fix media viewer geometry restoration 2024-03-17 09:28:46 +04:00
Ilya Fedin
6d5347472d Fix media viewer geometry logging
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston
82fda96ed8 Beta version 4.15.5.
- Fix a crash in Instant View article parsing.
- Support AirPods Mute/Unmute toggle in calls on macOS.
- Disable system proxy on Linux to check if it fixes crashes.
2024-03-16 09:59:23 +04:00
John Preston
55b2b04e2e Reapply "Disable system proxy support on Linux"
This reverts commit 202a4064a4.
2024-03-16 09:54:07 +04:00
23rd
393f330d15 Added ability to go to message from Calls box. 2024-03-16 04:40:56 +03:00
23rd
f4ecfeaddd Added ability to perform bulk selection from menu in HistoryWidget. 2024-03-16 04:40:56 +03:00
Ilya Fedin
ad101dc8a0 A way to initialize GLib::VariantIter without gi::wrap is found 2024-03-15 23:10:43 +04:00
John Preston
24e9a3ea59 Bot close confirm closes only by Close button. 2024-03-15 20:28:11 +04:00
John Preston
f1d8135e30 Fix crash in IV parsing. 2024-03-15 20:26:50 +04:00
23rd
a1a415de82 Fixed crash in non-stack bar chart view when hide selected point. 2024-03-15 17:08:17 +03:00
John Preston
77dc234b2d Support AirPods Mute/Unmute toggle. 2024-03-15 14:43:41 +04:00
23rd
c3ca8c6258 Fixed emoji drawing in statuses of group call participants. 2024-03-15 14:43:29 +04:00
23rd
9e18236b55 Added ability to open account in new window with middle click. 2024-03-15 14:43:29 +04:00
23rd
ded7aada52 Slightly improved filter for choosing users requested by bot. 2024-03-15 14:43:29 +04:00
Dubzer
a117c1ebf2 Add new Segoe UI to IV css 2024-03-15 09:24:12 +04:00
Ilya Fedin
d3715cc362 Get rid of glibmm 2024-03-15 00:00:24 +04:00
Ilya Fedin
3689e7dfbc Use cppgir compatible XDP utilities API 2024-03-15 00:00:24 +04:00
Ilya Fedin
59e53c1edf Port NotificationId conversion to cppgir 2024-03-15 00:00:24 +04:00
John Preston
f2a54e3cbb Beta version 4.15.4: Fix build with Xcode. 2024-03-14 22:30:52 +04:00
John Preston
20db635366 Beta version 4.15.4: Update Qt patches in snap. 2024-03-14 21:58:56 +04:00
John Preston
b955d32970 Beta version 4.15.14.
- Fix initial text color in dark mode Instant View on macOS.
- Fix non-English symbols encoding in Instant View on macOS.
- Fix sharing from Instant View on macOS.
- Fix crash with long messages on Linux.
2024-03-14 21:55:16 +04:00
John Preston
5a5d89c32c Fix crashing regression in Qt 6.7.0. 2024-03-14 21:55:05 +04:00
23rd
1f0ed3bb31 Fixed links in service message about requested peers from bot. 2024-03-14 20:36:19 +03:00
23rd
6c083e88a3 Changed behavior of bot menu button to decrease size to first emoji. 2024-03-14 20:19:09 +03:00
John Preston
2e7323d484 Fix a glitch in IV sharing on Windows. 2024-03-14 19:03:46 +04:00
John Preston
461aebd7f3 Hide IV when sharing on macOS, fixes sharing. 2024-03-14 18:36:17 +04:00
John Preston
73ca78215f Set window title in IV. 2024-03-14 18:35:57 +04:00
John Preston
200bb31e08 Fix theming in code blocks. 2024-03-14 15:01:03 +04:00
John Preston
396f52b8ca Fix title updating on IV menu show. 2024-03-14 14:27:46 +04:00
John Preston
a118d3d848 Close IV when opening URL in the browser. 2024-03-14 14:26:00 +04:00
John Preston
f6b9702b52 Unminimize IV when opening another one. 2024-03-14 12:51:34 +04:00
John Preston
d92418dc6d Disable media context menus in IV. 2024-03-14 12:50:55 +04:00
23rd
fe4b853393 Improved section of scheduled messages when forum opened in flat mode. 2024-03-14 11:43:46 +04:00
John Preston
782556495a Improve joined channels tracking in IV. 2024-03-14 11:39:17 +04:00
John Preston
5c32423597 Integrate IV menu hiding by click inside WebView. 2024-03-14 11:39:17 +04:00
John Preston
5c8e6c3012 Fix page encoding in IV on macOS. 2024-03-14 11:39:17 +04:00
John Preston
5133f74f67 Fix IV theming on macOS because of broken HTML. 2024-03-14 11:39:17 +04:00
John Preston
d5b23b5bde Use a separate lang key for IV channel join button. 2024-03-14 11:39:17 +04:00
kukuruzka
bf4b4ae936 full support for ukrainian transliteration 2024-03-14 11:23:13 +04:00
kukuruzka
458b990b8c Improve transliteration 2024-03-14 11:23:13 +04:00
Ilya Fedin
e044753934 Fix macOS GH action 2024-03-14 10:45:42 +04:00
Ilya Fedin
c0b612c457 Update cppgir 2024-03-14 09:29:10 +04:00
Eric Kotato
9414ef5709 Using system font stack for Instant View 2024-03-14 09:18:24 +04:00
Ilya Fedin
c9e566f8aa Fix snap build
Qt has removed support for kernels less than 4.11 by removing the -no-feature-statx flag. Remove the usage all the related flags.
2024-03-14 09:17:01 +04:00
Eric Kotato
40bd37315a Use %NUMBER_OF_PROCESSORS% for jom 2024-03-14 08:33:07 +04:00
John Preston
0410d05913 Beta version 4.15.3: Fix build with GCC. 2024-03-13 22:27:25 +04:00
John Preston
a888b8d846 Beta version 4.15.3.
- Instant View on Windows (with WebView2) and macOS.
- Allow scheduling messages in topics.
- Fix system proxy support on Linux.
2024-03-13 21:58:45 +04:00
John Preston
eac5c39a96 Don't show IV button for album links. 2024-03-13 21:58:27 +04:00
John Preston
202a4064a4 Revert "Disable system proxy support on Linux"
This reverts commit 3af646a584.
2024-03-13 21:20:31 +04:00
John Preston
ddf2369774 Allow more parts for macOS IV streaming. 2024-03-13 21:20:30 +04:00
John Preston
48f70a8552 Fix videos management on macOS. 2024-03-13 21:20:30 +04:00
John Preston
4685b889c2 Update Qt to 5.15.13 on Windows. 2024-03-13 21:20:30 +04:00
John Preston
3e373200b1 Dynamically create / destroy videos. 2024-03-13 21:20:30 +04:00
John Preston
7913d2a82d Fix initial scroll on macOS. 2024-03-13 21:20:30 +04:00
John Preston
e20770e256 Show IV button only if supported. 2024-03-13 21:20:30 +04:00
John Preston
d43f0be0da Add IV icon to the button. 2024-03-13 21:20:30 +04:00
John Preston
7b4adc2e60 Escape data from API in IV html. 2024-03-13 21:20:30 +04:00
John Preston
1eeba65ddb Fix build on macOS. 2024-03-13 21:20:30 +04:00
John Preston
1252accef7 Support file reference refresh in IV. 2024-03-13 21:20:30 +04:00
John Preston
5f7c3ae20e Remove some test code. 2024-03-13 21:20:30 +04:00
John Preston
e1b55b560a New top bar, sharing, internal IV links style. 2024-03-13 21:20:30 +04:00
John Preston
315859bf7b Load full webpage and update in IV. 2024-03-13 21:20:30 +04:00
John Preston
0a87dbea68 Fix focusing IV content. 2024-03-13 21:20:30 +04:00
John Preston
5f3c380d56 Fix navigation on macOS. 2024-03-13 21:20:30 +04:00
John Preston
8b62c37c34 Support complex history and anchors. 2024-03-13 21:20:30 +04:00
John Preston
fae10cfa6b Support slideshow layout. 2024-03-13 21:20:30 +04:00
John Preston
f9069144e5 Support albums layout. 2024-03-13 21:20:30 +04:00
John Preston
7755b70317 Add top dropdown menu. 2024-03-13 21:20:30 +04:00
John Preston
c46f34c677 Load non-streamable documents. 2024-03-13 21:20:30 +04:00
John Preston
5c428ca502 Support anchor jumps. 2024-03-13 21:20:30 +04:00
John Preston
51d5b7bab6 Support channel link / channel join. 2024-03-13 21:20:30 +04:00
John Preston
f508ad5e75 Implement title and in-IV buttons. 2024-03-13 21:20:30 +04:00
John Preston
f9299eee2a Apply app color scheme, test dynamic header. 2024-03-13 21:20:30 +04:00
John Preston
212259aae3 Handle shortcuts in IV. 2024-03-13 21:20:30 +04:00
John Preston
6d733bb566 Proof-of-concept custom scheme in WKWebView. 2024-03-13 21:20:30 +04:00
John Preston
125f856e67 Proof-of-concept (WebView2 / Local) iv. 2024-03-13 21:20:30 +04:00
23rd
672ad64e53 Added initial ability to send and receive scheduled messages in forums. 2024-03-13 19:57:07 +03:00
23rd
cd59f1d576 Removed redundant constructor from HistoryView::ComposeControls. 2024-03-13 19:57:07 +03:00
John Preston
c4fc43ccc0 Fix rounding in boost features box. 2024-03-13 20:50:19 +04:00
John Preston
b20b3142a2 Update submodules and patches commit. 2024-03-13 20:49:24 +04:00
Ilya Fedin
d67f25d726 Update Qt to 6.7.0 on Linux 2024-03-13 20:46:54 +04:00
Ilya Fedin
d881019c3b Update submodules 2024-03-13 20:46:34 +04:00
Ilya Fedin
abdfa4f785 Remove not really needed notification capability checks
If the notification daemon doesn't support any of the hints, it will just ignore them
2024-03-13 20:46:34 +04:00
Ilya Fedin
5394717ddc Log only GError message 2024-03-13 20:46:34 +04:00
Ilya Fedin
c9d58d4259 Use HasCapability directly as an argument to ranges::all_of 2024-03-13 20:46:34 +04:00
Ilya Fedin
dba9cada83 Don't check whether specification version is null
We log specification version anyway
2024-03-13 20:46:34 +04:00
Ilya Fedin
0ec5181566 Pre-normalize notification daemon versions 2024-03-13 20:46:34 +04:00
Ilya Fedin
886847f457 Port notifications_manager_linux to cppgir 2024-03-13 20:46:34 +04:00
John Preston
bf1b3dc8f6 Version 4.15.2: Update fcitx-qt5.
I hope this fixes #27573.
2024-03-13 09:21:35 +04:00
John Preston
f13971dce1 Use line-tables-only debug information format on macOS.
Otherwise linking fails on x86_64 in Release mode.
2024-03-13 09:20:14 +04:00
John Preston
5573bbc776 Version 4.15.2.
- Telegram Business: Greeting Message.
- Telegram Business: Away Message.
- Telegram Business: Quick Replies.
- Telegram Business: Working Hours.
- Close the ongoing call window without hanging up the call.
- Fast scroll through chats list with Ctrl or Shift pressed.
- Several bugfixes.
2024-03-12 23:30:49 +04:00
John Preston
8c5db25476 Fix a crash in main settings destructor.
Fixes #27544.
2024-03-12 23:24:43 +04:00
John Preston
c6f49486ee Use regular good-green color in unmute. 2024-03-12 18:34:57 +04:00
John Preston
cf6d13acc2 Add fast Ctrl/Shift scroll to ElasticScroll. 2024-03-12 18:34:49 +04:00
John Preston
1647991f6a Fix autologin token account selection. 2024-03-12 15:57:18 +04:00
John Preston
b4993453c0 Update submodules. 2024-03-12 14:38:06 +04:00
John Preston
68bb0a1744 Fix recent actions date marks.
Regression was introduced in 7f3ebde252.
2024-03-12 14:38:02 +04:00
John Preston
12356b1617 Fix possible crash in WebView2 destruction. 2024-03-12 14:37:46 +04:00
prawwtocol
fc0cfbf003 Update mac build instructions with up-to-date homebrew link 2024-03-10 21:36:51 +04:00
Kolya
77dcbaf00c don't use brotli (built by other dependencies) 2024-03-10 21:35:50 +04:00
John Preston
626b3395ab Show 00:00-23:59 as "open 24 hours". 2024-03-09 10:58:05 +04:00
John Preston
506b8fd4f1 Fix saving of empty working intervals. 2024-03-09 10:58:05 +04:00
Kolya
d3b1abb61e fix windows build 2024-03-09 10:46:27 +04:00
John Preston
990ae11f62 Version 4.15.1: Fix build with GCC. 2024-03-08 15:49:30 +04:00
Ilya Fedin
3d5092f7ad Update cmake_helpers 2024-03-08 15:32:58 +04:00
Ilya Fedin
296e8c1ab1 Use ExecutablePathForShortcuts in PortalAutostart 2024-03-08 15:32:58 +04:00
Ilya Fedin
0df8864ae0 Port specific_linux to cppgir 2024-03-08 15:32:58 +04:00
John Preston
7c002cf8be Version 4.15.1: Fix sending media albums. 2024-03-08 15:26:14 +04:00
John Preston
c345b50ab7 Version 4.15.1.
Telegram Business features.
2024-03-08 12:55:20 +04:00
John Preston
d729e625e6 Show business section settings only when loaded. 2024-03-08 12:28:53 +04:00
John Preston
2c03d90fc8 Fix the new time picker. 2024-03-08 11:47:29 +04:00
John Preston
5ebd5852ba Update lib_ui submodule. 2024-03-08 10:55:50 +04:00
John Preston
5397f64b23 Add Telegram Business icon to Premium promo. 2024-03-08 10:54:00 +04:00
John Preston
4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston
bef26cf9d2 Force right-alignment in quick replies editing. 2024-03-08 10:54:00 +04:00
John Preston
9483d17fc8 Validate quick reply name. 2024-03-08 10:54:00 +04:00
John Preston
288979d8e7 Allow editing quick replies from the suggestions. 2024-03-08 10:54:00 +04:00
John Preston
49ec051760 Make premium toast adaptive. 2024-03-08 10:54:00 +04:00
John Preston
0a8e961142 Suggest premium when sending existing quick replies. 2024-03-08 10:54:00 +04:00
John Preston
6d352597b4 Disable quick replies in bot chats. 2024-03-08 10:54:00 +04:00
John Preston
d14f11bd88 fixup Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
d608bffecb Fix limit in business features exception box. 2024-03-08 10:54:00 +04:00
John Preston
00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston
e3f6c189a7 Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston
ea36345eee Show location and working hours in profile. 2024-03-08 10:53:59 +04:00
John Preston
5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston
37f5160d1c Fix bold formatting in the beginning of a quote. 2024-03-08 10:53:59 +04:00
John Preston
ee847bc1a3 Fix legacy group pins loading on first group open.
Fixes #27466.
2024-03-08 10:53:59 +04:00
John Preston
c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston
88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston
f812166249 Use server-side order for business features list. 2024-03-08 10:53:59 +04:00
John Preston
a47c6f9c9a Show errors on business info savings. 2024-03-08 10:53:59 +04:00
John Preston
cf8aaf5f9d Save away / greeting settings. 2024-03-08 10:53:59 +04:00
John Preston
ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston
dd6768a476 Add stories rights by default to new admins. 2024-03-08 10:53:59 +04:00
John Preston
7f7d544943 Show nice empty quick reply placeholder. 2024-03-08 10:53:59 +04:00
John Preston
d5e920e45a Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston
aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston
f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston
23e22de6ec Fix deleting shortcut items. 2024-03-08 10:53:59 +04:00
John Preston
fb539b0f70 Improve shortcut messages geometry. 2024-03-08 10:53:59 +04:00
John Preston
6e08b00dba Fix sending .tgs files as stickers.
Regression was introduced in 3467fe226f.
2024-03-08 10:53:59 +04:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston
5c11fa4f63 Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston
d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston
dd7ccada2f Support edit / save of greeting message settings. 2024-03-08 10:53:59 +04:00
John Preston
e6b9ac2267 Support edit / save of away message settings. 2024-03-08 10:53:58 +04:00
John Preston
f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
John Preston
e05eb63476 Update API scheme on layer 176. 2024-03-08 10:53:58 +04:00
John Preston
c513906996 Change default for business recipients. 2024-03-08 10:53:58 +04:00
John Preston
dd0bdd62fb Support business working hours API. 2024-03-08 10:53:58 +04:00
John Preston
4d12f1c0ef Initial working hours editing. 2024-03-08 10:53:58 +04:00
John Preston
1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston
1e5f821c6f Start all business sections implementation. 2024-03-08 10:53:58 +04:00
John Preston
0af131f144 Invert group / channel features list. 2024-03-08 10:53:58 +04:00
John Preston
ad9107ca90 Implement chatbots section editing. 2024-03-08 10:53:58 +04:00
John Preston
205479fccc Layout chatbots editing section. 2024-03-08 10:53:58 +04:00
John Preston
0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
23rd
0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
23rd
27bd9e3ee5 Added icons to buttons for privacy settings that require premium. 2024-03-08 10:53:58 +04:00
23rd
02e1c03ed9 Fixed position of connecting state widget when forum is opened.
Fixed #27548.
2024-03-08 10:53:58 +04:00
23rd
f56b16c6ef Added initial badges for minimal level of boosts to channel settings. 2024-03-08 10:53:58 +04:00
23rd
09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
23rd
eab249fc13 Fixed countdown label for input field of bio. 2024-03-08 10:53:58 +04:00
23rd
48eb408fb8 Fixed text elision of vote amount in polls with reactions. 2024-03-08 10:53:58 +04:00
23rd
ef474f0dc8 Fixed opening of local links from webview bots in appropriate window. 2024-03-08 10:53:58 +04:00
23rd
a704611705 Fixed ability to create vertical drum picker with first chosen item. 2024-03-08 10:53:58 +04:00
23rd
b790847fde Added ability to close call panel without hanging up call. 2024-03-08 10:53:58 +04:00
23rd
c0c330a150 Fixed bubble color under strip of emoji pad for reactions. 2024-03-08 10:53:58 +04:00
23rd
aec4857e7b Fixed format of phone number in intro widget. 2024-03-08 10:53:58 +04:00
23rd
5dc6bdcc42 Fixed reply bar stuck when sending file in replies section. 2024-03-08 10:53:58 +04:00
23rd
08717dcd78 Added counter label of characters limit to edit mode without media. 2024-03-08 10:53:58 +04:00
23rd
a77c547a62 Fixed edit of long media caption with emoji. 2024-03-08 10:53:58 +04:00
23rd
d252427e34 Added blockquote to white list for message links parser. 2024-03-08 10:53:58 +04:00
23rd
58443bc197 Fixed ability to schedule forwarded messages without comment. 2024-03-08 10:53:58 +04:00
23rd
ea20e41f1d Added drag text to contact view. 2024-03-08 10:53:58 +04:00
23rd
afdd22d154 Fixed phone formatting generally. 2024-03-08 10:53:58 +04:00
23rd
93d1a187ca Improved view style of contacts. 2024-03-08 10:53:57 +04:00
23rd
52c779bffa Added support of inline markup reply to HTML export. 2024-03-08 10:53:57 +04:00
23rd
de1bd6ef28 Slightly simplified creation of universal variables in prepare.py. 2024-03-08 10:53:57 +04:00
23rd
c26982be3e Added support for AVIF, HEIF and JPEG XL on macOS. 2024-03-08 10:53:57 +04:00
mrbesen
5971aefb83 add bash shebang 2024-03-08 08:05:55 +04:00
Ilya Fedin
41481129f7 Port main_window_linux to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin
7b8cdb43c4 Port linux_xdp_open_with_dialog to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin
1e9b7e2726 Use XDP::kObjectPath for session and request paths 2024-03-08 08:05:12 +04:00
Ilya Fedin
a66b886c51 Initialize Linux lock screen monitor fully asynchronously 2024-03-08 08:05:12 +04:00
Ilya Fedin
5b62d97288 Update submodules 2024-03-08 08:05:12 +04:00
Kolya
b040b62b4e prepare.py: simplify qt5 clone 2024-03-07 18:14:34 +04:00
Kolya
50f51d0747 update new script location in qt repo 2024-03-07 18:14:34 +04:00
xmdn
95b4fc0216 use modern installer style 2024-03-01 12:43:33 +04:00
GitHub Action
da047edbc5 Update User-Agent for DNS to Chrome 122.0.0.0. 2024-03-01 12:41:47 +04:00
Ilya Fedin
a8b5061003 Fix a std::clamp assertion 2024-03-01 12:41:35 +04:00
Kolya
ec427ad45d Use TOOLCHAIN variable name 2024-02-23 13:17:55 +04:00
Kolya
778ab70b72 Fix libvpx build on VS 17.8+
use with https://github.com/desktop-app/patches/pull/182
2024-02-23 13:17:55 +04:00
Ilya Fedin
5d1aa10768 Remove no longer needed boost-program-options from snap
Looks like cppgir has stopped to use it during some of the updates
2024-02-19 14:31:08 +04:00
John Preston
cb065146c2 Version 4.15: Fix build with GCC. 2024-02-18 21:00:10 +04:00
John Preston
3aab2a88aa Remove helper temporary code. 2024-02-18 20:56:51 +04:00
John Preston
9a012d8b9b Version 4.15: Fix build with Xcode. 2024-02-18 20:46:10 +04:00
John Preston
eaad2034e6 Version 4.15.
- Stories from groups.
- Group appearance settings.
- Group emoji pack.
- Boost groups to unlock features.
2024-02-18 20:24:20 +04:00
John Preston
2a52eca5f5 Fix set icon in updating group emoji set. 2024-02-18 20:21:03 +04:00
John Preston
13ded3a82e Fix crash in removing group emoji set. 2024-02-18 20:15:55 +04:00
John Preston
9a0ea78e0f Don't show duplicated emoji set. 2024-02-18 20:11:57 +04:00
John Preston
a2fe1506cc Fix build. 2024-02-18 17:55:07 +04:00
John Preston
608b4f30c5 Show thumbnail of selected group emoji pack. 2024-02-18 17:54:09 +04:00
Ilya Fedin
3af646a584 Disable system proxy support on Linux
Reading system proxy on Linux reads to massive crashes in system libraries.

Since those crashes are unreproducible in development environment, it's not possible to find the root cause.

Workarounds #27482.
2024-02-18 00:26:36 +04:00
John Preston
89c7147fd9 Improve group appearance box design. 2024-02-18 00:25:40 +04:00
John Preston
d4ee45f9ff Use nice boost features icons. 2024-02-17 22:05:05 +04:00
John Preston
df5454a0b0 Fix build. 2024-02-17 22:04:46 +04:00
John Preston
ebf4e88a10 Fix crash in giveaway results view. 2024-02-17 21:49:07 +04:00
John Preston
0163ec314a Improve phrases for giveaways in groups. 2024-02-17 21:46:00 +04:00
23rd
46d5a93c96 Slightly improved fade effect for bottom side of input message field. 2024-02-17 20:33:59 +03:00
23rd
dd6cbd2c36 Fixed edit of long text message without media. 2024-02-17 20:33:59 +03:00
Ilya Fedin
5bf6a93086 Replace usage of deprecated CRAFT_ARCH_TRIPLET 2024-02-17 21:11:45 +04:00
Ilya Fedin
1146ecfd45 Update macOS action to macOS 13 2024-02-17 21:11:45 +04:00
John Preston
f59c46cd7c Remove "Boost Group" button in channels. 2024-02-17 21:06:07 +04:00
John Preston
20f3ef9a5b Fix stories likes in groups. 2024-02-17 21:06:07 +04:00
John Preston
41d3e16c7d Don't add peer saved / stories in topics profiles. 2024-02-17 21:06:07 +04:00
John Preston
46d11b6dcb Use correct phrases in group stories. 2024-02-17 21:06:07 +04:00
John Preston
adc8966c61 Fix device pixel ratio in stories userpics. 2024-02-17 21:06:07 +04:00
John Preston
d5353e8741 Fix hidden sender info display in Saved Messages.
Fixes #27463.
2024-02-17 21:06:07 +04:00
23rd
e79be73025 Added ability to export peer ids from contact list. 2024-02-17 17:34:44 +03:00
23rd
f20e393d77 Fixed fade effect for input message fields when theme is changed. 2024-02-17 17:34:44 +03:00
23rd
6336ed33fa Removed some include directives. 2024-02-17 17:34:44 +03:00
Ilya Fedin
bcc864cbe1 Fix build without Wayland integration 2024-02-16 23:41:07 +04:00
Ilya Fedin
2dd1ab31b9 Update submodules 2024-02-16 19:06:33 +04:00
Ilya Fedin
9f58a5a4b0 Limit source depth for snapcraft desktop helpers 2024-02-16 19:06:33 +04:00
Ilya Fedin
e31704d01e Update Qt to 6.6.2 on Linux 2024-02-16 19:06:33 +04:00
John Preston
f1b7d9ebba Version 4.14.16.
- Boost groups.
2024-02-16 15:00:19 +04:00
23rd
991110b84d Fixed fade effect for input message fields in compose controls. 2024-02-16 15:00:19 +04:00
John Preston
18ca4a9eeb Add a couple of phrases for group wallpapers. 2024-02-16 12:22:38 +04:00
John Preston
9f7ee3cafd Correctly check webview init success.
Also correctly init recreated webview bottom bar.

Fixes #27481, fixes #27479.
2024-02-16 12:14:13 +04:00
John Preston
137155afd8 Use round thumbnail in forum stories. 2024-02-16 11:27:09 +04:00
John Preston
38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston
0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston
f674ace805 Send comments to group stories. 2024-02-15 13:51:41 +04:00
John Preston
11f0847295 Update API scheme on layer 174. 2024-02-15 13:51:41 +04:00
John Preston
964846f1bb Add stories rights to group admins edit. 2024-02-15 13:51:41 +04:00
John Preston
fc6f2520b7 Support free transcribes in groups. 2024-02-15 13:51:41 +04:00
John Preston
cfaef4c441 Add Boost Group in group menu. 2024-02-15 13:51:40 +04:00
John Preston
571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston
08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston
680171226c Boost community features list. 2024-02-15 13:51:40 +04:00
John Preston
ea12c2f62c Respect boosts restrictions lifting. 2024-02-15 13:51:40 +04:00
John Preston
180b14ea36 Allow saving boosts to lift restrictions. 2024-02-15 13:51:40 +04:00
John Preston
f6a8c1e996 Allow boosts / giveaways in groups. 2024-02-15 13:51:40 +04:00
John Preston
cb174cb0bf Add some more premium promo sections. 2024-02-15 13:51:40 +04:00
John Preston
33207b78d5 Show applied boosts in message bubbles. 2024-02-15 13:51:40 +04:00
John Preston
e32cbf468b Update API scheme to layer 174. 2024-02-15 13:51:40 +04:00
John Preston
c891ee3a45 Fix build on Windows. 2024-02-15 13:51:40 +04:00
23rd
6de471db17 Added counter label of characters limit to send files box. 2024-02-15 09:37:11 +03:00
23rd
d1eaf284b1 Fixed text suggestion in toast when media caption is too long. 2024-02-15 08:22:16 +03:00
23rd
5cd0d82ffb Added counter label of characters limit for long media captions. 2024-02-15 08:21:35 +03:00
23rd
113c8a797f Added fade effect to input message fields. 2024-02-14 21:33:17 +03:00
23rd
dcf4f45a36 Fixed ability to copy entire translated text from context menu. 2024-02-14 21:33:17 +03:00
Ilya Fedin
8b6a7a443e Switch from libproxy to GProxyResolver 2024-02-14 20:01:31 +04:00
Ilya Fedin
c5db2b8175 Ensure custom arguments get applied in generated .desktop file 2024-02-14 09:31:19 +04:00
Ilya Fedin
00f98793b1 Update lib_webview 2024-02-12 19:52:08 +04:00
John Preston
e5f90cd40d Version 4.14.15.
- Fix webview regression on Linux X11. (2nd attempt)
2024-02-10 00:32:40 +04:00
John Preston
a10d668131 Version 4.14.14.
- Fix webview regression on Linux X11.
2024-02-09 20:18:40 +04:00
John Preston
8a62bacaa6 Fix anti-aliasing in emoji categories search. 2024-02-09 20:15:02 +04:00
100backslash001
bacab01f7e Remove duplicates from configure.py 2024-02-09 10:49:18 +04:00
23rd
5d3400033a Fixed ability to copy whole transcribed text and copy album captions. 2024-02-08 17:35:29 +03:00
23rd
0e571ea679 Added ability to copy filename of named documents. 2024-02-08 17:32:25 +03:00
23rd
b959262140 Fixed legal link in some files. 2024-02-08 15:20:42 +03:00
Ilya Fedin
fd3ce905c0 Update lib_webview 2024-02-08 11:45:09 +04:00
Ilya Fedin
29debc07c4 Let specify arbitrary build configuration via Docker
Default to RelWithDebInfo for both optimizations and debug information
2024-02-06 20:31:44 +04:00
Ilya Fedin
5334096d68 Fix bot webview height with fractional scaling 2024-02-06 10:25:27 +04:00
Ilya Fedin
bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
John Preston
2f0b50cb37 Version 4.14.13: Always send webpages optionally.
If the link cannot be displayed everywhere
(channel blocked in some countries) the
send request without `optional` flag fails.
2024-02-02 21:41:19 +04:00
John Preston
6185fa980d Version 4.14.13.
- Fix display of statistics for single posts.
- Allow editing tag name from search tags.
- Fix a crash in tags removal.
2024-02-02 21:38:23 +04:00
John Preston
1cce1e8a90 Fix a crash in tags removal. 2024-02-02 21:33:58 +04:00
23rd
237baf11df Fixed display of statistics for single posts. 2024-02-02 21:33:46 +04:00
Ilya Fedin
46023f4260 Update lib_webrtc 2024-02-02 20:46:54 +04:00
John Preston
8459c29073 Allow editing tag name from search tags. 2024-02-02 11:25:04 +04:00
John Preston
f072173d7c Fix tags for just-sent Saved Messages. 2024-02-02 09:52:32 +04:00
John Preston
bec34c34b1 Version 4.14.12: Fix build with GCC. 2024-02-01 21:13:07 +04:00
John Preston
04ab148b2e Version 4.14.12.
- Tags in Saved Messages.
- Audio output device selection for music and videos.
- Audio input device selection for voice messages recording.
- Default device changes should be applied instantly. (Windows / macOS)
2024-02-01 17:52:37 +04:00
John Preston
e314abefb8 Fix build with Xcode. 2024-02-01 17:52:37 +04:00
John Preston
cdaa23363f Allow reaction reports in public groups. 2024-02-01 17:52:37 +04:00
John Preston
5401d00548 Allow reporting / banning from reactions in groups. 2024-02-01 17:30:40 +04:00
John Preston
c06699e8e7 Update API scheme on layer 173. 2024-02-01 12:47:52 +04:00
John Preston
2f40a44b5c Improve things for OpenAL devices management. 2024-02-01 12:37:34 +04:00
John Preston
0945e04f6b Allow filtering by tag on click in sublists. 2024-02-01 12:37:34 +04:00
John Preston
db7c16f82b Fix about message reaction text color. 2024-02-01 12:37:34 +04:00
John Preston
30548c2859 Support tags search in sublists. 2024-02-01 12:37:34 +04:00
John Preston
0163938e00 Add shadow below tags list widget. 2024-02-01 12:37:34 +04:00
John Preston
3421b656db Fix saved tag click in separate window messages. 2024-02-01 12:37:34 +04:00
John Preston
39b80c98c7 Support tags in ComposeSearch. 2024-02-01 12:37:34 +04:00
John Preston
323500f6dd Improve design of locked tags. 2024-02-01 12:37:34 +04:00
John Preston
11cf0486cb Implement required paywalls in tags. 2024-02-01 12:37:34 +04:00
John Preston
46579ac84d Support about text above reactions strip. 2024-02-01 12:37:34 +04:00
John Preston
f324c53440 New premium promo section about tags. 2024-02-01 12:37:34 +04:00
John Preston
87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston
6f57302562 Track tag counts in all sublists. 2024-02-01 12:37:34 +04:00
John Preston
d116c8fea0 Allow editing tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
32462fca9b Show tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
55a174190e Fix reactions expanding. 2024-02-01 12:37:34 +04:00
John Preston
9f738cded2 Fix saved messages sublists pinning updates. 2024-02-01 12:37:34 +04:00
John Preston
87c1329490 Re-enable tags in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston
ded2015dc2 Update API scheme to layer 173. 2024-02-01 12:37:34 +04:00
23rd
98a71cce89 Improved toast phrase for forwarded messages to self. 2024-02-01 12:37:34 +04:00
23rd
a3ba1ba2a1 Fixed ability to create group without ttl even with ttl in settings. 2024-02-01 12:37:33 +04:00
23rd
42842619b0 Added external link to username field when it is available for purchase. 2024-02-01 12:37:33 +04:00
23rd
32d3b90cdc Replaced behavior of statistics info to wait all charts. 2024-02-01 12:37:33 +04:00
GitHub Action
b182aeb51e Update User-Agent for DNS to Chrome 121.0.6167.85. 2024-02-01 12:37:25 +04:00
Ilya Fedin
7049929a59 Update libproxy 2024-01-31 23:27:41 +04:00
Ilya Fedin
aa5413da4e Ensure cant reproduce label is not automatically removed 2024-01-31 11:04:04 +04:00
Zephyr Lykos
32dfe0f65e Update cppgir to fix nullptr dereference in glib 2.79 2024-01-31 11:03:36 +04:00
Ilya Fedin
5d33290218 Shorten socket paths on Linux 2024-01-29 11:46:12 +04:00
Ilya Fedin
852196a013 Add cant reproduce label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin
0ff3d4b2ed Add needs user action label handling 2024-01-27 08:52:14 +04:00
Ilya Fedin
b843dab87a Get error message from the right object when copying log file 2024-01-27 07:17:24 +04:00
23rd
20bd7db4d9 Slightly improved display of top label in Premium Settings for user. 2024-01-25 19:28:31 +04:00
23rd
92f0358800 Fixed text insertion from menu bar on macOS when input field is hidden. 2024-01-25 19:28:30 +04:00
John Preston
0372f2be9c Beta version 4.14.11.
- Fix crash when accepting calls.
- Fix possible crash in loopback audio on Windows.
2024-01-25 19:26:55 +04:00
John Preston
7dfb93f7c2 Add some assertions for debugging a crash. 2024-01-25 18:30:21 +04:00
John Preston
3c150d9742 Fix possible crash in loopback audio on Windows. 2024-01-25 18:30:21 +04:00
John Preston
3c5cace175 Fix chats list bottom buttons skip. 2024-01-25 17:55:10 +04:00
John Preston
7e7fd6f1b4 Fix crash in accepting calls. 2024-01-25 17:54:31 +04:00
John Preston
eebe7adbcb Beta version 4.14.10.
- Allow choosing audio device for music and video files.
- Allow choosing microphone device for voice recording.
- Allow pause and resume voice messages recording.
- Track audio device changes on Windows and macOS.
2024-01-25 11:57:58 +04:00
23rd
5561bdeb5e Fixed top of ttl button in voice record bar with float media player. 2024-01-25 11:57:58 +04:00
John Preston
a670095294 Update patched OpenAL on macOS / Windows. 2024-01-25 11:57:58 +04:00
John Preston
104ba4db7c Fully migrate to Webrtc::Environment. 2024-01-25 11:57:58 +04:00
John Preston
9a6ab3b0f2 Improve call device migration. 2024-01-25 11:04:27 +04:00
John Preston
e5b89b1572 Separate settings for calls. 2024-01-25 11:04:27 +04:00
John Preston
65a80766f4 Implement media device tracking on macOS. 2024-01-25 11:04:27 +04:00
John Preston
736b489eb7 Fix build of updated tgcalls on macOS. 2024-01-25 11:04:27 +04:00
John Preston
d3778f92d2 Implement media devices tracking on Windows. 2024-01-25 11:04:27 +04:00
23rd
30e694420a Added icon to button for resuming of voice recording. 2024-01-25 11:04:27 +04:00
23rd
091c13bc23 Added initial ability to pause and resume voice recording. 2024-01-25 11:04:27 +04:00
23rd
5130c5df80 Replaced display of stop icon in voice record bar with pause icon. 2024-01-25 11:04:27 +04:00
23rd
7542f04010 Added specific phrases to chats list for voice messages with ttl. 2024-01-25 11:04:27 +04:00
23rd
dff4191ac9 Added reward phrase to about label in gift box. 2024-01-25 11:04:27 +04:00
23rd
15e2874da8 Fixed display of loading progress in voice messages with ttl. 2024-01-25 11:04:27 +04:00
John Preston
8eb49d5efc Fix possible connection problem in calls. 2024-01-22 11:06:42 +04:00
John Preston
230761eb23 Version 4.14.9.
- Fix two possible crashes in messages history and group search.
- Fix local online status turning off. (once again)
2024-01-19 21:48:39 +04:00
John Preston
bb0ab27244 Fix possible crash in service message update. 2024-01-19 21:46:56 +04:00
John Preston
bdeaf4f27a Fix crash in search in group messages from user.
Fixes #27387.
2024-01-19 21:46:55 +04:00
John Preston
6d608bed98 Add DESKTOP_APP_ASAN CMake option on Windows. 2024-01-19 21:46:48 +04:00
John Preston
5a47acf1d2 Change reply-in-chat locally. 2024-01-19 16:24:50 +04:00
John Preston
02a306ba70 Fix get premium suggestion display. 2024-01-19 15:45:56 +04:00
John Preston
75e19235cd Improve get premium phrase. 2024-01-19 15:45:46 +04:00
John Preston
7d9b4e1e03 Fix local online status fadeout once again. 2024-01-19 11:44:33 +04:00
John Preston
d0fff1611c Version 4.14.8.
- Fix initial position and size of secondary windows.
- Optimize messages loading. (load replies on demand)
- Fix local online status turning off.
2024-01-18 22:22:35 +04:00
John Preston
e4ca8ae847 Fix several possible crashes. 2024-01-18 22:22:35 +04:00
John Preston
f53b64bc72 Fix local online finishing. 2024-01-18 21:19:07 +04:00
John Preston
981909e567 Closed alpha version 4.14.7.1. 2024-01-18 19:26:32 +04:00
John Preston
ce6fc19b84 Try to request dependent messages on demand. 2024-01-18 19:26:32 +04:00
John Preston
a38f731265 Version 4.14.7: Fix build with Xcode 15.2. 2024-01-18 17:51:52 +04:00
John Preston
d55dd7dffd Version 4.14.7: Fix build with GCC. 2024-01-18 17:50:37 +04:00
John Preston
37478d951a Fix initial geometry for secondary windows. 2024-01-18 17:27:30 +04:00
John Preston
814de17f28 Version 4.14.7.
- See when your message was read in private chat.
- Premium users can see other last seen times
if they weren't hidden explicitly.
- Premium users can allow new chats only from their contacts
and other Premium users.
2024-01-18 14:35:35 +04:00
John Preston
5f97d683df Count senders / captions count correctly in forwards. 2024-01-18 13:26:14 +04:00
John Preston
95d4e02ae1 Fix a glitch in search-in-separate-window. 2024-01-18 13:20:33 +04:00
John Preston
abf9764640 Another attempt to fix TTL tooltip. 2024-01-18 12:44:35 +04:00
John Preston
80ee38f9fb Change taps to clicks in built-in phrases. 2024-01-18 12:43:47 +04:00
John Preston
b4ab20bbe9 Fix media expiration from another client. 2024-01-18 12:23:47 +04:00
John Preston
f6a95df550 Show toast on invite attempt to premium required. 2024-01-18 12:01:03 +04:00
John Preston
f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
John Preston
eda7118df9 Show toast on forward attempt to premium required. 2024-01-17 16:43:25 +04:00
John Preston
7c468052e6 Fix premium-required info on first load. 2024-01-17 11:16:05 +04:00
John Preston
43eca490a7 Recreate webview on reload request after a crash. 2024-01-17 10:16:12 +04:00
John Preston
3710d61a09 Show "Hide read time" only on non-trivial privacy. 2024-01-17 09:39:05 +04:00
John Preston
5daa5a00f0 Correctly use contact_require_premium bit. 2024-01-17 09:39:05 +04:00
John Preston
6e31993777 Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
1cfad14437 Show correct placeholder in require-premium story reply. 2024-01-17 09:39:05 +04:00
John Preston
3829ed5880 Fix build with Xcode. 2024-01-17 09:39:05 +04:00
John Preston
e5cda0e2b1 Show "premium required" information in chat. 2024-01-17 09:39:05 +04:00
John Preston
c765bee0cd Update API scheme on layer 172. 2024-01-17 09:39:05 +04:00
John Preston
16942d487a New "Messages" privacy option and box. 2024-01-17 09:39:05 +04:00
John Preston
5cb4cfef32 Improve geometry restore on secondary screen. 2024-01-17 09:39:05 +04:00
John Preston
4d86ced1e6 Improve "show" last seen button design. 2024-01-17 09:39:05 +04:00
John Preston
ad03431b0a Improve "read time" context menu info design. 2024-01-17 09:39:05 +04:00
John Preston
474f1118b6 Proof-of-concept read time in private chats. 2024-01-17 09:39:05 +04:00
John Preston
e63d573414 Proof-of-concept last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston
33643ff7fc Add "show" button for last seen hidden. 2024-01-17 09:39:04 +04:00
John Preston
ca25ad57b1 Update API scheme to layer 172. 2024-01-17 09:39:04 +04:00
John Preston
c364383cf0 Version 4.14.6.
- Fix one-time audio tooltip showing in wrong places.
- Fix media viewer showing above taskbar on Windows.
- Fix crash in one-time video message playback.
2024-01-16 21:44:56 +04:00
John Preston
5033b9ef0d Fix crash in ttl video, track editions. 2024-01-16 21:43:19 +04:00
John Preston
605b255e32 Fix media viewer non-full-screen-ness. 2024-01-16 21:12:06 +04:00
John Preston
d3fdfe4b29 Fix crash in themes editor.
Fixes #27366.
2024-01-16 21:09:45 +04:00
John Preston
c452694348 Pause infinite radial timer if anim::Disabled. 2024-01-16 20:31:44 +04:00
23rd
83fc19e143 Changed behavior in voice record bar to create ttl button on demand. 2024-01-16 20:31:25 +04:00
John Preston
6686fe110d Fix release script working from Linux. 2024-01-16 20:29:58 +04:00
John Preston
ed027c23d0 Version 4.14.5: Fix build with GCC. 2024-01-16 20:29:37 +04:00
John Preston
2213bedc12 Version 4.14.5.
- Allow sending one-time voice messages.
- Improve playing one-time voice and video messages.
- Remove Ctrl+Shift+[1-6] shortcuts by default,
some are used in input methods.
- Some bugs and glitches fixed.
2024-01-16 13:14:36 +04:00
John Preston
ac7958f335 Remove ctrl+shift+N shortcuts by default.
Those are used in some input methods, including Farsi.

You can always add such bindings in tdata/shortcuts-custom.json for
the "account1", "account2", etc commands.

Fixes #27334.
2024-01-16 13:03:44 +04:00
John Preston
3301d28615 Fix white glitch workaround on Windows. 2024-01-16 12:53:50 +04:00
John Preston
6033071e61 Fix new taskbar "Quit Telegram" icon generation. 2024-01-16 12:53:23 +04:00
John Preston
06775b5623 Optimize ttl media overlay a bit. 2024-01-16 11:56:28 +04:00
John Preston
93a734eecf Prepare ttl-media release. 2024-01-16 11:56:08 +04:00
John Preston
6f64fea0b1 Fix build with Xcode. 2024-01-16 11:21:04 +04:00
John Preston
6b910e11e5 Update lib_webview submodle. 2024-01-16 11:18:56 +04:00
John Preston
b31bb6dd33 Fix sending single-time voice messages. 2024-01-16 11:18:56 +04:00
John Preston
104cf504ab Play ttl media horizontally where the message was. 2024-01-16 11:18:56 +04:00
John Preston
b462d7627f Fix channels in poll results restoring. 2024-01-16 11:18:56 +04:00
23rd
cb4781360a Added first shown tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd
8895e49466 Fixed display of corner button in section with ttl button in record bar. 2024-01-16 11:18:56 +04:00
23rd
d1f4463c2a Added simple tooltip to ttl button from voice record bar. 2024-01-16 11:18:56 +04:00
23rd
f9b5789cf7 Fixed button position in voice record bar for ttl voice messages. 2024-01-16 11:18:56 +04:00
23rd
5273fbf57b Slightly improved progress radial for voice messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
ad6890e7dd Slightly improved progress radial for video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
46ddc7364c Fixed possible crash on deleting of media message with ttl. 2024-01-16 11:18:56 +04:00
23rd
a2c0491ae0 Added phrases to ttl viewer widget for video messages. 2024-01-16 11:18:56 +04:00
23rd
c686ac8603 Slightly improved style of ttl badge in voice messages. 2024-01-16 11:18:56 +04:00
23rd
268613e1db Slightly improved style of voice record bar. 2024-01-16 11:18:56 +04:00
23rd
5ba918d213 Added support of chat themes to viewer widget for messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
21dcb7b13c Added initial ability to play video messages with ttl. 2024-01-16 11:18:56 +04:00
23rd
40ff71b2cd Added delay to button for media replacement in compose control. 2024-01-16 11:18:56 +04:00
23rd
b017cc07ce Removed uppercase from phrase in calls top bar. 2024-01-16 11:18:55 +04:00
23rd
fa773c3024 Fixed incorrect seeking of voice messages with transcribe button. 2024-01-16 11:18:55 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
23rd
6516c7aef3 Fixed display of ttl badges from voice messages with chat themes. 2024-01-16 11:18:55 +04:00
23rd
c43dfecec6 Excluded media with ttl from shared media. 2024-01-16 11:18:55 +04:00
23rd
53e95a7f74 Fixed display of last frame of voice messages in media viewer with ttl. 2024-01-16 11:18:55 +04:00
23rd
2a81a617e1 Improved loop animation in voice messages with ttl. 2024-01-16 11:18:55 +04:00
23rd
37067f17e2 Added new viewer widget for voice messages with ttl. 2024-01-16 11:18:55 +04:00
John Preston
f8caa02f10 Fix animating list->chat transition in single column. 2024-01-16 11:18:55 +04:00
John Preston
fc2f41096f Attempt to fix initial window position on Windows. 2024-01-16 11:18:55 +04:00
John Preston
3eefaac885 Fix screen sharing source choose window. 2024-01-16 11:18:55 +04:00
John Preston
0dfe37f998 Mirror my outgoing video in video chats. 2024-01-16 11:18:55 +04:00
John Preston
e2439984ae Pass whole point in mapFromGlobal(mapToGlobal).
Fixes #27237.
2024-01-16 11:18:55 +04:00
John Preston
9401e7cb51 Add "View reactions" phrase to the langpack. 2024-01-16 11:18:55 +04:00
John Preston
4471eb587d Fix possible crash in gift box sticker lookup. 2024-01-16 11:16:28 +04:00
John Preston
3c6037a798 Custom context menu for saved-tags reactions. 2024-01-16 11:16:28 +04:00
John Preston
d1a0dfbb97 Search by tag on click in Saved Messages. 2024-01-16 11:16:28 +04:00
John Preston
94a542a1d1 Allow change account shortcuts in shortcuts_custom.json 2024-01-16 11:16:28 +04:00
John Preston
f5fcfaba0c Add search in saved sublist. 2024-01-16 11:16:28 +04:00
John Preston
9c151ca151 Allow filtering Saved Messages search by tags. 2024-01-16 11:16:27 +04:00
John Preston
e667436a98 Track my tags usages. 2024-01-16 11:16:27 +04:00
John Preston
9aacff8b54 Request correct saved/default reaction tags. 2024-01-16 11:16:27 +04:00
John Preston
9b43d204e2 Track and render reactions as tags in Saved Messages. 2024-01-16 11:16:27 +04:00
John Preston
0faf801de7 Update API scheme to layer 171. 2024-01-16 11:16:27 +04:00
dependabot[bot]
dd1cca1a0a Bump jinja2 from 3.1.2 to 3.1.3 in /Telegram/build/docker/centos_env
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 01:48:01 -08:00
Ilya Fedin
eca8c28dea Add missing QWindow includes 2024-01-12 19:59:18 -08:00
Ilya Fedin
333ef9b48a Hide connection widget when the window is not exposed 2024-01-11 23:40:18 -08:00
Ilya Fedin
1e98e19aaf Add installed packages to cache key for macOS packaged action 2024-01-10 02:40:21 -08:00
Ilya Fedin
308fdcf9cf Update submodules 2024-01-09 22:05:45 -08:00
Ilya Fedin
d803b3ae7d Try to add mesa vulkan drivers to snap 2024-01-09 21:23:20 -08:00
Ilya Fedin
aa121aa1de Get rid of architecture whitelist from snapcraft.yaml
So the Canonical builders build on new architectures as soon as they appear
2024-01-09 21:22:15 -08:00
Ilya Fedin
8138a26c2d Add information about provided mime-type and D-Bus service 2024-01-09 04:31:11 -08:00
Ilya Fedin
26fa3db66d Replace deprecated medium display length with a number 2024-01-09 04:31:11 -08:00
Klemens Nanni
7779d021b4 update cmake/ submodule to include cppgir BSD fixes 2024-01-08 18:49:28 -08:00
John Preston
6b44143f5b Version 4.14.4: Fix build with GCC. 2024-01-08 12:03:49 -08:00
John Preston
0f207faa3e Version 4.14.4.
- Switch between logged in accounts using Ctrl+Shift+[1-6] shortcuts.
- Add poll creation in groups to the attach menu, if exists.
- Another fix for payment card validation.
2024-01-08 17:47:03 +04:00
John Preston
28b43eff7c Make Ctrl+Shift+[1-6] jump through accounts. 2024-01-08 17:35:08 +04:00
John Preston
c257b75a66 Add poll creation to the attach menu. 2024-01-08 17:35:02 +04:00
John Preston
893e14cc39 Fix payment field values formatting.
Regression was introduced in e6b9a07163.

Fixes #27318.
2024-01-08 17:34:08 +04:00
Ilya Fedin
30d5b7fd66 Update patches commit in Dockerfile 2024-01-08 04:40:20 -08:00
Ilya Fedin
2ef8136308 Update patches commit in Dockerfile 2024-01-06 13:30:58 +04:00
John Preston
fccc93ca53 Version 4.14.3: Update Qt patch in the Dockerfile. 2024-01-04 20:39:24 +04:00
23rd
37d1940993 Version 4.14.3: Fixed ttl period for sending of voice messages with ttl. 2024-01-04 18:36:36 +03:00
John Preston
f25638f492 Version 4.14.3: Fix submodule revert. 2024-01-04 19:04:06 +04:00
John Preston
6e6f15e711 Version 4.14.3.
- Allow sending single-time voice messages.
- Fix payments card validation.
- Fix crash when trying to join channels above the limit.
- Add "Quit Telegram" to the Taskbar context menu. (Windows)
- Fix opened windows list in the Dock icon context menu. (macOS)
2024-01-04 19:01:53 +04:00
John Preston
b38e72dcd9 Fix typo in Dockerfile. 2024-01-04 18:55:27 +04:00
Ilya Fedin
9287af1752 Update patches commit in Dockerfile 2024-01-04 18:52:35 +04:00
John Preston
254ca57bf3 Fix webm emoji/stickers with unknown dimensions. 2024-01-04 18:50:47 +04:00
John Preston
52ef8e780a Update zlib/minizip.
Fixes #27313.
2024-01-04 18:50:47 +04:00
John Preston
16a2d4ec96 Fix wrong "Webview process crashed." message. 2024-01-04 18:50:47 +04:00
23rd
3b50bc71b3 Fixed possible rare crash from voice messages with ttl. 2024-01-04 17:48:53 +03:00
John Preston
bb31357c58 More strict check for custom emoji dimensions. 2024-01-04 17:25:32 +04:00
John Preston
66afcbdae8 Backport windows list in Dock Menu from Qt 6.3.*. 2024-01-04 17:25:31 +04:00
John Preston
5a28e69f1a More cleaning in force-reconfiguration. 2024-01-04 17:25:22 +04:00
John Preston
ce78074df7 Fix build on Windows. 2024-01-04 17:22:05 +04:00
John Preston
973f91b5e4 Add "Quit Telegram" taskbar menu item.
Fixes #1161.
2024-01-04 17:22:05 +04:00
John Preston
d2246337a2 Fix crash in ChannelsLimitBox.
Fixes https://bugs.telegram.org/c/35214

Deleting `placeholder` in content->heightValue() resulted in `delete`
sometimes being called deep inside the layer->show() which already had
a reference to that `placeholder` saved and was accessed after -> crash.
2024-01-04 17:22:05 +04:00
23rd
c7f11eb05a Updated Qt to 5.15.12 on Windows. 2024-01-04 17:22:05 +04:00
23rd
758219265a Updated Qt to 6.2.7 on macOS. 2024-01-04 17:22:04 +04:00
23rd
d8d9441731 Slightly improved code style in HistoryView::Document. 2024-01-04 16:14:19 +03:00
23rd
098e797045 Fixed drawing of ttl circles with non-default scale. 2024-01-04 16:14:19 +03:00
23rd
69f8cb5951 Added ability to send voice message with ttl. 2024-01-03 22:44:01 +03:00
23rd
ca86dce760 Added button to voice record bar for ttl voice messages. 2024-01-03 22:44:01 +03:00
23rd
5cf0b6b50e Slightly improved code style in voice record bar class. 2024-01-03 22:32:29 +03:00
23rd
7a139ecda7 Added ability to fast jump to replied message with right click on panel. 2024-01-03 12:34:02 +03:00
23rd
e52fe9ddb0 Removed ability to save files with ttl. 2024-01-03 12:23:41 +03:00
23rd
cee2961632 Fixed width of name text in replies with block quote icon. 2024-01-02 18:19:49 +03:00
John Preston
5933535c9b Fix loading more saved sublists. 2024-01-02 18:03:02 +04:00
23rd
a3b91da66c Added silent info to tooltip of scheduled messages. 2024-01-02 14:31:59 +03:00
23rd
34d9a21aae Removed ability to reschedule message as silent as it's not supported. 2024-01-02 14:31:59 +03:00
23rd
233c6b18ed Fixed local flag for silent out messages. 2024-01-02 14:31:59 +03:00
John Preston
4274f9d3f3 Version 4.14.2.
- Show original senders name in reply to forward information.
- Use original senders color / emoji pattern in forwards.
- Highlight active saved messages chat in list.
- Fix chats list scrolling on X11 (Linux).
2024-01-02 15:05:06 +04:00
John Preston
c8dd94601b Don't add original name in forward of reply. 2024-01-02 15:05:06 +04:00
John Preston
382dab4ecb Don't push sublists to stack endlessly. 2024-01-02 15:05:06 +04:00
23rd
bdf67645bb Improved phrase of terms in gifts box from settings. 2024-01-02 13:40:21 +03:00
John Preston
5c29cc59c8 Show forward original sender in reply bar. 2024-01-02 14:11:09 +04:00
John Preston
ca9caa36da Inside message use original senders colors. 2024-01-02 13:52:55 +04:00
John Preston
0b5f05c7d4 Skip service accounts in gift premiums box. 2024-01-02 13:52:55 +04:00
John Preston
676e85983d Don't cut bio value, show what server returned. 2024-01-02 13:52:55 +04:00
Eric Kotato
7638f4cc3d Fix warning C4805 2024-01-02 13:27:37 +04:00
John Preston
e2e55312b8 Fix viewer hide workaround for software renderer. 2024-01-02 12:59:41 +04:00
John Preston
c51a8816eb Show selected sublist as active in list. 2024-01-02 12:59:22 +04:00
John Preston
175914f02b Show "My Notes", "Author Hidden" in title. 2024-01-02 12:12:16 +04:00
John Preston
fbd6b5b640 Fix possible build issue on Windows. 2024-01-02 12:01:03 +04:00
kukuruzka
1b11731d6b Fix crash on some videos 2024-01-02 11:43:15 +04:00
Ilya Fedin
8ecb49f132 Multiple by the magic multiplier only on Wayland 2024-01-02 06:57:09 +00:00
John Preston
0ae537478f Version 4.14.1.
- Fix crash in "Author Hidden" chat in "Saved Messages".
- Improve jump-to-original button layout in "Saved Messages".
- Show my own chat as "My Notes" in "Saved Messages".
- In screen sharing source window select first screen by default.
2024-01-02 00:22:46 +04:00
John Preston
4aa432ecbe Fix build with GCC. 2024-01-02 00:22:22 +04:00
John Preston
d5a0f4890d Choose first screen for sharing by default. 2024-01-02 00:17:15 +04:00
John Preston
5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
John Preston
a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
John Preston
a30d0eccda Avoid unnecessary saved dialogs load requests. 2024-01-01 23:42:18 +04:00
John Preston
a4f4e4564a Improve jump-to-message in saved messages. 2024-01-01 23:33:19 +04:00
John Preston
bfe7683cdb Show myself as "My Notes" in Saved Messages sublists. 2024-01-01 09:50:24 +04:00
John Preston
fbc600a978 Fix crash in pending gift payment finish. 2024-01-01 09:23:37 +04:00
GitHub Action
70eb452a09 Update User-Agent for DNS to Chrome 120.0.6099.109. 2024-01-01 05:18:11 +00:00
GitHub Action
9f7c74ae72 Update copyright year to 2024. 2024-01-01 05:17:53 +00:00
Ilya Fedin
65a3cf136b Update submodules 2023-12-31 22:03:57 +00:00
Ilya Fedin
2d86ec1e84 Update hunspell for warning fixes 2023-12-31 22:03:57 +00:00
Ilya Fedin
fdef19a009 Ensure temporaries don't detach with range loop 2023-12-31 22:03:57 +00:00
Ilya Fedin
26df482b54 Fix prototype for fill_fopen_filefunc 2023-12-31 22:03:57 +00:00
Ilya Fedin
ee5b7a5100 Fix the whitespaces for KeyFormat enum 2023-12-31 22:03:57 +00:00
Ilya Fedin
bd67bc4433 Ignore some unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
9d582040e6 Fix detaching temporaries 2023-12-31 22:03:57 +00:00
Ilya Fedin
f3bda59019 Replace QString::mid with base::StringViewMid where QStringView is accepted 2023-12-31 22:03:57 +00:00
Ilya Fedin
0d72d47318 Normalize signal connections 2023-12-31 22:03:57 +00:00
Ilya Fedin
29646707a1 QString::arg usage optimization 2023-12-31 22:03:57 +00:00
Ilya Fedin
e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
Ilya Fedin
4b297bfa09 Make use of wrongly unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
Ilya Fedin
78e6b3e13f Try to fix circular dependency between external_scudo and common_options 2023-12-31 21:36:32 +00:00
John Preston
ad84750130 Fix crash in Saved Messages from Author Hidden.
Fixes #27293.
2024-01-01 01:18:35 +04:00
John Preston
686310489b Version 4.14.
- Improved saved messages.
- One-time voice messages.
2023-12-31 19:42:24 +04:00
John Preston
84c5310262 Revert "Update GCC to 13 in Docker"
This reverts commit 3adbfb1fb5.

There is some problem with static libstdc++ linking in Release
configuration, the Updater utility fails with unresolved externals.
2023-12-31 19:42:24 +04:00
23rd
f53397e26a Fixed possible crash from voice messages with ttl. 2023-12-31 19:42:24 +04:00
John Preston
2a8a74b5b1 Display correctly forwards of forwards in sublists. 2023-12-31 19:42:24 +04:00
John Preston
9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
23rd
d2565dc944 Added badge corner to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
22f68b430d Disabled transcribe button for voice and round messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
3962e5a680 Added animation to voice messages with ttl. 2023-12-31 19:42:24 +04:00
23rd
a1c7a48958 Improved processing of out expired voice messages. 2023-12-31 19:42:23 +04:00
23rd
85286684e3 Added initial support for voice messages with TTL. 2023-12-31 19:42:23 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
1cb5ef7476 Show information about hidden author. 2023-12-31 19:42:23 +04:00
John Preston
9f0b42bbbd Show correct titles in sublists / sublist. 2023-12-31 19:42:23 +04:00
John Preston
634687881a Fix loading of saved sublist histories. 2023-12-31 19:42:23 +04:00
John Preston
878b4bb5af Update API scheme on layer 170. 2023-12-31 19:42:23 +04:00
John Preston
452257dcd5 Show special name/userpic for "Author Hidden". 2023-12-31 19:42:23 +04:00
John Preston
4e6d8f06d9 Show saved messages entry point from profiles. 2023-12-31 19:42:23 +04:00
John Preston
fd417024fb Initial saved sublist section implementation. 2023-12-31 19:42:23 +04:00
John Preston
18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston
ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
Ilya Fedin
be9aa3a097 Test the build of updater on the CI 2023-12-31 15:35:14 +00:00
23rd
bdcb146d06 Improved style of button in group call bar for consistency. 2023-12-30 09:28:03 +04:00
Ilya Fedin
70115a24bb Fix some webview crashes 2023-12-28 10:05:55 +00:00
Ilya Fedin
ea37e83b13 Revert "Force enable fractional-scale-v1 experimental option"
This reverts commit 4696f731da.
2023-12-27 22:44:58 +00:00
Ilya Fedin
931c17418d Update to the new cppgir API 2023-12-26 15:33:33 +00:00
John Preston
5a47ed268c Fix build for Windows Store. 2023-12-25 23:21:47 +00:00
Ilya Fedin
d63ebbe62c Handle webview crash 2023-12-23 19:12:17 +00:00
John Preston
cb4fce251e Version 4.13.1: Fix build with GCC. 2023-12-23 14:18:12 -04:00
John Preston
4aa8a41119 Version 4.13.1.
- Fix crash in chat history right click.
- Fix user emoji status display in main menu, profile and settings.
2023-12-23 14:15:29 -04:00
John Preston
13cba72945 Fix emoji status display for users.
Regression was introduced in 805a5d73b6.
2023-12-23 14:14:03 -04:00
John Preston
cf63b0138e Fix crash in context menu.
Regression was introduced in 4e3c1460f6.

Fixes #27254.
2023-12-23 14:12:50 -04:00
John Preston
3cbe0aae4a Version 4.13.
- Support setting channel wallpaper.
- Support setting channel emoji status.
- Allow gifting premium to several recipients at once.
2023-12-22 20:55:24 -04:00
John Preston
5ab8e68366 Fix possible crash in colorizeImage. 2023-12-22 20:52:11 -04:00
John Preston
1d345299f5 Allow smartglocal to customize tokenize url. 2023-12-22 20:52:11 -04:00
23rd
fc50d5c30f Improved code style in HistoryView::WebPage. 2023-12-23 03:16:58 +03:00
23rd
4e3c1460f6 Fixed display of menu items from sponsored message with selected text. 2023-12-23 01:50:12 +03:00
23rd
5bc954396c Fixed display of long title or long description in sponsored messages. 2023-12-23 01:50:12 +03:00
John Preston
b24290b019 Fix text-colored emoji in long-press preview. 2023-12-22 13:46:17 -04:00
John Preston
23cce64d00 Channel message reposts to stories like reposts. 2023-12-22 13:16:14 -04:00
John Preston
73690d14f7 Allow clipboard access for attach menu bots. 2023-12-22 12:42:23 -04:00
John Preston
2a5698cf34 Admin log events about channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston
941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
0e8058adb1 Update tg_owt to support custom reflectors. 2023-12-22 07:35:02 -04:00
23rd
01906c1161 Fixed display of archiving toasts on wrong window. 2023-12-22 07:35:02 -04:00
John Preston
9201cf24f1 Respect correct min-level for colors. 2023-12-22 07:35:02 -04:00
John Preston
d5a1c354d0 Support by-emoji background resolve in preview. 2023-12-22 07:35:02 -04:00
John Preston
41ae1f56ed Update API scheme to layer 169. Multigifts. 2023-12-22 07:35:02 -04:00
23rd
ed7212f864 Added mini icon of boosts to description in gifts box from settings. 2023-12-19 04:06:54 +03:00
23rd
8bcb784f12 Moved out child centering within widget to single function. 2023-12-19 01:52:33 +03:00
23rd
431549c81a Improved processing of successful payment in gift box from settings. 2023-12-19 01:43:58 +03:00
23rd
12110e17a2 Slightly improved style of userpics from top in gift box from settings. 2023-12-18 05:50:14 +03:00
23rd
db8338156a Slightly improved style of terms label in gift box from settings. 2023-12-18 05:50:14 +03:00
John Preston
de8b09d7fc Use correct phrases for outgoing giftcodes. 2023-12-17 21:20:21 +00:00
23rd
fddbce5dce Added premium summary to gift box from settings. 2023-12-17 13:05:21 +03:00
23rd
081817f62a Moved out making of premium summary to separated function. 2023-12-17 13:01:36 +03:00
23rd
8efbd7a1cb Added ability to hide subscription button in preview premium boxes. 2023-12-17 13:01:36 +03:00
23rd
bce310d5c8 Added complex description to top of gift box from settings. 2023-12-17 13:01:36 +03:00
23rd
ed9ecbd235 Added circle badge to userpics in gift box from settings. 2023-12-17 13:01:17 +03:00
23rd
1e756dd380 Added userpics to top of gift box from settings. 2023-12-17 13:00:40 +03:00
23rd
b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
23rd
82d73e2396 Moved out making of "new" badges to single place. 2023-12-17 09:50:50 +03:00
John Preston
cd5a6025f6 Support pre-defined channel wallpapers resolving. 2023-12-16 23:52:55 +00:00
John Preston
b6c679449e Support custom channel backgrounds display. 2023-12-16 23:23:24 +00:00
John Preston
ac744b957a Show emoji pattern also on link preview bubbles. 2023-12-16 22:52:30 +00:00
John Preston
805a5d73b6 Show emoji statuses in channels. 2023-12-16 22:43:35 +00:00
John Preston
6aaf841a73 Ignore Cmd+Up/Down if field isn't empty. 2023-12-16 22:00:41 +00:00
John Preston
60e72768e1 Update API scheme. Shared posts in stories. 2023-12-16 21:26:40 +00:00
John Preston
94e8f2a791 Update API scheme. Anonymous gift links. 2023-12-16 20:25:02 +00:00
John Preston
1fb4a2f4ba Update API scheme. Show interactions in channel stories. 2023-12-16 20:25:02 +00:00
John Preston
28d68acfe6 Use forward declaration for ripple animation. 2023-12-16 20:25:02 +00:00
John Preston
d87a0a2d25 Show reposts / forwards in story viewers. 2023-12-16 20:25:02 +00:00
23rd
8e92778b62 Fixed API support of public forwards in statistics info. 2023-12-16 20:25:02 +00:00
John Preston
f7e2c7977b Update API scheme. TODO public forwards stats. 2023-12-16 20:25:02 +00:00
John Preston
4337f0b509 Fix "Keep Disabled" in OpenGL crash check. 2023-12-16 20:25:02 +00:00
John Preston
2b960a1f21 Update API scheme. 2023-12-16 20:25:02 +00:00
John Preston
4b9648d8d9 Update API scheme. Giveaway winners. 2023-12-16 20:25:02 +00:00
John Preston
62f9f3c94b Update API scheme. HistoryView::Giveaway->MediaInBubble. 2023-12-16 20:25:02 +00:00
John Preston
e854f0b60c Show additional prize in giveaway message. 2023-12-16 20:25:02 +00:00
John Preston
19f38f3c6f Optimize empty->non-empty userpics repainting. 2023-12-16 20:25:02 +00:00
John Preston
d56724f290 Add additional prize info to giveaway details. 2023-12-16 20:25:02 +00:00
John Preston
8abc35ca86 Make giveaway end message clickable. 2023-12-16 20:25:02 +00:00
John Preston
e135f8954f Update API scheme to layer 168. Giveaways. 2023-12-16 20:25:02 +00:00
John Preston
f5b59c9456 Remove old test code giveaway creation. 2023-12-16 20:25:02 +00:00
23rd
6471d43c71 Added mini preview for some types of webpages. 2023-12-16 20:25:02 +00:00
23rd
563b8d1468 Added support of inline markup reply to JSON export. 2023-12-16 20:25:01 +00:00
23rd
f41a3fe01f Fixed display of non-stack bar chart view with empty values in chart. 2023-12-16 20:25:01 +00:00
23rd
29c9266ef5 Fixed display of bottom solid line in chart view for some scroll states. 2023-12-16 20:25:01 +00:00
23rd
1a856e359f Fixed display of bottom captions in chart view with long date strings. 2023-12-16 20:25:01 +00:00
23rd
59099a8d46 Added ability to open profile info through menu from public forwards. 2023-12-16 20:25:01 +00:00
23rd
98c6a3ff79 Added support of stories in list of public forwards in statistics info. 2023-12-16 20:25:01 +00:00
23rd
cccc2ce0f1 Improved processing of access to boosts info. 2023-12-16 20:25:01 +00:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
Ilya Fedin
3adbfb1fb5 Update GCC to 13 in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin
0ee0ffa7f1 Update breakpad in Docker 2023-12-16 09:32:50 +04:00
Ilya Fedin
4c82620677 Disable building libstdc++ tests 2023-12-16 09:32:50 +04:00
Ilya Fedin
73294bfabf Make Linux action to use the pre-set entrypoint 2023-12-16 09:32:50 +04:00
Ilya Fedin
6c42095108 Move the GHCR authentication to the first set up step 2023-12-16 09:32:50 +04:00
John Preston
fbe93b0afc Fix webpage layouts with thumbnails. 2023-12-15 14:15:35 +00:00
Ilya Fedin
e173c727f7 Fix remaining known xdg-output fractional scaling issues on Wayland
And enable it by default
2023-12-07 10:24:19 +04:00
Ilya Fedin
85f56217a8 Fix docker & snap build 2023-12-01 17:20:46 +04:00
Ilya Fedin
06564efe0e Build GLib manually in Docker and Snap 2023-12-01 15:39:42 +04:00
Ilya Fedin
664ebe4ed0 Use xdg-output for Wayland fractional scaling
That's way more stable
2023-12-01 15:39:14 +04:00
John Preston
cb3dece478 Version 4.12.2.
- Fix choosing custom reactions in channels.

Also fix a crash on start with old hardware by rebuilding using
the 17.7.7 VS Build Tools, because 17.8.* has a regression
with emitting a SSE 4.2 instruction, see:

https://developercommunity.visualstudio.com/t/Illegal-Instruction-SSE-42-POPCNT-exc/10520578
2023-12-01 13:07:42 +04:00
John Preston
c86ca6a61a Check custom reactions in channels better. 2023-12-01 13:05:06 +04:00
John Preston
8e2240d9d9 Fix custom reactions in channels. 2023-12-01 13:00:52 +04:00
John Preston
28acaf06ad Version 4.12.1.
- Fix assertion violation in imported messages rendering.
2023-12-01 09:44:38 +04:00
John Preston
fe12c3639b Revert "Removed unused code of hidden sender userpics for sponsored messages."
This reverts commit 3f19dc0486.
2023-12-01 09:18:22 +04:00
John Preston
0e2131e6eb Version 4.12: Fix build with GCC. 2023-11-30 20:59:58 +04:00
John Preston
98be0a69df Version 4.12.
- Similar channels.
- Wallpapers for both sides.
- Voice-to-Text for everyone.
- Story statistics for channels.
- Custom Reactions for channels.
- Automatic code highlighting in messages.
2023-11-30 20:23:19 +04:00
Ilya Fedin
d6aecdfe4b Update cmake_helpers and patches in Docker 2023-11-30 17:57:34 +04:00
John Preston
fa63a220fa Fix build with Xcode. 2023-11-30 17:56:57 +04:00
John Preston
2611899448 Set custom reactions hard limit to max level. 2023-11-30 17:56:57 +04:00
John Preston
514ced1d8e Respect wallpaper_overriden flag. 2023-11-30 17:56:57 +04:00
23rd
1a69975131 Replaced Qt format of dates in statistics with internal format. 2023-11-29 09:09:36 +03:00
23rd
27b284ef5b Added initial support of trial voice transcribes. 2023-11-29 07:32:20 +03:00
23rd
a546b3a9b6 Replaced display of premium layer with short box for sponsored messages. 2023-11-29 01:45:41 +03:00
John Preston
28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston
8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +04:00
John Preston
e58940a876 Look for highlight language case-insensitive. 2023-11-28 21:55:27 +04:00
John Preston
ae1da5baf4 Implement premium lock of similar channels. 2023-11-28 21:55:27 +04:00
23rd
2542ec5d93 Added list of public forwards for story statistics. 2023-11-28 21:55:27 +04:00
23rd
dfe55b26a2 Added statistical values for stories to overview in statistics info. 2023-11-28 21:55:27 +04:00
23rd
6de95fc4ed Fixed display of recent posts with some types documents in statistics. 2023-11-28 21:55:27 +04:00
23rd
1e57563349 Improved style of icons in recent posts from list from statistics info. 2023-11-28 21:55:27 +04:00
23rd
9f0b4bc799 Added ability to paste login code from clipboard to new code input. 2023-11-28 21:55:27 +04:00
23rd
ac8117a6d8 Improved style of input field for login code. 2023-11-28 21:55:27 +04:00
23rd
9ef0e5cf83 Moved animation callback for shake effect to single place. 2023-11-28 21:55:27 +04:00
23rd
f433d6fbc9 Fixed button label in sponsored messages with external links. 2023-11-28 21:55:27 +04:00
23rd
e24b86d460 Fixed restriction label when topic is closed.
Fixed #26344.
2023-11-28 21:55:27 +04:00
John Preston
bfebb1339a Show "more similar channels" premium promo. 2023-11-28 21:55:27 +04:00
John Preston
49b59d73be Fix comments loading. Fixes #25889. 2023-11-28 21:55:27 +04:00
John Preston
d41961945d Fix first time webpage preview customization. 2023-11-28 21:55:27 +04:00
John Preston
aa29d1c619 Allow select single album part under spoiler. 2023-11-28 21:55:27 +04:00
John Preston
d6d76c8477 Show repost-from-name in story header. 2023-11-28 21:55:27 +04:00
John Preston
6057bb2b37 Handle repost info clicks in expanded mode. 2023-11-28 21:55:27 +04:00
John Preston
5aaf119b36 Handle repost preview clicks. 2023-11-28 21:55:26 +04:00
John Preston
8f9123bb96 Display story repost nicely. 2023-11-28 21:55:26 +04:00
23rd
77b2076e0f Added build date info to version label as tooltip. 2023-11-28 21:55:26 +04:00
23rd
7681f14a3c Added icons to recent posts in list from statistics info. 2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
0f3faf59ca Added support of bot apps to sponsored messages.
Added api support of custom button text in sponsored messages.
2023-11-28 21:55:26 +04:00
23rd
d28ba4fad9 Moved out PeerByLinkInfo from SessionNavigation to separate file. 2023-11-28 21:55:26 +04:00
23rd
3f19dc0486 Removed unused code of hidden sender userpics for sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
fc86bb7a5f Removed redundant code for old sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
0da515abc5 Added fast right action to sponsored messages. 2023-11-28 21:55:26 +04:00
23rd
4c5c2aadc4 Replaced style of sponsored messages with fake webpage. 2023-11-28 21:55:26 +04:00
23rd
17f89ba1f9 Added ability to get sponsored details from constructor of HistoryItem. 2023-11-28 21:55:26 +04:00
23rd
a8de145e01 Moved out click handler for sponsored messages to separate module. 2023-11-28 21:55:26 +04:00
23rd
c1d20d16fd Added small preview to story statistics. 2023-11-28 21:55:25 +04:00
23rd
dc04a1afdb Removed display of selected index with incorrect value on bar chart. 2023-11-28 21:55:25 +04:00
23rd
856f39c123 Fixed search of indices on tiny charts in statistics. 2023-11-28 21:55:25 +04:00
23rd
909f3bf011 Added "new-windows-size-as-first" option. 2023-11-28 21:55:25 +04:00
23rd
19ab740da2 Added channel photo to recent posts in list from statistics info. 2023-11-28 21:55:25 +04:00
John Preston
11ea5e61cf Show repost header in stories. 2023-11-28 21:55:25 +04:00
John Preston
78897dd143 Show repost info on story view. 2023-11-28 21:55:25 +04:00
John Preston
23a0413113 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston
5652abfd49 Update syntax-highlighting grammars. 2023-11-28 21:55:25 +04:00
John Preston
324f2f68ba Handle for_both chat wallpaper change. 2023-11-28 21:55:25 +04:00
John Preston
f8825e8135 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
4dbe5c0a0f Load similar channels correctly. 2023-11-28 21:55:25 +04:00
John Preston
2df6729f2d Improve similar channels pseudo-widget. 2023-11-28 21:55:25 +04:00
John Preston
30d72f1d1d Try fixing media viewer on some Linux versions. 2023-11-28 21:55:24 +04:00
John Preston
db0a31b87e Fix crash in scale preview reparenting. 2023-11-28 21:55:24 +04:00
John Preston
4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd
6a87fef851 Added reactions count to recent posts in list from statistics info. 2023-11-28 21:55:24 +04:00
23rd
1fbcec1d24 Added display of stories to list of recent posts in statistics info. 2023-11-28 21:55:24 +04:00
23rd
25d0123b9f Added more universal RecentPostId for saved state of statistics info. 2023-11-28 21:55:24 +04:00
23rd
69b9d404c0 Added api support of reactions count for recent posts in statistics. 2023-11-28 21:55:24 +04:00
23rd
0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
23rd
32008161a0 Fixed duration after changing of winners count in create giveaway box. 2023-11-28 21:55:24 +04:00
John Preston
36a8c49213 Show similar channels under join message. 2023-11-28 21:55:24 +04:00
John Preston
91fba41e2c Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
23rd
7d2d0bdfa2 Added initial entry point to statistics info for stories. 2023-11-28 21:55:24 +04:00
23rd
2bb8850e69 Added charts of story statistics to statistics info. 2023-11-28 21:55:24 +04:00
23rd
1056a5cc8e Added API support to resolve story statistics. 2023-11-28 21:55:24 +04:00
23rd
34d0dac351 Added ability to create statistics info layer with story id. 2023-11-28 21:55:24 +04:00
23rd
f88eee8047 Added reactions count to overview in statistics info. 2023-11-28 21:55:24 +04:00
23rd
173a5046e8 Added new charts to channel and message statistics. 2023-11-28 21:55:24 +04:00
23rd
44f6280d0a Added ability to use BarChartView as non-stack as well. 2023-11-28 21:55:24 +04:00
23rd
b7346c203a Renamed StackChartView to BarChartView. 2023-11-28 21:55:24 +04:00
23rd
c3254a53bc Moved out calculation of height limits for linear chart to single place. 2023-11-28 21:55:24 +04:00
23rd
5ea066e6a7 Moved class of line ratio for double linear chart from private space. 2023-11-28 21:55:24 +04:00
23rd
bc6556ebc4 Moved out class for cached selected points on chart from private space. 2023-11-28 21:55:23 +04:00
John Preston
4c6d33fd54 Allow sending to General in "View as Messages". 2023-11-28 21:55:23 +04:00
John Preston
96b651c29b Update "View as (Messages,Topics)" menu icons. 2023-11-28 21:55:23 +04:00
John Preston
0ffda016da Support cloud view_as_messages forum setting. 2023-11-28 21:55:23 +04:00
John Preston
43a8733fc7 Implement rich reactions selector. 2023-11-28 21:55:23 +04:00
John Preston
1e26c33b3d Implement choose-reactions input field. 2023-11-28 21:55:23 +04:00
John Preston
4ad70965e9 Don't check quote entities now that we have quote_offset. 2023-11-28 21:55:23 +04:00
John Preston
3a67e4f1f4 Support highlighting correct quoted part. 2023-11-28 21:55:23 +04:00
John Preston
dcc326e17f Update API scheme to layer 167.
Support quote offset passing to API.
Support simple phrases in giveaway results message.
2023-11-28 21:55:23 +04:00
John Preston
f442d69cb6 Fix possible crash on MTProto instance shutdown. 2023-11-28 21:23:27 +04:00
Ilya Fedin
17fa50bdff Update patches commit in Dockerfile 2023-11-28 13:18:43 +04:00
Ilya Fedin
a04145d981 Update xkbcommon in Docker 2023-11-27 20:09:37 +04:00
Ilya Fedin
e8c9cb7d2a Update Qt to 6.6.1 on Linux 2023-11-27 20:09:20 +04:00
Ilya Fedin
467a6c25a8 Fix upload artifact condition in Windows action 2023-11-27 20:09:04 +04:00
Ilya Fedin
1852386ace Add Windows Ninja CI 2023-11-27 18:02:59 +04:00
Ilya Fedin
a93340c2e4 Try to restore session manager connection on Linux 2023-11-27 12:02:19 +04:00
Ilya Fedin
4a0ee22670 Shorten setting QSessionManager restart hint 2023-11-27 12:02:19 +04:00
John Preston
87a042b029 Fix build on Linux 2023-11-25 12:59:47 +04:00
Ilya Fedin
960761ef37 Replace jemalloc with scudo
This should provide a wider support for ARM hardware
2023-11-24 20:04:28 +04:00
John Preston
b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
Ilya Fedin
4696f731da Force enable fractional-scale-v1 experimental option 2023-11-21 21:20:50 +04:00
Ilya Fedin
0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
Ilya Fedin
cfc254bd90 Switch Qt to GitHub 2023-11-21 21:20:50 +04:00
23rd
bdee6e0155 Removed ability to add to contacts inaccessible users. 2023-11-20 21:03:36 +03:00
23rd
ac6765ebdb Replaced default toast text for shared messages with complex phrases. 2023-11-20 16:25:28 +03:00
23rd
df3ae2c5f8 Added ability to open boosts info without statistics info access. 2023-11-20 02:53:46 +03:00
23rd
1af4af6ff3 Removed display of unwrapped media in sponsored messages. 2023-11-20 02:53:46 +03:00
Ilya Fedin
a92e9f7162 Try to update qtwayland to 6.6.0 again 2023-11-19 07:46:32 +04:00
John Preston
27d9fa6acb Fix CI build on Linux. 2023-11-17 13:07:18 +04:00
John Preston
7d4362267a Fix compare helpers on macOS. 2023-11-17 13:06:04 +04:00
John Preston
1ba52402b5 Fix build with new MSVC, workaround compiler bug. 2023-11-17 12:01:25 +04:00
John Preston
5d0a36e456 Fix edit photo button area. 2023-11-17 12:01:25 +04:00
John Preston
af6e15ed59 Fix title alignment in AskBoostBox. 2023-11-16 14:31:15 +04:00
John Preston
25216a140e Fix build on Windows. 2023-11-16 14:31:15 +04:00
John Preston
65fc7d2b10 Update lib_ui submodule. 2023-11-16 14:29:45 +04:00
John Preston
99da95880e Fix lang keys access on startup. 2023-11-15 18:20:59 +03:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
23rd
596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
85e2d54a05 Split out settings_common module into td_ui and non-td_ui variants. 2023-11-15 03:30:04 +03:00
23rd
f629bf76ff Removed AddButton and CreateButton without icon from Settings. 2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
497aa6dbc8 Added ability to see admins who promoted or restricted participants. 2023-11-14 21:48:34 +03:00
John Preston
830e9a5953 Version 4.11.8. (macOS only)
- Fix phrases on macOS by doing a clean rebuild.
2023-11-14 21:28:24 +04:00
John Preston
5cabfb56e0 Fix "small" undef in Windows includes. 2023-11-14 09:27:48 +04:00
Ilya Fedin
8a19fab19c Update macOS to 13 on macOS packaged action 2023-11-13 16:10:37 +04:00
Ilya Fedin
c592b66f5b Ignore brew upgrade failure in macOS packaged action 2023-11-13 13:54:36 +04:00
Ilya Fedin
8ce9a92898 Update brew packages in macOS packaged action
This ensures the same versions of packages between GitHub runners at a point in time
2023-11-13 13:34:14 +04:00
John Preston
df8c80226b Version 4.11.7: Fix build with GCC. 2023-11-13 12:24:29 +04:00
John Preston
53b342f722 Version 4.11.7.
- Fix sending media files with quote replies.
- Fix quoted text highlighting in some cases.
- Fix loading statistics for some channels.
- Fix Ctrl+Shift+. shortcut on X11.
- Fix a crash in statistics.
2023-11-13 11:46:07 +04:00
Ilya Fedin
d2b6012bfd Mark code unneeded after Qt 6.6.0 2023-11-13 11:41:57 +04:00
John Preston
69efd127eb Update submodules. 2023-11-13 11:39:35 +04:00
John Preston
22cedbc9cc Don't show full albums in search results. 2023-11-13 11:39:35 +04:00
John Preston
d4d2eef291 Fix clearing cloud draft on message send.
Regression was introduced in 20ba417ddd.
2023-11-13 10:44:38 +04:00
23rd
98bd5757b0 Increased pagination limits for recent messages in statistics info. 2023-11-13 10:21:46 +04:00
John Preston
edb7cf197a Improve reply preview above the field. 2023-11-13 10:10:18 +04:00
23rd
617be49e55 Fixed crash in statistics on linear charts with filtered first line. 2023-11-13 10:10:18 +04:00
John Preston
9324ceeb24 Destory stats sessions after a timeout. 2023-11-13 10:08:47 +04:00
23rd
1e6cf839e2 Fixed Api requests for statistics with non-default DC. 2023-11-11 15:05:20 +03:00
John Preston
468d4c5e4f Don't make multiboost badge gradient. 2023-11-10 18:07:21 +04:00
John Preston
c530d7cc89 Apply Ui::Text::String modifications in highlighting. 2023-11-10 17:48:25 +04:00
John Preston
f7ea0e1d00 Fix modifications tracking in Ui::Text::String.
Fixes #27031.
2023-11-10 17:46:01 +04:00
John Preston
b959877598 Use explicit nativeVirtualKey on Windows only. 2023-11-10 16:28:01 +04:00
John Preston
8d0fe601cf Fix sending quote data with uploaded media.
Fixes #27032.
2023-11-10 16:27:25 +04:00
John Preston
2afc171bec Version 4.11.6: Fix build with GCC. 2023-11-10 00:32:52 +04:00
John Preston
d6bd88d119 Version 4.11.6.
- Support multiple boosts and reassignment.
- Improve giveaway creation flow.
- Fix crash in topics creation.
2023-11-09 23:18:50 +04:00
John Preston
639a82ce28 Add confirmation for prepared giveaway start. 2023-11-09 23:18:50 +04:00
Ilya Fedin
ef1b197771 Update lib_ui & patches 2023-11-09 22:44:52 +04:00
John Preston
ad05998575 Update reply / forward icons in context menu. 2023-11-09 22:40:09 +04:00
John Preston
b403f600e7 Use correct color for channels in giveaway. 2023-11-09 22:33:14 +04:00
John Preston
9b2f2b104f Show enlarge photo button in webpage preview. 2023-11-09 22:33:14 +04:00
John Preston
e4d920b148 Show multiboost "x5" badge in boost box. 2023-11-09 22:33:14 +04:00
John Preston
c5d1739e95 Implement multiboost reassign box. 2023-11-09 22:33:14 +04:00
John Preston
a41bbd27c8 Start multiboosts, support dynamic state. 2023-11-09 22:33:14 +04:00
John Preston
2d67557a91 Drag correct element from file album. 2023-11-09 22:33:14 +04:00
23rd
ca1a548fb8 Added boost badge to buttons for prepaid giveaways. 2023-11-09 16:27:54 +03:00
23rd
97bd865916 Added terms to bottom of giveaway box for prepaid giveaways. 2023-11-09 16:02:18 +03:00
23rd
f7ab8298cf Added show more button to statistics info for list of recent messages. 2023-11-09 16:02:18 +03:00
23rd
33cf9a0702 Fixed expiration date of boosts in boosts list. 2023-11-09 16:02:18 +03:00
23rd
282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03:00
23rd
135ffb13fd Added all joined channels to list in giveaway box. 2023-11-09 16:02:18 +03:00
23rd
9d4e1689fa Added state restoring to list for boost awarding members. 2023-11-09 16:02:18 +03:00
23rd
27e2a4b5d2 Fixed width of tabs for different boosts lists. 2023-11-09 16:02:18 +03:00
23rd
c9cad4186b Added initial list of prepaid giveaway to boosts info. 2023-11-09 16:02:18 +03:00
23rd
3522d9c62e Added API support for prepaid giveaways. 2023-11-09 14:18:26 +03:00
23rd
43aa8825a5 Added badge and loading state to confirm button in giveaway box. 2023-11-09 14:18:26 +03:00
23rd
4150cdff86 Moved out badge for giveaway list to td_ui. 2023-11-08 15:22:48 +03:00
23rd
474fa56cc0 Improved processing of giveaway creation after payment. 2023-11-08 15:22:48 +03:00
23rd
6ca777102c Added ability to paint non-optimized ministars to fix possible glitches. 2023-11-07 20:23:42 +03:00
23rd
49d5cf939c Added special fading-in top bar with title to giveaway box. 2023-11-07 20:23:42 +03:00
23rd
b56b9b1fb9 Added ability to set background color for premium top bar via styles. 2023-11-07 20:23:42 +03:00
23rd
0293700e0f Added ability to ignore dark themes in premium top bar via styles. 2023-11-07 20:23:42 +03:00
John Preston
524a7a6a23 Fix wrong popup menu click-through on macOS 14.1.
Fixes #27025.
2023-11-07 12:40:29 +04:00
John Preston
b1459e41d3 Fix system version check for dark taskbar support.
Fixes #27056.
2023-11-07 11:47:10 +04:00
John Preston
ef685aa0da Fix via @bot badge in unwrapped media.
Fixes #27048.
2023-11-07 09:14:32 +04:00
John Preston
3ac222db62 Fix initial scroll to search result in bots. 2023-11-07 09:09:09 +04:00
Julian Sparber
642b0ed032 Install monochrome icon as symbolic app icon on Linux
GNOME Shell uses the symbolic icon in the topbar and notifications.
2023-11-07 08:38:10 +04:00
John Preston
a7090c5fba Fix possible crash in topic replies. 2023-11-07 08:35:58 +04:00
23rd
ebcd4eb97b Added box for pending giftcodes. 2023-11-07 05:35:28 +03:00
23rd
a76534b19f Fixed opening of same boosts info multiple times. 2023-11-07 03:27:20 +03:00
23rd
ee33d139cd Improved style of tabs in boosts info. 2023-11-07 03:27:20 +03:00
23rd
c9cabfb084 Fixed API support for different boosts lists. 2023-11-07 03:27:20 +03:00
23rd
3dd415d0c2 Removed wheel support from slider in giveaway box. 2023-11-07 03:27:20 +03:00
23rd
4592e4e4bb Slightly improved style of boosts info. 2023-11-07 03:27:20 +03:00
23rd
1cb762913c Fixed text of confirm box in giveaway box. 2023-11-07 03:27:04 +03:00
John Preston
6eb7d68d49 Version 4.11.5.
- Giveaway phrases and sticker fixes.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 22:21:00 +04:00
John Preston
36662c51dd Fix giveaway sticker and phrases. 2023-11-06 22:16:12 +04:00
John Preston
4e915e9d1a Beta version 4.11.4: Fix build with GCC. 2023-11-06 20:31:11 +04:00
John Preston
86d6280776 Fix bidi data init. 2023-11-06 20:30:41 +04:00
John Preston
eea7caeb94 Fix a phrase in giveaway info. 2023-11-06 20:29:41 +04:00
John Preston
b77e74de7f Beta version 4.11.4.
- Show quoted part in channel comments.
- Show replies with icons and multiline preview.
- Send correct replies in topics and channel comments.
- In monochrome Windows tray icon use dot instead of counter.
2023-11-06 14:50:21 +04:00
John Preston
8a804fcfad Add toasts about giveaway/gift start. 2023-11-06 14:41:42 +04:00
John Preston
f7ad91e80c Fix round video link preview with reactions. 2023-11-06 13:39:05 +04:00
John Preston
61a9d9c01d Don't close schedule media box by outside click. 2023-11-06 12:47:37 +04:00
23rd
e98f56b0b7 Fixed aspect ratio of non-standard stickers in photo editor. 2023-11-06 12:41:15 +04:00
John Preston
b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
John Preston
d7539349c7 Always show manual quote replies, hide redundant. 2023-11-06 12:35:08 +04:00
John Preston
5350c97f82 Fix sending replies in forums. 2023-11-06 12:31:59 +04:00
John Preston
20ba417ddd Fix sending messages from "View as Messages". 2023-11-06 12:06:21 +04:00
John Preston
332ae22111 Fix build of crashpad with Xcode < 15. 2023-11-05 11:01:49 +04:00
John Preston
b8c76cac61 Use dot in monochrome tray icon on Windows. 2023-11-05 00:03:44 +04:00
John Preston
150432e4d1 Add explicit CMAKE_MSVC_RUNTIME_LIBRARY. 2023-11-04 23:19:12 +04:00
John Preston
d6c3760646 Improve external reply icons paddings. 2023-11-04 21:24:21 +04:00
John Preston
537c656ee1 Show external reply media preview. 2023-11-04 21:24:21 +04:00
John Preston
4e0490494e Extract reply view to a separate component. 2023-11-04 21:24:21 +04:00
John Preston
56ad825693 Attempt to fix build on Clang. 2023-11-04 21:24:21 +04:00
John Preston
aab4ac8526 Fix story replies. 2023-11-04 21:24:21 +04:00
John Preston
5c98406e1a Expandable quote snippets in replies. 2023-11-04 21:24:19 +04:00
John Preston
3b40bc6297 Show full reply names with icons. 2023-11-04 21:24:14 +04:00
John Preston
12e164c4df Fix multiline terms checkbox. 2023-11-04 21:24:12 +04:00
23rd
855cc8e900 Updated some dependencies. 2023-11-04 21:24:02 +04:00
23rd
0a38cf2501 Updated Qt to 5.15.11 on Windows. 2023-11-04 21:24:02 +04:00
23rd
6def067e98 Updated Qt to 6.2.6 on macOS. 2023-11-04 21:24:02 +04:00
23rd
a4e5ea01dc Added icon to language button in settings from intro. 2023-11-04 21:24:02 +04:00
23rd
f4cfbc5ed8 Improved behavior of show more button in boosts list from boosts info. 2023-11-04 21:24:02 +04:00
23rd
336705a503 Fixed description in box for boosting.
Regression was introduced in d82c422ea1.
2023-11-04 21:24:02 +04:00
23rd
764b0d3dcd Added loading label to boosts info. 2023-11-04 21:24:01 +04:00
23rd
72c8999e50 Added initial tabbed selector for different boosts lists in boosts info. 2023-11-04 21:24:01 +04:00
23rd
79b5f7eda9 Added initial API support for different boosts lists. 2023-11-04 21:24:01 +04:00
23rd
6fcf80c6cf Added initial right badges for complex boost entries in boosts info. 2023-11-04 21:24:01 +04:00
23rd
e9a8acdc54 Added initial click handler to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
01573af0de Added initial support of complex boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
69b24c494e Added multiplier badge to boosts list in boosts info. 2023-11-04 21:24:01 +04:00
23rd
2b4047b20d Added support of some backend limitations for giveaways. 2023-11-04 21:24:01 +04:00
23rd
2b1a46356a Slightly improved style of giveaway box. 2023-11-04 21:24:01 +04:00
23rd
36a91dd32b Moved out giveaway styles to separated file. 2023-11-04 21:24:01 +04:00
23rd
d8e38b43d9 Added simple label for loading state to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
d2d69a7a36 Added premium star to top of giveaway box. 2023-11-04 21:24:01 +04:00
23rd
85fdc04d48 Added ability to create giveaways from giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5e28b2d601 Added ability to select channels to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
33f6fc7d8c Added list controller to giveaway box to display selected channels. 2023-11-04 21:24:01 +04:00
23rd
3c8188e0b4 Added channel list controller to giveaway box for channel selecting. 2023-11-04 21:24:01 +04:00
23rd
3ecf3f7c55 Moved out peer list controller for giveaway box to separated file. 2023-11-04 21:24:01 +04:00
23rd
fc6d4d66b7 Added ability to filter users by countries for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
2d097ca9ae Added box for selecting countries. 2023-11-04 21:24:01 +04:00
23rd
af03660cab Added ability to choose date for giveaway to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
986d347ea4 Added slider for prize quantity to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
2dcd8a9640 Added ability to award specific users in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5a55e850d9 Added subtext to list of giftcode options in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
aa6edea33a Added list of giftcode options to giveaway box. 2023-11-04 21:24:01 +04:00
23rd
e67d2e5db2 Added API support for premium giftcode options. 2023-11-04 21:24:01 +04:00
23rd
67bbb477c7 Added ability to select users for awarding in giveaway box. 2023-11-04 21:24:01 +04:00
23rd
5b0c48bb52 Added dummy box for creating giveaway. 2023-11-04 21:24:01 +04:00
23rd
e00016312e Added button for giveaway creating to boosts info. 2023-11-04 21:24:01 +04:00
23rd
9df551a145 Improved API support of boosts list. 2023-11-04 21:24:00 +04:00
23rd
1852161fbf Moved out generating unique PeerListRowId from string to single place. 2023-11-04 21:24:00 +04:00
GitHub Action
1851b6ff30 Update User-Agent for DNS to Chrome 118.0.5993.117. 2023-11-04 20:51:41 +04:00
Ilya Fedin
98f3fa76a2 Add CI for macOS packaged build 2023-11-04 20:51:26 +04:00
Ilya Fedin
6db4b8821e Add support for building iconset and plist without Xcode 2023-11-04 20:51:26 +04:00
Ilya Fedin
0f45abd534 Make WithSmallCounter adaptive 2023-11-04 20:50:58 +04:00
John Preston
9e10a80e00 Version 4.11.3.
- Fix adding a link to media captions in scheduled / comments.
- Fix crash in link preview options saving.
- Fix possible crash in statistics.
2023-11-02 20:31:53 +04:00
John Preston
01d9864036 Workaround crash in statistics. 2023-11-02 20:30:48 +04:00
John Preston
8927a1b9a2 Fix media caption adding link in replies/scheduled. 2023-11-02 20:30:48 +04:00
John Preston
b41c94be29 Fix crash in link preview edit. 2023-11-02 20:30:48 +04:00
John Preston
8ebf329cd9 Display group / channel id in profile. 2023-11-02 20:30:48 +04:00
John Preston
d031046edb Version 4.11.2: Fix build with GCC. 2023-11-02 00:06:42 +04:00
John Preston
7808cc6d41 Version 4.11.2: Fix build with Xcode. 2023-11-01 22:57:36 +04:00
John Preston
a7b60c43b5 Version 4.11.2.
- Highlight quoted parts in jump-to-message from replies.
- Ctrl+Click on message field reply bar to jump to message.
- Fix empty link preview displaying when generation failed.
- Fix external replies in topic groups.
- Allow enabling legacy tray icon on Windows.
2023-11-01 22:26:15 +04:00
John Preston
a8b959826c Don't activate main window in case of visible call window.
Fixes #27017.
2023-11-01 22:24:09 +04:00
John Preston
42f96f3c43 Fix build with Xcode. 2023-11-01 22:24:09 +04:00
John Preston
cc97093c5a Instantly jump-to-message on reply bar ctrl+click. 2023-11-01 22:13:21 +04:00
John Preston
7d5d086ade Allow messages when accepting miniapp terms. 2023-11-01 21:04:25 +04:00
John Preston
3da44eb5dd Fix attach menu suggested bot launch. 2023-11-01 21:04:25 +04:00
John Preston
4955cdcdce Wait for main menu bot icon to load. 2023-11-01 21:04:25 +04:00
23rd
597195a2e2 Replaced Session Controller with Navigation for resolving of giftcodes. 2023-11-01 17:01:25 +03:00
23rd
5966c74a27 Added ability to go to message from message preview in statistics info. 2023-11-01 17:00:26 +03:00
John Preston
caa1ae4436 Fix inline bots with secondary usernames. 2023-11-01 16:39:46 +04:00
John Preston
af5ad84e72 Fix crashpad_handler linking workaround.
Fixes #26873.
2023-11-01 09:27:06 +04:00
John Preston
728ed02a1c Allow selecting text in webpage previews. 2023-11-01 09:17:08 +04:00
John Preston
8e369a4aa5 Fix moved up link preview with long text. 2023-11-01 08:44:25 +04:00
John Preston
35e457c924 Fix quote create in RepliesWidget. 2023-10-31 23:41:41 +04:00
John Preston
097c3c4a5a Allow changing album quote before sending. 2023-10-31 23:25:26 +04:00
John Preston
10022a3c6d Highlight quotes in replies to file albums. 2023-10-31 23:06:21 +04:00
John Preston
0dbb195106 Highlight quotes in replies to albums. 2023-10-31 22:37:59 +04:00
23rd
6493cb9ed8 Fixed mouse wheel handling in vertical drum picker without animation. 2023-10-31 13:11:01 +03:00
John Preston
1cfda38345 Fix reply in topic after creation. 2023-10-31 13:20:30 +04:00
John Preston
bf20dbe3bc Fix external replies to different topic groups. 2023-10-31 13:13:31 +04:00
John Preston
46d3f232af Don't drop reply info on empty message submit. 2023-10-31 13:08:32 +04:00
John Preston
ade97fd2d2 Fix unwrapped reply to monospace. 2023-10-31 13:00:03 +04:00
John Preston
39614aab3f Fix unwrapped reply overlapping timestamp. 2023-10-31 12:59:52 +04:00
John Preston
6bab2b4df6 Improve quotes composing. 2023-10-31 12:59:32 +04:00
John Preston
b4c7272351 Keep external replies in forwards. 2023-10-31 12:21:07 +04:00
John Preston
d831775e2f Fix replying in the same history. 2023-10-31 11:19:57 +04:00
John Preston
bde39970a0 Fix boost reassign. 2023-10-31 11:17:55 +04:00
John Preston
076291b98f Fix reply invalidation on message removal. 2023-10-31 10:53:20 +04:00
John Preston
1341907cfd Disable external replies for non-forwardable. 2023-10-31 10:50:17 +04:00
John Preston
b793c06759 Fix external replies in topic groups. 2023-10-31 10:39:54 +04:00
John Preston
475b2ac739 Fix external quote-reply to topic message. 2023-10-31 09:01:20 +04:00
John Preston
d1c310de00 Highlight reply quote in original message. 2023-10-31 09:01:20 +04:00
John Preston
8615a25cd1 Fix empty preview if sent while failing generating.
Fixes #27004.
2023-10-31 09:01:20 +04:00
Ilya Fedin
de4eb1e59b Disable glib tests and introspection generation in snap 2023-10-31 08:16:05 +04:00
Ilya Fedin
8e8f6f905f Build newer meson in snap 2023-10-31 08:16:05 +04:00
John Preston
a57eecd420 Add option to use old tray icon.
New monochrome icon is default for the new installations.

Fixes #26983, fixes #26988, fixes #26989, fixes #26991, fixes #27005.
2023-10-30 11:16:17 +04:00
John Preston
f306b11676 Add id-s only when displayed in profile. 2023-10-30 10:51:11 +04:00
John Preston
745ad45d47 Version 4.11.1: Update message text padding. 2023-10-29 12:31:56 +04:00
John Preston
5fee0a7a73 Don't allow replying to local messages. 2023-10-29 12:31:56 +04:00
John Preston
096ddcad6d Version 4.11.1.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 12:15:20 +04:00
John Preston
3b7448ccab Version 4.12.
- Fix crash in emoji status select.
- Fix crash in language change.
- Suggest shrinking only photos in webpage previews.
- Fix opening video files in webpage previews in-app.
- Fix sending links and markup with customized webpage previews.
- Show "Saved Messages" as a first row when replying in another chat.
- Fix selecting words by double-click with webpage previews.
- Fix delayed webpage preview generation in preview options.
- Add "show-peer-id-below-about" experimental option.
2023-10-29 11:36:06 +04:00
John Preston
478c6c4d36 Fix pending link previews in preview options box. 2023-10-29 10:57:07 +04:00
John Preston
e2ea27cbef Fix select-by-words with link previews. 2023-10-29 10:25:52 +04:00
John Preston
625ae87eea Add "show-peer-id-below-about" option. 2023-10-29 10:12:48 +04:00
John Preston
597816db09 Show Saved Messages in Reply in another chat. 2023-10-29 09:52:42 +04:00
John Preston
ec3fc8c749 Send entities with customized webpage preview.
Fixes #26981.
2023-10-29 08:55:30 +04:00
John Preston
e64a096dca Don't suggest shrinking media of direct photo links. 2023-10-29 08:51:42 +04:00
John Preston
eaf30d58be Open documents-in-web-previews in-app. 2023-10-29 08:48:45 +04:00
John Preston
94ac9f93fa Don't shrink non-photo media. 2023-10-29 07:54:39 +04:00
John Preston
04f040c9c5 Fix a crash in emoji status set. 2023-10-29 07:09:42 +04:00
John Preston
af0e87c569 Fix a crash on languages box open. 2023-10-29 07:09:42 +04:00
John Preston
1a503e5f1d Version 4.11: Fix build with GCC. 2023-10-29 00:33:54 +04:00
John Preston
c46b659aa5 Version 4.11.
- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
2023-10-28 23:39:31 +04:00
John Preston
7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston
29fb263495 Use lang-packed "copy" instead of "code". 2023-10-28 22:34:08 +04:00
John Preston
c8660b5385 Improve color/emoji admin log events. 2023-10-28 22:27:30 +04:00
John Preston
d47b99b0b5 Don't set box show crash annotation (GenericBox). 2023-10-28 21:51:37 +04:00
John Preston
88e3c87cd9 Crash on assertion instead of stack overflow. 2023-10-28 21:41:00 +04:00
John Preston
fe0e526b79 Support phrases for unclaimed giveaway prizes. 2023-10-28 21:40:39 +04:00
John Preston
c480ab1a3b Fix possible crash in non-cancelled request. 2023-10-28 21:13:52 +04:00
John Preston
49bc8ccd6a Don't gray out background emoji reset icon. 2023-10-28 20:49:20 +04:00
John Preston
b180070ba3 Improve very small quote areas with icons. 2023-10-28 20:49:20 +04:00
John Preston
b40f30ca98 Update Implib.so. 2023-10-28 20:29:01 +04:00
John Preston
c2a1817400 Always use first color as the main one. 2023-10-28 20:19:09 +04:00
John Preston
cb6698cf4a Implement background emoji selector. 2023-10-28 18:06:17 +04:00
John Preston
bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston
effc9873c9 Remove test data in giveaways. 2023-10-27 17:49:31 +04:00
John Preston
9561026cd4 Add change color button with color sample. 2023-10-27 12:26:42 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
cc8408d11c Fix draft options edit, add to topics/replies. 2023-10-26 21:02:15 +04:00
John Preston
a197ed9e95 Allow choosing the link for the preview. 2023-10-26 14:08:52 +04:00
John Preston
3b91e2dee4 Improve editing messages with webpage previews. 2023-10-26 14:08:44 +04:00
John Preston
c035ec6917 Allow sending just webpage preview. 2023-10-26 14:08:44 +04:00
John Preston
041ec1157f Respect invert_media in service notifications. 2023-10-26 14:08:44 +04:00
John Preston
17578be4b9 Edit reply / webpage options together. 2023-10-26 14:08:43 +04:00
John Preston
1409d38ac3 Improve reply options edit design. 2023-10-26 14:08:43 +04:00
John Preston
b463c76eca Allow quote selection only in captions. 2023-10-26 14:08:43 +04:00
John Preston
d62fb5786d Support selecting quote in reply info edit. 2023-10-26 14:08:43 +04:00
John Preston
aad157cf56 Open link on webpreview attach click. 2023-10-26 14:08:43 +04:00
John Preston
2d3e2b1ef8 Fix drafts in topics. 2023-10-26 14:08:43 +04:00
John Preston
91ab82c9da Fix unread counter in General topic. 2023-10-26 14:08:43 +04:00
John Preston
9c23de7f1a Display reply background emoji. 2023-10-26 14:08:43 +04:00
John Preston
60fb5fdaf0 Update color index caches on palette change. 2023-10-26 14:08:43 +04:00
John Preston
4709e11e46 Support two-color quote outlines. 2023-10-26 14:08:43 +04:00
John Preston
8c28ce4c99 [stats] Fix build on layer 166. 2023-10-26 14:08:43 +04:00
John Preston
20c63b98c7 Fix build with Xcode. 2023-10-26 14:08:43 +04:00
John Preston
8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston
b1823d981b Update API scheme, rich preview drafts. 2023-10-26 14:08:42 +04:00
John Preston
b2e8e0431e Start customizable webpages. 2023-10-26 14:08:42 +04:00
John Preston
486d5b63d3 Add countries to giveaway messages. 2023-10-26 14:08:42 +04:00
John Preston
84a1fec7b1 Add flag emoji by country iso2 method. 2023-10-26 14:08:41 +04:00
John Preston
3a84c6afdd Redesign webpage/giveaway/ads bottom button. 2023-10-26 14:08:41 +04:00
John Preston
16d18b437d Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
12fab565a4 Fix Release build with Xcode. 2023-10-26 14:08:41 +04:00
John Preston
f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston
b9af4f3cb0 Show nice replies with quotes. 2023-10-26 14:08:41 +04:00
John Preston
4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston
f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston
ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston
00db325e91 Fix view giveaway details button in forwards. 2023-10-26 14:08:41 +04:00
John Preston
d5429e769f Allow sharing gift code link. 2023-10-26 14:08:41 +04:00
John Preston
714dae054a Jump to giveaway link from gift code box. 2023-10-26 14:08:41 +04:00
John Preston
981babf302 Support giveaway information box. 2023-10-26 14:08:41 +04:00
John Preston
0926bb1288 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston
6c19274eac Support external reply to channel posts. 2023-10-26 14:08:40 +04:00
John Preston
394883b986 Support replying to a different chat. 2023-10-26 14:08:40 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston
a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston
caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston
b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston
d5147c9d28 Partially (italic+colored) support blockquotes. 2023-10-26 14:08:40 +04:00
John Preston
859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston
0e45f3ebd9 Provide more theme keys to webview bots. 2023-10-26 14:08:40 +04:00
John Preston
7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston
e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston
926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston
744c1b925e Handle GiftCode links, show Gift Link box. 2023-10-26 14:08:40 +04:00
John Preston
3fc9ed0ccb Update API scheme to layer 166. 2023-10-26 14:08:39 +04:00
John Preston
0b7d544615 Move Boost.regex definitions to cmake_helpers. 2023-10-26 14:08:39 +04:00
23rd
d19baeace2 Fixed show finishing of info layers. 2023-10-26 14:08:39 +04:00
Ilya Fedin
cd0f58fa65 Implement monochrome tray icon on Windows 2023-10-25 14:23:50 +04:00
John Preston
1f25301283 Beta version 4.10.5.
- Fix crash in replies to messages with spoilers.
- Enter boosts stats from three-dot menu.
2023-10-23 20:20:31 +04:00
23rd
0788f3d7b0 Increased size of arrow in chart point details widget. 2023-10-23 20:19:17 +04:00
23rd
f93b7a60f8 Fixed display of button to show more boosts when boosts are too few. 2023-10-23 20:19:17 +04:00
23rd
d0875a1178 Fixed sliders in footer in statistics info while restoring state. 2023-10-23 20:19:17 +04:00
23rd
29f8493a82 Removed error toast for async graphs. 2023-10-23 20:19:17 +04:00
23rd
d4db838d43 Added message preview to message statistics. 2023-10-23 20:19:17 +04:00
23rd
0be2e8b672 Fixed statistics overview of old messages. 2023-10-23 20:19:17 +04:00
23rd
0aa1031402 Added ability to open message statistics from context menu. 2023-10-23 20:19:17 +04:00
23rd
53c73accd0 Fixed typo in custom shortcut for full screen in media viewer. 2023-10-23 20:19:17 +04:00
23rd
be38800a70 Moved entry point for boosts statistic to channel context menu. 2023-10-23 20:19:17 +04:00
John Preston
f2fa1cd70d Fix crash in non-clickable spoilers. 2023-10-23 08:59:29 +04:00
Ilya Fedin
5dfce5f7b2 Fix direct include of third-party library 2023-10-22 22:20:52 +04:00
Ilya Fedin
2b10e1e595 Update lib_base 2023-10-22 22:20:52 +04:00
Ilya Fedin
eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
John Preston
fde63ccb21 Beta version 4.10.4: Fix build with GCC. 2023-10-21 22:28:23 +04:00
John Preston
b209683c8e Beta version 4.10.4.
- Statistics in channels and group chats.
- Nice looking code blocks with syntax highlight.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
2023-10-21 20:54:47 +04:00
23rd
b6be799938 Fixed processing of error on chart zooming. 2023-10-21 11:42:04 +03:00
23rd
ec8c634e9c Fixed display of arrow on point details widget when no values there. 2023-10-21 11:34:54 +03:00
23rd
b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00
23rd
2ca489b2fb Added initial ability to save and restore state for boosts info. 2023-10-21 09:37:30 +04:00
23rd
daf76c1bc2 Improved style of boosts info. 2023-10-21 09:37:30 +04:00
23rd
d3aa0664a7 Moved boost limits content to divider. 2023-10-21 09:37:30 +04:00
23rd
f61c22b065 Added initial boosts list to boost info. 2023-10-21 09:37:30 +04:00
23rd
8041941565 Added share label and buttons to boost info. 2023-10-21 09:37:30 +04:00
23rd
0aa1cd0b52 Removed three dots button from invite link label when menu is disabled. 2023-10-21 09:37:30 +04:00
23rd
1bbac5784b Added overview of boost info. 2023-10-21 09:37:30 +04:00
23rd
f925a9e961 Added initial boosts info to layer. 2023-10-21 09:37:30 +04:00
23rd
8b6d475882 Added initial entry point for boosts statistic. 2023-10-21 09:37:30 +04:00
23rd
d82c422ea1 Moved out boost limits content from boost box. 2023-10-21 09:37:30 +04:00
23rd
d7e57e42d8 Added API support for boost status and boosts list. 2023-10-21 09:37:30 +04:00
23rd
7ee2ec13f0 Added Data class for boosts. 2023-10-21 09:37:30 +04:00
23rd
a6e13a9f9e Added dummy layer class for boosts. 2023-10-21 09:37:30 +04:00
John Preston
66f73a5a64 Copy code blocks on header click. 2023-10-20 18:07:16 +04:00
John Preston
575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston
9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston
4b618a3578 Fix build with GCC. 2023-10-13 10:10:11 +04:00
John Preston
0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston
dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
23rd
cba8387589 Fixed value types in struct data for drawing of charts. 2023-10-13 05:16:30 +03:00
23rd
01c2ade501 Fixed display of widget for point details on charts on retina. 2023-10-13 03:19:50 +03:00
23rd
b9fa14139a Fixed possible wrong range of clamp in footer of chart widget. 2023-10-13 03:19:50 +03:00
23rd
a8cb5419d6 Fixed available width for text in widget for details on pie charts. 2023-10-12 16:54:24 +03:00
23rd
f775670938 Moved out some classes for widgets in statistical info to directory. 2023-10-12 16:51:13 +03:00
23rd
c035a25aaa Added lottie icon to report box. 2023-10-12 04:42:27 +03:00
23rd
6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
23rd
bee0534052 Added emoji to poll preview. 2023-10-12 03:50:59 +03:00
John Preston
3e11d44cac Closed alpha version 4.10.3.1. 2023-10-11 22:12:35 +04:00
23rd
4d269f6e97 Added animation to pie chart while changing its parts. 2023-10-11 22:12:35 +04:00
23rd
e9496fb612 Improved concurrent API requests of async statistical charts. 2023-10-11 22:12:35 +04:00
23rd
c9c82446cb Added support of weekly range of days to chart views. 2023-10-11 22:12:35 +04:00
23rd
0dec803177 Fixed incorrect position of sliders in chart footer in some cases. 2023-10-11 22:12:35 +04:00
23rd
2dc45ac907 Added ability to restore first public forwards in statistical info. 2023-10-11 22:12:35 +04:00
23rd
a3d8db4ac0 Added ability to save state for recent posts in statistical info. 2023-10-11 22:12:35 +04:00
23rd
aee6b6e224 Fixed possible crash in loading of recent posts for statistical info. 2023-10-11 22:12:35 +04:00
23rd
736efd4692 Added ability to cache loaded chart data of async graphs. 2023-10-11 22:12:34 +04:00
23rd
ec5e846374 Added initial ability to save and restore state of statistical info. 2023-10-11 22:12:34 +04:00
23rd
caf32cccd3 Moved out inner widget of statistical info to separate class. 2023-10-11 22:12:34 +04:00
23rd
594b2bc8f2 Improved style of recent posts in statistical info. 2023-10-11 22:12:34 +04:00
23rd
d1ba270a8c Renamed file of utils for statistical lists. 2023-10-11 22:12:34 +04:00
23rd
2c1abd32bf Added list of members to statistical info of supergroups. 2023-10-11 22:12:34 +04:00
23rd
79662dffa4 Guarded cases when min and max values of charts are equal. 2023-10-11 22:12:34 +04:00
23rd
a79e025151 Slightly refactored code for info of statistic for single message. 2023-10-11 22:12:34 +04:00
23rd
3fa168cee0 Added API class for requesting full statistic of single message. 2023-10-11 22:12:34 +04:00
23rd
9c1ef76e49 Added overview info to statistic for single message. 2023-10-11 22:12:34 +04:00
23rd
8497b83f7c Added list of public forwards to statistics of single message. 2023-10-11 22:12:34 +04:00
23rd
393c23ad12 Added initial ability to open statistics for single message. 2023-10-11 22:12:34 +04:00
23rd
01821cd779 Added second type of info layer for statistics. 2023-10-11 22:12:34 +04:00
23rd
3da733520d Added API support to request list of public forwards for single message. 2023-10-11 22:12:34 +04:00
23rd
a605275157 Added icon to entry point for statistics. 2023-10-11 22:12:34 +04:00
23rd
8564e4d727 Added initial support of recent posts to statistical info. 2023-10-11 22:12:34 +04:00
23rd
fc3acff5d6 Added support of percentages display to details widget. 2023-10-11 22:12:34 +04:00
23rd
515850ec9b Decreased height of header for charts without dates. 2023-10-11 22:12:34 +04:00
23rd
837b256778 Added support of dark theme to statistical charts. 2023-10-11 22:12:34 +04:00
23rd
d16cab30d4 Fixed paint of rulers for stack chart view. 2023-10-11 22:12:34 +04:00
23rd
fcdd7ecd61 Fixed paint glitch of selected bar on stack chart view. 2023-10-11 22:12:34 +04:00
23rd
da9720530a Added ability to filter out lines from chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
4a10d86a29 Fixed state losing in filter buttons on resize of statistics layer. 2023-10-11 22:12:34 +04:00
23rd
3b5a007db5 Added ability to hide footer of chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd
2479b56c3b Added ability to hide part of info on chart ruler when line is filtered. 2023-10-11 22:12:34 +04:00
23rd
0909e8bd08 Reduced line width in footer of charts. 2023-10-11 22:12:34 +04:00
23rd
6109ec70b8 Slightly improved format of dates on charts. 2023-10-11 22:12:34 +04:00
23rd
c20bd17029 Moved zoom out button to right side above chart. 2023-10-11 22:12:34 +04:00
23rd
10e3115c39 Improved style of line filter buttons under charts. 2023-10-11 22:12:34 +04:00
23rd
3425b40746 Improved style of widget for details of selected points on chart. 2023-10-11 22:12:34 +04:00
23rd
42fc4fbb31 Improved style of sliders in footer from charts. 2023-10-11 22:12:34 +04:00
23rd
f081917cd0 Improved style of rulers on charts in statistics. 2023-10-11 22:12:34 +04:00
23rd
bdfb0ffe04 Improved style of statistic overview. 2023-10-11 22:12:34 +04:00
23rd
2b282c8d7d Improved header style for charts. 2023-10-11 22:12:33 +04:00
23rd
77d23ad182 Replaced statistics box with info layer widget. 2023-10-11 22:12:33 +04:00
23rd
79442fde97 Fixed incorrect search of index by value in statistical chart data. 2023-10-11 22:12:33 +04:00
23rd
f8e80bc266 Improved limits of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:33 +04:00
23rd
cb4c629178 Slightly refactored code for statistical charts. 2023-10-11 22:12:33 +04:00
23rd
af0e11a1aa Moved out to td_ui all classes related to statistics. 2023-10-11 22:12:33 +04:00
23rd
8ac6aca315 Split out data for statistics and for charts. 2023-10-11 22:12:33 +04:00
23rd
2638e54181 Fixed available width for text in widget for point details on charts. 2023-10-11 22:12:33 +04:00
23rd
db97db4aba Fixed crash on closing statistics with locally zoomed in chart. 2023-10-11 22:12:33 +04:00
23rd
ded3f135bb Improved casting of limits for std::distance in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
be82df72e6 Fixed possible crash in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
3fa6335b24 Added API support to request statistical graph for single message. 2023-10-11 22:12:33 +04:00
23rd
23868bf9cc Added ability to hide charts without data in statistics box. 2023-10-11 22:12:33 +04:00
23rd
5b67f4ac9b Added overview info to statistic of supergroup. 2023-10-11 22:12:33 +04:00
23rd
17fdef7d9e Added chart widgets for statistic of supergroups. 2023-10-11 22:12:33 +04:00
23rd
cf82e12bf4 Added serialization from TL to statistics data for supergroups. 2023-10-11 22:12:33 +04:00
23rd
6f27aeef10 Added overview info to statistic of channels. 2023-10-11 22:12:33 +04:00
23rd
df53ddf837 Added all chart widgets for statistic of channels. 2023-10-11 22:12:33 +04:00
23rd
a3fd4f3fac Added label to box for statistic while loading. 2023-10-11 22:12:33 +04:00
23rd
24c0624704 Added support of default zoom to statistical charts. 2023-10-11 22:12:33 +04:00
23rd
33724be6ea Added support of theme colors for lines on statistical charts. 2023-10-11 22:12:33 +04:00
23rd
4624d34f68 Fixed display of outer points on linear chart. 2023-10-11 22:12:33 +04:00
23rd
aeee016dc9 Fixed animation of line filtering in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd
8ded88baf5 Moved out control of animations for line filtering to separated class. 2023-10-11 22:12:33 +04:00
23rd
bdd35a6e2b Added ability to handle mouse move to chart views. 2023-10-11 22:12:31 +04:00
23rd
d9a08bb6a6 Fixed smooth paint of stack linear chart on move of footer slider. 2023-10-11 22:12:31 +04:00
23rd
cee833f102 Fixed paint of selected X index in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
c19a527872 Fixed position of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:31 +04:00
23rd
6995fcafb5 Fixed mouse selection of pie chart with single part. 2023-10-11 22:12:31 +04:00
23rd
b261d23645 Fixed display of zoomed days in pie chart view. 2023-10-11 22:12:31 +04:00
23rd
21c1ba7607 Fixed display of selected days in zoomed stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
5a2b8d06e3 Fixed paint of zoomed footer in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
9046daa1a6 Fixed limit of days for zoom in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
65ccb4059e Changed range of slider in footer from chart widget. 2023-10-11 22:12:31 +04:00
23rd
d2578e9e47 Added minimal size of pie part for text on pie chart view. 2023-10-11 22:12:31 +04:00
23rd
be17e2b919 Slightly refactored variables in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
26c2e7f245 Improved round of percentages in pie chart view. 2023-10-11 22:12:31 +04:00
23rd
9051716172 Added initial support of sync zoom to chart widget. 2023-10-11 22:12:31 +04:00
23rd
71b6a58683 Added initial support of sync zoom of charts to stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd
32cd454554 Moved out chart header to separated files. 2023-10-11 22:12:30 +04:00
23rd
6ffe555f6a Fixed animation processing after selecting part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
7ac9ab3a51 Added support to hide chart elements with opacity from chart view. 2023-10-11 22:12:30 +04:00
23rd
a9b0464726 Moved out context for chart paint to separated structure. 2023-10-11 22:12:30 +04:00
23rd
e4e85e5a39 Added ability to move slider in chart widget footer from outside. 2023-10-11 22:12:30 +04:00
23rd
c5f294a1ac Added paint of footer for zoomed stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
5dc078a3f8 Removed selection of last enabled part on pie chart. 2023-10-11 22:12:30 +04:00
23rd
83753343cb Added details popup to selected part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
42215343cf Added ability to select part of pie chart. 2023-10-11 22:12:30 +04:00
23rd
bedefee1d1 Added initial appear animation of text to pie chart. 2023-10-11 22:12:30 +04:00
23rd
788eb014d4 Added ability to paint pie chart as zoomed stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
13b7a07d2e Added initial transition animation to stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
f026271436 Added initial implementation of stack linear chart. 2023-10-11 22:12:30 +04:00
23rd
d13fe39629 Added ability to paint horizontal lines for double linear charts. 2023-10-11 22:12:30 +04:00
23rd
62b3b60c45 Added initial support of double linear chart to view. 2023-10-11 22:12:30 +04:00
23rd
74313d23f3 Added new type of chart view for double linear charts. 2023-10-11 22:12:30 +04:00
23rd
646390141a Moved out paint of horizontal lines for charts to separated view class. 2023-10-11 22:12:30 +04:00
23rd
83cf12b475 Slightly reduced size of buttons in container to filter chart lines. 2023-10-11 22:12:30 +04:00
23rd
a0226f9789 Added support of different chart types in chart widget. 2023-10-11 22:12:30 +04:00
23rd
54fecd497e Added icon to widget for point details on chart when zoom is enabled. 2023-10-11 22:12:30 +04:00
23rd
2106747496 Decreased size of widget for point details on chart. 2023-10-11 22:12:30 +04:00
23rd
ecce9dbaaa Added ability to hide point details on chart by second click. 2023-10-11 22:12:30 +04:00
23rd
b606a7b21d Added initial animation and selection to stack chart view. 2023-10-11 22:12:30 +04:00
23rd
35ff45971f Added support of async charts for main graphs. 2023-10-11 22:12:30 +04:00
23rd
7a436f32dd Moved out search of clicked index on chart to chart view. 2023-10-11 22:12:30 +04:00
23rd
54d5358b75 Fixed position of selected X in linear chart animations. 2023-10-11 22:12:30 +04:00
23rd
20c2250abb Added initial implementation of painting of stack chart. 2023-10-11 22:12:30 +04:00
23rd
2ddc1ee2e1 Implemented calculation of chart height in stack chart view. 2023-10-11 22:12:30 +04:00
23rd
b55d2008c0 Added dummy class for stack chart view. 2023-10-11 22:12:30 +04:00
23rd
11b932707c Moved out calculation of height limits to abstract chart view class. 2023-10-11 22:12:30 +04:00
23rd
d50aca0d33 Created abstract chart view class. 2023-10-11 22:12:30 +04:00
23rd
671e81033c Moved files of linear chart view class to directory. 2023-10-11 22:12:30 +04:00
23rd
361d269bf3 Added support of custom header in chart widget with zoomed chart. 2023-10-11 22:12:30 +04:00
23rd
ae81373cff Slightly improved display management of delayed widgets in chart widget. 2023-10-11 22:12:30 +04:00
23rd
160794b26c Added support of chart titles to Data and API classes for statistics. 2023-10-11 22:12:30 +04:00
23rd
1dc57afbe1 Added some phrases for chart titles in chart widget. 2023-10-11 22:12:30 +04:00
23rd
d9f397ea3f Added display of toast with potential human-readable errors from server. 2023-10-11 22:12:30 +04:00
23rd
c9a976bf87 Added initial support of zooming single chart to chart widget. 2023-10-11 22:12:30 +04:00
23rd
7b921dea3b Replaced bad sizeValue with intended resizeGetHeight in chart widget. 2023-10-11 22:12:30 +04:00
23rd
fcc6aaed91 Added mouse click support to point details widget. 2023-10-11 22:12:30 +04:00
23rd
eb0ab9609f Added API support for request of async zoom single chart. 2023-10-11 22:12:30 +04:00
23rd
bb359f6493 Fixed crash in charts with equal minimum and maximum values. 2023-10-11 22:12:30 +04:00
23rd
b24be50afe Improved format of timestamp in point details widget. 2023-10-11 22:12:30 +04:00
23rd
3e55380eed Returned support of detail dots to linear chart view class. 2023-10-11 22:12:30 +04:00
23rd
25c97a3ee8 Cached both main and footer charts in single linear chart view. 2023-10-11 22:12:30 +04:00
23rd
2055cc70d1 Removed chart line view context. 2023-10-11 22:12:30 +04:00
23rd
788a81df6c Removed some duplicated code from chart line view context. 2023-10-11 22:12:30 +04:00
23rd
1209bd35c5 Replaced static function for linear chart paint with dedicated class. 2023-10-11 22:12:30 +04:00
23rd
f473a1a804 Attempted to increase performance of chart paint by caching every frame. 2023-10-11 22:12:30 +04:00
23rd
c8e95f7297 Improved y-axis animation again to look much better. 2023-10-11 22:12:30 +04:00
23rd
b1ed8cd1b1 Fixed bug of display for y-axis captions with instant delivered data. 2023-10-11 22:12:30 +04:00
23rd
64bb818fe9 Added initial display of footer while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
ee172d951d Added support to hide name and value of line in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd
41bc47eb6f Faded out detail dot of filtered chart line. 2023-10-11 22:12:29 +04:00
23rd
423d2293f9 Kept point details widget while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
e6559276c0 Added class to calculate context state while chart lines are filtering. 2023-10-11 22:12:29 +04:00
23rd
13959ca36c Added buttons container to filter chart line to chart widget. 2023-10-11 22:12:29 +04:00
23rd
520989a7e6 Added initial ability to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd
4c02d19a51 Added implementation of buttons container to filter chart lines. 2023-10-11 22:12:29 +04:00
23rd
734e1166ad Removed from display point details widget with invalid index. 2023-10-11 22:12:29 +04:00
23rd
94fd3e32dd Added own value of height for chart widget. 2023-10-11 22:12:29 +04:00
23rd
367adaa44d Attempted to increase performance when paint complicated charts. 2023-10-11 22:12:29 +04:00
23rd
73b4621121 Cached current x-axis indices to reduce redundant calculations. 2023-10-11 22:12:29 +04:00
23rd
8256a4c686 Completely replaced widgets in footer with nice path paint. 2023-10-11 22:12:29 +04:00
23rd
b6b6673214 Initially replaced buttons in footer with cached arrows. 2023-10-11 22:12:29 +04:00
23rd
8ba2e95e6c Added paint of inactive area in footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd
40ab042fb5 Added support of very large values in PointDetailsWidget. 2023-10-11 22:12:29 +04:00
23rd
25f401c22e Changed color of axis captions to grey. 2023-10-11 22:12:29 +04:00
23rd
d8566f770f Removed chart paint below bottom line in chart widget. 2023-10-11 22:12:29 +04:00
23rd
f76f69b5cd Moved out details dots above horizontal line captions. 2023-10-11 22:12:29 +04:00
23rd
487dd27ca1 Added padding to y-axis captions in chart widget. 2023-10-11 22:12:29 +04:00
23rd
32df03f08d Fixed text overlap on y-axis captions when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd
658db59aaf Replace Simple with Basic for animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd
695542cfd2 Added initial animation of chart y-axis captions. 2023-10-11 22:12:29 +04:00
23rd
07cd35b1a8 Added fade animation to details widget on charts. 2023-10-11 22:12:29 +04:00
23rd
74aae29b64 Added point details widget to chart widget. 2023-10-11 22:12:29 +04:00
23rd
70713d5f62 Moved paint of chart to inner widget within chart widget. 2023-10-11 22:12:29 +04:00
23rd
dd1b006d8a Created RpMouseWidget class for easier mouse processing. 2023-10-11 22:12:29 +04:00
23rd
ec8d604db7 Added initial widget implementation of point details in charts. 2023-10-11 22:12:29 +04:00
23rd
9e8d60065b Slightly improved code style in PaintLinearChartView. 2023-10-11 22:12:29 +04:00
23rd
d603f4de51 Reduced redundant calculations of animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
77695091b3 Slightly clarified name of y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
20e81177a6 Fixed first show of chart widget with new data. 2023-10-11 22:12:29 +04:00
23rd
ce3ad95950 Removed useless processing for changing drag direction. 2023-10-11 22:12:29 +04:00
23rd
c5684e768a Slightly optimized footer in chart widget. 2023-10-11 22:12:29 +04:00
23rd
c8d5a60c74 Moved out processing of chart animation to separate class. 2023-10-11 22:12:29 +04:00
23rd
4dad0a215a Removed some unused data chart widget. 2023-10-11 22:12:29 +04:00
23rd
15698fd6f0 Tried to fix animation bug when mouse drag is really fast. 2023-10-11 22:12:29 +04:00
23rd
cd4654dfd2 Tried to fix some bugs with alpha of horizontal lines in chart widget. 2023-10-11 22:12:29 +04:00
23rd
3a3d4480cc Added acceleration to y-axis animation in chart widget. 2023-10-11 22:12:29 +04:00
23rd
5c3748db56 Added tools to test animation for left and right edges with same speed. 2023-10-11 22:12:29 +04:00
23rd
7dfdcc7be0 Added some work in progress to improve horizontal line animation. 2023-10-11 22:12:29 +04:00
23rd
d1f2950167 Added initial animation of horizontal lines in chart widget.
The animation is only top-down for now.
2023-10-11 22:12:29 +04:00
23rd
59f61586a9 Improved code style in chart widget. 2023-10-11 22:12:29 +04:00
23rd
629dd6f9de Added dirty implementation of chart animation with both axes. 2023-10-11 22:12:29 +04:00
23rd
f4fc8ec2c4 Added initial chart y-axis animation without x-axis. 2023-10-11 22:12:29 +04:00
23rd
e8aa55d4d8 Added initial support of static zoom for chart widget. 2023-10-11 22:12:29 +04:00
23rd
26b17325aa Added initial implementation of footer in statistic chart widget. 2023-10-11 22:12:29 +04:00
23rd
c71f35778d Added API support of channel flag for channel statistics. 2023-10-11 22:12:29 +04:00
23rd
c9eb9a3ee0 Added initial widget with full zoom static linear chart. 2023-10-11 22:12:29 +04:00
23rd
06948ad15e Added Data class for horizontal lines on statistic charts. 2023-10-11 22:12:29 +04:00
23rd
029e0c9488 Added deserialization from JSON to statistics data to API. 2023-10-11 22:12:29 +04:00
23rd
c0219cb95d Added deserialization from JSON to statistics data. 2023-10-11 22:12:29 +04:00
23rd
78e553b724 Added usage of segment tree in Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd
b5b70beea0 Added implementation of class for segment tree. 2023-10-11 22:12:28 +04:00
23rd
177a7eaf43 Added initial serialization from TL data to statistics data. 2023-10-11 22:12:28 +04:00
23rd
ca863bfb5b Added dummy Data class for statistics. 2023-10-11 22:12:28 +04:00
23rd
c45025c6e5 Added dummy API class for statistics. 2023-10-11 22:12:28 +04:00
23rd
10968d0da2 Added dummy box class for statistics. 2023-10-11 22:12:28 +04:00
23rd
b0a65885c9 Added initial entry point for channel statistics. 2023-10-11 22:12:28 +04:00
John Preston
ad8f8513c3 Link crashpad_handler with Xcode bug workaround. 2023-10-11 22:12:28 +04:00
23rd
f457a9d109 Added ability to fast change forward options with right click on panel. 2023-10-11 21:10:56 +03:00
Ilya Fedin
830fb3ccc2 Update submodules 2023-10-11 21:54:42 +04:00
Ilya Fedin
9116328f29 Update to Qt 6.6.0 release on Linux 2023-10-11 21:54:42 +04:00
John Preston
aa7575dec4 Highlight more languages. 2023-10-11 08:45:50 +04:00
John Preston
bfe272e39f Fix highlighting of the closing bracket. 2023-10-11 08:45:50 +04:00
23rd
a7ca15657b Fixed master branch updater Github Action. 2023-10-11 06:06:03 +03:00
23rd
41dada2c06 Fixed shadows in userpic builder with non-default scale. 2023-10-11 06:06:03 +03:00
John Preston
501784cd15 Attempt to fix Snap build. 2023-10-08 07:02:40 +04:00
Ilya Fedin
ac699ccf80 Update submodules 2023-10-07 07:08:21 +04:00
Ilya Fedin
aadaf47569 Add boost-regex to snap 2023-10-07 07:08:21 +04:00
Ilya Fedin
6bc0179919 Work with GLIB_VERSION_MAX_ALLOWED 2023-10-07 07:08:21 +04:00
Ilya Fedin
93fbad50bc Downgrade qtwayland to 6.5.3 2023-10-07 07:08:21 +04:00
Ilya Fedin
a5ec616382 Downgrade qtsvg to 6.5.3 in snap
As a better crash workaround
2023-10-07 07:08:21 +04:00
John Preston
bf3f474195 Fix label position in peer editing. 2023-10-06 17:49:34 +04:00
John Preston
14f68c2f33 Fix webview on Windows & macOS. 2023-10-06 17:49:34 +04:00
John Preston
92fadd2652 Fix build with GCC 12. 2023-10-06 16:28:45 +04:00
John Preston
b68a7c7f04 Update submodules. 2023-10-06 09:03:28 +04:00
John Preston
50097e1a81 Show spellcheck suggestions on Ctrl+Space.
Fixes #26892.
2023-10-05 10:36:30 +04:00
John Preston
2414e927bd Add initial code syntax highlighting.
Thanks PrismJS and Fela for porting it to C++.
2023-10-04 22:29:16 +04:00
John Preston
da768ac1d1 Add libprisma from Fela for syntax highlighting. 2023-10-04 22:28:47 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
23rd
2b3f17e982 Removed call button from history with service user. 2023-10-04 20:38:14 +04:00
John Preston
5ef48cac9c Use shared_ptr<Factory> as settings section id. 2023-10-04 20:38:14 +04:00
John Preston
6ba922d7b0 Fix channel stories open from chats list. 2023-10-04 20:38:14 +04:00
Ilya Fedin
f881192dd0 Don't enter settings after update 2023-10-04 12:10:33 +04:00
Ilya Fedin
ef2a0bb05e Add libnvidia-egl-wayland1 to snap 2023-10-04 12:10:19 +04:00
Ilya Fedin
54efa2353e Update submodules 2023-10-04 12:07:36 +04:00
Ilya Fedin
2878533078 Re-throw original exception in Linux notification's StartServiceAsync 2023-10-04 12:07:36 +04:00
Sergey A. Osokin
ac520b314d Fix build on FreeBSD 2023-10-02 18:47:10 +04:00
John Preston
871fef2c4a Version 4.10.3.
- Fix crash on external link opening. (Linux only)
2023-10-02 17:56:10 +04:00
John Preston
99f4b93745 Attempt to fix build with Clang on Linux. 2023-10-02 17:56:10 +04:00
Ilya Fedin
a757e07c3a Line length clean up in notifications_manager_linux 2023-10-02 16:11:02 +04:00
Ilya Fedin
5c4f006550 Avoid Windows-specific hack to ruin initial main window geometry on Linux 2023-10-02 07:05:21 +04:00
John Preston
9ad38b9638 Update lib_base submodule. 2023-10-01 21:54:44 +04:00
Ilya Fedin
fe8ebc1659 Update patches on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin
a732d8f5e7 Disable vfork in Qt on Linux 2023-10-01 07:25:58 +04:00
Ilya Fedin
7ddcc47fcd Make UnsafeShowOpenWith inline on Linux 2023-10-01 06:54:39 +04:00
Ilya Fedin
70f22293cf Get rid of last non-standard piece in Linux FileDialog getter 2023-10-01 06:54:39 +04:00
John Preston
90fb59348c Try fixing Docker action. 2023-09-29 20:38:21 +04:00
John Preston
daf545a72a Version 4.10.2: Try fixing Snap action. 2023-09-29 19:29:53 +04:00
John Preston
771869e945 Version 4.10.2: Fix build with GCC. 2023-09-29 09:36:10 +04:00
John Preston
ac1fe2cfee Update submodules. 2023-09-29 09:04:43 +04:00
John Preston
ed064ee13c Version 4.10.2.
- Bug fixes and other minor improvements.
2023-09-29 00:15:19 +04:00
John Preston
9fcdec4166 Update libvpx revision. 2023-09-29 00:15:19 +04:00
John Preston
bd4cf82405 Don't highlight links in non-premium stories. 2023-09-28 23:51:30 +04:00
John Preston
3653a6f011 Improve confirm box text padding. 2023-09-28 23:51:30 +04:00
John Preston
adc6930ac6 Skip irrelevant message on changelog story hiding. 2023-09-28 23:51:30 +04:00
John Preston
7305d542ba Fix possible crash in message context menu. 2023-09-28 23:51:30 +04:00
John Preston
874c84ad4e Fix file reference refresh in story forward. 2023-09-28 23:51:29 +04:00
John Preston
4edb11f128 Show channel stories in chats list. 2023-09-28 23:51:29 +04:00
John Preston
785014f7b7 Extract premium layer top bar widget. 2023-09-28 23:51:29 +04:00
John Preston
4cb5bea69b Update API scheme to layer 165. 2023-09-28 23:51:29 +04:00
Ilya Fedin
07bc84d425 Update submodules 2023-09-27 10:32:24 +04:00
Ilya Fedin
9019a2cb08 Remove an unneeded intermediate variable 2023-09-27 10:32:24 +04:00
Ilya Fedin
716cc6ef9e Workaround a crash in snap 2023-09-27 10:32:24 +04:00
Ilya Fedin
a509be99b0 Update Qt to 6.6.0-rc1 on Linux 2023-09-26 14:12:26 +04:00
Ilya Fedin
618ce15b21 Revert "Workaround Wayland popup menu bug."
This reverts commit 51027a0bc2.
2023-09-26 12:26:18 +04:00
Ilya Fedin
d2b5651c3b Patch Qt for better open url UX on Linux 2023-09-26 12:22:24 +04:00
Ilya Fedin
51ff484913 Update Qt to 6.6.0-beta4 on Linux 2023-09-26 12:15:33 +04:00
John Preston
547a5a14df Correct stories count in the Info title. 2023-09-26 12:12:43 +04:00
John Preston
5179d9a03f Workaround Xcode 15 linker bugs with -Wl,-ld_classic. 2023-09-25 21:37:34 +04:00
John Preston
26e84dbab2 Fix drag starting item. 2023-09-25 21:37:00 +04:00
John Preston
013c8ebeb4 Allow reactions for changelog stories. 2023-09-25 21:36:51 +04:00
John Preston
846e96579d Fix direct story links for channels. 2023-09-25 17:53:02 +04:00
John Preston
eaa491518e Remove changelog stories on archive attempt. 2023-09-25 17:39:18 +04:00
John Preston
4df7761e9d Allow deleting selected messages by backspace. 2023-09-25 12:55:29 +04:00
John Preston
6cdc8f9dbc Fix libvpx pkg-config generation on Windows.
Fixes #26849.
2023-09-25 12:41:34 +04:00
John Preston
95e4abd784 Extract system-specific parts of prepare env. 2023-09-25 12:41:34 +04:00
John Preston
6f9a540a61 Fix crash when libvpx decoder is absent.
Fixes #26849.
2023-09-25 12:41:34 +04:00
John Preston
137fca73bd Fix premium counter bubble with disabled animations. 2023-09-25 12:41:34 +04:00
John Preston
2159307643 Accept https://t.me/boost/channelusername links. 2023-09-25 12:41:34 +04:00
23rd
ded570a480 Fixed display of bulk download menu item on restricted content. 2023-09-25 06:27:08 +03:00
John Preston
4fd68d97d5 Merge remote-tracking branch into dev 2023-09-23 21:24:20 +04:00
John Preston
edfe998811 Fix build of minidump_stackwalk. 2023-09-23 21:23:51 +04:00
John Preston
116ae04f54 Add missing OpenGL resource deinitialization in viewer 2023-09-23 20:38:10 +04:00
Ilya Fedin
ce8e42bcc2 Support Wayland display reconnection 2023-09-23 20:38:10 +04:00
John Preston
ea9386f0aa Version 4.10.1: Rebuild macOS with older Xcode. 2023-09-23 19:25:24 +04:00
Ilya Fedin
58451aed91 Fix debug build on Linux 2023-09-23 06:29:10 +04:00
John Preston
a6df03d990 Version 4.10: Fix channel stories phrases. 2023-09-22 20:59:37 +04:00
John Preston
16b1881268 Version 4.10: Fix spawning args on Linux. 2023-09-22 20:16:22 +04:00
John Preston
0d25b154d9 Version 4.10.
- Stories for Channels.
- Reaction Stickers in Stories.
2023-09-22 18:12:35 +04:00
John Preston
89fac88677 Beta version 4.9.10: Fix after-update relaunch. 2023-09-22 16:08:41 +04:00
John Preston
9604a3bd80 Beta version 4.9.10: Remove legacy checks. 2023-09-22 11:51:47 +04:00
John Preston
5b3ffc778d Merge remote-tracking branch 'origin/dev' into dev 2023-09-22 11:50:47 +04:00
John Preston
c6c06c149d Check AppUserModelId better. 2023-09-22 11:50:41 +04:00
John Preston
a37f7077b0 Beta version 4.9.10: Fix build with GCC. 2023-09-22 11:06:03 +04:00
John Preston
5514ab0ccf Fix warnings after Xcode 15 / target 10.13 update. 2023-09-22 11:01:46 +04:00
John Preston
63a753d35c Beta version 4.9.10.
- Update Qt to 6.2.5 on macOS.
- Update minimum target to macOS 10.13 and toolchain to Xcode 15.
- Update Linux build host from CentOS 7 to Rocky Linux 8.
- Update Linux toolchain to GCC 12.
2023-09-22 09:43:32 +04:00
John Preston
4e82b7973f Suppress warning in libtgvoip json11. 2023-09-22 09:43:32 +04:00
John Preston
09094affed Improve boosted channel replacement design. 2023-09-22 09:43:32 +04:00
John Preston
c5634580f6 Add view button to channel boost link previews. 2023-09-22 09:43:32 +04:00
John Preston
7828a92f08 Implement views/reactions polling in channels. 2023-09-22 09:43:32 +04:00
John Preston
e60e65f574 Toggle suggested reaction counter animated. 2023-09-22 09:43:32 +04:00
John Preston
7a25d70240 Support all cases for BoostBox. 2023-09-22 09:43:32 +04:00
John Preston
01428572b0 Add shadow for white suggested reactions. 2023-09-22 09:43:32 +04:00
John Preston
a43a5ce6c5 Improve reaction selector position. 2023-09-22 09:43:32 +04:00
John Preston
d4ba01bad0 Suggested reaction effect around the widget. 2023-09-22 09:43:32 +04:00
John Preston
5d5cae7860 Implement suggested reaction count. 2023-09-22 09:43:32 +04:00
John Preston
f3db7e636b Implement channel stories views / reactions. 2023-09-22 09:43:32 +04:00
John Preston
1c2951598b Handle t.me/channel?boost links. 2023-09-22 09:43:32 +04:00
John Preston
39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
John Preston
29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston
b2c9a92c3e Hide reply field in channel stories. 2023-09-22 09:43:31 +04:00
John Preston
f3647d7f8c Show saved stories / current stories in channels. 2023-09-22 09:43:31 +04:00
John Preston
f3e65181cd Initial suggested reaction implementation. 2023-09-22 09:43:31 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
Ilya Fedin
1bde096417 Minimize amount of code to rebuild when switching options 2023-09-22 09:14:01 +04:00
John Preston
3db0b11a6b Bump minimum macOS deployment target to 10.13. 2023-09-22 09:03:12 +04:00
John Preston
8d00d93949 Fix uninitialized warning in build with GCC. 2023-09-22 09:03:00 +04:00
Ilya Fedin
277fe540dc Update Qt to 6.2.5 on macOS 2023-09-22 08:49:53 +04:00
Ilya Fedin
1683dccb50 Always set AppUserModelID on Windows 2023-09-21 13:39:26 +04:00
Ilya Fedin
47195e316f Don't load SetCurrentProcessExplicitAppUserModelID dynamically
It's supported since Windows 7
2023-09-21 13:39:26 +04:00
Ilya Fedin
8c9014fcf6 Update all third party submodules 2023-09-21 12:53:07 +04:00
Ilya Fedin
2d7675ace0 Update all dependencies in snap 2023-09-21 12:53:07 +04:00
Ilya Fedin
61cc7efc2a Update all dependencies in Dockerfile 2023-09-21 12:53:07 +04:00
Ilya Fedin
0464a558f0 Add Qt window frame string for Wayland 2023-09-21 12:49:45 +04:00
Ilya Fedin
ff9321e971 Main thread deadlock detector for debug mode 2023-09-21 12:23:23 +04:00
John Preston
d10b7e8402 Update tg_owt+libyuv/libvpx to chromium revisions. 2023-09-21 11:10:44 +04:00
Ilya Fedin
71f3f67fe3 Update submodules & patches on Linux 2023-09-21 10:30:09 +04:00
Ilya Fedin
47983d59fb Use -fno-omit-frame-pointer for better backtraces 2023-09-20 22:32:35 +04:00
Ilya Fedin
df29af5aea CentOS 7 -> Rocky Linux 8 2023-09-20 22:32:35 +04:00
Ilya Fedin
27b443b24d Use QStandardPaths to find the externalupdater config
That should be more convenient for everyone and cross-platform...
2023-09-20 18:05:45 +04:00
Ilya Fedin
7b4a542890 Always wait for updater to exit on Linux 2023-09-20 18:05:45 +04:00
Ilya Fedin
db6c69fa5f Move writeprotected to global updater variables on Linux 2023-09-20 18:05:45 +04:00
Ilya Fedin
7dfeea3f4e Get rid of workingDirChosen variable
It's set in every codepath where cWorkingDir is non-empty.
2023-09-20 18:05:45 +04:00
Ilya Fedin
92a41c881d Consolidate cForceWorkingDir(psAppDataPath()) 2023-09-20 18:05:45 +04:00
Ilya Fedin
3d769a6dce Get rid of cForceWorkingDir(cWorkingDir())
It has no sense as no code sets working directory directly to the variable anymore.
2023-09-20 18:05:45 +04:00
Ilya Fedin
330dfaa4d9 Consolidate MoveOldDataFiles path determinition 2023-09-20 18:05:45 +04:00
Ilya Fedin
b35fff01b0 Restore initial working directory on restart
So executable path computation still works for the new instance on systems deducing it by argv0
2023-09-20 18:05:45 +04:00
Ilya Fedin
cc19928977 Fix logging initial working directory when TelegramForcePortable exists 2023-09-20 18:05:45 +04:00
Ilya Fedin
c5424d0a9a Get rid of unneeded + '/' for cForceWorkingDir
It does the same on its own
2023-09-20 18:05:45 +04:00
Ilya Fedin
f3572e52ac Don't create a QDir instance for its static setCurrent method 2023-09-20 18:05:45 +04:00
Ilya Fedin
949c486cac Use a higher-level API for restarts/updates on Linux
This gets rid of the custom arguments container
2023-09-20 18:05:45 +04:00
Ilya Fedin
082b5ba782 Get rid of sandboxed paths workaround
This is fixed in xdg-desktop-portal 1.17.

There's no way to check xdg-desktop-portal version so it's either not having support for passing last used path at all in sandbox or encountering the bug on old systems.
2023-09-20 17:58:41 +04:00
Ilya Fedin
0f86968afd Use ServerInformation without std::optional 2023-09-20 17:52:39 +04:00
Ilya Fedin
90f52d80d7 Avoid global copying in Linux native notifications 2023-09-20 17:52:39 +04:00
Ilya Fedin
4e97599e9d Use Glib::ustring in Linux notification globals 2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b3e69351 Update range-v3 to 0.18.0 2023-09-20 17:52:39 +04:00
Ilya Fedin
e0b4d1edce Avoid unneeded std::string casts in exception handling 2023-09-20 17:45:37 +04:00
John Preston
a54bc449e4 Version 4.9.9: Add support for Emoji 15. 2023-09-18 23:38:59 +04:00
Ilya Fedin
ea41aab713 Make use of templated XDP::ReadSetting 2023-09-18 19:52:48 +04:00
John Preston
fd00450f44 Version 4.9.9.
- Several crash fixes.
2023-09-18 12:45:55 +04:00
John Preston
e22aed55b0 Update submodules. 2023-09-18 12:44:20 +04:00
Ilya Fedin
cb838e6e52 Make use of the new XDP::SettingWatcher constructor 2023-09-18 12:44:20 +04:00
John Preston
3c931b11d6 Clear CacheHelper::waiting mutex in time.
I hope this fixes crashes in streaming semaphore usage.

CacheHelper::waiting points to Context::_semaphore, so it
should be cleared before Context is destroyed, not later.
2023-09-18 12:40:02 +04:00
John Preston
a14dbffb65 Fix possible crash in pinned message deletion. 2023-09-18 12:40:02 +04:00
John Preston
64dcae3174 Destroy volume dropdown after volume toggle.
This fixes https://bugs.telegram.org/c/31989

When destroying the dropdown first, the volume toggle receives an Enter
event and tries to show the dropdown (that is being destroyed).
2023-09-18 12:40:02 +04:00
John Preston
6af527ac76 Set dynamic box name to crash annotations. 2023-09-18 12:40:01 +04:00
John Preston
e1624e5d22 Fix a possible crash in translations. 2023-09-18 12:40:01 +04:00
Ilya Fedin
21857450f3 Update lib_base 2023-09-17 19:54:54 +04:00
Ilya Fedin
8ea4f26e31 Simplify some using-s 2023-09-17 19:54:54 +04:00
John Preston
76ac6c3be7 Version 4.9.8.
- Fix t.me/botname?startapp=token deeplinks.
- Fix a possible crash in media viewer on Wayland.
2023-09-16 07:55:02 +04:00
John Preston
c4c5036ec0 Update submodules. 2023-09-16 07:39:28 +04:00
Ilya Fedin
ad87c2a15e Re-use the Wayland AutoDestroyer's lifetime in WaylandIntegration::Private 2023-09-16 06:26:51 +04:00
Ilya Fedin
7dbf331e18 Fix org_kde_plasma_surface destroyer lambda leak 2023-09-16 06:26:51 +04:00
John Preston
ab53b4eab7 Fix build of Packer. 2023-09-15 21:48:23 +04:00
John Preston
7d678e5fa7 Fix ringtones downloaded to disk. 2023-09-15 21:18:14 +04:00
John Preston
6adb3e7200 Fix build on macOS. 2023-09-15 20:42:23 +04:00
Ilya Fedin
7906be37b6 Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE) 2023-09-15 19:52:22 +04:00
John Preston
c12743925e Support ?startapp=value start_param passing. 2023-09-15 15:36:09 +04:00
John Preston
b17b806d91 Add hide-chats-list-in-forums setting. 2023-09-15 15:36:09 +04:00
John Preston
98ab91a56a More correct way of applying min stories. 2023-09-14 10:58:29 +04:00
John Preston
0f8d9e885a Re-update lib_base submodule. 2023-09-14 10:15:22 +04:00
John Preston
bc891ca55e Don't build too much in libwebp. 2023-09-14 10:10:54 +04:00
Ilya Fedin
9653cfdd56 Update lib_base 2023-09-14 09:27:13 +04:00
Ilya Fedin
0b4a255acc Use SNAP_INSTANCE_NAME in SingleInstanceLocalServerName
That's what snapd's apparmor profiles use
2023-09-14 09:27:13 +04:00
John Preston
94feb953aa Version 4.9.7.
- Fix direct bot web app links handling.
- Close main menu when opening a web app.
- Bump libwebp revision.
2023-09-13 21:16:03 +04:00
John Preston
7b65c9174f Link system libwebp instead of Qt-s. 2023-09-13 21:07:24 +04:00
John Preston
e74021fbc9 Show "Open Bot" button for main menu apps. 2023-09-13 20:51:01 +04:00
John Preston
e6a474d720 Close main menu on a web app opening. 2023-09-13 20:51:01 +04:00
23rd
976c696004 Slightly improved style of mini icons in dialogs list for replies story. 2023-09-13 12:09:16 +03:00
John Preston
c057c88d30 Try title overscroll colors only on macOS. 2023-09-13 09:04:29 +04:00
John Preston
674bab69f5 Send viewport updates in web-apps. 2023-09-13 09:04:28 +04:00
John Preston
97d93b23dc Fix direct bot app links. 2023-09-13 08:24:38 +04:00
23rd
d363a6ea84 Replaced url click handler in view buttons with external sponsored link. 2023-09-13 00:34:00 +03:00
John Preston
da7e8a8dc3 Version 4.9.6: Fix build. 2023-09-12 21:14:01 +04:00
John Preston
4296f93e1a Version 4.9.6.
- Some bot web-app improvements.
- Bug fixes and other minor improvements.
2023-09-12 21:02:22 +04:00
John Preston
d0b16ce05b Fix macOS webview transparent background. 2023-09-12 21:01:12 +04:00
John Preston
c3340fd016 Don't destroy by timer single-view media. 2023-09-12 21:01:12 +04:00
John Preston
36f1a18b3b Show terms on attach bot direct link app. 2023-09-12 21:01:12 +04:00
John Preston
ef969df86e Improve main menu bots disclaimer acceptance. 2023-09-12 21:01:12 +04:00
John Preston
229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
John Preston
fbd8abc1c6 Start main menu bots. 2023-09-12 21:01:12 +04:00
John Preston
73f3110403 Update API scheme to layer 163. 2023-09-12 21:01:11 +04:00
Ilya Fedin
dfa5386a27 Ensure closing is supported for running in background 2023-09-12 19:49:48 +04:00
John Preston
e5227a7e05 Improve OpenGL windows on macOS.
Fix #26268 by adding a workaround for incorrect FBO size.
Fix #26166 by forcing sRGB color scheme on all app windows.
2023-09-12 11:41:31 +04:00
John Preston
a6b844408a Add verified/fake/scam badge to ConfirmInviteBox. 2023-09-12 11:40:33 +04:00
John Preston
dbd4aecc56 Don't show message bottom info in bot about. 2023-09-12 11:40:33 +04:00
23rd
3332f012cf Added tooltip and ability to copy external link to sponsored messages. 2023-09-12 11:40:33 +04:00
23rd
456f4d7b8a Fixed api id and hash in Github Action on Windows for nightly builds. 2023-09-12 11:40:33 +04:00
Ilya Fedin
0b4ef3214e Leverage QImage's CoW in Linux native notifications 2023-09-12 10:29:29 +04:00
Ilya Fedin
e946bf5338 Run in background on Linux when minimization is not supported 2023-09-12 10:27:13 +04:00
Ilya Fedin
e8a1fc0300 Add a method to check whether to run in background instead of checking for macOS 2023-09-12 10:27:13 +04:00
Ilya Fedin
0bf0fb29d2 Add nodiscard for a bunch of platform specific methods 2023-09-12 10:27:13 +04:00
Ilya Fedin
566f2dd670 Switch XDP open with dialog to QWaylandWindow::requestXdgActivationToken 2023-09-11 11:12:08 +04:00
Ilya Fedin
e52e1672e8 Make PortalAutostart asynchronous 2023-09-11 11:11:40 +04:00
Ilya Fedin
bf255c0e00 Don't use crl::on_main unnecessarily in Linux native notifications code
All those dbus methods call callbacks on the same thread
2023-09-11 11:11:04 +04:00
Ilya Fedin
55fb3405e5 Move feature warnings to the relevant code 2023-09-11 11:05:05 +04:00
23rd
adbe5e9605 Slightly improved style of mini icons in dialogs list. 2023-09-08 11:40:18 +03:00
23rd
29bfe43386 Added ability to export chat for html and json formats simultaneously. 2023-09-08 11:40:18 +03:00
23rd
ca30c35c2b Added initial export writer for both html and json formats. 2023-09-08 11:40:18 +03:00
23rd
d4ad5d9f13 Removed uppercase from some phrases in export. 2023-09-08 11:40:18 +03:00
23rd
fd79973509 Fixed crash when importing custom theme with duplicated entries. 2023-09-08 11:40:18 +03:00
23rd
d2bd109169 Removed uppercase from some phrases in theme editor. 2023-09-08 11:40:18 +03:00
23rd
1b5b9f46d2 Allowed to save not loaded photos from bulk download menu item. 2023-09-08 11:40:18 +03:00
23rd
ed345e0823 Allowed to select loaded documents for bulk download menu item. 2023-09-08 11:40:18 +03:00
23rd
90adc2d97c Fixed misaligned line in expanded reaction menu with disabled animation.
Fixed #26748.
2023-09-08 11:40:18 +03:00
23rd
787ed443f4 Increased clickable area to change forward options in sections. 2023-09-08 11:40:18 +03:00
23rd
7ffb341597 Removed some unwanted include directives of styles in header files. 2023-09-08 11:40:18 +03:00
Ilya Fedin
483909854a Use brackets include for QtWaylandScanner-generated headers 2023-09-08 07:28:13 +04:00
Ilya Fedin
289257dd0f Update submodules 2023-09-08 07:10:53 +04:00
Ilya Fedin
547a39d835 Update tg_owt in snap 2023-09-07 07:40:52 +04:00
John Preston
eef3cdd31b Update mini_forward/mini_reply_story icons. 2023-09-05 21:33:04 +04:00
John Preston
4bfe40d02e Don't close ShareBox by outside click. 2023-09-05 21:33:04 +04:00
John Preston
107b72f442 Fix possible crash in AddBotToGroupBox. 2023-09-05 21:33:04 +04:00
John Preston
8adbbe6885 Don't expect itemId from shareContact. 2023-09-05 19:30:29 +04:00
John Preston
191f832e52 Use notarytool instead of altool for notarization. 2023-09-05 16:42:12 +04:00
John Preston
9f0a756f71 Version 4.9.5: Fix build with GCC. 2023-09-05 13:10:03 +04:00
Ilya Fedin
0079a18e97 Call D-Bus ReloadConfig asynchronously 2023-09-04 18:11:25 +04:00
John Preston
876a803e0e Version 4.9.5.
- Several new bot web-app features.
- Bug fixes and other minor improvements.
2023-09-04 17:54:11 +04:00
John Preston
7009e967d0 Fix build with MSVC. 2023-09-04 17:38:02 +04:00
John Preston
076aa9452e Unblock the bot before sharing phone number. 2023-09-04 17:36:55 +04:00
John Preston
d77c7a70ab Implement new bot web-app methods. 2023-09-04 17:36:55 +04:00
John Preston
8255de1ba8 Update API scheme to layer 162. 2023-09-04 17:36:55 +04:00
23rd
aad1296829 Fixed overlapping right badges on ellipsis in dialogs list. 2023-09-04 17:36:54 +04:00
23rd
738aff9c4f Fixed paint of mini icon in dialogs list even there is no space for it. 2023-09-04 17:36:54 +04:00
23rd
7740780eeb Respected presence of plain link in preview text for mini icons. 2023-09-04 17:36:54 +04:00
23rd
9edbb9762a Fixed some cases when peer may not be removed from filter from menu. 2023-09-04 17:36:54 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
23rd
ae2182c1e5 Removed document's requirement when it's unavailable in userpic builder. 2023-09-04 17:36:54 +04:00
Ilya Fedin
4807244682 Don't use crl::on_main unnecessarily with XDP::SettingWatcher
g_dbus_connection_signal_subscribe calls the callback on the same thread
2023-09-04 16:21:58 +04:00
John Preston
119f7e757d Don't show yourself in notification exceptions. 2023-09-01 12:00:25 +04:00
GitHub Action
e34e640dbb Update User-Agent for DNS to Chrome 116.0.5845.96. 2023-09-01 11:08:21 +04:00
Ilya Fedin
e755851237 Update lib_base 2023-08-31 22:46:54 +04:00
John Preston
dff168c62e Version 4.9.4: Workaround MSVC optimization bug.
When adding some de-optimizing code, like logging etc,
the issue disappears. This volatile workaround looks like it works.
2023-08-31 22:43:26 +04:00
John Preston
b39bf11d9e Fix build with GCC. 2023-08-31 22:37:29 +04:00
John Preston
d8f53d5f60 Version 4.9.4.
- Default private chats / groups / channels notification settings.
- Forwarded / reply-to-a-story icon in chats list message preview.
- Bug fixes and other minor improvements.
2023-08-30 23:33:40 +04:00
John Preston
f10da51517 Improve phrases in SendFilesBox drag areas. 2023-08-30 23:32:17 +04:00
23rd
3dc0e3818b Fixed redundant peer adding to always/never lists in filter from menu. 2023-08-30 18:14:14 +03:00
23rd
1493b23574 Added mini icon to messages with reply to story. 2023-08-30 18:14:14 +03:00
23rd
70e298cfe4 Added icon for replies to stories in dialogs list. 2023-08-30 18:14:14 +03:00
23rd
9d4b8bb9b0 Introduced new struct to dialogs style for icons. 2023-08-30 16:46:19 +03:00
23rd
089432be5e Added icon for forwarded messages in dialogs list. 2023-08-30 14:50:00 +03:00
23rd
4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
23rd
aeb593dd77 Slightly refactored StickersBox class. 2023-08-30 14:50:00 +03:00
23rd
0d4a83ea47 Added ability to remove sticker set from tab of featured sticker sets. 2023-08-30 14:50:00 +03:00
John Preston
95b26911e0 Use inline image/path expanding from lib_ui. 2023-08-30 08:55:46 +04:00
Ilya Fedin
4c2be58dd3 Update Qt patches on Linux 2023-08-30 05:13:21 +02:00
Ilya Fedin
374e95de31 Update kimageformats 2023-08-30 05:13:21 +02:00
Ilya Fedin
cfe3285e68 Update cmake_helpers 2023-08-29 15:53:49 +02:00
John Preston
7b184e553b Fix build with Xcode. 2023-08-29 17:02:23 +04:00
Ilya Fedin
02e37ab2f2 Update submodules 2023-08-29 08:29:10 +02:00
Ilya Fedin
48206bcf95 Re-use base_linux_library 2023-08-29 08:08:03 +02:00
Ilya Fedin
d0eb7ec522 Fix window extents terminology
Extents is a synonym of size but we're setting not window size.
2023-08-29 08:02:00 +02:00
Ilya Fedin
77c2e12ebc Use non-throwing directory_iterator 2023-08-26 00:14:01 +02:00
Ilya Fedin
a479fcd55c Update cmake_helpers 2023-08-25 10:21:25 +02:00
Ilya Fedin
396635fa1d Make use of the new window-less base::Platform::XDP::ParentWindowID 2023-08-25 10:21:25 +02:00
Ilya Fedin
4755be4ace Add missing returns to skip taskbar Linux abstraction 2023-08-24 11:44:06 +02:00
John Preston
1148a2e144 Show information about default notifications toggle. 2023-08-23 19:43:35 +02:00
John Preston
827e755552 Allow customizing default notifications. 2023-08-23 19:29:56 +02:00
John Preston
b80f5f9706 Manage notifications exceptions in Settings. 2023-08-23 18:09:32 +02:00
John Preston
518f0e22cd Improve small blocklist layout, fix heightMin. 2023-08-23 11:23:28 +02:00
John Preston
610e0e7913 Start default notification settings. 2023-08-22 19:43:13 +02:00
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
2361 changed files with 192305 additions and 42149 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,6 +1,6 @@
blank_issues_enabled: false
contact_links:
- name: API issue
- 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

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

25
.github/workflows/cant-reproduce.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Can't reproduce.
on:
schedule:
- cron: '0 3 * * *'
jobs:
cant-reproduce:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: cant reproduce
closeComment: >
This issue has been automatically closed because no developer succeeded to
reproduce the issue with the given reproduction steps. With only the
information that is currently in the issue, we don't have enough
information to take action. Please reach out if you find what's missing to
reproduce the issue so that we can investigate further.
Note that GitHub is a developer communication platform. If you're an ordinary
user seeking for help, get to support crew via `Settings -> Ask question` in
the application.

View File

@@ -20,12 +20,18 @@ jobs:
steps:
- name: Clone.
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
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 -
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
- name: Docker image build.
run: |
@@ -35,6 +41,4 @@ jobs:
- name: Push the Docker image.
if: ${{ github.ref_name == github.event.repository.default_branch }}
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker push $IMAGE_TAG
run: docker push $IMAGE_TAG

View File

@@ -41,47 +41,37 @@ on:
jobs:
linux:
name: CentOS 7
name: Rocky Linux 8
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}/centos_env
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: scl enable rh-python38 -- scl enable llvm-toolset-7.0 -- scl enable devtoolset-10 -- bash --noprofile --norc -eo pipefail {0}
strategy:
matrix:
defines:
- ""
- "DESKTOP_APP_DISABLE_DBUS_INTEGRATION"
- "DESKTOP_APP_DISABLE_X11_INTEGRATION"
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: First set up.
run: |
gcc --version
ln -s /usr/src/Libraries
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker pull ghcr.io/$GITHUB_REPOSITORY/centos_env
docker tag ghcr.io/$GITHUB_REPOSITORY/centos_env tdesktop:centos_env
- name: Telegram Desktop build.
run: |
cd $REPO_NAME/Telegram
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
@@ -92,18 +82,21 @@ jobs:
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
./configure.sh \
docker run --rm \
-v $PWD:/usr/src/tdesktop \
-e CONFIG=Debug \
tdesktop:centos_env \
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.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" \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
cmake --build ../out --config Debug --parallel
- name: Check.
run: |
filePath="$REPO_NAME/out/Debug/Telegram"
@@ -121,9 +114,9 @@ jobs:
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/out/Debug
mkdir artifact
mv Telegram artifact/
- uses: actions/upload-artifact@master
sudo mkdir artifact
sudo mv {Telegram,Updater} artifact/
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:

View File

@@ -8,7 +8,7 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: 45

View File

@@ -40,14 +40,14 @@ jobs:
macos:
name: MacOS
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
@@ -56,7 +56,7 @@ jobs:
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
@@ -64,7 +64,10 @@ jobs:
- name: First set up.
run: |
sudo chown -R `whoami`:admin /usr/local/share
brew install automake ninja pkg-config
brew update
brew upgrade || true
brew install automake meson nasm ninja pkg-config
# Disable spotlight.
sudo mdutil -a -i off
@@ -73,7 +76,7 @@ jobs:
- name: ThirdParty cache.
id: cache-third-party
uses: actions/cache@v3.0.11
uses: actions/cache@v4
with:
path: ThirdParty
key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
@@ -81,7 +84,7 @@ jobs:
- name: Libraries cache.
id: cache-libs
uses: actions/cache@v3.0.11
uses: actions/cache@v4
with:
path: Libraries
key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
@@ -115,6 +118,7 @@ jobs:
-D CMAKE_CXX_FLAGS="-Werror" \
-D CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
-D TDESKTOP_API_TEST=ON \
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
$DEFINE
@@ -130,7 +134,7 @@ jobs:
mkdir artifact
mv Telegram.app artifact/
mv Updater artifact/
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:

161
.github/workflows/mac_packaged.yml vendored Normal file
View File

@@ -0,0 +1,161 @@
name: MacOS Packaged.
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- 'changelog.txt'
- 'LEGAL'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/mac_packaged.yml'
- 'lib/xdg/**'
- 'snap/**'
- 'Telegram/build/**'
- 'Telegram/Resources/uwp/**'
- 'Telegram/Resources/winrc/**'
- 'Telegram/SourceFiles/platform/win/**'
- 'Telegram/SourceFiles/platform/linux/**'
- 'Telegram/configure.bat'
jobs:
macos:
name: MacOS
runs-on: macos-13
strategy:
matrix:
defines:
- ""
env:
GIT: "https://github.com"
CMAKE_PREFIX_PATH: "/usr/local/opt/ffmpeg@6:/usr/local/opt/openal-soft"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
MANUAL_CACHING: "1"
AUTO_CACHING: "1"
steps:
- name: Get repository name.
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Clone.
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.REPO_NAME }}
- name: First set up.
run: |
brew update
brew upgrade || true
brew install ada-url autoconf automake boost cmake ffmpeg@6 openal-soft openh264 openssl opus ninja pkg-config python qt yasm xz
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
xcodebuild -version > CACHE_KEY.txt
brew list --versions >> CACHE_KEY.txt
echo $MANUAL_CACHING >> CACHE_KEY.txt
echo "$GITHUB_WORKSPACE" >> CACHE_KEY.txt
if [ "$AUTO_CACHING" = "1" ]; then
thisFile=$REPO_NAME/.github/workflows/mac_packaged.yml
echo `md5 -q $thisFile` >> CACHE_KEY.txt
fi
echo "CACHE_KEY=`md5 -q CACHE_KEY.txt`" >> $GITHUB_ENV
echo "LibrariesPath=`pwd`" >> $GITHUB_ENV
curl -o tg_owt-version.json https://api.github.com/repos/desktop-app/tg_owt/git/refs/heads/master
- name: RNNoise.
run: |
cd $LibrariesPath
git clone --depth=1 https://gitlab.xiph.org/xiph/rnnoise.git
cd rnnoise
./autogen.sh
./configure --disable-examples --disable-doc
make -j$(sysctl -n hw.logicalcpu)
make install
- name: WebRTC cache.
id: cache-webrtc
uses: actions/cache@v4
with:
path: ${{ env.LibrariesPath }}/tg_owt
key: ${{ runner.OS }}-webrtc-${{ env.CACHE_KEY }}-${{ hashFiles('**/tg_owt-version.json') }}
- name: WebRTC.
if: steps.cache-webrtc.outputs.cache-hit != 'true'
run: |
cd $LibrariesPath
git clone --depth=1 --recursive --shallow-submodules $GIT/desktop-app/tg_owt.git
cd tg_owt
cmake -B build . -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'
env:
tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build
run: |
cd $REPO_NAME
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo Define from matrix: $DEFINE
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram" >> $GITHUB_ENV
fi
cmake -Bbuild -GNinja . \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DTDESKTOP_API_TEST=ON \
-DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
$DEFINE
cmake --build build --parallel
cd build
macdeployqt Telegram.app
codesign --remove-signature Telegram.app
mkdir dmgsrc
mv Telegram.app dmgsrc
hdiutil create -volname Telegram -srcfolder dmgsrc -ov -format UDZO Telegram.dmg
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/build
mkdir artifact
mv Telegram.dmg artifact/
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/build/artifact/

View File

@@ -11,7 +11,9 @@ jobs:
SKIP: "0"
to_branch: "master"
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v4
with:
fetch-depth: 0
if: env.SKIP == '0'
- name: Push the code to the master branch.
if: env.SKIP == '0'

16
.github/workflows/needs-user-action.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Needs user action.
on:
issue_comment:
types: [created]
schedule:
- cron: '0 2 * * *'
jobs:
needs-user-action:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
responseRequiredLabel: needs user action

View File

@@ -40,14 +40,14 @@ jobs:
snap:
name: Ubuntu
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
steps:
- name: Clone.
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
@@ -60,8 +60,11 @@ jobs:
sudo snap run lxd init --auto
sudo snap run lxd waitready
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
- name: Telegram Desktop snap build.
run: sg lxd -c 'snap run snapcraft -v'
run: sg lxd -c 'snap run snapcraft --verbosity=debug'
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
@@ -72,7 +75,7 @@ jobs:
mkdir artifact
mv $artifact_name artifact
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact.
with:

View File

@@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
- uses: actions/stale@v9
with:
stale-issue-message: |
Hey there!

View File

@@ -1,19 +1,16 @@
name: No Response
name: Waiting for answer.
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'
- cron: '30 0 * * *'
jobs:
noResponse:
waiting-for-answer:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
# Label requiring a response
responseRequiredLabel: waiting for answer

View File

@@ -47,9 +47,10 @@ jobs:
strategy:
matrix:
arch: [Win32, x64]
generator: ["", "Ninja Multi-Config"]
env:
UPLOAD_ARTIFACT: "false"
UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false"
PREPARE_PATH: "Telegram/build/prepare/prepare.py"
@@ -60,24 +61,21 @@ 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
- uses: ilammy/msvc-dev-cmd@v1.12.0
- uses: ilammy/msvc-dev-cmd@v1.13.0
name: Native Tools Command Prompt.
with:
arch: ${{ matrix.arch }}
- name: Clone.
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
submodules: recursive
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
@@ -98,9 +96,9 @@ jobs:
- name: Libraries cache.
id: cache-libs
uses: actions/cache@v3.0.11
uses: actions/cache@v4
with:
path: Libraries
path: ${{ env.TBUILD }}\Libraries
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
restore-keys: ${{ runner.OS }}-${{ matrix.arch }}-libs-
@@ -108,23 +106,48 @@ 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.
- name: Read configuration matrix.
shell: bash
run: |
ARTIFACT_NAME="Telegram"
ARCH=""
if [ -n "${{ matrix.arch }}" ]; then
case "${{ matrix.arch }}" in
Win32) ARCH="x86";;
*) ARCH="${{ matrix.arch }}";;
esac
echo "Architecture from matrix: $ARCH"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.arch }}"
fi
GENERATOR=""
if [ -n "${{ matrix.generator }}" ]; then
GENERATOR="-G \"${{ matrix.generator }}\""
echo "Generator from matrix: $GENERATOR"
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.generator }}"
fi
echo "TDESKTOP_BUILD_GENERATOR=$GENERATOR" >> $GITHUB_ENV
[ -n "$GENERATOR" ] && ARCH=""
echo "TDESKTOP_BUILD_ARCH=$ARCH" >> $GITHUB_ENV
DEFINE=""
if [ -n "${{ matrix.defines }}" ]; then
DEFINE="-D ${{ matrix.defines }}=ON"
echo "Define from matrix: $DEFINE"
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}_${{ matrix.defines }}" >> $GITHUB_ENV
else
echo "ARTIFACT_NAME=Telegram_${{ matrix.arch }}" >> $GITHUB_ENV
ARTIFACT_NAME="${ARTIFACT_NAME}_${{ matrix.defines }}"
fi
echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $GITHUB_ENV
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
API="-D TDESKTOP_API_TEST=ON"
if [ ${{ github.ref == 'refs/heads/nightly' }} ]; then
if [ $GITHUB_REF == 'refs/heads/nightly' ]; then
echo "Use the open credentials."
API="-D TDESKTOP_API_ID=611335 -D TDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
fi
@@ -132,6 +155,7 @@ jobs:
- name: Free up some disk space.
run: |
cd %TBUILD%
del /S Libraries\*.pdb
del /S Libraries\*.pch
del /S Libraries\*.obj
@@ -142,24 +166,28 @@ jobs:
cd %TBUILD%\%REPO_NAME%\Telegram
call configure.bat ^
${{ matrix.arch }} ^
%TDESKTOP_BUILD_GENERATOR% ^
%TDESKTOP_BUILD_ARCH% ^
%TDESKTOP_BUILD_API% ^
-D CMAKE_C_FLAGS="/WX" ^
-D CMAKE_CXX_FLAGS="/WX" ^
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF ^
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^
-D DESKTOP_APP_NO_PDB=ON ^
%TDESKTOP_BUILD_DEFINE% ^
-DCMAKE_SYSTEM_VERSION=%SDK%
%TDESKTOP_BUILD_DEFINE%
cd ..\out
msbuild -m Telegram.sln /p:Configuration=Debug,Platform=${{ matrix.arch }},DebugSymbols=false,DebugType=none
cmake --build ..\out --config Debug --parallel
- name: Move artifact.
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
run: |
set OUT=%TBUILD%\%REPO_NAME%\out\Debug
mkdir artifact
move %TBUILD%\%REPO_NAME%\out\Debug\Telegram.exe artifact/
- uses: actions/upload-artifact@master
move %OUT%\Telegram.exe artifact/
move %OUT%\Updater.exe artifact/
- uses: actions/upload-artifact@v4
name: Upload artifact.
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
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 }}

1
.gitignore vendored
View File

@@ -18,6 +18,7 @@ Release/
*.xcodeproj
ipch/
.vs/
.vscode/
/Telegram/log.txt
/Telegram/data

17
.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
@@ -58,9 +58,6 @@
[submodule "Telegram/ThirdParty/range-v3"]
path = Telegram/ThirdParty/range-v3
url = https://github.com/ericniebler/range-v3.git
[submodule "Telegram/ThirdParty/fcitx-qt5"]
path = Telegram/ThirdParty/fcitx-qt5
url = https://github.com/fcitx/fcitx-qt5.git
[submodule "Telegram/ThirdParty/nimf"]
path = Telegram/ThirdParty/nimf
url = https://github.com/hamonikr/nimf.git
@@ -85,12 +82,6 @@
[submodule "Telegram/ThirdParty/dispatch"]
path = Telegram/ThirdParty/dispatch
url = https://github.com/apple/swift-corelibs-libdispatch
[submodule "Telegram/ThirdParty/plasma-wayland-protocols"]
path = Telegram/ThirdParty/plasma-wayland-protocols
url = https://github.com/KDE/plasma-wayland-protocols.git
[submodule "Telegram/ThirdParty/wayland-protocols"]
path = Telegram/ThirdParty/wayland-protocols
url = https://github.com/gitlab-freedesktop-mirrors/wayland-protocols.git
[submodule "Telegram/ThirdParty/kimageformats"]
path = Telegram/ThirdParty/kimageformats
url = https://github.com/KDE/kimageformats.git
@@ -100,3 +91,9 @@
[submodule "Telegram/ThirdParty/cld3"]
path = Telegram/ThirdParty/cld3
url = https://github.com/google/cld3.git
[submodule "Telegram/ThirdParty/libprisma"]
path = Telegram/ThirdParty/libprisma
url = https://github.com/desktop-app/libprisma.git
[submodule "Telegram/ThirdParty/xdg-desktop-portal"]
path = Telegram/ThirdParty/xdg-desktop-portal
url = https://github.com/flatpak/xdg-desktop-portal.git

View File

@@ -10,8 +10,9 @@ if (APPLE)
else()
cmake_minimum_required(VERSION 3.16)
endif()
cmake_policy(SET CMP0076 NEW)
cmake_policy(SET CMP0091 NEW)
if (POLICY CMP0149)
cmake_policy(SET CMP0149 NEW)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
@@ -21,7 +22,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
@@ -37,15 +40,16 @@ get_filename_component(submodules_loc "Telegram" REALPATH)
get_filename_component(cmake_helpers_loc "cmake" REALPATH)
if (NOT DESKTOP_APP_USE_PACKAGED AND WIN32)
set(Python_EXECUTABLE ${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/python/Scripts/python)
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)
@@ -53,17 +57,10 @@ include(cmake/validate_d3d_compiler.cmake)
include(cmake/target_prepare_qrc.cmake)
include(cmake/options.cmake)
if (NOT DESKTOP_APP_USE_PACKAGED)
if (WIN32)
set(qt_version 5.15.8)
elseif (APPLE)
set(qt_version 6.3.2)
endif()
endif()
include(cmake/external/qt/package.cmake)
set(desktop_app_skip_libs
glibmm
variant
)

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

@@ -17,13 +17,18 @@ The latest version is available for
* [Windows 7 and above (64 bit)](https://telegram.org/dl/desktop/win64) ([portable](https://telegram.org/dl/desktop/win64_portable))
* [Windows 7 and above (32 bit)](https://telegram.org/dl/desktop/win) ([portable](https://telegram.org/dl/desktop/win_portable))
* [macOS 10.12 and above](https://telegram.org/dl/desktop/mac)
* [macOS 10.13 and above](https://telegram.org/dl/desktop/mac)
* [Linux static build for 64 bit](https://telegram.org/dl/desktop/linux)
* [Snap](https://snapcraft.io/telegram-desktop)
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
## Old system versions
Version **4.9.9** was the last that supports older systems
* [macOS 10.12](https://updates.tdesktop.com/tmac/tsetup.4.9.9.dmg)
* [Linux with glibc < 2.28 static build](https://updates.tdesktop.com/tlinux/tsetup.4.9.9.tar.xz)
Version **2.4.4** was the last that supports older systems
* [OS X 10.10 and 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg)
@@ -38,7 +43,7 @@ Version **1.8.15** was the last that supports older systems
## Third-party
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) and Qt 5.15 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) slightly patched
* OpenSSL 1.1.1 and 1.0.1 ([OpenSSL License](https://www.openssl.org/source/license.html))
* OpenSSL 3.2.1 ([Apache License 2.0](https://www.openssl.org/source/apache-license-2.0.txt))
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE))
* zlib 1.2.11 ([zlib License](http://www.zlib.net/zlib_license.html))
* LZMA SDK 9.20 ([public domain](http://www.7-zip.org/sdk.html))
@@ -55,7 +60,6 @@ Version **1.8.15** was the last that supports older systems
* Open Sans font ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html))
* Vazir font ([SIL Open Font License 1.1](https://github.com/rastikerdar/vazir-font/blob/master/OFL.txt))
* Emoji alpha codes ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md))
* Catch test framework ([Boost License](https://github.com/philsquared/Catch/blob/master/LICENSE.txt))
* xxHash ([BSD License](https://github.com/Cyan4973/xxHash/blob/dev/LICENSE))
* QR Code generator ([MIT License](https://github.com/nayuki/QR-Code-generator#license))
* CMake ([New BSD License](https://github.com/Kitware/CMake/blob/master/Copyright.txt))

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg baseProfile="tiny" version="1.2" viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg">
<path d="m27.57 30.79q0.77-0.44 1.14-1.28 4.38-9.86 4.67-24.25 0.03-1.64 1.63-1.54 1.14 0.07 1.9 0.65c14.45 10.9 28.35 31.97 18.06 50.37-9.55 17.08-32.38 15.75-41.59-0.69-5.25-9.37-0.83-23.06 4.26-32.03a2.13 2.12 43.5 0 1 3.64-0.09l5.53 8.68a0.57 0.56-31.3 0 0 0.76 0.18z" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 821 KiB

After

Width:  |  Height:  |  Size: 832 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 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);
}
@@ -544,3 +559,26 @@ div.toast_shown {
opacity: 0;
user-select: none;
}
.bot_buttons_table {
border-spacing: 0px 2px;
width: 100%;
}
.bot_button {
border-radius: 8px;
text-align: center;
vertical-align: middle;
background-color: #168acd40;
}
.bot_button_row {
display: table;
table-layout: fixed;
padding: 0px;
width:100%;
}
.bot_button_row div {
display: table-cell;
}
.bot_button_column_separator {
width: 2px
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -62,6 +62,12 @@ function ShowNotAvailableEmoji() {
return false;
}
function ShowTextCopied(content) {
navigator.clipboard.writeText(content);
ShowToast("Text copied to clipboard.");
return false;
}
function ShowSpoiler(target) {
if (target.classList.contains("hidden")) {
target.classList.toggle("hidden");

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 912 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

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