Commit graph

1162 commits

Author SHA1 Message Date
teidesu
035435900b feat(dispatcher): filters.start filter for /start 2021-06-19 20:59:35 +03:00
teidesu
fbb5d7005f feat(dispatcher): support regex commands 2021-06-19 20:53:51 +03:00
teidesu
2682392d26 feat(client): mention() method for Chat
mostly done to unify User | Chat type interface and further simplify usage of msg.sender
2021-06-19 20:25:30 +03:00
teidesu
1238e7c32c fix(dispatcher): improved typings for action filter 2021-06-19 20:11:06 +03:00
teidesu
f44bf77a07 feat(dispatcher): support usernames and me/self in userId and chatId filters 2021-06-19 19:53:31 +03:00
teidesu
f2671d3c0b fix(dispatcher): handle commands that contain bot username 2021-06-18 19:21:22 +03:00
teidesu
1371f935cd fix(client): do not dispatch empty messages
this happens when the difference contains messages from other bots that the current bot can't see.
2021-06-18 19:20:58 +03:00
teidesu
645bd46e9d fix(markup): support link starting with // 2021-06-18 18:06:39 +03:00
teidesu
e3b2f747a9 feat(client): override caption and entities for sendMedia 2021-06-18 17:44:52 +03:00
teidesu
cbb8549068 fix(client): params type for answerMedia 2021-06-18 17:33:39 +03:00
teidesu
08517810fc fix(node): do not add handlers if bot token is passed 2021-06-18 17:16:10 +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
6c8eeb01d2 feat(dispatcher): wizard scene 2021-06-14 19:01:02 +03:00
teidesu
257f5392ea refactor(dispatcher): use enum instead of symbols for propagation 2021-06-14 18:58:07 +03:00
teidesu
707e317e16 stuff 2021-06-12 01:13:02 +03:00
teidesu
46317e8ddb fix(dispatcher): optimized every & some functions, improved types for them 2021-06-11 16:39:27 +03:00
teidesu
0d489574df fix(tl-reference): fixed html in previews, fixed some links 2021-06-10 17:26:28 +03:00
teidesu
079d65b38d build: preparing for publish, day 6
i am slowly descending to madness

bugs fixed, stuff exported, and maybe something else
2021-06-10 02:31:48 +03:00
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