Skip to content

Releases

rim-server 0.0.12

Choose a tag to compare

@github-actions github-actions released this 01 Dec 22:24
v0.0.12
2dd12c8

Added

  • A message an agent posted carries Message.postedVia = AGENT (MessagePostedVia), so clients
    can show a small mark next to it: a chat.post_message or chat.reply_to_selected_message
    call of executeCommand with the initiator AGENT, directly or as a step of a macro the agent
    ran. The mark stays when the message is edited; every other way of posting leaves it null.
    Message events carry it as message.posted_via. serverInfo.capabilities lists
    message_posted_via (docs/messaging.md, docs/command_model.md,
    docs/specs/agent-data-flow-v1.md).

Security

  • actix-http 3.22.1 and actix-web 4.20.0 fix RUSTSEC-2026-0552 (a bare LF in chunked
    trailers consuming pipelined requests or stalling the body), RUSTSEC-2026-0553 (malformed
    quoted chunk extensions ending a request body early) and RUSTSEC-2026-0554 (partial requests
    on a keep-alive connection getting past the request header timeout).
  • lettre 0.11.24 fixes RUSTSEC-2026-0560 to RUSTSEC-2026-0565 in outgoing email: forged SMTP
    replies through STARTTLS response injection, SMTP command injection through missing
    dot-stuffing, mail for a quoted local part going to another address, panics on a blank
    EHLO line or a display name with CR or LF, and unbounded buffering of an SMTP reply.
  • url 2.5.9 fixes RUSTSEC-2026-0592 (stack overflow in Url::origin() on nested blob:
    URLs). A server stays affected by these until it runs a release with these lines.
  • RUSTSEC-2026-0594 (cookie 0.16 private cookie nonces repeating after fork()) is listed as
    not affecting the server in .cargo/audit.toml: actix-web 4 has no release on the fixed
    cookie 0.18.3, but the server never builds the encrypted cookie jar and never forks.
  • curve25519-dalek 5.1.0 replaces 5.0.0 for RUSTSEC-2026-0620 (wrong results from scalar
    multiplication in the AVX-512 backend). The 4.1.3 copy the MLS and OPAQUE crates pull in is
    listed as not affecting the server in .cargo/audit.toml: in 4.1.3 that backend is compiled
    only by a nightly compiler, and the server builds on stable Rust.

Image

ghcr.io/rim-platform/rim-server:0.0.12 (sha256:91d721898d596237dbcb91a0bbb0fe51a5336de521701dab124d7787e6d85a7d), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.12 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.12" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.12.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:91d721898d596237dbcb91a0bbb0fe51a5336de521701dab124d7787e6d85a7d --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.12 (sha256:17af36748ca2a709cbb381d4f626401fb66625e2edd0e365a29344f1292851eb), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.12.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:91d721898d596237dbcb91a0bbb0fe51a5336de521701dab124d7787e6d85a7d.

rim-server 0.0.11

Choose a tag to compare

@github-actions github-actions released this 14 Nov 14:13
v0.0.11
f984dc6

