Commit Graph

16075 Commits

Author SHA1 Message Date
John Preston 4975cf2ec1 Implement double-drumroll time picker. 2024-03-08 10:54:00 +04:00
John Preston bef26cf9d2 Force right-alignment in quick replies editing. 2024-03-08 10:54:00 +04:00
John Preston 9483d17fc8 Validate quick reply name. 2024-03-08 10:54:00 +04:00
John Preston 288979d8e7 Allow editing quick replies from the suggestions. 2024-03-08 10:54:00 +04:00
John Preston 49ec051760 Make premium toast adaptive. 2024-03-08 10:54:00 +04:00
John Preston 0a8e961142 Suggest premium when sending existing quick replies. 2024-03-08 10:54:00 +04:00
John Preston 6d352597b4 Disable quick replies in bot chats. 2024-03-08 10:54:00 +04:00
John Preston d14f11bd88 fixup Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston d608bffecb Fix limit in business features exception box. 2024-03-08 10:54:00 +04:00
John Preston 00dcf11691 Improve recipients selection in business features. 2024-03-08 10:54:00 +04:00
John Preston e3f6c189a7 Implement preview and save of chatbots. 2024-03-08 10:54:00 +04:00
John Preston ea36345eee Show location and working hours in profile. 2024-03-08 10:53:59 +04:00
John Preston 5e82860376 Allow sending quick replies like bot commands. 2024-03-08 10:53:59 +04:00
John Preston 37f5160d1c Fix bold formatting in the beginning of a quote. 2024-03-08 10:53:59 +04:00
John Preston ee847bc1a3 Fix legacy group pins loading on first group open.
Fixes #27466.
2024-03-08 10:53:59 +04:00
John Preston c94da177d7 Fix build with Xcode. 2024-03-08 10:53:59 +04:00
John Preston 88751896af PremiumPreview/BusinessFeature -> PremiumFeature. 2024-03-08 10:53:59 +04:00
John Preston f812166249 Use server-side order for business features list. 2024-03-08 10:53:59 +04:00
John Preston a47c6f9c9a Show errors on business info savings. 2024-03-08 10:53:59 +04:00
John Preston cf8aaf5f9d Save away / greeting settings. 2024-03-08 10:53:59 +04:00
John Preston ca4cbddba6 Check shortcuts / messages limits. 2024-03-08 10:53:59 +04:00
John Preston dd6768a476 Add stories rights by default to new admins. 2024-03-08 10:53:59 +04:00
John Preston 7f7d544943 Show nice empty quick reply placeholder. 2024-03-08 10:53:59 +04:00
John Preston d5e920e45a Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston 8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston aad8e989d8 Shortcuts edit / delete menu. 2024-03-08 10:53:59 +04:00
John Preston f086203d25 Implement proper shortcut management. 2024-03-08 10:53:59 +04:00
John Preston 23e22de6ec Fix deleting shortcut items. 2024-03-08 10:53:59 +04:00
John Preston fb539b0f70 Improve shortcut messages geometry. 2024-03-08 10:53:59 +04:00
John Preston 6e08b00dba Fix sending .tgs files as stickers.
Regression was introduced in 3467fe226f.
2024-03-08 10:53:59 +04:00
John Preston 7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
John Preston 5c11fa4f63 Update API scheme on layer 176. 2024-03-08 10:53:59 +04:00
John Preston d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston dd7ccada2f Support edit / save of greeting message settings. 2024-03-08 10:53:59 +04:00
John Preston e6b9ac2267 Support edit / save of away message settings. 2024-03-08 10:53:58 +04:00
John Preston f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
John Preston e05eb63476 Update API scheme on layer 176. 2024-03-08 10:53:58 +04:00
John Preston c513906996 Change default for business recipients. 2024-03-08 10:53:58 +04:00
John Preston dd0bdd62fb Support business working hours API. 2024-03-08 10:53:58 +04:00
John Preston 4d12f1c0ef Initial working hours editing. 2024-03-08 10:53:58 +04:00
John Preston 1fe641c458 Update API scheme to layer 176. 2024-03-08 10:53:58 +04:00
John Preston 1e5f821c6f Start all business sections implementation. 2024-03-08 10:53:58 +04:00
John Preston 0af131f144 Invert group / channel features list. 2024-03-08 10:53:58 +04:00
John Preston ad9107ca90 Implement chatbots section editing. 2024-03-08 10:53:58 +04:00
John Preston 205479fccc Layout chatbots editing section. 2024-03-08 10:53:58 +04:00
John Preston 0c991466f5 Update API scheme to layer 175. Business promo. 2024-03-08 10:53:58 +04:00
23rd 0fad42b5b4 Added ability to open box for voice restrictions without premium. 2024-03-08 10:53:58 +04:00
23rd 27bd9e3ee5 Added icons to buttons for privacy settings that require premium. 2024-03-08 10:53:58 +04:00
23rd 02e1c03ed9 Fixed position of connecting state widget when forum is opened.
Fixed #27548.
2024-03-08 10:53:58 +04:00
23rd f56b16c6ef Added initial badges for minimal level of boosts to channel settings. 2024-03-08 10:53:58 +04:00
23rd 09285bc9cd Moved out minimal levels of boosts for channel settings to single place. 2024-03-08 10:53:58 +04:00
23rd eab249fc13 Fixed countdown label for input field of bio. 2024-03-08 10:53:58 +04:00
23rd 48eb408fb8 Fixed text elision of vote amount in polls with reactions. 2024-03-08 10:53:58 +04:00
23rd ef474f0dc8 Fixed opening of local links from webview bots in appropriate window. 2024-03-08 10:53:58 +04:00
23rd a704611705 Fixed ability to create vertical drum picker with first chosen item. 2024-03-08 10:53:58 +04:00
23rd b790847fde Added ability to close call panel without hanging up call. 2024-03-08 10:53:58 +04:00
23rd c0c330a150 Fixed bubble color under strip of emoji pad for reactions. 2024-03-08 10:53:58 +04:00
23rd aec4857e7b Fixed format of phone number in intro widget. 2024-03-08 10:53:58 +04:00
23rd 5dc6bdcc42 Fixed reply bar stuck when sending file in replies section. 2024-03-08 10:53:58 +04:00
23rd 08717dcd78 Added counter label of characters limit to edit mode without media. 2024-03-08 10:53:58 +04:00
23rd a77c547a62 Fixed edit of long media caption with emoji. 2024-03-08 10:53:58 +04:00
23rd d252427e34 Added blockquote to white list for message links parser. 2024-03-08 10:53:58 +04:00
23rd 58443bc197 Fixed ability to schedule forwarded messages without comment. 2024-03-08 10:53:58 +04:00
23rd ea20e41f1d Added drag text to contact view. 2024-03-08 10:53:58 +04:00
23rd afdd22d154 Fixed phone formatting generally. 2024-03-08 10:53:58 +04:00
23rd 93d1a187ca Improved view style of contacts. 2024-03-08 10:53:57 +04:00
23rd 52c779bffa Added support of inline markup reply to HTML export. 2024-03-08 10:53:57 +04:00
23rd de1bd6ef28 Slightly simplified creation of universal variables in prepare.py. 2024-03-08 10:53:57 +04:00
23rd c26982be3e Added support for AVIF, HEIF and JPEG XL on macOS. 2024-03-08 10:53:57 +04:00
mrbesen 5971aefb83 add bash shebang 2024-03-08 08:05:55 +04:00
Ilya Fedin 41481129f7 Port main_window_linux to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin 7b8cdb43c4 Port linux_xdp_open_with_dialog to cppgir 2024-03-08 08:05:12 +04:00
Ilya Fedin 1e9b7e2726 Use XDP::kObjectPath for session and request paths 2024-03-08 08:05:12 +04:00
Ilya Fedin a66b886c51 Initialize Linux lock screen monitor fully asynchronously 2024-03-08 08:05:12 +04:00
Ilya Fedin 5b62d97288 Update submodules 2024-03-08 08:05:12 +04:00
Kolya b040b62b4e prepare.py: simplify qt5 clone 2024-03-07 18:14:34 +04:00
Kolya 50f51d0747 update new script location in qt repo 2024-03-07 18:14:34 +04:00
xmdn 95b4fc0216 use modern installer style 2024-03-01 12:43:33 +04:00
GitHub Action da047edbc5 Update User-Agent for DNS to Chrome 122.0.0.0. 2024-03-01 12:41:47 +04:00
Ilya Fedin a8b5061003 Fix a std::clamp assertion 2024-03-01 12:41:35 +04:00
Kolya ec427ad45d Use TOOLCHAIN variable name 2024-02-23 13:17:55 +04:00
Kolya 778ab70b72 Fix libvpx build on VS 17.8+
use with https://github.com/desktop-app/patches/pull/182
2024-02-23 13:17:55 +04:00
John Preston cb065146c2 Version 4.15: Fix build with GCC. 2024-02-18 21:00:10 +04:00
John Preston 3aab2a88aa Remove helper temporary code. 2024-02-18 20:56:51 +04:00
John Preston 9a012d8b9b Version 4.15: Fix build with Xcode. 2024-02-18 20:46:10 +04:00
John Preston eaad2034e6 Version 4.15.
- Stories from groups.
- Group appearance settings.
- Group emoji pack.
- Boost groups to unlock features.
2024-02-18 20:24:20 +04:00
John Preston 2a52eca5f5 Fix set icon in updating group emoji set. 2024-02-18 20:21:03 +04:00
John Preston 13ded3a82e Fix crash in removing group emoji set. 2024-02-18 20:15:55 +04:00
John Preston 9a0ea78e0f Don't show duplicated emoji set. 2024-02-18 20:11:57 +04:00
John Preston a2fe1506cc Fix build. 2024-02-18 17:55:07 +04:00
John Preston 608b4f30c5 Show thumbnail of selected group emoji pack. 2024-02-18 17:54:09 +04:00
Ilya Fedin 3af646a584 Disable system proxy support on Linux
Reading system proxy on Linux reads to massive crashes in system libraries.

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

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

