7 Commits

Author SHA1 Message Date
UNITRONIX 59b3f93d46 fix(oidc): proxy panel callback so RustDesk SSO leaves Waiting (#304)
Panel Redirect URLs on :5000/:5443 used to 404, so auth-query never completed. Proxy the callback to Go, validate the path in Settings, and document the fix.
2026-07-25 08:43:16 +02:00
UNITRONIX 088109612d fix(oidc): resolve IdP authorize URL server-side (#298)
Stop browser-redirecting SSO to internal BETTERDESK_API_URL (localhost).
2026-07-22 17:58:27 +02:00
UNITRONIX d0dd8e951a fix(auth): implement missing exchangeOIDCCode for OIDC SSO login (#225)
The OIDC session callback called a Go API client method that was never
wired up, causing TypeError on every SSO login after IdP redirect.
2026-06-26 06:45:55 +02:00
UNITRONIX 8555841548 fix(auth): sync console 2FA for client login
Refs #203
2026-06-17 20:18:30 +02:00
UNITRONIX 50d1942f8c fix(auth): show username collision when LDAP matches local account (#148)
Add Go LDAP verify endpoint and probe it from the console when a local
user's password fails, so valid domain credentials return HTTP 409 with a
clear collision message instead of a misleading password mismatch. Includes
i18n for auth.username_collision across all console locales.
2026-06-07 00:32:03 +02:00
UNITRONIX 1ce11348b3 chore: update dependencies, fix tests and compilation errors
Go server:
- Update pgx v5.8.0->v5.9.1, crypto v0.48->v0.49, sqlite v1.46.1->v1.48.1
- Update libc, sys, sync, text, isatty, exp to latest minor/patch
- govulncheck: 0 vulnerabilities
- Fix stale TestRelayPairing test (removed RelayResponse expectation that
  conflicts with E2E encryption handshake design)

Node.js console:
- Apply minor/patch dependency updates via npm update
- npm audit: 0 vulnerabilities
- Fix auth.routes.test.js: add missing recordAttempt mock to authService
- All 61 tests passing across 10 test suites

Rust agent-client:
- Fix 5 async Tauri commands: scope MutexGuard in blocks to prevent
  !Send future errors with tauri 2.10.x (reconnect_agent, send_diagnostics,
  register_device, request_help, cancel_help_request, send_chat_message)
- Add missing icons/ directory (required by tauri-build for Windows resources)
- cargo check: 0 errors, 2 dead_code warnings

Rust MGMT client:
- cargo check: 0 errors
2026-04-09 10:55:52 +02:00
UNITRONIX d39110b2ae Add tests, i18n updates, chat & remote fixes
Add unit tests and test helpers (5 suites, 41 tests) and test npm scripts; introduce deviceStatusPush service and WS real-time device status push integration. Fix chatRelay to acknowledge connections (send `welcome`), and apply multiple web remote/rdclient fixes (video ack/timing, keyframe refresh, SourceBuffer trimming, input focus handling) to improve FPS and control. Add new server route file (system.routes.js), new device-status service, update server.js and package.json, and modify various frontend CSS/JS/views. Update English and Polish locale files with many new widget/i18n keys and remove the Russian locale file (ru.json). Also include assorted UI/desktop-widget dashboard tweaks and documentation status updates in .github/copilot-instructions.md.
2026-03-27 00:34:12 +01:00