Commit Graph
13 Commits
Author SHA1 Message Date
NanamiAdmin 057d7d584d feat: add incoming webhook API support with configurable endpoints
- 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 4eb9abff49 feat: add /api/settings/get, /api/settings/set to modify config in frontend 2026-09-08 22:13:30 +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 6a0c2d1fc4 feat(controller): add per-node notify switch controller 2026-09-06 10:48:38 +08:00
NanamiAdmin 5bc85effa7 feat(komari): add bot_node_config.json to restore single node configurarion 2026-09-06 10:33:58 +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 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 8cd7cfd6e7 feat(controller): add help command with message template for bot commands 2026-08-07 22:39:57 +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 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 814fbe0dae fix(database): fix sqlite init error in smb workspace
fix(postLog/database): change journal mode from WAL to DELETE
2026-08-05 13:31:25 +08:00
NanamiAdmin 19b69acc29 feat: finish project basic structure and core functions 2026-08-03 22:15:53 +08:00