375 Commits

Author SHA1 Message Date
Alexander Zinchuk
29852d2bf6 [Perf] Teact: Fix memory leaks 2022-01-21 17:29:48 +01:00
Alexander Zinchuk
bfc958484c Management: Introduce Exported Invites (#1645) 2022-01-21 17:29:35 +01:00
Alexander Zinchuk
73eade5289 [Refactoring] Make sure VirtualClass instances are never returned from API methods 2022-01-21 17:29:13 +01:00
Alexander Zinchuk
d3d9d440a6 Introduce Reactions and Animated Emoji Interactions (#1583) 2022-01-21 17:29:08 +01:00
Alexander Zinchuk
f717443808 GramJs: Fix auto-generated schemas 2022-01-07 11:19:48 +01:00
Alexander Zinchuk
f156be13ce [Refactoring] Teact: Refactor dom-events and better debug 2022-01-05 17:45:58 +01:00
Alexander Zinchuk
d9733e6466 [Debug] Teact: Better logging 2022-01-05 17:45:39 +01:00
Alexander Zinchuk
0fc3d6e36b GramJs: Auto-generate reduced schema (#1615) 2022-01-05 17:45:31 +01:00
Alexander Zinchuk
e2ee40371d GramJs: Update to layer 136 (again) (#1614) 2022-01-05 17:45:28 +01:00
Alexander Zinchuk
d1d463c7d2 Support protected ("no forwards") chats and messages (#1602) 2021-12-31 18:17:49 +01:00
Alexander Zinchuk
72ae33139a Composer: Support sending message as channels (#1604) 2021-12-31 18:17:46 +01:00
Alexander Zinchuk
af289a81f5 Introduce Sponsored Messages (#1605) 2021-12-31 18:17:38 +01:00
Alexander Zinchuk
ffa5697887 [Perf] TeactN: Throttle with tick end instead of RAF 2021-12-31 18:17:30 +01:00
Alexander Zinchuk
3ef7136621 [Perf] TeactN: Get rid of redundant iterations for global actions 2021-12-31 18:17:27 +01:00
Alexander Zinchuk
2bbc0c2f4b GramJs: Update to layer 136 (#1601) 2021-12-31 18:17:22 +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
d26c14a5ab Calls: Fix echo cancellation (#1589) 2021-12-21 12:16:51 +03:00
Alexander Zinchuk
e86c126a89 TeactN: Support forcing during heavy animation 2021-12-10 18:33:37 +01:00
Alexander Zinchuk
785ac3d11a [Debug] Teact: Add benchmarks for effects 2021-12-10 18:33:15 +01:00
Alexander Zinchuk
ebf20fa013 [Perf] TeactN: Check for heavy animations 2021-12-10 18:33:12 +01:00
Alexander Zinchuk
559c1c80dd Message Context Menu: Support "Seen By" (#1564) 2021-12-10 18:32:56 +01:00
Alexander Zinchuk
dee7d2163f Teact: Fix key = 0 in fast lists 2021-12-10 18:32:27 +01:00
Alexander Zinchuk
27b3cdbd6f Teact: Fix rendering role and aria-* attributes 2021-12-10 18:32:24 +01:00
Alexander Zinchuk
124d23aca8 GramJs: Prevent duplicate message ID attack (#1563) 2021-12-10 18:32:20 +01:00
Alexander Zinchuk
0575fc6e00 Calls: Add peer-to-peer calls with fallback to group calls 2021-11-29 18:30:57 +01:00
Alexander Zinchuk
41f2c3e26b Introduce Group Calls (#1520) 2021-11-27 17:43:51 +01:00
Alexander Zinchuk
528137daff [Perf] Teact: Optimize updating attributes and support dangerouslySetInnerHTML 2021-11-27 17:40:44 +01:00
Alexander Zinchuk
96cd7df8a3 Sticker Search: Fix missing feature 2021-11-17 17:49:57 +03:00
Alexander Zinchuk
becfab6fe7 Profile: Common Chats tab (#1547) 2021-11-17 17:49:52 +03:00
Alexander Zinchuk
a31aa31b6b [Perf] GramJs: Fix memory leaks (#1546) 2021-11-17 17:49:41 +03:00
Kiko Beats
f8c369bef1
[Refactoring] GramJs: Replace deprecated functions (#32) 2021-11-06 02:06:48 +03:00
Alexander Zinchuk
cf2db92c61 GramJs: Properly reject promise if result is unparsable 2021-11-05 22:03:08 +03:00
Alexander Zinchuk
1e60003f5a Update to layer 133 (#1525) 2021-11-05 22:03:02 +03:00
Alexander Zinchuk
394b91533b Profile Management: Add Contact (#1519) 2021-10-28 15:51:00 +03:00
Alexander Zinchuk
7e8bf8addf [Debug] Add test servers (#1513) 2021-10-28 15:50:48 +03:00
Alexander Zinchuk
d0cd729b38 Teact: Fix effect cleanup order 2021-10-13 14:38:45 +03:00
Alexander Zinchuk
00daafc654 Get countries and phone codes from server (#1422) 2021-09-03 18:31:24 +03:00
Alexander Zinchuk
98b3939dea [Refactoring] Use optional chaining operator (#1400) 2021-08-27 21:05:46 +03:00
Alexander Zinchuk
a185fd9407 Composer: Add Bot Command Menu and Bot Command Tooltip (#1364) 2021-08-20 23:47:01 +03:00
Alexander Zinchuk
d7ca790f0a [Refactoring] Fix TS and ESLint errors after updating packages (#1386) 2021-08-16 14:21:33 +03:00
Alexander Zinchuk
94526b2362 [Refactoring] Update dependencies (#1365) 2021-08-16 14:21:20 +03:00
Alexander Zinchuk
3635d312ce GramJs: Use "-1" DCs for file transfers (generate keys with standard DCs) (#1368) 2021-08-11 01:27:58 +03:00
Alexander Zinchuk
08ed4b4847 Revert "GramJs: Use "-1" DCs for file transfers (#1332)"
This reverts commit 30249eea9ecd59ff5bbc14cae1aafe2e1e9201ec.
2021-08-07 13:01:51 +03:00
Alexander Zinchuk
71c067e751 GramJs: Properly disconnect broken exported senders (#1363) 2021-08-06 03:25:18 +03:00
Alexander Zinchuk
dbc5949957 GramJs: Use "-1" DCs for file transfers (#1332) 2021-08-05 13:29:19 +03:00
Alexander Zinchuk
3b01b58b60 [Dev] GramJs: Properly check app credentials (#1357) 2021-08-04 23:34:16 +03:00
Alexander Zinchuk
101a28d01d [Teact] [Dev] Add more debug tools 2021-08-03 19:02:59 +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