Skip to content

Helpdock 1.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 18:30
· 90 commits to main since this release
67efc2a

Minor Changes

  • #324 4f8692c Thanks @Docker-Hunterpedia! - Keyboard shortcuts across the admin (M14-01): press ? for the shortcut sheet, g then a letter to open a view or page, e to close the open ticket, a, s, p and t for its assignee, status, priority and tags, and ⌘/Ctrl+Enter to send from the composer (add Shift to send and close). Shortcuts work on an Arabic keyboard layout, and a "Single-key shortcuts" switch in the sheet, saved to your account, turns off every shortcut without a modifier (WCAG 2.1.4).

  • #321 e2f0bff Thanks @Docker-Hunterpedia! - Google sign-in can be limited to your Google Workspace domains: list them under Settings › Authentication › Allowed Workspace domains (or pin HD_OAUTH_GOOGLE_ALLOWED_DOMAINS='["example.com"]'). With a list, only Workspace accounts on those domains sign in, connect or accept an invitation, accounts linked before included (open sessions are not ended), and everything else, Gmail included, sees "This Google account can't sign in here" (oauth-domain-not-allowed). An empty list keeps today's behaviour. An invitation can now be accepted with Google or GitHub instead of a password, when the provider account's verified address is the invited one. The security page's card is called Sign-in methods and shows when each provider last signed you in, a provider account that is not connected yet lands on a screen listing the steps to connect it, and every security email says when the change happened and, for a provider, which provider account it was (M18-07). Migration 0059_oauth_identity_use.

  • #328 30d862b Thanks @Docker-Hunterpedia! - SSO presets (M18-09): a new OpenID Connect connection can start from Google Workspace (OIDC) or Microsoft Entra ID (OIDC). The preset fills the issuer (or the Entra {tenant-id} template, which the form and the API refuse to save unreplaced), the email, name and groups claims, and hints for the email domains, and links to its section of the SSO guide. Later edits stay; nothing about the preset is saved. Because Entra ID sends no email_verified, an OIDC first link now also accepts Entra's xms_edov: true on the email claim, but only from a tenant member (acct 0, never a guest) and only when the connection's issuer names one tenant by GUID in the global cloud (https://login.microsoftonline.com/<tenant>/v2.0, never common, organizations, consumers or the personal-account tenant) and the token's iss and tid match it. Note for operators: an Entra app registration used for OIDC must add the email, xms_edov and acct optional claims. An existing Entra OIDC connection whose tokens already carry xms_edov and acct starts linking by email, and creating accounts when "Create accounts on first sign-in" is on, at the next sign-in after this upgrade: review its Email domains, that setting and Entra's "Assignment required" before upgrading. A Google Workspace connection must use the Internal user type (see the SSO guide).

  • #325 a29d1a6 Thanks @Docker-Hunterpedia! - A built-in bot check that sends nothing to anyone (M18-10, ADR 0052). Channels › Widget › bot check gains a third provider, Built-in (no third party): a proof-of-work challenge the visitor's browser solves in the background, with no puzzle, no script from another host and no CSP host added. It works for the widget's first message and the hosted web form, with a difficulty of Low (the default, about half a second on a mid-range phone) or Medium. A challenge is signed per brand under a key derived from APP_MASTER_KEY, is good for one surface for 15 minutes, and is spent once. The widget fetches challenges from GET /api/widget/:brandId/captcha/challenge; the web form carries one in the page and fetches another from …/challenge on Try again. A brand that never chose a provider now starts on the built-in check when it turns the check on (D-51); a brand that saved Turnstile or hCaptcha keeps it. A 1.0 brand that turned the check on but never saved a provider, whose check was unavailable for lack of keys, now gets the built-in check and works. The check also runs on a site served over plain http://, more slowly, with a JavaScript SHA-256 in place of WebCrypto.

  • #319 19dad3a Thanks @Docker-Hunterpedia! - CAPTCHA and abuse hardening (M18-11).

    Upgrade note for custom widget clients. If your own app or widget renders Cloudflare Turnstile for POST /api/widget/:brandId/conversations (rather than using the bundled widget), it must now render the challenge with action: 'widget-first-message' and cData: '<brandId>'. The api refuses a Turnstile pass whose action or cData differs or is missing, as it refuses a wrong token, so a conversation can no longer be started with a token solved for the web form or for another brand that shares the site key. The bundled widget and the hosted web form (action: 'web-form') already do this. hCaptcha has neither field and is still bound by hostname only. Refusals are logged at warn as CAPTCHA refused with the provider's error codes (action-mismatch, cdata-mismatch, hostname-mismatch), never the token.

    Also in this release:

    • Sign-in link and password reset requests have their own per-IP budget, 30 per 15 minutes (email-dispatch-ip), and no longer spend the sign-in budget of the same address.
    • The help center's "Was this helpful?" post is limited to 30 per 15 minutes per IP and brand (hc-feedback-ip), answered 429.
    • The operations guide lists every rate_limit_refusals_total bucket, and a test keeps that list complete.
  • #335 04ed000 Thanks @Docker-Hunterpedia! - Add assignment, status, merge, message, contact and account webhook events, with a per-endpoint opt-in for internal note bodies and grouped event selection in English and Arabic.

  • #333 c0b599b Thanks @Docker-Hunterpedia! - Notification email is paced (M14-10): Right away email waits two minutes and gathers what arrives, backs off while more keeps coming, and is capped at six an hour and forty a day per person and brand; mentions, SLA breaches and escalations may cut the wait. People can choose an hourly or a daily digest per brand, or Off, and pause email and push. Every row is checked again before its email goes (unread, still in the person's departments, not paused or off), nothing is emailed while the person is online for up to fifteen minutes, and opening a ticket reads its notifications. Existing accounts move from one email per notification to Right away (batched) on upgrade. Pacing is tunable with HD_NOTIFY_EMAIL_*.

  • #338 4cc446c Thanks @Docker-Hunterpedia! - Add external-proxy, Dokploy, Coolify, Render and DigitalOcean deployment templates and an operations guide. Managed platforms require the documented provisioning and edge configuration steps.

  • #329 26fd080 Thanks @Docker-Hunterpedia! - Reports: two new cards. Volume by tag counts the tickets created in the range per tag they carry now, the 20 most used, with a volume_by_tag CSV of every tag. Backlog by status counts the tickets open now per status, each with how many nobody is assigned, and the unassigned share of them all. Both follow the reader's department scope and the department, channel and agent filters, and show tag and status names in Arabic where the brand wrote one.

  • #323 8779927 Thanks @Docker-Hunterpedia! - Tickets: every ticket now records how it arrived — the mailbox and the address written to, the widget, the web form, the Telegram bot, the WhatsApp, Messenger or Instagram account, an API key, a person, a continuation or an import — and the details panel gains "How it got here": one line by default, and on opening, the arrival and every automatic department, team, priority and assignee change up to the first change by a person, each naming its rule ("a rule since deleted" when gone), AI triage or the assignment mode. Read through GET /api/brands/:brandId/tickets/:ticketId/routing, under the ticket's department policy.

  • #334 537ed28 Thanks @Docker-Hunterpedia! - Add SLA due sorting to ticket lists and saved views, with oldest breaches first, then soonest running due times, then tickets without a running clock. Add the indexed generated next-due column and the admin Sort menu and view editor option in English and Arabic.

    Upgrade note: adding the generated STORED column rewrites tickets under an exclusive lock, and the index is built without CONCURRENTLY. Large installations should expect a pause during the upgrade and schedule a maintenance window.

  • #320 dda2211 Thanks @Docker-Hunterpedia! - Passkey foundation (M18-01, ADR 0050): the webauthn_credentials table and users.webauthn_user_handle (migration 0058), the passkey relying party taken from APP_URL and pinned in auth.webauthn.rpId by the first successful registration, single-use purpose-bound ceremonies in Redis (every purpose but passwordless names its person), attestation limited to none or a packed self-attestation, framed answers refused, and @simplewebauthn/server 14.0.3. GET /api/auth/methods now also reports passkey and passkeysPaused. No route registers or accepts a passkey yet; that comes with the rest of M18. Note for operators: once passkeys are in use, moving APP_URL to another host pauses every passkey, because each is bound to the host it was made on; staff then add theirs again.

