Commit Graph

330 Commits

Author SHA1 Message Date
Alexander Zinchuk
9178524f1a Revert "[Temp] Force logs"
This reverts commit cacaf7f9f2.
2021-06-11 02:44:20 +03:00
Alexander Zinchuk
cacaf7f9f2 [Temp] Force logs 2021-06-11 02:31:44 +03:00
Alexander Zinchuk
03cf3e8498 Follow-up (#1144) 2021-06-11 02:31:42 +03:00
Alexander Zinchuk
993eef3431 Left Menu: Support switching between versions (#1143) 2021-06-11 01:59:15 +03:00
Alexander Zinchuk
b79e495841 Follow-up 2021-06-11 01:59:13 +03:00
Alexander Zinchuk
9f6ba21a53 Support legacy app sessions 2021-06-11 01:19:20 +03:00
Alexander Zinchuk
ab3a00f29a [Perf] Another attempt to use canvas for faster blur (#1126) 2021-06-11 01:19:18 +03:00
Alexander Zinchuk
d40214428d Audio Player: Fix vertical alignment (#1140) 2021-06-11 01:19:15 +03:00
Alexander Zinchuk
23de9cfcb3 Message: Fix layout after RTL (#1139) 2021-06-11 01:19:13 +03:00
Alexander Zinchuk
e5dc1f485b Middle Column: Custom background should be memorized related to a theme (#1042) 2021-06-11 01:19:11 +03:00
Alexander Zinchuk
b2242f7fe4 Add RTL Support (#1135) 2021-06-11 01:19:08 +03:00
Alexander Zinchuk
32c7b083c8 Chat, Embedded Message: Fix round video preview in dark theme (#1136) 2021-06-11 01:19:05 +03:00
Alexander Zinchuk
23529106b3 Voice Chats: Indicators and service messages (#1134) 2021-06-11 01:19:03 +03:00
Alexander Zinchuk
ffe756414c More fixes for muted chats; PWA badge (#1133) 2021-06-03 21:22:49 +03:00
Alexander Zinchuk
dda1800ef3 Message List: Better notch color with dark theme 2021-06-01 11:49:37 +03:00
Alexander Zinchuk
6bfcbe4da1 Localization: Fix translations sometimes not applied 2021-06-01 11:49:33 +03:00
Alexander Zinchuk
9ebd0c4e00 Fix px -> rem values (#1132) 2021-06-01 11:49:30 +03:00
Alexander Zinchuk
c2c3832908 Fix backwards compatibility (#1131) 2021-06-01 11:49:27 +03:00
Alexander Zinchuk
5eb2e77c2e Fix frozen layout when proload task fails 2021-05-31 19:50:16 +03:00
Alexander Zinchuk
6dd0249541 Message List: Various fixes for bottom padding 2021-05-31 19:50:13 +03:00
Alexander Zinchuk
7681f5998c Message List: Fix animation in small chats 2021-05-31 19:50:10 +03:00
Alexander Zinchuk
81f12ddb2f Message List: Improve scroll notch 2021-05-31 17:22:59 +03:00
Alexander Zinchuk
bf4ff6355a Fix calculateAuthorWidth for emojis (#1130) 2021-05-31 17:22:56 +03:00
Alexander Zinchuk
ea94e70343 Fix some missing emojis (#1128) 2021-05-31 15:08:58 +03:00
Alexander Zinchuk
33aaad6bca Notification: Respect global notification settings and exceptions (#1123) 2021-05-31 15:08:55 +03:00
Alexander Zinchuk
839b6b65f2 Message List: Scroll notch (#1129) 2021-05-31 15:08:51 +03:00
Alexander Zinchuk
30685d6102 More external URL safety 2021-05-30 20:26:23 +03:00
Alexander Zinchuk
9b2d498715 Notifications: Vibrate only if supported (#1124) 2021-05-30 20:26:20 +03:00
Alexander Zinchuk
47dc76e096 Top chat messages preload: Less, faster, exclude pinned 2021-05-26 02:27:05 +03:00
Alexander Zinchuk
f2e8977413 Do not destroy session on startup errors 2021-05-26 02:27:01 +03:00
Alexander Zinchuk
7b035dc1f9 Message List: Unread Messages should be placed before first comment 2021-05-25 22:14:39 +03:00
Alexander Zinchuk
2e5a2d7000 Message List: Fix jumping scroll when playing audio on mobile 2021-05-25 22:14:35 +03:00
Alexander Zinchuk
9564969311 Message / Photo: Fix sizes (#1119) 2021-05-25 22:14:31 +03:00
Alexander Zinchuk
e1cf508eca Revert "[Perf] Use canvas for faster blur (#1100)"
This reverts commit 27cc33b5541e6f9fe27cf74220e8629a5966d339.
2021-05-24 16:01:21 +03:00
Alexander Zinchuk
714101e1a5 Another fix for reloading on screen layout change (#1111) 2021-05-24 13:10:12 +03:00
Alexander Zinchuk
d0dac76c8b Localization: Add more translations (#1112) 2021-05-24 13:10:09 +03:00
Alexander Zinchuk
01933bfcb1 Attacment Modal: Fix multiline height and better support for drag-n-drop (#1113) 2021-05-24 13:10:03 +03:00
Alexander Zinchuk
800a23f731 Fix swipe conflicting with scroll (#1116) 2021-05-24 13:09:59 +03:00
Alexander Zinchuk
344590b58b Fix Message: After deleting last message in the group, the appendix disappears (#1114) 2021-05-24 13:09:56 +03:00
Alexander Zinchuk
5c1df65a0c Fix Create Chat: Can't create a channel without subscribers (#1115) 2021-05-24 13:09:54 +03:00
Alexander Zinchuk
e2daa2a9a6 Round Video: Fix playing with sound only once (#1117) 2021-05-24 13:09:51 +03:00
Alexander Zinchuk
a0ee6ca918 Message List: Fix losing scroll position after many new messages in closed chats 2021-05-24 00:28:14 +03:00
Alexander Zinchuk
65d36c7723 [Perf] Use canvas for faster blur (#1100) 2021-05-24 00:28:09 +03:00
Alexander Zinchuk
1f56cc1af6 Media Viewer: Fix animation glitches when closing (#1102) 2021-05-24 00:28:05 +03:00
Alexander Zinchuk
49850366fb Localization: Cache versioning (#1110) 2021-05-21 16:20:26 +03:00
Alexander Zinchuk
b36ec8cf44 GramJs: Fix ESLint errors (#1070) 2021-05-21 14:50:12 +03:00
Alexander Zinchuk
4faa7563aa GramJs: Update layer 121 => 128 2021-05-21 14:50:09 +03:00
Alexander Zinchuk
ffa338d667 Localization: Add many translations (#1103) 2021-05-21 14:44:26 +03:00
Alexander Zinchuk
d2a10a5b8b Settings: Display browser language above other languages (#1106) 2021-05-21 14:44:23 +03:00
Alexander Zinchuk
08cfbd9d25 Message: Allow system context menu for links (#1105) 2021-05-21 14:44:20 +03:00
Alexander Zinchuk
3520854116 Message: Fix avatar position for chats without composer (#1104) 2021-05-21 14:44:17 +03:00
Alexander Zinchuk
3246ea95fc Another attempt to refresh only when orientation has changed (#1101) 2021-05-21 14:44:14 +03:00
Alexander Zinchuk
9de06f856a Revert refresh on resize 2021-05-17 19:42:51 +03:00
Alexander Zinchuk
3b1422a9aa Auth Code: Turn off autocomplete 2021-05-15 02:46:13 +03:00
Alexander Zinchuk
de502bc70b Message List: Avoid redundant FAB animation 2021-05-15 02:46:10 +03:00
Alexander Zinchuk
ba865e6a68 Message List: Fix flickering sticky dates background; Middle Header: Small refactoring 2021-05-15 02:46:08 +03:00
Alexander Zinchuk
18aeb7abe7 Pinned Message: Fix updating after pin/unpin 2021-05-15 02:46:05 +03:00
Alexander Zinchuk
414c88f345 Message List: Again fix scroll jump when closing chat on mobile 2021-05-15 02:46:03 +03:00
Alexander Zinchuk
41c02d4e08 Fix for previous 2021-05-15 02:46:00 +03:00
Alexander Zinchuk
f73bac79ca Revert "Revert "Refresh app when switching screen format or orientation""
This reverts commit cd312c7fb924d772fffc684997ec86951c7d64e4.
2021-05-15 02:45:57 +03:00
Alexander Zinchuk
6fd1b9f309 Message List: Fixes for detecting unread messages 2021-05-15 00:53:28 +03:00
Alexander Zinchuk
84f8b64040 Pinned Messages: Fix broken order after switching chats 2021-05-15 00:53:25 +03:00
Alexander Zinchuk
e83e611caa Safe Link Modal: Confirm when opening external links 2021-05-14 13:52:41 +03:00
Alexander Zinchuk
c94163803e Push notifications: Fixes for not joined chats (#1099) 2021-05-14 01:35:28 +03:00
Alexander Zinchuk
6bee40282b Message: Fix cyrillic monopace (#1096) 2021-05-13 15:14:57 +03:00
Alexander Zinchuk
c2e919a484 A couple of layout fixes (#1098) 2021-05-13 15:14:54 +03:00
Alexander Zinchuk
f59abd16c7 Animated Emoji: Follow-up fix for missing animations (#1097) 2021-05-13 13:46:22 +03:00
Alexander Zinchuk
776a60c363 Chat Folders: Support <Esc> key to return to "All" tab 2021-05-13 12:57:12 +03:00
Alexander Zinchuk
9d6e3939db Message, Composer: Layout fixes for iPhone Xs (#1095) 2021-05-13 12:00:46 +03:00
Alexander Zinchuk
f7972c87f3 Attachment Modal: Support Emoji Tooltip, fix layout and pasting from clipboard (#1093) 2021-05-13 12:00:43 +03:00
Alexander Zinchuk
73e32621a5 Dark Theme: Fix message selection checkboxes border color 2021-05-13 12:00:40 +03:00
Alexander Zinchuk
634d50f0e5 Message / Document Group: Fix shifted block 2021-05-13 12:00:37 +03:00
Alexander Zinchuk
3cefcd20e2 Middle Header: Fix height with pinned message (#1092) 2021-05-13 12:00:34 +03:00
Alexander Zinchuk
7bdcea43a1 Fix Animated Emoji: Some emojis are not animated (#1091) 2021-05-13 12:00:31 +03:00
Alexander Zinchuk
bf19ec22d0 Profile: Fix missing toast notifications on mobile (#1089) 2021-05-13 12:00:28 +03:00
Alexander Zinchuk
b48ad9c46a Profile / Shared Media: Remove rounded corners from tabs (#1088) 2021-05-13 12:00:25 +03:00
Alexander Zinchuk
314831eb04 Media Viewer: Support dragging images to desktop (#1090) 2021-05-13 12:00:22 +03:00
Alexander Zinchuk
8036c0dc87 Allow deleting link preview when editing (#1087) 2021-05-13 12:00:19 +03:00
Alexander Zinchuk
c1b575a2d7 Chat Extra: Add ripple to notifications switch 2021-05-12 22:22:24 +03:00
Alexander Zinchuk
81f7ab1639 Infinite Scroll: Prevent scroll jumps in global search and member list 2021-05-12 22:22:21 +03:00
Alexander Zinchuk
6ad6494be1 Message List: Fix scroll freezes on iOS 2021-05-12 22:22:19 +03:00
Alexander Zinchuk
af40465e14 Audio Player: Fix sudden playing after disconnect 2021-05-12 22:22:16 +03:00
Alexander Zinchuk
11cb73be5e Select Mode: Exit when forwarding to the same chat 2021-05-12 22:22:14 +03:00
Alexander Zinchuk
438c72588b Message List: Fix for flickering FAB in Safari 2021-05-12 22:22:11 +03:00
Alexander Zinchuk
d922f0595f Message: Fix width for Comment Button (#1086) 2021-05-12 15:29:38 +03:00
Alexander Zinchuk
0c3fe11ea3 Profile: Allow pointer actions in bio (#1085) 2021-05-12 15:28:42 +03:00
Alexander Zinchuk
fd6aec4f08 Switcher: Add animation (#1079) 2021-05-12 15:28:39 +03:00
Alexander Zinchuk
ecc2ed9979 Various layout fixes (#1084) 2021-05-12 15:28:37 +03:00
Alexander Zinchuk
222175cbbb Emoji Picker: Ignore colon after a word (#1078) 2021-05-12 15:28:34 +03:00
Alexander Zinchuk
b5cd16643d Sticker Picker: Fix missing some covers on iOS (#1083) 2021-05-12 15:28:31 +03:00
Alexander Zinchuk
ce3b908464 Profile: Fix missing tabs after switching (#1082) 2021-05-12 15:28:29 +03:00
Alexander Zinchuk
0cbb3203a7 Message / Comment Button: Fix position for custom shape (#1080) 2021-05-12 15:28:26 +03:00
Alexander Zinchuk
60ad273775 Dark Theme: Fix missing shadow (#1076) 2021-05-12 15:28:23 +03:00
Alexander Zinchuk
42a0a42478 Dark Theme: Checkboxes should be purple (#1075) 2021-05-12 15:28:20 +03:00
Alexander Zinchuk
7f91a9d096 Message List: Remove extra padding on mobile 2021-05-12 03:20:45 +03:00
Alexander Zinchuk
ce3a250b90 Message List: One more fix for FAB hiding 2021-05-12 03:13:29 +03:00
Alexander Zinchuk
0517894e55 Message List: Fix scroll jump when closing chat on mobile 2021-05-12 03:13:27 +03:00
Alexander Zinchuk
954533ac2f Sticker Button: Prevent loading full non-animated sticker 2021-05-12 03:13:25 +03:00
Alexander Zinchuk
ca3dccba12 Settings: Do not scroll on color picker 2021-05-12 03:13:22 +03:00
Alexander Zinchuk
37ce132cce Message List: Fix scroll animation after window resize 2021-05-12 03:13:20 +03:00
Alexander Zinchuk
b96643ea2a Message List: Remove extra padding in channels 2021-05-12 03:13:17 +03:00
Alexander Zinchuk
b5803fce9e Message List: Fix initial scroll in new channels 2021-05-11 23:18:08 +03:00
Alexander Zinchuk
a70efbbd08 Comment Threads: Fix sometimes missing top message 2021-05-11 23:18:05 +03:00
Alexander Zinchuk
f26f30ccb9 Teact: Fix missing update 2021-05-11 23:18:02 +03:00
Alexander Zinchuk
227fd355ef Preserve primary fast RAF callbacks order 2021-05-11 23:17:59 +03:00
Alexander Zinchuk
954ee5c508 Comment Threads: Various fixes 2021-05-11 23:17:56 +03:00
Alexander Zinchuk
d5db8639eb [Debug] Get rid of some logs 2021-05-11 23:17:52 +03:00
Alexander Zinchuk
5a7f995966 Web Page Preview: Various layout fixes (#1074) 2021-05-11 15:20:26 +03:00
Alexander Zinchuk
c2d6c5eae8 Push notifications: Fix focus on notification click (#1073) 2021-05-11 02:57:10 +03:00
Alexander Zinchuk
bb574820a5 Chat Folders: Revert to smaller size (#1072) 2021-05-11 02:57:08 +03:00
Alexander Zinchuk
1436cb6908 Emoji Tooltip: Update recent emojis (#1066) 2021-05-11 02:57:05 +03:00
Alexander Zinchuk
753a1bb6bf Push notifications: Send notifications through service worker if possible (#1068) 2021-05-09 17:44:54 +03:00
Alexander Zinchuk
2c1197592a Notification: Fix focusing window on click (#1067) 2021-05-09 13:30:44 +03:00
Alexander Zinchuk
f638ae3717 Revert "Revert "Composer: Add Emoji Picker (#1061)""
This reverts commit b1a2e27576.
2021-05-09 04:03:12 +03:00
Alexander Zinchuk
b1a2e27576 Revert "Composer: Add Emoji Picker (#1061)"
This reverts commit 70c8cd2ca8fc07f9bc005018e6a71df8027e0eb4.
2021-05-09 03:56:48 +03:00
Alexander Zinchuk
cf044474a4 Emoji Picker: Update recent emojis after picker is closed 2021-05-09 03:42:58 +03:00
Alexander Zinchuk
4559e0ff8f Composer: Add Emoji Picker (#1061) 2021-05-09 03:42:54 +03:00
Alexander Zinchuk
d11f336bb0 [Perf] Disable mask image even on iOS 2021-05-09 03:11:45 +03:00
Alexander Zinchuk
75d72fe884 Teact: Fix for useState 2021-05-09 03:11:42 +03:00
Alexander Zinchuk
ac02fa4a4f Middle Column: Fix closing chat by <Esc> 2021-05-09 02:00:05 +03:00
Alexander Zinchuk
a17240466a [Debug] Some more debug tools 2021-05-09 02:00:00 +03:00
Alexander Zinchuk
3ac7711f17 [Perf] Some optimizations 2021-05-09 01:59:58 +03:00
Alexander Zinchuk
4e0f4d99e8 [Perf] Add memo to many components 2021-05-09 01:59:55 +03:00
Alexander Zinchuk
97c2074236 GramJs: Add missing security checks (#1065) 2021-05-08 22:41:34 +03:00
Alexander Zinchuk
1a017f2750 Notifications: Various fixes, support local notifications (#1064) 2021-05-08 22:41:31 +03:00
Alexander Zinchuk
146a0db3c2 GramJs: Auto-fixes by ESLint 2021-05-08 22:41:28 +03:00
Alexander Zinchuk
5f4a210d7b GramJs: Add ESLint 2021-05-08 22:41:25 +03:00
Alexander Zinchuk
559ef6a53b GramJs: Code style fixes by WebStorm 2021-05-08 22:41:22 +03:00
Alexander Zinchuk
99cfeb6e09 Infinite Scroll: Another attempt to fix a weird bug with missing chats 2021-05-08 22:41:19 +03:00
Alexander Zinchuk
f2622099d1 Push Notifications: Do not show muted (#1063) 2021-05-08 14:28:48 +03:00
Alexander Zinchuk
8ae980222c Message List: Fix animating bot replies 2021-05-06 19:31:32 +03:00
Alexander Zinchuk
246938a495 Video, Round Video: Pause in background, fix playing after heavy animation (#1034) 2021-05-06 19:31:29 +03:00
Alexander Zinchuk
9ec40e3ce8 Optimize app-inactive.png (#1062) 2021-05-06 19:31:26 +03:00
Alexander Zinchuk
a684b4f1aa Revert "Refresh app when switching screen format or orientation"
This reverts commit baffa925d8.
2021-05-06 05:11:27 +03:00
Alexander Zinchuk
dc2dfe2fff Follow-up 2021-05-06 03:08:31 +03:00
Alexander Zinchuk
92efa2b2a2 Profile: Infinite scroll for members 2021-05-06 02:00:46 +03:00
Alexander Zinchuk
e454abd4f3 Profile: Infinite scroll for members 2021-05-06 01:47:52 +03:00
Alexander Zinchuk
1984318297 Left Search, New Chat, Forward Picker: Order chats by last message, check rights to post, add archived 2021-05-06 01:47:48 +03:00
Alexander Zinchuk
79cde7292b Group Chat Info: Fix online members count 2021-05-06 01:47:44 +03:00
Alexander Zinchuk
ca65c04884 Composer / Web Page Preview: Add animation, fix links with _, do not show title 2021-05-06 01:47:40 +03:00
Alexander Zinchuk
987dfacaf5 App Inactive: Support disconnecting when opening in another tab 2021-05-06 01:47:36 +03:00
Alexander Zinchuk
baffa925d8 Refresh app when switching screen format or orientation 2021-05-06 01:47:32 +03:00
Alexander Zinchuk
0f242d0598 Composer: Fix XSS in draft 2021-05-04 12:31:34 +03:00
Alexander Zinchuk
e898c03d43 Finally get rid of Statistics and lovely-chart 2021-05-04 12:31:31 +03:00
Alexander Zinchuk
ed67e51d2e Message: Underline links in own messages in dark mode (#1060) 2021-05-04 12:31:28 +03:00
Alexander Zinchuk
cb55bd37cc Properly sign out to remove session (#1059) 2021-05-03 15:04:37 +03:00
Alexander Zinchuk
e053013219 Push Notifications: Open chat message on notification click, various fixes (#1055) 2021-05-01 19:32:42 +03:00
Alexander Zinchuk
20d2656261 Profile: New Design (#1051) 2021-05-01 14:45:36 +03:00
Alexander Zinchuk
852d195842 Message List: Better sending animation when multiline 2021-05-01 14:45:36 +03:00
Alexander Zinchuk
a49b02e291 Infinite Scroll: Attempt to fix a weird bug with missing chats 2021-04-30 01:31:50 +03:00