teidesu
|
c46f113f1f
|
build: preparing for publish x5
at this point i'm way too tired to describe what happened.
stuff added, stuff removed, stuff fixed, i don't even remember anymore lol
|
2021-06-09 01:47:22 +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
|
7a0de134ba
|
feat(dispatcher): local error handling
|
2021-06-07 23:59:17 +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
|
21d69e466e
|
fix: handle private chat sender
|
2021-06-07 15:27:16 +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
|
5e05b099ed
|
build: moved tl-reference to top layer to avoid cluttering yarn.lock with frontend deps
|
2021-06-06 15:02:06 +03:00 |
|
teidesu
|
1d21cd5e65
|
build: preparing to publish
|
2021-06-06 00:37:44 +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
|
79af4c4425
|
fix(tl-ref): history section navigation for prod
|
2021-06-05 18:33:35 +03:00 |
|
teidesu
|
599250d0af
|
feat(tl-ref): history section, containing type history and older schemas
|
2021-06-05 17:46:58 +03:00 |
|
teidesu
|
685d75effd
|
docs(tl): replace male pronouns with gender-neutral
|
2021-06-03 18:59:43 +03:00 |
|
teidesu
|
ecca291eba
|
fix(dispatcher): handle custom key in getState
|
2021-05-31 23:29:26 +03:00 |
|
teidesu
|
9da72daac7
|
fix(dispatcher): do not propagate state and scene to children
|
2021-05-31 23:20:20 +03:00 |
|
teidesu
|
2c36d9cbf2
|
refactor(client): split reply* methods to reply* and answer*
|
2021-05-31 23:12:35 +03:00 |
|
teidesu
|
6ffb8616e3
|
fix(sqlite): handle stored objects from older incompatible tl layers
|
2021-05-31 22:56:58 +03:00 |
|
teidesu
|
d70ccaa1ad
|
fix(client): improved channels difference loading
|
2021-05-31 22:50:39 +03:00 |
|
teidesu
|
1e9c4de86d
|
fix(client): do not call toJSON for buffers
|
2021-05-31 22:36:48 +03:00 |
|
teidesu
|
2daf497cc4
|
feat: updated to TL layer 129
|
2021-05-31 22:36:26 +03:00 |
|
teidesu
|
d50a25eab9
|
feat(client): support comments and reply threads
|
2021-05-27 15:57:05 +03:00 |
|
teidesu
|
a0294b9a64
|
feat(dispatcher): fsm and scenes
|
2021-05-27 01:02:31 +03:00 |
|
teidesu
|
3845153871
|
docs(client): added info about "send when online" scheduled messages
|
2021-05-25 11:58:14 +03:00 |
|
teidesu
|
60162c88bc
|
fix(client): avoid redundant help.getConfig call
|
2021-05-24 23:03:29 +03:00 |
|
teidesu
|
2dbd592206
|
docs(mtproxy): fixed jsdoc comment of MtProxyTcpTransport
|
2021-05-24 20:31:52 +03:00 |
|
teidesu
|
2bd94782e9
|
feat: mtproxy support
also some refactor in core transports
|
2021-05-24 20:29:18 +03:00 |
|
teidesu
|
76f078d931
|
fix(client): fixed imports in inline-utils.ts
|
2021-05-23 21:16:08 +03:00 |
|
teidesu
|
a2013acaf6
|
refactor: moved urlsafe base64 functions to core and exported them
|
2021-05-23 20:33:10 +03:00 |
|
teidesu
|
98fe7e3d31
|
refactor(dispatcher): avoid parsing unhandled updates
|
2021-05-23 15:38:03 +03:00 |
|
teidesu
|
b926178b9d
|
refactor(dispatcher): store and lookup handlers by their type
avoids redundant loops over all registered handlers
|
2021-05-23 14:43:40 +03:00 |
|
teidesu
|
2d335af78e
|
fix(dispatcher): reuse parsed updates in child dispatchers
|
2021-05-23 14:16:01 +03:00 |
|
teidesu
|
8e81ce21f2
|
fix(dispatcher): scheduled flag for new scheduled messages
|
2021-05-23 14:04:28 +03:00 |
|
teidesu
|
4599272c7c
|
fix(client): do not catch up channels if disabled
|
2021-05-23 14:02:44 +03:00 |
|
teidesu
|
78bdc5fb01
|
fix(socks-proxy): remove headers field
faulty copypaste 🤷
|
2021-05-23 13:49:34 +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
|
256b219247
|
feat: support socks4/5 proxies
|
2021-05-23 12:27:16 +03:00 |
|
teidesu
|
67a22ef1f2
|
feat(http-proxy): include proxy details in the error
|
2021-05-23 11:04:46 +03:00 |
|
teidesu
|
a46c6e8894
|
feat: support http(s) proxies
|
2021-05-23 01:56:59 +03:00 |
|
teidesu
|
649f86f3ed
|
fix(client): avoid secondary db calls in resolvePeer
|
2021-05-22 18:58:17 +03:00 |
|
teidesu
|
126ed3016d
|
feat: sqlite backed session for node js
|
2021-05-22 18:20:07 +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
|
bdaa571777
|
feat(client): only send modified channel pts to storage
|
2021-05-19 17:37:11 +03:00 |
|
teidesu
|
82fb3d7e44
|
refactor: moved async lock to core and exported it
|
2021-05-16 23:05:53 +03:00 |
|
teidesu
|
9d8b09c5ff
|
build: fixed node native addon build
|
2021-05-16 15:50:31 +03:00 |
|
teidesu
|
633f1fdf4d
|
feat(client): editAdminRights method
|
2021-05-16 14:55:17 +03:00 |
|
teidesu
|
32ef1c59ad
|
fix(client): handle updates in getNearbyChats method
|
2021-05-16 14:46:40 +03:00 |
|
teidesu
|
9bee00e584
|
fix(client): sendMediaGroup returns all sent messages
|
2021-05-16 14:43:23 +03:00 |
|
teidesu
|
e6e28399b0
|
refactor: prefer switches over ifs when possible
|
2021-05-16 14:32:36 +03:00 |
|
teidesu
|
f9336841ab
|
feat(client): support inline message media contact
|
2021-05-16 13:49:32 +03:00 |
|
teidesu
|
d75071c284
|
refactor(client): made builder methods modify existing object instead of spreading, and also improved docs
|
2021-05-16 13:44:59 +03:00 |
|
teidesu
|
803daecdf3
|
feat(dispatcher): deleted messages update
|
2021-05-16 13:06:26 +03:00 |
|
teidesu
|
6e86ca464a
|
feat(client): getCallbackAnswer method
|
2021-05-16 12:59:00 +03:00 |
|
teidesu
|
b4f731d831
|
feat(core): support rpc timeouts (for real)
|
2021-05-16 12:50:09 +03:00 |
|
teidesu
|
c092347b63
|
fix(client): fixed game highscore exports
|
2021-05-16 02:52:51 +03:00 |
|
teidesu
|
4852fe0301
|
feat(core): support rpc timeouts
|
2021-05-16 02:52:13 +03:00 |
|
teidesu
|
a6217c682d
|
feat(core): support rpc timeouts
|
2021-05-16 02:50:43 +03:00 |
|
teidesu
|
fd1897651b
|
feat(client): game high scores related methods
|
2021-05-16 02:21:59 +03:00 |
|
teidesu
|
b29883116b
|
refactor(client): moved handling of inline messages to a separate method
|
2021-05-16 02:09:51 +03:00 |
|
teidesu
|
f45b602423
|
fix(tl): improved bot-only methods detection
|
2021-05-16 02:07:23 +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
|
f7e8051a94
|
refactor(client): made resolvePeer return InputPeer, and removed now redundant normalizeTo calls
|
2021-05-15 20:25:59 +03:00 |
|
teidesu
|
b634aa01eb
|
feat(client): markChatUnread method
now i might be stupid
|
2021-05-12 22:37:09 +03:00 |
|
teidesu
|
482c71690d
|
feat(client): markChatUnread method
|
2021-05-12 22:36:03 +03:00 |
|
teidesu
|
8cf4ce5533
|
feat(client): readHistory method and related bound methods
|
2021-05-12 22:31:29 +03:00 |
|
teidesu
|
4f40571455
|
feat(client): unpinAllMessages method
|
2021-05-12 22:18:08 +03:00 |
|
teidesu
|
79a8962284
|
feat(client): chat restrictions related methods
|
2021-05-12 22:07:00 +03:00 |
|
teidesu
|
30253c83c7
|
refactor(client): normalized MtCuteTypeAssertionError errors
|
2021-05-12 18:16:50 +03:00 |
|
teidesu
|
9be7b0d6c9
|
refactor: prefer switches to else-if chains
|
2021-05-12 17:58:45 +03:00 |
|
teidesu
|
6879ae945a
|
feat(tl): generate switches instead of OR expressions
switches are WAY faster.
|
2021-05-11 23:27:09 +03:00 |
|
teidesu
|
f19fdf76b8
|
refactor(client): improve resolvePeer normalization
|
2021-05-11 23:21:35 +03:00 |
|
teidesu
|
8b3caeb3d0
|
feat(client): resolvePeerMany method
|
2021-05-11 22:43:11 +03:00 |
|
teidesu
|
46973c4830
|
fix(dispatcher): fixed field names because webstorm sucks
|
2021-05-11 22:34:13 +03:00 |
|
teidesu
|
5b3d7a3b09
|
refactor(client): normalized boolean fields
|
2021-05-11 22:10:14 +03:00 |
|
teidesu
|
d8cd13fd60
|
refactor(client): use ReadonlyArray for getter return types
|
2021-05-11 22:02:00 +03:00 |
|
teidesu
|
61778dba8e
|
Merge remote-tracking branch 'origin/master' into master
|
2021-05-11 21:47:10 +03:00 |
|
teidesu
|
0f1edcfcf7
|
refactor: use UsersIndex and ChatsIndex types instead of bare record types
|
2021-05-11 21:46:59 +03:00 |
|
es3n1n
|
d587fcaa4e
|
fix typo
imagine writing macroses instead of macros
|
2021-05-10 22:57:09 +02:00 |
|
teidesu
|
0525800133
|
feat(client): getNearbyChats method
|
2021-05-10 22:51:35 +03:00 |
|
teidesu
|
f0eb95e4ba
|
feat(client): chat event logs
also added support for chat locations and fixed ts errors
|
2021-05-10 21:51:25 +03:00 |
|
teidesu
|
4ad562bf06
|
fix(client): message media and action parsing
|
2021-05-10 17:57:12 +03:00 |
|
teidesu
|
db0d5f51e4
|
feat(dispatcher): filtering for service messages, by chat type and for text-only msgs
|
2021-05-10 17:30:05 +03:00 |
|
teidesu
|
9df635ad92
|
refactor(client): extract message media to separate type and file
|
2021-05-10 17:04:46 +03:00 |
|
teidesu
|
fe0f0849a4
|
refactor(client): extract message action to separate type and file
|
2021-05-10 16:36:16 +03:00 |
|
teidesu
|
e28ec79110
|
feat(client): support more service messages
|
2021-05-10 16:29:33 +03:00 |
|
teidesu
|
977527b78a
|
fix(core): handle concurrent saving for the file
this is very hacky, but idk how to make it better.
|
2021-05-10 14:28:39 +03:00 |
|
teidesu
|
f3e4a34eab
|
feat(client): deleteUserHistory method, also properly handle messages.affectedHistory
i suppose? this is an incredibly bad hack but i guess it works so who cares?
|
2021-05-10 14:27:57 +03:00 |
|
teidesu
|
c678a0ef6a
|
fix(client): handle channel difference properly
|
2021-05-10 14:21:46 +03:00 |
|
teidesu
|
ded667b332
|
feat(client): chat invite links related methods
|
2021-05-10 00:35:29 +03:00 |
|
teidesu
|
ac0ddc5c6d
|
feat(client): support seamless login for bots
also slightly improved docs for BotKeyboard
|
2021-05-09 20:41:54 +03:00 |
|
teidesu
|
cae7f90c57
|
fix(core): payload size limit
|
2021-05-09 19:34:25 +03:00 |
|
teidesu
|
df84137391
|
feat(client): get messages inside message groups
|
2021-05-09 18:29:33 +03:00 |
|
teidesu
|
87a7df669a
|
feat(client): user related methods
|
2021-05-09 14:35:58 +03:00 |
|