MCPcopy Create free account

hub / github.com/daodst/chat / functions

Functions3,776 in github.com/daodst/chat

↓ 2 callersMethodgenerateThumbnail
( ctx context.Context, filePath types.Path, thumbnailSize types.ThumbnailSize, activeThumbnailGenerati
mediaapi/routing/download.go:476
↓ 2 callersFunctiongetActiveThumbnailGeneration
getActiveThumbnailGeneration checks for active thumbnail generation
mediaapi/thumbnailer/thumbnailer.go:92
↓ 2 callersFunctiongetApiKey
(req *http.Request)
server/main.go:128
↓ 2 callersMethodgetChildMetadata
(eventID string)
setup/mscs/msc2836/msc2836.go:700
↓ 2 callersMethodgetDeviceToDelete
(sessionID string)
clientapi/routing/register.go:193
↓ 2 callersFunctiongetIDsFromEvent
(events []*gomatrixserverlib.HeaderedEvent)
federationapi/routing/state.go:152
↓ 2 callersFunctiongetIdBuffer
getIdBuffer returns a byte array holding the Uid bytes
server/store/types/uidgen.go:49
↓ 2 callersMethodgetJoinResponseForCompleteSync
( ctx context.Context, roomID string, r types.Range, stateFilter *gomatrixserverlib.StateFilter, eve
syncapi/streams/stream_pdu.go:385
↓ 2 callersMethodgetLocalEvent
(eventID string)
setup/mscs/msc2836/msc2836.go:625
↓ 2 callersFunctiongetMembershipFromEvent
getMembershipFromEvent returns the value of content.membership iff the event is a state event with type 'm.room.member' and state_key of userID. Other
syncapi/storage/shared/syncserver.go:1005
↓ 2 callersMethodgetMissingEvents
get missing events for `e`. If `isGapFilled`=true then `newEvents` contains all the events to inject, without `e`. If `isGapFilled=false` then `newEve
roomserver/internal/input/input_missing.go:503
↓ 2 callersFunctiongetPassword
(password, pwdFile string, pwdStdin bool, r io.Reader)
cmd/create-account/main.go:156
↓ 2 callersFunctiongetSendersStateFilterFilter
(filter *gomatrixserverlib.StateFilter)
syncapi/storage/postgres/filtering.go:52
↓ 2 callersMethodgetServersForEventID
(eventID string)
setup/mscs/msc2836/msc2836.go:545
↓ 2 callersFunctiongetState
( ctx context.Context, request *gomatrixserverlib.FederationRequest, rsAPI api.FederationRoomserverAPI,
federationapi/routing/state.go:97
↓ 2 callersFunctionglobToRegexp
globToRegexp converts a Matrix glob-style pattern to a Regular expression.
internal/pushrules/util.go:50
↓ 2 callersFunctiongoid
()
internal/sqlutil/trace.go:100
↓ 2 callersMethodhasUnexploredChildren
hasUnexploredChildren returns true if this event has unexplored children. "An event has unexplored children if the `unsigned` child count on the paren
setup/mscs/msc2836/msc2836.go:729
↓ 2 callersFunctionisThumbnailExists
( ctx context.Context, dst types.Path, config types.ThumbnailSize, mediaMetadata *types.MediaMetadata,
mediaapi/thumbnailer/thumbnailer.go:134
↓ 2 callersFunctionjoinedHostsFromStmt
( ctx context.Context, stmt *sql.Stmt, roomID string, )
federationapi/storage/postgres/joined_hosts_table.go:190
↓ 2 callersFunctionjoinedHostsFromStmt
( ctx context.Context, stmt *sql.Stmt, roomID string, )
federationapi/storage/sqlite3/joined_hosts_table.go:197
↓ 2 callersMethodlazyLoadMembers
( ctx context.Context, roomID string, incremental, limited, includeRedundant bool, device *userapi.Devic
syncapi/streams/stream_pdu.go:497
↓ 2 callersFunctionlesserOf
(a, b time.Duration)
internal/caching/impl_ristretto.go:194
↓ 2 callersFunctionloadAuthEvents
loadAuthEvents loads the events needed for authentication from the supplied room state.
roomserver/internal/helpers/auth.go:194
↓ 2 callersFunctionloadConfig
( basePath string, configData []byte, readFile func(string) ([]byte, error), monolithic bool, )
setup/config/config.go:207
↓ 2 callersMethodloadEvent
loadEvent loads a single event or returns nil on any problems/missing event
roomserver/storage/shared/storage.go:975
↓ 2 callersMethodloadStateAtSnapshotForNumericTuples
loadStateAtSnapshotForNumericTuples loads the state for a list of event type and state key pairs at a snapshot. This is used when we only want to load
roomserver/state/state.go:352
↓ 2 callersMethodloadSubscriptions
loadSubscriptions loads topic subscribers, sets topic owner & lastMessage
server/hub.go:531
↓ 2 callersFunctionlocalKeys
(cfg *config.FederationAPI, validUntil time.Time)
federationapi/routing/keys.go:141
↓ 2 callersMethodlookupEvent
(typeNID types.EventTypeNID, stateKey string)
roomserver/internal/helpers/auth.go:174
↓ 2 callersMethodlookupResolvedStateBeforeEvent
(ctx context.Context, e *gomatrixserverlib.Event, roomVersion gomatrixserverlib.RoomVersion)
roomserver/internal/input/input_missing.go:241
↓ 2 callersFunctionmakeDownloadAPI
( name string, cfg *config.MediaAPI, rateLimits *httputil.RateLimits, db storage.Database, client *g
mediaapi/routing/routing.go:102
↓ 2 callersFunctionmembershipEventPresent
(events []gomatrixserverlib.ClientEvent, userID string)
syncapi/internal/keychange.go:275
↓ 2 callersFunctionmembershipEventPresent
(events []gomatrixserverlib.ClientEvent, userID string)
syncapi/streams/stream_presence.go:173
↓ 2 callersMethodmembershipUpdaterTxn
( ctx context.Context, txn *sql.Tx, roomNID types.RoomNID, targetUserNID types.EventStateKeyNID, tar
roomserver/storage/shared/membership_updater.go:46
↓ 2 callersFunctionmissingEventsFrom
(events []*gomatrixserverlib.Event, required []string)
federationapi/consumers/roomserver.go:400
↓ 2 callersFunctionmostRecent
(vals map[string]time.Time)
server/topic.go:1082
↓ 2 callersFunctionmustCreateDatabase
(t *testing.T, dbType test.DBType)
mediaapi/storage/storage_test.go:14
↓ 2 callersFunctionmustCreateTransaction
(rsAPI api.FederationRoomserverAPI, fedClient txnFederationClient, pdus []json.RawMessage)
federationapi/routing/send_test.go:186
↓ 2 callersFunctionmustProcessTransaction
(t *testing.T, txn *txnReq, pdusWithErrors []string)
federationapi/routing/send_test.go:200
↓ 2 callersMethodmutex
(userID string)
keyserver/internal/device_list_update.go:176
↓ 2 callersFunctionnameAndKeyID
(request gomatrixserverlib.PublicKeyLookupRequest)
federationapi/storage/postgres/server_key_table.go:144
↓ 2 callersFunctionnameAndKeyID
(request gomatrixserverlib.PublicKeyLookupRequest)
federationapi/storage/sqlite3/server_key_table.go:155
↓ 2 callersFunctionnewFedClient
(tripper func(*http.Request) (*http.Response, error))
keyserver/internal/device_list_update_test.go:128
↓ 2 callersFunctionnewLocalMembership
(event *gomatrixserverlib.ClientEvent)
userapi/consumers/syncapi_streamevent.go:160
↓ 2 callersFunctionnewSyncRequest
(req *http.Request, device userapi.Device, syncDB storage.Database)
syncapi/sync/request.go:37
↓ 2 callersFunctionnewThumbnailFitness
init with worst values
mediaapi/thumbnailer/thumbnailer.go:163
↓ 2 callersMethodnextChild
(toWalk []walkInfo)
setup/mscs/msc2836/msc2836.go:837
↓ 2 callersMethodnextInviteID
(ctx context.Context, txn *sql.Tx)
syncapi/storage/sqlite3/stream_id_table.go:66
↓ 2 callersMethodnotifyJoinedPeeks
(ctx context.Context, ev *gomatrixserverlib.HeaderedEvent, sp types.StreamPosition)
syncapi/consumers/roomserver.go:317
↓ 2 callersMethodonNewRoomEvent
( ctx context.Context, msg api.OutputNewRoomEvent, )
syncapi/consumers/roomserver.go:153
↓ 2 callersFunctionparentChildEventIDs
(ev *gomatrixserverlib.HeaderedEvent)
setup/mscs/msc2836/storage.go:318
↓ 2 callersFunctionparseEventIDParam
( request *gomatrixserverlib.FederationRequest, )
federationapi/routing/state.go:76
↓ 2 callersFunctionparseInt
(intstr string, defaultVal int)
setup/mscs/msc2946/msc2946.go:715
↓ 2 callersFunctionparseRoomMemberCountCondition
parseRoomMemberCountCondition parses a string like "2", "==2", "<2" into a function that checks if the argument to it fulfils the condition.
internal/pushrules/util.go:98
↓ 2 callersFunctionparseTopicAccess
Parse topic access parameters
server/hub.go:615
↓ 2 callersMethodperformFederatedJoinRoomByID
( ctx context.Context, req *rsAPI.PerformJoinRequest, )
roomserver/internal/perform/perform_join.go:335
↓ 2 callersMethodperformJoinRoomByID
TODO: Break this function up a bit nolint:gocyclo
roomserver/internal/perform/perform_join.go:165
↓ 2 callersMethodperformPeekRoomByID
( ctx context.Context, req *api.PerformPeekRequest, )
roomserver/internal/perform/perform_peek.go:139
↓ 2 callersFunctionpersistEvents
(ctx context.Context, db storage.Database, events []*gomatrixserverlib.HeaderedEvent)
roomserver/internal/perform/perform_backfill.go:570
↓ 2 callersMethodprocess
()
setup/mscs/msc2836/msc2836.go:252
↓ 2 callersFunctionprocessInvite
( ctx context.Context, isInviteV2 bool, event *gomatrixserverlib.Event, roomVer gomatrixserverlib.Room
federationapi/routing/invite.go:106
↓ 2 callersMethodprocessTransaction
(ctx context.Context)
federationapi/routing/send.go:207
↓ 2 callersFunctionpushRuleAttrGetter
(attr string)
clientapi/routing/pushrules.go:326
↓ 2 callersMethodreadOnlySnapshot
(ctx context.Context)
syncapi/storage/shared/syncserver.go:55
↓ 2 callersMethodremoteEventRelationships
(eventID string)
setup/mscs/msc2836/msc2836.go:574
↓ 2 callersMethodremove
(str string)
syncapi/notifier/notifier.go:564
↓ 2 callersFunctionremoveDuplicates
(stateEvents, recentEvents []*gomatrixserverlib.HeaderedEvent)
syncapi/streams/stream_pdu.go:581
↓ 2 callersMethodreplyGetData
replyGetData is a response to a get.data request - load a list of stored messages, send them to session as {data} response goes to a single session ra
server/topic.go:900
↓ 2 callersMethodreplyGetInfo
replyGetInfo is a response to a get.info request on a topic, sent to just the session as a {meta} packet
server/topic.go:631
↓ 2 callersMethodreplyGetSub
replyGetSub is a response to a get.sub request on a topic - load a list of subscriptions/subscribers, send it just to the session as a {meta} packet
server/topic.go:811
↓ 2 callersMethodrequestSub
User requests or updates a self-subscription to a topic h - hub sess - originating session pktId - originating packet Id want - requested acces
server/topic.go:385
↓ 2 callersMethodrestrictedJoinRuleAllowedRooms
(joinRuleEv *gomatrixserverlib.HeaderedEvent, allowType string)
setup/mscs/msc2946/msc2946.go:616
↓ 2 callersMethodroomVersion
(roomID string)
roomserver/internal/query/query.go:620
↓ 2 callersFunctionrowsToUserIDs
(ctx context.Context, rows *sql.Rows)
keyserver/storage/postgres/stale_device_lists.go:108
↓ 2 callersFunctionrowsToUserIDs
(ctx context.Context, rows *sql.Rows)
keyserver/storage/sqlite3/stale_device_lists.go:111
↓ 2 callersFunctionruleMatches
(rule *Rule, kind Kind, event *gomatrixserverlib.Event, ec EvaluationContext)
internal/pushrules/evaluate.go:86
↓ 2 callersFunctionrunImage
(dockerClient *client.Client, volumeName, version, imageID string)
cmd/dendrite-upgrade-tests/main.go:328
↓ 2 callersFunctionsanityCheckAuthChain
(authChain []*gomatrixserverlib.Event)
federationapi/internal/perform.go:650
↓ 2 callersFunctionsendInvite
sendInvite sends an invitation to a user. Returns a JSONResponse and an error
clientapi/routing/membership.go:241
↓ 2 callersFunctionserveTemplate
serveTemplate fills template data and serves it using http.ResponseWriter
clientapi/routing/auth_fallback.go:94
↓ 2 callersMethodsetWithCost
(key K, value V, cost int64)
internal/caching/impl_ristretto.go:155
↓ 2 callersFunctionsetupFileHook
Add a new FSHook to the logger. Each component will log in its own file
internal/log.go:123
↓ 2 callersFunctionsetupNATS
(process *process.ProcessContext, cfg *config.JetStream, nc *natsclient.Conn)
setup/jetstream/nats.go:77
↓ 2 callersFunctionsetupStdLogHook
(level logrus.Level)
internal/log_unix.go:90
↓ 2 callersFunctionsliceInto
sliceInto returns a subslice of `slice` which honours the since/limit values given. 0 1 2 3 4 5 6 index [A, B, C, D, E, F, G] slice li
clientapi/routing/directory_public.go:208
↓ 2 callersMethodsnapshotNIDFromEventID
( ctx context.Context, txn *sql.Tx, eventID string, )
roomserver/storage/shared/storage.go:283
↓ 2 callersFunctionstartup
()
cmd/dendrite-monolith-server/dendritejs-pinecone/main.go:151
↓ 2 callersMethodstateBlockNIDs
( ctx context.Context, txn *sql.Tx, stateNIDs []types.StateSnapshotNID, )
roomserver/storage/shared/storage.go:345
↓ 2 callersFunctionstateBlockNIDsAsArray
(stateBlockNIDs []types.StateBlockNID)
roomserver/storage/postgres/state_block_table.go:136
↓ 2 callersMethodstateEntries
( ctx context.Context, txn *sql.Tx, stateBlockNIDs []types.StateBlockNID, )
roomserver/storage/shared/storage.go:357
↓ 2 callersMethodstateEntriesForTuples
( ctx context.Context, txn *sql.Tx, stateBlockNIDs []types.StateBlockNID, stateKeyTuples []types.StateKe
roomserver/storage/shared/storage.go:129
↓ 2 callersMethodstringTuplesToNumericTuples
stringTuplesToNumericTuples converts the string state key tuples into numeric IDs If there isn't a numeric ID for either the event type or the event s
roomserver/state/state.go:308
↓ 2 callersFunctionstripIPPort
stripIPPort converts strings like "[::1]:12345" to "::1"
clientapi/routing/device.go:272
↓ 2 callersFunctiontoNATSMsgs
(t *testing.T, base *base.BaseDendrite, input []*gomatrixserverlib.HeaderedEvent)
syncapi/syncapi_test.go:450
↓ 2 callersFunctiontrackGoID
(query string)
internal/sqlutil/trace.go:83
↓ 2 callersFunctionunmarshalCanonicalAlias
(event *gomatrixserverlib.HeaderedEvent)
userapi/consumers/syncapi_streamevent.go:281
↓ 2 callersFunctionunmarshalRoomName
(event *gomatrixserverlib.HeaderedEvent)
userapi/consumers/syncapi_streamevent.go:272
↓ 2 callersMethodupdateStateEvent
(event *gomatrixserverlib.HeaderedEvent)
syncapi/consumers/roomserver.go:436
↓ 2 callersMethodvalid
()
clientapi/routing/server_notices.go:268
← previousnext →701–800 of 3,776, ranked by callers