Pulse/internal/api
Pulse Monitor b49fe83d21 feat: add iframe embedding support for dashboard integration
Addresses #222 - Allow Pulse to be embedded in iframes (e.g., Homepage dashboard)

- Add AllowEmbedding and AllowedEmbedOrigins settings to SystemSettings
- Update security headers to respect embedding configuration
  - When disabled: X-Frame-Options: DENY, frame-ancestors 'none'
  - When enabled (same-origin): X-Frame-Options: SAMEORIGIN, frame-ancestors 'self'
  - When enabled with origins: Adds specified origins to frame-ancestors
- Add UI controls in Settings → System → Network Settings
- Properly handle CSP frame-ancestors directive for cross-origin embedding

Users can now enable iframe embedding and specify allowed origins for embedding Pulse in Homepage or other dashboard applications.
2025-08-24 14:59:58 +00:00
..
alerts.go fix: reorder alert routes to handle bulk operations correctly 2025-08-23 16:56:02 +00:00
auth.go feat: add real-time theme synchronization across all connected clients 2025-08-22 14:30:19 +00:00
config_handlers.go fix: auto-registration now works with secured Pulse instances 2025-08-23 22:47:30 +00:00
diagnostics.go improve: comprehensive type safety improvements across codebase 2025-08-19 21:32:44 +00:00
frontend_embed.go fix: prevent 301 redirect to relative path (./) when accessing root without trailing slash (addresses #334) 2025-08-19 18:56:18 +00:00
guest_metadata.go fix: reload guest metadata after import 2025-08-14 09:51:40 +00:00
middleware.go fix: prevent 301 redirect to relative path (./) when accessing root without trailing slash (addresses #334) 2025-08-19 18:56:18 +00:00
notifications.go fix: properly report HTTP errors in webhook tests 2025-08-23 07:33:14 +00:00
ratelimit.go feat: add comprehensive security system for API protection 2025-08-06 21:39:52 +00:00
router.go feat: add iframe embedding support for dashboard integration 2025-08-24 14:59:58 +00:00
security.go feat: add iframe embedding support for dashboard integration 2025-08-24 14:59:58 +00:00
security_setup_fix.go fix: restore API token functionality when auth is disabled 2025-08-21 12:26:08 +00:00
settings.go fix: ensure consistent CPU core display for all guests 2025-08-09 15:03:28 +00:00
system_settings.go feat: add iframe embedding support for dashboard integration 2025-08-24 14:59:58 +00:00
types.go improve: comprehensive type safety improvements across codebase 2025-08-19 21:32:44 +00:00
updates.go fix: complete update system improvements 2025-08-07 11:43:40 +00:00