Security

  • An account's password is no longer locked after ten wrong tries, so it no longer needs a reset
    with the recovery phrase: an account takes ten password login starts an hour, and a start past
    that is refused with RATE_LIMITED and the seconds until the hour's window ends. Each start
    still counts against its address too. PASSWORD_LOCKED is no longer sent, and a password
    locked before takes logins again (docs/specs/key-identity-v1.md).
  • executeCommand checks capabilities and timeouts in, and writes its audit row to, the
    workspace the command acts on (its server_id argument, else commandContext.workspaceId). A
    call whose commandContext.workspaceId names another workspace than its server_id argument
    is refused with VALIDATION, and a row goes to a workspace's log only when the caller is a
    member there (docs/command_model.md, Target workspace).
  • When someone stops being an Owner or Moderator of a workspace (made a Member or Guest, kicked,
    banned or leaving), or their account is blocked on the instance or deleted, the bot tokens and
    incoming webhooks they could still hold there are revoked: those of the bots they created and
    those they made for other bots. They show as revoked in botTokens and incomingWebhooks, and
    the workspace's audit log records it as bot.revoke_on_role_loss (docs/specs/bots-v1.md).
  • A signup whose proof-of-work fails no longer uses up one of its address's open signups.
  • GET /api/sdl serves the schema rendered once at start, with Cache-Control: public, max-age=300, instead of rendering it again for every request.
  • A GraphQL request runs at most 32 query root fields, counted across its batch with each
    alias, repeated field and fragment expansion, with or without a session and when forwarded
    by another server. A request over it answers one TOO_MANY_ROOT_FIELDS error and runs
    nothing (docs/api.md, "Limits").
  • remoteServer and remoteIdentity fetch discovery documents within limits: 10 fetches a
    minute per user and 60 a minute for all explicit pins, a fresh pin of an origin answered
    without a fetch, and a failed fetch answered from memory for 5 minutes. One request runs at
    most 4 of remoteServer and remoteIdentity together (with previewWebhookFormat, below);
    past a limit they answer RATE_LIMITED or TOO_MANY_ROOT_FIELDS
    (docs/specs/server-to-server-v1.md, "Pinning a peer").
  • Server-to-server requests naming servers this server does not know no longer use up the
    discovery budget for everyone: their fetches count against the sending address, 5 a minute,
    first pins and refetches of pinned peers each have a budget of their own, and an id that
    failed to pin from an origin is not fetched from it again for 5 minutes.
  • A webhook format reads at most the first 1,000 characters of each value and stops filling a
    message once it is past the length it can post, so a large delivery or preview costs no more
    than a short one, and one request runs at most 4 previewWebhookFormat fields together with
    remoteServer and remoteIdentity (docs/specs/bots-v1.md).
  • A plugin bundle link download runs one at a time per account and stops after 30 seconds, so a
    few accounts cannot hold every download slot (docs/specs/web-plugins-v1.md).
  • Attachments of a deleted message can no longer be downloaded, and an hourly job deletes their
    files (those of a reported message stay for the report).
  • An upload ticket lasts 5 minutes instead of 15 and an account holds at most 5 open tickets, so
    unused tickets can no longer hold a workspace's storage quota.
  • Link previews keep at most 300 characters of title, 1,000 of description, 100 of site name and
    2,048 of image address, and fetch each distinct address of a message once. Finding the addresses
    in a long message no longer takes time that grows with the square of its length.
  • Webhook test sessions are limited to 3 an account, so a few accounts can no longer hold every
    session on the server, and they no longer keep X-Forwarded-For, X-Real-IP and similar
    headers that carry the sender's address.
  • A value a webhook fills into a post no longer turns into a link; only the link of the format's
    link field does.
  • The operator command line writes control characters in user-written text (such as an abuse
    report's reason) as escapes instead of sending them to the terminal.
  • Plaintext attachment downloads and a host's answers forwarded by a relay carry
    X-Content-Type-Options: nosniff and a sandboxing Content-Security-Policy; forwarded answers
    that are not JSON are served as downloads.
  • Both Caddyfiles send Strict-Transport-Security: max-age=31536000.
  • Upgrade: rim-deploy requires the image's signature to come from the release workflow run
    at the commit the tag points at, and installs that commit's deploy/ files, so a moved tag
    installs nothing; --check never deploys a release older than the running one. The host needs
    git (for git ls-remote). Install the new rim-deploy on the host as deploy/README.md says.
  • upgrade.sh and rim-deploy write the digests their signature checks verified
    (RIM_SERVER_DIGEST, RIM_IMAGECHECK_DIGEST, RIM_WEB_DIGEST) into .env, so compose runs
    exactly those images, and the third-party images in the compose files are pinned by digest.

Image

ghcr.io/rim-platform/rim-server:0.0.11 (sha256:4e1ffddec7327ec826bbff9208e274b0dd601461a3308b8035f8ff0c896b6fb8), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.11 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.11" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.11.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:4e1ffddec7327ec826bbff9208e274b0dd601461a3308b8035f8ff0c896b6fb8 --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.11 (sha256:a40fd35f6e025bd9535181dfa5a3284e3d833dff2094ff6d227d4de1017e5466), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.11.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:4e1ffddec7327ec826bbff9208e274b0dd601461a3308b8035f8ff0c896b6fb8.

rim-server 0.0.10

Choose a tag to compare

@github-actions github-actions released this 14 Nov 00:12
v0.0.10
3ad5253

Changed

  • The built-in AI agent is called the assistant in command titles: workspace.open_agent is Open
    Assistant, settings.open.agent is Settings: Assistant, settings.open.plugin_ai is Settings:
    Assistant's Plugin Commands and agents.allow_in_encrypted_conversation is Let the Assistant
    Read This Conversation…. settings.open.bots is Settings: Bots & webhooks, the Agents category
    describes the assistant and the agents on your computer, and Browse Plugins says what Settings >
    Plugins offers. moderation.block_principal and moderation.unblock_principal are Block
    Account… and Unblock Account…. Command ids are unchanged, so keybinds and macros keep working.

Fixed

  • Link previews no longer include the punctuation that ends a sentence (a period, comma or
    closing parenthesis) in the address they fetch, so a link at the end of a sentence shows its
    page instead of "Page not found". Parentheses inside an address are kept.

Security

  • A relay answers 400 bad_request to /api/remote/<hostServerId>/<path> when the path has a
    . or .. segment (also percent-encoded, in any letter case), an encoded slash or backslash,
    or a control character, and sends nothing to the host. Before, such a path could reach other
    server-to-server endpoints of the host than /forward/, signed by the relay. The
    server-to-server client also refuses any request whose path a URL parser would change, so no
    caller is sent to another path than the one it names (docs/specs/server-to-server-v1.md,
    "Forwarding").

Image

ghcr.io/rim-platform/rim-server:0.0.10 (sha256:2bd500df2d9dce1765908a1bac4ebe22dd3bc36e111e9f6ee475d0c868f05261), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.10 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.10" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.10.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:2bd500df2d9dce1765908a1bac4ebe22dd3bc36e111e9f6ee475d0c868f05261 --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.10 (sha256:9b853cf57ab0ce8c4362f01f0571f44c95671f30cc790160ee69ab95d3e20533), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.10.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:2bd500df2d9dce1765908a1bac4ebe22dd3bc36e111e9f6ee475d0c868f05261.

rim-server 0.0.9

Choose a tag to compare

@github-actions github-actions released this 12 Nov 10:59
v0.0.9
beb5a48

Added

  • The agent contract (docs/specs/agent-data-flow-v1.md) now covers agents the desktop app starts
    and installs and connecting an agent from the app, and keybinds can name the new agent session
    commands (agents.connect_agent, agents.start_session, agents.stop_session,
    workspace.open_agent_sessions, agents.ask_about_message, agents.ask_about_conversation).
  • Keybinds to app commands, the commands the client runs itself such as Open Home, Open Unreads
    and Toggle Notifications: createKeybind and updateKeybind accept their ids for personal and
    workspace keybinds, so those bindings sync across devices and a workspace can share them. The
    server never lists, runs or offers them to an agent (docs/command_model.md, App Commands).
    Listed in serverInfo.capabilities as app_command_keybinds.
  • Five built-in commands for what the GraphQL mutations already do: chat.unpin_message,
    chat.set_topic, admin.clear_timeout, notifications.mute_conversation and
    notifications.unmute_conversation. Each keeps its mutation's rules and falls back to the
    focused conversation (and, for unpinning, the selected message). The mute takes 1h, 8h,
    until_tomorrow (09:00 tomorrow in the timezone of the caller's do-not-disturb window, else
    UTC), forever or an until time. The agent may call all five, each after the person
    confirms; the AI-callable set grows from 42 to 47 (docs/command_model.md).
  • Keybinds can name the next app commands the client adds: opening each settings tab
    (settings.open.*), window, update and sign-out commands, message selection and editing,
    invitations, lenses, Unreads, moderation, bots and webhooks, plugins, people actions, and the
    agent commands, including approving or refusing an agent's request or pairing
    (docs/command_model.md, App Commands).
  • Home layout: a signed-in person's Home is saved on their own server, one layout per account, so
    every device shows the same boxes in the same order (homeLayout, saveHomeLayout,
    resetHomeLayout, docs/home-layout.md). The edit made last wins: a save carries editedAt, and
    one older than the stored layout answers kept: false with the stored one. The server checks the
    layout's shape and size only, keeps no audit entry and never logs it, and the account purge removes
    it. Listed in serverInfo.capabilities as home_layout.
  • Webhook test sessions: an Owner or Moderator can see what a service really sends, held in memory
    for at most an hour and readable only by them (startWebhookTestSession, webhookTestDeliveries,
    endWebhookTestSession, specs/bots-v1.md). A new webhook's test URL posts nothing, and saving the
    webhook with CreateIncomingWebhookInput.testSessionId keeps that URL
    (CreatedIncomingWebhook.keptTestUrl). A session on an existing webhook copies its deliveries. Only
    the x- headers a format may use and the body are held. Listed in serverInfo.capabilities as
    webhook_test_sessions.
  • Webhook formats: an Owner or Moderator can say how an incoming webhook turns a delivery into a
    message, with rules that test an x- header or a body field and a text with placeholders, and
    change it later without a new URL (CreateIncomingWebhookInput.template, IncomingWebhook.template,
    updateIncomingWebhookFormat, specs/bots-v1.md). webhookFormats lists the ready-made ones,
    GitHub and Grafana, and previewWebhookFormat tries a format on a sample. Listed in
    serverInfo.capabilities as webhook_formats. The GitHub preset is now the shipped GitHub format,
    so a value from GitHub loses its format characters, such as a bidirectional override, and a pull
    request or issue number sent as a string posts. A server rolled back to a release without formats
    treats a webhook that has one as plain.
  • A pipeline can welcome people: an Owner or Moderator can add a Post as bot action to the Member Joined
    trigger (PipelineActionInput.postAsBot, PipelineActionGql.postAsBot, specs/bots-v1.md). Listed in
    serverInfo.capabilities as pipeline_post_as_bot. A server rolled back to a release without it can't
    read a pipeline that has one, so remove those first.
  • Bots can poll GET /api/bot/v1/events for new messages in their channels and, if allowed, members
    joining. An Owner or Moderator allows it with Bot.seesMemberJoins, in createBot and updateBot,
    and GET /api/bot/v1/me says whether it is on (specs/bots-v1.md). Listed in
    serverInfo.capabilities as bot_events.
  • A conversation can be marked unread from a message, with markAsUnread or
    chat.mark_as_unread, and unreadCounts says where its unread messages begin
    (UnreadCount.unreadAfter). The person's other clients learn of it from a ReadMarkerRewound
    event. Listed in serverInfo.capabilities as read_marker.
  • Incoming webhooks: one URL per channel, bound to a bot, with a GitHub preset for releases, pull
    requests and issues (IncomingWebhook, POST /api/hooks/{token}, docs/specs/bots-v1.md). Listed
    in serverInfo.capabilities as incoming_webhooks. Requests to them have the webhook route class
    in the HTTP metrics, and refused calls over a webhook's limit count as webhook in the rate limit
    metric. Switched off with the bots feature. A reverse proxy's access log can hold these URLs, so
    keep it private (docs/self-hosting.md).
  • serverInfo.capabilities lists bot_disclosure on a server with User.isBot, User.bot,
    ServerMember.isBot and ServerMember.bot, and command_run_id on one with
    ExecuteCommandInput.runId and AuditLogEntry.runId, so a client asks for them only there.
  • A notificationEvents subscription: the viewer's notifications from every workspace on this
    server, on one subscription and with no other events. Listed in serverInfo.capabilities as
    notification_events.
  • executeCommand and executeMacro errors say what kind of refusal they are in a refusal
    extension (DENIED, FAILED, EXPIRED, INVALID), with missing naming a capability the caller
    lacks and retrySafe saying whether repeating a failed call is safe (docs/command_model.md).
  • ExecuteCommandInput.runId and AuditLogEntry.runId, with a runId filter on listAuditLog, link
    an agent's calls in one stretch. CommandInitiator::Agent only. Audit exports gain runId.
  • Macros are the person's own commands, kept with their account on their home server as user
    commands (user.<key>, category Macro). A step may now name an app command or a plugin
    command, not only a built-in the server runs, and may ask for arguments when the macro runs
    (UserCommandStep.ask, UserCommandStepInput.ask). The client runs such a macro step by step;
    executeCommand refuses it with VALIDATION "this macro has steps only the app runs; run it
    from the app". macroStepCommands lists the built-in and app commands a step may name
    (docs/command_model.md, Commands And Macros). Listed in serverInfo.capabilities as
    account_macros.
  • The AI agent may run a macro its owner allowed (UserCommand.aiCallable, nlDescription and
    intentSamples, and the same fields of CreateUserCommandInput and UpdateUserCommandInput)
    when every step is a built-in the server runs and the agent may run itself, with every argument
    fixed. Such a macro is listed
    on the AI surface and by commandDiscover as user.<key> and runs as one call, which the
    person confirms when a step changes something. executeCommand refuses the agent any other
    macro with FORBIDDEN.
  • The UI value of CommandInitiator, for buttons, toggles, dialog actions and Home quick boxes
    that run their command through executeCommand. It is a human initiator: it needs a
    confirmation only for dangerous and Restricted commands, and the audit log shows it as ui
    (docs/command_model.md, Invocation Sources). Listed in serverInfo.capabilities as
    command_initiator_ui.
  • admin.ban takes an optional minutes, and notifications.mute_conversation a duration
    minutes with a minutes count, so macros and agents can ban or mute for a number of minutes
    from now. Listed in serverInfo.capabilities as command_relative_minutes
    (docs/command_model.md).
  • Bot accounts: an Owner or Moderator creates a bot with revocable tokens and a required statement
    of who runs it and where what it reads goes (Bot, BotToken, createBot,
    docs/specs/bots-v1.md). Switched off with the bots feature.
  • A bot API under /api/bot/v1 for reading, searching, posting and polling for mentions, in the
    channels a bot was added to (docs/specs/bots-v1.md). CommandInitiator::Bot appears in the audit
    log. Refused calls over a token's limit count as bot_api in the rate limit metric. A bot gets no
    notifications, digests or pushes.

Changed

  • state.set ttl, state.incr delta and state.list limit are numbers, and numeric
    strings still work; so do the limit of chat.search_messages and chat.get_recent_messages.
    admin.invite_member no longer asks for a person it never used (a user_id is ignored), and
    command titles and descriptions say "Workspace" and use plainer words (Pause Notifications
    for do not disturb).
  • The timeout gate of executeCommand lets a timed-out member run the commands that change only
    their own state, as the GraphQL mutations do: chat.mark_as_read, chat.mark_as_unread,
    chat.leave_conversation and every notifications.* command, and a macro whose steps are all
    of these (docs/command_model.md, Timeout gate).
  • chat.mark_as_read, chat.mark_as_unread and the notifications.* commands write no command
    audit row, nor a row as a step of a workspace macro, since the workspace's Owners and Moderators
    read the audit log and the rows would show a person's reading habits. The audit tracing line is
    still logged (docs/command_model.md, Audit row).
  • Built-in commands are in sixteen f...
Read more

rim-server 0.0.8

Choose a tag to compare

@github-actions github-actions released this 03 Nov 20:24
v0.0.8
7bc08f0

Added

  • MemberTimeoutChanged workspace event when a member is timed out or their timeout is cleared,
    so their open clients lock and unlock at once; only the member's own delivery carries the
    moderator's reason. ServerMember.timeoutReason shows the reason on the member's own entry.
    Listed in serverInfo.capabilities as member_timeout_changed.
  • Removing someone else from a channel is recorded, and conversationMemberRemovals lists a
    channel's latest removals with who removed whom, so clients can show them in the channel.
    Listed in serverInfo.capabilities as conversation_member_removals.

Changed

  • A DM with someone the user blocked is hidden from the user whoever started it, as a DM or
    group the blocked person started already was: out of inboxConversations, workspaceEvents,
    notifications, the digest and unread counts until the unblock.
  • unblockPrincipal also clears what the caller had accepted from that person on this server:
    each DM or group they started stays out of the caller's view until its next event files it
    again as a request holding the invite and that event, so nothing they wrote while blocked
    shows before the caller decides. Audited with cleared_conversations. A conversation hosted
    on another server comes back as it was.
  • Blocking someone also removes them from your contacts.

Fixed

  • A message from someone the user blocks that was still being delivered at the moment of the
    block no longer stays with their request and shows up in it again after the unblock.
  • A pipe's row in the command audit log (listAuditLog) records the strictest sensitivity
    of its stages and is dangerous when any stage is, so chat.mark_as_read | admin.kick is
    no longer logged as a safe action.
  • A message delivered while the relay cleared a lapsed request of a conversation on this server
    no longer stays held by that request, unseen and never invited again; it is removed with the
    rest of what the request held, and a message arriving after the cleanup files the request
    again.

Image

ghcr.io/rim-platform/rim-server:0.0.8 (sha256:639afda824affd32566ae8a25fda06f1d612abb961b211c6000234763cb3a05d), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.8 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.8" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.8.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:639afda824affd32566ae8a25fda06f1d612abb961b211c6000234763cb3a05d --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.8 (sha256:4a069c96973d07bea68b12aa008ee4458dd5348be3cc7e0f8eee22c7c51b6fb1), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.8.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:639afda824affd32566ae8a25fda06f1d612abb961b211c6000234763cb3a05d.

rim-server 0.0.7

Choose a tag to compare

@github-actions github-actions released this 01 Nov 20:36
v0.0.7
20d7764

Added

  • avatar_check in RIM_FEATURES_DISABLED switches the profile picture check off (pictures
    are stored unchecked), as text_art_check does for the text art check;
    serverInfo.features lists it, unavailable without RIM_AVATAR_CHECK_URL.
  • The imagecheck service scores text art (POST /v1/check-text): it draws a message's text as a
    picture and scores it for sexual content.
  • Messages that look like text art (braille, block or ASCII drawings) are scored by the
    imagecheck service after they are sent; a sexual one is flagged, covered for readers, and
    reported to the workspace's moderators and the operators. Owners and Moderators clear a flag
    with clearMessageFlag. RIM_TEXT_ART_CHECK_FLAG sets the threshold (0.60);
    text_art_check in RIM_FEATURES_DISABLED turns it off.
  • Owners and Moderators delete one person's messages in a workspace's channels at once:
    memberMessageCounts counts them (channels the caller reads, and private channels they are
    not in, as numbers only); deleteMemberMessages(serverId, userId, since, includeUnjoinedPrivate) deletes up to 1,000 per call and says whether more remain; the command
    admin.delete_member_messages does the same. Each channel gets one MessagesDeleted event;
    serverInfo.capabilities lists delete_member_messages.

Changed

  • Upgrade: MessageReport.reporterUserId is null for a report the automatic check filed;
    clients read MessageReport.automatic.
  • Upgrade: a migration adds the index idx_message_sent_by_sent_at; on a large message
    table, writes to it wait while the index is built.

Fixed

  • The roadmap reflects the available early releases and current archive destinations;
    self-hosting links explicitly name the relay-only setup guide.

Image

ghcr.io/rim-platform/rim-server:0.0.7 (sha256:e5c52650de416766f04101b171fec13e8e9849930ce842b4a87494eee125af6f), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.7 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.7" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.7.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:e5c52650de416766f04101b171fec13e8e9849930ce842b4a87494eee125af6f --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.7 (sha256:742d3032d5d70a8187c0178d5e8f8d70f2e5b74a704ee2c89c33b82472402256), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.7.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:e5c52650de416766f04101b171fec13e8e9849930ce842b4a87494eee125af6f.

rim-server 0.0.6

Choose a tag to compare

@github-actions github-actions released this 28 Oct 12:42
v0.0.6
a6da5ec

Fixed

  • The desktop app on Windows stays signed in after sign-up or sign-in; before, every request
    after it failed and the app showed "Failed to load workspaces". Over HTTPS, the session and
    CSRF cookies set for the desktop app's origins are SameSite=None.

Image

ghcr.io/rim-platform/rim-server:0.0.6 (sha256:bf0f2e5080753ce089a2a263f48dfad08591f84a8d130abb20b697efa6f124a4), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.6 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.6" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.6.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:bf0f2e5080753ce089a2a263f48dfad08591f84a8d130abb20b697efa6f124a4 --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.6 (sha256:1d43dc5a390ca4301e1b57b9eac10ea94deec55bc9f430e40d5de94ecf3aec11), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.6.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:bf0f2e5080753ce089a2a263f48dfad08591f84a8d130abb20b697efa6f124a4.

rim-server 0.0.5

Choose a tag to compare

@github-actions github-actions released this 28 Oct 07:21
v0.0.5
64c6dea

Added

  • myBlockedPrincipals: the principals the caller blocked, newest first, as
    BlockedPrincipal with the account on this server holding each one, if any.
  • addConversationMembers takes remoteMembers: [RemoteMemberInput!]: a member of a group in
    the direct space adds people by principal id, here or on another server, as
    createConversation names them; userIds now defaults to an empty list. A plaintext group of
    the direct space takes nobody from another server (VALIDATION).
  • Message.editedAt: when the message's text last changed, null for a never-edited or deleted
    message; the MessageUpdated event's message carries it as edited_at.
  • serverInfo.capabilities: the API additions this server has that older servers lack, by
    name, starting with message_edited_at.
  • leaveWorkspace(serverId: ID!): Boolean!: a member leaves a workspace, removed as by a
    kick (their messages stay); members get MemberLeft with cause left. Not for the owner,
    the direct space or the server's default workspace (VALIDATION).
  • renameWorkspace(serverId: ID!, name: String!): Server!: the owner renames a workspace,
    by createServer's name rules; members get the new WorkspaceUpdated event (also on the
    w stream of docs/specs/server-to-server-v1.md).
  • serverInfo.capabilities lists workspace_leave and workspace_rename.

