Commit Graph

16273 Commits

Author SHA1 Message Date
John Preston d35c8232d2 Fix send-messages privacy phrase. 2024-04-01 22:44:25 +04:00
John Preston 139d1a9aa3 Allow saving just the sticker in custom intro. 2024-04-01 22:44:25 +04:00
John Preston f95817861a Fix build on Windows. 2024-04-01 22:44:25 +04:00
23rd 3e968aecc8 Added link for learn more about currency from channel earn section. 2024-04-01 22:44:25 +04:00
23rd 2795af8c7f Slightly improved style of channel earn info section. 2024-04-01 22:44:25 +04:00
23rd bb438880e3 Added ability to view all of user's own groups. 2024-04-01 22:44:25 +04:00
23rd 8492b7144f Replaced emoji with icon for currency in earn section. 2024-04-01 22:44:25 +04:00
23rd 5dd974f2ab Added line with converted currency amount to point details widget. 2024-04-01 22:44:25 +04:00
23rd d3cd3bb0a4 Slightly improved style of box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd 04acf08d34 Limited list of data for non-owners of channel in earn section. 2024-04-01 22:44:25 +04:00
23rd 4db885d8b4 Replaced exported data of callbacks from markup replies with base64. 2024-04-01 22:44:25 +04:00
23rd 8718d94e7d Added sub-button to top of sponsored messages that can be reported. 2024-04-01 22:44:25 +04:00
23rd 24c1151101 Fixed incorrect handling of error from channel ownership request. 2024-04-01 22:44:25 +04:00
23rd 0b22e5928c Fixed bottom fade effect for input message fields in compose controls. 2024-04-01 22:44:25 +04:00
23rd 3311a50750 Added second rulers to currency chart in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 1563a85fea Improved style for right action of forwarded messages. 2024-04-01 22:44:25 +04:00
23rd 586983eb9b Added divider text to box for reporting of sponsored messages. 2024-04-01 22:44:25 +04:00
23rd 1a7a906ced Added ability to review history entry in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 496247c1d8 Added ability to load chunked history transactions in earn info section. 2024-04-01 22:44:25 +04:00
23rd 2f07bb3973 Added initial support of withdraw button in channel earn info section. 2024-04-01 22:44:25 +04:00
23rd 9b0f3bedff Added entry point for channel earn info section. 2024-04-01 22:44:25 +04:00
23rd c66b5b2490 Added support of permission to manage channel earn. 2024-04-01 22:44:25 +04:00
23rd a1264a6088 Slightly improved style of learn more box in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 4e0d770d05 Removed cpm configuration. 2024-04-01 22:44:24 +04:00
23rd 508119a127 Added ability to report sponsored messages. 2024-04-01 22:44:24 +04:00
23rd 341b9e4a29 Added menu with about box to sponsored messages that can be reported. 2024-04-01 22:44:24 +04:00
23rd 57789c1272 Added second button to sponsored right. 2024-04-01 22:44:24 +04:00
23rd 3845a87f2e Added fade animation to center label of slider in earn channel section. 2024-04-01 22:44:24 +04:00
23rd 3c266b6dc4 Moved out data structures for channel earn to td_ui. 2024-04-01 22:44:24 +04:00
23rd 32a3952524 Added initial support of channel cpm from earn channel api. 2024-04-01 22:44:24 +04:00
23rd 9c52f245ac Added initial support of statistical charts in earn channel section. 2024-04-01 22:44:24 +04:00
23rd 393d9e9f1f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd f28f498467 Added support of level of boosts for restriction of sponsored messages. 2024-04-01 22:44:24 +04:00
23rd b5a7a351f6 Added initial support for integer format of channel earn amount data. 2024-04-01 22:44:24 +04:00
23rd a14c0f5253 Added initial support of channel earn data in appropriate info section. 2024-04-01 22:44:24 +04:00
23rd a278aa0f89 Added initial api support for channel earn statistics. 2024-04-01 22:44:24 +04:00
23rd 479bb2a1d6 Added focus to input field in channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 538934a88a Added learn more box to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 5d2726036f Slightly improved style of channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 778317e1b2 Added initial slider for earn settings to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 99dd5507bf Added initial transfer subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 490d9bc3ec Added initial box for every history entry to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 796e09bf13 Added initial subsection for history to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 588624e7a9 Added initial overview subsection to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd a45a9e6515 Added initial learn about as divider text to channel earn info section. 2024-04-01 22:44:24 +04:00
23rd a7df074b8f Added dummy files for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd 9941a46769 Added some phrases for channel earn info section. 2024-04-01 22:44:24 +04:00
23rd b0565f2188 Moved files for boosts to nested folder. 2024-04-01 22:44:24 +04:00
John Preston 8fb3e39881 Simple promo box for Telegram Business. 2024-04-01 22:44:23 +04:00
John Preston d788f5afac Handle today-birthday click in profile. 2024-04-01 22:44:22 +04:00
John Preston 20123fca7f Mark the Chatbots section as NEW. 2024-04-01 22:44:22 +04:00
John Preston 7c7b962c6d Improve couple of Telegram Business icons. 2024-04-01 22:44:22 +04:00
John Preston 68ded1a6e0 Allow newRequirePremium for free if server allows. 2024-04-01 22:44:22 +04:00
John Preston da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston 3b5814edae Handle empty channels list. 2024-04-01 22:44:22 +04:00
John Preston f439443fe5 Show personal channel in users profile. 2024-04-01 22:44:22 +04:00
John Preston 280d69d346 Implement personal channel selector. 2024-04-01 22:44:21 +04:00
John Preston ab74ed0fa7 Handle flood errors in birthday changes. 2024-04-01 22:44:21 +04:00
John Preston 0d740c21a2 Check if bot supports Telegram Business. 2024-04-01 22:44:21 +04:00
John Preston f65bc7c0bd Suggest premium on transfer speed limiting. 2024-04-01 22:44:21 +04:00
John Preston 0dd1a4973a Handle the new FLOOD_PREMIUM_WAIT errors. 2024-04-01 22:44:21 +04:00
John Preston 05a5e62327 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 66a47137a0 Copy chat link by left click in footer. 2024-04-01 22:44:21 +04:00
John Preston f240cbbda6 Handle chat link clicks. 2024-04-01 22:44:21 +04:00
John Preston 3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
John Preston 6fe0c60204 Fix build with Xcode. 2024-04-01 22:44:21 +04:00
John Preston f7d04d668b Hide captions in IV slideshows. 2024-04-01 22:44:21 +04:00
John Preston 57bd0d2674 Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 08ee25deb2 Display date of birth in user profiles. 2024-04-01 22:44:21 +04:00
John Preston c82d7bd909 Implement birthday info / privacy edit boxes. 2024-04-01 22:44:21 +04:00
John Preston 59663d6661 Track birthdays, edit birthday privacy. 2024-04-01 22:44:21 +04:00
John Preston 5e68dace9f Remove description in intro settings preview. 2024-04-01 22:44:21 +04:00
John Preston fcc9e0b2db Update API scheme on layer 177. 2024-04-01 22:44:21 +04:00
John Preston 3a5b3ff3bd Show description about custom chat intro. 2024-04-01 22:44:21 +04:00
John Preston 1e1a48865f Extract history/view/media/history_view_media_generic module. 2024-04-01 22:44:21 +04:00
John Preston b31c30b9b6 Wait for full user info before intro creation. 2024-04-01 22:44:21 +04:00
John Preston 7886a2179f Fix giveaway messages layout. 2024-04-01 22:44:21 +04:00
John Preston d1a995a863 Allow sending the sticker from the intro. 2024-04-01 22:44:21 +04:00
John Preston 85554d19e4 Show chat intro in an empty chat. 2024-04-01 22:44:21 +04:00
John Preston 7f4d13c54a Fix chat intro sticker aspect ratio. 2024-04-01 22:44:20 +04:00
John Preston 9f67b9ba2f Reload chatbot rules after adding an exception. 2024-04-01 22:44:20 +04:00
John Preston 5381fe5a1a Use MediaInBubble for chat intro fake-message. 2024-04-01 22:44:20 +04:00
John Preston 0887348611 Show length limit in chat intro fields. 2024-04-01 22:44:20 +04:00
John Preston 98ce91df39 Fix intro hello sticker playback in editing. 2024-04-01 22:44:20 +04:00
John Preston 191c35914f Start editing chat intro in Telegram Business. 2024-04-01 22:44:20 +04:00
John Preston cf1d0677d1 Support business bot state in chat. 2024-04-01 22:44:20 +04:00
John Preston 3d97ea6f96 Track chat business bot state. 2024-04-01 22:44:20 +04:00
John Preston caa4c5428a Show via_business_bot name in signature. 2024-04-01 22:44:20 +04:00
John Preston 90e572c8b1 Improve mixed stickerpacks support. 2024-04-01 22:44:20 +04:00
John Preston b1795f8c5a Update API scheme to layer 177. 2024-04-01 22:44:20 +04:00
John Preston 962c64b33c Beta version 4.15.7: Linux fix test. 2024-04-01 11:58:24 +04:00
GitHub Action bd827d844b Update User-Agent for DNS to Chrome 123.0.0.0. 2024-04-01 10:20:57 +04:00
wention ed70675e1d Fix build Qt error on non-english windows os 2024-04-01 10:08:16 +04:00
Ilya Fedin e07d53725c Strip notification service start error 2024-04-01 09:59:19 +04:00
Ilya Fedin 1b589a35cf Don't check the count when it's not going to painted 2024-04-01 09:50:20 +04:00
Ilya Fedin 439f8d0914 Implement monochrome icon setting on Linux 2024-04-01 09:50:20 +04:00
Ilya Fedin 1d7dbc4d17 Update patches & lib_base 2024-03-29 14:12:52 +04:00
Ilya Fedin 001b055ee8 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
Ilya Fedin e7a7c2d267 Get rid of XDG_CURRENT_DESKTOP dependent logic
Just try all the commands and use the one that works first
2024-03-26 09:31:58 +04:00
Ilya Fedin 8803dfcee6 Add Plasma 6 sound settings support 2024-03-26 09:31:58 +04:00
Ilya Fedin 5fa89c22bd Use default Qt prefix on Linux 2024-03-25 22:17:59 +04:00
Ilya Fedin ea42f9545f Move OpenSSL to system directories on Linux 2024-03-25 22:17:59 +04:00
John Preston 8830fb70a4 Beta version 4.15.6: OpenSSL 3.2.1. 2024-03-25 17:47:53 +04:00
Ilya Fedin 0edf14f3a9 Update Qt to 6.7.0-rc2 on Linux 2024-03-25 17:47:25 +04:00
John Preston 89c6bb163e Beta version 4.15.6: Fix build with GCC. 2024-03-25 11:19:31 +04:00
John Preston 8708598daa Beta version 4.15.6.
- Save the Instant View window geometry.
- Fix jump to anchors with accents in the Instant View.
- Fix possible crash in the ElasticScroll destructor.
2024-03-25 10:26:23 +04:00
John Preston c71c24a6bc Re-revert "Disable system proxy support on Linux".
This reverts commit 55b2b04e2e.
2024-03-25 10:25:34 +04:00
John Preston 386fb07017 Update lib_base submodule. 2024-03-25 10:16:12 +04:00
23rd aad2961646 Added all unused shortcuts to json of default shortcuts. 2024-03-25 10:15:42 +04:00
23rd 00a89883fd Added ability to set shortcut to archive chat from dialogs list. 2024-03-25 10:15:42 +04:00
23rd 5509c1810b Added ability to set shortcut to open section with scheduled messages. 2024-03-25 10:15:42 +04:00
23rd 24498bc95f Changed behavior to hide field buttons in HistoryWidget with typed text. 2024-03-25 10:15:42 +04:00
Sergey A. Osokin 58caec8d05 Fix build on FreeBSD 2024-03-25 10:14:17 +04:00
John Preston ebe331a7e4 Fix build on Windows. 2024-03-24 10:24:26 +04:00
John Preston d481008fdb Fix possible crash in ElasticScroll destructor. 2024-03-24 10:24:22 +04:00
John Preston b97d243978 Fix jump to hash with accents in IV. 2024-03-24 10:05:55 +04:00
John Preston fd833dff35 Save IV window geometry. 2024-03-24 10:05:52 +04:00
John Preston d9ed3a7d3f Remove for-development-only save document action.
Regression was introduced in 205479fccc.
2024-03-24 10:05:37 +04:00
John Preston b8ce79467f Fix crash on "History cleared" delete in Saved Messages. 2024-03-24 10:05:04 +04:00
John Preston 9d0457d208 Add "Terms of Use" menu item to all miniapps. 2024-03-24 10:04:54 +04:00
23rd fa02e521f9 Added ability to view all of user's own channels. 2024-03-24 07:10:07 +03:00
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
23rd 58fcedab64 Moved out Window::SlideAnimation to td_ui. 2024-03-24 07:01:08 +03:00
23rd 5e11c43f84 Moved out Stickers::EmojiImageLoader to td_ui. 2024-03-24 07:01:08 +03:00
Ilya Fedin 4b4de9d5aa Don't mark as read when unexposed
There's a yet another another visility state called "exposed" and the window could be unexposed while being not hidden and not minimized.

