Commit graph

471 commits

Author SHA1 Message Date
teidesu
1cce5c79a2 feat(parser): support conditionals in template strings 2022-06-05 23:23:26 +03:00
teidesu
e0d1102408 fix(tl): bumped minor version 2022-06-05 23:05:15 +03:00
teidesu
02462dac16 fix(tl): correctly process vector<bytes>
fml why am i even doing this
2022-06-05 21:36:12 +03:00
teidesu
fa8ed6da10 fix(core): ignore duplicate messages 2022-05-18 13:04:40 +03:00
teidesu
0633d0a817 fix(dispatcher): handlers without filters 2022-05-14 21:38:41 +03:00
teidesu
e1dab9a195 build: fixed deps 2022-05-14 21:37:48 +03:00
teidesu
86ea9655fa build: updated lockfile 2022-05-14 21:05:43 +03:00
teidesu
9034810ccd tl: updated to layer 142 2022-05-14 20:30:36 +03:00
teidesu
9039830572 feat(client): support reactions 2022-05-12 10:09:37 +03:00
teidesu
96300a795e fix(core): removed unnecessary import 2022-05-11 13:17:39 +03:00
teidesu
0a217108ba feat(client): added get() method in PeersIndex 2022-05-11 13:17:23 +03:00
teidesu
3b15c66fc3 fix(client): fixed inspecting buffers
i may actually be retarded
2022-05-11 11:50:09 +03:00
teidesu
b4beeba33c feat(client): support user profile button
this one does not automatically do resolvePeer because i'm too lazy to make an intermediate type just for this type of buttons. once there are more of them, maybe i will...
2022-05-09 17:32:42 +03:00
teidesu
63d0ea2ddf feat(client): support join requests 2022-05-09 17:25:38 +03:00
teidesu
4f0f16e4a4 fix(tl): improved documentation downloader
- fixed invalid {@link} directives
- fixed underscored parameters being transformed
- fixed using raw layer number (instead of actual)
2022-05-09 17:18:18 +03:00
teidesu
be27e33d61 feat(client): support new invite links (t.me/+) 2022-05-09 00:20:32 +03:00
teidesu
a0bfe2c075 feat(client): support get/setBotMenuButton methods 2022-05-09 00:00:22 +03:00
teidesu
d41bec9c73 feat(client): support setBot*DefaultAdminRights methods 2022-05-08 23:34:28 +03:00
teidesu
a10221533c feat(client): helper for webview keyboard buttons 2022-05-06 23:50:21 +03:00
teidesu
e187f8697e feat(filters): filter by sticker type 2022-05-06 20:02:54 +03:00
teidesu
daff3e62a0 feat(client): support webm stickers 2022-05-06 20:00:15 +03:00
teidesu
9543f64558 feat(client): sticker choosing typing event
also prettier fucked everything up, fixed that
2022-05-06 17:53:44 +03:00
teidesu
252f94a594 fix(dispatcher): implemented userId filter
it got commented out when migrating to 64-bit ids, then i moved to using native numbers for them and forgot to update the filter
2022-05-06 13:56:15 +03:00
teidesu
a7e866f3eb refactor: assertNever util, use it in most places
haven't used it in some just yet because not everything is implemented (particularly, newer attachment types, typings, admin events, etc.)
2022-05-06 13:50:30 +03:00
teidesu
ffafb3e5db build: improved publish script, fixed imports/exports, added note about private repo 2022-05-06 13:23:29 +03:00
teidesu
e02763dcdd fix(client): fixed usage of FormattedString type 2022-05-06 00:47:26 +03:00
teidesu
1ef1c0669d feat(parse-mode): support spoiler entity 2022-05-06 00:40:47 +03:00
teidesu
05be58f903 fix(html): fixed un-parsing 2022-05-06 00:36:54 +03:00
teidesu
d8111ea525 feat(parse-mode): compile-time formatted string compatibility check 2022-05-06 00:11:28 +03:00
teidesu
28baf50958 feat(html): big rework, process html similar to browsers 2022-05-06 00:05:21 +03:00
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