Changed

  • The web client is versioned and deployed on its own: RIM_WEB_VERSION picks the rim-ui
    release (unset: RIM_VERSION), rim-deploy also follows rim-ui releases and deploys the web
    container alone, and upgrade.sh no longer needs a rim-web image at the server's version.
  • createMacro, updateMacro, createPipeline and updatePipeline refuse a step or action
    naming no builtin command with VALIDATION "Unknown command: "; plugin commands, which
    run only in the client, are refused too.
  • createUserCommand takes only lowercase letters, numbers, dots, dashes and underscores after
    user.; existing user commands keep their ids.
  • unblockPrincipal clears the requests the caller ignored from that person, by hand or by the
    block: the next item of such a conversation files it again as a new request holding the
    invite and that item, as a first contact would. Nothing they sent while blocked comes back
    from the relay. Audited as relay.principal_unblocked (scope user) with
    cleared_requests.
  • Someone blocked by the other member of a DM this server hosts posts nothing into it:
    sendMessage, replyToMessage, forwardMessage, sendEncryptedMessage and toggleReaction
    answer FORBIDDEN ("they do not take direct messages from you"), as starting the DM already
    did.
  • A DM or group started by someone you blocked is hidden until you unblock them, in a workspace
    or the default workspace too, not only in the direct space: it leaves your conversation list,
    live events, notifications and unread counts, and you post nothing into it. Channels are not
    affected.
  • Blocking someone also silences the DMs and groups they started on another server, or added you
    to there: from then on the relay drops every item of such a conversation, and acknowledges it
    so their server does not send it again, until the unblock. Conversations someone else started
    keep flowing. The history stays at their server.
  • rim_server principal unblock (and instanceUnblockPrincipal) clears the DM requests the block
    ignored, for every recipient who has not blocked the principal themselves: the next item of
    such a conversation files it again as a request. The command prints the count, and
    relay.principal_unblocked records it as cleared_requests. A user's unblockPrincipal
    clears nothing while the operator blocks the principal.
  • A relay ends a person's subscription to a workspace elsewhere when their MemberLeft arrives
    on their own stream, instead of letting it lapse (docs/specs/server-to-server-v1.md,
    "Subscriptions").