Patch Changes

  • #342 8ba9ef7 Thanks @Docker-Hunterpedia! - Use shared font families across the admin, emails and API docs; select the Arabic UI face on language switch and keep admin sizes on the design scale.

  • #354 b117a3f Thanks @Docker-Hunterpedia! - Fix ticket-list header overflow at 360 px in English and Arabic, prevent Sort and Filter tooltips from blocking view actions after menu dismissal, and derive the webhook test event count from the schema.

  • #352 d2edb46 Thanks @Docker-Hunterpedia! - Make Assignment agent rotation and skill edits respond immediately, rolling back with an error toast when saving fails.

  • #346 d80b9fe Thanks @Docker-Hunterpedia! - Allow inbound email parse webhooks through both bundled Caddy configurations on the API and admin hosts, while keeping other internal routes private. Existing installs must update their selected Caddyfile and restart Caddy to receive parse webhooks.

  • #356 f3c430c Thanks @Docker-Hunterpedia! - Repair notification and lifecycle test fixtures, register production webhook subscribers in the shared ticket outbox test setup, and make Compose validation independent of interpolation order.

  • #344 c898b9b Thanks @Docker-Hunterpedia! - Count only failed staff sign-ins, isolate SSO budgets, and return actionable rate-limit refusals.

  • #341 317e6e8 Thanks @Docker-Hunterpedia! - Fix horizontal overflow and heavy scrollbars in the admin sidebar, with clipped-edge cues and keyboard access on short windows in English and Arabic.

What's Changed

Full Changelog: v1.0.3...v1.1.0