Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ADMIN_ROLE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- AGENT_MENTIONED_EVENT - Static variable in class io.meeds.chat.service.utils.MatrixConstants
-
Platform event broadcast when a digital worker is mentioned in a chat room; its source is the room, its data a
ChatRoomMention. - AGENT_PUSHER_APP_ID - Static variable in class io.meeds.chat.service.utils.MatrixConstants
-
Application id of a digital worker's pusher, told apart from the browsers'
exo.matrix.app. - AgentPusherTurn - Record Class in io.meeds.chat.model
-
A pending reconcile turn of one account's pusher and push rules, queued by a platform listener.
- AgentPusherTurn(boolean, Instant, String) - Constructor for record class io.meeds.chat.model.AgentPusherTurn
-
Creates an instance of a
AgentPusherTurnrecord class. - appDisplayName() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
appDisplayNamerecord component. - appId() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
appIdrecord component. - AsyncTaskUtils - Class in io.meeds.chat.service.utils
- authenticateUser(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Authenticates a user using his userName and password
- AUTHORIZATION - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- avatarUpdated(ProfileLifeCycleEvent) - Method in class io.meeds.chat.listeners.IdentityListener
B
- BADGE_NAME - Static variable in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
- BEARER - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- body() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
bodyrecord component.
C
- call(String) - Method in interface io.meeds.chat.service.utils.MatrixUserCall
-
Runs the operation.
- callAsUserOrThrow(String, String, Duration, MatrixUserCall) - Method in class io.meeds.chat.service.MatrixService
-
Executes a Matrix operation on behalf of the given user like
MatrixService.callAsUserOrThrow(String, Duration, MatrixUserCall), with the user's Matrix id as the caller knows it: a listener's request may not have committed the profile write that stores it yet. - callAsUserOrThrow(String, Duration, MatrixUserCall) - Method in class io.meeds.chat.service.MatrixService
-
Executes a Matrix operation on behalf of the given user like
MatrixService.callAsUser(String, T, MatrixUserCall), but propagates every failure instead of answering a fallback, so a caller tells a timeout or an error from an empty result. - canAccess(Room, String) - Method in class io.meeds.chat.service.MatrixService
-
Checks if the user able to access the room
- CARRIED_DECISION_VALIDITY - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
How long the decision of the thread that queued a turn stands in for a re-read.
- changeChatRoomReadability(String, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Sets the room to readOnly
- CHAT_APPLICATION_ID - Static variable in class io.meeds.chat.service.MatrixService
- CHAT_NOTIFICATION_KIND - Static variable in class io.meeds.chat.service.ChatNotificationService
- CHAT_SETTINGS - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- ChatAdministrationRest - Class in io.meeds.chat.rest
- ChatAdministrationRest() - Constructor for class io.meeds.chat.rest.ChatAdministrationRest
- ChatApplicationBadgePlugin - Class in io.meeds.chat.plugin
-
Declares the chat badge and binds it to the Chat application, without computing it.
- ChatApplicationBadgePlugin() - Constructor for class io.meeds.chat.plugin.ChatApplicationBadgePlugin
- ChatConversation - Class in io.meeds.chat.model
-
A chat conversation the current user participates in, exposed to AI agents through the
list_chat_conversationsMCP tool. - ChatConversation() - Constructor for class io.meeds.chat.model.ChatConversation
- ChatDirectNotificationActionPlugin - Class in io.meeds.chat.notification
-
Quick actions of the chat room popup: "mark as read" marks the room read up to the popup's latest message (the device was authenticated by pwa).
- ChatDirectNotificationActionPlugin() - Constructor for class io.meeds.chat.notification.ChatDirectNotificationActionPlugin
- ChatMcpTool - Class in io.meeds.chat.mcp
-
MCP tools exposing the Matrix chat to AI agents.
- ChatMcpTool() - Constructor for class io.meeds.chat.mcp.ChatMcpTool
- ChatMessage - Class in io.meeds.chat.model
-
A single chat message of a conversation, exposed to AI agents through the
get_chat_messagesMCP tool. - ChatMessage() - Constructor for class io.meeds.chat.model.ChatMessage
- ChatNotificationService - Class in io.meeds.chat.service
-
This service creates and manages all different notifications related to the chat application
- ChatNotificationService() - Constructor for class io.meeds.chat.service.ChatNotificationService
- ChatPortlet - Class in io.meeds.chat
- ChatPortlet() - Constructor for class io.meeds.chat.ChatPortlet
- ChatPushNotificationIntegration - Class in io.meeds.chat.notification
-
Chat contributions to the generic PWA push pipeline: mentions keep their on-site and mail channels but must not produce a push popup of their own — the popup covering a mentioned message is the room's deferred one, like for any message.
- ChatPushNotificationIntegration() - Constructor for class io.meeds.chat.notification.ChatPushNotificationIntegration
- ChatRoomAclPlugin - Class in io.meeds.chat.plugin
-
ACL plugin making chat rooms eligible for the platform Favorites framework (the same mechanism used by Notes, Activities and AI prompts).
- ChatRoomAclPlugin() - Constructor for class io.meeds.chat.plugin.ChatRoomAclPlugin
- ChatRoomKind - Enum Class in io.meeds.chat.constant
-
The kind of chat room a digital worker's mention came from, in the
matrix.agent.mentionedevent. - ChatRoomMention - Record Class in io.meeds.chat.model
-
A mention of a digital worker in a chat room, the data of the
matrix.agent.mentionedplatform event (whose source is the room). - ChatRoomMention(ChatRoomKind, String, String, Long, String, String, String, String, List, long) - Constructor for record class io.meeds.chat.model.ChatRoomMention
-
Creates an instance of a
ChatRoomMentionrecord class. - ChatRoomSpaceScopeResolver - Class in io.meeds.chat.mcp
-
Tells the MCP server which space a chat room belongs to, for the chat tools that reach a room by its id (
get_chat_messages,send_chat_message) while their call is limited to one space: a digital worker's run in a space's room can then read that room, and no other. - ChatRoomSpaceScopeResolver() - Constructor for class io.meeds.chat.mcp.ChatRoomSpaceScopeResolver
- ChatSearchResult - Class in io.meeds.chat.model
-
A single full-text search hit: a message matching the query, together with the conversation it belongs to.
- ChatSearchResult() - Constructor for class io.meeds.chat.model.ChatSearchResult
- ChatSettings - Class in io.meeds.chat.service.model
- ChatSettings() - Constructor for class io.meeds.chat.service.model.ChatSettings
- ChatSettingsEntity - Class in io.meeds.chat.service.model
- ChatSettingsEntity() - Constructor for class io.meeds.chat.service.model.ChatSettingsEntity
- ChatUnread - Class in io.meeds.chat.model
-
Unread state of one of the current user's conversations, exposed to AI agents through the
get_unread_chat_messagesMCP tool to help build a "catch me up" digest. - ChatUnread() - Constructor for class io.meeds.chat.model.ChatUnread
- cleanMatrixUsername(String) - Method in class io.meeds.chat.service.MatrixService
-
Cleans the username to be compatible with the usernames on Matrix server
- clearPendingMessages(String, String, long) - Method in class io.meeds.chat.service.ChatNotificationService
-
Discards the pending popups of a room up to a timestamp: their deferred sends are cancelled at fire time.
- CONTENT_TYPE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- countBadge(String) - Method in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
-
Always 0: the real count is rendered by the frontend extension.
- createDirectMessagingRoom(Room) - Method in class io.meeds.chat.service.MatrixService
-
Creates a one to one room
- createDirectMessagingRoom(HttpServletRequest, Room) - Method in class io.meeds.chat.rest.MatrixRest
- createDirectMessagingRoom(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Creates a direct messaging room as the user owning the access token, with the payload the web chat sends: a private, trusted room flagged as direct, the other participant invited, guests forbidden.
- createRoom(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- createRoom(Space) - Method in class io.meeds.chat.service.MatrixService
-
This function do : - Create a room on Matrix - Links the room to the space on Meeds - Update room permissions
- createRoomForSpaceOnMatrix(Space) - Method in class io.meeds.chat.service.MatrixService
-
Creates a room on Matrix for the space
- createUserAccount(User, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
D
- decidedAt() - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Returns the value of the
decidedAtrecord component. - DEFAULT_CONNECTION_RETRY_ATTEMPTS - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- DEFAULT_CONNECTION_RETRY_DELAY - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- DEFAULT_UNREAD_DELAY_SECONDS - Static variable in class io.meeds.chat.service.ChatNotificationService
-
Default delay a message must stay unread before a device pops it, applied when the device defines no delay of its own.
- defaultAuthorizedSpaceTemplates - Variable in class io.meeds.chat.service.MatrixService
- deleteMedia(String) - Method in class io.meeds.chat.service.MatrixService
-
Deletes synapse media by its ID
- deleteMedia(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- deletePusher(String, String, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Deletes a pusher of the account owning the access token: the client API deletes a pusher by setting its pair (
appId,pushkey) with a null kind. - deleteRoom(String) - Method in class io.meeds.chat.service.MatrixService
-
Delete a Matrix room
- deleteRoom(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Deletes a Matrix room
- desired(Instant, String) - Static method in record class io.meeds.chat.model.AgentPusherTurn
-
A turn whose calling thread found the account wanted a pusher.
- deviceDisplayName() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
deviceDisplayNamerecord component. - DIRECT - Enum constant in enum class io.meeds.chat.constant.ChatRoomKind
-
A direct message between two accounts.
- disableAccount(String) - Method in class io.meeds.chat.service.MatrixService
- disableAccount(String, boolean, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- disableChat(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
- DISABLED - Enum constant in enum class io.meeds.chat.entity.RoomStatus
- DISABLED_IN_PROGRESS - Enum constant in enum class io.meeds.chat.entity.RoomStatus
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.meeds.chat.web.MatrixAuthJWTFilter
-
Do filter.
- doView(RenderRequest, RenderResponse) - Method in class io.meeds.chat.ChatPortlet
E
- EDIT_RELATION_TYPE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
-
Relation type of an edit, which replaces an earlier message.
- ENABLE_IN_PROGRESS - Enum constant in enum class io.meeds.chat.entity.RoomStatus
- enableChat(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
- enabled() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns the value of the
enabledrecord component. - ENABLED - Enum constant in enum class io.meeds.chat.entity.RoomStatus
- enableSpaceChat(Space, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Enable the chat for the space
- enqueueDesired(String, String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Queues a turn for an account the calling thread found wanting a pusher, after the listener's own work: the turn then uses that decision instead of re-reading what the calling request may not have committed yet, for
MatrixAgentPusherService.CARRIED_DECISION_VALIDITY. - enqueueIfDesired(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
What a platform listener calls once its own work is done: decides, on the calling thread, whether the account wants a pusher, and queues a turn carrying that decision and the account's Matrix id when it does.
- enqueueLeftKind(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Queues a turn for an account that left an account kind's group.
- equals(Object) - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.chat.model.ChatRoomMention
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.chat.model.MatrixPusher
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.chat.model.MatrixPushRule
-
Indicates whether some other object is "equal to" this one.
- eventId() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
eventIdrecord component. - Events - Class in io.meeds.chat.model
- Events() - Constructor for class io.meeds.chat.model.Events
- extendedPropertiesUpdated(SpaceExtendedPropertiesLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- extractRoomId(String) - Method in class io.meeds.chat.service.MatrixService
-
Extracts the room ID from the full room Id on Matrix
- extractUserId(String) - Method in class io.meeds.chat.service.MatrixService
-
Extracts the user ID from the full User Id on Matrix
F
- findByFirstParticipantAndSecondParticipant(String, String) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findByFirstParticipantOrSecondParticipant(String, String) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findByRoomId(String) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findByRoomIdStartsWith(String) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findBySpaceId(Long) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findBySpaceIdIn(List) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findBySpaceIdIsNotNull() - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findBySpaceIdIsNotNullAndStatusIs(RoomStatus) - Method in interface io.meeds.chat.dao.MatrixRoomDAO
- findSpaceMemberByMatrixId(String, Space) - Method in class io.meeds.chat.service.MatrixService
-
Finds the identity of a user based on its Matrix ID and a space where he is a member
- findUserByMatrixId(String) - Method in class io.meeds.chat.service.MatrixService
-
find the user on Meeds based on his id on Matrix
- findUserByMatrixIdOrThrow(String, Duration) - Method in class io.meeds.chat.service.MatrixService
-
Finds the platform user of a Matrix id like
MatrixService.findUserByMatrixId(String), every request bounded bytimeout(the administrator login, when its token is not cached yet, and the user read) and every failure propagated. - firstParticipant - Variable in class io.meeds.chat.entity.RoomEntity
- fromJson(JsonValue) - Static method in class io.meeds.chat.model.Events
- fromJson(JsonValue) - Static method in class io.meeds.chat.model.MatrixRoomPermissions
- fromString(String) - Static method in class io.meeds.chat.service.model.ChatSettings
G
- generatePassword(int) - Static method in class io.meeds.chat.service.utils.PasswordKeyGenerator
- getAccessToken(String) - Method in class io.meeds.chat.service.MatrixService
-
Retrieves an access token for a user using a JWT token
- getAccessToken(String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Get an authenticated access token for the administrative tasks
- getAccessToken(String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Logs in with a JWT like
MatrixHttpClient.getAccessToken(String), with a bounded wait: each request is bounded bytimeout, and a 429 answer is waited for at most once, never more thanMatrixHttpClient.MAX_RATE_LIMIT_WAIT, before one retry. - getAccountKindGroups() - Method in class io.meeds.chat.service.MatrixService
-
Lists the groups of the account kinds the add-ons declare.
- getById(String) - Method in class io.meeds.chat.service.MatrixService
-
Get a room by its technical ID
- getById(String, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Get a room by its technical ID
- getById(String, boolean) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- getByRoomId(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
- getChatAuthorizationStatus(HttpServletRequest, long) - Method in class io.meeds.chat.rest.MatrixRest
- getChatMessages(String, Integer) - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Returns the most recent messages of one of the current user's conversations, in chronological order.
- getDesiredLogins() - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Lists the accounts that want a pusher, over the groups of every account kind an add-on declares, in one transaction of its own.
- getDirectMessagingRoom(HttpServletRequest, String, String) - Method in class io.meeds.chat.rest.MatrixRest
- getDirectMessagingRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
- getDirectMessagingRoom(String, String) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- getDrawerNames() - Method in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
- getEventById(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Retrieves an event from Matrix by its Id.
- getEventById(String, String, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Reads one event like
MatrixHttpClient.getEventById(String, String, String), the request bounded bytimeout. - getFirstParticipant() - Method in class io.meeds.chat.entity.RoomEntity
- getId() - Method in class io.meeds.chat.entity.RoomEntity
- getId() - Method in class io.meeds.chat.notification.MentionReceivedNotificationPlugin
- getJWTSessionToken(String) - Method in class io.meeds.chat.service.MatrixService
-
Returns the JWT for user authentication
- getLoginOfPushkey(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Gives the login a pushkey was derived for, after checking its MAC in constant time.
- getMatrixDMRoomsOfUser(String) - Method in class io.meeds.chat.service.MatrixService
-
Loads all the one to one rooms of a defined user
- getMatrixDMRoomsOfUser(String) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- getMatrixId(String) - Method in class io.meeds.chat.rest.MatrixRest
- getMatrixIdForUser(String) - Method in class io.meeds.chat.service.MatrixService
-
Get the matrix ID of a defined user
- getMatrixRoomBySpaceId(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
- getMatrixRoomBySpaceId(Long, boolean) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- getMediaInfo(String) - Method in class io.meeds.chat.service.MatrixService
-
Returns synapse media info by its ID
- getMediaInfo(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- getName() - Method in class io.meeds.chat.mcp.ChatRoomSpaceScopeResolver
-
Returns the resolver's name.
- getName() - Method in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
- getNotificationKind() - Method in class io.meeds.chat.notification.ChatDirectNotificationActionPlugin
- getObjectType() - Method in class io.meeds.chat.plugin.ChatRoomAclPlugin
- getOrCreateDirectMessagingRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
-
Returns the direct messaging room between a user and another one, and creates it when it does not exist yet, as the web chat does: the room is created on Matrix as the user, the other participant invited, then it is recorded on the platform and the user's
m.directaccount data is updated. - getOverriddenRateLimitForUser(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Gets the overridden the rate limits for a given user
- getParticipantInfo(String) - Method in class io.meeds.chat.rest.MatrixRest
- getPushableLogin(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Decides whether the push gateway accepts a worker pusher's key: its MAC matches, and the account it names still belongs to the group of a kind an add-on declares and still has a Matrix account.
- getPushers(String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Lists the pushers of the account owning the access token.
- getPushkey(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Derives the key of an account's pusher:
b64url(login) "." b64url(HMAC-SHA256(K, label ":" login)), whereKis derived from the platform's Matrix JWT secret. - getPushRules(String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Lists the global push rules of the account owning the access token, every kind, server defaults included.
- getRestrictedGroups() - Method in class io.meeds.chat.service.MatrixService
-
Returns the restricted group of users if it is configured
- getRoomById(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
- getRoomBySpace(Space) - Method in class io.meeds.chat.service.MatrixService
-
Returns the ID of the room linked to a space
- getRoomBySpace(Space, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Returns the ID of the room linked to a space
- getRoomBySpaceId(HttpServletRequest, long) - Method in class io.meeds.chat.rest.MatrixRest
- getRoomBySpaceId(Long) - Method in class io.meeds.chat.service.MatrixService
-
Returns the ID of the room linked to a space
- getRoomBySpaceId(Long, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Returns the ID of the room linked to a space
- getRoomDisplayName(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Reads a room's display name from Matrix itself, as the given user: its
m.room.name, or — for a two-member room, i.e. - getRoomEvent(String, String) - Method in class io.meeds.chat.service.MatrixService
-
Retrieves the message related to the event ID
- getRoomEvent(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
Retrieves the message related to the event ID
- getRoomEventAsUser(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
Reads one event back with the user's own Matrix identity, so an event of a room the administrator account cannot see (a direct message) resolves too.
- getRoomEventOrThrow(String, String, Duration) - Method in class io.meeds.chat.service.MatrixService
-
Reads one message event with the administrator account, every request bounded by
timeout: the administrator login, when its token is not cached yet, and the read. - getRoomId() - Method in class io.meeds.chat.entity.RoomEntity
- getRoomMessages(String, int, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Retrieves the most recent messages of a room as the user owning the given access token, using the Matrix client API (
/_matrix/client/v3/rooms/{roomId}/messages). - getRoomMessages(String, int, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Reads the most recent messages of a room like
MatrixHttpClient.getRoomMessages(String, int, String), the request bounded bytimeout: a timeout or a transport failure is thrown, never answered as an empty list. - getRoomMessages(String, String, int) - Method in class io.meeds.chat.service.MatrixService
-
Returns the most recent messages of a conversation, in chronological order, read as the given user so that Synapse enforces exactly what that user is allowed to see (membership, history visibility, redactions).
- getRoomMessages(String, String, int, Duration) - Method in class io.meeds.chat.service.MatrixService
-
Returns the most recent messages of a conversation like
MatrixService.getRoomMessages(String, String, int), every request bounded bytimeoutand every failure propagated: a timeout, an unreachable Matrix or a user without a Matrix account is thrown, so the caller tells it from a conversation with nothing to read. - getRoomSettings(String) - Method in class io.meeds.chat.service.MatrixService
- getRoomSettings(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Get permissions settings of a room
- getSecondParticipant() - Method in class io.meeds.chat.entity.RoomEntity
- getSpaceId() - Method in class io.meeds.chat.entity.RoomEntity
- getSpaceRooms() - Method in class io.meeds.chat.service.MatrixService
-
Returns a list of all space rooms
- getSpaceRooms() - Method in class io.meeds.chat.storage.MatrixRoomStorage
-
Get a list of rooms linked to spaces
- getStatus() - Method in class io.meeds.chat.entity.RoomEntity
- getUnreadChatMessages() - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Returns the current user's unread conversations together with their recent messages, to help build a "catch me up" digest of what the user missed.
- getUnreadConversations(String) - Method in class io.meeds.chat.service.MatrixService
-
Returns the unread conversations of the given user, read as that user via a Matrix
/sync, so only the rooms the user has joined are considered. - getUnreadRooms(String, int) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Returns, for the user owning the given access token, the rooms that have unread notifications together with their recent timeline messages, using a lightweight
/synccall. - getUser(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Retrieve the user details from Matrix server
- getUser(String, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Reads the details of a Matrix user like
MatrixHttpClient.getUser(String, String), the request bounded bytimeout. - getUserConversations(String) - Method in class io.meeds.chat.service.MatrixService
-
Lists the conversations the given user participates in: their direct messaging rooms and the rooms of the spaces they are a member of.
- getUserConversations(String, String, String, Integer) - Method in class io.meeds.chat.service.MatrixService
-
Lists the conversations the given user participates in, as
MatrixService.getUserConversations(String)does, keeping those of a type and those whose title, or for a direct message the other participant's username, contains a text. - getUserDirectMessagingRooms(String) - Method in class io.meeds.chat.rest.MatrixRest
- getUserDisplayName(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- getUserFullMatrixID(String) - Method in class io.meeds.chat.service.MatrixService
-
Convert the user id into the full Matrix ID format
- getUserPresence(String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Retrieve the user presence from Matrix server
- grantedLead(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
H
- handleAction(String, String, String, Map) - Method in class io.meeds.chat.notification.ChatDirectNotificationActionPlugin
- hashCode() - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns a hash code value for this object.
- hasPermission(String, String, Identity) - Method in class io.meeds.chat.plugin.ChatRoomAclPlugin
- HTTPHelper - Class in io.meeds.chat.service.utils
- HTTPHelper() - Constructor for class io.meeds.chat.service.utils.HTTPHelper
I
- IdentityListener - Class in io.meeds.chat.listeners
- IdentityListener() - Constructor for class io.meeds.chat.listeners.IdentityListener
- IN_KEY - Static variable in class io.meeds.chat.service.ChatNotificationService
- INFECTED_ITEM_ID - Static variable in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- INFECTED_ITEM_LAST_MODIFIER - Static variable in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- INFECTED_ITEM_MODIFICATION_DATE - Static variable in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- INFECTED_ITEM_NAME - Static variable in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- init() - Method in class io.meeds.chat.listeners.IdentityListener
- init() - Method in class io.meeds.chat.listeners.MatrixAgentMembershipListener
-
Registers the listener behind every listener the kernel added.
- init() - Method in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- init() - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- init() - Method in class io.meeds.chat.listeners.MatrixUserListener
- init() - Method in class io.meeds.chat.listeners.MatrixUserLoginListener
- init() - Method in class io.meeds.chat.notification.ChatPushNotificationIntegration
- init() - Method in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
- init() - Method in class io.meeds.chat.plugin.ChatRoomAclPlugin
- init() - Method in class io.meeds.chat.service.MatrixService
-
Kicks off the connection to the Matrix server on a background thread so that the (possibly slow, possibly retried) handshake never blocks the WAR deployment / server startup.
- invalidateAccessToken(String) - Method in class io.meeds.chat.service.MatrixService
-
Invalidate a specific access token
- invalidateAccessToken(String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Invalidates an access token on Matrix server
- inviteUserToRoom(String, String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Invites a user to a specific room on Matrix
- io.meeds.chat - package io.meeds.chat
- io.meeds.chat.constant - package io.meeds.chat.constant
- io.meeds.chat.dao - package io.meeds.chat.dao
- io.meeds.chat.entity - package io.meeds.chat.entity
- io.meeds.chat.job - package io.meeds.chat.job
- io.meeds.chat.listeners - package io.meeds.chat.listeners
- io.meeds.chat.mcp - package io.meeds.chat.mcp
- io.meeds.chat.model - package io.meeds.chat.model
- io.meeds.chat.notification - package io.meeds.chat.notification
- io.meeds.chat.notification.builder - package io.meeds.chat.notification.builder
- io.meeds.chat.notification.mail - package io.meeds.chat.notification.mail
- io.meeds.chat.plugin - package io.meeds.chat.plugin
- io.meeds.chat.rest - package io.meeds.chat.rest
- io.meeds.chat.service - package io.meeds.chat.service
- io.meeds.chat.service.model - package io.meeds.chat.service.model
- io.meeds.chat.service.utils - package io.meeds.chat.service.utils
- io.meeds.chat.storage - package io.meeds.chat.storage
- io.meeds.chat.upgrade - package io.meeds.chat.upgrade
- io.meeds.chat.web - package io.meeds.chat.web
- isChatAuthorizedByAdministration(Space) - Method in class io.meeds.chat.service.MatrixService
-
Checks if the Chat is authorized from the administration for the space
- isChatAuthorizedForSpace(Long) - Method in class io.meeds.chat.service.MatrixService
-
Check if Chat application is authorized for the space based on its template
- isChatAuthorizedForSpace(Space) - Method in class io.meeds.chat.service.MatrixService
-
Check if Chat application is authorized for the space based on its template
- isChatAuthorizedForSpaceTemplate(Space) - Method in class io.meeds.chat.service.MatrixService
-
Checks if the Chat is authorized for the template used to create the space
- isChatEnabledByDefault(Space) - Method in class io.meeds.chat.service.MatrixService
-
Check if the chat is enabled and synched be default for the provided space
- isChatUser(String) - Method in class io.meeds.chat.service.MatrixService
-
Tells whether a user may have a chat account: chat is restricted to no group, the user is a member of one of the restricted groups, or the user's account is of a kind an add-on declares (a digital worker), which uses chat wherever chat is restricted.
- isDesired(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Tells whether an account wants a pusher: it is enabled, has a Matrix account, and belongs to the group of an account kind an add-on declares.
- isHashRoomId(String) - Static method in class io.meeds.chat.service.utils.MatrixRoomIdUtils
- isManagedRule(MatrixPushRule) - Static method in class io.meeds.chat.service.MatrixAgentPusherService
-
Tells whether a push rule belongs to the set this service manages on a worker's account: every server-default underride rule that notifies, the legacy name-match and room-mention overrides, and the legacy user-name content rule.
- isPrivateRoomMutedForUser(String, String) - Method in class io.meeds.chat.service.ChatNotificationService
- isSelfCached() - Method in class io.meeds.chat.plugin.ChatApplicationBadgePlugin
-
Nothing is cached: there is no server-side value to cache.
- isServerDefault() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Tells whether the rule is one of the server's defaults, which Synapse names with a leading dot, rather than a rule the account defined.
- isServiceEnabled() - Method in class io.meeds.chat.service.MatrixService
-
Checks if the Chat feature is enabled and that the Matrix service is available
- isUserMemberOfGroups(String, String...) - Method in class io.meeds.chat.service.MatrixService
-
Checks if the user is a member of a group defined by its name
- isUserMemberOfRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
-
Checks if the user is a member of the room
- isUserMemberOfRoom(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Checks if a user is a member of a room
- isValid(NotificationContext) - Method in class io.meeds.chat.notification.MentionReceivedNotificationPlugin
J
- joined(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- joinUserToRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
- joinUserToRoom(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Adds directly a user to a room
K
- kickUserFromRoom(String, String, String) - Method in class io.meeds.chat.service.MatrixService
- kickUserFromRoom(String, String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Kicks a user out of a specific room on Matrix
- kind() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
kindrecord component. - kind() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns the value of the
kindrecord component.
L
- lang() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
langrecord component. - LAST_MESSAGE_PATTERN_STRING - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- LastMessage - Class in io.meeds.chat.service.model
- LastMessage() - Constructor for class io.meeds.chat.service.model.LastMessage
- left(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- leftKind() - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Returns the value of the
leftKindrecord component. - leftKindTurn() - Static method in record class io.meeds.chat.model.AgentPusherTurn
-
A turn of an account that left an account kind's group.
- linkSpaceToMatrixRoom(long, String, RoomStatus) - Method in class io.meeds.chat.service.MatrixService
-
records the matrix ID of the room linked to the space
- linkSpaceToMatrixRoom(Space, String) - Method in class io.meeds.chat.service.MatrixService
-
records the matrix ID of the room linked to the space
- linkSpaceToRoom(String, String, Boolean) - Method in class io.meeds.chat.rest.MatrixRest
- listChatConversations(String, String, Integer) - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Lists the chat conversations (direct messages and space rooms) the current user participates in, optionally of one type and matching a text.
- loadChatSettings() - Method in class io.meeds.chat.service.MatrixService
-
retrieves the chat settings
- loadChatSettings(HttpServletRequest) - Method in class io.meeds.chat.rest.ChatAdministrationRest
- loadChatSettings(String, Locale) - Method in class io.meeds.chat.service.MatrixService
-
retrieves the chat settings
M
- MailTemplateProvider - Class in io.meeds.chat.notification.mail
- MailTemplateProvider(InitParams, ResourceBundleService) - Constructor for class io.meeds.chat.notification.mail.MailTemplateProvider
- makeMessage(NotificationContext) - Method in class io.meeds.chat.notification.builder.MatrixTemplateBuilder
- makeNotification(NotificationContext) - Method in class io.meeds.chat.notification.MentionReceivedNotificationPlugin
- makeUserAdminInRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
- makeUserAdminInRoom(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Make user an admin of the room
- MANAGED_CONTENT_RULE - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
The legacy content rule matching the account's user name in a message body.
- MANAGED_OVERRIDE_RULES - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
The server-default overrides and content rules that notify on a message not mentioning the account through
m.mentions: the legacy name matches and the room mentions. - MANAGER_ROLE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MARK_READ_ACTION - Static variable in class io.meeds.chat.service.ChatNotificationService
- MARK_READ_LABEL_KEY - Static variable in class io.meeds.chat.service.ChatNotificationService
- markRoomAsRead(HttpServletRequest, String, String, Long) - Method in class io.meeds.chat.rest.MatrixRest
- markRoomAsRead(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
Marks a room as read for a user up to an event, with the user's own Matrix identity (server-side read anchor): posts the
m.readreceipt so every client of the user converges through Matrix sync. - markRoomAsRead(String, String, String, Long) - Method in class io.meeds.chat.service.ChatNotificationService
-
Marks a room as read for a user up to an event — the server-side read anchor: (1) the
m.readreceipt is posted with the user's own Matrix identity so every client converges through sync, (2) the read watermark is recorded durably, (3) the pending popups covered by it are discarded. - MATRIX_ADMIN_DISPLAY_NAME - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ADMIN_USERNAME - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ADMIN_USERNAME_IS_REQUIRED - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_AGENTS_PUSH_GATEWAY_URL - Static variable in class io.meeds.chat.service.utils.MatrixConstants
-
The push gateway url of the digital workers' pushers; blank means the platform base url followed by
MatrixConstants.PUSH_GATEWAY_PATH. - MATRIX_ASYNC_ENABLED - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_CONNECTION_RETRY_ATTEMPTS - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_CONNECTION_RETRY_DELAY - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_JWT_COOKIE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_JWT_SECRET - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MENTION_RECEIVED_NOTIFICATION_PLUGIN - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MESSAGE_CONTENT - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MESSAGE_RECEIVED_NOTIFICATION_PLUGIN - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MESSAGE_SENDER - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MESSAGE_SENDER_FULLNAME - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_MESSAGE_URL - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_RESTRICTED_USERS_GROUP - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_AVATAR - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_ID - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_MEMBER - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_NAME - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_TYPE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_ROOM_UNREAD_COUNT - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_SERVER_NAME - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_SERVER_URL - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_SERVER_URL_IS_REQUIRED - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MATRIX_USERNAME_PREFIX - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MatrixAgentMembershipListener - Class in io.meeds.chat.listeners
-
Hands every deleted membership to
MatrixAgentPusherService.onMembershipDeleted(String, String), which queues a left-kind turn when an account leaves the group of every account kind it belonged to, so that its managed push rules return to the server default once the turn finds it no longer wants a chat pusher. - MatrixAgentMembershipListener() - Constructor for class io.meeds.chat.listeners.MatrixAgentMembershipListener
- MatrixAgentPusherJob - Class in io.meeds.chat.job
-
Reconciles, periodically, the chat pusher and push rules of every account of a declared kind (a digital worker), so that a pusher Synapse deleted, a drifted rule or an account the listeners missed is repaired within one period.
- MatrixAgentPusherJob() - Constructor for class io.meeds.chat.job.MatrixAgentPusherJob
- MatrixAgentPusherService - Class in io.meeds.chat.service
-
Registers, as the account itself, a notify-only Matrix pusher for every account of a kind an add-on declares (a digital worker), and keeps that account's push rules down to the mentions of the account, so that Synapse pushes to the platform the mentions of a worker that never opens a browser.
- MatrixAgentPusherService(MatrixService, MatrixHttpClient, AccountKindService, OrganizationService) - Constructor for class io.meeds.chat.service.MatrixAgentPusherService
-
Creates the service.
- MatrixAuthJWTFilter - Class in io.meeds.chat.web
- MatrixAuthJWTFilter() - Constructor for class io.meeds.chat.web.MatrixAuthJWTFilter
- MatrixConstants - Class in io.meeds.chat.service.utils
- MatrixException - Exception Class in io.meeds.chat.service.utils
-
Raised when a Matrix client-server API call fails with an unexpected HTTP status (i.e.
- MatrixException(String) - Constructor for exception class io.meeds.chat.service.utils.MatrixException
- MatrixHttpClient - Class in io.meeds.chat.service.utils
- MatrixHttpClient() - Constructor for class io.meeds.chat.service.utils.MatrixHttpClient
- matrixId() - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Returns the value of the
matrixIdrecord component. - MatrixInfectedFileCleanupListener - Class in io.meeds.chat.listeners
- MatrixInfectedFileCleanupListener() - Constructor for class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- MatrixMessage - Class in io.meeds.chat.model
- MatrixMessage(String, String, String, String, String, String, List, long, String, String, String) - Constructor for class io.meeds.chat.model.MatrixMessage
-
Builds a message without the edit fields, as every reader other than the room read does.
- MatrixPusher - Record Class in io.meeds.chat.model
-
An HTTP pusher of a Matrix account, as the client API lists and sets it (
/_matrix/client/v3/pushers). - MatrixPusher(String, String, String, String, String, String, String, String) - Constructor for record class io.meeds.chat.model.MatrixPusher
-
Creates an instance of a
MatrixPusherrecord class. - MatrixPushRule - Record Class in io.meeds.chat.model
-
One rule of a Matrix account's global push rule set (
/_matrix/client/v3/pushrules/global/). - MatrixPushRule(String, String, boolean, boolean) - Constructor for record class io.meeds.chat.model.MatrixPushRule
-
Creates an instance of a
MatrixPushRulerecord class. - MatrixRest - Class in io.meeds.chat.rest
- MatrixRest() - Constructor for class io.meeds.chat.rest.MatrixRest
- MatrixRoomAndAccountsUpgradePlugin - Class in io.meeds.chat.upgrade
- MatrixRoomAndAccountsUpgradePlugin(InitParams, MatrixService, MatrixSynchronizationService) - Constructor for class io.meeds.chat.upgrade.MatrixRoomAndAccountsUpgradePlugin
- MatrixRoomDAO - Interface in io.meeds.chat.dao
- MatrixRoomIdUtils - Class in io.meeds.chat.service.utils
-
Room identifiers come in two shapes.
- MatrixRoomPermissions - Class in io.meeds.chat.model
- MatrixRoomPermissions() - Constructor for class io.meeds.chat.model.MatrixRoomPermissions
- MatrixRoomStorage - Class in io.meeds.chat.storage
- MatrixRoomStorage() - Constructor for class io.meeds.chat.storage.MatrixRoomStorage
- matrixService - Variable in class io.meeds.chat.mcp.ChatMcpTool
- MatrixService - Class in io.meeds.chat.service
- MatrixService(MatrixRoomStorage, IdentityManager, IdentityStorage, OrganizationService, MatrixHttpClient, CacheService, SettingService, SpaceTemplateService) - Constructor for class io.meeds.chat.service.MatrixService
- MatrixSpaceListener - Class in io.meeds.chat.listeners
- MatrixSpaceListener() - Constructor for class io.meeds.chat.listeners.MatrixSpaceListener
- MatrixSynchronizationService - Class in io.meeds.chat.service
- MatrixSynchronizationService(MatrixService, SpaceService, IdentityManager, OrganizationService, MatrixAgentPusherService) - Constructor for class io.meeds.chat.service.MatrixSynchronizationService
-
Creates the synchronization service.
- MatrixTemplateBuilder - Class in io.meeds.chat.notification.builder
- MatrixTemplateBuilder(MailTemplateProvider, ResourceBundleService) - Constructor for class io.meeds.chat.notification.builder.MatrixTemplateBuilder
- MatrixUnauthorizedException - Exception Class in io.meeds.chat.service.utils
-
Raised when the Matrix server rejects a request with HTTP 401, i.e.
- MatrixUnauthorizedException(String) - Constructor for exception class io.meeds.chat.service.utils.MatrixUnauthorizedException
- MatrixUnreadRoom - Class in io.meeds.chat.model
-
Internal representation of a room with unread notifications returned by the Matrix
/synccall: the room local id, its unread count and the recent timeline messages. - MatrixUnreadRoom() - Constructor for class io.meeds.chat.model.MatrixUnreadRoom
- MatrixUserCall<T> - Interface in io.meeds.chat.service.utils
-
A Matrix client API operation run with one account's access token, which
MatrixServicemints and refreshes once when Synapse rejects it. - MatrixUserListener - Class in io.meeds.chat.listeners
- MatrixUserListener() - Constructor for class io.meeds.chat.listeners.MatrixUserListener
- MatrixUserLoginListener - Class in io.meeds.chat.listeners
- MatrixUserLoginListener() - Constructor for class io.meeds.chat.listeners.MatrixUserLoginListener
- MatrixUserPermission - Class in io.meeds.chat.model
- MatrixUserPermission() - Constructor for class io.meeds.chat.model.MatrixUserPermission
- MAX_PENDING_DESIRED_TURNS - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
Most queued turns of accounts wanting a pusher; the scheduled job catches up the others.
- MAX_PUSHER_DELETES_PER_TURN - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
Most extra pushers deleted in one turn; the rest go at the next one.
- MAX_RATE_LIMIT_WAIT - Static variable in class io.meeds.chat.service.utils.MatrixHttpClient
-
Longest wait a bounded login spends on a 429 answer before its one retry.
- MAX_RULE_UPDATES_PER_TURN - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
Most push rules changed in one turn; the rest go at the next one.
- MediaInfo - Class in io.meeds.chat.service.model
- MediaInfo() - Constructor for class io.meeds.chat.service.model.MediaInfo
- Member - Class in io.meeds.chat.service.model
- Member() - Constructor for class io.meeds.chat.service.model.Member
- mentionedMatrixIds() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
mentionedMatrixIdsrecord component. - MentionReceivedNotificationPlugin - Class in io.meeds.chat.notification
- MentionReceivedNotificationPlugin(InitParams) - Constructor for class io.meeds.chat.notification.MentionReceivedNotificationPlugin
- Message - Class in io.meeds.chat.service.model
- Message() - Constructor for class io.meeds.chat.service.model.Message
- MESSAGE_USER_KICKED_SPACE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- MORE_MESSAGES_KEY - Static variable in class io.meeds.chat.service.ChatNotificationService
- MUTED_ROOMS - Static variable in class io.meeds.chat.service.ChatNotificationService
- muteRoom(HttpServletRequest, String) - Method in class io.meeds.chat.rest.MatrixRest
N
- NAME - Static variable in class io.meeds.chat.mcp.ChatRoomSpaceScopeResolver
-
The name the chat tools'
space_scope.resolvergives. - notify(String) - Method in class io.meeds.chat.rest.MatrixRest
-
This API is used by Matrix server to notify the Meeds server that a user has a new notification This API is used as a Push Gateway for Matrix server
- notifying() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns the value of the
notifyingrecord component.
O
- OBJECT_TYPE - Static variable in class io.meeds.chat.plugin.ChatRoomAclPlugin
-
Favorite object type for chat rooms; the favorite objectId is the Matrix room id.
- onAgentPushReceived(String, String, String) - Method in class io.meeds.chat.service.ChatNotificationService
-
Entry point of a digital worker's push, called by the push gateway once it verified the worker's pusher key.
- onEvent(Event) - Method in class io.meeds.chat.listeners.MatrixInfectedFileCleanupListener
- onEvent(Event) - Method in class io.meeds.chat.listeners.MatrixUserLoginListener
- onMatrixPushReceived(String, String, String, String) - Method in class io.meeds.chat.service.ChatNotificationService
-
Single entry point of the Synapse push-gateway callback for one recipient: resolves the event once server-side, then dispatches — a mention additionally produces the standard on-site/mail notification (its push is opted out), and every message schedules a deferred self-contained popup per subscribed device, cancelled at fire time if read meanwhile.
- onMembershipDeleted(String, String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
What the membership listener calls once a membership is deleted: queues a left-kind turn when the membership was in the group of an account kind and the account now belongs to no kind's group.
- OPEN_ROOM_CLIENT_ACTION - Static variable in class io.meeds.chat.service.ChatNotificationService
-
In-page action of a room popup click (DOM event name the chat quick-actions bundle listens to, see
Constants.js ACTION_OPEN_CHAT_ROOM_FROM_PUSH) - originServerTs() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
originServerTsrecord component. - overrideAdminRateLimit(String) - Method in class io.meeds.chat.service.MatrixService
-
Overrides the rate limits for the current administrator to unlimited
- overrideRateLimitForUser(String, int, int, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Overrides the rate limits for a given user
P
- PasswordKeyGenerator - Class in io.meeds.chat.service.utils
- postDelete(Membership) - Method in class io.meeds.chat.listeners.MatrixAgentMembershipListener
-
Hands the deleted membership to the pusher service, which decides whether the account left its account kind.
- postSave(User, boolean) - Method in class io.meeds.chat.listeners.MatrixUserListener
- postSetEnabled(User) - Method in class io.meeds.chat.listeners.MatrixUserListener
- Presence - Class in io.meeds.chat.service.model
- Presence() - Constructor for class io.meeds.chat.service.model.Presence
- processRooms(RoomList, String) - Method in class io.meeds.chat.rest.MatrixRest
-
Process the Matrix rooms and adds the missing information of users and spaces
- processRooms(HttpServletRequest, RoomList) - Method in class io.meeds.chat.rest.MatrixRest
- processUpgrade(String, String) - Method in class io.meeds.chat.upgrade.MatrixRoomAndAccountsUpgradePlugin
- processUpgrade(String, String) - Method in class io.meeds.chat.upgrade.RemoveProfilePropertyUpgradePlugin
- processUpgrade(String, String) - Method in class io.meeds.chat.upgrade.UpdateRoomPermissionsUpgradePlugin
- profileTag() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
profileTagrecord component. - PUSH_GATEWAY_PATH - Static variable in class io.meeds.chat.service.utils.MatrixConstants
-
The only path Synapse accepts for an HTTP pusher's gateway url.
- pushkey() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
pushkeyrecord component.
R
- READ_WATERMARK_KEY_PREFIX - Static variable in class io.meeds.chat.service.ChatNotificationService
- recipientLogin() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
recipientLoginrecord component. - reconcile(String, String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Reconciles one account in a transaction of its own: what the scheduled job calls for each account.
- reconcileAgentPushers() - Method in class io.meeds.chat.job.MatrixAgentPusherJob
-
Reconciles every account that wants a pusher, one after the other.
- removeMatrixRoom(String) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- RemoveProfilePropertyUpgradePlugin - Class in io.meeds.chat.upgrade
-
Upgrade plugin to remove the profile property matrixId
- RemoveProfilePropertyUpgradePlugin(SettingService, InitParams, ProfilePropertyService) - Constructor for class io.meeds.chat.upgrade.RemoveProfilePropertyUpgradePlugin
- renameRoom(String, String) - Method in class io.meeds.chat.service.MatrixService
- renameRoom(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- resolveGatewayUrl() - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Resolves the push gateway url: the configured one, else the platform base url followed by
MatrixConstants.PUSH_GATEWAY_PATH. - revokedLead(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- Room - Class in io.meeds.chat.model
- Room() - Constructor for class io.meeds.chat.model.Room
- RoomEntity - Class in io.meeds.chat.entity
- RoomEntity - Class in io.meeds.chat.service.model
- RoomEntity() - Constructor for class io.meeds.chat.entity.RoomEntity
- RoomEntity() - Constructor for class io.meeds.chat.service.model.RoomEntity
- roomId - Variable in class io.meeds.chat.entity.RoomEntity
- roomId() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
roomIdrecord component. - roomKind() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
roomKindrecord component. - RoomList - Class in io.meeds.chat.service.model
- RoomList() - Constructor for class io.meeds.chat.service.model.RoomList
- ROOMS_API_PATH - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- RoomStatus - Enum Class in io.meeds.chat.entity
- ruleId() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns the value of the
ruleIdrecord component. - runAsync(String, Runnable) - Static method in class io.meeds.chat.service.utils.AsyncTaskUtils
-
Runs the given task on a new background thread, unless
MatrixConstants.MATRIX_ASYNC_ENABLEDis explicitly set tofalse(used by tests to make room-enable/disable side effects deterministic instead of racing with the calling thread). - runPendingTurn(String) - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Runs the pending turn of an account, in a transaction of its own, on the turn thread.
S
- saveChatSettings(ChatSettings) - Method in class io.meeds.chat.service.MatrixService
-
Sets the settings of the chat feature
- saveDirectMessagingRoom(String, String, String) - Method in class io.meeds.chat.storage.MatrixRoomStorage
- saveRoomForSpace(Long, String) - Method in class io.meeds.chat.storage.MatrixRoomStorage
-
Stores a RoomEntity in database with ENABLED status
- saveRoomForSpace(Long, String, RoomStatus) - Method in class io.meeds.chat.storage.MatrixRoomStorage
-
Stores a RoomEntity in database
- saveUserAccount(Identity, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Saves a new user on Matrix
- saveUserAccount(Identity, boolean, boolean, boolean) - Method in class io.meeds.chat.service.MatrixService
-
Saves a new user on Matrix
- saveUserAccount(Identity, String, boolean, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Saves the user account on Matrix
- saveUserAccount(Identity, String, boolean, String, boolean, boolean) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Saves the user account
- searchChatMessages(String, String) - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Full-text searches the current user's chat messages, either across all their conversations or scoped to a single one.
- searchChatMessages(String, String, String, int) - Method in class io.meeds.chat.service.MatrixService
-
Runs a full-text search of message bodies as the given user, either across all their conversations (when
conversationIdis blank) or scoped to a single conversation. - searchMessages(HttpServletRequest, String, String, int) - Method in class io.meeds.chat.rest.MatrixRest
- searchMessages(String, String, int, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Runs a Matrix full-text search of message bodies as the user owning the given access token, optionally scoped to a single room.
- secondParticipant - Variable in class io.meeds.chat.entity.RoomEntity
- sendBoundedGetRequest(String, String, Duration) - Static method in class io.meeds.chat.service.utils.HTTPHelper
-
Sends a GET request whose whole exchange, the response body included, is bounded by
timeout: an unresponsive Matrix server, or one that stalls in the middle of a body, then fails the call with anHttpTimeoutExceptioninstead of holding the calling thread. - sendBoundedPostRequest(String, String, String, Duration) - Static method in class io.meeds.chat.service.utils.HTTPHelper
-
Sends a POST request bounded by
timeout, seeHTTPHelper.sendBoundedGetRequest(String, String, Duration). - sendBoundedPutRequest(String, String, String, Duration) - Static method in class io.meeds.chat.service.utils.HTTPHelper
-
Sends a PUT request bounded by
timeout, seeHTTPHelper.sendBoundedGetRequest(String, String, Duration). - sendChatMessage(String, String) - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Sends a text message to one of the current user's conversations, on the user's behalf.
- sendDirectMessage(String, String) - Method in class io.meeds.chat.mcp.ChatMcpTool
-
Sends a text message to a user, on the current user's behalf, in their direct message, which is opened first when they have none.
- sendDirectMessage(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
Sends a text message to another user as the given user, in their direct messaging room, which is created first when they have none.
- senderLogin() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
senderLoginrecord component. - senderMatrixId() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
senderMatrixIdrecord component. - sendHttpDeleteRequest(String, String, String) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendHttpGetRequest(String, String) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendHttpGetRequest(String, String, Duration) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendHttpPostRequest(String, String, String) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendHttpPostRequest(String, String, String, byte[]) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendHttpPutRequest(String, String, String) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendInvitationToMembers(ArrayList, String) - Static method in class io.meeds.chat.service.utils.HTTPHelper
- sendMessage(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
Sends a textual message to a conversation as the given user, after checking that the user participates in it.
- sendMessage(String, String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Sends a textual message to a room as the user owning the given access token, using the Matrix client API.
- sendMessage(String, JSONObject, String, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Sends a message built by the caller to a room as the user owning the given access token, the request bounded by
timeout: a timeout or a transport failure is thrown. - sendReadReceipt(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Posts an
m.readreceipt on behalf of a user: a Matrix read receipt is a high-water mark, everything up to the event becomes read. - sendReply(String, String, String, String, String, List, Duration) - Method in class io.meeds.chat.service.MatrixService
-
Posts a reply as the given user, quoting the event it answers and mentioning the given Matrix users, with the content the web composer sends:
m.in_reply_to, an HTMLformatted_bodyandm.mentions. - SENDS_YOU_A_CHAT_KEY - Static variable in class io.meeds.chat.service.ChatNotificationService
- setDirectRoomsAccountData(String, Map, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Replaces the
m.directaccount data of the user owning the access token, which tells Matrix clients which of their rooms are direct messages and with whom. - setFirstParticipant(String) - Method in class io.meeds.chat.entity.RoomEntity
- setId(Long) - Method in class io.meeds.chat.entity.RoomEntity
- setPusher(MatrixPusher, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Sets an HTTP pusher of the account owning the access token, which pushes event ids only (
event_id_only). - setPushRuleEnabled(String, String, boolean, String, Duration) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Enables or disables one global push rule of the account owning the access token.
- setRoomEnabled(String, RoomStatus) - Method in class io.meeds.chat.storage.MatrixRoomStorage
-
Enable or disable a room
- setRoomId(String) - Method in class io.meeds.chat.entity.RoomEntity
- setSecondParticipant(String) - Method in class io.meeds.chat.entity.RoomEntity
- setSpaceId(Long) - Method in class io.meeds.chat.entity.RoomEntity
- setStatus(RoomStatus) - Method in class io.meeds.chat.entity.RoomEntity
- setUserPresence(String, String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Set the user presence on Matrix server
- SHARED_SECRET_REGISTRATION - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- shouldProceedToUpgrade(String, String) - Method in class io.meeds.chat.upgrade.MatrixRoomAndAccountsUpgradePlugin
- shouldProceedToUpgrade(String, String) - Method in class io.meeds.chat.upgrade.UpdateRoomPermissionsUpgradePlugin
- shutdown() - Method in class io.meeds.chat.service.MatrixAgentPusherService
-
Stops the turn thread with the context.
- SIMPLE_USER_ROLE - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- SPACE - Enum constant in enum class io.meeds.chat.constant.ChatRoomKind
-
The room of a space.
- SPACE_CHAT_AUTHORIZED - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- SPACE_CHAT_ENABLED_BY_DEFAULT - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- spaceAvatarEdited(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- spaceCreated(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- spaceDescriptionEdited(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- spaceId - Variable in class io.meeds.chat.entity.RoomEntity
- spaceId() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns the value of the
spaceIdrecord component. - spaceOf(String) - Method in class io.meeds.chat.mcp.ChatRoomSpaceScopeResolver
-
Tells the space of a room, never throwing.
- spaceRemoved(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- spaceRenamed(SpaceLifeCycleEvent) - Method in class io.meeds.chat.listeners.MatrixSpaceListener
- SpaceTemplateSetting - Class in io.meeds.chat.service.model
- SpaceTemplateSetting() - Constructor for class io.meeds.chat.service.model.SpaceTemplateSetting
- status - Variable in class io.meeds.chat.entity.RoomEntity
- SYNAPSE_TIMEOUT - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
Request timeout of every Synapse call of a reconcile turn, the login included.
- synchronizeSpaces() - Method in class io.meeds.chat.service.MatrixSynchronizationService
- synchronizeUsers() - Method in class io.meeds.chat.service.MatrixSynchronizationService
- syncUsersAndSpaces() - Method in class io.meeds.chat.rest.MatrixRest
T
- toFullRoomId(String) - Static method in class io.meeds.chat.service.utils.MatrixRoomIdUtils
- toggleMutePrivateRoom(String, String) - Method in class io.meeds.chat.service.ChatNotificationService
- toJson() - Method in class io.meeds.chat.model.Events
- toJson() - Method in class io.meeds.chat.model.MatrixRoomPermissions
- toRoomModel(RoomEntity) - Static method in class io.meeds.chat.storage.MatrixRoomStorage
-
Converts a RoomEntity to a Room model
- toStoredRoomId(String) - Static method in class io.meeds.chat.service.utils.MatrixRoomIdUtils
- toString() - Method in record class io.meeds.chat.model.AgentPusherTurn
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.chat.model.ChatRoomMention
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.chat.model.MatrixPushRule
-
Returns a string representation of this record class.
- toString() - Method in class io.meeds.chat.service.model.ChatSettings
U
- UNMANAGED_RULES - Static variable in class io.meeds.chat.service.MatrixAgentPusherService
-
The rules never touched: the mention that triggers a worker, and room invitations.
- UNREAD_MESSAGE_KEY - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- updateChatSettings(HttpServletRequest, ChatSettingsEntity) - Method in class io.meeds.chat.rest.ChatAdministrationRest
- updatePresenceStatus(Presence) - Method in class io.meeds.chat.rest.MatrixRest
- updateRoomAvatar(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Update room avatar
- updateRoomAvatar(Space, String) - Method in class io.meeds.chat.service.MatrixService
- updateRoomDescription(String, String) - Method in class io.meeds.chat.service.MatrixService
- updateRoomDescription(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Updates the room description
- UpdateRoomPermissionsUpgradePlugin - Class in io.meeds.chat.upgrade
- UpdateRoomPermissionsUpgradePlugin(InitParams, MatrixService) - Constructor for class io.meeds.chat.upgrade.UpdateRoomPermissionsUpgradePlugin
- updateRoomSettings(String, MatrixRoomPermissions) - Method in class io.meeds.chat.service.MatrixService
- updateRoomSettings(String, MatrixRoomPermissions, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Updates the room settings.
- updateUserAvatar(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Update the user avatar
- updateUserAvatar(Profile, String) - Method in class io.meeds.chat.service.MatrixService
- updateUserDisplayName(String, String) - Method in class io.meeds.chat.service.MatrixService
- updateUserDisplayName(String, String, String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
-
Sets a new display name for the user
- updateUserPresence(String, String, String) - Method in class io.meeds.chat.service.MatrixService
-
update the user presence status on Matrix
- uploadFile(String, String, byte[], String) - Method in class io.meeds.chat.service.utils.MatrixHttpClient
- uploadFileOnMatrix(String, String, byte[]) - Method in class io.meeds.chat.service.MatrixService
- url() - Method in record class io.meeds.chat.model.MatrixPusher
-
Returns the value of the
urlrecord component. - USER_ACCESS_TOKEN_CACHE_NAME - Static variable in class io.meeds.chat.service.MatrixService
- USER_CHAT_NOTIFICATION_SCOPE - Static variable in class io.meeds.chat.service.ChatNotificationService
- USER_MATRIX_ID - Static variable in class io.meeds.chat.service.utils.MatrixConstants
- USER_MATRIX_ID_CACHE_NAME - Static variable in class io.meeds.chat.service.MatrixService
V
- valueOf(String) - Static method in enum class io.meeds.chat.constant.ChatRoomKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.meeds.chat.entity.RoomStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.meeds.chat.constant.ChatRoomKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.meeds.chat.entity.RoomStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
Y
- YOU_STRING - Static variable in class io.meeds.chat.service.utils.MatrixConstants
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form