Commit Graph

16930 Commits

Author SHA1 Message Date
23rd
85b0733169 Improved guard of right edge iterator in linear chart view for stats. 2025-05-01 11:13:00 +04:00
23rd
7f2bba7c4a Fixed ttl phrase for 1 year. 2025-05-01 11:13:00 +04:00
23rd
664ec62396 Slightly improved style of text in top bar suggestion. 2025-05-01 11:13:00 +04:00
23rd
b4a9e45214 Improved display of top bar suggestion in non-main chats lists. 2025-05-01 11:13:00 +04:00
23rd
2eab7044ba Added ability to emplace top bar suggestion later. 2025-05-01 11:13:00 +04:00
23rd
8d449f91c6 Fixed phrases in list of active group calls from Calls box. 2025-05-01 11:13:00 +04:00
23rd
be8a836528 Fixed clearing of inactive quick dialog actions. 2025-05-01 11:13:00 +04:00
23rd
423782fd2b Improved birthday reminder of multiple contacts in top bar from dialogs. 2025-05-01 11:13:00 +04:00
23rd
dc1dc8dffa Added today birthdays to data session. 2025-05-01 11:13:00 +04:00
23rd
16a77e2975 Removed redundant buttons from profile of bot verification. 2025-05-01 11:13:00 +04:00
23rd
df69a70dd7 Removed ability to set wallpaper to chat with bot verification. 2025-05-01 11:13:00 +04:00
23rd
0638c86211 Removed ability to set TTL to chat with bot verification. 2025-05-01 11:13:00 +04:00
23rd
8c0de22c14 Added birthday reminder of multiple contacts to top bar in dialogs. 2025-05-01 11:13:00 +04:00
23rd
f83568c6c9 Added birthday reminder of single contact to top bar in dialogs. 2025-05-01 11:13:00 +04:00
23rd
10d472728c Added userpic suggestion to top bar in dialogs. 2025-05-01 11:13:00 +04:00
23rd
2c3cb3f5ce Added suggestion for restore premium to top bar in dialogs. 2025-05-01 11:12:59 +04:00
23rd
fbfe3fd5ed Added suggestion for upgrade to premium to top bar in dialogs. 2025-05-01 11:12:59 +04:00
23rd
b280a26317 Replaced management of top bar for suggestion in dialogs with rpl. 2025-05-01 11:12:59 +04:00
23rd
640db8af7d Added suggestion for annual premium to top bar in dialogs. 2025-05-01 11:12:59 +04:00
23rd
98d9357208 Added auto clean of top bar in dialogs on empty. 2025-05-01 11:12:59 +04:00
23rd
f3b6c7c09b Added birthday suggestion to top bar in dialogs. 2025-05-01 11:12:59 +04:00
23rd
3a622f111a Added initial dummy draft for top bar suggestions in dialogs. 2025-05-01 11:12:59 +04:00
23rd
e0b1ed87e8 Fixed ability to trigger quick dialog action with non-middle button. 2025-05-01 11:12:59 +04:00
23rd
63578affa4 Added toasts to quick dialog actions. 2025-05-01 11:12:59 +04:00
23rd
74b188fa46 Fixed ability to click on bot app button in narrowed chat list. 2025-05-01 11:12:59 +04:00
GitHub Action
2e168d152f Update User-Agent for DNS to Chrome 135.0.0.0. 2025-04-30 23:02:17 -07:00
GitHub Action
1035d787ab Update User-Agent for DNS to Chrome 134.0.0.0. 2025-04-24 00:05:39 -07:00
Ilya Fedin
79cb4668f1 Fix a crash on Linux without actions notification capability 2025-04-23 23:58:12 -07:00
Ilya Fedin
9bdc19e2fd Format markup-lacking Linux notifications using lng_dialogs_text_with_from 2025-04-11 09:51:19 -07:00
Ilya Fedin
25cd6106f5 Use Ui::ImageExtensions in PhotoVideoFilesFilter
This allows it to have all supported image extensions just like ImagesFilter
2025-04-11 09:51:08 -07:00
Ilya Fedin
c261c3367a Fix a PiP crash with Qt 6.9 2025-04-05 06:55:06 +05:00
nyakze
8b791e77d6 Update mime_type.cpp
add m3u to ip revealing types
2025-04-01 18:22:09 +05:00
Ilya Fedin
260b72fec1 Check location picker support early 2025-03-31 00:17:18 +05:00
Ilya Fedin
7d0beafce0 Ensure currentImageBack isn't null 2025-03-28 23:07:55 +05:00
Ilya Fedin
3c2f8b65ce Let QIcon::fromTheme check whether the tray icon is valid
QIcon::fromTheme overload with a fallback does a smarter check whether the icon is valid, use it to prevent getting a half-valid QIcon.
2025-03-27 21:58:36 +05:00
John Preston
5f73e8b3bf Version 5.13.1.
- Fix crash in group/channel stories.
2025-03-26 23:25:46 +05:00
John Preston
74afeeb85f Fix crash in group/channel stories. 2025-03-26 23:22:14 +05:00
John Preston
f8920e5fef Version 5.13.
- Allow transferring my unique gifts from Send Gift section.
- Edit type of gifts you accept in Settings > Privacy and Security.
- Swipe navigation using swipe gesture on touchpads / touchscreens.
- Choose chat list quick action for swipe or middle click.
2025-03-26 13:23:36 +05:00
John Preston
627ff6f26e Fix build with GCC. 2025-03-26 11:51:26 +04:00
John Preston
705db0b9cf Fix build with Xcode. 2025-03-26 12:27:55 +05:00
John Preston
906fc9cc1d Show more frozen errors. 2025-03-26 07:13:16 +04:00
John Preston
44d9525476 Update send gift icon visibility. 2025-03-26 07:13:16 +04:00
John Preston
8b2a549fab Fix crash in gifts repaint. 2025-03-26 07:13:15 +04:00
John Preston
7312e34f46 Update icons for gifts privacy. 2025-03-26 07:13:15 +04:00
John Preston
696be858f6 Load my gifts while scrolling in Send Gift. 2025-03-26 07:13:15 +04:00
John Preston
e1f4fd0c7b Remove blue border from gifts. 2025-03-26 07:13:15 +04:00
John Preston
f51320d1bc Add some more frozen restrictions. 2025-03-26 07:13:15 +04:00
John Preston
a0764190f2 Support sponsored peers in search results. 2025-03-26 07:13:15 +04:00
John Preston
33c5b35444 Send sponsored peers click requests. 2025-03-26 07:13:15 +04:00
John Preston
04e10f81b5 Send sponsored peers view requests. 2025-03-26 07:13:15 +04:00
John Preston
7f2545a9ef Request sponsored peers in global search. 2025-03-26 07:13:15 +04:00
John Preston
a2a16f3f23 Implement new business bots permissions. 2025-03-26 07:13:15 +04:00
John Preston
ab2a947992 Move "Show Gift Button" block up. 2025-03-26 07:13:15 +04:00
John Preston
7d0a73a6b0 Show gift button in the message field. 2025-03-26 07:13:15 +04:00
John Preston
e3c3a68566 Update API scheme on layer 201. 2025-03-26 07:13:15 +04:00
John Preston
4fc026b13c Allow transferring unique gifts from Send Gift. 2025-03-26 07:13:15 +04:00
John Preston
c0fed4d2c3 Filter out allowed gift types. 2025-03-26 07:13:15 +04:00
John Preston
b656e14453 Edit additional privacy options for gifts. 2025-03-26 07:13:11 +04:00
John Preston
fbab3964e6 Handle some frozen cases. 2025-03-26 07:11:20 +04:00
John Preston
d9b270b477 Initial frozen accounts support. 2025-03-26 07:11:20 +04:00
John Preston
7f53a19647 Update API scheme to layer 201. 2025-03-26 07:11:20 +04:00
23rd
9a439e1941 Added ability to switch tabs in dialogs suggestions with swipe. 2025-03-24 22:58:04 +03:00
23rd
4e4c69993c Ensured proper cleanup of allocated event filters for swipe handler. 2025-03-24 22:58:04 +03:00
23rd
0d085d500f Added ability to provide custom swipe handler to Info::ContentWidget. 2025-03-24 22:58:04 +03:00
23rd
f734c0475b Replaced SetupSwipeHandler signature from arguments to struct. 2025-03-24 22:58:04 +03:00
23rd
a30951dc91 Fixed swipe handler for small chat lists. 2025-03-24 22:58:04 +03:00
23rd
c4b37950a9 Added filename as fallback for audio files while export chat history.
Fixed #28920.
2025-03-24 22:58:04 +03:00
23rd
7cf832a2f4 Replaced div tags with span for reactions in export chat history. 2025-03-24 22:58:04 +03:00
23rd
1f07e7978d Improved background buttons in box for share QR box on different scales. 2025-03-24 22:58:04 +03:00
23rd
5adab2739b Fixed icon scale in call panel when recipient has low level of battery. 2025-03-24 22:58:04 +03:00
23rd
2be76760de Slightly improved style of settings for quick dialog action. 2025-03-24 22:58:04 +03:00
23rd
28c125a3ec Added some special cases when quick dialog action can't be performed. 2025-03-21 17:59:26 +03:00
23rd
bdf8a37a8f Guarded repaint of special quick dialog actions that lead to de-listing. 2025-03-21 17:59:21 +03:00
23rd
838711e2ac Added maximum of lifetime to every deactivated quick dialog action. 2025-03-21 17:26:50 +03:00
23rd
c085691c54 Moved out active quick action from total list of quick dialog actions. 2025-03-21 16:47:55 +03:00
23rd
47506d70ed Simplified signature of ResolveQuickDialogLottieIconName. 2025-03-21 16:47:46 +03:00
23rd
efc7cc4980 Added convenient bool operator to SwipeContextData. 2025-03-21 16:44:50 +03:00
John Preston
4e4604e00a Beta version 5.12.6.
- Allow customizing chats list swipe left action.
- Fix custom emoji in poll results view.
- Fix crash in main menu swipe closing.
2025-03-20 18:37:30 +04:00
John Preston
b057d4fcb7 Allow folder switching by swipes in vertical mode. 2025-03-20 18:23:17 +04:00
John Preston
cdf27296e4 Fix deselecting dialog rows between them. 2025-03-20 18:04:14 +04:00
23rd
889f111300 Slightly improved saving of quick dialog action in settings. 2025-03-20 16:59:33 +03:00
23rd
520b4f92ab Improved phrases for quick dialog actions in settings. 2025-03-20 16:59:33 +03:00
23rd
feb1d4ebcc Fixed dialog dragging with pressed quick dialog action. 2025-03-20 16:59:33 +03:00
23rd
c11a7589e2 Added initial ability to trigger quick dialog action with middle click. 2025-03-20 16:59:33 +03:00
23rd
c332b7cb40 Added initial handler for middle mouse click on dialogs. 2025-03-20 16:59:33 +03:00
23rd
418dcedc4e Replaced single QuickActionContext in dialogs widget with flat map. 2025-03-20 16:59:33 +03:00
23rd
a21eb9d59e Moved out quick actions enum for dialog to separated module. 2025-03-20 16:59:33 +03:00
23rd
25ed8fe044 Renamed swipe dialog action to quick dialog action. 2025-03-20 16:59:33 +03:00
23rd
b079c79390 Added correspond colors for every swipe dialog action. 2025-03-20 16:59:33 +03:00
23rd
d7a89ef122 Added implementation for all swipe dialog actions. 2025-03-20 16:59:33 +03:00
23rd
b95035e7a2 Added initial ability to change swipe dialog action from chat settings. 2025-03-20 16:59:33 +03:00
23rd
e28d29f276 Added initial implementation of swipe action to dialogs. 2025-03-20 16:59:33 +03:00
23rd
c29d78ac0d Added ability to provide reach ratio speed to swipe. 2025-03-20 16:59:33 +03:00
23rd
ad9106b815 Added ability to request reach out ratio of swipe. 2025-03-20 16:59:33 +03:00
John Preston
96fdece478 Fix mini-thumbs in channel last message preview. 2025-03-20 17:46:27 +04:00
John Preston
c30a5782df Revert "Fixed blinking of message preview from user's personal channel."
This reverts commit 75e454f3fd.
2025-03-20 17:46:27 +04:00
John Preston
c924fcb91f Fix custom emoji in poll results view. 2025-03-20 17:46:27 +04:00
John Preston
46e7b6d6df Implement "Choose gift to unpin" box feature. 2025-03-20 17:46:27 +04:00
John Preston
bb8ecf2f84 Fix spoiler hiding of ellipse image preview. 2025-03-20 17:46:27 +04:00
John Preston
7123a6d647 Hide image preview of ttl rounds behind spoiler. 2025-03-20 17:46:27 +04:00
John Preston
eb4ef8b3d7 Replace Reply with Forward for specific bots. 2025-03-20 17:46:26 +04:00
23rd
0d346610a2 Fixed sort of received star gifts. 2025-03-20 10:36:41 +03:00
John Preston
fe0c1acd79 Fix crash in main menu swipes on macOS. 2025-03-17 10:45:23 +04:00
John Preston
af35beefc2 Beta version 5.12.5: Fix build with Qt 6. 2025-03-14 17:23:54 +04:00
John Preston
532258bea8 Beta version 5.12.5.
- Support swipe navigation on touchscreens.
- Close main menu by swipe navigation.
2025-03-14 17:06:42 +04:00
John Preston
8e6d23ddd6 Support tg://settings/phone_privacy links. 2025-03-14 16:40:50 +04:00
John Preston
6d5d61c842 Label 'Add users' for Remove Fee. 2025-03-14 16:40:50 +04:00
John Preston
9d2e2a1739 Fix processing of video qualities.
Regression was introduced in b618d1e56a.
2025-03-14 16:40:49 +04:00
John Preston
19e2642ec1 Improve paid messages in groups layout. 2025-03-14 16:40:49 +04:00
John Preston
f9df522b41 Show error not-found on comment link click. 2025-03-14 16:40:49 +04:00
John Preston
b3e5c4a4aa Fix send button size on chat switch. 2025-03-14 16:40:49 +04:00
John Preston
06ed6c81a7 Remove 'delete also for' in Deleted Accounts. 2025-03-14 16:40:44 +04:00
John Preston
d1e4dbb603 Fix animated emoji in folder name. 2025-03-14 16:40:44 +04:00
John Preston
abe8079296 Allow temp-set of wearable as a status. 2025-03-14 16:40:44 +04:00
John Preston
033cb2790c Remove debug widget in the info section. 2025-03-14 16:03:58 +04:00
John Preston
188edce258 Support swipe-back from main menu. 2025-03-14 15:03:27 +04:00
John Preston
34858b36c1 Fix swipe gestures on touchscreens. 2025-03-14 14:36:13 +04:00
Ilya Fedin
2660439160 Fix Platform::ApplicationIconName for snap
Looks like it broke through rebases
2025-03-14 10:22:24 +04:00
John Preston
99a1c98ae0 Beta version 5.12.4.
- Touchpad swipe back to go back in navigation history.
- Touchpad swipe between folders if they're horizontal.

