Compare commits

...

1305 Commits

Author SHA1 Message Date
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
1265 changed files with 71725 additions and 16684 deletions

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

View File

@ -25,7 +25,12 @@ jobs:
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 -
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8
- name: Docker image build.
run: |

View File

@ -41,7 +41,7 @@ on:
jobs:
linux:
name: CentOS 7
name: Rocky Linux 8
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}/centos_env
@ -51,13 +51,12 @@ jobs:
defaults:
run:
shell: scl enable rh-python38 -- scl enable llvm-toolset-7.0 -- scl enable devtoolset-10 -- bash --noprofile --norc -eo pipefail {0}
shell: scl enable gcc-toolset-12 -- bash --noprofile --norc -eo pipefail {0}
strategy:
matrix:
defines:
- ""
- "DESKTOP_APP_DISABLE_DBUS_INTEGRATION"
- "DESKTOP_APP_DISABLE_X11_INTEGRATION"
- "DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION"

View File

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

View File

@ -60,6 +60,9 @@ jobs:
sudo snap run lxd init --auto
sudo snap run lxd waitready
- name: Free up some disk space.
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8
- name: Telegram Desktop snap build.
run: sg lxd -c 'snap run snapcraft -v'

View File

@ -60,13 +60,10 @@ 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
@ -100,7 +97,7 @@ jobs:
id: cache-libs
uses: actions/cache@v3.0.11
with:
path: Libraries
path: ${{ env.TBUILD }}\Libraries
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
restore-keys: ${{ runner.OS }}-${{ matrix.arch }}-libs-
@ -108,7 +105,9 @@ 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.
shell: bash
@ -124,7 +123,7 @@ jobs:
echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $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 +131,7 @@ jobs:
- name: Free up some disk space.
run: |
cd %TBUILD%
del /S Libraries\*.pdb
del /S Libraries\*.pch
del /S Libraries\*.obj

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 }}

11
.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
@ -100,3 +97,9 @@
[submodule "Telegram/ThirdParty/cld3"]
path = Telegram/ThirdParty/cld3
url = https://github.com/google/cld3.git
[submodule "Telegram/ThirdParty/wayland"]
path = Telegram/ThirdParty/wayland
url = https://github.com/gitlab-freedesktop-mirrors/wayland.git
[submodule "Telegram/ThirdParty/libprisma"]
path = Telegram/ThirdParty/libprisma
url = https://github.com/desktop-app/libprisma.git

View File

@ -21,7 +21,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 +39,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)
@ -56,9 +59,9 @@ include(cmake/options.cmake)
if (NOT DESKTOP_APP_USE_PACKAGED)
if (WIN32)
set(qt_version 5.15.8)
set(qt_version 5.15.10)
elseif (APPLE)
set(qt_version 6.3.2)
set(qt_version 6.2.5)
endif()
endif()
include(cmake/external/qt/package.cmake)

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)

View File

