Commit Graph

16398 Commits

Author SHA1 Message Date
John Preston 8acada9b0f Fix toppeers animation with expanded stories. 2024-04-23 19:17:41 +04:00
23rd a86e7f035f Slightly improved style of inner box for channel earn history entries. 2024-04-23 19:17:41 +04:00
John Preston 9caff93c35 Fix build for Xcode. 2024-04-23 19:13:48 +04:00
John Preston e6ba85e112 Keyboard navigation in channels/recommendations. 2024-04-23 19:13:48 +04:00
John Preston 046803dbed Fix rotation reading in FFmpeg. 2024-04-23 19:13:48 +04:00
John Preston 615f4b1d1c Ignore pageBlockUnsupported blocks. 2024-04-23 19:13:48 +04:00
John Preston a11535806d Always show cancel search when focused. 2024-04-23 19:13:48 +04:00
John Preston 34a7169b4f Make unread badges on top peers nicer. 2024-04-23 19:13:47 +04:00
John Preston 4f365c73ad Support active selection in recommendations. 2024-04-23 19:13:47 +04:00
John Preston 705bd9693d Load recommendations on demand. 2024-04-23 19:13:47 +04:00
John Preston a88770a8ec Don't close recommendations. 2024-04-23 19:13:47 +04:00
John Preston da423b5bd2 Add a general FastShareLink method. 2024-04-23 19:13:47 +04:00
John Preston 56080bd0e4 Fix boost group link handling for forums. 2024-04-23 19:13:47 +04:00
John Preston 63f66a1369 Show "Boost" button in boost group links. 2024-04-23 19:13:47 +04:00
John Preston ca1a30196e Fix LinkButton resizing. 2024-04-23 19:13:47 +04:00
John Preston b2d8e2a1e6 Initial version of channels/recommendations. 2024-04-23 19:13:47 +04:00
John Preston 2ab8bb13c5 Fix links preview. 2024-04-23 19:13:47 +04:00
23rd 3a2c5c6d0a Increased size of stickerset preview in webpages. 2024-04-23 19:13:47 +04:00
23rd ed13a325e9 Added stickerset preview to webpages. 2024-04-23 19:13:47 +04:00
23rd f43f99cff2 Added initial api support of stickerset attribute in web pages. 2024-04-23 19:13:47 +04:00
John Preston a3b8397361 Close chat/media if thrown out by admin. 2024-04-23 19:13:47 +04:00
John Preston 4fb03e532c Optimize stories list generation. 2024-04-23 19:13:47 +04:00
John Preston 645ad5e1bd Update pinned icon in stories list. 2024-04-23 19:13:47 +04:00
John Preston 9036e9e8e3 Show pinned icon in stories. 2024-04-23 19:13:47 +04:00
John Preston 468d8b04d6 Implement stories pin-to-top. 2024-04-23 19:13:47 +04:00
John Preston 4b98ab1246 Fix build with simplified ads. 2024-04-23 19:13:46 +04:00
John Preston d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00
23rd df16e7c00b Added ability to change reactions limit in channels. 2024-04-23 19:13:46 +04:00
23rd 225c0e0af3 Added initial api support of reactions limit in channels and groups. 2024-04-23 19:13:46 +04:00
23rd 5543927042 Added ability to enable sponsored messages for premium self. 2024-04-23 19:13:46 +04:00
23rd 72b274a2bf Added support of simplified constructor for MTP sponsored message. 2024-04-23 19:13:46 +04:00
John Preston ac15990b48 Update API scheme to layer178, ads broke build. 2024-04-23 19:13:46 +04:00
John Preston 7387dfdd9c Don't create top/recent peers unnecessary. 2024-04-23 19:13:46 +04:00
John Preston 74a7e7d1b4 Fix non-intentional chats list search focus. 2024-04-23 19:13:46 +04:00
John Preston a0a9de1d18 Cancel search on switching folders. 2024-04-23 19:13:46 +04:00
John Preston 360366ba9e Fix opening forums from recent peers. 2024-04-23 19:13:46 +04:00
John Preston 0180fe9468 Animate search suggestions. 2024-04-23 19:13:46 +04:00
John Preston 19f5d95a3c Implement keyboard navigation for recent peers. 2024-04-23 19:13:46 +04:00
John Preston 051ca51d3b Allow clearing search results. 2024-04-23 19:13:46 +04:00
John Preston 2a6ff9203b Implement basic recent search results. 2024-04-23 19:13:46 +04:00
John Preston 2e0529bd9a Add data component for RecentPeers. 2024-04-23 19:13:46 +04:00
John Preston e24ab4f1ab Allow saving emoji to files in debug builds. 2024-04-23 19:13:46 +04:00
John Preston 3dbadeb232 Allow opening top peers in a new window. 2024-04-23 19:13:46 +04:00
John Preston 4cdd939028 Cache topPeers locally. 2024-04-23 19:13:46 +04:00
John Preston c11f4efc5c Support disabling top peers completely. 2024-04-23 19:13:46 +04:00
John Preston e1c21b908c Add keyboard navigation to top peers. 2024-04-23 19:13:46 +04:00
John Preston a6c1def6fe Add ripples to top peers. 2024-04-23 19:13:46 +04:00
John Preston 19ae76d8de Top peers context menu. 2024-04-23 19:13:46 +04:00
John Preston 56e28feb00 Top peer realtime badges. 2024-04-23 19:13:45 +04:00
John Preston b259c566b7 Top peer unread badges and online indicators. 2024-04-23 19:13:45 +04:00
John Preston 18598f8dca Initial version of top peers. 2024-04-23 19:13:45 +04:00
John Preston 11e4c45969 Don't collapse chats list on window unfocus. 2024-04-23 19:13:45 +04:00
John Preston 39658ffe52 Allow narrow chats width without main section. 2024-04-23 19:13:45 +04:00
John Preston 2f03b9aa29 Make dialogs filter onfocused by default. 2024-04-23 19:13:45 +04:00
John Preston dc438cff23 Always export file_name in json. 2024-04-23 19:13:45 +04:00
John Preston 18f5521be5 Don't look for SDL when building on macOS. 2024-04-23 19:13:45 +04:00
Ilya Fedin bae9af1076 Switch crash reporter to system fonts
This should prevent nested crashes when loading custom fonts
2024-04-23 11:01:19 +04:00
Ilya Fedin 8d2805f226 Set font weight in crash reporter 2024-04-23 10:10:43 +04:00
Ilya Fedin 0ad18c8182 Get rid of direct Wayland usage
This should get rid of a very nasty vector of misbehaving and quite a lot of code which is boilerplate over Wayland protocols at the price of losing support of niche features