Fixed

  • A failed executeMacro names the step and its error: "Step () failed:
    ", instead of "macro <name> failed on a step".
  • Custom emoji images load: CustomEmoji.imageUrl is /api/emoji/<id>, which the new
    GET /api/emoji/{id} serves to members of the emoji's workspace (also forwarded from another
    relay). It was a storage path nothing served; emoji uploaded before are fixed too.
  • chat.mark_as_read, chat.post_message, chat.get_recent_messages, chat.pin_message and
    chat.toggle_reaction act on the focused conversation when no conversation_id is given, and
    the last two on the selected message when no message_id is given, so they work from the
    command palette and keybinds.
  • Search snippets (headline) no longer drop short words, numbers and punctuation at their
    edges: a message of up to 300 characters comes back whole.
  • A message request for a conversation this server hosts no longer turns into an ordinary
    conversation when it expires unanswered or 30 days after Ignore. It stays out of the
    recipient's list, and the sender's next message files it again as a new request with a fresh
    invite. A recipient who posts into such a conversation takes it back. A request from someone
    blocked stays ignored.
  • A DM request keeps its held items, its invite included, as long as the request, so an ignored
    or cleared request still holds its invite when it is filed again. Items released by accepting
    are kept at least the retention period.

Image

ghcr.io/rim-platform/rim-server:0.0.5 (sha256:30c0f06c7709ed1885d4807f088e43a4ed4fb09c961e10273e8bb88fb3d3510a), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.5 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.5" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.5.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:30c0f06c7709ed1885d4807f088e43a4ed4fb09c961e10273e8bb88fb3d3510a --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.5 (sha256:4d1eac5263f89125e77b91779ea6c892747b786299a8a1fe2b36cd743b96cf44), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.5.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:30c0f06c7709ed1885d4807f088e43a4ed4fb09c961e10273e8bb88fb3d3510a.

