Commit Graph

216 Commits

Author SHA1 Message Date
iyear
245b42a115 fix(tplfunc): convert date arg to int64 with the best effort 2024-11-29 15:51:18 +08:00
Junyu Liu
eee2d1c546
refactor(core): move storage package to core module (#813)
* refactor(core): move storage package to core module

* rename

* lint
2024-11-22 17:41:33 +08:00
iyear
0d574733f2 fix(extension): extension process control lifecycle by self 2024-11-22 15:45:02 +08:00
iyear
5a690c5c81 feat(dl): add filenamify to tplfunc
related #676, #704, #733, #804
2024-11-17 15:33:12 +08:00
Junyu Liu
0a084ef513
fix(prj): set part size to max by default
* fix part size

* remove useless --size flag in e2e test
2024-11-07 18:14:38 +08:00
Junyu Liu
98dac73585
feat(prj): support tdl extensions (#780) 2024-11-07 14:31:14 +08:00
Junyu Liu
659102cdec
fix(e2e): self-hosted Telegram server (#757) 2024-10-25 14:31:35 +08:00
Junyu Liu
5451bcb1ad
fix(test): Telegram test servers no longer provide test accounts (#753)
* runs on latest ubuntu

* runs on latest ubuntu

* cancel inf retries

* change to self-hosted account

* fix missing args

* fix opendb error

* inf retries

* inf retries
2024-10-17 17:05:57 +08:00
iyear
d06ca3a065 refactor(prj): separate tclient core code to core module 2024-06-17 00:55:37 +08:00
iyear
26bad55ea4 refactor(prj): separate logger to core module 2024-06-12 23:53:50 +08:00
iyear
6bb545a2cf refactor(prj): separate telegram client device config to core module 2024-06-12 23:03:38 +08:00
iyear
187ae7afe8 refactor(prj): separate proxy util to core module 2024-06-12 22:57:02 +08:00
iyear
372f922c34 refactor(prj): separate packages to core module 2024-06-07 00:18:31 +08:00
iyear
f0b19035b0 refactor(prj): separate utils.Telegram to tutil package 2024-06-06 22:48:16 +08:00
Aleksandr Razumov
e23a81207d
feat(tmedia): support MessageMediaInvoice (#581)
Extract paid media if possible.
2024-04-29 15:17:27 +08:00
Jun Zhang
95120c020f
fix(tpath): Add possibly desktop data path for Linux (#588)
`~/.local/share/TelegramDesktop` is also a possible path to store
telegram data. Tested on Ubuntu22.04 LTS with the latest Telegram
Desktop (v4.16.8).

Signed-off-by: Jun Zhang <jun@junz.org>
2024-04-21 22:07:16 +08:00
XMLHexagram
ece1c65aeb
feat(global): add —delay flag (#551)
* feat(global, download): add —delay flag

* feat(forward): support —delay flag

* feat(upload): support --delay flag

* doc(en/zh): add `—delay` in global-config doc

* refactor(iter): use HasNext() in guard of Next()

* Revert "refactor(iter): use HasNext() in guard of Next()"

This reverts commit 7a110fa069.

* Revert "feat(upload): support --delay flag"

This reverts commit 24ab0b50d9.

* Revert "feat(forward): support —delay flag"

This reverts commit 12c4f060de.

* Revert "feat(global, download): add —delay flag"

This reverts commit 735bbc74

* feat(global): support set delay duration between each task

---------

Co-authored-by: iyear <ljyngup@gmail.com>
2024-04-17 23:01:11 +08:00
iyear
2404afe4ee fix(retry): add memory limit exit to internal error list. close #504 2024-02-22 01:43:38 +08:00
iyear
550621e34a chore(deps): rename antonmedv/expr to expr-lang/expr 2024-02-12 19:39:29 +08:00
iyear
5254651c0f chore(utils): replace min function with builtin 2024-02-12 18:02:19 +08:00
iyear
a006ac88db fix(utils): append argument msg to the end of grouped messages 2024-02-12 18:00:54 +08:00
iyear
51c17bdb74 fix(tplfunc): deprecated rand seed 2024-02-09 21:03:34 +08:00
iyear
fce339c7d7 feat(forwarder): support forward single grouped message with --single flag. close #487 2024-02-09 15:46:06 +08:00
iyear
757011033a fix(forwarder): send random message ids 2024-02-09 15:45:01 +08:00
iyear
0310ea8287 fix(retry): add WORKER_BUSY_TOO_LONG_RETRY error in list. #462 2024-01-21 11:50:22 +08:00
iyear
19f673c5d0 feat(forward): support reply to message or topic. close #452 2024-01-13 15:42:22 +08:00
iyear
a77e9d6d81 fix(retry): add rpc call fail errors 2023-12-24 15:51:45 +08:00
iyear
21803a9357 chore(kv): skip type key 2023-12-23 14:42:51 +08:00
iyear
684341834b feat(storage): switch default storage to bolt 2023-12-23 14:36:33 +08:00
iyear
8d4ce974d6 feat(migrate): support migrate data to another storage 2023-12-18 20:00:16 +08:00
iyear
753c9573df feat(tclient): add update handler option 2023-12-11 15:46:47 +08:00
iyear
e58df34627 refactor(app): remove tgc 2023-12-11 11:23:04 +08:00
iyear
9526aee6f9 refactor(pkg): add tclient package 2023-12-10 22:40:26 +08:00
iyear
9c03d02bf2 fix(forwarder): non-video document clone, text only message forwarding 2023-12-10 17:19:56 +08:00
朱润根
7b03e1317d
chore(util): add peer id in err msg (#413)
* add peer id in err msg

* add peer id in err msg

* add peer id in err msg

---------

Co-authored-by: Rungen Zhu <rungen.zhu@shopee.com>
2023-12-09 20:18:33 +08:00
iyear
52f326935b refactor(util): best threads 2023-12-09 12:33:56 +08:00
iyear
d45a0dc338 feat(forwarder): fix grouped clone, speed up clone 2023-12-09 12:24:17 +08:00
iyear
92ab241ce6 fix(test): test storage 2023-12-04 11:39:47 +08:00
iyear
0d9dd2cdd1 fix(kv): lint 2023-12-04 11:22:17 +08:00
iyear
2172f40437 fix(prog): try to fix tracker length resize 2023-12-04 10:49:44 +08:00
iyear
94406e9185 fix(storage): use errors.Is 2023-12-04 10:28:19 +08:00
iyear
57e07b66bf refactor(kv): storage engine support 2023-12-04 10:26:39 +08:00
iyear
4a839cbb2b feat(proxy): support http proxy 2023-11-27 21:21:47 +08:00
iyear
04f7116c21 refactor(forwarder): make key as tuple struct 2023-11-27 19:00:53 +08:00
iyear
169e47913a refactor(dl): extract to interface and impl iter in app 2023-11-27 18:57:32 +08:00
iyear
b7bbbf60f1 fix(uploader): fetch ret error in closure 2023-11-27 16:39:00 +08:00
iyear
ffc97c26a4 refactor(forward): extract to interface 2023-11-27 11:24:47 +08:00
iyear
e69f704780 fix(forward): lint 2023-11-27 11:04:02 +08:00
iyear
5233607250 refactor(up): extract to interface 2023-11-27 11:03:41 +08:00
iyear
98233e1de4 refactor(forward): place silent, mode, dry-run in elem 2023-11-26 20:40:56 +08:00