New in 1.0: partner licences with Stable and LTS updates, webmail and Files, and alerts on WhatsApp.Changelog
Changelog

Changelog, page 10 of 11

Every change to Hfog Panel, Hfog Local, Hfog Connect and Hfog Remote, newest first.

Upgrade notes and known issues are in the release notes.

Latest changes (continued)

Every app has its own forgotten-password steps

  • Mail now resets a forgotten mailbox password on Mail's own address, like Files and DB Studio, instead of sending people to the Control Panel: the address → a 6-digit code emailed to the mailbox's recovery email (or the email's link, which opens Mail at the next step, ?reset=…) → the new password, then back to the login with the address filled in. It is the panel's mailbox reset, with the same limits, lock-outs, password rules and "password changed" emails (panel/mail_forgot.go → mail.Forgotter, mail/forgot.go: /api/v1/forgot, forgot/code, forgot/link, forgot/password; the start-up data says forgot). A mailbox without a recovery email still gets nothing; its owner is told, as before. 14 new Mail texts in 20 languages; TestForgotRoutes, test/forgot.test.tsx; a compile-time check that the panel's bridge fits Mail's interface (main.go). The Mail docs page explains the steps.
  • Checked: Server Admin, the Reseller Panel and the Control Panel each have their own (a reset asked on a panel only finishes there, for that panel's logins; the email's link opens the login's own panel), as do Files, DB Studio, team members and the website's account page.

Every action updates the page it was made on

  • One rule for all three panels (handle() in PanelApp.tsx): after any action that worked — a button, a dialog's Save or Create, a row's Delete, a switch, a live job — the page's data is read again, so the change shows at once without reloading the browser. Before, only answers that pointed back to the page did that; an action that only answered "ok" left the page as it was. A failed action keeps the page as it is, so what was typed stays to be corrected; the message at the top always stays. A page that keeps its own live state can pass noReload (ActOptions). Checked in the built interface (New FTP account, New cron job: the action, then the page's data, and the dialog closes); tests in test/app.test.tsx.

The screen refreshes when a live job's terminal closes

  • After the live output dialog closes (refreshing tunnels and certificates, installing or updating apps, WordPress tools and every other _live action, in Server Admin, the Reseller Panel and the Control Panel alike), the screen reads its data again, however the job ended — done, finished with errors, or closed by hand — so what the job changed shows at once; the message at the top stays (act() in PanelApp.tsx). Before, it only did when the server's answer asked for a reload. New test in test/app.test.tsx.
  • The last lines no longer show twice ("0 tunnel(s) ready" twice): the closing read of the log could run alongside a regular one, both starting at the same place. The dialog now reads the log one request at a time (LiveDialog, ui/Dialogs.tsx).

Installer summary box

  • No row runs past the box any more (hf_fline, scripts/install/logo.sh): a value too long for it is cut, counting characters not bytes, and ends in "…". The paid-edition note on an official package is short enough to fit and says what to do: "paid edition · official: HOSTFOG_EDITION=official".
  • CPU: the model's bracketed detail ("(Haswell, no TSX, IBRS)") is left out instead of being cut mid-word.
  • Company: the official package installed with HOSTFOG_EDITION=official suggests the publisher's own name from the build (Hostfog Ltd, e.g. "HostFog Ltd") instead of the domain's first word.

Fixed: the panel's Go tests (their first full run)

  • The account page tests (page_account_test.go) took "Your licences" as the sign of being signed in, but the sign-in page says "Your licences, billing and servers." too, so "still signed in after sign out" and "after a wrong password" could never pass: they look for the Sign out button now (accountPageSignedIn). The trial's dashboard shows the install command HTML-escaped, and the test now compares it escaped.
  • TestPathAddressesIntegration sent its requests to the API handler (405 for anything not an API call); it goes through the panel's page handler now (ServePanel, via teamCall).
  • TestSuperAdminRoutesOnlyOnOfficial expected the old Business layout (Packages, Invoices and Licences as tabs); it checks today's: every business screen an entry of its own on the official edition, Overview first in the paid edition's Billing group.
  • TestAPIHostBrowser refused any "{" in the "Access denied" page, but the page's CSS has braces: it checks that the {id} and {at} placeholders were filled.
  • TestCompanyPortsDefaults expected an own api_port (2087) to vanish from the API's address; as intended, a server that keeps its own API port shows it, and 443 shows none (both checked now).
  • TestOpenAPIDocsCopy: the API description's generator still wrote the API's address with :443, while the docs copy had been changed to https://api.yourdomain.com/v1; the generator writes it without a port too.

Fixed: Mail's TestTextToHTML with newer Go

  • The tests that check the Go port against PHP's recorded answers find each answer by a hash of the test's input as JSON. The answers were recorded with a Go whose encoding/json wrote an invalid UTF-8 byte as the escape \ufffd; newer Go writes the replacement character itself, so the same input hashed differently and TestTextToHTML (input "x\xffy") found no answer. phpGolden (mail, panel, sieve) now tries the old form when the key it computed has no answer (goldenFile). The Go code under test was right all along; this test had never run before.

Fixed: the panel's Go code didn't compile

  • apihost.go: the edit that gave browsers on the API's address an "Access denied" page (with a request ID) had cut off the end of the file, removing apiHostTunnelGet (the old /v1/tunnel-get downloads) and apiHostJSON (the API host's JSON answers, also used by payhost.go), which also left net/url unused. Both are back exactly as before.
  • page_licence.go: the redirect of a licence bought through the account's wizard read the licence with thanks.Str(…), but thanks is a plain map there: now AsString(thanks["email"]) / AsString(thanks["key"]).

