Commit Graph
14 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 ec1cf20347 feat(config): implement loading and saving of bot node configuration with default notification settings 2026-09-06 14:00:45 +08:00
NanamiAdmin 13a670eadd style(config): add structured config paths for global and bot configurations 2026-09-06 10:19:28 +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 8589654ba4 feat(internal/controller/pipes/telegram): make basic telegram communication functional 2026-08-12 23:57:16 +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 56ed32ac0c feat(controller): add init message for bot pipes
chore: move softwareInfo from main package to a individual global package
2026-08-07 22:13:15 +08:00
NanamiAdmin d8a192e4e5 feat(build): add build scripts for Linux and Windows with commit hash and build time 2026-08-07 20:45:05 +08:00
NanamiAdmin 58b600baf6 feat(node/tracker): implement initial refresh gate and bootstrap completion logic 2026-08-07 18:03:16 +08:00
NanamiAdmin 1d09765a4a chore(qq_napcat): rewrite all napcat_bridge logic into this project to replace adapt into napcat_bridge 2026-08-05 17:07:29 +08:00
NanamiAdmin dc30675e0f style(controller): re-organize controller project structure: split controller and pipes 2026-08-05 14:27:22 +08:00
NanamiAdmin 6e93a9bd2f fix(internal\komari\ws): add websocket origin header to prevent 403; replace with json-rpc 2.0. 2026-08-05 14:12:16 +08:00
NanamiAdmin 19b69acc29 feat: finish project basic structure and core functions 2026-08-03 22:15:53 +08:00