Commit Graph
11 Commits
Author SHA1 Message Date
NanamiAdmin 48533404fa feat: add incoming webhook API support with configurable endpoints
Build / ubuntu-latest (push) Canceled after 1m11s
Build / windows-latest (push) Canceled after 1m36s
- Implemented the incoming webhook API to handle alerts from external applications.
- Added configuration options for webhook listening address, port, and endpoints in config.go.
- Created WebhookReceiverConfig and WebhookEndpointConfig structures to manage webhook settings.
- Developed WebhookHandler to process incoming requests, validate tokens, and deliver alerts to specified channels.
- Enhanced existing controller interfaces to support alert delivery.
- Updated message rendering to respect Markdown settings for different channels.
- Added tests for webhook functionality and ensured proper error handling.
2026-09-24 11:21:38 +08:00
NanamiAdmin 16341972af style: replace GetConfig() with variable C_globalConfig 2026-09-02 21:24:27 +08:00
NanamiAdmin bf4cdf0d88 chore(config): move admins && trustedGroups to a new config bot_user_config.json.
feat(config): add load bot_user_config endpoint
style(config): rename `LoadConfig` to `LoadGlobalConfig`.
2026-09-02 21:19:50 +08:00
NanamiAdmin 935ea24d54 feat(controller): enhance command handlers to accept source parameter for improved message formatting 2026-08-19 20:02:18 +08:00
NanamiAdmin 5689c942d2 feat(controller): add /getip command to retrieve server IP information 2026-08-19 14:39:41 +08:00
NanamiAdmin f2cc16177c feat(controller): add source for command handling.
feat(telegram): switch message type to markdown
feat(controller): add welcome message for telegram bot.
2026-08-13 17:07:55 +08:00
NanamiAdmin 105fa47811 feat(debug): make komari task echo log to debug level and selectable
feat(internal/controller/qq_napcat): add trigger log display and detailed to chatID and senderID
2026-08-12 22:29:57 +08:00
NanamiAdmin 8cd7cfd6e7 feat(controller): add help command with message template for bot commands 2026-08-07 22:39:57 +08:00
NanamiAdmin ebbbe7ba1d feat(node): add Info structure to save every nodes system information
feat(processor): add /info <uuid> command to show basic system info for specific node
2026-08-07 22:31:02 +08:00
NanamiAdmin f342ef5b34 fix(internal/controller/pipes/qq_napcat): remove debug msg echo, now it can process commands 2026-08-06 18:52:36 +08:00
NanamiAdmin 30ed0bd9ec chore(internal/controller): split command processor from pipes as an individual module 2026-08-06 17:53:53 +08:00