Skip to content

z3nDash v1.0.4

Choose a tag to compare

@w3bgr3p w3bgr3p released this 01 Oct 05:13
· 46 commits to master since this release

z3nDash 1.0.4 passes the Tasker payload to scripts as named command-line
flags, lets Config check and install the tools scripts depend on, keeps the
dashboard reachable when the database is not, and adds process actions to
System Snapshot.

⚠ Breaking: how scripts receive the payload

Scripts no longer receive the payload as a single base64-encoded JSON argument.

  • Each payload schema field becomes a flag: myField → --my-field "value".
    Values that have no schema field are not passed.
  • Boolean fields are passed as a bare flag, and only when true.
  • The task's own Args are kept and come first. A flag already present in
    Args wins, and the skipped payload flag is noted in the run log.
  • For npm, the flags are placed after --.
  • The account row lookup by condition from the __<project> table now
    applies only to xml templates. Python/JS/other scripts no longer get that
    row merged into their payload.

Scripts that decode a base64 argument need to be switched to reading
named flags (argparse, click, etc.).

Tasker payloads

  • One Payload modal replaces the five separate payload buttons: values,
    schema, import and a command preview in one place.
  • The schema can be filled from a Python script's argparse and click
    parameters. The script is parsed, not executed.
  • Skip empty on a field: an empty value is omitted so the script uses its
    own default. Without it, an empty value is passed explicitly.
  • Password fields are masked as *** in the command preview and in the
    [launch] line of the run log.
  • A payload that cannot be turned into arguments stops the run with
    step=payload instead of launching with broken arguments.
  • New endpoints: /tasker/script-params and /tasker/args-preview.

Task control from scripts

  • A running script can list tasks, read a task's state, and pause, resume or
    defer any task by ID: GET /api/v1/tasks[?name=], GET /api/v1/tasks/{id},
    POST /api/v1/tasks/{id}/pause|resume|defer. The caller's run token is
    required, as for /api/v1/self.
  • The Python SDK adds task(id), Task and list_tasks(name=None) next to
    the existing CurrentTask.

Environment setup

  • Config → Overview checks Python/pip, Node/npx/ts-node, .NET SDKs and
    runtimes, dotnet-script, git and Git Bash, PowerShell 5/7, PostgreSQL
    (client, installations, services, port 5432), the connected database,
    the bundled SQLite engine, the SQLite ODBC driver, WebView2, Chrome and
    Playwright browsers, with versions, paths and probe output.
  • Missing tools have an Install button that runs a predefined command
    (mostly winget) in a visible console window, so the result stays on screen.
  • winget itself is installed from the official winget-cli GitHub release,
    so this works without the Microsoft Store.
  • PostgreSQL opens its installer interactively, since it asks for the
    superuser password. The SQLite ODBC driver opens its download page.
  • PATH is re-read from the registry, so a tool installed this way is found
    by the check and by tasks without restarting z3nDash.

Database

  • An unreachable database no longer stops z3nDash from starting. It opens on
    Config, and the connection error is shown in its status.
  • Database settings are tested before they are saved. A connection that fails
    is not written to the config.
  • Switching the database from Config creates the tables the scheduler and
    handlers need in the new database.
  • The dashboard's SQLite database now uses the bundled Microsoft.Data.Sqlite
    engine, so the system SQLite ODBC driver is no longer needed for it.
    ZennoPoster templates that use FastDb still go through ODBC and still
    need the driver.

System Snapshot

  • Network tables include IPv4 and IPv6 TCP connections and UDP listeners,
    with the owning process on Windows.
  • Process details show the executable path and command line.
  • Process actions: terminate, show the executable in Explorer, and open it in
    System Informer (only an installed copy is detected, not a portable one).
  • Long process names and addresses no longer break the table layout.

Fixes

  • A maximized window stays inside the monitor's working area instead of
    extending under the taskbar.
  • A duplicated task opens on the Settings tab.
  • A path picked in the file dialog no longer lands in a different task when
    the selection changed while the dialog was open.
  • The Schedule editor uses a more compact layout.
  • English and Russian docs now cover the XML and zpXml pages, multi-select in
    Tasker, the Config side rail and the task control API.

Downloads

  • z3nDash_Setup_1.0.4.exe: installer
  • z3nDash_1.0.4_portable.zip: portable self-contained build; no .NET
    installation required