MCPcopy Create free account

hub / github.com/daodst/chat / functions

Functions3,776 in github.com/daodst/chat

↓ 5 callersMethodSelectEventIDsInRange
SelectEventIDsInRange selects the IDs of events whose depths are within a given range in a given room's topological order. Events with `minDepth` are
syncapi/storage/tables/interface.go:90
↓ 5 callersMethodSetAppserviceAPI
(asAPI asAPI.AppServiceInternalAPI)
roomserver/api/api.go:24
↓ 5 callersMethodStateEntriesForEventIDs
Look up the state entries for a list of string event IDs Returns an error if the there is an error talking to the database Returns a types.MissingEven
roomserver/storage/interface.go:82
↓ 5 callersMethodStoreJSON
(ctx context.Context, js string)
federationapi/storage/interface.go:36
↓ 5 callersFunctionWithStateKey
(skey string)
test/event.go:43
↓ 5 callersFunctionaddLimitAndFilter
(q rdb.Term, value string, index string, opts *t.BrowseOpt)
server/db/rethinkdb/adapter.go:693
↓ 5 callersFunctioncleanup
cleanup old containers/volumes from a previous run
cmd/dendrite-upgrade-tests/main.go:433
↓ 5 callersFunctioncompileACLRegex
(orig string)
roomserver/acls/acls.go:82
↓ 5 callersFunctiongetSendersRoomEventFilter
TODO: Replace when Dendrite uses Go 1.18
syncapi/storage/postgres/filtering.go:42
↓ 5 callersFunctioninvalidParam
(msg string)
clientapi/routing/pusher.go:109
↓ 5 callersMethodlookup
lookup an entry in the event map.
roomserver/internal/helpers/auth.go:274
↓ 5 callersMethodprocessRoomEvent
processRoomEvent can only be called once at a time TODO(#375): This should be rewritten to allow concurrent calls. The difficulty is in ensuring that
roomserver/internal/input/input_events.go:66
↓ 5 callersFunctionpushRuleIndexByID
(rules []*pushrules.Rule, id string)
clientapi/routing/pushrules.go:317
↓ 5 callersFunctionsanityCheckKey
(key gomatrixserverlib.CrossSigningKey, userID string, purpose gomatrixserverlib.CrossSigningKeyPurpose)
keyserver/internal/cross_signing.go:32
↓ 5 callersFunctionvalidateApplicationService
validateApplicationService checks if a provided application service token corresponds to one that is registered. If so, then it checks if the desired
clientapi/routing/register.go:483
↓ 5 callersMethodvalidateTopicName
validateTopicName expands session specific topic name to global name Returns topic: session-specific topic name the message recepient should see route
server/session.go:565
↓ 4 callersMethodAddAllPublicRoutes
AddAllPublicRoutes attaches all public paths to the given router
setup/monolith.go:54
↓ 4 callersFunctionAddPublicRoutes
AddPublicRoutes sets up and registers HTTP handlers for the SyncAPI component.
syncapi/syncapi.go:40
↓ 4 callersMethodAddTelNumbers
(ctx context.Context, localpart string, telNums []int64)
userapi/api/api.go:115
↓ 4 callersMethodAssociateEDUWithDestination
(ctx context.Context, serverName gomatrixserverlib.ServerName, receipt *shared.Receipt, eduType string, expire
federationapi/storage/interface.go:42
↓ 4 callersMethodBackoffInfo
BackoffInfo returns information about the current or previous backoff. Returns the last backoffUntil time and whether the server is currently blacklis
federationapi/statistics/statistics.go:162
↓ 4 callersMethodCreateClient
( base *base.BaseDendrite, )
cmd/dendrite-demo-yggdrasil/yggconn/client.go:20
↓ 4 callersMethodCrossSigningSigsForTarget
(ctx context.Context, originUserID, targetUserID string, targetKeyID gomatrixserverlib.KeyID)
keyserver/storage/interface.go:84
↓ 4 callersMethodCurrentlyActive
CurrentlyActive returns the current active state.
syncapi/types/presence.go:77
↓ 4 callersMethodDerive
Derive generates data that is derived from various values provided in the config file.
setup/config/config.go:270
↓ 4 callersFunctionErrAuthUnknownScheme
(id, topic string, ts time.Time)
server/datamodel.go:518
↓ 4 callersFunctionErrorIfLocalServerNotInRoom
( ctx context.Context, rsAPI api.FederationRoomserverAPI, roomID string, )
federationapi/routing/routing.go:502
↓ 4 callersMethodEventIDs
Lookup the event IDs for a batch of event numeric IDs. Returns an error if the retrieval went wrong.
roomserver/storage/interface.go:93
↓ 4 callersMethodEventPositionInTopology
EventPositionInTopology returns the depth and stream position of the given event.
syncapi/storage/interface.go:118
↓ 4 callersMethodFederationAPIHTTPClient
FederationAPIHTTPClient returns FederationInternalAPI for hitting the federation API server over HTTP
setup/base/base.go:307
↓ 4 callersMethodGetAll
(appid uint32, topic string, opt *types.BrowseOpt)
server/store/store.go:372
↓ 4 callersMethodGetMediaMetadata
(ctx context.Context, mediaID types.MediaID, mediaOrigin gomatrixserverlib.ServerName)
mediaapi/storage/interface.go:31
↓ 4 callersMethodGetMembership
Lookup the membership of a given user in a given room. Returns the numeric ID of the latest membership event sent from this user in this room, along a
roomserver/storage/interface.go:128
↓ 4 callersMethodGetRoomsByMembership
GetRoomsByMembership returns a list of room IDs matching the provided membership and user ID (as state_key).
roomserver/storage/interface.go:153
↓ 4 callersMethodGetStateEvent
GetStateEvent returns the Matrix state event of a given type for a given room with a given state key If no event could be found, returns nil If there
syncapi/storage/interface.go:81
↓ 4 callersMethodGetSubs
GetSubs loads a list of subscriptions for the given user
server/store/store.go:222
↓ 4 callersMethodHash
()
roomserver/types/types.go:55
↓ 4 callersMethodInsertChainData
(ctx context.Context, localpart string, servername string, chatFee string, mortgageFee string)
userapi/api/api.go:109
↓ 4 callersMethodKeyChanges
KeyChanges returns a list of user IDs who have modified their keys from the offset given (exclusive) to the offset given (inclusive). A to offset of t
keyserver/storage/interface.go:73
↓ 4 callersMethodKeyError
KeyError sets a key error field on KeyErrors
keyserver/api/api.go:216
↓ 4 callersMethodKeyRing
()
federationapi/api/api.go:45
↓ 4 callersMethodMSC2836EventRelationships
(ctx context.Context, dst gomatrixserverlib.ServerName, r gomatrixserverlib.MSC2836EventRelationshipsRequest,
federationapi/api/api.go:97
↓ 4 callersFunctionMustCreateDatabase
(t *testing.T, dbType test.DBType)
keyserver/storage/storage_test.go:18
↓ 4 callersFunctionMustCreateDatabase
(t *testing.T, dbType test.DBType)
syncapi/storage/storage_test.go:20
↓ 4 callersMethodNotify
Notify sends a notification to the gateway at the given URL.
internal/pushgateway/pushgateway.go:11
↓ 4 callersFunctionParseUsernameParam
ParseUsernameParam extracts localpart from usernameParam. usernameParam can either be a user ID or just the localpart/username. If serverName is passe
clientapi/userutil/userutil.go:33
↓ 4 callersMethodPerformAdminEvacuateUser
(ctx context.Context, req *PerformAdminEvacuateUserRequest, res *PerformAdminEvacuateUserResponse)
roomserver/api/api.go:161
↓ 4 callersMethodPerformBackfill
Query a given amount (or less) of events prior to a given set of events.
roomserver/api/api.go:95
↓ 4 callersMethodPerformForget
PerformForget forgets a rooms history for a specific user
roomserver/api/api.go:152
↓ 4 callersMethodPerformUploadKeys
(ctx context.Context, req *PerformUploadKeysRequest, res *PerformUploadKeysResponse)
keyserver/api/api.go:51
↓ 4 callersMethodQueryKeyBackup
(ctx context.Context, req *QueryKeyBackupRequest, res *QueryKeyBackupResponse)
userapi/api/api.go:105
↓ 4 callersMethodQueryPushRules
(ctx context.Context, req *QueryPushRulesRequest, res *QueryPushRulesResponse)
userapi/api/api.go:88
↓ 4 callersMethodQueryRestrictedJoinAllowed
(ctx context.Context, req *QueryRestrictedJoinAllowedRequest, res *QueryRestrictedJoinAllowedResponse)
roomserver/api/api.go:185
↓ 4 callersMethodQuerySearchProfiles
(ctx context.Context, req *QuerySearchProfilesRequest, res *QuerySearchProfilesResponse)
userapi/api/api.go:124
↓ 4 callersMethodRedactEvent
RedactEvent wipes an event in the database and sets the unsigned.redacted_because key to the redaction event
syncapi/storage/interface.go:144
↓ 4 callersFunctionRunLimitedVariablesQuery
RunLimitedVariablesQuery split up a query with more variables than the used database can handle in multiple queries.
internal/sqlutil/sql.go:132
↓ 4 callersMethodSelectChainData
(ctx context.Context, localpart string)
userapi/api/api.go:110
↓ 4 callersMethodSelectEventTypeNID
( ctx context.Context, tx *sql.Tx, eventType string, )
roomserver/storage/sqlite3/event_types_table.go:109
↓ 4 callersFunctionSendEvent
SendEvent implements: /rooms/{roomID}/send/{eventType} /rooms/{roomID}/send/{eventType}/{txnID} /rooms/{roomID}/state/{eventType}/{stateKey}
clientapi/routing/sendevent.go:72
↓ 4 callersMethodStart
Start creates an ephemeral non-durable consumer on the roomserver input topic. It is configured to deliver us headers only because we don't actually c
roomserver/internal/input/input.go:165
↓ 4 callersMethodStateBlockNIDs
(ctx context.Context, stateNIDs []types.StateSnapshotNID)
roomserver/state/state.go:37
↓ 4 callersMethodStoreCrossSigningSigsForTarget
(ctx context.Context, originUserID string, originKeyID gomatrixserverlib.KeyID, targetUserID string, targetKey
keyserver/storage/interface.go:87
↓ 4 callersMethodStoreEvent
(ctx context.Context, appServiceID string, event *gomatrixserverlib.HeaderedEvent)
appservice/storage/interface.go:24
↓ 4 callersMethodStoreLazyLoadedUser
(device *userapi.Device, roomID, userID, eventID string)
internal/caching/cache_lazy_load_members.go:15
↓ 4 callersMethodStoreServerKey
request -> result is emulating gomatrixserverlib.StoreKeys: https://github.com/matrix-org/gomatrixserverlib/blob/f69539c86ea55d1e2cc76fd8e944e2d82d303
internal/caching/cache_serverkeys.go:21
↓ 4 callersMethodStreamEventsToEvents
StreamEventsToEvents converts streamEvent to Event. If device is non-nil and matches the streamevent.transactionID device then the transaction ID gets
syncapi/storage/interface.go:126
↓ 4 callersMethodUnset
(key K)
internal/caching/caches.go:42
↓ 4 callersMethodUpdate
(newMembership tables.MembershipState, event *types.Event)
roomserver/storage/shared/membership_updater.go:100
↓ 4 callersMethodValid
()
roomserver/api/alias.go:85
↓ 4 callersMethodWriteEvent
WriteEvent into the database. It is not safe to call this function from multiple goroutines, as it would create races when generating the sync stream
syncapi/storage/interface.go:71
↓ 4 callersMethod_fetchUserDeviceStream
_fetchUserDeviceStream retrieves a stream unique to the given device. If makeIfNotExists is true, a stream will be made for this device if one doesn't
syncapi/notifier/notifier.go:423
↓ 4 callersMethodadd
(str string)
syncapi/notifier/notifier.go:557
↓ 4 callersMethodassignStateKeyNID
( ctx context.Context, eventStateKey string, )
roomserver/storage/shared/storage.go:783
↓ 4 callersFunctionbenchmarkStateEntryMapLookup
(entries, lookups int64, b *testing.B)
roomserver/internal/helpers/auth_test.go:23
↓ 4 callersMethodcurrentStateStreamEventsForRoom
( ctx context.Context, txn *sql.Tx, roomID string, stateFilter *gomatrixserverlib.StateFilter, )
syncapi/storage/shared/syncserver.go:937
↓ 4 callersFunctionextractRequestData
(req *http.Request, roomID string, rsAPI roomserverAPI.ClientRoomserverAPI)
clientapi/routing/membership.go:353
↓ 4 callersMethodgetCompletedStages
getCompletedStages returns the completed stages for a session.
clientapi/routing/register.go:86
↓ 4 callersMethodgetParams
(sessionID string)
clientapi/routing/register.go:105
↓ 4 callersFunctiongetProfile
getProfile gets the full profile of a user by querying the database or a remote homeserver. Returns an error when something goes wrong or specifically
clientapi/routing/profile.go:548
↓ 4 callersMethodgetQueue
(destination gomatrixserverlib.ServerName)
federationapi/queue/queue.go:154
↓ 4 callersMethodhadEvent
(eventID string)
roomserver/internal/input/input_missing.go:900
↓ 4 callersMethodinjectResponseToRoomserver
injectResponseToRoomserver injects the events into the roomserver as KindOutlier, with auth chains.
setup/mscs/msc2836/msc2836.go:643
↓ 4 callersMethodisStale
(userID string)
keyserver/internal/device_list_update_test.go:91
↓ 4 callersFunctionisTrusted
isTrusted checks if a given identity server is part of the list of trusted identity servers in the configuration file. Returns an error if the server
clientapi/threepid/threepid.go:180
↓ 4 callersMethodloadStateEvents
loadStateEvents loads the matrix events for a list of state entries. Returns a list of state events in no particular order and a map from string event
roomserver/state/state.go:1045
↓ 4 callersFunctionmustEventFromJSON
(t *testing.T, json string)
internal/pushrules/evaluate_test.go:183
↓ 4 callersMethodnextPDUID
(ctx context.Context, txn *sql.Tx)
syncapi/storage/sqlite3/stream_id_table.go:54
↓ 4 callersFunctionpatternMatches
(key, pattern string, event *gomatrixserverlib.Event)
internal/pushrules/evaluate.go:147
↓ 4 callersFunctionreadFile
(src string)
mediaapi/thumbnailer/thumbnailer_nfnt.go:113
↓ 4 callersFunctionrowsToStreamEvents
(rows *sql.Rows)
syncapi/storage/postgres/output_room_events_table.go:606
↓ 4 callersFunctionrowsToStreamEvents
(rows *sql.Rows)
syncapi/storage/sqlite3/output_room_events_table.go:496
↓ 4 callersFunctionsetup
()
clientapi/auth/user_interactive_test.go:47
↓ 4 callersMethodtopicGet
(appid uint32, name string)
server/hub.go:121
↓ 3 callersMethodAddState
(ctx context.Context, roomNID types.RoomNID, stateBlockNIDs []types.StateBlockNID, state []types.StateEntry)
roomserver/state/state.go:42
↓ 3 callersMethodAddTypingUser
AddTypingUser sets an user as typing in a room. expire is the time when the user typing should time out. if expire is nil, defaultTypingTimeout is ass
internal/caching/cache_typing.go:100
↓ 3 callersMethodAppserviceHTTPClient
AppserviceHTTPClient returns the AppServiceInternalAPI for hitting the appservice component over HTTP.
setup/base/base.go:279
↓ 3 callersMethodBackfill
(ctx context.Context, s gomatrixserverlib.ServerName, roomID string, limit int, eventIDs []string)
federationapi/api/api.go:96
↓ 3 callersMethodBlacklisted
Blacklisted returns true if the server is blacklisted and false otherwise.
federationapi/statistics/statistics.go:172
↓ 3 callersMethodBulkSelectEventStateKeyNID
( ctx context.Context, txn *sql.Tx, eventStateKeys []string, )
roomserver/storage/sqlite3/event_state_keys_table.go:111
↓ 3 callersMethodBulkSelectStateAtEventByID
bulkSelectStateAtEventByID lookups the state at a list of events by event ID. If any of the requested events are missing from the database it returns
roomserver/storage/sqlite3/events_table.go:304
← previousnext →201–300 of 3,776, ranked by callers