Commit Graph

1234 Commits

Author SHA1 Message Date
github-actions[bot] 00aec711cd chore: bump version to 3.5.279 [version-bump] 2026-11-23 18:57:13 +00:00
UNITRONIX b9f721ca7c feat(rdclient): centered multi-monitor thumbnail picker
Add RustDesk multi-capture overview with live aspect-correct tiles, focus selection, mosaic All monitors, and a + tile for virtual displays. Ships via panel update.

Thanks: INSOLVE (Honorary); betterde.sk (@trybetterdesk); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-23 19:56:53 +01:00
github-actions[bot] 6cf49567fa chore: bump version to 3.5.278 [version-bump] 2026-11-23 10:31:24 +00:00
Knienartowicz 61729eed9d fix(update): generate a missing PANEL_TRUST_SECRET on install and update
The panel trust bridge is off unless `PANEL_TRUST_SECRET` has a value, and
the template shipped it blank. The updater appends missing keys from the
template, so an install that predates the bridge ended up with
`PANEL_TRUST_SECRET=` and the console could not sign panel statements.
The Agents page then reported that address-book names were unavailable
because the console could not securely reach the Go address-book service.

`mergeEnvFile` now fills empty auto-generated secrets after merging, and
`buildEnvSubstitutions` resolves the template placeholder so fresh installs
get a real key. A non-empty value is never overwritten, and the key is
listed in PROTECTED_KEYS so a later overwrite cannot happen. Co-located
console and Go need nothing else: loopback is always allowed by
`panelTrustPeerAllowed`. Only split deployments need
`PANEL_TRUST_ALLOWED_HOSTS`, which the template now says explicitly instead
of implying it is required everywhere.

Ships via panel update (Settings -> Updates). Verify: on an install whose
`.env` has a blank `PANEL_TRUST_SECRET`, run an update and confirm the key
has a 64-character value and the Go log shows
`[panel-trust] enabled for panel-originated requests`.