When the window is unexposed, Qt doesn't draw and the user can't see changes for sure.
2024-03-23 10:36:43 +04:00
23rd f135676d36 Added support for sending state of low level of battery. 2024-03-22 00:12:57 +03:00
23rd cb9adad660 Added label to call panel when recipient has low level of battery. 2024-03-21 23:48:51 +03:00
23rd 88dab47d2c Changed behavior to open section with scheduled messages at top. 2024-03-21 20:20:06 +03:00
Daniel Novomeský d6e4613144 Upgrade dav1d, libavif, libde265, libheif on Linux 2024-03-20 20:00:33 +04:00
23rd 893c09c848 Fixed showing of rate call box in appropriate window. 2024-03-20 11:20:22 +04:00
Ilya Fedin a0e0fd5b98 Don't build libheif tests
That would save some build time
2024-03-19 20:14:28 +04:00
John Preston 98abb3aa00 Fix possible crash in join channel toast. 2024-03-19 11:04:40 +04:00
John Preston 8982a49192 Fix repetitive phone formatting. 2024-03-19 11:04:21 +04:00
John Preston 529eb4e954 Fix window shadow on Linux. 2024-03-19 11:03:39 +04:00
Ilya Fedin 846a6d8717 Update scudo to 18.1.1 2024-03-18 19:53:36 +04:00
Ilya Fedin 07ab875655 Update lib_base 2024-03-18 09:59:47 +04:00
Ilya Fedin 602b0b5d9b Use the File::OpenUrl routine in IV 2024-03-18 09:59:47 +04:00
John Preston 0e428aebdb Update patches in Linux build. 2024-03-17 20:34:02 +04:00
Daniel Novomeský 4abc68ab1c Upgrade dav1d, libavif, libde265, libheif 2024-03-17 19:35:00 +04:00
23rd 2638ee2926 Improved message edition with pre-selected text. 2024-03-17 11:16:07 +03:00
Ilya Fedin ddaf78828a Fix media viewer geometry restoration 2024-03-17 09:28:46 +04:00
Ilya Fedin 6d5347472d Fix media viewer geometry logging
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston 82fda96ed8 Beta version 4.15.5.
- Fix a crash in Instant View article parsing.
- Support AirPods Mute/Unmute toggle in calls on macOS.
- Disable system proxy on Linux to check if it fixes crashes.
2024-03-16 09:59:23 +04:00
John Preston 55b2b04e2e Reapply "Disable system proxy support on Linux"
This reverts commit 202a4064a4.
2024-03-16 09:54:07 +04:00
23rd 393f330d15 Added ability to go to message from Calls box. 2024-03-16 04:40:56 +03:00
23rd f4ecfeaddd Added ability to perform bulk selection from menu in HistoryWidget. 2024-03-16 04:40:56 +03:00
Ilya Fedin ad101dc8a0 A way to initialize GLib::VariantIter without gi::wrap is found 2024-03-15 23:10:43 +04:00
John Preston 24e9a3ea59 Bot close confirm closes only by Close button. 2024-03-15 20:28:11 +04:00
John Preston f1d8135e30 Fix crash in IV parsing. 2024-03-15 20:26:50 +04:00
23rd a1a415de82 Fixed crash in non-stack bar chart view when hide selected point. 2024-03-15 17:08:17 +03:00