Pulse/frontend-modern/src
rcourtman 7815b45483 Fix CSRF token validation failure in Settings diagnostics endpoints (related to #600)
The "Check Proxy Nodes" button in Settings > Diagnostics was returning
403 Forbidden due to missing CSRF token. The frontend was using native
fetch() instead of apiFetch() which automatically includes CSRF tokens
for POST requests.

Fixed three endpoints in Settings.tsx:
- /api/diagnostics (GET) - for consistency
- /api/diagnostics/temperature-proxy/register-nodes (POST) - reported issue
- /api/diagnostics/docker/prepare-token (POST) - same bug

Note: Export/import config endpoints intentionally continue using native
fetch() because they need custom 401/403 handling to show the API token
modal instead of redirecting to login.
2025-11-12 00:00:55 +00:00
..
api Add encryption status to notification health endpoint (P2) 2025-11-07 08:36:55 +00:00
components Fix CSRF token validation failure in Settings diagnostics endpoints (related to #600) 2025-11-12 00:00:55 +00:00
constants Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
hooks Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
pages Fix offline alert state not displaying in thresholds UI (related to #683) 2025-11-10 20:32:04 +00:00
stores fix: sparkline canvas wrapper display mode for flex layout 2025-11-09 22:35:32 +00:00
styles Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
test feat: enhance alerts system with tests and improved thresholds 2025-10-15 22:25:04 +00:00
types feat: Add mdadm RAID monitoring support for host agents 2025-11-09 16:36:33 +00:00
utils feat: add sparklines view mode for metrics visualization 2025-11-09 22:31:35 +00:00
App.tsx feat: add sparklines view mode for metrics visualization 2025-11-09 22:31:35 +00:00
constants.ts Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
index.css Allow layout to expand on wide displays (related to #643) 2025-11-06 21:51:17 +00:00
index.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
vite-env.d.ts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00