github ancsemi/Haven v3.14.16

6 months ago

[3.14.16]

Fixed

  • Browser cache force-refreshed after status-icon patch series. All ?v= cache-busting strings on script and stylesheet tags bumped so browsers fetch updated files instead of serving stale cached copies from the 3.14.11+ patch set.
  • Message status icons (E2E lock, burn flame) completely reworked in the message layout. Icons were rendering in a right-gutter column that misaligned with compact (grouped) messages and collided with message text on narrow layouts. They now occupy a fixed, right-anchored slot: the lock always sits at right: 8px, the flame shifts left in JS when both icons are present. Covers full-mode, compact-mode, and DM PiP renders. DM PiP fixed slot tightened to avoid excess whitespace when only one icon (or neither) is shown.
  • PiP parent message action controls anchored to outer message box. The reply/react/etc. toolbar that appears on hover for parent messages inside the DM PiP was mispositioned after the inline status icon refactor. Controls are now anchored relative to the outer .message container.

[3.14.10]

  • E2E recovery error messaging overhaul. e2e.syncFromServer() now returns { ok, reason } instead of a bare boolean, distinguishing no-backup, bad-password, network, and error cases. The recovery toast now tells the user exactly what failed and never advises Reset for bad-password or network failures (Reset destroys all encrypted DMs).
  • Recovery toast no longer disappears in 3 seconds. Error toasts from the recovery flow now stay 8-10 s and use the standard opaque toast background.
  • Composer no longer hides behind theme particle effects. .message-input-area given an explicit z-index above the #fx-layers overlay.
  • Burn-after-read indicator cleanup. Removed the orange vertical border-left line on burn-pending message bodies. The compact-mode flame icon is now vertically centered.
  • Manage Servers modal now fills its height when resized.

[3.14.6]

Changed

  • DM channel codes are no longer exposed on the client. The server now strips display_code, code_visibility, code_mode, code_rotation_type, and code_rotation_interval from every DM channel object. The Copy DM Link option has been removed from the DM right-click menu.

[3.14.5]

Security

  • #5348: Third parties could join DMs via channel code or message link. The server's join-channel handler now returns a generic Invalid channel code error for any is_dm channel, making DM codes indistinguishable from non-existent ones.

Added

  • Recover Keys from Backup in the E2E dropdown. The Encryption options menu now has a middle option that re-fetches the server-side encrypted keypair and unwraps it with your password — the non-destructive recovery path.

[3.14.4]

Fixed

  • Threads were still reachable inside DMs. Threads are now removed from DMs at every layer: message toolbar, thread preview block, main-pane click handler, PiP click handler, and the server's send-thread-message / get-thread-messages socket handlers.

Added

  • Add to Channel in the user gear menu. Mirrors the context menu Invite to Channel action from the gear menu.

[3.14.3]

Fixed

  • #5325: Burn-after-read DMs never burned, and the sender saw no flame indicator on their own message. _wireBurnMessages was called with the message element as root and querySelectorAll only matches descendants, so the root's own .message-burn-pending class was never picked up. The wiring now treats the root element as a candidate too.
  • #5347 follow-up: voice participant list still didn't refresh until full client reload. voice-users-update only re-rendered when the event's channelCode matched the currently viewed text channel. Now also re-renders whenever the user is actually in voice on that channel.

[3.14.2]

Fixed

  • Role Assignment Center: per-user permission edits silently reverted on reopen. get-role-assignment-data only sent each role's default permissions back to the modal. Each currentRoles entry now carries an effectivePerms array (role defaults +/- the user's overrides).
  • Role Assignment Center: assigning one role wiped every other role at the same scope. assign-role ran a blanket DELETE before re-inserting. The handler now only replaces the row for this (user, role, channel) tuple.
  • Role Assignment Center: channel pane showed every channel for admins even inaccessible ones. The pane now only lists channels the target user is actually in.
  • Role Assignment Center: Transfer Admin listed as a checkbox permission. The transfer_admin permission had no effect anywhere in the codebase. Removed from the RAC permissions grid.
  • assign-role: customPerms was not validated against the caller's privileges. A non-admin user with promote_user could escalate a target above the caller. The server now drops admin-only perms unless the caller is an admin, and drops anything the caller doesn't currently hold.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.