github sctg-development/sctgdesk-server sctg-v1.1.16-sctg.7
SCTGDesk server 1.1.16-sctg.7

one hour ago

This release is about the web console: it is translated, the S3 and OAuth2 settings are
edited and tested from the browser, users manage their own profile and API token, and a device can be opened in the
client or in the web client in one click.

Web console

  • Six languages: en-US, fr-FR, de-DE, es-ES, pt-PT and it-IT, including the login page, the backup page and every
    message of the pages that were already translated.
  • Settings: administrators edit s3config.toml and oauth2.toml with a guided form or a raw TOML editor, and the
    server validates the content before saving. A Check with the service button tests the real services: S3
    connection and presence of each download file (signed ranged GET), OAuth2 authorization endpoint and recognition of
    app_id/app_secret by the token endpoint. Each saved OAuth2 provider also has a real sign-in test.
  • Connections: administrators purge selected or all connections; the dashboard shows the last ten devices.
  • Devices: administrators delete a device with a confirmation. Address books and connection history are kept.
  • Connect buttons: every device gets the native client button (rustdesk://<id>) and, when WEB_CLIENT_URL is a
    valid http(s) URL, the web client button. The web client reads ?id= and the #access_token fragment and connects
    at once.
  • User settings: avatar, password and language, stored with the account.
  • API token: a user menu entry copies the current Bearer token, bare, ready for the api-token field of the API
    documentation. Falls back to execCommand when the clipboard API is unavailable (plain http), with a short toast.
  • Login: OAuth2 sign-in in a popup, with a waiting panel on the main page and a fallback to a same-tab redirect when
    the browser blocks popups.
  • Update banner: announces a newer GitHub release, links to it, and can be closed for the session or hidden for good.
  • Footer: GitHub link, copyright 2024-current year.
  • Administrators get an API documentation icon (desktop bar and mobile menu) that opens /api/doc/.
  • Translations of the backup page and error messages, and connect buttons in the address books.

API

New endpoints (administrators unless stated):

  • DELETE /api/audit/conn, clear the connection history
  • GET, POST, PUT /api/settings/config/<s3|oauth2>[/validate], read, validate and write the settings files
  • POST /api/settings/config/<s3|oauth2>/check, test the configuration against the real service
  • GET /api/webclient, the web client URL (WEB_CLIENT_URL), only when it is a valid http(s) URL
  • DELETE /api/peers/<id>, delete a device (GET /api/peers/<id> was already there)
  • GET/PUT /api/user/profile and PUT /api/user/password, own profile
  • OidcAuthRequest.console makes the OIDC callback redirect to the console

The console is backed by two new crates, api-oauth2 and api-s3software. The avatar and language columns of the
profile are added at startup.

Fixes

  • DELETE /api/peers/<id> answered 404 to a request without a body: Rocket matched the format of the route against the
    missing Content-Type. The route has no format any more.
  • /api/doc was empty because @sctg/rapidoc 9.3.8-b defines the jsdoc language without the javadoclike language it
    extends and throws when evaluated. The build inserts the missing Prism definition in front of it.

Dependencies and CI

  • Console dependencies upgraded to their latest release: Vite 8, Vue Router 5, Pinia 4, Tailwind 4, flowbite 4,
    TypeScript 7. autoprefixer and purgecss are dropped, Tailwind 4 does both.
  • multiarch-docker-hub.yml gains an Extract binaries as test release checkbox: a manual run creates
    sctg-v<version> from Cargo.toml as a pre-release and uploads the static Linux binaries to it, and refuses to
    overwrite the assets of a full release.

Upgrade notes

  • No configuration change is required. The new database columns are added at the first start.
  • WEB_CLIENT_URL is optional; the web client button only appears when it is a valid http(s) URL.

Full checksums and attestations: the deb/rpm packages carry SHA256SUMS-*, and the Linux archives are attested
(gh attestation verify).

Don't miss a new sctgdesk-server release

NewReleases is sending notifications on new releases.