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
d895c4a336
enhance(ws): improve session security
2026-04-04 09:48:18 +08: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
18538df8cb
chore: update deps
2026-01-29 23:45:15 +08:00
0xJacky
f44c44ccdf
fix(kernel): stop parent's program when restart
2025-08-21 10:11:13 +08:00
Jacky
28cc1dad64
refactor(event): use WebSocket event bus instead of SSE #1197
2025-07-03 17:19:29 +08:00
Jacky
08b497acd1
feat(user): add default user initialization
2025-07-02 19:51:22 +08:00
Jacky
606ecbabef
feat(SelfCheck): add timeout check endpoint and integrate it into the SelfCheck component
2025-06-24 10:52:34 +00:00
Jacky
beccf9db85
feat: add port scanning #904
2025-05-25 23:56:27 +00:00
Jacky
536aa545e1
feat: auto backup #999
2025-05-25 21:38:30 +08:00
Jacky
0d3f24ca48
fix(install): sse check #1069 , #1070
2025-05-23 21:51:27 +08:00
Jacky
b69ad085c7
fix: reverse proxy for sse
2025-05-16 17:49:38 +08:00
Jacky
5b0cbf98e1
feat: add env for ignore docker socket check #1024
2025-05-09 16:18:00 +08:00
Hintay
6b40d02b93
feat: add pidfile parameter to support OpenRC
2025-05-08 23:09:54 +09:00
Jacky
40e8d6c40a
enhance: db init
2025-05-06 22:45:04 +08:00
Jacky
32fdc627bc
fix: bug fix
2025-05-05 13:17:30 +00:00
Jacky
fc507ccd3b
fix: implement context handling in analytic and processing functions for graceful shutdown
2025-05-05 02:46:18 +00:00
Jacky
0162e10c53
fix: pass context to cert and cache
2025-05-05 01:36:39 +00:00
Jacky
1a2758ac5b
refactor: handling context in goroutines
2025-05-04 13:36:54 +00:00
Jacky
0506098647
fix(self-check): ws 403 if not install
2025-05-04 01:12:42 +00:00
Jacky
9ee84dd138
refactor: system processsing status pub/sub
2025-04-27 17:28:38 +08:00
Jacky
455c9497b7
feat(install): self check before install
2025-04-23 10:41:13 +08:00
Jacky
7dfb6e86e6
feat(self-check): add Docker socket existence check
2025-04-22 14:14:23 +00:00
Jacky
d0cf93d5e3
refactor: replace upgrader with version package for runtime and release information
2025-04-21 08:06:27 +00:00
Jacky
0ca9d84d10
feat: enhance restore functionality with nginx restart and countdown dialog
2025-03-30 14:02:53 +00:00
Jacky
4c2487580e
feat: update restore process with countdown modal and improved symlink handling
2025-03-30 01:52:03 +00:00
Jacky
000e28942a
feat(install): restore from backup
2025-03-30 00:18:37 +00:00
Jacky
8860f71bc7
feat: implement encrypted form handling and refactor backup restore logic
2025-03-29 22:37:53 +08:00
Jacky
b469ca7961
refactor: replace api error handler with cosy err handler
2025-03-29 20:33:48 +08:00
Jacky
4cb4695e7b
feat: backup and restore
2025-03-29 19:52:50 +08:00
Jacky
dcc3b8e83e
chore: prepare v2.0.0-rc.2
2025-02-11 10:02:36 +08:00
Jacky
20531971cf
feat: encrypt login and install request #852
2025-02-07 21:10:11 +08:00
Hintay
8a7ed08619
Merge branch 'dev' into feat/cli
2025-02-04 22:54:51 +09:00
Jacky
7e37664c64
fix(self-check): websocket check invaild in remote mode
2025-02-04 17:55:13 +08:00
Hintay
f9802e6b2b
feat: change version API to generated version
2025-02-04 01:38:15 +09:00
Jacky
132e05c35c
feat(self-check): check websocket
2025-01-23 10:00:33 +08:00
Jacky
ded74bbe0a
feat(wip): self check
2025-01-22 16:21:33 +08:00
Jacky
bc70567dc1
feat(wip): node selector supports sse
2024-11-16 10:58:02 +08:00
Jacky
c8c0446308
chore: prepare v2.0.0-beta.37
2024-10-26 17:20:45 +08:00
Jacky
80cb8e1151
docs: update docs regarding to settings v2
2024-10-22 23:56:56 +08:00
Jacky
33a996e777
refactor: migrate to new cosy
2024-10-22 16:38:38 +08:00
Jacky
bdfbbd0e8f
feat: login via passkey
2024-09-15 20:32:03 +08:00
Jacky
e72e8cef57
enhance(upgrader): restart main proc manually and gracefully
2024-07-27 10:59:32 +08:00
Jacky
f5a0a9ed50
enhance(upgrader): gracefully replace the old exe with the new exe
2024-07-21 23:16:28 +08:00
Jacky
7ef4fec896
fix: cannot ota upgrade when connect to remote node #424
2024-07-21 18:21:27 +08:00
Jacky
cff843b82b
feat: add login failed ban ip list
2024-07-21 15:35:23 +08:00
Jacky
ccb04c07d8
enhance: handle websocket error
2024-07-21 10:43:24 +08:00
Jacky
1e9de6f21b
feat: customize local environment name #313
2024-05-07 11:22:44 +08:00
Jacky
4c74bc8619
feat: use env to predefine admin user #214
2024-05-06 23:50:32 +08:00