teidesu
d031388ea2
fix(build): fixed imports, bumped typescript
2022-05-05 20:08:38 +03:00
teidesu
2b0af79fb3
feat(client): added non-working translation methods
2022-04-29 17:54:11 +03:00
teidesu
d0218ece42
fix(client): fixed codegen for new ts
2022-04-29 17:32:07 +03:00
teidesu
44e6ffd368
fix(tl): insert true flags after flags field, support multiple flags fields, updated tests
2022-04-29 16:36:41 +03:00
teidesu
916c41e70c
build(codegen): refactored reader codegen (removed the need in additional object), added tests for multiple flags fields
...
i honestly don't know why i did what i did, it's such an over-complication, lol.
2022-04-29 16:13:07 +03:00
teidesu
a1ea1315df
tl: updated to layer 140
2022-04-28 17:23:44 +03:00
teidesu
2289cc690d
build: migrated to pnpm, updated and cleaned up deps
2022-04-28 16:58:09 +03:00
teidesu
87f668bc30
build: updated gitignore
2022-04-28 15:31:08 +03:00
teidesu
73d4833626
Merge remote-tracking branch 'origin/master'
2022-04-01 22:19:19 +03:00
teidesu
9493759572
build: updated to layer 139
...
didn't add any new layers' features, only bumped layer
2022-04-01 22:17:10 +03:00
Alisa Sireneva
6933ecc3f8
readme: added notice about abandonment
2022-03-16 13:25:12 +03:00
teidesu
ec736f8590
some changes
...
i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed:
- extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS
- updated to layer 134, moved to int64 identifiers
- rewritten networking (mtproto), rewritten updates handling
- *lots* of refactoring
still a very early version though, there are a lot of improvements to be made, but at least it runs, lol
also tl-reference will not be updated anytime soon because i want to rewrite it
2021-11-23 00:03:59 +03:00
teidesu
a834fbfa8d
refactor(core): moved to PollardRhoBrent for PQ factorization (thanks @mytecor!)
...
also removed leemon from deps since it's no longer used
2021-09-23 23:11:43 +03:00
teidesu
49eda8f0e3
fix(core): fix bare types and mt_message writing
2021-08-19 23:09:44 +03:00
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
8504e3bf14
fix(client): fixed qts fetching and storing
2021-08-05 14:23:51 +03:00
teidesu
42d7a2286c
fix(core): do not save storage after caching peers
2021-08-05 14:23:18 +03:00
teidesu
6be71c3572
feat(client): support updateBotStopped
2021-08-04 13:23:39 +03:00
teidesu
c943391e15
fix(client): update local pts/qts before dispatching the update
2021-08-04 13:16:08 +03:00
teidesu
a3cf0c526a
fix(client): reworked updates, added support for qts
2021-08-04 12:58:57 +03:00
teidesu
781384cb86
fix(sqlite): removed unique idx on phone, optimized queries
2021-08-04 12:58:17 +03:00
teidesu
860a0e623f
fix(client): fixed online status for bots
2021-08-04 12:56:35 +03:00
teidesu
37398d1080
fix(client): file: prefix in fileName attribute
2021-08-02 14:46:12 +03:00
teidesu
852af9ffab
fix(mtproxy): fixed types
2021-07-30 17:47:21 +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
d4f07aa07c
feat(tl): added types for reactions, also added ability to augment schema from file
2021-07-25 23:19:12 +03:00
teidesu
2f1c8548a0
build: renamed to mtqt
2021-07-25 21:03:40 +03:00
teidesu
7775ff4eaa
feat(client): replyToThreadId field for Message
2021-07-25 21:01:38 +03:00
teidesu
7f112f51a2
fix(core): updated for newer mtproto schema
2021-07-25 15:44:55 +03:00
teidesu
cc8c974e23
feat(client): getDiscussionMessage method
2021-07-25 14:00:51 +03:00
teidesu
b03e2f4f0b
fix(tl): updated schema
...
god i love when telegram changes schema in a backwards-incompatible way and doesn't change layer number because they dont give a slightest fuck on third party mtproto implementations
2021-07-24 23:21:52 +03:00
teidesu
87de39a6fb
fix(client): gallery defaults to true for answerInlineQuery
2021-07-24 22:43:14 +03:00
teidesu
f3e7de5c8c
feat(core): override layer number
2021-07-24 17:00:20 +03:00
teidesu
cb2df91187
fix(client): optional params in sendCopy
2021-07-23 23:09:32 +03:00
teidesu
abe6cef377
fix(html): added htm alias for prettier users
2021-07-23 23:03:03 +03:00
teidesu
0525a59ab3
fix(client): better inspection of buffers
2021-07-22 01:54:00 +03:00
teidesu
4b417afd81
feat(client): isValidSticker field
2021-07-22 01:47:06 +03:00
teidesu
4c717ffc63
fix(voice): proper handling of waveforms
2021-07-22 01:46:31 +03:00
teidesu
96d133dd2f
fix(markdown): proper handling of non-link [] groups
2021-07-20 03:26:00 +03:00
teidesu
3b523598ad
build: changed license to lgplv3
2021-07-19 03:57:47 +03:00
teidesu
8c62b56acc
fix(node): cli input for start() method, not run()
2021-07-18 22:08:50 +03:00
teidesu
199e0a2a7d
fix(dispatcher): adding raw handlers
...
removed from codegen and forgot to add in code, i'm dumb 🤷
2021-07-17 19:08:13 +03:00
teidesu
aa09262aae
fix(client): proper handling of last messages
2021-07-17 18:46:42 +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
5b9ddc1f7b
refactor(dispatcher): UpdateInfo<...> to ParsedUpdate
2021-07-14 22:34:03 +03:00