Commit Graph

13 Commits

Author SHA1 Message Date
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
261c76686e refactor: rename env to node, env group to namespace 2025-08-13 10:50:37 +08:00
0xJacky
39ebb729a6 enhance(cache): handle symlinks in file event handler 2025-07-27 10:30:58 +08:00
Jacky
fc507ccd3b fix: implement context handling in analytic and processing functions for graceful shutdown 2025-05-05 02:46:18 +00:00
Jacky
789698a0d4 refactor(analytic): improved network stat #913 2025-03-15 09:10:37 +08:00
Jacky
cb4977e5ab refactor: nodes analytics (#847)
* refactor: nodes analytics

* feat(debug): add pprof in debug mode

* refactor: websocket error handler
2025-02-05 18:19:17 +08:00
Jacky
2142f2e1cc enhance: server and nodes analytics 2024-11-04 10:44:27 +08:00
Jacky
ea146ca37b chore(go): update deps 2024-10-24 18:58:06 +08:00
Jacky
c5f5038d35 style(go): sort imports 2024-10-24 18:22:45 +08:00
Jacky
33a996e777 refactor: migrate to new cosy 2024-10-22 16:38:38 +08:00
Jacky
ff1399e044 enhance: handle websocket error 2024-07-20 18:35:06 +08:00
0xJacky
ab1adcfa3d fix: resolved all vue-tsc errors 2023-11-29 22:04:30 +08:00
0xJacky
50b4fbcda4 refactor: structure of api-router directory 2023-11-27 23:53:23 +08:00