Fixes #27481, fixes #27479.
2024-02-16 12:14:13 +04:00
John Preston 137155afd8 Use round thumbnail in forum stories. 2024-02-16 11:27:09 +04:00
John Preston 38e082422a Show story sender / repost userpic under story source. 2024-02-15 13:51:41 +04:00
John Preston 0fd8ceca6b Use Ui::DynamicImage and ui/dynamic_thumbnails module. 2024-02-15 13:51:41 +04:00
John Preston f674ace805 Send comments to group stories. 2024-02-15 13:51:41 +04:00
John Preston 11f0847295 Update API scheme on layer 174. 2024-02-15 13:51:41 +04:00
John Preston 964846f1bb Add stories rights to group admins edit. 2024-02-15 13:51:41 +04:00
John Preston fc6f2520b7 Support free transcribes in groups. 2024-02-15 13:51:41 +04:00
John Preston cfaef4c441 Add Boost Group in group menu. 2024-02-15 13:51:40 +04:00
John Preston 571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston 08efa73b2b Allow editing group wallpaper / status / emoji set. 2024-02-15 13:51:40 +04:00
John Preston 680171226c Boost community features list. 2024-02-15 13:51:40 +04:00
John Preston ea12c2f62c Respect boosts restrictions lifting. 2024-02-15 13:51:40 +04:00
John Preston 180b14ea36 Allow saving boosts to lift restrictions. 2024-02-15 13:51:40 +04:00
John Preston f6a8c1e996 Allow boosts / giveaways in groups. 2024-02-15 13:51:40 +04:00
John Preston cb174cb0bf Add some more premium promo sections. 2024-02-15 13:51:40 +04:00
John Preston 33207b78d5 Show applied boosts in message bubbles. 2024-02-15 13:51:40 +04:00
John Preston e32cbf468b Update API scheme to layer 174. 2024-02-15 13:51:40 +04:00
John Preston c891ee3a45 Fix build on Windows. 2024-02-15 13:51:40 +04:00
23rd 6de471db17 Added counter label of characters limit to send files box. 2024-02-15 09:37:11 +03:00
23rd d1eaf284b1 Fixed text suggestion in toast when media caption is too long. 2024-02-15 08:22:16 +03:00
23rd 5cd0d82ffb Added counter label of characters limit for long media captions. 2024-02-15 08:21:35 +03:00
23rd 113c8a797f Added fade effect to input message fields. 2024-02-14 21:33:17 +03:00
23rd dcf4f45a36 Fixed ability to copy entire translated text from context menu. 2024-02-14 21:33:17 +03:00
Ilya Fedin 8b6a7a443e Switch from libproxy to GProxyResolver 2024-02-14 20:01:31 +04:00
Ilya Fedin c5db2b8175 Ensure custom arguments get applied in generated .desktop file 2024-02-14 09:31:19 +04:00
Ilya Fedin 00f98793b1 Update lib_webview 2024-02-12 19:52:08 +04:00
John Preston e5f90cd40d Version 4.14.15.
- Fix webview regression on Linux X11. (2nd attempt)
2024-02-10 00:32:40 +04:00
John Preston a10d668131 Version 4.14.14.
- Fix webview regression on Linux X11.
2024-02-09 20:18:40 +04:00
John Preston 8a62bacaa6 Fix anti-aliasing in emoji categories search. 2024-02-09 20:15:02 +04:00
100backslash001 bacab01f7e Remove duplicates from configure.py 2024-02-09 10:49:18 +04:00
23rd 5d3400033a Fixed ability to copy whole transcribed text and copy album captions. 2024-02-08 17:35:29 +03:00
23rd 0e571ea679 Added ability to copy filename of named documents. 2024-02-08 17:32:25 +03:00
23rd b959262140 Fixed legal link in some files. 2024-02-08 15:20:42 +03:00
Ilya Fedin fd3ce905c0 Update lib_webview 2024-02-08 11:45:09 +04:00
Ilya Fedin 29debc07c4 Let specify arbitrary build configuration via Docker
Default to RelWithDebInfo for both optimizations and debug information
2024-02-06 20:31:44 +04:00
Ilya Fedin 5334096d68 Fix bot webview height with fractional scaling 2024-02-06 10:25:27 +04:00
Ilya Fedin bb3f8fbbe8 Check whether webview is destructed after Webview::Window::init 2024-02-05 16:22:52 +04:00
John Preston 2f0b50cb37 Version 4.14.13: Always send webpages optionally.
If the link cannot be displayed everywhere
(channel blocked in some countries) the
send request without `optional` flag fails.
2024-02-02 21:41:19 +04:00
John Preston 6185fa980d Version 4.14.13.
- Fix display of statistics for single posts.
- Allow editing tag name from search tags.
- Fix a crash in tags removal.
2024-02-02 21:38:23 +04:00
John Preston 1cce1e8a90 Fix a crash in tags removal. 2024-02-02 21:33:58 +04:00
23rd 237baf11df Fixed display of statistics for single posts. 2024-02-02 21:33:46 +04:00
Ilya Fedin 46023f4260 Update lib_webrtc 2024-02-02 20:46:54 +04:00
John Preston 8459c29073 Allow editing tag name from search tags. 2024-02-02 11:25:04 +04:00
John Preston f072173d7c Fix tags for just-sent Saved Messages. 2024-02-02 09:52:32 +04:00
John Preston bec34c34b1 Version 4.14.12: Fix build with GCC. 2024-02-01 21:13:07 +04:00
John Preston 04ab148b2e Version 4.14.12.
- Tags in Saved Messages.
- Audio output device selection for music and videos.
- Audio input device selection for voice messages recording.
- Default device changes should be applied instantly. (Windows / macOS)
2024-02-01 17:52:37 +04:00
John Preston e314abefb8 Fix build with Xcode. 2024-02-01 17:52:37 +04:00
John Preston cdaa23363f Allow reaction reports in public groups. 2024-02-01 17:52:37 +04:00
John Preston 5401d00548 Allow reporting / banning from reactions in groups. 2024-02-01 17:30:40 +04:00
John Preston c06699e8e7 Update API scheme on layer 173. 2024-02-01 12:47:52 +04:00
John Preston 2f40a44b5c Improve things for OpenAL devices management. 2024-02-01 12:37:34 +04:00
John Preston 0945e04f6b Allow filtering by tag on click in sublists. 2024-02-01 12:37:34 +04:00
John Preston db7c16f82b Fix about message reaction text color. 2024-02-01 12:37:34 +04:00
John Preston 30548c2859 Support tags search in sublists. 2024-02-01 12:37:34 +04:00
John Preston 0163938e00 Add shadow below tags list widget. 2024-02-01 12:37:34 +04:00
John Preston 3421b656db Fix saved tag click in separate window messages. 2024-02-01 12:37:34 +04:00
John Preston 39b80c98c7 Support tags in ComposeSearch. 2024-02-01 12:37:34 +04:00
John Preston 323500f6dd Improve design of locked tags. 2024-02-01 12:37:34 +04:00
John Preston 11cf0486cb Implement required paywalls in tags. 2024-02-01 12:37:34 +04:00
John Preston 46579ac84d Support about text above reactions strip. 2024-02-01 12:37:34 +04:00
John Preston f324c53440 New premium promo section about tags. 2024-02-01 12:37:34 +04:00
John Preston 87df90227e Remove legacy premium reactions code. 2024-02-01 12:37:34 +04:00
John Preston 6f57302562 Track tag counts in all sublists. 2024-02-01 12:37:34 +04:00
John Preston d116c8fea0 Allow editing tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston 32462fca9b Show tag names in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston 55a174190e Fix reactions expanding. 2024-02-01 12:37:34 +04:00
John Preston 9f738cded2 Fix saved messages sublists pinning updates. 2024-02-01 12:37:34 +04:00
John Preston 87c1329490 Re-enable tags in Saved Messages. 2024-02-01 12:37:34 +04:00
John Preston ded2015dc2 Update API scheme to layer 173. 2024-02-01 12:37:34 +04:00
23rd 98a71cce89 Improved toast phrase for forwarded messages to self. 2024-02-01 12:37:34 +04:00
23rd a3ba1ba2a1 Fixed ability to create group without ttl even with ttl in settings. 2024-02-01 12:37:33 +04:00
23rd 42842619b0 Added external link to username field when it is available for purchase. 2024-02-01 12:37:33 +04:00
23rd 32d3b90cdc Replaced behavior of statistics info to wait all charts. 2024-02-01 12:37:33 +04:00
GitHub Action b182aeb51e Update User-Agent for DNS to Chrome 121.0.6167.85. 2024-02-01 12:37:25 +04:00
Ilya Fedin 7049929a59 Update libproxy 2024-01-31 23:27:41 +04:00
Ilya Fedin 5d33290218 Shorten socket paths on Linux 2024-01-29 11:46:12 +04:00
Ilya Fedin b843dab87a Get error message from the right object when copying log file 2024-01-27 07:17:24 +04:00
23rd 20bd7db4d9 Slightly improved display of top label in Premium Settings for user. 2024-01-25 19:28:31 +04:00
23rd 92f0358800 Fixed text insertion from menu bar on macOS when input field is hidden. 2024-01-25 19:28:30 +04:00
John Preston 0372f2be9c Beta version 4.14.11.
- Fix crash when accepting calls.
- Fix possible crash in loopback audio on Windows.
2024-01-25 19:26:55 +04:00
John Preston 7dfb93f7c2 Add some assertions for debugging a crash. 2024-01-25 18:30:21 +04:00
John Preston 3c150d9742 Fix possible crash in loopback audio on Windows. 2024-01-25 18:30:21 +04:00
John Preston 3c5cace175 Fix chats list bottom buttons skip. 2024-01-25 17:55:10 +04:00
John Preston 7e7fd6f1b4 Fix crash in accepting calls. 2024-01-25 17:54:31 +04:00
John Preston eebe7adbcb Beta version 4.14.10.
- Allow choosing audio device for music and video files.
- Allow choosing microphone device for voice recording.
- Allow pause and resume voice messages recording.
- Track audio device changes on Windows and macOS.
2024-01-25 11:57:58 +04:00