Commit Graph

36 Commits

Author SHA1 Message Date
krau
e5d1e143e0 feat: configurable parser and refactor config 2025-08-23 14:29:32 +08:00
krau
c82c2462bf feat: exec command hook , close #79 2025-06-20 21:30:50 +08:00
Krau
900823cdb9 refactor: refactor task logic for better scalability (#76)
* refactor: a big refactor. wip

* refactor: port handle file

* refactor: place all handlers

* fix: task info nil pointer

* feat: enhance task progress tracking and context management

* feat: cancel task

* feat: stream mode

* feat: silent mode

* feat: dir cmd

* refactor: remove unused old file

* feat: rule cmd

* feat: handle silent mode

* feat: batch task

* fix: batch task progress and temp file cleanup

* refactor: update file creation and cleanup methods for better resource management

* feat: add save command with silent mode handling

* feat: message link

* feat: update message prompts to include file count in storage selection

* feat: slient save links

* refactor: reduce dup code

* feat: rule type

* feat: chose dir

* feat: refactor file handling and storage rules, improve error handling and logging

* feat: rule mode

* feat: telegraph pics

* fix: tphpics nil pointer and inaccurate dirpath

* feat: silent save telegraph

* feat: add suffix to avoid file overwrite

* feat: new storage telegram

* chore: tidy go mod
2025-06-15 23:57:49 +08:00
krau
c8c348a182 feat: batch save files 2025-04-12 16:27:23 +08:00
krau
347a60f1f7 fix: implement image extraction from Telegraph nodes 2025-03-24 22:04:55 +08:00
krau
ed0837a89b refactor: replace logger usage with common.Log for consistent logging 2025-03-21 21:07:53 +08:00
krau
152f473131 fix: delete done task 2025-02-27 22:25:10 +08:00
krau
be6444cf96 feat: implement task cancellation feature and update task handling 2025-02-27 22:02:16 +08:00
krau
8975589c43 refactor: file download process and enhance progress tracking 2025-02-21 11:16:45 +08:00
krau
3a1b8f34ea chore: translate some import log to cn 2025-02-19 12:36:48 +08:00
krau
c4eb824457 feat: set default storage by inline keyboard 2025-02-19 12:23:12 +08:00
krau
692e970772 feat!: (WIP) switched back to using config files config storages because the conversation handling is shit 2025-02-19 11:05:30 +08:00
krau
968547b005 feat!: (WIP) decouple storage, users, and configuration files to support multiple users 2025-02-18 17:17:02 +08:00
krau
2d17a731c4 feat: improve file handling by generating default file names and adding mime type detection 2025-02-16 15:43:02 +08:00
krau
db69688722 feat: support save content protect channel message by handle link 2025-02-16 11:38:26 +08:00
krau
ec09289d5f feat: enhance message formatting with entity support and improve command registration 2025-02-15 17:20:16 +08:00
krau
6fa8e89191 feat: update download task message to include detailed progress information 2025-02-15 15:10:52 +08:00
krau
3a4effab33 feat: refactor file processing and storage handling with improved path management 2025-02-15 15:06:06 +08:00
krau
0fb5634874 feat: support custom storage path in filename 2025-02-12 12:24:11 +08:00
krau
a17492d4ae feat(task): enhance download progress reporting and add speed calculation 2025-02-12 11:06:25 +08:00
krau
2f60af858d refactor: remove message editing after photo file download in task processing 2025-01-20 11:27:26 +08:00
krau
9795a85dd6 refactor: file download process 2025-01-20 11:09:38 +08:00
krau
45974917f2 feat: support media photo download 2025-01-20 11:03:01 +08:00
krau
b76c1d5ccc feat: enhance task processing messages with download status and error details 2025-01-19 14:35:08 +08:00
krau
8d0851f37a feat: add retry configuration for failed save task 2025-01-07 10:30:33 +08:00
krau
454d69c9d4 refactor: update logging levels and remove unused code 2024-11-09 11:00:49 +08:00
krau
71e5007228 feat: show download progress 2024-11-09 10:46:11 +08:00
krau
20e06fbf46 refactor: complete core features 2024-11-09 09:07:00 +08:00
krau
fbdfc04ad8 refactor: migrate to gotd (wip) 2024-11-08 23:00:57 +08:00
krau
edef778959 feat: 添加块大小配置项 2024-10-12 13:36:17 +08:00
krau
0bd9b77856 fix: mk cache dir 2024-10-12 13:27:39 +08:00
krau
d5f214494c feat: configurable download threads and workers 2024-10-12 13:19:25 +08:00
krau
f58e28412f feat: task progress 2024-10-12 13:03:11 +08:00
krau
5d6b1003e9 refactor: use MTP API 2024-10-12 12:47:33 +08:00
krau
0d369c7c79 fix: remove unnecessary context setting in processPendingTask 2024-10-11 16:26:53 +08:00
krau
1cbcebc148 feat: init commit 2024-10-10 23:31:01 +08:00