Fixed: the panel's type check

  • Wizard's onFinish was typed (e: FormEvent) => void | Promise<void>, stricter than its callers (the account, domain and mailbox wizards pass form.submit, which returns the save's answer; New database's handler takes FormEvent<HTMLFormElement>), so npm run typecheck stopped the build. It is now (e: FormEvent<HTMLFormElement>) => unknown (its result was never used), and the wizard's own submit handler takes the form's event.

The build tests the server agent too

  • New build step "Server agent (checks)" (after the API's Go tests): tests/checks/run-agent-checks.sh runs all 24 checks of the root agent (tests/checks/*-agent.sh: accounts, mail, DNS, security, malware scan, backups, isolation, limits, Git deploys, templates, WordPress updates …), each in a throw-away folder or user. A check that needs a tool the machine doesn't have says "skipped"; one that needs root is listed as not run when building as an ordinary user (sudo bash tests/checks/run-agent-checks.sh runs them all); any failure stops the build.
  • Fixed in the checks: six places tested nothing because the helper's file name was missing ("$AG/helpers/" instead of hfog-scan.py, hfog-backup2.py, hfog-cronwrap — in malware-agent, support-agent, access-agent, sitefw-agent); the malware scan, email-to-ticket scan and cron wrapper checks now run for real and pass. devflow-agent and templates-agent exit 2 (needs root) like the others and say "skipped" when rsync or php is missing; confhist-agent and sitefw-agent pass as an ordinary user too (only root can make a file root's, and "never runs as root" can only be tried as root).

