Skip to content

Revit Server Stack 1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 01:05
bdb370e

Revit Server Stack 1.2.0

Added

  • The panel, the messages it sends and its console window are translated into English, Russian, German, French, Spanish, Brazilian Portuguese, Simplified Chinese and Japanese. The panel starts in the language of the browser (English when it is not available), a selector in the header changes it and the choice is remembered. The menu of the tray icon follows the language of Windows. Texts live in panel/www/i18n/*.json, used by the page and by PowerShell alike. How to fix or add a language: CONTRIBUTING.md.
  • Self-checks of the translations: every catalog has the keys, placeholders and markup of English, no text is left in code, every key is used, and the tray menu has all languages.
  • Documentation site at https://mahach666.github.io/RevitServerStack/ (built with docfx from the READMEs), a logo, and links to DeepWiki.
  • GitHub Actions: CI runs the self-checks and builds the launcher on every push and pull request; a pushed tag vX.Y.Z builds the release archive and publishes the GitHub release. How to cut a release: CONTRIBUTING.md.
  • Optional integrity check of the Autodesk installers: when RS<year>_INSTALLER_SHA256 is set (or --build-arg INSTALLER_SHA256=... is given to docker build), the Dockerfiles compare the downloaded installer with that SHA-256 and fail the build on a mismatch. No hashes are pinned in the repository, see "Verifying the installers" in the README.
  • Self-checks for the panel back end: saving settings, the settings check at start-up, port 808, $ in paths of the generated compose files, static paths with :, job ids, the result of Start all and Stop all, the job runner (exit code, log, % in a command line, cancel), the session token.

Changed

  • Upgrade note: the installer step of the Dockerfiles of all eight versions changed (the optional integrity check), so Docker does not reuse the cached installer and later layers of images built before this update. The first build after updating runs the installer again (the images are about 14 GB); later builds use the cache. The check cannot be moved to a separate step to avoid this: any new step in front of the installer changes the cache chain too, and a step after it would run after the installation.
  • The console window of the panel is no longer Russian only: it speaks the language of Windows.
  • The English README names buttons and settings as the English interface does, instead of the Russian ones.

Fixed

  • Saving settings with a partial body (or a body that is not a JSON object) reset every setting not mentioned to its default. It now changes only what the body names and refuses a body that is not an object.
  • A hand-edited panel.config.json with an invalid value (a port that is not a number, a bad context or project name) was not checked at start-up and crashed the panel with a raw .NET error. It is now checked like a save; an invalid file is reported, kept as panel.config.json.invalid.bak (the next save overwrites the file) and the default settings are used.
  • Settings check: host port 808 is refused when a version needs 808 for Revit, and a disabled version no longer counts as an owner of port 808.
  • A $ in the models folder or in the path of the repository was interpolated by docker compose and mounted another folder. It is now escaped in the generated compose files.
  • A request for a static path with : (/C:/x, /index.html::$DATA) answered HTTP 500 with the text of the .NET exception; it answers 404 now.
  • Cancelling a job accepted any id and always reported success. The id is validated like the one of the log request, and a job whose process could not be stopped is no longer marked cancelled; the page says when a cancel did not happen.
  • A malformed JSON body was reported as an empty body or as missing fields; it is now answered with "not valid JSON".
  • The session token came from a time-seeded generator; it is now 32 random bytes of the system's cryptographic generator, and it is compared in constant time.
  • A % in a path (for example a repository in a folder named x%TEMP%y) was expanded by cmd.exe in the job wrapper and corrupted the docker command.
  • Start all and Stop all answered ok: true even when every target failed; they now answer ok: false with HTTP 409 when any target failed.
  • The documented run without the panel failed on a fresh clone because samples\rs<year> did not exist; the README now creates it first.
  • The log of a job could repeat or lose lines when two requests overlapped, and a single failed request stopped the live log and hid the Cancel button. Requests are now one at a time, and a failure is retried and reported after several in a row.
  • The page stayed blank without a word when the language files could not be loaded; it now says so and still starts.
  • Exit in the tray menu froze the icon for 3 seconds and then killed the panel, leaving its address file behind, and a second start could then open a dead address. The panel is stopped at once, and the address file is removed on exit and when the panel fails.
  • Settings did not open when docker had exactly one context: the list of contexts was sent as a single string, not as a list.