Feature: Receptor de webhooks interno para debug
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m3s

- Endpoint POST /api/debug/webhook-receiver para recibir webhooks
- Almacenamiento en memoria de ultimos 100 eventos
- Endpoint GET/DELETE para consultar/limpiar eventos
- Nueva tab Webhooks en seccion Debug con polling cada 5s
This commit is contained in:
2025-12-02 21:14:39 -06:00
parent 371b5676fb
commit 71593b25e9
6 changed files with 298 additions and 1 deletions

View File

@@ -33,8 +33,11 @@
</div>
<!-- Tabs -->
<div v-if="selectedInstance" class="instance-card">
<div class="instance-card">
<UTabs :items="tabs" class="w-full">
<template #webhooks>
<DebugWebhookReceiverSection />
</template>
<template #blocklist>
<DebugBlocklistSection
:instance-id="selectedInstance?.value"
@@ -121,6 +124,7 @@ watch(instanceOptions, (opts) => {
}, { immediate: true })
const tabs = [
{ label: 'Webhooks', slot: 'webhooks', icon: 'i-lucide-webhook' },
{ label: 'Blocklist', slot: 'blocklist', icon: 'i-lucide-ban' },
{ label: 'Privacy', slot: 'privacy', icon: 'i-lucide-shield' },
{ label: 'Groups', slot: 'groups', icon: 'i-lucide-users' },