Out-of-the-box monochrome tray icon on Linux
with GTK icon recolorization support.

Files telegram{,{,-attention,-mute}-panel} are renamed
to org.telegram.desktop{,{,-attention,-mute}-symbolic} for
unified icon lookup in multiple (sometimes sandboxed) builds
and GTK icon recolorization support.

Snap package got icon theming support,
the icon names are snap.telegram-desktop.{,{,-attention,-mute}-symbolic}
(notice the name ends with a dot in case of no suffix!)
2025-03-12 18:26:46 +04:00
John Preston
fd718dfd5c Allow more Info sections swipe-back. 2025-03-12 18:02:47 +04:00
Ilya Fedin
31cb2f1999 Switch tray to symbolic icons
This allows to rely on GTK recoloring rather than requiring the user to have an icon theme
2025-03-12 14:54:41 +04:00
Ilya Fedin
a6a8e32be7 Install app icon in a spec-compilant way 2025-03-12 14:54:41 +04:00
Ilya Fedin
594bb8a76b Support icon themes in snap 2025-03-12 14:54:41 +04:00
Ilya Fedin
228bbc1e8e Always use app ID based icon name
This allows to unify it between flatpak and non-flatpak builds and corresponds to what most other GUI apps on Linux do
2025-03-12 14:54:41 +04:00
Ilya Fedin
b14c2878b3 Revert "Move icon name getter to cross-platform header"
This reverts commit d9318c9935.
2025-03-12 14:54:41 +04:00
Ilya Fedin
57f10040e1 Get rid of XEmbed mentions
The code goes through Qt abstractions which not necessarily go through XEmbed
2025-03-12 14:53:43 +04:00
Ilya Fedin
0fb67c78a9 Add a method to calculate instance hash to Launcher 2025-03-12 14:53:21 +04:00
John Preston
ff0f7f49da Fix new swipes on Windows. 2025-03-12 14:02:04 +04:00
23rd
9682e37547 Added shortcut to open chat preview from dialogs. 2025-03-12 11:59:20 +04:00
23rd
7197d9480b Added ability to swipe between chats filters. 2025-03-12 11:59:20 +04:00
23rd
3315c9c7f4 Added ability to open main menu with swipe-to-back. 2025-03-12 11:59:20 +04:00
23rd
f57eff4195 Added ability to mirror icon from widget for swipe-to-back. 2025-03-12 11:59:20 +04:00
23rd
f0c8e48403 Added ability to keep ratio of swipe within range. 2025-03-12 11:59:20 +04:00
23rd
de87bed375 Moved out data for swipe handler from history view to ui controls. 2025-03-12 11:59:20 +04:00
23rd
5cdfaab2db Moved out swipe handler from history view to ui controls. 2025-03-12 11:59:20 +04:00
23rd
acb0b029b9 Added ability to switch tab in tabbed selector with swipe. 2025-03-12 11:59:20 +04:00
23rd
4c74cbbbe9 Added ability to set swipe back widget on opposite side. 2025-03-12 11:59:20 +04:00
23rd
ad64e068db Allowed swipe-to-back in side info section. 2025-03-12 11:59:20 +04:00
23rd
6bed3f3f09 Increased speed of swipe-to-back. 2025-03-12 11:59:20 +04:00
23rd
d02e55da06 Added ability to swipe-to-back to all info sections with narrow type. 2025-03-12 11:59:20 +04:00
23rd
d662a8f2b9 Added ability to swipe-to-back to other sections. 2025-03-12 11:59:20 +04:00
23rd
13a93102a5 Added ability to swipe-to-back to admin log section. 2025-03-12 11:59:20 +04:00
23rd
0d6a1e6610 Added ability to swipe-to-back to replies section. 2025-03-12 11:59:20 +04:00
23rd
05cd9eebb8 Added ability to swipe-to-back to dialogs widget. 2025-03-12 11:59:20 +04:00
23rd
d93d8ab1cc Added ability to provide ElasticScroll to SetupSwipeHandler. 2025-03-12 11:59:12 +04:00
23rd
540fa0e669 Added ability to swipe-to-back to history widget. 2025-03-12 04:36:34 +03:00
23rd
17a10cf6bb Added initial ability to handle history view swipe in both directions. 2025-03-12 04:36:24 +03:00
John Preston
11d0f9db03 Try fixing crashes on Linux. 2025-03-10 13:32:36 +04:00
John Preston
f024ceecdd Version 5.12.3.
- Fix a couple more crashes.
- Fix gift disappearing on unpin.
- Fix country emoji for Fragment numbers.
2025-03-10 11:58:20 +04:00
John Preston
08c07a0785 Don't remove last gift on unpin if all loaded. 2025-03-10 11:57:20 +04:00