umami/src/components/hooks
Arthur Sepiol 5874cf80f5 Add authentication, Redis pub/sub, and error handling to SSE
Improvements:
- Add Redis pub/sub support for multi-server deployments
- Add authentication check to SSE stream endpoint
- Add 30s heartbeat keepalive for long-lived connections
- Implement exponential backoff reconnection logic in client
- Fix TypeScript types (websiteId optional, timer types)
- Use specific query key invalidation instead of broad match
- Fix undefined access in session-events listener map
2025-12-10 16:06:18 +03:00
..
context Reformatted files with biome. 2025-11-22 22:42:42 -08:00
queries Fixed nav menus. 2025-11-28 00:33:53 -08:00
index.ts Add real-time session updates via Server-Sent Events 2025-12-10 16:02:44 +03:00
useApi.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useConfig.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useCountryNames.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useDateParameters.ts fix chart and timezone issues, pass consistent dates to DB. 2025-11-13 15:52:24 -08:00
useDateRange.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useDocumentClick.ts Refactor: removed default exports. 2025-02-13 22:53:25 -08:00
useEscapeKey.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useFields.ts Responsive everything. 2025-10-16 02:42:13 -07:00
useFilterParameters.ts Updated segment handling. 2025-07-31 02:33:35 -07:00
useFilters.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useForceUpdate.ts Refactor: removed default exports. 2025-02-13 22:53:25 -08:00
useFormat.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useGlobalState.ts Refactored icons. 2025-05-27 00:50:28 -07:00
useLanguageNames.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useLocale.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useMessages.ts Fixed nav menus. 2025-11-28 00:33:53 -08:00
useMobile.ts add improved truncation between tablets and phones 2025-10-27 13:54:15 -07:00
useModified.ts Refactor: removed default exports. 2025-02-13 22:53:25 -08:00
useNavigation.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
usePagedQuery.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
usePageParameters.ts Pixel/links development. New validations folder. More refactoring. 2025-08-14 23:48:11 -07:00
useRegionNames.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useSessionStream.ts Add authentication, Redis pub/sub, and error handling to SSE 2025-12-10 16:06:18 +03:00
useSlug.ts Pixel/link metrics pages. 2025-08-21 01:33:20 -07:00
useSticky.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00
useTimezone.ts Reformatted files with biome. 2025-11-22 22:42:42 -08:00