Commit graph

11109 commits

Author SHA1 Message Date
John Preston
11f183a79f Better animate sent reaction in flipped context. 2022-01-18 14:45:28 +03:00
John Preston
ae426a41e0 Better reaction layout outside of a bubble. 2022-01-18 14:37:14 +03:00
John Preston
d6edc3728d Workaround selection glitches on macOS. 2022-01-18 14:11:15 +03:00
John Preston
e121487170 Fix appear animation when sending a reaction in a group. 2022-01-18 13:09:42 +03:00
John Preston
72a093ec77 Support Windows 11 snap layouts in the main window. 2022-01-18 12:59:54 +03:00
John Preston
4996d90782 Fix first my reaction userpic in groups. 2022-01-17 21:29:28 +03:00
John Preston
9a451a1423 Don't suggest "Set As Quick" on already quick. 2022-01-17 19:21:34 +03:00
John Preston
4d11ad45db Use common title bar buttons in Call Panel. 2022-01-17 19:21:34 +03:00
John Preston
1657c2c7f2 Fix context menu on sent images / documents. 2022-01-17 19:21:34 +03:00
John Preston
c5e7048a3d Don't copy-on-click "pre" entities. 2022-01-17 16:49:14 +03:00
John Preston
1f194da2f0 Improve macOS title bar font and rounding. 2022-01-17 16:48:32 +03:00
John Preston
0954b04f24 Fix title controls on Windows 11. 2022-01-17 13:39:14 +03:00
John Preston
4659499340 Update window title icons. 2022-01-17 11:18:12 +03:00
John Preston
6eb4584408 Fix links before monospace formatting. 2022-01-17 10:51:35 +03:00
23rd
4ba4b77b95 Fixed formatting of text in entry of archived folder.
Fixed #23906.
2022-01-17 10:12:18 +03:00
John Preston
f9bf6dbc1e Beta version 3.4.5: Fix build with GCC. 2022-01-16 23:25:08 +03:00
John Preston
64b5269648 Beta version 3.4.5.
- Fix crash in monospace blocks processing.
- Fix reaction animations stopping after an hour uptime.
2022-01-16 22:57:01 +03:00
John Preston
f394cecf55 Fix crash in monospace blocks processing.
Fixes #23905.
2022-01-16 14:13:41 +03:00
23rd
8b56676c23 Fixed formatting of some internal links. 2022-01-16 14:13:12 +03:00
23rd
e2713ea627 Added ability to create formatted internal links. 2022-01-16 14:13:10 +03:00
John Preston
f5e50409d3 Add initial reaction bubble appear animation. 2022-01-16 14:11:50 +03:00
John Preston
050916a56a Fix userpics in more than one recent reaction. 2022-01-15 22:02:10 +03:00
John Preston
cdf36cc387 Fix reaction animations stopping after an hour uptime. 2022-01-15 12:38:47 +03:00
John Preston
acfdae2d72 Beta version 3.4.4: Fix build with GCC. 2022-01-14 22:57:13 +03:00
John Preston
ab59e97b92 Beta version 3.4.4.
- Nice animations in reactions.
2022-01-14 22:06:03 +03:00
John Preston
1060b04b1e Reacted users list on inline reaction right click. 2022-01-14 21:55:48 +03:00
John Preston
df044dbd83 Show local notifications about contact reactions. 2022-01-14 21:55:48 +03:00
John Preston
5eb210ec12 "Set As Quick" context menu in reactions dropdown. 2022-01-14 21:55:48 +03:00
John Preston
f24f78c0cc Use click handler property instead of dynamic cast. 2022-01-14 21:55:48 +03:00
John Preston
8a071fe1fe Respect reactions_default from appconfig. 2022-01-14 21:55:48 +03:00
John Preston
f3e84de5fb Implement recent reaction userpics in groups. 2022-01-14 21:55:48 +03:00
John Preston
2dec1b72f7 Rename reactionBottom* to reactionInline* styles. 2022-01-14 21:55:48 +03:00
John Preston
604a827a52 Allow fast reaction revoke in private chats. 2022-01-14 21:55:48 +03:00
John Preston
3d8b303ab7 Implement parabolic reaction drop. 2022-01-14 21:55:48 +03:00
John Preston
2c599e60c3 Improve first reaction animation in group. 2022-01-14 21:55:48 +03:00
John Preston
928d8feb21 Improve clearing of reaction animations. 2022-01-14 21:55:48 +03:00
John Preston
490e688a91 Add reaction animations to comments. 2022-01-14 21:55:48 +03:00
John Preston
34c36d77c3 Paint reaction animations above everything. 2022-01-14 21:55:47 +03:00
John Preston
0ab26f0c82 Initial reaction effects implementation. 2022-01-14 21:55:47 +03:00
John Preston
db453ab7ae Allow slowing down Animations::Simple in debug build. 2022-01-14 21:55:47 +03:00
John Preston
e032dbf383 Cache reaction lottie in Window::SessionController. 2022-01-14 21:55:47 +03:00
John Preston
3b4ed03105 Image coords should be multiply devicePixelRatio.
I hope this fixes #17277.
2022-01-14 21:55:47 +03:00
John Preston
963694330d Correctly apply reaction restrictions. 2022-01-14 21:55:47 +03:00
John Preston
2733b12cff Improve popup menu dimensions. 2022-01-14 21:55:47 +03:00
John Preston
a377364621 Use correct sizes for lottie frames. 2022-01-14 21:55:47 +03:00
John Preston
58f4884deb Optimize dropdown overlay painting. 2022-01-14 21:55:47 +03:00
John Preston
c2c7a25487 Keep reaction media in memory. 2022-01-14 21:55:47 +03:00
John Preston
f98c08f4c6 Improve reaction scale animation. 2022-01-14 21:55:47 +03:00
John Preston
cfc2a959cf Implement nice dropdown collapse animation. 2022-01-14 21:55:47 +03:00
John Preston
6a1630a84c Paint gradients inside dropdown. 2022-01-14 21:55:47 +03:00
John Preston
a51be85199 Improve button and dropdown layout. 2022-01-14 21:55:47 +03:00
John Preston
e0fd5d8795 Fix reactions dropdown on Retina screen. 2022-01-14 21:55:47 +03:00
John Preston
8659f60b46 Good dropdown rounding and shadow. 2022-01-14 21:55:47 +03:00
John Preston
c43699fb43 Prepare for better clipping. 2022-01-14 21:55:47 +03:00
John Preston
c56a22c8d5 Play select animations in reactions. 2022-01-14 21:55:47 +03:00
John Preston
7f27ce6dee Scale reactions on mouse over. 2022-01-14 21:55:47 +03:00
John Preston
508ba4750c Show appear animations in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston
c0b19000d6 Use lottie instead of webp in reactions dropdown. 2022-01-14 21:55:47 +03:00
John Preston
409a3357da Use lottie instead of webp in bottom info reactions. 2022-01-14 21:55:47 +03:00
John Preston
82523978c9 Use lottie instead of webp in Edit Chat Reactions. 2022-01-14 21:55:47 +03:00
John Preston
718ba2d0e3 Update API scheme to layer 137. 2022-01-14 21:55:47 +03:00
Hans Gaiser
df06f55c7f Use QT_QPA_PLATFORM if provided. 2022-01-14 21:58:43 +04:00
John Preston
d43853460e Update plasma-wayland-protocols to 1.6.0. 2022-01-13 19:37:22 +03:00
John Preston
28fee318d7 Update submodules. 2022-01-13 13:17:55 +03:00
23rd
1ec2ecac11 Fixed render of scene from photo editor for grayscaled images.
Fixed #23889.
2022-01-13 04:20:15 +03:00
23rd
7aa3956792 Fixed skip blocks for web pages and games. 2022-01-13 04:06:50 +03:00
Ilya Fedin
ac3e4fb42f Add missing openssl dependency for non-legacy tgcalls 2022-01-12 20:34:51 +03:00
Ilya Fedin
7c8d10022f Use return to decrease indentation in cmake files 2022-01-12 20:34:51 +03:00
John Preston
f1244e19a1 Fix build for Windows. 2022-01-12 13:07:00 +03:00
John Preston
e17143dd8b Update lib_ui submodule. 2022-01-12 12:24:20 +03:00
23rd
39d5d3a1cf Moved some photo editor files to td_ui. 2022-01-12 11:54:25 +03:00
23rd
f8be5731a5 Moved out extracting of attached stickers from Scene to FileLoadTask. 2022-01-12 11:54:25 +03:00
23rd
ab248febcd Added ability to select text of question from polls.
Fixed #8713.
Fixed #17531.
2022-01-12 11:54:25 +03:00
23rd
d4afba3a24 Added ability to copy monospace text via click. 2022-01-12 11:54:25 +03:00
23rd
4ee9751feb Added ability to cancel selection in calendar box with Esc key. 2022-01-12 11:54:24 +03:00
23rd
46fb5ee1d2 Added Page Up / Down keys to calendar box. 2022-01-12 11:54:24 +03:00
23rd
749f837df5 Fixed Home and End keys in calendar box. 2022-01-12 11:54:24 +03:00
23rd
e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
23rd
e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +03:00
23rd
2af3770b29 Moved special text command for lang tags to td_lang. 2022-01-12 11:54:24 +03:00
23rd
74f9d0935b Removed text commands from skip blocks. 2022-01-12 11:54:24 +03:00
23rd
f9c50fdc06 Removed text commands from theme preview. 2022-01-12 11:54:24 +03:00
23rd
1fa825321d Removed text commands from poll box. 2022-01-12 11:54:24 +03:00
23rd
d9147562e5 Removed text commands from profile cover. 2022-01-12 11:54:24 +03:00
23rd
5b569718ec Removed text commands from main menu. 2022-01-12 11:54:24 +03:00
23rd
a5d4746202 Removed text commands from overview layout for voices. 2022-01-12 11:54:24 +03:00
23rd
50d150302d Removed text commands from web pages. 2022-01-12 11:54:24 +03:00
23rd
e451eb5126 Removed text commands from dialogs list. 2022-01-12 11:54:24 +03:00
23rd
a626364430 Removed text commands from connection box. 2022-01-12 11:54:24 +03:00
23rd
b55ed7214a Removed text commands from history item components. 2022-01-12 11:54:24 +03:00
23rd
d6801517bb Removed text commands from url auth box. 2022-01-12 11:54:24 +03:00
23rd
97dde7eb56 Removed text commands from Export::View::TopBar. 2022-01-12 11:54:24 +03:00
23rd
10df3dce7c Removed text commands from dialogs row. 2022-01-12 11:54:24 +03:00
23rd
889d7c0c15 Added undo and redo shortcuts to photo editor. 2022-01-12 11:54:24 +03:00
Ilya Fedin
799155279f Update kwayland and move its dependencies to ThirdParty to keep them in sync 2022-01-11 16:51:01 +03:00
Ilya Fedin
30810e95f4 Log when DE is unknown 2022-01-08 10:59:47 +03:00
Ilya Fedin
a3d84f69ea fixup! Use more sources for DE detection 2022-01-08 10:45:13 +03:00
Ilya Fedin
b3bb1a537c Use more sources for DE detection 2022-01-08 09:55:34 +03:00
Ilya Fedin
726aa3316d Rework DE detection
Variables can point to a mixed environment, make DE detection non-exclusive.
Remove unused methods.
2022-01-07 19:14:59 +03:00
John Preston
ba6c3eaf73 Add dummy Platform::Integration on Linux. 2022-01-06 15:44:02 +03:00
John Preston
ebe45f3fa1 Fix selecting in expanded down dropdown. 2022-01-06 15:42:32 +03:00
John Preston
3f0fed19d8 Fix build for macOS. 2022-01-06 15:41:17 +03:00
John Preston
609cab6e2f Fix build with Xcode. 2022-01-06 15:41:12 +03:00
John Preston
7b3cb0c3dd Allow non-colored and .tgs Lottie::Icon-s. 2022-01-05 15:14:39 +03:00
John Preston
43559fb6b7 Fix crash in history switching. 2022-01-05 15:14:39 +03:00
John Preston
8788692fb3 Fix crash in sending a reaction. 2022-01-05 15:14:39 +03:00
Ilya Fedin
072e346324 Move libdl/libpthread handling to common_options 2022-01-05 13:18:08 +03:00
23rd
99f65ab5ec Migrated dependencies in Github CI for Windows. 2022-01-05 10:48:06 +03:00
John Preston
fe7b120003 Fix possible crash in dictionaries download.
Fixes #17258.
2022-01-05 01:04:38 +03:00
John Preston
cb8f86bc8d Attach main views to correct HistoryInner-s. 2022-01-05 00:11:29 +03:00
John Preston
18e6e2da9e Open specific chat only in one window. 2022-01-04 19:36:33 +03:00
John Preston
54247cd11b Create dialogs widget only in the primary window. 2022-01-04 16:44:53 +03:00
John Preston
8b0725650d Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
John Preston
20411be9bd Allow creating separate windows for peers. 2022-01-04 14:18:13 +03:00
github-actions[bot]
f4f36d85b9
Update copyright year to 2022. 2022-01-04 12:49:50 +04:00
John Preston
9f887237eb Remove a couple of unused lang keys. 2022-01-04 11:15:09 +03:00
GitHub Action
4e3f917a2c Update User-Agent for DNS to Chrome 96.0.4664.110. 2022-01-04 00:12:00 +03:00
John Preston
5c9c836857 Version 3.4.3: Fix build with GCC. 2022-01-04 00:01:56 +03:00
John Preston
31b7fe6ba0 Version 3.4.3.
- Bug fixes and other minor improvements.
2022-01-03 20:04:53 +03:00
John Preston
102c0a96ed Re-enable XWayland by default on GNOME.
Should fix #17457, fix #17468, fix #17476, fix #17477, fix #1747,
fix #17481, fix #17498.
2022-01-03 20:03:06 +03:00
John Preston
9a0be43ef5 Align reactions outside of the bubble. 2022-01-03 20:00:18 +03:00
John Preston
c1d948ef63 Reshuffle chat menus. 2022-01-03 18:16:19 +03:00
John Preston
9df229a230 Add pinned message icon.
Regression was introduced in 1af2cfe143.

