krau
e5d1e143e0
feat: configurable parser and refactor config
2025-08-23 14:29:32 +08:00
krau
6112f6c240
feat: truncate item description to 233 characters in parsed text
2025-08-22 15:00:09 +08:00
Krau
302db2fe75
feat: parse url with js plugins support ( #96 )
...
* feat: WIP. add parser functionality and text message handling
* fix: use json to marshal js result
* feat: add metadata handling and version validation for jsParser
* refactor: rename parser package to parsers and restructure parser handling
* refactor: core code struct and impl parse task handle
* feat: impl parsed download
* fix: seek cache file when processing tph picture
* feat: implement parsed task handling and progress tracking
* feat: enhance task processing with concurrency control and progress tracking
* feat: add resource ID generation and improve resource processing handling
* feat: improve message formatting in parsed text and progress completion
* feat: add example js plugin
* feat: implement Twitter parser
* fix: twitter parse video json decode error
* feat: impl stream mode for parse task
2025-08-21 23:48:17 +08:00
krau
79386bdd7d
fix: improve error handling in recovery middleware
2025-08-21 14:39:41 +08:00
krau
b2bfc96a8f
fix: get user client panic
2025-08-03 22:25:56 +08:00
krau
0c5bb2ba77
docs(zh): update watch feat
2025-08-03 17:35:47 +08:00
krau
9cc87380ff
feat: update bot commands and help
2025-08-03 17:26:47 +08:00
krau
46afc14322
fix: debounce send media event and ignore edit or delete updates
2025-08-03 17:22:55 +08:00
krau
0c16650ea5
fix: watch chat check
2025-08-03 17:04:26 +08:00
krau
133453b5d4
feat: implement watch for monitoring chat messages
...
- Added a new command handler for /watch that allows users to listen to messages from a specified chat and save them according to storage rules.
- Introduced filtering options for messages using regular expressions.
- Implemented functionality to start and stop watching chats, including error handling for invalid inputs and user settings.
- Created a new utility package for message element handling related to the watch feature.
- Updated the user model to manage watched chats, including methods to add, remove, and check if a chat is being watched.
2025-08-03 16:55:56 +08:00
krau
8f9ef07d1c
refactor: replace functions.GetMediaFileNameWithId with tgutil.GetMediaFileName for better media file name handling
2025-08-02 16:55:12 +08:00
krau
b9d14f79c8
refactor: simplify dler client interface
2025-08-02 10:01:59 +08:00
krau
36f3dd83fc
refactor: remove error wrapping in retry middleware skip logic
2025-07-07 13:44:32 +08:00
krau
d703f11ea0
feat: implement album handling rules and refactor related logic
2025-07-04 16:01:29 +08:00
krau
3ce9926967
feat: handle media group message in updates
2025-07-04 14:36:03 +08:00
krau
80146176f0
feat: make retry middleware configurable
2025-07-04 13:38:55 +08:00
krau
e7bab27543
feat: add user client inject in file link handler
2025-06-29 23:08:48 +08:00
krau
f693bd6103
refactor: update file handling to use new downloader interface; remove unused tdler package
2025-06-29 23:00:40 +08:00
krau
c795f957a9
refactor: user client and proxy handling; remove unused auth code
2025-06-29 22:25:05 +08:00
krau
3b85911e3d
fix: mimetype nil pointer
2025-06-20 22:42:57 +08:00
krau
336309fad0
chore: remove unuse comment
2025-06-20 22:29:37 +08:00
krau
394cdff865
feat: regex filter for batch save message
2025-06-20 22:25:46 +08:00
krau
40cb3dad9d
feat: handle grouped msgs, close #72
2025-06-20 22:07:21 +08:00
krau
473a5b9413
chore: update help text
2025-06-16 17:31:34 +08:00
krau
44c0c784d7
fix: default dir call back data type
2025-06-16 00:09:29 +08:00
krau
8ebf96444d
fix: optimize directory data handling in BuildSetDirKeyboard function
2025-06-16 00:08:52 +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