Commit Graph

5 Commits

Author SHA1 Message Date
0xJacky
9f1b9bbbba refactor(ws): implement SafeWebSocketWriter for serialized access
- Introduced SafeWebSocketWriter to ensure thread-safe writes to WebSocket connections.
- Updated WebSocket handling in certificate issuance, revocation, Nginx log tailing, and system upgrades to use the new writer.
- Enhanced WebSocket client management in the site navigation module for improved message handling and connection stability.
2026-04-04 02:01:20 +00:00
0xJacky
413dc631ee feat: add WebSocketTrustedOrigins configuration and implement origin validation for WebSocket connections
- Introduced `WebSocketTrustedOrigins` setting in `app.example.ini` and corresponding documentation.
- Refactored WebSocket origin checks across multiple API endpoints to utilize the new middleware for improved security.
- Added tests for the new origin validation logic to ensure proper handling of trusted origins and node secret requests.
2026-03-14 23:37:10 +08:00
0xJacky
cfb6cae78a refactor: add config to disable site health check #1427, #1415, #1413 2025-11-09 09:41:33 +00:00
0xJacky
03fbd9be4c perf: introduced cache for user, site_config, node 2025-08-25 18:50:44 +08:00
0xJacky
e2b66fd8dd feat(dashboard): add sites navigation #1054 2025-08-14 11:04:49 +08:00