Commit Graph

204 Commits

Author SHA1 Message Date
iyear
9f6512ea83 fix(up): concurrent sync map 2023-11-26 02:07:03 +08:00
iyear
1d8d258850 fix(progress): context in wait 2023-11-26 01:41:24 +08:00
iyear
4c5c7d6a8f refactor(up): interface, struct, callback 2023-11-26 01:24:47 +08:00
iyear
a9d2042906 chore(forward): process empty input 2023-11-21 21:29:35 +08:00
iyear
1b260e03d9 feat(tgc): unify default middlewares and improve stability 2023-11-20 21:15:22 +08:00
iyear
f8d7fe5724 fix(t): internal error -503 Timedout. #373 2023-11-20 11:10:09 +08:00
iyear
0944b07c5a feat(forward): support dry run 2023-11-17 00:27:30 +08:00
iyear
4128065147 fix(ls): apply channel as chat class 2023-11-17 00:10:00 +08:00
iyear
54e8dee783 fix(tgc): adjust retry options 2023-11-17 00:08:03 +08:00
iyear
e21066597c fix(prog): no terminal size in actions 2023-11-17 00:07:07 +08:00
iyear
b0ac970918 feat(forward): responsive tracker message 2023-11-16 23:03:46 +08:00
iyear
2d08bc8e72 refactor(prog): progress fit terminal size 2023-11-16 22:58:16 +08:00
iyear
9f9f7a818d feat(forward): support message forward router 2023-11-14 21:48:34 +08:00
iyear
51c52ec942 refactor(tmessage): add only media param 2023-11-14 21:43:03 +08:00
iyear
3b9ecb88f7 refactor(export): move message convert to texpr 2023-11-13 19:59:03 +08:00
iyear
42a5378de9 refactor(texpr): remove compile func 2023-11-13 18:57:01 +08:00
iyear
60f9c212c7 refactor(enum): add nocase flag 2023-11-13 18:56:59 +08:00
iyear
341a7377f3 refactor(ls): rename to ListOutput 2023-11-13 18:46:19 +08:00
iyear
25d4a4e3fd refactor(export): use go-enum 2023-11-13 16:50:45 +08:00
iyear
e98ba7b5c5 refactor(ls): use go-enum 2023-11-13 16:41:52 +08:00
iyear
1b91b9ec58 refactor(forwarder): extract interface args to meta struct 2023-11-13 15:35:16 +08:00
iyear
adda6d6930 feat(forward): forwarder app impl 2023-11-13 12:22:12 +08:00
iyear
23df1f10fe refactor(tmedia): extract item to self struct 2023-11-07 23:25:24 +08:00
iyear
892dcdd2dd refactor(utils): extract get single message 2023-11-07 23:21:43 +08:00
iyear
e15a721404 refactor(tmessage): extract message source parser to tmessage 2023-10-30 19:29:38 +08:00
iyear
f8daf6e71a fix(users): just skip when encounter CHAT_ADMIN_REQUIRED 2023-10-24 00:13:55 +08:00
朱润根
b7d6cd285d
add peer id in err msg (#339)
Co-authored-by: Rungen Zhu <rungen.zhu@shopee.com>
2023-10-09 10:48:07 +08:00
iyear
703890e84c fix(serve): check message id again to ensure it exists 2023-09-30 22:42:40 +08:00
iyear
919fe2d400 feat(dl): support expose files to HTTP server with serve flag 2023-09-28 22:02:02 +08:00
iyear
ba8e709b1d refactor(dcpool): directly return default client instead of dc id 2023-09-23 13:50:00 +08:00
Junyu Liu
79dd1242d7
refactor!(export): raw message extend field (#310)
* refactor!(export): raw message extend field

* fix(export): lint
2023-09-19 12:04:58 +08:00
iyear
0d3a4521c3 feat(users): display ETA and percentage 2023-09-11 11:29:01 +08:00
iyear
081d4273b6 feat(users): enhance output 2023-09-11 10:48:00 +08:00
Lukáš Koszegy
e345ba4a3e
feat(cmd): add chat users command (#298)
* add chat users command

* add missing username field

* apply review comments
2023-09-10 22:54:58 +08:00
iyear
ed57d726ff refactor(dl): download options 2023-09-09 18:25:28 +08:00
iyear
4d379a49d2 refactor(up): upload options 2023-09-09 18:17:40 +08:00
iyear
1a42185220 feat(up): upload the image as a photo. #244 2023-09-09 18:10:14 +08:00
iyear
952c43835d feat(up): use dc pool 2023-09-09 17:18:50 +08:00
iyear
37dc867513 refactor(cmd): move pool flag to global set 2023-09-09 17:13:31 +08:00
iyear
83d879a01c fix(tgc): add rate limit to avoid frequent flood wait in e2e test 2023-08-23 19:40:32 +08:00
iyear
6f61b1cfdb chore(prj): use golangci-lint 2023-08-21 13:19:40 +08:00
iyear
071180947f chore(archive): detail error message 2023-08-20 21:29:08 +08:00
iyear
d3c02afe24 chore(prj): optimize imports 2023-08-20 21:18:36 +08:00
iyear
60805d43e8 fix(chat): apply the latest peers when list chats. #253 2023-07-27 13:14:49 +08:00
iyear
c60880fd91 fix(export): nil media with --all flag 2023-06-10 22:45:36 +08:00
iyear
5e57a13487 fix(dcpool): do not init takeout session first. #202 2023-05-31 19:52:34 +08:00
iyear
21ed380e29 test(e2e): login before test 2023-05-29 13:11:22 +08:00
iyear
881de655a8 test(e2e): persistent session to speed up test 2023-05-29 13:11:04 +08:00
iyear
c77a8cd32d test(e2e): add tests for upload 2023-05-29 00:52:24 +08:00
iyear
6c51ca53c9 refactor(export): marshal message struct 2023-05-27 23:06:39 +08:00
iyear
98f3784cdf test(e2e): init and add chat ls test 2023-05-26 23:45:00 +08:00
iyear
bbd0f7c773 fix(export): actual peer id when reply is set 2023-05-24 10:24:40 +08:00
iyear
cfc389ca31 refactor(dcpool): lazy init 2023-05-24 10:24:40 +08:00
iyear
37ae218de0 refactor(prog): wait for stopping 2023-05-24 10:24:39 +08:00
iyear
32dcd7dc04 chore(dliter): better error message 2023-05-24 10:24:39 +08:00
iyear
71bda2c0f6 feat(export): support export non-media messages 2023-05-24 10:24:39 +08:00
iyear
f67bca8e81 feat(export): support raw message format 2023-05-24 10:24:39 +08:00
iyear
db57237bb1 chore(cmd): do not output others to stdout 2023-05-24 10:24:39 +08:00
iyear
0a1aeb4f9d chore(filter): do not print new line 2023-05-22 21:28:27 +08:00
iyear
ea4c9f990a feat(ls): output available fields with - filter flag 2023-05-22 21:28:27 +08:00
iyear
d0c9aa2884 feat(export): output available fields with - filter flag 2023-05-22 21:04:17 +08:00
iyear
01740fd019 feat(ls): support filter by expression 2023-05-22 16:40:23 +08:00
iyear
f674192a2a feat(ls): support JSON output 2023-05-22 11:00:22 +08:00
iyear
49b7c4a4ed feat(ls): enhance table output 2023-05-22 10:39:16 +08:00
iyear
73532c1cf6 feat(export): export with specific thread(topic or post) id. 2023-05-21 21:40:38 +08:00
iyear
1167766621 feat!(export): filter powered by expression engine 2023-05-21 15:27:57 +08:00
iyear
fe496703df feat(up): support rm flag. #173 2023-05-21 13:51:30 +08:00
iyear
2ebbf54c87 fix(tgc): EOF error when network is poor. #158 2023-05-17 16:57:20 +08:00
iyear
76078985e9 chore(dl): takeout session is no longer enabled by default 2023-04-24 14:09:11 +08:00
iyear
cc3736757f fix(tgc): retry interval and times 2023-04-06 09:31:39 +08:00
iyear
8c4135eae1 fix(tgc): smaller connection backoff elapsed time and multiplier 2023-04-06 09:29:35 +08:00
iyear
4a4db08291 feat(export): support export with message content. #46 2023-04-06 09:09:53 +08:00
iyear
cdee8c133a refactor(tpath): make homedir a param 2023-03-29 18:22:22 +08:00
iyear
0368383132 feat(login): add logout survey to separate from imported session 2023-03-24 14:31:09 +08:00
iyear
f0004b0872 feat(export): support regexp filter 2023-03-23 15:14:48 +08:00
iyear
994b75d862 refactor(export): use jx stream JSON encoder 2023-03-22 09:32:47 +08:00
iyear
acb15c9691 feat!(export): support export last N messages. #129 2023-03-21 14:43:26 +08:00
iyear
514d7742c2 feat(export): display max message id of chat. #129 2023-03-18 00:00:57 +08:00
iyear
c174aa8d8f fix(backup): backup database only. #130 2023-03-16 21:46:08 +08:00
iyear
4d83b5e9aa feat!(app): automatically find possible paths when login with desktop 2023-03-15 16:22:21 +08:00
iyear
5139cd5c47 refactor(internal): make tmedia public 2023-02-18 20:21:47 +08:00
iyear
9c2b882bc2 feat(dl): support filename template func 2023-02-18 14:34:48 +08:00
iyear
32129dbbb7 feat(dl): continue and restart flags 2023-02-14 22:35:37 +08:00
iyear
0cd0d85d27 feat(dl): speed up resuming download 2023-02-03 14:33:24 +08:00
iyear
6f80444cef feat!(dl): support custom download order with desc flag 2023-02-03 13:29:12 +08:00
iyear
a6e9f0d0bd refactor(tmedia): sep files 2023-01-30 23:45:08 +08:00
iyear
99a31711cf fix(tmedia): photo size 2023-01-30 23:43:59 +08:00
iyear
d519440643 refactor(utils): rename to ParseMessageLink 2023-01-30 20:51:19 +08:00
iyear
ff6f71d4c4 chore(prj): add some logs 2023-01-30 20:50:29 +08:00
iyear
aea16acf17 feat(logger): rotate file logger 2023-01-30 19:56:08 +08:00
iyear
2b087301d6 refactor(dl): . 2023-01-28 23:26:52 +08:00
iyear
98b81a3133 feat(dl): resume download. #86 2023-01-28 16:51:09 +08:00
iyear
d619f637bc refactor(tdl): replace params with options 2023-01-25 15:32:10 +08:00
iyear
8f7d14dd28 feat(upload): custom upload target chat. close #85 2023-01-25 13:33:15 +08:00
iyear
48e952d7cb fix(export): retain the last msg id. close #89 2023-01-25 12:51:45 +08:00
iyear
fcb034b1cf fix(dcpool): add flood wait middleware 2022-12-31 15:32:41 +08:00
iyear
e6313ec46a feat(dl): add dc pool to speed up 2022-12-21 19:46:27 +08:00
iyear
32798a4953 feat(dl): skip same file 2022-12-21 11:00:06 +08:00
iyear
e32fab40e1 feat(dl): rewrite ext flag 2022-12-20 20:43:57 +08:00
iyear
1f36c4f641 chore(msg): add todo 2022-12-20 17:21:21 +08:00