rim-server 0.0.4

Choose a tag to compare

@github-actions github-actions released this 26 Oct 19:52
v0.0.4
947a72b

Added

  • Message.threadReplyCount: the number of replies, deleted ones not counted, in the thread a
    timeline message is the root of; null on other messages.

Changed

  • serverInfo.features gives email's unavailable reason as "no mail server is set up" instead
    of naming the server's settings; the boot warning still names RIM_SMTP_HOST and
    RIM_SMTP_FROM.

Fixed

  • At RUST_LOG=info the server no longer logs every SQL statement, such as the
    server-to-server outbox poll each second; statements log at debug and those slower than one
    second at warn.

Image

ghcr.io/rim-platform/rim-server:0.0.4 (sha256:d7f17b50b568584400d3552e1f31ea09bd955533d9a5bd5c0ad96fb395bd18fc), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.4 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.4" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.4.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:d7f17b50b568584400d3552e1f31ea09bd955533d9a5bd5c0ad96fb395bd18fc --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.4 (sha256:f7d5f5a575bee534bd765c34e4e638f2b98f5e8bb4dd91758d24b64c0bbf0f7d), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.4.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:d7f17b50b568584400d3552e1f31ea09bd955533d9a5bd5c0ad96fb395bd18fc.

rim-server 0.0.3