Most of things served by xcb code on X11 is served by portal code on Wayland, hopefully this tendention will continue and we will be fine just with glib which provides D-Bus and other basic APIs
2024-04-22 11:04:02 +04:00
Ilya Fedin 9046b2cafb Stop using the plasma-shell protocol
Looks like this isn't really correct in combination with xdg-shell
2024-04-22 10:59:16 +04:00
Ilya Fedin 3d994b58a0 ShowXDPOpenWithDialog -> UnsafeShowOpenWith 2024-04-21 03:14:34 +04:00
23rd 01bfa46729 Fixed display of default box for message schedule in correspond window. 2024-04-18 11:57:25 +04:00
Kolya 3510ca7184 Don't use/link libsharpyuv in libavif 2024-04-18 09:23:15 +04:00
Ilya Fedin 8d7845daa1 Use --shallow-submodules in Docker 2024-04-18 09:13:37 +04:00
Ilya Fedin cb5fdac0da Replace mozjpeg with jpegli on Linux 2024-04-17 23:45:15 +04:00
John Preston ec95db0945 Revert "Replace mozjpeg with jpegli in Docker"
This reverts commit a1e2e3d011.
2024-04-16 23:00:08 +04:00
John Preston a0d7d07543 Version 4.16.8.
- Fix in-app playing of some video and audio files.
- Fix crash on Linux opening chats with custom backgrounds.
- Fix crash on quit after using scheduled messages.
2024-04-16 20:15:32 +04:00
John Preston fe73bf9053 Fix ripples in channel comments buttons. 2024-04-16 20:14:04 +04:00
John Preston 49c9e08b6c Enforce video/audio extension by mime type. 2024-04-16 20:14:01 +04:00
John Preston abcf55c498 Check chat background read result. 2024-04-16 20:13:55 +04:00
John Preston 849ce310c4 Jump by keyboard between time input fields. 2024-04-16 20:13:02 +04:00
John Preston a3e593b747 Fix crash in scheduled messages tear-down. 2024-04-16 20:12:03 +04:00
23rd 5433f95eda Simplified creation of label with custom emoji. 2024-04-16 03:44:00 +03:00
23rd 0459196982 Moved out level meter widget to td_ui. 2024-04-16 03:43:39 +03:00
23rd 6f1457d30d Fixed phrase of placeholder for message edition mode. 2024-04-15 23:56:37 +03:00
23rd ce596e29c4 Fixed opening message from media player widget in corresponding window. 2024-04-15 23:41:00 +03:00
23rd 86b9d16747 Added additional note for macOS keys to json of custom shortcuts. 2024-04-15 23:30:57 +03:00
John Preston 06911ae42a Version 4.16.7.
- Reimplement file open confirmations.
2024-04-15 17:56:45 +04:00
John Preston af2cb9b757 Fix possible unhandled exception in highlighting. 2024-04-15 17:56:45 +04:00
John Preston 6a28cd1a35 Reimplement file open confirmations. 2024-04-15 12:07:27 +04:00
23rd f4a09a9ca0 Fixed display of growth rate in statistics info for huge values. 2024-04-15 11:20:30 +04:00
23rd a35f020f56 Moved out ScheduledMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd 3d48111368 Moved out SponsoredMessages module to components submodule. 2024-04-15 11:20:30 +04:00
23rd 39ed7d7f4c Increased clickable area for each item in EditPeerHistoryVisibilityBox. 2024-04-15 11:20:30 +04:00
23rd abe83ccb8f Moved inaccessible groups in box for user's own groups to sub-list.
Fixed #27729.
2024-04-15 11:20:30 +04:00
23rd d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd 1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd a37cbd7d05 Initially refactored statistics module to simplify value types changing. 2024-04-15 11:20:30 +04:00
23rd 7ffa9844e2 Fixed currency formatting for channel earn info section. 2024-04-15 11:20:30 +04:00
23rd bdf5872f04 Fixed opening channel earn info section for admins. 2024-04-15 11:20:30 +04:00
Ilya Fedin a503197352 Remove XCBSetDesktopFileName
This is done by Qt nowadays
2024-04-15 10:11:30 +04:00
Nyan d9d9a8f49d Update data_document_resolver.cpp
Added the LEXE and WLUA extensions to the IsExecutableName function for Windows. Those are registered by default on Windows devices with LUA installed
2024-04-13 23:45:03 +04:00
Ilya Fedin a1e2e3d011 Replace mozjpeg with jpegli in Docker 2024-04-11 12:35:47 +04:00
Ilya Fedin 5e546d1198 Update libjxl in Docker & snap 2024-04-11 12:35:47 +04:00
Ilya Fedin 90405f3ebc Install protobuf in Docker 2024-04-11 12:15:55 +04:00
Nyan 11b57ff7d3 Update data_document_resolver.cpp
The correct python zipapp extension on windows is pyzw, this typo could lead to executing code in the client device without proper warning
2024-04-11 11:24:15 +04:00
Ilya Fedin fe06cd63ac Lock event loop 2024-04-09 20:48:47 +04:00
John Preston 6c9d5e1499 Improve clipboard QR code image logo quality. 2024-04-09 19:05:02 +04:00
John Preston 6ed910de9f Version 4.16.6.
- Show custom emoji preview on long press.
- Fix resume chat bot button disappearance.
- Fix GIF files playback. (regression in 4.16.3.beta)
2024-04-09 15:20:16 +04:00
John Preston a506b8b25c Support t.me/username?text=.. links. 2024-04-09 15:20:10 +04:00