sqlinsight-pro/src
Søren Eggert Lundsteen Olsen f3551b1bf0 Support cases through the API: create, read and close
- POST/GET /api/v1/support-cases[/{id}] and POST .../{id}/close in
  SQLInsight Web, sharing the /support form's logic: same checks, finding
  prefill without sensitive evidence, Idempotency-Key as the request id,
  202 Accepted with Location, problem+json 403 without the support:write
  scope or a support license. RequestedBy is the Windows user or
  token:<name>.
- Closing: "Luk sag" on /support and the API record CloseRequested
  (migration 0012, column-level UPDATE for the read-only web login); the
  agent sends it to the hub with backoff and sets Closed when confirmed;
  a pending case is closed once it has a number; an older hub list never
  turns CloseRequested back to Open.
- Hub: POST /api/v1/cases/{reference}/close for the license's own cases
  (others 404), idempotent, ClosedBy/ClosedComment (EF migration
  CaseClosedBy). Portal closing records "SEOSoft: <user>"; the customer
  page shows who closed and why; the support report and CSV get "Lukket af".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 09:47:58 +02:00
..
SQLInsight.Agent Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Collectors Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
SQLInsight.Community Time window analysis: what happened between 03 and 04, as a page and PDF 2026-10-01 15:46:56 +02:00
SQLInsight.Connectivity Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
SQLInsight.Contracts Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Core Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
SQLInsight.Hub Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Licensing Ship SEOSoft's license key k20261001; agent defaults to the real hub 2026-10-01 07:15:47 +02:00
SQLInsight.Notifications Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
SQLInsight.Reports Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
SQLInsight.Repository Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
SQLInsight.Rules Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
SQLInsight.Updates MSI installer for Agent and Web 2026-09-29 11:31:28 +00:00
SQLInsight.Web Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00