MCPcopy Create free account

hub / github.com/daodst/chat / functions

Functions3,776 in github.com/daodst/chat

↓ 2 callersFunctionvalidateApplicationServiceUsername
validateApplicationServiceUsername returns an error response if the username is invalid for an application service
clientapi/routing/register.go:301
↓ 2 callersFunctionvalidateRecaptcha
validateRecaptcha returns an error response if the captcha response is invalid
clientapi/routing/register.go:334
↓ 2 callersMethodwalk
()
setup/mscs/msc2946/msc2946.go:208
↓ 2 callersFunctionwriteCertificate
(tlsCertPath string, derBytes []byte)
test/keys.go:98
↓ 2 callersFunctionwriteHTTPMessage
writeHTTPMessage writes the given header and message to the HTTP response writer. Returns an error JSONResponse obtained through httputil.LogThenError
clientapi/routing/auth_fallback.go:199
↓ 2 callersFunctionwritePrivateKey
(tlsKeyPath string, priv *rsa.PrivateKey)
test/keys.go:107
↓ 1 callersFunctionActionsToTweaks
ActionsToTweaks converts a list of actions into a primary action kind and a tweaks map. Returns a nil map if it would have been empty.
internal/pushrules/util.go:13
↓ 1 callersMethodAddInboundPeek
(ctx context.Context, serverName gomatrixserverlib.ServerName, roomID, peekID string, renewalInterval int64)
federationapi/storage/interface.go:64
↓ 1 callersMethodAddInviteEvent
AddInviteEvent stores a new invite event for a user. If the invite was successfully stored this returns the stream ID it was stored at. Returns an err
syncapi/storage/interface.go:102
↓ 1 callersFunctionAddMortgage
AddMortgage implements POST /local/add/mortgage
clientapi/routing/profile.go:155
↓ 1 callersMethodAddOutboundPeek
(ctx context.Context, serverName gomatrixserverlib.ServerName, roomID, peekID string, renewalInterval int64)
federationapi/storage/interface.go:59
↓ 1 callersMethodAddPeek
AddPeek adds a new peek to our DB for a given room by a given user's device. Returns an error if there was a problem communicating with the database.
syncapi/storage/interface.go:108
↓ 1 callersFunctionAddTelNumbers
AddTelNumbers implements POST /local/add/telNumbers
clientapi/routing/profile.go:124
↓ 1 callersFunctionAddTmpAuth
(username, realm, password string, limit int64)
turn_server/turn_server.go:50
↓ 1 callersFunctionAddTmpAuthInfo
AddTmpAuthInfo implements: POST /voip/turnAuthTmpAdd
clientapi/routing/voip.go:142
↓ 1 callersFunctionAdminEvacuateRoom
(req *http.Request, device *userapi.Device, rsAPI roomserverAPI.ClientRoomserverAPI)
clientapi/routing/admin.go:14
↓ 1 callersFunctionAdminEvacuateUser
(req *http.Request, device *userapi.Device, rsAPI roomserverAPI.ClientRoomserverAPI)
clientapi/routing/admin.go:51
↓ 1 callersMethodAllJoinedUsersInRoom
AllJoinedUsersInRoom returns a map of room ID to a list of all joined user IDs for a given room.
syncapi/storage/interface.go:58
↓ 1 callersMethodAllJoinedUsersInRooms
AllJoinedUsersInRooms returns a map of room ID to a list of all joined user IDs.
syncapi/storage/interface.go:56
↓ 1 callersMethodAllPeekingDevicesInRooms
AllPeekingDevicesInRooms returns a map of room ID to a list of all peeking devices.
syncapi/storage/interface.go:61
↓ 1 callersMethodAppServiceURL
AppServiceURL returns a HTTP URL for where the appservice component is listening.
setup/config/config.go:486
↓ 1 callersMethodAssociatePDUWithDestination
(ctx context.Context, transactionID gomatrixserverlib.TransactionID, serverName gomatrixserverlib.ServerName,
federationapi/storage/interface.go:41
↓ 1 callersFunctionAuthFallback
AuthFallback implements GET and POST /auth/{authType}/fallback/web?session={sessionID}
clientapi/routing/auth_fallback.go:102
↓ 1 callersFunctionBackfill
Backfill implements the /backfill federation endpoint. https://matrix.org/docs/spec/server_server/unstable.html#get-matrix-federation-v1-backfill-room
federationapi/routing/backfill.go:33
↓ 1 callersMethodBackoffInfo
BackoffInfo returns information about the current or previous backoff. Returns the last backoffUntil time and whether the server is currently blacklis
statistics/statistics.go:162
↓ 1 callersFunctionBoolTweakOr
BoolTweakOr returns the named tweak as a boolean, and returns `def` on failure.
internal/pushrules/util.go:37
↓ 1 callersFunctionBuildEvent
BuildEvent builds a Matrix event from the builder and QueryLatestEventsAndStateResponse provided.
internal/eventutil/events.go:58
↓ 1 callersMethodBulkInsertStateData
( ctx context.Context, txn *sql.Tx, entries types.StateEntries, )
roomserver/storage/postgres/state_block_table.go:87
↓ 1 callersMethodBulkSelectEventNID
BulkSelectEventNIDs returns a map from string event ID to numeric event ID. If an event ID is not in the database then it is omitted from the map.
roomserver/storage/sqlite3/events_table.go:511
↓ 1 callersMethodBulkSelectEventReference
( ctx context.Context, txn *sql.Tx, eventNIDs []types.EventNID, )
roomserver/storage/sqlite3/events_table.go:436
↓ 1 callersMethodBulkSelectEventStateKey
( ctx context.Context, txn *sql.Tx, eventStateKeyNIDs []types.EventStateKeyNID, )
roomserver/storage/sqlite3/event_state_keys_table.go:142
↓ 1 callersMethodBulkSelectRoomIDs
(ctx context.Context, txn *sql.Tx, roomNIDs []types.RoomNID)
roomserver/storage/postgres/rooms_table.go:247
↓ 1 callersMethodBulkSelectServerKeys
(ctx context.Context, txn *sql.Tx, requests map[gomatrixserverlib.PublicKeyLookupRequest]gomatrixserverlib.Tim
federationapi/storage/tables/interface.go:112
↓ 1 callersMethodBulkSelectStateAtEventAndReference
( ctx context.Context, txn *sql.Tx, eventNIDs []types.EventNID, )
roomserver/storage/sqlite3/events_table.go:384
↓ 1 callersMethodBulkSelectStateBlockNIDs
( ctx context.Context, txn *sql.Tx, stateNIDs []types.StateSnapshotNID, )
roomserver/storage/postgres/state_snapshot_table.go:132
↓ 1 callersMethodBulkSelectStateEventByID
bulkSelectStateEventByID lookups a list of state events by event ID. If any of the requested events are missing from the database it returns a types.M
roomserver/storage/sqlite3/events_table.go:193
↓ 1 callersMethodBulkSelectStateForHistoryVisibility
( ctx context.Context, txn *sql.Tx, stateSnapshotNID types.StateSnapshotNID, domain string, )
roomserver/storage/postgres/state_snapshot_table.go:167
↓ 1 callersMethodBulkSelectUnsentEventNID
BulkSelectEventNIDs returns a map from string event ID to numeric event ID only for events that haven't already been sent to the roomserver output. If
roomserver/storage/sqlite3/events_table.go:518
↓ 1 callersMethodCacheCost
()
internal/caching/caches.go:51
↓ 1 callersMethodCalcMediaFlowLimit
(info *MediaFlowInfo)
new_feature/media_manage/media_manager.go:104
↓ 1 callersMethodCalculateAndStoreStateBeforeEvent
CalculateAndStoreStateBeforeEvent calculates a snapshot of the state of a room before an event. Stores the snapshot of the state in the database. Retu
roomserver/state/state.go:593
↓ 1 callersMethodChangeAuthCredential
ChangePassword changes user's password in "basic" authentication scheme
server/store/store.go:206
↓ 1 callersMethodChangePassword
(appid uint32, id t.Uid, password string)
server/store/adapter/adapter.go:27
↓ 1 callersFunctionCheckAndSave3PIDAssociation
CheckAndSave3PIDAssociation implements POST /account/3pid
clientapi/routing/threepid.go:93
↓ 1 callersFunctionCheckAvailable
(userLocal string, info InviteRes)
new_feature/blockchain_func.go:132
↓ 1 callersFunctionCheckServerAllowedToSeeEvent
( ctx context.Context, db storage.Database, info *types.RoomInfo, eventID string, serverName gomatrixserverl
roomserver/internal/helpers/helpers.go:236
↓ 1 callersMethodChildMetadata
ChildMetadata returns the children_count and children_hash for the event ID in question. Also returns the `explored` flag, which is set to true when M
setup/mscs/msc2836/storage.go:43
↓ 1 callersMethodChildMetadata
(ctx context.Context, eventID string)
setup/mscs/msc2836/storage.go:265
↓ 1 callersFunctionClaimKeys
(req *http.Request, keyAPI api.ClientKeyAPI)
clientapi/routing/keys.go:141
↓ 1 callersFunctionClaimOneTimeKeys
ClaimOneTimeKeys claims OTKs for users on this server. https://matrix.org/docs/spec/server_server/latest#post-matrix-federation-v1-user-keys-claim
federationapi/routing/keys.go:91
↓ 1 callersMethodCleanEDUs
(ctx context.Context, serverName gomatrixserverlib.ServerName, receipts []*shared.Receipt)
federationapi/storage/interface.go:45
↓ 1 callersFunctionCleanExpireHistoryMsgs
(interval int64)
new_feature/clean_func.go:10
↓ 1 callersMethodCleanMediaFlowInfo
()
new_feature/media_manage/media_manager.go:81
↓ 1 callersMethodCleanPDUs
(ctx context.Context, serverName gomatrixserverlib.ServerName, receipts []*shared.Receipt)
federationapi/storage/interface.go:44
↓ 1 callersFunctionContext
( req *http.Request, device *userapi.Device, rsAPI roomserver.SyncRoomserverAPI, syncDB storage.Database
syncapi/routing/context.go:45
↓ 1 callersMethodCountEventsWithAppServiceID
(ctx context.Context, appServiceID string)
appservice/storage/interface.go:26
↓ 1 callersMethodCountOneTimeKeys
(ctx context.Context, userID, deviceID string)
keyserver/storage/tables/interface.go:29
↓ 1 callersMethodCountStreamIDsForUser
(ctx context.Context, userID string, streamIDs []int64)
keyserver/storage/tables/interface.go:41
↓ 1 callersMethodCreateClient
CreateClient creates a new client (normally used for media fetch requests). Should only be called once per component.
setup/base/base.go:331
↓ 1 callersMethodCreateDb
(reset bool)
server/store/adapter/adapter.go:16
↓ 1 callersFunctionCreateEventJSONTable
(db *sql.DB)
roomserver/storage/postgres/event_json_table.go:62
↓ 1 callersFunctionCreateEventStateKeysTable
(db *sql.DB)
roomserver/storage/postgres/event_state_keys_table.go:79
↓ 1 callersFunctionCreateEventTypesTable
(db *sql.DB)
roomserver/storage/postgres/event_types_table.go:102
↓ 1 callersFunctionCreateEventsTable
(db *sql.DB)
roomserver/storage/postgres/events_table.go:158
↓ 1 callersMethodCreateFederationClient
CreateFederationClient creates a new federation client. Should only be called once per component.
setup/base/base.go:351
↓ 1 callersFunctionCreateInvitesFrom3PIDInvites
CreateInvitesFrom3PIDInvites implements POST /_matrix/federation/v1/3pid/onbind
federationapi/routing/threepid.go:58
↓ 1 callersFunctionCreateInvitesTable
(db *sql.DB)
roomserver/storage/postgres/invite_table.go:84
↓ 1 callersFunctionCreateKeyBackupVersion
Create a new key backup. Request must contain a `keyBackupVersion`. Returns a `keyBackupVersionCreateResponse`. Implements POST /_matrix/client/r0/ro
clientapi/routing/key_backup.go:58
↓ 1 callersMethodCreateMediaFlowInfo
CreateMediaFlowInfo get or create a MediaFlowInfo user by username
new_feature/media_manage/media_manager.go:56
↓ 1 callersFunctionCreateMembershipTable
(db *sql.DB)
roomserver/storage/postgres/membership_table.go:175
↓ 1 callersFunctionCreateOpenIDToken
CreateOpenIDToken creates a new OpenID Connect (OIDC) token that a Matrix user can supply to an OpenID Relying Party to verify their identity
clientapi/routing/openid.go:35
↓ 1 callersMethodCreateP2P
CreateP2P creates a P2P topic by generating two user's subsciptions to each other.
server/store/store.go:261
↓ 1 callersFunctionCreatePrevEventsTable
(db *sql.DB)
roomserver/storage/postgres/previous_events_table.go:67
↓ 1 callersFunctionCreatePublishedTable
(db *sql.DB)
roomserver/storage/postgres/published_table.go:52
↓ 1 callersFunctionCreateRedactionsTable
(db *sql.DB)
roomserver/storage/postgres/redactions_table.go:62
↓ 1 callersFunctionCreateRoom
CreateRoom implements /createRoom
clientapi/routing/createroom.go:139
↓ 1 callersFunctionCreateRoomAliasesTable
(db *sql.DB)
roomserver/storage/postgres/room_aliases_table.go:64
↓ 1 callersFunctionCreateRoomsTable
(db *sql.DB)
roomserver/storage/postgres/rooms_table.go:98
↓ 1 callersFunctionCreateStateBlockTable
(db *sql.DB)
roomserver/storage/postgres/state_block_table.go:73
↓ 1 callersFunctionCreateStateSnapshotTable
(db *sql.DB)
roomserver/storage/postgres/state_snapshot_table.go:106
↓ 1 callersMethodCrossSigningKeysDataForUser
(ctx context.Context, userID string)
keyserver/storage/interface.go:83
↓ 1 callersMethodCurrentStateSnapshotNID
CurrentStateSnapshotNID implements types.RoomRecentEventsUpdater
roomserver/storage/shared/room_updater.go:102
↓ 1 callersFunctionDeactivate
Deactivate handles POST requests to /account/deactivate
clientapi/routing/deactivate.go:15
↓ 1 callersFunctionDeduplicateStateEntries
Deduplicate takes a set of state entries and ensures that there are no duplicate (event type, state key) tuples. If there are then we dedupe them, mak
roomserver/types/types.go:159
↓ 1 callersFunctionDefaultGlobalRuleSet
DefaultGlobalRuleSet returns the default ruleset for a given (fully qualified) MXID.
internal/pushrules/default.go:17
↓ 1 callersMethodDefaults
()
setup/config/config_federationapi.go:69
↓ 1 callersMethodDegraded
()
setup/process/process.go:53
↓ 1 callersFunctionDelTmpAuth
(username string)
turn_server/turn_server.go:54
↓ 1 callersFunctionDelTmpAuthInfo
DelTmpAuthInfo implements: POST /voip/turnAuthTmpDel
clientapi/routing/voip.go:206
↓ 1 callersMethodDeleteAllBlacklist
(ctx context.Context, txn *sql.Tx)
federationapi/storage/tables/interface.go:68
↓ 1 callersMethodDeleteAllDeviceKeys
(ctx context.Context, txn *sql.Tx, userID string)
keyserver/storage/tables/interface.go:44
↓ 1 callersMethodDeleteBackwardExtremity
DeleteBackwardExtremity removes a backwards extremity for a room, if one existed.
syncapi/storage/tables/interface.go:146
↓ 1 callersMethodDeleteBlacklist
(ctx context.Context, txn *sql.Tx, serverName gomatrixserverlib.ServerName)
federationapi/storage/tables/interface.go:67
↓ 1 callersMethodDeleteCrossSigningSigsForTarget
(ctx context.Context, txn *sql.Tx, targetUserID string, targetKeyID gomatrixserverlib.KeyID)
keyserver/storage/tables/interface.go:69
↓ 1 callersFunctionDeleteDeviceById
DeleteDeviceById handles DELETE requests to /devices/{deviceId}
clientapi/routing/device.go:163
↓ 1 callersMethodDeleteDeviceKeys
(ctx context.Context, txn *sql.Tx, userID, deviceID string)
keyserver/storage/tables/interface.go:43
↓ 1 callersFunctionDeleteDevices
DeleteDevices handles POST requests to /delete_devices
clientapi/routing/device.go:244
↓ 1 callersMethodDeleteExpiredEDUs
(ctx context.Context, txn *sql.Tx, expiredBefore gomatrixserverlib.Timestamp)
federationapi/storage/tables/interface.go:44
↓ 1 callersMethodDeleteInviteEvent
(ctx context.Context, txn *sql.Tx, inviteEventID string)
syncapi/storage/tables/interface.go:37
↓ 1 callersMethodDeleteJoinedHosts
(ctx context.Context, txn *sql.Tx, eventIDs []string)
federationapi/storage/tables/interface.go:56
← previousnext →801–900 of 3,776, ranked by callers