teidesu
|
9b5ca0cb2a
|
refactor: improved logging, moved to custom logger instead of debug
|
2021-08-14 12:57:26 +03:00 |
|
teidesu
|
64aae43572
|
fix(core): support caching peers from array results
|
2021-08-14 12:37:22 +03:00 |
|
teidesu
|
4b22ee5b25
|
rename back to mtcute
idk lol
|
2021-08-05 20:38:24 +03:00 |
|
teidesu
|
b7751f0a57
|
fix: various fixes, improved updates handing
|
2021-08-05 20:14:19 +03:00 |
|
teidesu
|
42d7a2286c
|
fix(core): do not save storage after caching peers
|
2021-08-05 14:23:18 +03:00 |
|
teidesu
|
a3cf0c526a
|
fix(client): reworked updates, added support for qts
|
2021-08-04 12:58:57 +03:00 |
|
teidesu
|
a8d3543e64
|
build: preparing for publish, moved to strict typescript, fixed some stuff
|
2021-07-30 17:40:50 +03:00 |
|
teidesu
|
1cf9929e3f
|
fix(core): fixed test servers, fixed tests, slight refactor
|
2021-07-27 15:32:18 +03:00 |
|
teidesu
|
2f1c8548a0
|
build: renamed to mtqt
|
2021-07-25 21:03:40 +03:00 |
|
teidesu
|
7f112f51a2
|
fix(core): updated for newer mtproto schema
|
2021-07-25 15:44:55 +03:00 |
|
teidesu
|
f3e7de5c8c
|
feat(core): override layer number
|
2021-07-24 17:00:20 +03:00 |
|
teidesu
|
3b523598ad
|
build: changed license to lgplv3
|
2021-07-19 03:57:47 +03:00 |
|
teidesu
|
627fdbed2f
|
refactor(dispatcher): big refactor, moved updates parsing to client, separated raw updates from parsed, moved Conversation to client package
|
2021-07-17 17:26:31 +03:00 |
|
teidesu
|
8fb099cfeb
|
fix(core): proper browser support
not much really, fixed exports for webpack, fixed binary mode for websocket
|
2021-07-16 04:31:04 +03:00 |
|
teidesu
|
6d8c7fee78
|
refactor: less obscure transport names
|
2021-07-14 21:08:13 +03:00 |
|
teidesu
|
c2130dec9f
|
build(tl): updated to layer 131
|
2021-07-06 18:02:26 +03:00 |
|
teidesu
|
66c4b0e0b0
|
fix: updated tl version in the rest of the packages
webstorm for some fucking reason decided not to save some package.json files lol
|
2021-06-26 23:13:40 +03:00 |
|
teidesu
|
c8dae335e8
|
feat: vacuum storage to reduce its size
|
2021-06-20 18:18:06 +03:00 |
|
teidesu
|
b45cc0df69
|
feat: rate limiting
|
2021-06-20 17:54:28 +03:00 |
|
teidesu
|
b4716f321b
|
tests(core): added fuzz tests for auth_key
|
2021-06-16 18:21:54 +03:00 |
|
teidesu
|
5849ce0e1b
|
fix(core): better handling for additional connections
|
2021-06-16 18:21:17 +03:00 |
|
teidesu
|
77022e29c9
|
tests(core): added e2e and fuzzing tests
|
2021-06-15 03:12:22 +03:00 |
|
teidesu
|
0a45f5e71a
|
fix(core): check for correct padding
|
2021-06-15 03:11:52 +03:00 |
|
teidesu
|
9928a9156a
|
fix(client): redundant resends
|
2021-06-15 03:11:11 +03:00 |
|
teidesu
|
bcce752dfd
|
build: preparing for publish x4
at this point i'm too tired to describe what happened
|
2021-06-08 00:37:13 +03:00 |
|
teidesu
|
8cbd6e14c8
|
build: prepare to publish x3
various package json fixes, improved node meta-package
|
2021-06-07 18:32:29 +03:00 |
|
teidesu
|
280c9f51aa
|
build: preparing to publish (part 2)
fixed imports, package.json files, improved package generation for certain packages, and more (i'm too lazy to describe all the magic that i've done)
|
2021-06-06 19:23:43 +03:00 |
|
teidesu
|
ae2dbcf03f
|
build: fixed scripts, eslintignore, fixed linter warnings and re-formatted with prettier
|
2021-06-06 15:20:41 +03:00 |
|
teidesu
|
2cd443d6d1
|
feat(client): string sessions
|
2021-06-05 20:25:08 +03:00 |
|
teidesu
|
68ea4080df
|
feat(core): handle AUTH_KEY_UNREGISTERED error
|
2021-06-05 18:56:43 +03:00 |
|
teidesu
|
a0294b9a64
|
feat(dispatcher): fsm and scenes
|
2021-05-27 01:02:31 +03:00 |
|
teidesu
|
60162c88bc
|
fix(client): avoid redundant help.getConfig call
|
2021-05-24 23:03:29 +03:00 |
|
teidesu
|
2bd94782e9
|
feat: mtproxy support
also some refactor in core transports
|
2021-05-24 20:29:18 +03:00 |
|
teidesu
|
a2013acaf6
|
refactor: moved urlsafe base64 functions to core and exported them
|
2021-05-23 20:33:10 +03:00 |
|
teidesu
|
1b3f02f5f4
|
refactor: use Buffer.isBuffer
|
2021-05-23 13:42:38 +03:00 |
|
teidesu
|
1c4d9c1ab3
|
feat(core): change transport at runtime
|
2021-05-23 13:35:03 +03:00 |
|
teidesu
|
a46c6e8894
|
feat: support http(s) proxies
|
2021-05-23 01:56:59 +03:00 |
|
teidesu
|
3ecef3bde4
|
feat(core): exported debounce function, implemented and exported throttle function.
|
2021-05-22 16:52:35 +03:00 |
|
teidesu
|
c228085bfe
|
feat(client): improved min peers and short updates handling
|
2021-05-22 14:41:11 +03:00 |
|
teidesu
|
19d675e0fb
|
feat(core): utf string length calculation optimization
only has effect on in-browser use when the Buffer is polyfilled, since with BrowserBuffer we had to write it twice.
|
2021-05-21 23:24:52 +03:00 |
|
teidesu
|
ee369a1c83
|
feat(core): int64 write optimization
this optimization gives about 10x performance boost on systems that support BigInt, and about 2x on those that don't
|
2021-05-21 22:15:25 +03:00 |
|
teidesu
|
c3fce178b6
|
feat: only update changed updates state (i.e. dont save pts if it hasnt changed)
|
2021-05-21 00:24:54 +03:00 |
|
teidesu
|
2660120e8f
|
feat(core): support seq in updates
|
2021-05-19 21:21:12 +03:00 |
|
teidesu
|
910361ccab
|
feat(core): implemented and exported lru map
|
2021-05-19 20:30:23 +03:00 |
|
teidesu
|
82fb3d7e44
|
refactor: moved async lock to core and exported it
|
2021-05-16 23:05:53 +03:00 |
|
teidesu
|
e6e28399b0
|
refactor: prefer switches over ifs when possible
|
2021-05-16 14:32:36 +03:00 |
|
teidesu
|
b4f731d831
|
feat(core): support rpc timeouts (for real)
|
2021-05-16 12:50:09 +03:00 |
|
teidesu
|
4852fe0301
|
feat(core): support rpc timeouts
|
2021-05-16 02:52:13 +03:00 |
|
teidesu
|
97ba7652ff
|
refactor: use constructor check instead of instanceof where possible
this might just have introduced a bunch of errors, but ill test later
|
2021-05-15 21:17:49 +03:00 |
|
teidesu
|
9be7b0d6c9
|
refactor: prefer switches to else-if chains
|
2021-05-12 17:58:45 +03:00 |
|