Commit Graph

15184 Commits

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