Commit Graph

204 Commits

Author SHA1 Message Date
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
iyear
c8adf77dd7 feat(dl): custom download dir 2022-12-20 13:26:12 +08:00
iyear
9411eff425 feat(dl): filename filters(black/white) 2022-12-20 13:16:24 +08:00
iyear
1a97d0fd96 fix(login): err check 2022-12-06 22:19:59 +08:00
iyear
ada1ead50f fix(dl): wait group add miss 2022-12-03 14:24:01 +08:00
iyear
3027d60f63 chore(auth): replace go-input with survey 2022-11-29 10:37:49 +08:00
iyear
f82ac32b56 fix(dl): dl dialogs range 2022-11-24 17:03:44 +08:00
iyear
a909abc08b feat(login): support local passcode. close #58 2022-11-23 20:05:38 +08:00
iyear
bf8063fbb1 feat(login): better select interaction. close #57 2022-11-23 11:41:33 +08:00
iyear
74b845f59e refactor(export): replace magic number 2022-11-04 12:51:10 +08:00
iyear
a3f0d3551e feat(export): support export based on message id 2022-11-04 12:50:14 +08:00
iyear
da51754f61 fix(login): process path that points to Telegram executable file 2022-10-19 10:32:22 +08:00
iyear
823e481af7 refactor(kv): interface 2022-10-13 14:22:32 +08:00
iyear
88cf287884 refactor(peers): move to storage pkg 2022-10-13 14:22:32 +08:00
iyear
ba2785c128 feat(up): video thumb support. WIP 2022-10-12 11:59:08 +08:00
iyear
841a7732ec chore(login): add warning for code login 2022-10-11 21:39:15 +08:00
iyear
5ccc116411 feat(tdl): store peers info with kv. close #39 2022-10-11 10:23:15 +08:00
iyear
a032d1f7f3 fix(export): add warning & fix render end 2022-10-10 23:41:31 +08:00
iyear
2e3cbca11b fix(telegram): judge media existence 2022-10-10 23:16:29 +08:00
iyear
c311bf930a feat(chat): add export 2022-10-10 21:21:04 +08:00
iyear
b596de2337 refactor(util): telegram get input peer 2022-10-10 20:48:29 +08:00
iyear
0d05a489a2 feat(chat): export messages WIP 2022-10-10 19:13:38 +08:00
iyear
003a5d84bf fix(dl): deleted message 2022-10-03 13:56:35 +08:00
iyear
cf2ee64ed4 fix(dl): detailed error 2022-10-01 14:40:39 +08:00
iyear
07d6ab4844 feat(dl): file name template 2022-10-01 12:50:18 +08:00
iyear
0fbcc1454a fix(tgc): first login 2022-09-27 10:08:42 +08:00
iyear
7dcf6b86ec refactor(tgc): run auth helper 2022-09-25 13:02:06 +08:00
iyear
c2e82d0ceb feat!(tgc): variable Telegram app. close #28 2022-09-25 12:34:47 +08:00
iyear
67fec5b463 refactor(tgc): tgc 2022-09-25 10:09:37 +08:00
iyear
8092056c86 feat(cmd): add backup & recover. close #13 2022-09-24 16:11:28 +08:00
iyear
21974996d1 feat(dl): files mode 2022-09-24 10:45:06 +08:00
iyear
5dc948a15d refactor(dl): iter & urls 2022-09-23 18:29:34 +08:00
iyear
2d48c66b00 refactor(dl): rename 2022-09-23 10:14:23 +08:00
iyear
0491a419af refactor(dl): remove 'url' sub cmd 2022-09-22 23:41:47 +08:00
iyear
0229184f65 fix(chat): add auth for ls 2022-09-21 21:42:06 +08:00
iyear
87b570252a feat(tgc): use ntp clock when flag is set 2022-09-21 20:54:17 +08:00
iyear
b1043ee35b feat(cmd): add debug flag 2022-09-19 20:48:16 +08:00
iyear
8878f3d586 fix(login): missing output arg 2022-09-19 20:21:33 +08:00
iyear
593b879571 refactor(cmd): use viper to pass pflags 2022-09-19 19:35:38 +08:00
iyear
7e994f2aa3 feat(tgclient): add network clock 2022-09-17 23:36:46 +08:00
iyear
1b926d95ef refactor(login): rename 2022-09-17 16:22:05 +08:00
iyear
2aa6c255be feat(login): support import desktop client session 2022-09-17 15:42:41 +08:00
iyear
e63f8bf7d9 chore(dep): use go-input fixed ver 2022-09-17 15:36:16 +08:00
iyear
db7814f316 chore(chat.ls): add notice message 2022-09-16 00:10:49 +08:00
iyear
7139f4200f fix(iter): ctx select 2022-09-16 00:04:27 +08:00
iyear
23090c28fd feat(cmd): add upload 2022-09-15 14:47:01 +08:00
iyear
445d147663 chore(dl): do not impl chat mode now 2022-09-14 10:22:52 +08:00
iyear
2aeb4afa29 feat(cmd): add chat ls 2022-09-14 09:28:16 +08:00
iyear
22d1816d90 feat(dl): chat mode. WIP 2022-09-13 09:35:09 +08:00
iyear
52ca0caf01 refactor(login): phone input. close #5 2022-09-10 15:05:13 +08:00
iyear
8ed91a6b4d fix(tgc): ignore login status. close #4 2022-09-09 23:15:48 +08:00
iyear
aab794fb80 refactor(tg): client init 2022-09-07 08:04:02 +08:00
iyear
a3e64b4eea refactor(utils): proxy 2022-09-07 00:04:58 +08:00
iyear
039591f39c feat(cmd): add dl 2022-09-04 10:55:15 +08:00
iyear
46fa6f390d feat(prj): init 2022-09-01 15:16:59 +08:00