The first beta was only a thin layer over the UX 3.5 sheets: it copied a few layout ideas but kept the old palette, the system font stack and the old component styling, so pages looked almost unchanged and the beta read as fragments of the design.
This ports the contributor's actual design system into web-nodejs/public/css/ux36/ and loads it last for the beta shell only:
- palette.css - his neutral dark scale (#141616...) and white-based light theme, rather than the GitHub blue-black we had.
- tokens.css, base.css, components.css, shell.css - his token set, IBM Plex Sans/Mono typography, component styles (.btn, .form-input, tables, menus, tags, notices) and shell layout, taken from web-nodejs/public/css/ui/ at d710bdb.
- pages.css - this console's page classes mapped onto his page rhythm: ruled rows instead of floating cards, stats as one ruled strip, Devices as a 210px folder rail beside the table, Settings as a ruled topic row, device details as a side sheet.
- legacy-bridge.css - his token names mapped onto the v2 names the remaining page sheets use, so no page mixes two type or spacing scales.
- shared-chrome.css - the switch and its BETA badge, needed in both shells.
The top bar and sidebar are their own partials now (ux36-topbar.ejs, ux36-sidebar.ejs) using his structure: logo column sized to the sidebar, breadcrumb from the section model, sections as <ul> lists with icons and group labels.
IBM Plex fonts ship with their SIL OFL licence. ux35-shell.js no longer writes the UX 3.5 palette inline while the beta shell is active, because those inline vars would beat palette.css on a theme toggle.
UX 3.5 is untouched: same sheets, same markup, same palette. Custom operator colours still win - the beta palette is scoped to data-ui-shell=ux36 and light/dark only.
Refs #493
Refs #495
Reported-by: @rathlinus
Based-on: @rathlinus UX redesign (Refs #493, #495)
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
The shell switch now sits with the theme / refresh / language controls, so the beta is one click away from every page. In UX 3.5 the button carries a small BETA badge and opens UX 3.6; in UX 3.6 the same button returns to UX 3.5, and the sidebar footer repeats it as a labelled 'Switch back to UX 3.5' entry.
Move the request logic to public/js/ui-shell.js because the toggle renders in both shells (ux36-shell.js now only owns beta-only layout behaviour). The Settings card stays as the descriptive entry point.
Attribution: README gains a Credits section naming Linus Rath (@rathlinus) as the designer of the redesign that UX 3.6 is modelled on, and the Settings card links the contributor profile plus issue #493 and PR #495 next to the existing credit line. CONTRIBUTOR-ATTRIBUTIONS.md and .cursor/rules/ux36-attribution.mdc already require the 'Based-on: @rathlinus UX redesign (Refs #493, #495)' trailer on every port commit.
Refs #493
Refs #495
Reported-by: @rathlinus
Based-on: @rathlinus UX redesign (Refs #493, #495)
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Adds an alternative console layout modelled on the community redesign by
@rathlinus and rebuilt on the existing EJS/JavaScript/CSS stack -- the
svelte-rewrite branch stays a design reference and is not merged.
What ships:
- lib/uiShell.js resolves the shell once (query, then cookie, then default)
so SSR markup, asset includes and window.BetterDesk.uiShell cannot
disagree. UX 3.5 remains the default and the fallback; unknown values
(including the removed `classic`) are ignored instead of erroring.
- routes/ui-shell.routes.js exposes GET/POST /api/ui-shell (auth + CSRF) and
persists the choice per browser in the bd_ui_shell cookie. No database
migration, no effect on other operators.
- lib/consoleNav.js groups the existing pages into Devices, Support, People,
Activity and Settings. Every entry keeps its route, RBAC permission and
panel-access section, so a role sees exactly the pages it could open
before; the grouping is presentation only.
- views/partials/ux36-sidebar.ejs renders that model with proper
aria-current/aria-expanded state and no duplicate navigation markup.
- public/css/ux36.css layers the new chrome on top of ux35.css without
forking the --ux35-* token contract, so branding, wallpapers, fonts and
light/dark/custom themes keep working in both shells.
- public/js/ux36-shell.js adds the one-open-group default, filter sync and
the Settings switch; ux35-shell.js keeps owning drawer, resize and theme.
- Settings -> General gains a "Console interface" card so operators can opt
in and out without a URL; ?ui=ux36 works as a support deep link.
- Settings deep links now accept ?tab=<topic> in addition to #topic.
- New nav.* and ux36.* keys in all 26 locales (real translations).
- Docs: CHANGELOG, UX wiki page, Web-Console wiki page, README, contributor
attributions, and .cursor/rules/ux36-attribution.mdc so future UX 3.6
commits keep the credit.
Tests: tests/ux36-shell.test.js, tests/ux36-pages.render.test.js and
tests/ux36-ui-shell.routes.test.js; ux35-ui-contract.test.js updated to
assert both shells. Full web-nodejs suite: 986 passed; the three failing
suites (users.routes, devices.routes, dashboardPairingUi) fail identically
on the untouched branch.
Refs #493
Refs #495
Reported-by: @rathlinus
Based-on: @rathlinus UX redesign (Refs #493, #495)
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Główne asked operators to scan a QR while the product moved to short-code pairing, so the dashboard button and the /?activateAgent=1 deep link opened the wrong flow.
- Client-config card button and the sidebar entry (nav.pair_agent) open a pairing-code dialog: server address prefilled from the resolved client address, optional label, code generation, 10-minute countdown, copy.
- Codes are minted via the existing POST /api/panel/pairing/codes behind enrollment.approve; plaintext shown once, never logged. No new endpoint.
- The QR scanner stays reachable from the dialog (Scan agent QR) and from /pairing; the scanner modal title now names itself instead of reusing the old Activate agent label.
- New keys nav.pair_agent, dashboard.pair_with_code, pairing.scan_qr_agent, pairing.generating in all 26 locales; agents.* step 3 / button / body no longer present QR as the primary path.
- Test: web-nodejs/tests/dashboardPairingUi.test.js renders the view and asserts the code dialog wiring and the deep-link target.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
README and wiki quick-start blocks still showed only the legacy split
layout (docker-compose.quick.yml), although install.sh has defaulted to
the single container (ghcr.io/unitronix/betterdesk) since 3.3.114.
That mismatch also skews GHCR pull counters: a split install pulls two
manifests, an all-in-one install pulls one, so the AIO image looks
weaker than it is.
- README.md, docs/wiki/Home.md, docs/wiki/Installation.md: AIO first,
split moved into a collapsible Legacy block with the 21114/21121 note
- docs/wiki/Panel-Updates.md: name both compose files
- CHANGELOG.md: [Unreleased] -> Changed entry
No code change; existing split deployments are unaffected.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Port guidance was contradictory, and none of it matched the code.
- `docs/architecture/PORT_SECURITY.md` documented an API on `127.0.0.1:21120` that was never
shipped (the real port is `21114`).
- `docs/wiki/Installation.md` told operators to expose the panel (`5000`) to WAN, which
`docs/setup/REVERSE_PROXY.md` explicitly forbids.
- `betterdesk.sh` wrote a `firewall-notes.txt` with `21121` but without `21114`.
- `betterdesk.ps1` opened `5000`, `5443`, `21115`, `21118` and `21119` unconditionally.
New `docs/CONNECTION_PORTS.md` is now the single source of truth: port table with exposure
and failure mode, four ready-to-apply profiles (minimal / reverse-proxy+TLS recommended /
WSS-only / Docker), client-field map, what pairing actually requires, a common-mistakes
table and verification commands.
- `PORT_SECURITY.md` is marked historical and points at the new document; the wiki now
refers to a profile instead of listing WAN ports.
- `betterdesk.sh` firewall notes include 21114 and separate WAN from localhost.
- `betterdesk.ps1` opens only the documented minimum (21116 TCP+UDP, 21117, Go API).
- `scripts/check-connection-ports.sh|.ps1` compare observed listeners with the chosen
profile and fail on WAN-exposed panel ports or a mis-bound Client API.
- `scripts/check-port-docs.js` fails CI when the cheat sheet and the port constants in
`constants.go` / `config.js` disagree, and when `21120` reappears as a live port.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Add toolbar Type Text (KeyEvent.seq) for Winlogon/passwords where clipboard paste fails, and harden dead-key/Shift desync so symbols like ^ inject correctly.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Allow authorized fresh enrollment to clear persisted and in-memory replay state only when the peer ID is missing. Preserve replay state for active and soft-deleted peers, and add regression coverage and operator documentation.
Refs #484
Reported-by: @ab-tools
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Re-enable build-aio-arm64 for tag=dev / version-bump on dev (#476).
Run native ARM jobs after amd64; soft-merge publishes available digests
if ARM fails. Share GHA cache scopes between split and AIO builds.
Refs #476
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Import signed BetterDesk-Client releases instead of compiling on the panel host; mark build toolchain optional; add Główne → Aktywuj agenta pairing entry and Download Hub i18n.
Refs #466
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Console proxy source IPs are Docker bridge addresses, not loopback; default PANEL_SIGNAL_PROXY_CIDRS on the Go server so browser remote is not denied as initiator_not_registered.
Refs #465
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Long panel installs were surfacing as generic Request failed when a reverse
proxy cut the HTTP call around ~120s while applyUpdate kept running. Poll
install-status after gateway disconnect, clarify 502/504 errors, pin
GOTOOLCHAIN=local, and report spawn kill/timeout signals for #464.
Refs #464
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Modernize Commercialization on packages/sessions IA: Settings Time tab with
BILLING_TIMEZONE, group-only packages, monthly period history with midnight
split, Web Remote report overlay, pending_report in Sessions, and package
preview as a centered modal. Includes panel form polish and desktop-client
API notes.
Refs #456
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Add configurable SSO-first login with local recovery paths and allow administrators to manage OIDC roles without losing manual overrides when no group mapping matches. Keep explicit OIDC group mappings authoritative and preserve LDAP provider-managed roles.
Refs #443
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Adds local verification and distribution of signed generic incoming-only agent releases, mobile-friendly QR activation, and the supporting generator interfaces. Includes the current staged console, documentation, localization, and builder changes.\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Resolve embedded artifacts from the validated manifest, expose only targets supported by the local toolchain, and keep per-target failures isolated. Update generator APIs, UI, documentation, and regression coverage.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Bind guest WebSocket sessions to a single target peer, enforce grant lifecycle and atomic usage, add the guest issuer scope, and document the password-less security boundary.\n\nRefs #440\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Prevent split server and console wrappers from calling file_exists_as_betterdesk before the bootstrap helper is loaded. Add contract coverage and improve #385 diagnostics for database-store and proxy/session failures.
Refs #385
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add idempotent loopback pg_hba.conf rules before the native PostgreSQL connection test. Cover the installer path with a mocked regression test, CI checks, and operator documentation for Rocky/RHEL systems.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Allow the split console to read and write the P2P, relay, NAT, and initiator policy through the Go server's shared database API. Apply validated changes atomically at runtime, keep native systemd and compose paths unchanged, and cover the flow with regression tests and Docker image checks.
Refs #432
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add an explicit RFC1918 and IPv6 ULA allowlist for on-premises OIDC providers while retaining SSRF protections for loopback, link-local, metadata, multicast, and unspecified destinations. Apply destination validation to discovery, token, UserInfo, redirects, and actual network dials.\n\nRefs #435\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add automatic mobile codec, FPS, touch, lifecycle, and relay diagnostics while preserving the HTTP H.264 fallback. Avoid opening file-transfer relays during the initial session and document the HTTPS/HTTP behavior.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Operators can switch a BetterDesk Desktop client between normal and incoming-only. The command is stored per device and delivered only inside the signed telemetry envelope.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Remove mobile screenshots that did not meet the quality bar from the README and Web Console documentation.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add English UX 3.5 visual previews to the README and Web Console documentation.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add allowlisted configuration management, permission diagnostics, safe service control, and repair workflows across native and Docker installers. Integrate panel capability checks with broker-backed writes and rollback, and document/test the lifecycle contract.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add ALLOW_LEGACY_OUTBOUND compatibility for stock RustDesk clients that do not register a local controller identity. Keep the path disabled by default, restrict it to open enrollment, force relay, and retain one-use relay ticket authorization.
Refs #427
Refs #358
Credit: @remoover via PR #358https://github.com/UNITRONIX/BetterDesk/pull/358
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Add opt-in OPERATOR_ONLY_OUTBOUND enforcement for PunchHole and RequestRelay, including live role checks, decision auditing, panel RBAC, settings, documentation, and regression tests.\n\nRefs #425\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Make split Compose services use one explicit primary SQLite database and forward admin credentials to both Go and Node.js. Remove Docker and installer CI dependencies on withdrawn agent source trees, and add regression coverage for Docker build contexts and bootstrap mappings.
Refs #385
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Make UX 3.5 the only default shell, fix appearance-profile duplication selection, and give authenticated Settings reads their own rate-limit budget so normal console use stops hitting 429s.
Refs #424
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Remove GitHub prebuilt server binary delivery from panel updates. Fetch only required source subtrees for the selected commit and compile the Go server locally while preserving existing deployment and rollback behavior.
Refs: panel update local build path
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Replace the monolithic README with a short landing page, align wiki
with current 3.5.x product facts, add PRIVACY.md, Monitoring and
Unattended/WoL guides, and park historical audits under docs/archive.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
hbbr translates BytesCodec frames and WS binary messages so panel Web Remote
(:21117) can pair with WebSocket Mode clients (:21119). Signal exemption alone
left sessions failing with tcp vs ws.
Refs #397
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)