This is an early access build. Servers get it only with Settings > Admin > "Early access updates" turned on, or the :beta Docker image.
Changes since 4.32.0-beta.2:
Added
- Custom emojis uploaded from a browser with fingerprinting protection (LibreWolf, Mullvad, Firefox with resistFingerprinting) no longer come out as colored noise. The browser scrambles the cropped picture, so Haven now notices and uploads the picture whole instead (#5983).
- The reaction picker and the quick reaction editor list the server's custom emojis at the top instead of at the very bottom (#5985, thanks Amnibro for the editor).
- Voice says when it cannot reach someone. When a voice or screen share connection to a person in the call cannot be made (the usual cause: a server shared through a tunnel with no TURN server), both of you get a notice naming the other, a warning mark sits next to their name, and Details explains what failed and what to do. An admin gets a button straight to the TURN setting (#5973, thanks Amnibro).
- The right-click menu works on messages in threads, forum topics and the pop-out DM window (#5975, thanks Amnibro).
- A message the server refuses stays in the box, with the reason shown above it, instead of vanishing (thanks Amnibro).
- Ephemeral bot messages, the ones only one person sees, can carry buttons and dropdowns, and clicking them works as on any message. A bot account can send them too now, with
ephemeral: trueand arecipientId. The bot can change the message's text, embeds and buttons for 15 minutes after it was last sent, clicked or changed. As before, nothing is stored and the message is gone once the person reloads. See "Ephemeral messages" in GUIDE.md. - A bot's embed can have a gradient edge to match gradient role colors:
color2next tocolormakes the edge run from one to the other. An embed with onlycolorlooks as before. - Pictures in a bot's embeds work like pictures posted in chat. A click opens them full size, where they zoom and pan, and the arrows step through the channel's pictures with them. They get the picture right-click menu and middle-click opens a new tab. Hide pictures and videos, and hiding one picture, cover them too.
- Widgets in bot embeds: a slider, a toggle, a live countdown and a progress bar that sit on the line with the text, anywhere in the title, description or a field. The bot hears where someone lets go of a slider and when they flip a toggle. A countdown ticks every second, and the bot can add or take off time by editing it. A progress bar takes the theme's color, or the bot's own colors and gradient. An embed's title now takes formatting like its description: headings, colors and the rest. See "Widgets" in GUIDE.md.
- A bot account's buttons, dropdowns, widgets and forms work in a DM with it, as they do in a channel, and it can send ephemeral messages there too. Its embeds already showed in DMs, but nothing on them could be clicked. Bots can also send ephemeral replies in threads and forum topics now, a webhook with
thread_idand a bot account withsend-thread-message. - The audit log now records a moderator's note on a member, with its text, a new sign-up, a banned member's appeal, with its text, a member deleting their own account, and a moderator editing or deleting someone else's calendar event. A note never shows to the member it is about, even one who can read the log, the same as in their own moderation history. A deleted account is named by id and username, whoever deleted it, and a bulk cleanup lists every account it removed instead of only how many. Warnings, kicks, mutes and bans on the log also carry the id of the moderation history record they made, so a bot keeping its own copy can tell which record a later revoke takes back.
- Bot accounts can follow the audit log live, for a mod log or a member's history. A bot with View Audit Log and its new "Stream audit log events" switch on (Settings > Bots & data > Manage Bots, off for every bot to start) subscribes, picks the actions it wants, and gets each entry as it is written, shaped as the log shows it: channel codes hidden unless it is the admin, and no note about itself. Only someone who can edit the bot and read the log turns the switch on, and only once the bot has the permission; a bot that loses View Audit Log has the switch turned off at once and is dropped. It catches up on what it missed while offline with the log's new afterId, which pages forward. Audit log times now end in Z, so they read as UTC everywhere. See "Bot Accounts" in GUIDE.md.
- Bot accounts with the same switch on can hear when a message in a channel they can read is deleted or edited: which message, whose it was, who deleted it, how and when, with any thread replies that went with it. The text comes too only while the server logs messages (below). DMs and groups never reach a bot. See "Bot Accounts" in GUIDE.md.
- Audit Log is its own page in Server Admin. The member box looks people up as you type, by name or, with ID ticked, by id, in a list with their picture, name and id, and shows everything they did and everything done to them. Logs on a member's menu opens the Audit Log that way, or their Message Logs, and "Moderation history" on that menu is now "Add mod note".
- Logging, on the Audit Log page: the admin can have Haven keep deleted messages, and every earlier version of an edited message, for moderators for 0 (off, the default) to 90 days, one setting for both. Deletes by the author, by a moderator, in a bulk delete, a member deleting all their messages, a moderator removing someone's messages, accounts deleted with their messages, webhooks and self-destructing messages are all kept, with their files; DMs and group DMs never are. Auto clean removes them when their time is up, with nothing to set up. While messages are logged, the Content page's deleted file and self-destructed file options follow the logging setting and are grayed out, and members are told how long their messages are kept when they delete one, delete their account or set a self-destruct timer.
- Message Logs, on the Audit Log page, for anyone with View Audit Log, covering the channels they can read: everything, only deletions or only edits, for one member or all, with who wrote it, who deleted it and how, a table of every edit, and the files, pictures and videos shown in place and each named with where it sits on disk. Anyone who can see an entry can preserve it so it is never deleted automatically; only the admin takes the mark off, and the admin can wipe everything kept from one member.
- The automod log channel setting is replaced by the Events channel. A server that had an automod log channel gets no automod posts until an admin picks an Events channel on the Audit Log page; it is not carried over on its own because the Events channel posts every audit log entry, moderator notes included, so the admin should choose who can read it.
- An Events channel, on the Audit Log page: every audit log entry is posted to a channel the admin picks as it happens, as an embed with who did it, the colour of their name and what happened. Each links to its entry in the audit log, and one about deleting or preserving messages links to them in Message Logs while they are kept. It replaces the automod log channel, since automod's blocks, mutes and bans are on the audit log already.
- Message counts for staff and the bots they run. get-member-message-stats gives one member's messages by kind (channel messages, thread replies, forum topics and replies) with the time of their first and last, and get-message-activity gives how many messages went to the channels you can read, by day and by hour, in your time zone. Counts only, never the messages or who someone writes to. DM and group DM counts are given only to the member themselves, never to staff. Someone else's counts take what a member's moderation history takes: kick, mute or ban members, or View Audit Log. The first start after updating builds an index of messages by author, which can take a moment on a large server. See "Bot Accounts" in GUIDE.md.
- For bots, ban-user, get-user-profile and get-user-roles now answer a callback with the result, or the reason it was refused, so a bot no longer has to read the toast or wait for a separate event. The app works as before.
Changed
- Times on bot embeds and in the audit log read as relative ("5 minutes ago"), in the bottom right corner, with the full date on hover, and stay current.
- The audit log keeps the id and real username of whoever acted and of a member acted on, also after the account is deleted. It shows their display name while the account exists and the username once it is gone, so renaming or deleting an account no longer hides who did what. Older entries get usernames filled in for the accounts still here.
- The bar of buttons that appears when you hover a message now sits in the same place every time, the bottom right corner. It used to jump next to the reactions once a message had any.
- Escape closes the pop-out DM window. A reaction picker or a reply you started takes the first press, and a message you have half typed keeps the window open so a stray key does not hide it.
Fixed
- Security: updated the pattern-matching and live connection libraries to their latest patch releases after new advisories.
- A layout plugin such as Channel Tabs could take 20 seconds or more to rearrange the sidebar after the page opened, showing Haven's plain sidebar until then, in the browser and in the desktop app. Plugins and themes waited for every picture on the page to finish loading, including the icons of the other servers in your server list, so one slow or offline server held them back until its connection gave up. They now start as soon as the app does.
- A server added as localhost on one computer showed up as a dead entry on your other devices, and removing that dead entry there took the real server off the computer it runs on. A localhost address now stays on the machine it was added on: it is not synced to other devices, and a removal made elsewhere cannot touch it.
- A server that changed address, or has two, could sit in your server list twice (the Haven community server did after its move to community.haven-app.com, when another device still had the old address). Haven now notices, asks which address you want to keep, and removes the other everywhere.
- The copy buttons for a bot's token and a webhook's address could do nothing at all, with no message, on a server reached over plain http or when the browser refused. They now fall back to the older way of copying, confirm with a toast, and say so when the copy could not be made.
- In the Webhooks window, Save Changes and Delete were at the bottom of the scrolling settings, out of sight until you scrolled all the way down. They now stay in view under the settings, and the Save button itself says Saved when the change goes through.
- Settings > Admin > Manage Webhooks did nothing when clicked in the early access builds. The new bot forms had taken over the function that opens it.
- The pop-up for a new ban appeal reached only the server admin, though anyone with Ban Members can read and dismiss appeals. It now reaches all of them, bot accounts included.