Znuny-Dev - Release 1.1.0
Znuny-Dev - Release 1.1.0
1.1.0
Added
- Dashboard lists linked packages per instance (count and names from framework symlinks) and can link or unlink one or more packages (
zd link/zd unlink --only). Fred and ZnunyCodePolicy are in the same list and usezd link-tool/zd unlink-tool --only. - Dashboard package dialog: Unlink all when the instance already has linked packages or tools. DBInstall, CodeInstall, Rebuild Config, and Delete Cache checkboxes (on by default) run after the file change. A failed step shows the command output in the dialog.
- Dashboard dialogs have a close icon in the top-right corner.
- Document host Node.js as optional for the dashboard opener (Folder / IDE). The dashboard UI, status, and instance actions work without it; the HTTP server uses Node.js 22 inside its Docker image.
- Shared Selenium Chrome (
zd selenium start) onznuny-network(hostnameselenium, port 4444). Opt-inENABLE_SELENIUM=ymakes instance startup writeSeleniumTestsConfigandTestHTTPHostnameso browser unit tests can run. - Selenium Docker health check:
znuny-seleniumis healthy whenhttp://localhost:4444/statusreportsready. - Dashboard services block, visually separate from instances, lists database containers and Selenium with start / stop / restart.
- Document WSL bind-mount ownership:
zd startmaps containerwww-datatoHOST_UID/HOST_GIDso hostgit pullworks without a manualchown.
Changed
- Dashboard Folder and IDE buttons are gray and struck through when the host opener is down. Hover shows
Run zd dashboard restart. - Dashboard Restart button runs
zd dashboard restarton the host viahost-restart-agent.mjs, so the Folder opener comes back with the container. - Dashboard package dialog drops Cancel. Apply stays gray until a link or unlink is pending, then runs for new links and for unlinks. Afterwards shows DBInstall and CodeInstall (on) for new packages, DBUninstall and CodeUninstall (off) for unlinked packages, and Rebuild Config plus Delete Cache (on) for either change. Above Apply, LINK and UNLINK list the names. A checked new package shows a green + at the right of its row; an unchecked linked package shows a red -. LINK uses that green, UNLINK that red. Apply progress uses the bottom-right message stack; the dialog has no separate status line.
- A stopped instance opens the same package dialog with only the linked names. Checkboxes stay disabled, and Manage, Apply, and Afterwards stay hidden.
- Dashboard dialogs fit the viewport. Status legend, about, packages, and confirm scroll inside the panel on short or narrow screens, and the close icon stays in the corner.
- Dashboard dev tools that can be linked come from
DEV_TOOL_IDSin.env(defaultFred,ZnunyCodePolicy).load_environmentappends that default when the key is missing. - Selenium noVNC no longer asks for the image default password
secret(SE_VNC_NO_PASSWORD=1). Recreate the container withzd selenium startso a runningznuny-seleniumpicks it up. - Leave the clone target before
rm -rf/git cloneso a fresh checkout does not fail withUnable to read current working directorywhen the previous framework directory was the shell cwd.
Fixed
- Create the container user
znunywithuseradd --non-uniqueso it really shares UID/GID withwww-data. Previouslyuseraddaborted withUID 33 is not uniqueand theadduser --systemfallback assigned UID 100, which chowned the bind-mounted framework to an unrelated host account (e.g.syslogon WSL) untilSetPermissions.plswitched it towww-data. Existing containers are realigned on start. - Map instance
www-datato the host developer UID (HOST_UID/HOST_GIDfromzd start) so Linux/WSL bind mounts stay writable for Git. Existing compose files pick this up via the instance env file; new templates pass the variables explicitly.
Full Changelog: https://github.com/dennykorsukewitz/Znuny-Dev/compare/1.0.0…1.1.0
This post is licensed under CC BY 4.0 by the author.