MCPcopy Create free account

hub / github.com/davecheney/pub / functions

Functions422 in github.com/davecheney/pub

↓ 2 callersMethodSensitive
()
models/status.go:139
↓ 2 callersMethodSharedInboxURL
()
models/actor.go:114
↓ 2 callersMethodSpoilerText
()
models/status.go:143
↓ 2 callersMethodSubscribe
()
internal/streaming/streaming.go:33
↓ 2 callersMethodUnbookmark
(status *Status, actor *Actor)
models/reaction.go:171
↓ 2 callersMethodUnfavourite
(status *Status, actor *Actor)
models/reaction.go:152
↓ 2 callersMethodUnpin
(status *Status, actor *Actor)
models/reaction.go:133
↓ 2 callersMethodUnreblog
Unreblog removes the reblog of the given status with the given actor.
models/reaction.go:213
↓ 2 callersFunctionanyToSlice
(v any)
models/object.go:233
↓ 2 callersMethodcancel
(sub *Subscription)
internal/streaming/streaming.go:48
↓ 2 callersFunctionfetchObject
(ctx context.Context, uri string)
models/object.go:242
↓ 2 callersFunctioninstancesIndex
(env *Env, w http.ResponseWriter, r *http.Request, serialiser func(*models.Instance) map[string]any)
mastodon/instances.go:89
↓ 2 callersFunctionlanguages
()
mastodon/instances.go:119
↓ 2 callersFunctionmapFromAny
(v any)
activitypub/activitypub.go:98
↓ 2 callersFunctionmediaAttachments
()
mastodon/instances.go:123
↓ 2 callersFunctionmetadata
()
wellknown/nodeinfo.go:76
↓ 2 callersFunctionnilIfEmpty
nilIfEmpty returns nil if the string is empty, otherwise returns the string.
mastodon/serialisers.go:326
↓ 2 callersFunctionoriginalMetaFormat
(att *models.Attachment)
mastodon/serialisers.go:566
↓ 2 callersFunctionpolls
()
mastodon/instances.go:134
↓ 2 callersFunctionprotocols
()
wellknown/nodeinfo.go:80
↓ 2 callersFunctionservices
()
wellknown/nodeinfo.go:86
↓ 2 callersFunctionsortActors
sortActors sorts the actors by their ID, in descending order.
mastodon/mastodon.go:74
↓ 2 callersFunctionstatuses
()
mastodon/instances.go:152
↓ 2 callersFunctionusage
()
wellknown/nodeinfo.go:93
↓ 1 callersMethodActorType
()
models/actor.go:208
↓ 1 callersMethodAfterSave
func (a *Actor) AfterUpdate(tx *gorm.DB) error { return forEach(tx, a.maybeScheduleRefresh) }
models/actor.go:142
↓ 1 callersMethodApplication
(a *models.Application)
mastodon/serialisers.go:424
↓ 1 callersMethodAttachments
()
models/status.go:103
↓ 1 callersMethodAttributes
()
models/actor.go:90
↓ 1 callersMethodBlock
Block blocks the target from the actor.
models/relationship.go:169
↓ 1 callersMethodCollections
Collections returns the URL prefix for the collections for this Acct.
internal/webfinger/webfinger.go:64
↓ 1 callersMethodCredentialAccount
(a *models.Account)
mastodon/serialisers.go:116
↓ 1 callersMethodDisplayName
()
models/actor.go:98
↓ 1 callersFunctionEqual
Equal returns true if all elements are equal.
internal/algorithms/algorithms.go:25
↓ 1 callersFunctionFollow
Follow sends a follow request from the Account to the Target Actor's inbox.
activitypub/activitypub.go:147
↓ 1 callersFunctionFromContext
FromContext returns the ActivityPub client from the given context.
internal/activitypub/client.go:20
↓ 1 callersMethodInboxURL
()
models/actor.go:106
↓ 1 callersMethodIsBot
()
models/actor.go:181
↓ 1 callersMethodIsGroup
()
models/actor.go:204
↓ 1 callersMethodIsPerson
()
models/actor.go:185
↓ 1 callersMethodIsRemote
IsRemote indicates whether the actor is not local to the instance.
models/actor.go:200
↓ 1 callersFunctionLike
Like sends a like request from the Account to the Statuses Actor's inbox.
activitypub/activitypub.go:173
↓ 1 callersMethodLog
()
internal/httpx/handler.go:36
↓ 1 callersMethodMarker
(m *models.AccountMarker)
mastodon/serialisers.go:392
↓ 1 callersFunctionMaybeExcludeReblogs
MaybeExcludeReblogs returns a query that excludes reblogs if the request contains the exclude_reblogs parameter.
models/actor.go:326
↓ 1 callersFunctionMaybeExcludeReplies
MaybeExcludeReplies returns a query that excludes replies if the request contains the exclude_replies parameter.
models/actor.go:315
↓ 1 callersFunctionMaybePinned
MaybePinned returns a query that only includes pinned statuses if the request contains the pinned parameter.
models/actor.go:337
↓ 1 callersMethodMediaAttachments
(attachments []*models.Attachment)
mastodon/serialisers.go:531
↓ 1 callersMethodMute
Mute mutes the target from the actor.
models/relationship.go:141
↓ 1 callersFunctionNewReactionRequestProcessor
NewReactionRequestProcessor handles delivery of relationship requests.
workers/reactions.go:14
↓ 1 callersFunctionNewRelationshipRequestProcessor
RelationshipRequestProcessor handles delivery of relationship requests.
workers/relationships.go:15
↓ 1 callersFunctionNewSerialiser
(req *http.Request)
mastodon/serialisers.go:19
↓ 1 callersFunctionPaginateConversation
(r *http.Request)
models/pagination.go:63
↓ 1 callersMethodPreferences
(prefs *models.AccountPreferences)
mastodon/serialisers.go:651
↓ 1 callersMethodPrivKey
()
internal/activitypub/client.go:40
↓ 1 callersFunctionRedirect
Redirect returns a 302 redirect to the specified URI.
internal/httpx/handler.go:60
↓ 1 callersMethodRole
(ar *models.AccountRole)
mastodon/serialisers.go:140
↓ 1 callersMethodStatusEdit
(st *models.Status)
mastodon/serialisers.go:508
↓ 1 callersMethodTag
()
models/status.go:147
↓ 1 callersMethodTags
(tags []models.StatusTag)
mastodon/serialisers.go:285
↓ 1 callersMethodToType
ToType returns the Mastodon type of the attachment, image, video, audio or unknown.
models/attachments.go:51
↓ 1 callersMethodUnblock
Unblock removes a block relationship between actor and the target.
models/relationship.go:186
↓ 1 callersFunctionUnfollow
Unfollow sends an unfollow request from the Account to the Target Actor's inbox.
activitypub/activitypub.go:160
↓ 1 callersFunctionUnfollow
(actor, object *models.Actor)
activitypub/activities/activities.go:31
↓ 1 callersFunctionUnlike
Unlike sends an undo like request from the Account to the Statuses Actor's inbox.
activitypub/activitypub.go:186
↓ 1 callersFunctionUnlike
(actor *models.Actor, object string)
activitypub/activities/activities.go:40
↓ 1 callersMethodUnmute
Unmute removes a mute relationship between actor and the target.
models/relationship.go:155
↓ 1 callersMethodWebfinger
Webfinger returns the URL for the webfinger resource for this Acct.
internal/webfinger/webfinger.go:44
↓ 1 callersFunctionaddDigest
(req *http.Request, body []byte)
internal/httpsig/sign.go:81
↓ 1 callersFunctionconfigureDB
(db *gorm.DB)
mysql.go:34
↓ 1 callersFunctionconversation
conversation returns the conversation of the parent, or a new conversation if parent is nil.
models/status.go:371
↓ 1 callersFunctionfocus
(att *models.Attachment)
mastodon/serialisers.go:556
↓ 1 callersFunctionforEach
(a []T, fn func(T) error)
workers/processor.go:29
↓ 1 callersMethodgetKey
(keyID string)
activitypub/inbox.go:456
↓ 1 callersFunctioninReplyToActorID
(inReplyTo *Status)
models/object.go:207
↓ 1 callersFunctioninReplyToID
(inReplyTo *Status)
models/object.go:200
↓ 1 callersFunctionintFromAny
(v any)
activitypub/activitypub.go:114
↓ 1 callersFunctionisLocal
(r *http.Request)
mastodon/directory.go:22
↓ 1 callersFunctionlocalOnly
localOnly returns a scope that filters statuses to those that are local to the instance.
mastodon/timeline.go:67
↓ 1 callersMethodmaybeCreateReblog
(tx *gorm.DB)
models/object.go:161
↓ 1 callersMethodmaybeCreateStatus
(tx *gorm.DB)
models/object.go:105
↓ 1 callersFunctionmaybeEditedAt
maybeEditedAt returns a string representation of the time the status was edited, or null if it was not edited.
mastodon/serialisers.go:334
↓ 1 callersMethodmaybeSaveActor
maybeSaveActor updates the models.Actor table with the object's properties iff the object is a Person or Service.
models/object.go:85
↓ 1 callersFunctionmergeOptions
merge options appends the options to the DSN if they are not already present.
mysql.go:24
↓ 1 callersFunctionnewDialector
(dsn string)
mysql.go:15
↓ 1 callersFunctionoutboxIndex
(env *Env, w http.ResponseWriter, r *http.Request)
activitypub/outbox.go:22
↓ 1 callersFunctionoutboxShow
(env *Env, w http.ResponseWriter, r *http.Request)
activitypub/outbox.go:38
↓ 1 callersFunctionparseBool
parseBool parses a boolean value from a request parameter. If the parameter is not present, it returns false. If the parameter is present but cannot b
activitypub/activitypub.go:137
↓ 1 callersFunctionpemToPublicKey
(key []byte)
activitypub/inbox.go:483
↓ 1 callersMethodprocessAccept
(obj map[string]any)
activitypub/inbox.go:326
↓ 1 callersMethodprocessAcceptFollow
(obj map[string]any)
activitypub/inbox.go:336
↓ 1 callersMethodprocessActivity
processActivity processes an activity. If the activity can be handled without blocking, it is handled immediately. If the activity requires blocking,
activitypub/inbox.go:66
↓ 1 callersMethodprocessAdd
(act map[string]any)
activitypub/inbox.go:167
↓ 1 callersMethodprocessAddPin
(act map[string]any)
activitypub/inbox.go:180
↓ 1 callersMethodprocessAnnounce
(act map[string]any)
activitypub/inbox.go:163
↓ 1 callersMethodprocessCreate
(create map[string]any)
activitypub/inbox.go:260
↓ 1 callersMethodprocessDelete
(act map[string]any)
activitypub/inbox.go:395
↓ 1 callersMethodprocessDeleteActor
(uri string)
activitypub/inbox.go:425
↓ 1 callersMethodprocessDeleteStatus
(uri string)
activitypub/inbox.go:410
↓ 1 callersMethodprocessFollow
(act map[string]any)
activitypub/inbox.go:341
← previousnext →101–200 of 422, ranked by callers