43 Commits

Author SHA1 Message Date
Alexander Zinchuk
917dc1171b GramJS: Fix showing file connection disconnect in UI (#4483) 2024-04-19 13:38:54 +04:00
Alexander Zinchuk
96c87c9755 Calls: Fix leaving on page unload (#4248) 2024-02-06 16:54:37 +01:00
Alexander Zinchuk
cd15c71b3d GramJs: Fix resend and pending state handling (#3643) 2023-07-27 11:51:33 +02:00
Alexander Zinchuk
ef02a4a11d GramJS: Fallback to HTTP and fix various connection issues 2023-07-20 16:12:59 +02:00
Alexander Zinchuk
50ad3fee78 GramJS: Fix request errors on init (#3517) 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
823fd9add7 GramJS: Add more security checks (#3419) 2023-07-06 09:57:57 +02:00
Alexander Zinchuk
d160b2b4cb GramJS: Validate updates order (#2957) 2023-07-05 13:23:13 +02:00
Alexander Zinchuk
0681ad44e2 GramJS: Bugfixes (#3280) 2023-06-18 12:04:45 +02:00
Alexander Zinchuk
e70c7f246d GramJS: Add missing checks (#3282) 2023-06-12 11:57:24 +02:00
Alexander Zinchuk
cc9a7efbf5 Fix login after session revoke (#3013) 2023-04-19 04:08:49 +02:00
Alexander Zinchuk
f5b8b09f37 Media Viewer: Support selecting main photo for profile and chats (#2162) 2022-12-07 03:26:45 +01:00
Alexander Zinchuk
08ef6130b7 PWA: Support system sharing menu (#2057) 2022-11-18 16:05:09 +04:00
Alexander Zinchuk
358d59ff53 Use multiple connections and fix parallel workers for faster download (#1955) 2022-08-31 15:00:33 +02:00
Alexander Zinchuk
391c667f09 [Dev] Fix linting for JS files (#1864) 2022-05-06 17:56:12 +01:00
Alexander Zinchuk
3a3505b58e [Dev] GramJs: Bring back eslint, fix some errors 2022-05-03 14:17:18 +01:00
Alexander Zinchuk
1da41443ca Calls: Introduce peer-to-peer calls (#1791) 2022-04-09 01:18:22 +02:00
Alexander Zinchuk
1c0388f6d1 GramJs: Wake-up pings for faster reconnect after idle mode 2022-01-27 04:09:28 +01:00
Alexander Zinchuk
342ca92553 GramJs: Avoid duplicated reconnects 2022-01-24 04:41:37 +01:00
Alexander Zinchuk
5cf5c140f8 GramJs: Properly handle AUTH_KEY_UNREGISTERED (again) 2021-12-24 01:25:51 +01:00
Alexander Zinchuk
21678f6e83 Revert "GramJs: Properly handle AUTH_KEY_UNREGISTERED (#1600)"
This reverts commit 166e9e7aabe06678dbd072395577d48e09451454.
2021-12-21 20:05:16 +01:00
Alexander Zinchuk
166e9e7aab GramJs: Properly handle AUTH_KEY_UNREGISTERED (#1600) 2021-12-21 12:17:16 +03:00
Alexander Zinchuk
124d23aca8 GramJs: Prevent duplicate message ID attack (#1563) 2021-12-10 18:32:20 +01:00
Alexander Zinchuk
a31aa31b6b [Perf] GramJs: Fix memory leaks (#1546) 2021-11-17 17:49:41 +03:00
Alexander Zinchuk
cf2db92c61 GramJs: Properly reject promise if result is unparsable 2021-11-05 22:03:08 +03:00
Alexander Zinchuk
7e8bf8addf [Debug] Add test servers (#1513) 2021-10-28 15:50:48 +03:00
Alexander Zinchuk
6bcbb78258 GramJs: Add reconnect interval, don't sign out on internal server issues (#1341) 2021-08-03 01:31:20 +03:00
Alexander Zinchuk
73910b1b4b GramJs: Fix reconnecting after sudden WS connection close (#1320) 2021-07-27 20:14:08 +03:00
Alexander Zinchuk
0e59ff9bd7 GramJs: Support reconnects when transferring files, avoid main loop race condition (#1319) 2021-07-24 02:17:36 +03:00
Alexander Zinchuk
7ceff64489 GramJs: Add more connection logging 2021-07-21 17:44:57 +03:00
Alexander Zinchuk
4e4299bf39 GramJs: Log socket connection failure cause (#1299) 2021-07-20 15:47:55 +03:00
Alexander Zinchuk
426e117a92 Follow-up 2021-07-15 23:52:07 +03:00
Alexander Zinchuk
388143a057 GramJs: New authorization algorithm, new RSA keys, message queues with invokeAfter (#1258) 2021-07-15 22:51:40 +03:00
Alexander Zinchuk
0d0b6e7df6 GramJs: Do not reconnect after manual disconnect (#1217) 2021-06-29 03:30:23 +03:00
Alexander Zinchuk
7e453c788c GramJs: Fix exception "to is not defined" 2021-06-27 19:09:22 +03:00
Alexander Zinchuk
49d0e7987d GramJs: Another possible fix for reconnects (#1201) 2021-06-22 18:03:45 +03:00
Alexander Zinchuk
c6550ca3e4 Fix syncing while in comments thread; Possible fix for reconnects (#1200) 2021-06-22 13:54:20 +03:00
Alexander Zinchuk
731c0330ad GramJs: Update server time offset on pongs (#1198) 2021-06-21 16:39:58 +03:00
Alexander Zinchuk
dcd3803263 Support server time offset (#1186) 2021-06-19 11:20:55 +03:00
Alexander Zinchuk
b36ec8cf44 GramJs: Fix ESLint errors (#1070) 2021-05-21 14:50:12 +03:00
Alexander Zinchuk
97c2074236 GramJs: Add missing security checks (#1065) 2021-05-08 22:41:34 +03:00
Alexander Zinchuk
146a0db3c2 GramJs: Auto-fixes by ESLint 2021-05-08 22:41:28 +03:00
Alexander Zinchuk
559ef6a53b GramJs: Code style fixes by WebStorm 2021-05-08 22:41:22 +03:00
Alexander Zinchuk
3afcde3217 Initial commit 2021-04-09 14:11:51 +03:00