Windows setup downloads and installs the chosen components while it installs

  • After copying Hfog Server, the setup's last step runs hostfog install --from-setup: it downloads and installs what was ticked on the Components page (Apache, Nginx, PHP, MariaDB …) right away, each checked against its checksum, and the setup's details list shows every step and the download progress in 10 % steps (ShowInstDetails show). It needs an internet connection: whatever can't be installed then is written back to install-components.txt, and Hfog Server installs it when it opens (as before).
  • hostfog install <component>… (new): the same without the window, for scripts too (backend/os/app_first_install.go; the app's log lines go to the terminal through App.echo). TestCliInstallArgs covers its arguments.

Fixed: editing a Python or Ruby app, and the tests the build stopped on

  • Editing an existing Python or Ruby app (?edit=<name>, the app's Settings) showed nothing: their form moved into the New dialog, which didn't open for editing (Node.js already did). Both now open it with "Edit Python app" / "Edit Ruby app" (editParam="edit"); checked in the built interface.
  • The test helper sets the real address: renderPage / renderWith with a url now put the browser's address there too (setAddress, test/helpers.tsx), since screens read ?new= and ?edit= from the address; without a url it is /, so one test's address can't leak into the next.
  • Ten panel tests looked for the add forms inside the page, but dialogs are drawn at the top of the page: cron, Git, handlers, Node.js, Python, Ruby, help articles and the feature-list alert now find the form in its dialog (by the dialog's title) or in the document.

Tests: unit, integration, test-first fixes, break it, load

  • Break it (tests/ui/breakit-dialogs.py, Playwright against a running panel): a script typed into a field, Enter on a middle step, a double-click on Finish, opening and closing fifteen times, Tab past the last field, a drag ending on the backdrop, 5000 characters, browser Back, a 360 px phone. It found two bugs, fixed test-first:
    • Enter in a field of a wizard's middle step did nothing (a browser only submits on Enter when the form has a submit button; Next isn't one): Enter now moves to the next step (ui/Wizard.tsx; test/wizard.test.tsx).
    • Tab left the add dialogs (keyboard and screen-reader users ended up on the page behind): NewDialog keeps Tab and Shift+Tab inside, and only the dialog on top acts on keys (ui/NewDialog.tsx; new test/newDialog.test.tsx, which looks for the form's Create button inside the dialog — the New card has one too).
  • Unit tests: test/bundlePrice.test.ts (the licence price formula: tiers, bundle discounts, unknown keys, rounding like the server); Go TestEmailInUse, TestLicFeatureGetsAndPlanIncludes (session_review_test.go).
  • Integration test: TestPathAddressesIntegration sends real requests through the panel's handler — a screen's path, the same screen under another group and the classic /?r= answer alike; a non-screen path and a three-segment path are 404; / is the dashboard.
  • Fuzz tests (Go's own "break it": random input, never a panic, only valid answers): FuzzRouteOfPath (the address parser), FuzzReadFirstInstall (the setup wizard's component list). saTestAPI takes testing.TB so fuzz targets can use it. go test runs their seed cases; go test -fuzz=FuzzRouteOfPath ./internal/panel/ fuzzes.
  • Load test (tests/load/loadtest.py, standard library only): simultaneous users with kept-alive connections over public pages, screens and API calls; prints requests per second, p50/p95/p99/max and errors per address, and exits 1 over the error-rate or p95 limits (for CI).

One command removes Hfog Panel: hfog-agent uninstall

  • hfog-agent uninstall now removes Hfog Panel and everything it set up on the server — every hosting account (websites, databases, mail, DNS zones, backups), the server software, database files, certificates, logs, package sources, the swap file and the firewall rules (SSH stays open). It runs hfog-uninstall --complete: you type DELETE EVERYTHING, and nothing is saved. hfog-agent delete and the --purge / --packages options are gone from the command (the uninstaller keeps them for the test scripts). The command's help, hfog-uninstall --help, the panel's Settings card, the docs (Uninstalling, Server commands, Settings, FAQ, release notes, the website's guide) and the engineering guides say so; tests/deploy-test.sh runs hfog-agent uninstall on both test servers and checks everything is gone and SSH still runs.

Windows setup asks what to install

  • The setup wizard has a Choose Components page after the licence: Hfog Server, then Web servers (Apache — always —, Nginx), Programming languages (PHP — always —, Node.js, Composer), Databases (MariaDB, PostgreSQL and Redis unticked by default) and Tools (phpMyAdmin), each with a description. The setup file stays small: the ticked ones are written to install-components.txt, and Hfog Server downloads and installs them, checked against their checksums, the first time it opens (backend/os/app_first_install.go, logged on the Control panel; one that fails can be retried on the Components page). TestReadFirstInstall covers the list.

The Windows installer has its own look

  • The Hfog Server setup wizard (NSIS, packaging/windows/installer.nsi) now shows Hfog Server's own artwork: on the welcome and last pages a side panel with the HF mark, "Hfog Server — Local web server" and the HostFog name at the bottom (welcome.bmp), and on the other pages the Hfog Server logo at the top right (header.bmp). Both are drawn at twice their size so they stay sharp on high-DPI screens (ManifestDPIAware); scripts/build/software.sh copies them next to the script. The pages and wording are unchanged.

Every dialog checked and given one look

  • All 41 add dialogs of the three panels were opened in the built interface, photographed and checked for size, sideways scrolling, fields sticking out and a missing footer. One look for every dialog (Dialog, Wizard, NewDialog, confirmations): a title bar with a line under it, the content, and a grey footer line for the buttons flush with the dialog's edges (the step wizards' Back / Next too). Add forms in a dialog are 640 px wide.
  • Fixed on the way: a page's card shown inside a dialog drew a box inside the box with a second title (Add a record, Invite a team member, Import accounts, Create licence) — now just its content; full-width submit buttons (New mailing list) are ordinary buttons on the right; a field made of parts in a row (name @ domain) no longer wraps; and forms the server makes for a new item (?edit=new, ?new=1: New feature list, New article) were titled "Edit …" — they now say "New …".

The New … dialogs look like dialogs

  • A screen's add form in a NewDialog is now laid out for a dialog (styles/ui.css, .new-dialog-*): a title bar with the close button on the right and a line under it; the fields in two even columns (one on a phone), with the inline width limits of the page layout lifted; empty hint lines and the form's old card heading hidden (the dialog's title says it); and the save button alone at the bottom right on a grey footer line, flush with the dialog's edge — the same ending as the step wizards. Checked on FTP account, Web Disk login, Reseller, Cron job and SSH key.

Fixed: dialogs that never showed, and the tests the build ran into

  • Dialogs opened from a New card could be invisible: the card a form used to sit in is hidden once the New card takes its place, and the dialog was drawn inside that card, so it opened hidden (Email's New mailbox, New database, FTP, cron …). Dialog and NewDialog now draw at the top of the page (a React portal into <body>), whatever their place in the page; checked in the built interface — every New card's dialog is on screen. The close button of a NewDialog sits on the right of its title.
  • The ten tests build.sh stopped on follow the new layout: they open the New account / New announcement dialog before looking at its choices, the feature-list editor test opens with ?edit=new, a price shown both in a wizard's summary and in its last step is matched with getAllByText, the licence wizard stays on step 1 while the email and IP are empty (the browser's own message, not a custom one), and the super-admin test no longer looks for the Business tabs (they are sidebar entries).

Fixed: Hfog Server's Windows icon

  • The Windows exe (title bar, taskbar, Explorer) still showed an old icon — three bars and a dot — because its icon comes from backend/os/rsrc_windows_amd64.syso, which only go-winres rewrites, and builds without go-winres kept the old file. The four icon images in that file (256, 48, 32, 16 px) are now the current HF mark from packaging/winres/ (replaced in place, with the resource entries' and the icon group's sizes updated; read back and checked), and scripts/build/software.sh installs go-winres (pinned v0.3.3) when it is missing, so the file is made fresh on every build.

hfog-agent is the only server command

  • The old names hfog-server, hfog-admin and hfog-panel are no longer installed as links: install.sh and update.sh make only /usr/local/sbin/hfog-agent and remove the old links from servers that had them, and update.sh moves cron lines that still called an old name ($HF/bin/hfog-server licence sync …) to hfog-agent. uninstall.sh removes every old name too; tests/check-installer.sh knows the new deletions. hfog-agent help: api-portal now shows https://api.<domain>/v1 (the API has no port of its own). The desktop app's downloads keep their hfog-server-… names.

Fixed: the Linux checksums step

  • scripts/build/software.sh wrote SHA256SUMS.txt from Hfog-Server-* hfog-agent*: the command rename (hfog-server → hfog-agent) had also changed this file pattern, which means the desktop app's Linux downloads (hfog-server-<v>-linux-<arch>.tar.gz, hfog-server_<v>_<arch>.deb), so sha256sum found nothing and the build stopped. Back to hfog-server*. Every other place the rename touched was compared with the original sources: this was the only download name it changed.

Fixed: the desktop app's interface didn't build

  • frontend/os/vite.config.ts used sharedResolve / sharedFs without importing them from ../shared/vite (its Vite import line differs from the other apps', so the import was never added), and build.sh stopped at "Software interface (tests, build)" with ReferenceError: sharedResolve is not defined. Added; all seven apps' Vite configs and the five apps' sources were bundled as a check.

Code review: unused code removed

  • Go (a scan of every package for unexported functions and variables nothing refers to, tests included): 17 functions removed — mail: firstCol, intsToAny, likePattern, trimSpaceRight, isOneOf, listValues, sieveDefaults; panel: isV1Path, deliverShellArg, phpQueryPairs, statusHostRequest, kbCategory, shellAPI, unusualQuery, (*tokenReq).bodyForm; desktop app: poolPorts, apiError, composerCreate — and 5 variables (the four unused vCard patterns, dnsSplitRx, and with it screen_dns.go's regexp import). A second scan found nothing left unused by these removals. Kept: the protocol constant tables (curl error codes, MongoDB opcodes, the IMAP status fields), which document the whole table even where one value is unused.
  • TypeScript: every app type-checked with noUnusedLocals and noUnusedParameters: nothing unused; one exported helper nothing imports removed (hashFor, desktop app).
  • Shell: pkg_remove (agent/lib/01-os.sh) and dbt_db_of (33-dbtools.sh) removed; helpers called by a built name (apps2_setup_$app, apps3_config_$app) and the OS layer's functions the installer uses were checked and kept. tests/checks/os-agent.sh and security-agent.sh pass.
  • Python: nothing unused (the e2e flows are registered by @flow).

The server package is hfog-panel-<version>.zip

  • build.sh now saves Hfog Panel's server package as releases/hfog-panel/hfog-panel-<version>.zip (it was hfog-server-<version>.zip, the same name as the Hfog Server desktop app's downloads). On the download server it is still hostfog-<version>.zip, the name installed servers ask for (get.sh, update.sh, self-update), so nothing changes for them. tests/deploy-test.sh finds an older release under any of the three names; the build guide, PRODUCTION.md and the engineering guide follow. The desktop app's downloads keep their names (hfog-server-<version>-linux-amd64.tar.gz, hfog-server_<version>_amd64.deb).

Clean-up

  • 284 interface texts nothing uses any more removed from the panel's dictionary and all 20 languages (texts of screens and buttons replaced over time; _keys.json 8341 → 8057). Texts that look like fragments glued together at run time were kept. tests/check-lang.allow renumbered to the new text numbers; check-lang.py passes.
  • Dead code: the empty SaTabs (and its nine uses), useOfficial and FeatureGrid (used nowhere) removed.
  • Docs: the desktop app's "HTTPS and phones" page showed a byte-for-byte copy of the Sites screenshot; it now uses sites.webp itself (the screen it describes) and the copy is gone. The engineering guide no longer describes the Business tabs.
  • Looked at and kept on purpose: each app's own copy of its fonts and licence texts (every app is built and served on its own), the installer test fixtures that are identical between versions, the Windows icon set packaging/winres (go-winres reads it), the built interfaces committed for the Go programs to embed, and the billing modules' synced copies of HfogPanelClient.php.

Cleaner screens

  • The New card is one compact row: an icon tile, the title with its line under it, a pill if any ("1 / 25 used"), and a short Create (or Add) button on the right — no head line, and the title is no longer repeated on the button (the button keeps the full name for screen readers: aria-label). Several New cards share one row (Status page: Report an incident · Plan maintenance). On a phone the button takes the full width.
  • No half-empty rows: when a card leaves a two-column grid (its form moved into a dialog), the card left beside it takes the whole width (Quotes, Cron jobs …).
  • Support tickets: the old "New ticket" toggle bar is gone; the New card opens the form.

Every list screen: the list, and a New card that opens the add / edit dialog

  • Editing in the same dialog: NewDialog also opens for editing — while the address has the screen's edit value (?edit=<id>, ?e=<id>, ?kind=…; editParam) or the screen's own "editing" state is set (editingNow / onEditDone), titled editTitle, and closing it goes back to the list. Screens whose blank form comes from the server open it with newParams (?edit=new, ?new=1).
  • Now the same layout (heading → New card → list): packages, Node.js apps, feature lists, DNS templates, help articles, DNS records, commission rules (affiliates), uptime monitors, own backup storage, backup destinations, discount codes, status page (Report an incident, Plan maintenance), licensed servers, Apache handlers and MIME types, announcements — on top of the 30 screens before. Their old New / Add buttons in the headings are gone; the tests that clicked them use the card's button or the dialog's form.
  • Left as they are on purpose: catalogues where each item has its own Install button (Apps, Docker apps), and actions that belong to one row of a list (staging copy of a site, IP pool of a server, SSL for a domain), domain search (Domain names & SSL), the transfer and import flows, and settings pages (Abuse desk, Email to ticket).
  • Preview: hfogpanel-all-panels-preview.html shows every screen of the three panels, built from the current source and rendered on the sample data of their tests.

One layout for every screen that creates something

  • NewCard (ui/NewDialog.tsx): the "New …" card — icon, title, the button, an optional line and a pill on the right — placed right under the screen's heading (and under its tab bar, if it has one), whatever the page writes it. Every screen that creates something now starts the same way: heading and description, then its New card, then its content. NewDialog uses it; Accounts (with its "accounts left" pill), Email (with "used / limit"), Domains, Databases, Licence keys and Plans & pricing switched to it — Plans' New plan button moved out of the heading into the card.
  • Domains: Add domain is the New card; the tab card below keeps only Add a subdomain and Park a domain.
  • Checked in the built interface on eight screens: the card sits right under the heading (under the tabs on Email and Databases), and emptied cards are hidden.

A "New …" card at the top of each screen

  • Every screen whose add form opens as a dialog shows a New … card right under its heading — the card's icon and title, and the button that opens the dialog — the same way Accounts shows New account (NewDialog puts it there; icon and hint set the card). The card the form used to fill on its own is hidden, so no empty boxes are left. Checked in the built interface on FTP accounts, Cron jobs, SSH keys and Team.

Fixed: Next on the step before the last saved the wizard

  • React reused the Next button as the Finish (submit) button, so the click that opened the last step also submitted the form — a New account was created from step 3. The two buttons now have their own keys (ui/Wizard.tsx); test/wizard.test.tsx checks that Next onto the last step doesn't save, a required field keeps its step, and Finish saves once. Found by running the built interface in a browser.

Add forms open as dialogs across the panel (30 screens)

  • ui/NewDialog.tsx: a screen's own add form shown in a dialog, opened by a button or the New menu (?new=<name>), closed by itself once the save succeeds (ACT_EVENT, fired by PanelApp's act() after every action). The form inside is unchanged — same fields, save and field errors — and stays mounted while closed, so the existing tests that submit it still work.
  • Now dialogs: reseller, staff login, server, notification rule, server mailbox, support ticket, FTP account, Web Disk login, cron job, mailing list, SSH key, protected folder, PostgreSQL and MongoDB database, Git repository, Python and Ruby app, copy a website, copy to another account, website from a template, team invite, Dynamic DNS name, Import accounts, New quote — with the step wizards already done (account, plan, licence, mailbox, domain, database), 30 screens. All of them are in the New menu.
  • Left as they are for now, because their form is also the edit form or appears once per item: packages, discount codes, uptime checks, Node.js apps, staging, app and Docker installs, handlers, IP pools, backup destinations, announcements, SSL, domain registration, transfer, DNS records.

Email account, Add domain and New database open as dialogs

  • New mailbox (Address → Password & size), Add domain (Domain, with the account for staff → Folder) and New database (the quick database: name, and the account for staff) are dialogs opened by their button or the New menu (?new=mailbox, ?new=domain, ?new=database); the inline forms are gone. A one-step Wizard is a plain form dialog without the step strip.
  • Path addresses only once the server sends the groups: href() writes the classic /?r=<route> until Boot.groups arrives, so a panel that doesn't answer paths yet keeps working links (the router test covers both).

The New menu, and New account as a wizard

  • Each screen's add form opens from its own New … card (below); there is no separate create menu in the top bar or the sidebar. A link with ?new=<name> opens a screen's dialog directly.
  • Wizard keeps every step in the form (hidden when not shown), checks a step with its inputs' own rules (required, pattern, email …) before Next, and after a save the server refused opens the step holding the field with the error.
  • New account (Server Admin and Reseller Panel) is a four-step wizard dialog: Customer → Package & server → Domain → Password & welcome, opened from a New account button or the New menu; the inline form is gone. New plan and Give a licence open from the New menu too. Texts translated in 20 languages; the accounts test walks the wizard.

Licence keys: "Give a licence" is a wizard

  • The free-licence form on Licence keys is now a three-step wizard opened from a Give a licence card: 1 Who (email, server IP, note), 2 What it includes (every feature, one of your plans, or panels and modules ticked one by one with Select everything / Select all, plus the account tier), 3 Send (email the key and install command, and a summary of what the licence holds). The free action takes the optional plan, features and tier and applies them with LicSetFeatures, the same as Change plan (TestLicencesFreeWithPlan); the test of the page walks the wizard.

A wizard dialog, first used for new plans

  • ui/Wizard.tsx: a reusable step-by-step dialog for the panel — a numbered step strip (done steps can be clicked to go back), one step's fields at a time, Cancel / Back / Next / Finish, a step that checks itself before Next, Enter on a middle step goes forward instead of saving, and an optional running summary under the strip. It wraps the page's own form and save, so field errors and tests keep working.
  • Plans & pricing › New plan / Edit plan is the first wizard: 1 Basics (name, key, description), 2 Select panels & modules (one card per feature with what it unlocks and its price; Select everything at the top and a Select all box per group, half-ticked when only some are chosen, with counts — plus single ticks; the account tier; at least one panel is required before going on), 3 Price & visibility (worked-out or fixed price, order, website, most popular, and a line summing the plan up). The worked-out price stays in view on every step. Next candidates: New account, New reseller, Add domain, Import accounts.

Plan builder: what each choice gives you

  • In the licence shop, the buy wizard and Change plan, every ready plan shows Includes: its panels and modules, every panel and module shows what it gives — how many panel screens it unlocks, what the installer sets up for it (Postfix and Dovecot for Email, BIND for DNS, PostgreSQL and MongoDB for DB Studio, Docker, the Hfog Tunnel server, rclone …) and whether it opens API access — and a Your plan includes box above the price lists the chosen features and the services that will be installed, kept current as you tick (page_licence_plans.go licFeatureGets, licPlanIncludes, licServiceNames; TestAccountWizardTrial checks it).

Shared front-end components: `@hf/shared`

  • The helpers the front-end apps had copied between them — fieldErrors.ts (5 copies), a11y.ts and a11y.css (3), fieldErrors.css (3), Icon.tsx, icons.ts, Lockup.tsx, i18n.ts and the small apps' stylesheet (2 each), keys.ts (2), the test helper axe.ts (4) — are one module each in frontend/shared/, imported as @hf/shared/lib/fieldErrors, @hf/shared/ui/Icon, @hf/shared/styles/a11y.css …: 30 copies removed, 50 files' imports rewritten. Each app stays a build of its own (own node_modules, own lockfile): frontend/shared/vite.ts gives its Vite config the alias and makes the packages the shared files use (react, axe-core) resolve from the app's node_modules, and each tsconfig.json mirrors that with paths. The panel keeps its own Icon.tsx, icons.ts and i18n.ts (they differ from the small apps'). Verify in each app: npm run typecheck && npm test && npm run build.

A shorter, clearer sidebar

  • Collapsible groups. Each sidebar heading (Server, Business, Accounts, Hosting, Email, Security, System, Support …) folds: the group of the screen you're on is open, the others closed until you open them (remembered in the browser). Ninety entries no longer scroll past; Ctrl+K still jumps to any screen (shell/Shell.tsx SideGroups).
  • Clearer names where two entries read alike: Malware & web firewall → Security overview (next to Malware and Web firewall control), Top sites by traffic → Top websites (next to Top accounts), Server & updates → System updates (next to Hfog Panel updates), Licences → Licence keys (next to Licensed servers), and, from the previous entry, the Business group opens with Overview and the licence server's dashboard is Licence server. Routes, addresses and docs links are unchanged; the labels are translated in 20 languages.

Business / Billing group: Overview first

  • The Business screen (accounts, revenue, churn and plans over 6, 12 or 24 months) is now called Overview and is the first entry of its group — Billing on a paid server, Business on the official edition. On the official edition the licence server's own dashboard (route superadmin) is called Licence server instead of Overview, so the two no longer share a name. Docs and the page titles follow.

Business group: every screen in the sidebar, no tabs

  • On the official edition the Business group now lists all eight screens — Overview, Installs, Downloads, Licensed servers, Packages, Invoices, Licences, Plans & pricing — as entries of their own, and the tab bar that linked them at the top of each screen is gone (svc_web.go PanelMenu; SaTabs in the interface renders nothing). TestLicPlans… checks the menu entry instead of the tab.

Screen addresses as paths

  • Every panel screen has a path address: https://srv.<domain>:<port>/security/malware-admin, /accounts/accounts, /email/mail-log, /account/profile … — /<group>/<route>, the group being the sidebar heading the screen sits under (the administrator's sidebar first, then the reseller's, then the customer's), or /<route> for a screen under no heading (/login). The interface writes these addresses in every link and in the address bar (frontend/panel/src/lib/router.ts: routePath, routeOfPath, canonicalize; the groups come with the start-up data as Boot.groups), the server answers them (internal/panel/routes_paths.go, svc_index.go servePage), and a path with another group or no group still opens the screen. The classic /?r=<route>&… keeps working everywhere — bookmarks, emails, the server's own links and redirects — and is shown as its path once the interface runs. Tests: TestRoutePaths, test/router.test.ts.

One email address per login

  • A panel login's contact email must be unique — creating a hosting account, a reseller or a staff member, changing an account's contact email (Server Admin › Accounts, or the account's own Profile), the token API's account creation, a paid order's new account and an imported account are all refused with "That email address already belongs to another account." when another login (any role, any status) has that address, compared case-insensitively (Ctx.EmailInUse, svc_hosting.go). Password resets and sign-in help find a login by its email, so two logins with one address were ambiguous. Existing duplicates are not changed; they only block a new one. Mailboxes, domains, databases, FTP, Web Disk, team logins and the rest already refused duplicates (TestAccountCreateRefusals covers the new case).

Commands renamed: hfog-agent is the administrator's command, hfog-agentd the root agent

  • hfog-agent is now the administrator's command line (hfog-agent dns-setup, hfog-agent licence sync, hfog-agent company-mail apply, hfog-agent apache-fix …); it was hfog-server. (The old names were links at first; see "hfog-agent is the only server command".)
  • hfog-agentd is the root agent the panel runs through sudo (agent/hfog-agentd, /opt/hostfog/bin/hfog-agentd); it was hfog-agent. update.sh moves a running server over: it points the panel's agent setting and /etc/sudoers.d/hostfog at hfog-agentd before anything calls the agent, and removes the old root binary so the name is free for the command's link. Every script, test, document and interface text uses the new names (tests/checks/os-agent.sh, security-agent.sh and check-lang.py pass; security-agent.sh's four import helper checks named the helpers folder without the file and always failed — fixed); the panel interface must be rebuilt (build.sh) for its texts to show them.

Web server profiles: "server_tokens directive is duplicate" fixed

  • Applying a web server profile left nginx.conf's own server_tokens off; in place, so nginx refused to start or reload with "server_tokens" directive is duplicate in /etc/nginx/conf.d/00-hostfog-profile.conf:4. The agent's sed that comments out nginx.conf's server_tokens, keepalive_timeout and client_max_body_size used / as its delimiter while the replacement text held the profile's path (/etc/nginx/conf.d/…), so it failed with "unknown option to s" and changed nothing (agent/lib/91-webprofile.sh; | is the delimiter now). The profile apply also repairs a duplicate on its own: when nginx -t reports one, the other copy in nginx.conf is commented out and the test runs again. install.sh no longer re-enables server_tokens off; in nginx.conf on a server that already has a profile.

The API has no port of its own

  • https://api.<domain>/v1 on 443, and nothing else to open. The separate API port (2087, COMPANY_API_PORT) is gone: build.sh asks only the panel port now (--api-port removed; COMPANY_API_PORT stays 443 in config and is not asked), every address the panel, the agent, the installer, the update, the CLI tools, the SDKs, the WHMCS and Blesta modules and the docs print leaves the port out (company.APIHostPort, Ctx.apiHostPort, api_url in the agent, api_addr in the installer), the firewall and SELinux steps open only 80, 443 and the panel port, and the PHP client never writes :443. A server whose config already has another api_port keeps it (its addresses still show the port); update.sh still pins old servers to the port they always used.
  • A browser on the API gets "Access denied". Opening any API address in a browser (a navigation, or a request that accepts HTML, without an Authorization header) gets a dark "Access denied" page (403) that says the address is an API for programs and points at the panel's sign-in; programs, fetch/XMLHttpRequest calls with a token, the desktop app, webhooks, cluster and licence checks are unchanged. Tests updated (allinone_test.go, apihost_test.go, company_ports_test.go, tests/checks/apihost.py, check-installer.sh, real-install.sh, the integration tests).

Customer account on the website

  • /account: sign up, sign in, forgotten password, and every licence in one dashboard. A customer creates an account with their email and a password, confirmed by a 6-digit emailed code (the email decides which licences the account sees, so it is confirmed first); one account per email — a sign-up with an email that already has one is refused with "An account with this email already exists". The dashboard lists every licence bought with that email — plan, status, paid-until, server, monthly price — each with Manage, which opens the existing /licence/manage (renew, change plan, move server, payment) without an emailed link. Forgotten password: a code, then a new password. Buy a licence on the dashboard is a three-step wizard — plan (or the free trial), server IP and coupon, review and pay: a trial starts at once (the account's email is already confirmed), a paid order goes to Stripe or PayPal and the licence appears on the dashboard pending, then active and emailed when the provider confirms; the shop's thank-you address sends a signed-in customer back to the dashboard, which shows the new key with its install command. Every licence lists the panels and modules it includes. Route account is public in routes_table.go (without it the page framework asked for a panel sign-in). Rate limits per IP on sign-up, sign-in, codes and resets; passwords bcrypt-hashed; a new session id at sign-in. New table site_accounts (schema.sql, created by update.sh); internal/panel/page_account.go; the website's Your licences link now opens /account; nginx passes /account through on the website (website.nginx.conf, setup-template.sh) and the pay portal serves it; docs in Licensing › Your account; tests TestAccountSignupAndDashboard, TestAccountSignInAndReset, TestAccountWizardTrial, TestAccountWizardBuy.

Sharing needs your own MySQL root password

  • Hfog Server refuses to share a site while MySQL root still has the default password (password), as it already did with no password: anyone can guess the default. Change it in Databases › Root password. shareAllowed in backend/os/share.go; TestShareNeedsRootPassword covers it; docs updated (sharing, free links, databases, the share tutorial).

DMARC policy "reject" by default

  • New DMARC records use p=reject (was p=quarantine): mail that fails both SPF and DKIM in the domain's name is refused instead of sent to spam — full protection against spoofing, and no more "enable a reject policy" warnings in DMARC checkers. Applies to the server's own domain (OwnZoneReports, hfog-dns-setup / hfog-server dns-setup), customers' mail domains, the Deliverability fix button and the DNS hints in Email › Domains. The panel's own earlier record on the server's domain (p=quarantine, strict or relaxed) becomes v=DMARC1; p=reject; rua=mailto:dmarc@<domain>; adkim=r; aspf=r on update; a record someone wrote by hand is left alone. Domains whose DNS is elsewhere: copy the new value from hfog-server dns-setup. Set SPF and DKIM first.

Forgotten password in Files and DB Studio on their own address

  • "Forgotten your password?" stays on fm.<domain> and dbs.<domain> — the sign-in pages of Files and DB Studio no longer send people to the Control Panel (cp.<domain>/?r=forgot). The reset runs in the app itself: username or email → the emailed 6-digit code → the new password (a choice of login when one email has several), then back to the sign-in page. Same reset as the panel's (one email with code and link, the same limits, lock-outs and password rules; hosting accounts only). New addresses POST /api/v1/forgot, /forgot/code, /forgot/password in both apps (internal/files/forgot.go, internal/studio/forgot.go, panel side internal/panel/files_forgot.go); tests in Go and Vitest.

Mail on mail.<domain> in the installer summary

  • Mail address in the one-file installer summary — the publisher's server summary and the website's /mail redirect now point at https://mail.<domain> (Mail's address since 1.0.0) instead of webmail.<domain>.

Short default addresses, billing pages and payment webhooks on their own names

  • A new install uses short names: Server Admin srv.<domain>, Control Panel cp.<domain>, Reseller Panel rs.<domain>, Files fm.<domain>, DB Studio dbs.<domain>; api., status. and webmail. stay. The publisher's download server is cdn.<company domain> (installer, updates, the desktop app's downloads). An updated or reinstalled server keeps the names it has (portal_* settings are never renamed; update.sh still gives DB Studio db.<domain> where it had none).
  • New pay.<domain> (hfog-server pay-portal on [NAME]|off, setting portal_pay): only the public billing pages — /order, /pay, /licence, /licence/manage, /licence/partner, /licence/paypal-return, their forms and the styles and icons they load — on port 443; anything else answers 404. Invoice and order links use it once set.
  • New hook.<domain> (hfog-server hook-portal on [NAME]|off, setting portal_hook): only the Stripe and PayPal webhooks (/stripe, /paypal, also the /v1/webhooks/… and old /billing/… paths) on port 443, each refused without the provider's valid signature; anything else answers a JSON 404. The Billing screen shows it as the webhook address. Both come with the separate panels by default (with the plan's API and billing), are added to existing servers by update.sh like api.<domain>, join the certificate and the DNS list.

DNS: the panel's own names in its zone

  • When the server hosts the DNS zone of the panel's own domain, the zone now gets an A record for every panel name (server., panel., reseller., files., db., webmail., api.) and the Hfog Tunnel wildcard (*.port.<domain>) by itself, on zone creation and on the next panel update (DNS defaults version 4). Records the owner changed by hand are kept.