Choose a tag to compare

@github-actions github-actions released this 26 Oct 14:33
v0.0.3
52ed89a

Added

  • An operator can clear the display name, picture, status and bio of the account holding a
    principal and optionally lock them for 1 to 365 days: rim_server principal clear-profile <principal-id> --reason <text> [--lock-days <n>], and in the app the mutation
    instanceClearProfile returning InstanceProfileClearOutcome. User.profileLockedUntil
    tells the account on me until when its profile is locked; while it is, setting any of the
    four answers FORBIDDEN and picture uploads 403. Audited as relay.profile_cleared.

Security

  • Profile pictures are re-encoded by the server: POST /api/files/avatar decodes the upload as
    its declared type and stores the first frame, centre-cropped, as a 256×256 PNG without
    metadata. The upload limit drops from 2 MiB to 1 MiB, images past 4096 pixels a side answer
    413, and bytes that do not decode 415.
  • During RIM_PROBATION_HOURS a new account cannot set a profile picture, status or bio; its
    display name it still can.
  • Profile picture uploads are limited per account by RIM_AVATAR_UPLOADS_PER_HOUR (default 5)
    and RIM_AVATAR_UPLOADS_PER_DAY (default 20); past either the upload answers 429 with
    Retry-After. 0 turns either off; instance operators are exempt.
  • Upgrade: every uploaded profile picture is scored for sexual content, gore and violence
    by a new service, imagecheck (ghcr.io/rim-platform/rim-imagecheck), which
    deploy/compose.yml now runs. At RIM_AVATAR_CHECK_BLOCK (default 0.85) POST /api/files/avatar answers 422 and stores nothing; at RIM_AVATAR_CHECK_REPORT (default 0.60)
    the picture is stored and an abuse report with the reason "automatic profile picture check …"
    is filed for the operators; while the service is down the upload answers 503. Take the new
    compose file with the release; a deployment that runs without the service sets
    RIM_AVATAR_CHECK_URL= empty, and pictures are stored unchecked.

