Skip to content

rim-server 0.0.5

Choose a tag to compare

@github-actions github-actions released this 28 Oct 07:21
· 153 commits to master since this release
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.