Thanks: INSOLVE (Honorary); betterde.sk (@trybetterdesk, Bronze); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-23 11:30:54 +01:00
github-actions[bot] bc0a85002a chore: bump version to 3.5.277 [version-bump] 2026-11-22 21:43:40 +00:00
github-actions[bot] 0626c42641 chore: bump version to 3.5.276 [version-bump] 2026-11-22 21:38:56 +00:00
github-actions[bot] db56ac0bf6 chore: bump version to 3.5.275 [version-bump] 2026-11-22 21:23:28 +00:00
github-actions[bot] 06002005b7 chore: bump version to 3.5.274 [version-bump] (#525)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-22 22:20:30 +01:00
UNITRONIX 86a76f9720 fix(ui): include apartment icon in Material Symbols subset
Help panel Bronze cards use the apartment ligature; regenerate the
self-hosted font subset so CI does not fail the glyph coverage guard.

Thanks: INSOLVE (Honorary); betterde.sk (@trybetterdesk) (Bronze); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 22:09:39 +01:00
UNITRONIX 4031362fd6 docs(sponsors): add betterde.sk as Bronze Sponsor
Acknowledge first GitHub Sponsors Bronze tier (50 USD/month) in SPONSORS.md,
README, and the console Help panel with a dedicated bronze section.

Thanks: INSOLVE (Honorary); betterde.sk (@trybetterdesk) (Bronze); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 22:07:18 +01:00
UNITRONIX 5b9794d0f2 fix(ui): restore Material icons in device edit tags
Narrow .device-info-item mono font to direct-child spans so nested
.material-icons keep ligatures (add/close) in the tags editor.

Refs #521
Reported-by: @gerardolupo-cpu

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 21:27:08 +01:00
github-actions[bot] a9c5ec9f3e chore: bump version to 3.5.273 [version-bump] 2026-11-22 18:40:50 +00:00
UNITRONIX 786b9de0ca fix(ui): clean dashboard chrome and harden update checks
Remove decorative borders from dashboard/pairing cards, keep activity
dividers, fix RdClient platform icons and the c-is-not-defined crash,
move the sidebar menu filter outside the scrollport, and retry GitHub
API timeouts during panel update checks.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 19:40:31 +01:00
github-actions[bot] 48f4ef180b chore: bump version to 3.5.272 [version-bump] 2026-11-22 01:40:50 +00:00
UNITRONIX 96845d377e feat(rdclient): UX36 shell and harden device-scope auth
Restyle RdClient login/dashboard to UX36 (branding, language menu, toolbar, OS marks), hide banned peers from the address book, and enforce folder/group scope on remote pages, Mesh routes, sessions, and peer-bound WebSocket upgrades.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 02:40:27 +01:00
github-actions[bot] cad214677e chore: bump version to 3.5.271 [version-bump] 2026-11-22 00:41:52 +00:00
UNITRONIX 677a1b0118 fix(panel): close trust fallback and improve agent recovery
Prevent panel-trust requests from falling through to the bridge API key, which could associate address-book writes with the wrong operator. Add a device identity reset path for reinstalled clients and clarify generic versus preconfigured agent distribution.

Refs #510

Refs #520

Refs #517

Reported-by: @PeterLinuxOSS

Reported-by: @mh254

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-22 01:41:28 +01:00
github-actions[bot] 16537a17da chore: bump version to 3.5.270 [version-bump] 2026-11-20 07:57:37 +00:00
UNITRONIX 7594fed648 feat(devices): report when address book aliases are unavailable
Refs #510

Follow-up to 4806dcfa. The "Address book name" column is read through the Go
server, but the API returned only the alias values, so when the panel-trust
read failed the column was silently empty with no way for the UI to explain
why.

GET /api/devices now returns address_book_alias_available. When it is false
the alias source could not be read, and the column can be explained or hidden
instead of looking like a bug. This also covers the split-install case where
an older console read its own auth.db copy that the RustDesk client never
writes to.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-20 08:57:08 +01:00
UNITRONIX 23c928a0a4 fix(generator): make agent release import idempotent
Refs #515

"Import latest release" re-downloaded all six assets (~181 MB) and then died
on rename(staging, destination) with ENOTEMPTY when the tag was already
imported. rename(2) cannot replace a non-empty directory, and nothing removed
the staging directory, so each attempt leaked ~181 MB. One install grew from
181 MB to 722 MB.

  - return the cached release when the tag is already installed, after
    re-verifying the stored signature and every asset checksum, so a
    tampered or partially deleted cache is re-imported instead of served
  - store the signed manifest bytes as manifest.signed next to manifest.sig
    and SHA256SUMS, because manifest.json is enriched with release_tag and
    imported_at and no longer matches the signature
  - wrap staging create/write/swap in try/finally; cleanup only ever targets
    the staging path
  - move a stale or forced tag aside before the swap, so ENOTEMPTY cannot
    happen and a partial state is impossible
  - validate release.tag_name before it becomes a path segment under root();
    only a prefix check guarded it before
  - expose already_imported in the API response and accept {"force": true}
    for a deliberate re-import

Measured on a real install: the second import returns in ~0.8 s with
alreadyImported=true and no leftover .tmp-* directories.

Reported-by: @mh254

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-20 08:57:08 +01:00
UNITRONIX e11f7865c6 fix(panel): render 403/404/500 without i18n locals
Refs #513

A user denied by a panel section policy got Express's bare "Internal Server
Error" instead of a 403 page, so the account, the login and the server all
looked broken at once.

Two independent causes, both fixed:

  - middleware order: panelAccessGuard renders errors/403 on a denial, but
    initI18n() was mounted after it, so res.locals.lang, appName and _()
    did not exist yet and the template threw
  - the error templates used lang, appName and _() unguarded, so the
    subsequent 500.ejs render threw the same way and Express fell back to
    its default page

initI18n() now mounts before loadEffectivePermissions / loadEffectivePolicy /
panelAccessGuard, which is safe because it still runs after cookieParser()
and the session middleware. The three error templates compute defensive
locals, so they render with no locals at all; 403.ejs falls back to the
title/message the guard already passes, and 500.ejs still reveals details
only under NODE_ENV=development.

Covered by tests/errorTemplates.render.test.js, which renders each template
with ejs.render(src, {}) so an unguarded local cannot come back.

Reported-by: @mh254

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-20 08:57:08 +01:00
UNITRONIX 18ed13074f fix(panel): repair user group policies and the Web Remote viewer
Refs #512
Refs #514

Two panel regressions that each made a working feature look broken.

#512 — user groups could not be saved or deleted:
panelAccessPolicyService.resolveCeilingForSubject() calls
db.getUserGroupMembers(), which existed in neither the SQLite nor the
PostgreSQL adapter, nor in the services/database.js facade. Any group save
or delete failed with "db.getUserGroupMembers is not a function" after
leaving a half-created group row behind. The suite stayed green because
tests/panel-access.ceiling.test.js mocks the function, so no test reached
the real adapter.
  - add getUserGroupMembers(guid) to both adapters and the facade
  - new regression test uses the real SQLite adapter end to end
  - the empty-group ceiling clamp is intentionally unchanged (audit H7);
    the group list now explains why levels are clamped to none

#514 — Web Remote did nothing:
three independent defects, so fixing one left the next one visible.
  - window.open ran inside a 300 ms timer, outside the user gesture, so
    Chrome blocked it silently; the window is now opened synchronously
  - the window was pointed at /remote/, the device picker, which never
    loads remote.js and so never consumed the queued session; it now
    navigates straight to /remote/<deviceId>, where the id is in the URL
    and no queue handoff is needed
  - an empty password + Connect returned without feedback; it now shows a
    localized hint and clears it on input
  - explicit width/height so the small-screen gate does not hide the viewer
  - new contract test locks in all three properties

New i18n keys (users.group_no_members_ceiling_hint,
remote.password_empty_hint) are translated in all 26 locales. Also fixes
the French user-group member count, which had German text.

Reported-by: @mh254

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-20 08:57:08 +01:00
github-actions[bot] 85cd9c5b14 chore: bump version to 3.5.269 [version-bump] 2026-11-18 22:27:19 +00:00
UNITRONIX 14655b0414 fix(update): reconcile manually deployed server binaries
Stop before a direct copy into a root-owned server binary directory and return the documented root deploy guidance. When an operator completes the validated deploy helper, clear the stale-binary warning only after the source and service binaries match byte-for-byte.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 23:26:55 +01:00
github-actions[bot] 7b58698814 chore: bump version to 3.5.268 [version-bump] 2026-11-18 21:41:03 +00:00
UNITRONIX 4806dcfa1f fix(devices): use Go address book as alias source
Route panel alias reads and writes through the Go-owned RustDesk address book so legacy SQLite, consolidated SQLite, and PostgreSQL deployments do not diverge into auth.db. Preserve the full legacy document and serialize panel/client writes.

Refs #510

Reported-by: @PeterLinuxOSS

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 22:40:40 +01:00
github-actions[bot] d3f15bb6bb chore: bump version to 3.5.267 [version-bump] 2026-11-18 17:29:21 +00:00
UNITRONIX b39e97f899 fix(ux36): define page token aliases
Add the UX 3.6 compatibility aliases required by the page layout without overriding custom branding variables.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 18:29:02 +01:00
github-actions[bot] 82ed8c74a9 chore: bump version to 3.5.266 [version-bump] 2026-11-18 17:22:23 +00:00
UNITRONIX 7a2725b1bb feat(devices): show per-user address book aliases
Expose each operator's RustDesk legacy address-book alias in the Devices list and preserve the full AB document when editing it.

Refs #510

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 18:22:01 +01:00
github-actions[bot] a71e34f587 chore: bump version to 3.5.265 [version-bump] 2026-11-18 14:13:34 +00:00
UNITRONIX 154279f7ed fix(ui): compact Devices/Dashboard chrome and stop sticky overlaps
Tighten the Devices rail and toolbar (status select, quieter create actions,
RDP/VNC under groups), compact the dashboard client-config tools, protect the
Default device group, and keep Settings topic tabs above branding content.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 15:13:13 +01:00
github-actions[bot] bdff9950c1 chore: bump version to 3.5.264 [version-bump] 2026-11-18 00:54:04 +00:00
github-actions[bot] c8f31b8b5b chore: bump version to 3.5.263 [version-bump] 2026-11-18 00:53:14 +00:00
github-actions[bot] c7bf788da6 chore: bump version to 3.5.262 [version-bump] 2026-11-18 00:42:29 +00:00
UNITRONIX b1f72fcac0 fix(ci): green the failing workflows and close four open advisories
Web Console CI and Installer CI both ran tests/updateService.channel.test.js,
which spied on the exported updateService.checkGoAvailable while
runUpdatePreflight called the module-local function. The mock never applied, so
the assertion depended on the runner Go version: green on older Go, red on CI.
runUpdatePreflight now calls through module.exports, which keeps the seam
spy-able and makes the test deterministic. One change fixes both workflows.

Security:
- GHSA-98mc-f6p7-gj85: bdRelay compared relay tokens with timingSafeEqual
  without a length check; a wrong-length token threw RangeError out of an
  unguarded connection listener and killed the whole console. Lengths are
  checked first, values coerced, and the listener keeps failures local.
- GHSA-7j6j-h4qf-86mq: CDAP API key auth ignored expires_at, so an expired key
  kept authenticating agents while the REST path rejected it. Expiry is now
  enforced on both paths.
- GHSA-22mg-g52q-x75c: /ws/remote-viewer/:device_id checked device.connect but
  not device scope, so an operator could view a device outside their scope.
  Added the userCanAccessDevice check used by remoteTargetGateway; a scope miss
  answers 404 like a missing device.
- GHSA-qxwx-jg77-5v67: the startup banner logged the PostgreSQL DSN with its
  password. config.RedactedDBPath now strips credentials.

CI: all actions moved to their Node 24 majors with SHA pins, concurrency groups
and timeouts added throughout, a blocking i18n gate added to Web Console CI, and
a GHCR preflight added so a registry authorization outage reports as
infrastructure instead of a false build failure. The orphaned "Web UI CI"
registration (no workflow file in any branch) was disabled.

i18n: translated the 58 users.access_* keys into all 24 non-English locales and
dropped four legacy meta.* keys from fr/zh-TW.

Reported-by: @evanonym0us
Reported-by: @kta1kri
Reported-by: @Marc-T-robotics
Reported-by: @KolosovV

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 01:42:05 +01:00
github-actions[bot] 2ce8d37ccd chore: bump version to 3.5.261 [version-bump] 2026-11-18 00:00:47 +00:00
UNITRONIX 5a169e528b feat(rdclient): add multi-session file transfer
Add friendly monitor labels, queued multi-session viewer startup, and dual-side file transfer pickers for local and remote sessions. Remote-to-remote file copies are streamed through the operator browser with a 256 MB per-file safety limit.\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 01:00:23 +01:00
github-actions[bot] 7358680ab6 chore: bump version to 3.5.260 [version-bump] 2026-11-17 23:45:59 +00:00
UNITRONIX 7b88fe3b03 fix(compat): harden RustDesk 1.5 relay and proto parity
Refs #504
Refs #505

Fix force-relay target advertisement for RustDesk 1.5 relay allowlists, sync additive 1.5.x protocol fields, filter locked strategy keys, and add translated deployment guidance plus regression coverage.

Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 00:40:17 +01:00
github-actions[bot] 6929af72ab chore: bump version to 3.5.259 [version-bump] 2026-11-17 23:31:13 +00:00
UNITRONIX 185a36d9fb feat(rdclient): add bidirectional rich clipboard bridge
Add shared text, HTML, and PNG clipboard state across the operator and remote sessions. Preserve clipboard content when browser permissions block OS writes, support multi-format RustDesk messages, and expose explicit send/copy actions in the viewer.\n\nTests: npm test -- --runInBand; npm run check:frontend\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)
2026-11-18 00:30:50 +01:00
github-actions[bot] 27942b1c18 chore: bump version to 3.5.258 [version-bump] 2026-11-17 12:28:02 +00:00
Mateusz Ratajczak d67c4559cf Repair drag and drop on touchscreen devices 2026-11-17 13:18:42 +01:00
github-actions[bot] 8a27846f4d chore: bump version to 3.5.257 [version-bump] 2026-11-17 10:09:44 +00:00
github-actions[bot] a7320913da chore: bump version to 3.5.256 [version-bump] 2026-11-17 10:07:08 +00:00
github-actions[bot] 8810845ff7 chore: bump version to 3.5.255 [version-bump] 2026-11-17 09:50:34 +00:00
github-actions[bot] fa329049e0 chore: bump version to 3.5.254 [version-bump] 2026-11-17 09:47:45 +00:00
github-actions[bot] b5d9fd99be chore: bump version to 3.5.253 [version-bump] 2026-11-17 09:44:31 +00:00
github-actions[bot] e1f7a65b8d chore: bump version to 3.5.252 [version-bump] 2026-11-17 09:39:58 +00:00