SaelixCode
c91c9ed7fd
refactor: pivot from ssh proxy to distributed api model
...
- Delete SSHFileAdapter, IFileAdapter, LocalFileAdapter (SSH/SFTP stack)
- Remove ssh2, ssh2-sftp-client dependencies; add http-proxy-middleware, http-proxy
- NodeRegistry: remote nodes no longer use Dockerode TCP; new getProxyTarget() returns {apiUrl, apiToken}
- NodeRegistry.testConnection: remote nodes use HTTP GET /api/auth/check instead of docker.info()
- DatabaseService: Node interface swaps SSH/TLS fields for api_url + api_token; legacy columns preserved for DB compat
- FileSystemService: reverted to clean local-only fs.promises; adapter pattern fully removed
- ComposeService: executeRemote() and SSH log streaming deleted; local-only execution remains
- index.ts: add /api/auth/generate-node-token endpoint (long-lived JWT, scope:node_proxy)
- index.ts: authMiddleware now accepts Bearer token in addition to cookie (Sencho-to-Sencho auth)
- index.ts: remote HTTP proxy middleware intercepts all /api/ requests for remote nodes, strips x-node-id, injects Authorization header, proxies to api_url
- index.ts: WS upgrade handler proxies WebSocket connections for remote nodes via http-proxy wsProxyServer
- NodeManager.tsx: form reduced to Name, API URL, API Token; Generate Node Token button added inline
- NodeContext.tsx: Node interface updated to api_url/api_token
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-19 12:20:32 -04:00
SaelixCode
2a37e114df
feat: implement remote tls/ssh security, isolate system stats, and polish ux
...
- NodeRegistry: wire TLS ca/cert/key into Dockerode when present on node config
- index.ts: /api/system/stats now branches on node type — remote nodes use docker.info() for CPU/RAM, local keeps systeminformation; disk gracefully returns null for remote
- index.ts: POST /api/nodes now persists tls_ca, tls_cert, tls_key fields
- FileSystemService: throw clean error on missing/empty compose_dir instead of crashing path.join
- FileSystemService: guard getStacks() against falsy item.name entries
- SSHFileAdapter: filter undefined/non-string names from SFTP readdir before returning
- NodeManager: add SSH Authentication Type toggle (Password vs Private Key)
- NodeManager: add Enable TLS toggle with conditional CA/cert/key textarea fields
- NodeManager: auto-test connection immediately after node creation
- NodeManager: replace "Strategy B" copy with Docker TCP setup instructions
- NodeManager: add pr-8 to header and DialogHeader to prevent overlap with parent dialog X button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-19 09:40:03 -04:00
SaelixCode
26b8f62968
fix: separate Docker API port from SSH port, add SSH credential UI, fix compose_dir routing
2026-03-18 21:04:43 -04:00
SaelixCode
f1f8e34da5
fix: harden telemetry parsing and null node fallbacks
2026-03-18 20:31:57 -04:00
SaelixCode
4bd80e29bf
fix: harden docker api validation, handle sftp errors, and fix node manager ui
2026-03-18 14:13:07 -04:00
SaelixCode
8c51198468
feat: Remote Nodes Wiring & SSH Adapters
2026-03-18 12:55:30 -04:00
SaelixCode
02e1ebe1b6
feat: Remote Nodes Foundation (Strategy B) - Add nodes table with auto-seeded default local node in DatabaseService - Create NodeRegistry service for multi-instance Docker daemon connections - Add 6 Node management API endpoints (CRUD + test connection) - Create NodeManager component with table UI and connection testing - Add NodeContext for frontend-wide active node state management - Add node switcher dropdown to sidebar (visible when >1 node) - Add Nodes tab to Settings Hub
2026-03-18 11:45:04 -04:00
SaelixCode
b7e6b5a21c
fix: replace naive log level detection with robust 3-tier regex classification engine
...
Eliminates massive false-positive error misclassifications caused by Docker
containers writing standard INFO logs to STDERR. The new hierarchy:
1. INFO/DEBUG/TRACE indicators (overrides STDERR default)
2. WARN/WARNING indicators
3. ERROR/FATAL/CRIT/CRITICAL/PANIC + Exception: indicators
Supports common log formats: level=info, [INFO], and bare INFO tokens.
Applied to both /api/logs/global and /api/logs/global/stream endpoints.
2026-03-10 14:50:51 -04:00
SaelixCode
448a64a10d
feat: implement enterprise sse global logs and developer mode
2026-03-09 14:02:10 -04:00
SaelixCode
b2674080c4
fix: implement smart auto-scroll and definitive stack filtering in global logs
2026-03-09 12:21:12 -04:00
SaelixCode
9af0f85749
fix: refine log level parsing and implement bottom auto-scroll
2026-03-06 23:07:17 -05:00
SaelixCode
8203dd6a14
fix: tty parsing, timezone mapping, and floating action bar for global logs
2026-03-06 22:52:36 -05:00
SaelixCode
29b10150b4
fix: remediate observability dashboard and global logs parsing
2026-03-06 22:24:42 -05:00
SaelixCode
a4a5365da1
feat: implement centralized logging and historical metrics dashboard
2026-03-06 21:05:23 -05:00
SaelixCode
b765403dcf
feat: implement real-time container log streaming via SSE
2026-03-06 15:41:06 -05:00
SaelixCode
b97952567d
feat: implement pre-deploy collision checks and universal two-stage teardown
2026-03-06 14:45:37 -05:00
SaelixCode
fb3a28834e
fix: implement two-stage teardown for reliable atomic rollbacks
2026-03-06 10:18:47 -05:00
SaelixCode
953049a45d
feat: implement smart error parser and post-deploy health probe
2026-03-05 19:59:35 -05:00
Anso
269d4f8d5c
Merge branch 'develop' into feature/app-store-fixes
2026-03-05 19:22:53 -05:00
SaelixCode
69408257d2
fix: implement atomic deployment rollbacks and custom scrollbar UI
2026-03-05 18:55:03 -05:00
SaelixCode
f2fbca17b7
feat: implement dynamic volumes, custom env vars, and timezone detection
2026-03-05 14:55:04 -05:00
SaelixCode
44acfd7d90
feat: polish app store ui and add advanced deployment configuration
2026-03-05 14:06:31 -05:00
SaelixCode
f9e8874f6c
feat: integrate official lsio api and rich template metadata
2026-03-05 12:37:59 -05:00
SaelixCode
536a714d9b
feat: add dynamic template registry and smart volume path sanitizer
2026-03-05 10:15:54 -05:00
Anso
a229af50f5
Merge branch 'develop' into feature/docker-automation
2026-03-04 16:20:05 -05:00
SaelixCode
649a571b11
ci: automate docker build and push via github actions
2026-03-04 15:10:32 -05:00
SaelixCode
1676dc22df
feat: implement app templates storefront and deployment engine
2026-03-04 14:26:07 -05:00
SaelixCode
3889d4914e
chore: initialize git flow, ci pipeline, and changelog
2026-03-04 13:06:29 -05:00