Files
worldmonitor/src-tauri
Nicolas Gomes Ferreira Dos Santos ba95f62477 fix(sidecar): add required params to ACLED API key validation probe (#804)
* fix(sidecar): add required params to ACLED API key validation probe

The validation endpoint was calling ACLED without event_type, event_date,
or event_date_where parameters. The production code in acled.ts always
passes these — ACLED may reject requests missing them, causing valid
tokens to fail validation.

Add Protests event type and a 7-day date range to match production usage.

Fixes #290.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(military): harden USNI fleet report ship name regex

The ship extraction regex only matched <em> and <i> tags. If USNI
changes HTML to use <strong>, <b>, <span>, or plain text, all ship
parsing silently fails.

Broaden the regex to handle any inline HTML tag or no tag at all.
Add console.warn when a strike group section yields zero ships to
aid debugging when HTML format changes.

Addresses #197 (L-12).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 00:58:24 +04:00
..
2026-03-02 16:17:17 +04:00