Fixes #17489.
2022-01-03 18:15:36 +03:00
John Preston
a1c342c822 Leave only one style of the reaction button. 2022-01-03 15:30:17 +03:00
John Preston
c313cfb4ec Don't show empty context menu. 2022-01-03 14:47:05 +03:00
John Preston
8d4a658d0b Use mirrors for freedesktop.org repositories. 2022-01-03 14:14:26 +03:00
John Preston
86f53d3eff Fix crash after comments button destruction.
Regression was introduced in df66162bca.
2022-01-03 11:40:42 +03:00
John Preston
3cb89339c8 Version 3.4.2: Fix build for Mac App Store. 2021-12-31 23:40:36 +03:00
John Preston
ba98a8df32 Version 3.4.2: Fix build with GCC. 2021-12-31 23:32:53 +03:00
John Preston
f3faa52bc7 Version 3.4.2.
- Bug fixes and other minor improvements.
2021-12-31 18:03:25 +03:00
John Preston
3dac08d34f Move reaction button from fast share button. 2021-12-31 17:52:41 +03:00
John Preston
deba090cbd Allow smaller popup menus. 2021-12-31 17:52:17 +03:00
John Preston
5b01f9530b Fix reaction images loading. 2021-12-31 17:49:52 +03:00
John Preston
df66162bca Destroy comments button when switched off. 2021-12-31 17:31:03 +03:00
John Preston
d413080f83 Rebuild sets without restarting thumbnails. 2021-12-31 17:08:34 +03:00
John Preston
38ee57f852 Don't jump to top in StickersBox on stickersUpdated. 2021-12-31 16:50:43 +03:00
John Preston
c632316ad7 Fix updated sticker set thumbnail loading. 2021-12-31 16:40:01 +03:00
John Preston
bba7010e74 Show "View Message" button in sponsored. 2021-12-31 16:07:36 +03:00
John Preston
edf93b0031 Use different color for sponsored sender name. 2021-12-31 16:07:36 +03:00
John Preston
611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
John Preston
68886e1b61 Fix channel post views with replies counters. 2021-12-31 14:48:56 +03:00
John Preston
67319c1612 Version 3.4.1: Fix build with GCC. 2021-12-31 12:33:23 +03:00
John Preston
da8db0157f Version 3.4.1: Fix build without DBus. 2021-12-31 10:37:54 +03:00
John Preston
6188268afd Version 3.4.1.
- Bug fixes and other minor improvements.
2021-12-31 02:42:44 +03:00
John Preston
cd0db53bac For non-bubble messages reaction to the left of info. 2021-12-31 02:40:03 +03:00
John Preston
5bb90679a8 Attempt to fix a weird assertion violation. 2021-12-31 01:20:28 +03:00
John Preston
72df3a8f91 Don't show reaction button while selecting text. 2021-12-31 01:03:45 +03:00
John Preston
5fe2e649fb Attempt to fix a crash in reactions list view. 2021-12-31 00:59:29 +03:00
John Preston
9eba8ccc73 Always show reaction emoji in reactions view box. 2021-12-31 00:58:59 +03:00
John Preston
bb3c91aa44 Scale reaction images explicitly.
Fixes #17459.
2021-12-31 00:28:44 +03:00
John Preston
a6f1a1bd62 Fix bottom info with author signature.
Fixes #17464.
2021-12-30 23:57:12 +03:00
John Preston
1b2642b017 Fix spoilers with disabled animations.
Fixes #17458.
2021-12-30 23:38:28 +03:00
John Preston
e722645e7c Try to show the reaction button outside of the bubble. 2021-12-30 23:38:06 +03:00
John Preston
9486c266b5 Use context menu background for sticker reaction dropdown. 2021-12-30 23:36:52 +03:00
John Preston
dc21491099 Fix reactions icon in Manage Group / Channel. 2021-12-30 18:24:12 +03:00
John Preston
2f48bbd317 Version 3.4: Fix build with GCC. 2021-12-30 18:18:30 +03:00
John Preston
450f9ca91e Version 3.4: Update nimf submodule to clone fine on Windows. 2021-12-30 16:53:04 +03:00
John Preston
f86e2d98cc Version 3.4: Show mini-profiles from reactions overview. 2021-12-30 16:48:52 +03:00
John Preston
0cf85be86b Version 3.4.
- Send reactions to messages.
- Group and Channel admins can enable reactions in their chat
via '...' menu > Manage > Reactions.
- Select text when typing and choose 'Formatting > Spoiler' in
the context menu to hide some or all of the contents of a message.
- Click on the spoiler in chat to reveal its hidden text.
- Spoiler formatting hides text in chat,
as well as in the chat list and notifications.
2021-12-30 16:25:43 +03:00
John Preston
a15ef8bbc2 Check noforwards of specific messages in shared media. 2021-12-30 16:15:38 +03:00
John Preston
ecca60afe4 Some spoiler improvements. 2021-12-30 16:08:15 +03:00
John Preston
1ab0f840f3 Use reactions icon in context menu if more than 1 reaction type. 2021-12-30 16:08:15 +03:00
John Preston
3623fb1f9a Disable saveAs in media viewer if restricted. 2021-12-30 14:58:34 +03:00
John Preston
4cbfcc8dbc Disable reaction button on Call messages. 2021-12-30 14:33:11 +03:00
John Preston
90821428d3 Fix quick reaction button on Retina screens. 2021-12-30 14:33:11 +03:00
John Preston
c5468a1111 Fix spoilers in some cases. 2021-12-30 13:37:56 +03:00
John Preston
505ef04134 Show reaction button only when the cursor is over the message. 2021-12-30 13:37:39 +03:00
John Preston
f70c2adbdd Fix menu icons in proxy settings. 2021-12-30 13:37:17 +03:00
John Preston
2c20e7bb02 Beta version 3.3.2: Fix build with GCC. 2021-12-30 00:19:47 +03:00
John Preston
67fa58edc4 Beta version 3.3.2: One more attempt to fix macOS camera. 2021-12-30 00:02:21 +03:00
John Preston
43e1079969 Beta version 3.3.2.
- Select text when typing and choose 'Formatting > Spoiler' in the
context menu to hide some or all of the contents of a message.
- Click on the spoiler in chat to reveal its hidden text.
- Spoiler formatting hides text in chat,
as well as in the chat list and notifications.
2021-12-29 22:55:31 +03:00
John Preston
7b4354eb4a Fallback to QThreadPool if dispatch is unavailable. 2021-12-29 21:23:35 +03:00
John Preston
08b99b19c3 Fix crash in spoilers restoring. 2021-12-29 21:22:34 +03:00
John Preston
70658c6e65 Reactions under view button in the message bubble. 2021-12-29 21:22:34 +03:00
John Preston
c875f367e6 Add a semi-nice looking box with reactions overview. 2021-12-29 21:22:34 +03:00
23rd
3aacae2cb2 Added behavior to hide spoilers when switching sections. 2021-12-29 21:22:34 +03:00
John Preston
a381439e3e Show reactions in replies / pinned context menu. 2021-12-29 21:22:34 +03:00
John Preston
c6811640b5 Show box with reacted users. 2021-12-29 21:22:34 +03:00
John Preston
58c9494c03 Add reactions to replies / comments / pinned section. 2021-12-29 21:22:34 +03:00
John Preston
71d52d26c3 Show react button and dropdown with a delay. 2021-12-29 21:22:34 +03:00
John Preston
87e97ad533 Add admin event log phrases about reactions. 2021-12-29 21:22:34 +03:00
John Preston
a8bc7baa70 Update all messages in case of chat reactions toggle. 2021-12-29 21:22:34 +03:00
John Preston
ec16ca7df7 Poll reactions for visible messages. 2021-12-29 21:22:34 +03:00
John Preston
aafc24008b Apply reactions from message edit updates. 2021-12-29 21:22:34 +03:00
23rd
0ffd827fc5 Moved ellipsis string to lib_ui. 2021-12-29 21:22:34 +03:00
23rd
c40bcdc446 Added utility to correctly cut text with commands. 2021-12-29 21:22:34 +03:00
23rd
8b74dc2dec Added spoiler support to service messages. 2021-12-29 21:22:33 +03:00
John Preston
1d2065e4ef Fix reactions geometry for round videos. 2021-12-29 21:22:33 +03:00
John Preston
830a338082 Sort reactions in bubbles correctly. 2021-12-29 21:22:33 +03:00
John Preston
4228557722 Improve reactions position and colors. 2021-12-29 21:22:33 +03:00
John Preston
38c296b69f Remove test image-patterned message backgrounds. 2021-12-29 21:22:33 +03:00
John Preston
948dd7d545 Fix emoji in the input field with Qt 6.2.2. 2021-12-29 21:22:33 +03:00
John Preston
26827a5043 Fix build with Qt 6. 2021-12-29 21:22:33 +03:00
John Preston
a7c93a9421 Support patterned reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston
95e003153a Implement inline reactions dropdown. 2021-12-29 21:22:33 +03:00
John Preston
54f5b47585 Fix crash in reactions sending. 2021-12-29 21:22:33 +03:00
23rd
ec1511e0c9 Fixed focus when switching between accounts. 2021-12-29 21:22:33 +03:00
John Preston
b396d6e836 Start from-reaction-button dropdown. 2021-12-29 21:22:33 +03:00
23rd
022249f235 Fixed build on non-Windows. 2021-12-29 21:22:33 +03:00
23rd
fa4d1d72c4 Added animation for spoilers in sections. 2021-12-29 21:22:33 +03:00