Global search (Ctrl+K, or "/" when no field has focus) searches pages,
devices and people from one dialog. Pages come from a server-built index
filtered by panel access and RBAC, so it never lists a page the role cannot
open; devices and people load only when the session may read them.
Long sidebar sections keep their daily pages and fold the rest into a
section-level "More" row with a count, remembered per browser. The menu
filter exists in the beta sidebar too, matches inside those rows and opens
them. Width, collapsed groups, "More" rows and scroll position are restored
before the first paint, so the menu never jumps.
The rest of the console keeps its markup and takes the same rhythm: one
content column, ruled sections instead of floating cards, stat numbers in
one ruled row, page tabs as a ruled row, hairline tables. Chat and Remote
stay full-bleed workspaces. Settings search now names another topic when
the typed words match one.
The shell scroll chain is fixed: the beta declared min-height only while
body.app-page clips overflow, so a long list (Devices) could not scroll and
the floating horizontal bar sat at the bottom of the list instead of the
screen. The content column is the single scrollport again, as in UX 3.5.
nav.more / nav.fewer / search.* / settings.ui.search_topic exist in all 26
locales; the icon subset gains more_horiz; tokens.css gains --radius-full.
Based-on: @rathlinus UX redesign (Refs #493, #495)
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
palette.css is now skipped when branding.themeMode is custom, so an operator who tuned their own colours keeps them in the beta shell. Light and dark still come from the contributor's scale.
Refs #493
Refs #495
Based-on: @rathlinus UX redesign (Refs #493, #495)
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
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)
Give users and groups none/read/write section access and client feature toggles, rebuild the users page matrix UI, and harden settings restart completion.
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)
applyUpdate() writes the root VERSION file only AFTER buildGoServer() runs, so
at build time the root VERSION still held the previous release. That value went
into `-X main.Version=`, producing a freshly compiled server that reported the
old version on /api/health while the panel showed the new one (e.g. panel
3.5.218, server 3.5.214).
betterdesk-server/internal/productversion/VERSION is the file `//go:embed`
actually ships in the binary, and ensureServerSource() already refreshes it as
part of the 287-file server tree sync that happens before the build. Read it
first via readEmbeddedServerVersion(), falling back to the previous logic when
absent or malformed.
Covers the ordering bug with tests that pin the stale-root-VERSION scenario.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
The integrity test required every routes/*.js module directly. Requiring a
route module starts its dependencies' timers (e.g. fileTransferService's
setInterval), which Jest reported as a leaked open handle and which made the
suite flaky in CI.
Scan routes/index.js for `lazyRoute('./x')` string paths instead: those are
invisible to a plain require() scan and are never loaded at boot, which is the
exact gap this guard exists to close.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
routes/pairing.routes.js shipped `require('../db')`. That module has never
existed in this repository, so the post-update integrity scan resolved it to
`db.js`, asked GitHub for `web-nodejs/db.js`, got a 404, and classified the
download as a CRITICAL failure. The updater then rolled back the entire console
update to the previous SHA - every panel that tried to install 3.5.215/3.5.216
stayed stranded below the new release.
Use `require('../services/database')`, the same import as every other route
module, and add tests/consoleRequireIntegrity.test.js: a static scan that fails
when any relative require() in the deployable console tree points at a missing
file, plus a smoke require of every lazily loaded routes/*.js. `node --check`
only parses and lazy routes are not loaded at boot, which is why no existing
gate caught this.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
The panel side of short-code pairing.
- New `/pairing` page (`views/pairing.ejs` + `public/js/pairing.js`) next to the existing
QR activation flow: mint a code with an optional label, see the countdown, copy it, and
revoke active codes. The plaintext code is shown once, because only its hash is stored.
- `routes/pairing.routes.js` proxies mint/list/revoke to Go behind `requireAuth` and
`enrollment.approve`; the client redeems directly against Go, so no code is ever handled
by the panel's public API.
- `wanSecurity.js` allows `/api/pairing/redeem` and `/api/pairing/config` on :21121 as POST
only. Minting and listing stay off the public client API: a GET could spend somebody
else's code via a link preview, and listing would expose code metadata.
- `betterdeskApi` gains `createPairingCode`, `listPairingCodes`, `revokePairingCode`.
- 28 new keys plus a `nav.pairing` entry in all 26 locale files. `scripts/check-pairing-i18n.js`
enforces parity and runs in CI.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Two user-visible gaps from the backlog:
- /api/portal/installers returned an empty array with no explanation when no
Support Agent release had been imported, so the public page looked broken
(#439, #475). It now reports no_release_imported, release_cache_incomplete or
cache_unreadable, and the page renders a specific sentence for each. Covered
by tests/portalInstallers.test.js. No new public surface is added.
- scripts/install-build-toolchain.sh fetched ${url}.sha256, a path Flutter does
not publish, so the optional toolchain install always failed at the checksum
step (#466). The hash is now resolved from Flutter's releases_linux.json and
a missing hash aborts instead of skipping verification; FLUTTER_ARCHIVE_SHA256
overrides it. Verified against the live manifest for 3.24.5.
Also adds the drive-root regression for Web Remote parent navigation (#467).
Refs #439, #466, #467, #475
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Add SESSION_MAX_PER_USER to control how many concurrent panel sessions an
account may hold. A new login ends only the least recently active sessions
beyond the limit.
- 1 (default): unchanged single-session behaviour
- N: keep the N most recently active sessions
- 0: unlimited
The Docker compose files now pass SESSION_IDLE_TIMEOUT, SESSION_MAX_AGE,
SESSION_IDLE_WARN_MS and SESSION_MAX_PER_USER through to the container;
previously the session policy could not be changed in Docker deployments.
The security-audit hardening checklist reports the configured limit.
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)
Upgrade the patched redirect, password hashing, and template dependencies. Add security version floors and document the clean production dependency audit.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Stop rebuilding the same AV1 decoder after the software retry also fails. Request the negotiated VP9/H.264 fallback instead.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Drop scrollport top/side padding on Settings so sticky tabs can sit flush
under the topbar (Chromium cannot stick into padding). Move spacing onto
page-header and settings main; hide track scrollbars; keep overflow-y
hidden so the strip does not grow a vertical scrollbar.
Refs #396
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Restore UX 3.5 Settings tab bleed on phone/tablet so sticky tabs sit flush
under the topbar; keep a thin horizontal scrollbar for overflow tabs.
Fix mobile “Zdalny” linking to /remote (was /remote-dashboard 404) with a
legacy redirect. Regenerate Material Symbols to include label/assignment/
my_location so Devices toolbar icons no longer show as giant ligature text.
Refs #396
Refs #393
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Hide the billing pane reliably after Skip/Submit, add the missing panel
billing/check route for the package badge, quiet connect-password 404s,
blend report styling with the disconnect card, and localize report strings.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Import latest release failed with generic_agent_release_redirect_host_invalid
because browser_download_url redirects to release-assets.githubusercontent.com,
which was missing from the SSRF allowlist (already allowed in the module installer).
Refs #475
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Exempt POST /api/settings/restore from JSON Content-Type middleware so FormData uploads reach multer. Use resolvePathUnderRoot for special/mesh_agent_server.pem in pre-update backup create/restore.
Refs #473
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Add scoped tag rename/delete APIs and Devices UI (Manage tags modal, context menu, edit/detail hints) so operators can retire or rename tags without editing every peer.
Refs #470
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Align the Node panel with Go role_permissions, protect user-directory paths and relays, and add regression coverage. Make the embedded worker test explicitly select its optional maintainer mode.
Refs #468
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
browseParent sent bare C: instead of C:\, so Win32 listed the process cwd. Use drive-root-aware parentRemotePath; clear stale remote rows while loading.
Refs #467
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)
Store OIDC discovery retry interval atomically and Close() background
goroutines so TestDiscoveryRetryAfterFailure is race-free. Bump toolchain
to go1.26.9 and golang.org/x/text to v0.41.0 (govulncheck clean). Confine
multer unlink paths; harden guest session ID entropy; stop interpolating
device IDs into console format strings; expand CodeQL query filters for
validated/admin-only paths.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Make guard-sqlite-auth-split self-contained via _guard_file_exists so
orphan auth.db detection works when the script is sourced alone (unit
tests) while still preferring file_exists_as_betterdesk under entrypoints.
Align bootstrap credential tests with #385 (generate/export shared
password; publish ADMIN_PASSWORD to .admin_credentials).
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Move personal TOTP management into Authentication, fix locale metadata, and add validated scheduled full-instance backups with local and mounted network destinations.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Restore the original vertical Settings navigation bleed above the mobile-shell breakpoint and add a desktop contract regression check.\n\nRefs #396\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
Normalize empty Address Book responses for RustDesk 1.5.0, use the live WSS correlation address for relay advertisements, and add OIDC/proxy and login UI regression coverage.\n\nRefs #449, #415, #443, #396\n\nThanks: 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)
Document the #437 startup regression fix and assert that all Docker entrypoints load shared helpers before path checks or the SQLite guard.
Refs #437
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Expose split-Docker mode before saving NTP settings so the console skips the native restart confirmation and reports hot-reload success. Preserve the native restart flow, add route/UI regression coverage, and localize the new success message across all console locales.
Refs #431
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Keep pending managed devices attached to their live signal transport while still blocking sessions until operator approval. Add signal readiness reporting, immediate device-list refresh, and regression coverage for issue #442.
Refs #442
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Build local Linux clients once and package them as portable archives, Debian packages, RPMs, or Arch packages when the host toolchain supports the format. Keep artifact manifests and validation format-aware.
Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
Delegate generation staging and promotion through the legacy database facade so embedded local builds can promote completed artifacts. Extend facade parity coverage to prevent the regression.
Thanks: 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)