feat(frontend): enhance webhook functionality and UI

- Updated incoming webhook API endpoint to use `/api/webhook/post/<name>` for better namespace management.
- Added a new WebHooks page in the admin UI for managing webhook endpoints.
- Introduced a ConfigSection component to streamline the rendering and saving of configuration fields.
- Enhanced Settings.vue to reference the new WebHooks page and updated the configuration structure.
- Implemented a new webhook API in the frontend to handle listing, adding, modifying, and removing webhook endpoints.
- Improved the sidebar to include a link to the WebHooks page.
- Added functionality to generate tokens for new webhook endpoints and manage notification channels.
This commit is contained in:
2026-09-24 15:02:52 +08:00
parent 3877c6d128
commit f36f17bd2a
7 changed files with 752 additions and 201 deletions
+6
View File
@@ -31,6 +31,12 @@ const routes = [
component: () => import('../views/Settings.vue'),
meta: { title: 'Settings' }
},
{
path: 'webhooks',
name: 'WebHooks',
component: () => import('../views/WebHooks.vue'),
meta: { title: 'WebHooks' }
},
{
path: 'logs',
name: 'Logs',