Commit Graph

459 Commits

Author SHA1 Message Date
Alexander Zinchuk
de06d2514f Localization: Vazir font for Persian language (#1208) 2021-06-25 19:01:00 +03:00
Alexander Zinchuk
30f633d6cc Transition: Fix disappearing content 2021-06-24 18:42:28 +03:00
Alexander Zinchuk
c92f7a42df Connection State: Support browser online state, add animation 2021-06-24 18:42:25 +03:00
Alexander Zinchuk
1cc1893fef GramJs: Avoid frequent reconnects 2021-06-24 18:42:20 +03:00
Alexander Zinchuk
206299fd51 [Tests] Fixes after sessions rework 2021-06-24 18:42:16 +03:00
Alexander Zinchuk
73b1d105c3 [Perf] Clean-up invisible secondary sections 2021-06-24 14:46:15 +03:00
Alexander Zinchuk
3f5c8edceb [Perf] Reduce amount of global containers (DeleteChatModal, Transition, SafeLink, Audio) 2021-06-24 14:46:12 +03:00
Alexander Zinchuk
094a235373 Message List: Prevent exception after failed sync 2021-06-24 14:46:09 +03:00
Alexander Zinchuk
93fd353d1d Dark Theme: Auto-change when system theme changes 2021-06-24 14:46:06 +03:00
Alexander Zinchuk
0f0ebeafe0 Follow-up 2021-06-23 18:13:09 +03:00
Alexander Zinchuk
8a025f81f5 Follow-up 2021-06-23 17:55:36 +03:00
Alexander Zinchuk
15e4cc25c0 More fixes for broken sessions 2021-06-23 17:44:06 +03:00
Alexander Zinchuk
479138c264 Chat: Handle "Cannot read property style of null" exception (#1203) 2021-06-23 16:30:21 +03:00
Alexander Zinchuk
65f583a8ec Message List: Adjust position for Scroll Down Button (#1204) 2021-06-23 16:30:21 +03:00
Alexander Zinchuk
c6ed04fea6 Fix showing Main layout for non-logged users 2021-06-23 16:30:21 +03:00
Alexander Zinchuk
ae25c8723a Message List: Bring back bigger sensitive area 2021-06-23 16:30:20 +03:00
Muaath Alqarni
634debcda6
[Translation] Middle Header: Fix Start Bot button translation (#41) 2021-06-23 11:27:18 +03:00
Alexander Zinchuk
6b8bfdf3ab Settings: Move sensitive content toggle to Privacy section (#1202) 2021-06-23 11:22:24 +03:00
Alexander Zinchuk
d2ca29e961 Management: Respect global settings in notifications toggle (#1199) 2021-06-23 11:22:18 +03:00
Alexander Zinchuk
d48ec8f3cb GramJs: Switch to WebZ DC URLs 2021-06-22 22:39:02 +03:00
Alexander Zinchuk
ceeac75510 Media Viewer: Allow right-click on image 2021-06-22 18:03:49 +03:00
Alexander Zinchuk
49d0e7987d GramJs: Another possible fix for reconnects (#1201) 2021-06-22 18:03:45 +03:00
Alexander Zinchuk
2c7c23715c Media Viewer: Allow to hide caption by tap on mobile (#1196) 2021-06-22 13:54:25 +03:00
Alexander Zinchuk
c6550ca3e4 Fix syncing while in comments thread; Possible fix for reconnects (#1200) 2021-06-22 13:54:20 +03:00
Muaath Alqarni
424116bb9a
Poll Modal: Add missing translations (#40) 2021-06-21 16:42:54 +03:00
Alexander Zinchuk
d854db7ca2 Settings / General: Show sensitive content toggle (#1195) 2021-06-21 16:40:01 +03:00
Alexander Zinchuk
731c0330ad GramJs: Update server time offset on pongs (#1198) 2021-06-21 16:39:58 +03:00
Alexander Zinchuk
839a6107ba Emoji Tooltip: Always support English keywords (#1197) 2021-06-21 16:39:55 +03:00
Alexander Zinchuk
34b73a70a7 Set status to offline when closing app 2021-06-21 04:25:55 +03:00
Alexander Zinchuk
f940f45907 Media Viewer: Video fullscreen on double click (restore lost change) 2021-06-21 04:02:08 +03:00
Alexander Zinchuk
fa08832fca Remove redundant freezes 2021-06-21 03:52:26 +03:00
Alexander Zinchuk
9364d96d33 Message List: Fix loading media after focusing 2021-06-21 03:36:00 +03:00
Alexander Zinchuk
ae00a9ef63 Message: Open context menu by short tap on Android 2021-06-21 03:22:50 +03:00
Alexander Zinchuk
44f29bc909 Dark Theme: Use system theme 2021-06-21 02:46:00 +03:00
Alexander Zinchuk
193e2df280 Media Viewer: Video fullscreen on double click (#1194) 2021-06-21 02:05:55 +03:00
Alexander Zinchuk
ff78396514 Do not clear global cache and refresh page on unhandled exceptions 2021-06-21 01:57:57 +03:00
Alexander Zinchuk
dfd3b522cf Pass user agent to worker 2021-06-21 01:57:54 +03:00
Alexander Zinchuk
3db789f74c [Perf] Middle Column: Remove redundant styles 2021-06-20 17:51:42 +03:00
Alexander Zinchuk
71e90c7b64 Better support for non-production envs 2021-06-20 16:50:42 +03:00
Alexander Zinchuk
f329217307 Avoid startup UI flickering on clean cache (#1193) 2021-06-20 16:50:39 +03:00
Alexander Zinchuk
fa71823e67 Get rid of span for emojis (#1192) 2021-06-19 18:58:02 +03:00
Alexander Zinchuk
3a98f5f2ca Message: Remove unnecessary code (#1191) 2021-06-19 17:47:16 +03:00
Alexander Zinchuk
4e83151106 Left Menu: Use full available height (#1190) 2021-06-19 17:47:13 +03:00
Alexander Zinchuk
2ac90ad21c Message List: Fix inaccurate sending animation 2021-06-19 17:47:10 +03:00
Alexander Zinchuk
c6d1b8a9c4 Emoji Tooltip: Fix for Firefox (#1189) 2021-06-19 16:31:24 +03:00
Alexander Zinchuk
6751813049 Chat List: Fix not loading some chats 2021-06-19 16:31:20 +03:00
Alexander Zinchuk
4099d6392e Animated Emoji: Smooth preloading 2021-06-19 15:05:21 +03:00
Alexander Zinchuk
0b287b0f3d Attachment Modal: Fix pasting from clipboard always inserted in the end (#1188) 2021-06-19 15:05:18 +03:00
Alexander Zinchuk
215b3d5603 Message: Fix meta positioning for single emojis (#1187) 2021-06-19 15:05:15 +03:00
Alexander Zinchuk
356ff28041 Symbol Menu: Fix auto-closing in one-tab view 2021-06-19 13:02:30 +03:00
Alexander Zinchuk
146a5039a3 Animated Emoji: Better preview and thumbnail 2021-06-19 12:29:43 +03:00
Alexander Zinchuk
dcd3803263 Support server time offset (#1186) 2021-06-19 11:20:55 +03:00
Alexander Zinchuk
853987e3ca GramJs: Fix after releasing borrowed senders 2021-06-19 08:36:33 +03:00
Alexander Zinchuk
8102342412 Composer: Prevent URL links converting to text lings when editing 2021-06-19 02:17:56 +03:00
Alexander Zinchuk
b6abe0ee7c Message: Show context menu hint when selecting 2021-06-19 02:17:52 +03:00
Alexander Zinchuk
ba10af9da1 Menu: Speed up opening 2021-06-19 02:17:49 +03:00
Alexander Zinchuk
39fd19667e GramJs: Release borrowed senders after 30 seconds of idle 2021-06-19 00:26:52 +03:00
Alexander Zinchuk
f696edbf97 Composer: Fix italic markdown 2021-06-19 00:26:52 +03:00
Alexander Zinchuk
36cc443e26 Update current user online status 2021-06-19 00:26:51 +03:00
Alexander Zinchuk
5f6010bbd0 Message List: Do not mark messages read when in background (another attempt) 2021-06-19 00:26:36 +03:00
Alexander Zinchuk
7355100770 Auth: Default initial method to QR code 2021-06-19 00:26:24 +03:00
Alexander Zinchuk
d82668e72f Settings / Privacy: Remove redundant ";" 2021-06-19 00:25:27 +03:00
Alexander Zinchuk
bd670b5c73 Audio: Fix download indicator z-index order (#1185) 2021-06-18 12:44:53 +03:00
Alexander Zinchuk
8f3ecdf7f3 [Refactoring] Code style fix 2021-06-18 12:19:54 +03:00
Alexander Zinchuk
7d2e337ead Audio: Fix download button for old iOS; Tabs: Support non-native emojis (#1183) 2021-06-18 12:19:51 +03:00
Alexander Zinchuk
c76fd44a35 Progress Spinner: Fix cross position and color (#1182) 2021-06-18 12:19:47 +03:00
Alexander Zinchuk
3eb8d6259f Emoji Tooltip: Disable tooltip for a single character (#1178) 2021-06-18 12:19:44 +03:00
Alexander Zinchuk
1b60f1f43d [Build] 2021-06-18 01:00:02 +03:00
Alexander Zinchuk
966a049743 Audio: Add download button 2021-06-18 00:58:37 +03:00
Alexander Zinchuk
62c725e132 Message: Fix code block color (#1180) 2021-06-17 13:44:43 +03:00
Alexander Zinchuk
7d5cf9d24a Global Search: Extend highlight area (#1179) 2021-06-17 13:44:39 +03:00
Alexander Zinchuk
4277e6da52 Left Menu, Composer: Various layout fixes for iOS (#1176) 2021-06-17 13:44:36 +03:00
Alexander Zinchuk
36fd93bb07 Message: Fix discussion owner title color 2021-06-17 13:44:32 +03:00
Alexander Zinchuk
051897a153 Revert unstable code 2021-06-16 19:12:38 +03:00
Alexander Zinchuk
a68ad6fd03 Notifications: Load global settings on app launch (#1169) 2021-06-16 19:00:50 +03:00
Alexander Zinchuk
bf1569cfd6 Composer: Support updates for drafts (#1168) 2021-06-16 19:00:47 +03:00
Alexander Zinchuk
6cd13db35f Recent Stickers: Limit amount (#1167) 2021-06-16 19:00:44 +03:00
Alexander Zinchuk
814f920d57 Cache: Do not remember selected folder 2021-06-15 14:26:48 +03:00
Alexander Zinchuk
23e9754b9d Temporary fix for Google Chrome Translate plugin 2021-06-15 14:26:45 +03:00
Alexander Zinchuk
e86b0a00d6 Message List: Fix scroll jumps in channels with comments 2021-06-15 14:15:12 +03:00
Alexander Zinchuk
ef58550d6e Revert "Message List: Another attempt to fix marking all messages read"
This reverts commit f2f7cc912f74f1312bb7c79866fea7dbf3f671e1.
2021-06-15 13:35:46 +03:00
Alexander Zinchuk
526b00eda4 Message List: Another (2) attempt to fix marking all messages read 2021-06-15 13:21:39 +03:00
Alexander Zinchuk
85234ae8d7 Notifications: Another fix loading global settings (#1165) 2021-06-15 13:21:37 +03:00
Alexander Zinchuk
558d453f21 Notifications: Fix loading global settings (#1164) 2021-06-15 13:21:35 +03:00
Alexander Zinchuk
acbde43d31 Media Viewer: Play/pause by clicking on video (#1162) 2021-06-15 13:21:32 +03:00
Alexander Zinchuk
e0017543c1 Support vertical scrolling in horizontal lists (#1161) 2021-06-15 13:21:30 +03:00
Alexander Zinchuk
66d7cfe71b Message List: Another attempt to fix marking all messages read 2021-06-15 13:21:27 +03:00
Alexander Zinchuk
bb843f8f14 Chat List: Fix last message when sent from another app 2021-06-15 03:04:55 +03:00
Alexander Zinchuk
36c4901e5f Sticky Dates: Support opening history calendar 2021-06-15 02:21:29 +03:00
Alexander Zinchuk
dc5ad4493e Message List: Reduce sensitive area as an attempt to prevent scroll jumps 2021-06-15 00:25:51 +03:00
Alexander Zinchuk
f3d76d0e18 Fix permanent switching to WebK 2021-06-14 22:36:07 +03:00
Alexander Zinchuk
22cb5816c0 Left Menu: Add "alpha" to app version 2021-06-14 22:25:03 +03:00
Alexander Zinchuk
c3201cf632 Revert "Better browser history support (#1125)"
This reverts commit 3c19438f1a9f6db9a06dc3b48bd06d062befe0b8.
2021-06-14 22:12:34 +03:00
Alexander Zinchuk
70af1ed7f6 Follow-up 2021-06-14 22:11:21 +03:00
Alexander Zinchuk
5c030d9603 Save to Local Storage when switching to WebK 2021-06-14 21:51:13 +03:00
Alexander Zinchuk
6dc9b4f6d3 Fix error after sign out 2021-06-14 19:45:35 +03:00
Alexander Zinchuk
570bed3010 Auth: Fixes for non-default DC users 2021-06-14 16:01:12 +03:00
Alexander Zinchuk
1602c92ca4 Left Menu: Rename versions 2021-06-14 14:53:41 +03:00
Alexander Zinchuk
6f8120d911 Dark mode: Better colors for checkboxes (#1159) 2021-06-14 09:57:15 +03:00
Alexander Zinchuk
ce51fddd33 Folders: Show chats with unread mentions in non-muted lists (#1158) 2021-06-14 09:57:11 +03:00
Alexander Zinchuk
528e76d979 Revert 3f4901df 2021-06-14 09:52:54 +03:00
Alexander Zinchuk
131ff8823e Chat List: Fix jumping 2021-06-14 02:57:39 +03:00
Alexander Zinchuk
3f4901df28 [Build] 2021-06-14 02:42:18 +03:00
Alexander Zinchuk
f14add6733 Left Search: Remove autocomplete 2021-06-14 02:36:20 +03:00
Alexander Zinchuk
8b04a985bf Fix exception with missing key 2021-06-14 00:40:27 +03:00
durof
e319dcb6da
Auth Phone Number: Allow phone numbers with 7 and more symbols (#29) 2021-06-13 19:58:21 +03:00
Alexander Zinchuk
f1dba27213 Close chat after leaving of deleting history 2021-06-13 19:56:54 +03:00
Alexander Zinchuk
16f2a3a18e Emoji Picker: Fix losing focus in Safari (#1157) 2021-06-13 19:08:01 +03:00
Alexander Zinchuk
911f80cae1 Infinite Scroll: Fix missing chats 2021-06-13 18:38:19 +03:00
Alexander Zinchuk
27558d6cec Emoji Hint: Proper support with keywords (#1152) 2021-06-13 16:27:47 +03:00
Alexander Zinchuk
17de7e8f4e RTL: Fix some minor issues (#1153) 2021-06-13 16:27:42 +03:00
Alexander Zinchuk
819aea2a07 [Tests] Fix tests 2021-06-13 16:27:38 +03:00
Alexander Zinchuk
38347de359 [Refactoring] Fix naming 2021-06-13 16:27:34 +03:00
Alexander Zinchuk
fe5b45e4f6 Refactor sessions: Switch to Webogram style, clean up legacy artifacts 2021-06-12 20:31:44 +03:00
Alexander Zinchuk
0b0f70e96e Remove debug info (#1151) 2021-06-12 19:53:37 +03:00
Alexander Zinchuk
9967724a80 Remove debug info (#1151) 2021-06-12 17:20:28 +03:00
Alexander Zinchuk
51b893d4df Better browser history support (#1125) 2021-06-12 17:20:25 +03:00
Alexander Zinchuk
a09b488846 Support more hotkeys (#1137) 2021-06-12 17:20:22 +03:00
Alexander Zinchuk
45a3064153 More RTL support (#1071) 2021-06-12 17:20:19 +03:00
Alexander Zinchuk
e54b877cf9 Chat: Hide call status until voice chats are implemented 2021-06-12 17:20:16 +03:00
Alexander Zinchuk
1bda49acc9 Properly set WebZ version in production 2021-06-12 04:26:14 +03:00
Alexander Zinchuk
f5086002bb Support exporting legacy session 2021-06-12 04:26:12 +03:00
Alexander Zinchuk
6bc271a9f4 Middle Column: Fix height when a user with an emoji in name is typing 2021-06-11 03:32:42 +03:00
Alexander Zinchuk
aaee3a169b Emoji Picker: Fix img emojis on /z/ 2021-06-11 03:31:37 +03:00
Alexander Zinchuk
bc8764ac77 Message: Fix square corners in last message (#1138) 2021-06-11 03:15:52 +03:00
Alexander Zinchuk
a53586f798 Bring back bots restricted on other platforms (#1141) 2021-06-11 03:15:49 +03:00
Alexander Zinchuk
537a4840f2 Audio: Fix for RTL (#1145) 2021-06-11 03:11:29 +03:00
Alexander Zinchuk
354a7cc9db Another fix for legacy app sessions 2021-06-11 03:09:02 +03:00
Alexander Zinchuk
f0276ed590 Another fix for legacy app sessions 2021-06-11 02:50:02 +03:00
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