Image

ghcr.io/rim-platform/rim-server:0.0.3 (sha256:cd3aa1f646cb28ba1758662155c5aef4c6068f35babde8dcef3a439b5a685272), signed with cosign by this repository's release
workflow. Verify it:

cosign verify ghcr.io/rim-platform/rim-server:0.0.3 \
  --certificate-identity "https://github.com/rim-platform/rim-server/.github/workflows/release.yaml@refs/tags/v0.0.3" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Its SBOM, rim-server-0.0.3.spdx.json below, is attested to that digest by the same
workflow:

gh attestation verify oci://ghcr.io/rim-platform/rim-server@sha256:cd3aa1f646cb28ba1758662155c5aef4c6068f35babde8dcef3a439b5a685272 --repo rim-platform/rim-server \
  --predicate-type https://spdx.dev/Document/v2.3

The profile picture check, ghcr.io/rim-platform/rim-imagecheck:0.0.3 (sha256:08df7c9d49a25fb2cd515990caa31040b0184e584e670034fd4ae2d1a79fe7e7), is signed by
the same workflow, with its SBOM rim-imagecheck-0.0.3.spdx.json attested the same
way: verify it with the commands above, ghcr.io/rim-platform/rim-imagecheck and its digest in place of
ghcr.io/rim-platform/rim-server and sha256:cd3aa1f646cb28ba1758662155c5aef4c6068f35babde8dcef3a439b5a685272.