28 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
029142f944 chore: update dependencies and refactor settings management 2026-03-14 21:11:59 +08:00
0xJacky
ccedb94880 chore: clean up codes 2025-10-03 14:33:07 +08:00
0xJacky
6567d929eb feat(nginx_log): add index_path configuration for custom index storage 2025-10-01 18:55:44 +08:00
0xJacky
b8cfd93b60 fix: logging middleware context 2025-09-11 22:50:19 +08:00
0xJacky
1626c6117b perf: optimize indexer config for multi-core systems 2025-09-08 09:36:07 +08:00
0xJacky
29ff77a87f fix: websocket readPump context handling 2025-09-06 19:14:11 +08:00
0xJacky
9aa5a260b6 feat(nginx_log): add advanced indexing settings 2025-08-31 15:11:14 +08:00
0xJacky
8d15d1fcab enhance(nginx_log): indexing status management 2025-08-31 08:25:51 +08:00
0xJacky
b34fa8eeaf enhance(nginx_log): indexing logic, UI feedback for log availability 2025-08-29 23:55:12 +08:00
0xJacky
869012a340 feat(nginx_log): implement log group index deletion and add TabFilter component for log type selection 2025-08-29 16:26:23 +08:00
0xJacky
4b26a559ed enhance: gracefully restart, logging, nginx_log analytics 2025-08-29 15:04:35 +08:00
0xJacky
03fbd9be4c perf: introduced cache for user, site_config, node 2025-08-25 18:50:44 +08:00
0xJacky
fc968a3b39 refactor(nginx-log): optimized parser, indexer, searcher and analyzer 2025-08-25 16:21:29 +08:00
0xJacky
13ee167e23 refactor(nginx-log): change time fields to Unix timestamps 2025-08-21 17:34:41 +08:00
0xJacky
fa18186d68 feat(nginx_log): add geo map 2025-08-20 10:23:56 +08:00
0xJacky
0ff4a6e4ed refactor: nginx log with indexer parse and search 2025-08-19 23:01:12 +08:00
0xJacky
b69fe050f7 fix(websocket): replace websocket error handling with helper function 2025-08-06 11:47:37 +08:00
0xJacky
bc4cab54fa fix(nginx_log): use path instead of log_path 2025-07-28 18:41:16 +08:00
Jacky
28cc1dad64 refactor(event): use WebSocket event bus instead of SSE #1197 2025-07-03 17:19:29 +08:00
Jacky
55d54766f8 refactor: auto-cert handling logic #1095, #1104 2025-06-05 19:09:31 +08:00
Jacky
e8f1321e0c enhance: translations 2025-04-24 22:47:27 +08:00
Jacky
269397e114 refactor: cache index 2025-04-04 02:00:18 +00:00
Jacky
7a9b7d552d refactor: improve variable naming in nginx log filtering functions and enhance error message clarity 2025-04-02 11:13:10 +00:00
Jacky
56f4e5b87f enhance: nginx log 2025-04-02 19:02:38 +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
650196d06a enhance(wip): error handle 2025-01-24 16:41:35 +08:00