@ -28,6 +28,7 @@ include(cmake/lib_ffmpeg.cmake)
include(cmake/lib_stripe.cmake)
include(cmake/lib_tgvoip.cmake)
include(cmake/lib_tgcalls.cmake)
include(cmake/lib_prisma.cmake)
include(cmake/td_export.cmake)
include(cmake/td_mtproto.cmake)
include(cmake/td_lang.cmake)
@ -151,6 +152,8 @@ PRIVATE
api/api_sensitive_content.h
api/api_single_message_search.cpp
api/api_single_message_search.h
api/api_statistics.cpp
api/api_statistics.h
api/api_text_entities.cpp
api/api_text_entities.h
api/api_toggling_media.cpp
@ -167,12 +170,16 @@ PRIVATE
api/api_user_privacy.h
api/api_views.cpp
api/api_views.h
api/api_websites.cpp
api/api_websites.h
api/api_who_reacted.cpp
api/api_who_reacted.h
boxes/filters/edit_filter_box.cpp
boxes/filters/edit_filter_box.h
boxes/filters/edit_filter_chats_list.cpp
boxes/filters/edit_filter_chats_list.h
boxes/filters/edit_filter_links.cpp
boxes/filters/edit_filter_links.h
boxes/peers/add_bot_to_chat_box.cpp
boxes/peers/add_bot_to_chat_box.h
boxes/peers/add_participants_box.cpp
@ -191,6 +198,8 @@ PRIVATE
boxes/peers/edit_participant_box.h
boxes/peers/edit_participants_box.cpp
boxes/peers/edit_participants_box.h
boxes/peers/edit_peer_color_box.cpp
boxes/peers/edit_peer_color_box.h
boxes/peers/edit_peer_common.h
boxes/peers/edit_peer_info_box.cpp
boxes/peers/edit_peer_info_box.h
@ -228,8 +237,6 @@ PRIVATE
boxes/background_box.h
boxes/background_preview_box.cpp
boxes/background_preview_box.h
boxes/change_phone_box.cpp
boxes/change_phone_box.h
boxes/choose_filter_box.cpp
boxes/choose_filter_box.h
boxes/connection_box.cpp
@ -348,6 +355,9 @@ PRIVATE
calls/calls_video_bubble.h
calls/calls_video_incoming.cpp
calls/calls_video_incoming.h
chat_helpers/compose/compose_features.h
chat_helpers/compose/compose_show.cpp
chat_helpers/compose/compose_show.h
chat_helpers/bot_command.cpp
chat_helpers/bot_command.h
chat_helpers/bot_keyboard.cpp
@ -408,6 +418,7 @@ PRIVATE
core/crash_report_window.h
core/crash_reports.cpp
core/crash_reports.h
core/deadlock_detector.h
core/file_utilities.cpp
core/file_utilities.h
core/launcher.cpp
@ -444,6 +455,7 @@ PRIVATE
data/data_audio_msg_id.h
data/data_auto_download.cpp
data/data_auto_download.h
data/data_boosts.h
data/data_bot_app.cpp
data/data_bot_app.h
data/data_chat.cpp
@ -546,6 +558,13 @@ PRIVATE
data/data_sparse_ids.h
data/data_sponsored_messages.cpp
data/data_sponsored_messages.h
data/data_statistics.h
data/data_stories.cpp
data/data_stories.h
data/data_stories_ids.cpp
data/data_stories_ids.h
data/data_story.cpp
data/data_story.h
data/data_streaming.cpp
data/data_streaming.h
data/data_thread.cpp
@ -586,6 +605,8 @@ PRIVATE
dialogs/ui/dialogs_layout.h
dialogs/ui/dialogs_message_view.cpp
dialogs/ui/dialogs_message_view.h
dialogs/ui/dialogs_stories_content.cpp
dialogs/ui/dialogs_stories_content.h
dialogs/ui/dialogs_topics_view.cpp
dialogs/ui/dialogs_topics_view.h
dialogs/ui/dialogs_video_userpic.cpp
@ -632,6 +653,8 @@ PRIVATE
history/view/controls/history_view_compose_controls.h
history/view/controls/history_view_compose_search.cpp
history/view/controls/history_view_compose_search.h
history/view/controls/history_view_draft_options.cpp
history/view/controls/history_view_draft_options.h
history/view/controls/history_view_forward_panel.cpp
history/view/controls/history_view_forward_panel.h
history/view/controls/history_view_ttl_button.cpp
@ -640,6 +663,8 @@ PRIVATE
history/view/controls/history_view_voice_record_bar.h
history/view/controls/history_view_voice_record_button.cpp
history/view/controls/history_view_voice_record_button.h
history/view/controls/history_view_webpage_processor.cpp
history/view/controls/history_view_webpage_processor.h
history/view/media/history_view_call.cpp
history/view/media/history_view_call.h
history/view/media/history_view_contact.cpp
@ -658,6 +683,8 @@ PRIVATE
history/view/media/history_view_game.h
history/view/media/history_view_gif.cpp
history/view/media/history_view_gif.h
history/view/media/history_view_giveaway.cpp
history/view/media/history_view_giveaway.h
history/view/media/history_view_invoice.cpp
history/view/media/history_view_invoice.h
history/view/media/history_view_large_emoji.cpp
@ -689,6 +716,8 @@ PRIVATE
history/view/media/history_view_sticker_player.cpp
history/view/media/history_view_sticker_player.h
history/view/media/history_view_sticker_player_abstract.h
history/view/media/history_view_story_mention.cpp
history/view/media/history_view_story_mention.h
history/view/media/history_view_theme_document.cpp
history/view/media/history_view_theme_document.h
history/view/media/history_view_userpic_suggestion.cpp
@ -795,20 +824,10 @@ PRIVATE
history/history_view_highlight_manager.h
history/history_widget.cpp
history/history_widget.h
info/info_content_widget.cpp
info/info_content_widget.h
info/info_controller.cpp
info/info_controller.h
info/info_layer_widget.cpp
info/info_layer_widget.h
info/info_memento.cpp
info/info_memento.h
info/info_section_widget.cpp
info/info_section_widget.h
info/info_top_bar.cpp
info/info_top_bar.h
info/info_wrap_widget.cpp
info/info_wrap_widget.h
info/boosts/info_boosts_inner_widget.cpp
info/boosts/info_boosts_inner_widget.h
info/boosts/info_boosts_widget.cpp
info/boosts/info_boosts_widget.h
info/common_groups/info_common_groups_inner_widget.cpp
info/common_groups/info_common_groups_inner_widget.h
info/common_groups/info_common_groups_widget.cpp
@ -864,6 +883,21 @@ PRIVATE
info/profile/info_profile_widget.h
info/settings/info_settings_widget.cpp
info/settings/info_settings_widget.h
info/statistics/info_statistics_common.h
info/statistics/info_statistics_inner_widget.cpp
info/statistics/info_statistics_inner_widget.h
info/statistics/info_statistics_list_controllers.cpp
info/statistics/info_statistics_list_controllers.h
info/statistics/info_statistics_recent_message.cpp
info/statistics/info_statistics_recent_message.h
info/statistics/info_statistics_widget.cpp
info/statistics/info_statistics_widget.h
info/stories/info_stories_inner_widget.cpp
info/stories/info_stories_inner_widget.h
info/stories/info_stories_provider.cpp
info/stories/info_stories_provider.h
info/stories/info_stories_widget.cpp
info/stories/info_stories_widget.h
info/userpic/info_userpic_colors_editor.cpp
info/userpic/info_userpic_colors_editor.h
info/userpic/info_userpic_emoji_builder.cpp
@ -876,6 +910,20 @@ PRIVATE
info/userpic/info_userpic_emoji_builder_preview.h
info/userpic/info_userpic_emoji_builder_widget.cpp
info/userpic/info_userpic_emoji_builder_widget.h
info/info_content_widget.cpp
info/info_content_widget.h
info/info_controller.cpp
info/info_controller.h
info/info_layer_widget.cpp
info/info_layer_widget.h
info/info_memento.cpp
info/info_memento.h
info/info_section_widget.cpp
info/info_section_widget.h
info/info_top_bar.cpp
info/info_top_bar.h
info/info_wrap_widget.cpp
info/info_wrap_widget.h
inline_bots/bot_attach_web_view.cpp
inline_bots/bot_attach_web_view.h
inline_bots/inline_bot_layout_internal.cpp
@ -922,6 +970,8 @@ PRIVATE
main/main_account.h
main/main_app_config.cpp
main/main_app_config.h
main/main_app_config_values.cpp
main/main_app_config_values.h
main/main_domain.cpp
main/main_domain.h
main/main_session.cpp
@ -930,8 +980,8 @@ PRIVATE
main/main_session_settings.h
main/session/send_as_peers.cpp
main/session/send_as_peers.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
main/session/session_show.cpp
main/session/session_show.h
media/audio/media_audio.cpp
media/audio/media_audio.h
media/audio/media_audio_capture.cpp
@ -956,6 +1006,30 @@ PRIVATE
media/player/media_player_volume_controller.h
media/player/media_player_widget.cpp
media/player/media_player_widget.h
media/stories/media_stories_caption_full_view.cpp
media/stories/media_stories_caption_full_view.h
media/stories/media_stories_controller.cpp
media/stories/media_stories_controller.h
media/stories/media_stories_delegate.cpp
media/stories/media_stories_delegate.h
media/stories/media_stories_header.cpp
media/stories/media_stories_header.h
media/stories/media_stories_reactions.cpp
media/stories/media_stories_reactions.h
media/stories/media_stories_recent_views.cpp
media/stories/media_stories_recent_views.h
media/stories/media_stories_reply.cpp
media/stories/media_stories_reply.h
media/stories/media_stories_share.cpp
media/stories/media_stories_share.h
media/stories/media_stories_sibling.cpp
media/stories/media_stories_sibling.h
media/stories/media_stories_slider.cpp
media/stories/media_stories_slider.h
media/stories/media_stories_stealth.cpp
media/stories/media_stories_stealth.h
media/stories/media_stories_view.cpp
media/stories/media_stories_view.h
media/streaming/media_streaming_audio_track.cpp
media/streaming/media_streaming_audio_track.h
media/streaming/media_streaming_common.h
@ -1001,6 +1075,8 @@ PRIVATE
media/view/media_view_playback_progress.cpp
media/view/media_view_playback_progress.h
media/view/media_view_open_common.h
media/system_media_controls_manager.h
media/system_media_controls_manager.cpp
menu/menu_antispam_validator.cpp
menu/menu_antispam_validator.h
menu/menu_item_download_files.cpp
@ -1078,7 +1154,6 @@ PRIVATE
platform/linux/integration_linux.h
platform/linux/main_window_linux.cpp
platform/linux/main_window_linux.h
platform/linux/notifications_manager_linux_dummy.cpp
platform/linux/notifications_manager_linux.cpp
platform/linux/notifications_manager_linux.h
platform/linux/overlay_widget_linux.h
@ -1213,6 +1288,8 @@ PRIVATE
settings/settings_main.h
settings/settings_notifications.cpp
settings/settings_notifications.h
settings/settings_notifications_type.cpp
settings/settings_notifications_type.h
settings/settings_power_saving.cpp
settings/settings_power_saving.h
settings/settings_premium.cpp
@ -1224,6 +1301,8 @@ PRIVATE
settings/settings_scale_preview.cpp
settings/settings_scale_preview.h
settings/settings_type.h
settings/settings_websites.cpp
settings/settings_websites.h
storage/details/storage_file_utilities.cpp
storage/details/storage_file_utilities.h
storage/details/storage_settings_scheme.cpp
@ -1397,18 +1476,6 @@ if (NOT build_winstore)
)
endif()
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
remove_target_sources(Telegram ${src_loc}
platform/linux/linux_xdp_open_with_dialog.cpp
platform/linux/linux_xdp_open_with_dialog.h
platform/linux/notifications_manager_linux.cpp
)
else()
remove_target_sources(Telegram ${src_loc}
platform/linux/notifications_manager_linux_dummy.cpp
)
endif()
if (DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
remove_target_sources(Telegram ${src_loc}
platform/linux/linux_wayland_integration.cpp
@ -1434,6 +1501,7 @@ PRIVATE
qrc/emoji_5.qrc
qrc/emoji_6.qrc
qrc/emoji_7.qrc
qrc/emoji_8.qrc
qrc/emoji_preview.qrc
qrc/telegram/animations.qrc
qrc/telegram/export.qrc
@ -1497,6 +1565,7 @@ elseif (APPLE)
PRE_LINK
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Resources
COMMAND cp ${CMAKE_BINARY_DIR}/lib_ui.rcc $<TARGET_FILE_DIR:Telegram>/../Resources
COMMAND cp ${CMAKE_BINARY_DIR}/lib_spellcheck.rcc $<TARGET_FILE_DIR:Telegram>/../Resources
)
if (NOT build_macstore)
add_custom_command(TARGET Telegram
@ -1518,12 +1587,13 @@ elseif (APPLE)
endif()
endif()
else()
if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
target_link_libraries(Telegram
PRIVATE
desktop-app::external_glibmm
)
endif()
target_link_libraries(Telegram
PRIVATE
desktop-app::external_glibmm
)
include(${cmake_helpers_loc}/external/glib/generate_dbus.cmake)
generate_dbus(Telegram org.freedesktop.portal. XdpInhibit ${src_loc}/platform/linux/org.freedesktop.portal.Inhibit.xml)
if (NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
target_link_libraries(Telegram
@ -1535,6 +1605,7 @@ else()
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
qt_generate_wayland_protocol_client_sources(Telegram
FILES
${third_party_loc}/wayland/protocol/wayland.xml
${third_party_loc}/plasma-wayland-protocols/src/protocols/plasma-shell.xml
)
@ -1724,6 +1795,7 @@ endif()
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
include(GNUInstallDirs)
configure_file("../lib/xdg/org.telegram.desktop.service" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.service" @ONLY)
configure_file("../lib/xdg/org.telegram.desktop.metainfo.xml" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml" @ONLY)
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml")
install(TARGETS Telegram RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}")
@ -1735,5 +1807,6 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
install(FILES "Resources/art/icon256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "telegram.png")
install(FILES "Resources/art/icon512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "telegram.png")
install(FILES "../lib/xdg/org.telegram.desktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.service" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.telegram.desktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
endif()

Binary file not shown.

Binary file not shown.

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);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

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