feat(hook): add AllowInsecure option for TLS verification
Some checks failed
CI / Test (1.23) (push) Failing after -20m40s
CI / Test (1.22) (push) Failing after -20m33s
CI / Build (push) Failing after -23m2s
CI / Lint (push) Failing after -22m34s

* Introduced AllowInsecure field in Hook configuration to skip TLS certificate verification.
* Updated database schema and models to support the new field.
* Modified HTTP client behavior based on AllowInsecure setting.
This commit is contained in:
Hein
2026-02-20 15:33:53 +02:00
parent 35a548e7e2
commit 3fb65e0285
8 changed files with 37 additions and 16 deletions

View File

@@ -34,6 +34,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
CREATE TABLE IF NOT EXISTS public.hooks (
active boolean NOT NULL DEFAULT true,
allow_insecure boolean NOT NULL DEFAULT false,
created_at timestamp NOT NULL DEFAULT now(),
deleted_at timestamp,
description text,