MCPcopy Create free account

hub / github.com/gotify/server / functions

Functions910 in github.com/gotify/server

↓ 3 callersMethodUpdateClientTokensLastUsed
(tokens []string, t *time.Time)
auth/authentication.go:24
↓ 3 callersMethodUpdateUser
(user *model.User)
api/user.go:20
↓ 3 callersFunctionWrap
Wrap wraps around a raw go plugin to provide typesafe access.
plugin/compat/wrap.go:12
↓ 3 callersMethodappWithToken
(id uint, token string, internal bool)
test/testdb/database.go:89
↓ 3 callersFunctioncreateApp
(name: string)
ui/src/tests/message.test.ts:54
↓ 3 callersFunctioncreateApp
(name: string, description: string)
ui/src/tests/application.test.ts:60
↓ 3 callersFunctioncreateUser
(name: string, password: string, isAdmin: boolean)
ui/src/tests/user.test.ts:40
↓ 3 callersFunctiondoShutdown
(shutdown chan<- error, err error)
runner/runner.go:70
↓ 3 callersMethodexpectUserIDWith
(user *model.User, tokenUserID, expectedID uint)
auth/util_test.go:42
↓ 3 callersFunctiongenerateRandomToken
(prefix string)
auth/token.go:57
↓ 3 callersMethodinitializeForUser
(user model.User)
plugin/manager.go:281
↓ 3 callersMethodloginUser
()
api/user_test.go:432
↓ 3 callersMethodnewAppWithToken
(id uint, token string, internal bool)
test/testdb/database.go:104
↓ 3 callersMethodnewAppWithTokenAndName
(id uint, token, name string, internal bool)
test/testdb/database.go:135
↓ 3 callersMethodnoLogin
()
api/user_test.go:437
↓ 3 callersFunctionprintWebSocketError
(prefix string, err error)
api/stream/client.go:110
↓ 3 callersFunctionrandIntn
(n int)
auth/token.go:18
↓ 3 callersMethodremove
(remove *client)
api/stream/stream.go:93
↓ 3 callersMethodrequireToken
(auth authenticate)
auth/authentication.go:143
↓ 3 callersFunctionserveFile
(name, contentType string, convert func(string) string)
ui/serve.go:50
↓ 3 callersFunctionswitchSelctor
(id: number)
ui/src/tests/plugin.test.ts:37
↓ 3 callersFunctiontoggleEnabled
(id: number)
ui/src/tests/plugin.test.ts:42
↓ 3 callersFunctionupdateApp
(id: number, data: {name?: string; description?: string})
ui/src/tests/application.test.ts:41
↓ 3 callersFunctionvalidateOrderKey
(key string)
fracdex/fracdex.go:195
↓ 3 callersFunctionwaitForCount
( page: Page, selector: string, amount: number )
ui/src/tests/utils.ts:33
↓ 3 callersFunctionwriteError
(ctx *gin.Context, errString string)
error/handler.go:58
↓ 2 callersMethodAppWithTokenAndDefaultPriority
AppWithTokenAndDefaultPriority creates an application with a token and defaultPriority and returns a message builder.
test/testdb/database.go:142
↓ 2 callersMethodChangePassword
ChangePassword changes the password from the current user swagger:operation POST /current/user/password user updateCurrentUser Update the password of
api/user.go:363
↓ 2 callersMethodClientWithToken
ClientWithToken creates a client with a token and returns itself.
test/testdb/database.go:154
↓ 2 callersMethodDeleteMessagesByApplication
DeleteMessagesByApplication deletes all messages from an application.
database/message.go:84
↓ 2 callersMethodDeleteMessagesByApplication
(applicationID uint)
api/message.go:25
↓ 2 callersMethodDeleteMessagesByUser
(userID uint)
api/message.go:24
↓ 2 callersMethodGetApplications
GetApplications returns all applications a user has. swagger:operation GET /application application getApps Return all applications. --- consumes:
api/application.go:137
↓ 2 callersMethodGetApplicationsByUser
GetApplicationsByUser returns all applications from a user.
database/application.go:64
↓ 2 callersMethodGetUserByID
(id uint)
plugin/manager.go:34
↓ 2 callersMethodGetUserByName
(name string)
auth/authentication.go:22
↓ 2 callersMethodHasInstance
HasInstance returns whether the given plugin ID has a corresponding instance.
plugin/manager.go:178
↓ 2 callersMethodHealth
Health returns health information. swagger:operation GET /health health getHealth Get health information. --- produces: [application/json] respon
api/health.go:34
↓ 2 callersMethodInternalApp
InternalApp creates an internal application and returns a message builder.
test/testdb/database.go:71
↓ 2 callersFunctionNew
New creates a new instance of API. pingPeriod: is the interval, in which is server sends the a ping to the client. pongTimeout: is the duration after
api/stream/stream.go:31
↓ 2 callersMethodNotifyClose
NotifyClose closes the connection and notifies that the connection was closed.
api/stream/client.go:51
↓ 2 callersMethodNotifyDeletedClient
NotifyDeletedClient closes existing connections with the given token.
api/stream/stream.go:67
↓ 2 callersMethodRequireApplicationToken
RequireApplicationToken returns a gin middleware which requires an application token to be supplied with the request.
auth/authentication.go:78
↓ 2 callersMethodUpdateApplication
(app *model.Application)
plugin/manager.go:36
↓ 2 callersMethodUpdateApplicationTokenLastUsed
(token string, t *time.Time)
auth/authentication.go:25
↓ 2 callersFunctionValidApplicationImageExt
(ext string)
api/application.go:474
↓ 2 callersMethodapp
(id uint, internal bool)
test/testdb/database.go:75
↓ 2 callersMethodappWithTokenAndName
(id uint, token, name string, internal bool)
test/testdb/database.go:120
↓ 2 callersFunctionbuildWithPaging
(ctx *gin.Context, paging *pagingParams, messages []*model.Message)
api/message.go:101
↓ 2 callersFunctionclearAll
()
ui/src/reactions.ts:11
↓ 2 callersFunctioncreateClient
(t *testing.T, url string)
api/stream/stream_test.go:546
↓ 2 callersFunctioncreateClient
(name: string)
ui/src/tests/client.test.ts:63
↓ 2 callersFunctiongenerateRandomString
(length int)
auth/token.go:61
↓ 2 callersFunctiongetIntLen
(head byte)
fracdex/fracdex.go:174
↓ 2 callersFunctionhandleApplicationError
(ctx *gin.Context, err error)
api/application.go:483
↓ 2 callersFunctionincrementInt
returns error if x is invalid, or if range is exceeded.
fracdex/fracdex.go:214
↓ 2 callersMethodinitializeSingleUserPlugin
(userCtx compat.UserContext, p compat.Plugin)
plugin/manager.go:315
↓ 2 callersFunctionlabel
(text: string)
ui/src/message/Messages.tsx:108
↓ 2 callersFunctionloadAll
()
ui/src/reactions.ts:22
↓ 2 callersMethodmakeDanglingPluginConf
(uid uint)
plugin/manager_test.go:109
↓ 2 callersMethodmayExecute
()
api/stream/once.go:28
↓ 2 callersFunctionrefreshFeatures
()
ui/src/plugin/PluginDetailView.tsx:28
↓ 2 callersMethodremoveFromList
(messages: IMessage[], messageToDelete: IMessage)
ui/src/message/MessagesStore.ts:171
↓ 2 callersFunctionrequirePluginEnabled
(id uint, db Database)
plugin/pluginenabled.go:9
↓ 2 callersFunctionstartListening
(connectionType, listenAddr string, port, keepAlive int)
runner/runner.go:79
↓ 2 callersFunctionstartReading
(client *testingClient)
api/stream/stream_test.go:531
↓ 2 callersFunctionsupportOrAbort
(ctx *gin.Context, instance compat.PluginInstance, module compat.Capability)
api/plugin.go:410
↓ 2 callersMethodtokenFromQueryOrHeader
(ctx *gin.Context)
auth/authentication.go:98
↓ 2 callersFunctionumask
(_ int)
runner/umask_fallback.go:5
↓ 2 callersMethoduserFromBasicAuth
(ctx *gin.Context)
auth/authentication.go:132
↓ 2 callersFunctionvalidateInt
(i string)
fracdex/fracdex.go:163
↓ 2 callersFunctionwithPaging
(ctx *gin.Context, f func(pagingParams *pagingParams))
api/message.go:122
↓ 2 callersFunctionwithURL
(ctx *gin.Context, scheme, host string)
docs/swagger_test.go:28
↓ 1 callersMethodAPIVersion
()
plugin/compat/plugin.go:7
↓ 1 callersMethodClose
Close closes the connection.
api/stream/client.go:43
↓ 1 callersMethodDeleteApplicationByID
DeleteApplicationByID deletes an application by its id.
database/application.go:58
↓ 1 callersMethodDeleteClientByID
DeleteClientByID deletes a client by its id.
database/client.go:52
↓ 1 callersMethodDeleteMessages
DeleteMessages delete all messages from a user. swagger:operation DELETE /message message deleteMessages Delete all messages. --- produces: [appli
api/message.go:220
↓ 1 callersMethodDeletePluginConfByID
DeletePluginConfByID deletes a plugin configuration by its id.
database/plugin.go:81
↓ 1 callersFunctionFloat64Approx
Float64Approx converts a key as generated by KeyBetween() to a float64. Because the range of keys is far larger than float64 can represent accurately,
fracdex/fracdex.go:292
↓ 1 callersFunctionGenerateApplicationToken
GenerateApplicationToken generates an application token.
auth/token.go:38
↓ 1 callersFunctionGenerateClientToken
GenerateClientToken generates a client token.
auth/token.go:43
↓ 1 callersFunctionGenerateImageName
GenerateImageName generates an image name.
auth/token.go:53
↓ 1 callersMethodGetApplicationByToken
(token string)
auth/authentication.go:19
↓ 1 callersMethodGetApplicationByToken
(token string)
api/application.go:21
↓ 1 callersMethodGetClients
GetClients returns all clients a user has. swagger:operation GET /client client getClients Return all clients. --- consumes: [application/json] p
api/client.go:179
↓ 1 callersMethodGetClientsByUser
GetClientsByUser returns all clients from a user.
database/client.go:42
↓ 1 callersMethodGetCurrentUser
GetCurrentUser returns the current user swagger:operation GET /current/user user currentUser Return the current user. --- produces: [application/j
api/user.go:124
↓ 1 callersMethodGetPluginConfByUser
GetPluginConfByUser gets plugin configurations from a user.
database/plugin.go:9
↓ 1 callersMethodGetPlugins
GetPlugins returns all plugins a user has. swagger:operation GET /plugin plugin getPlugins Return all plugins. --- consumes: [application/json] p
api/plugin.go:63
↓ 1 callersMethodGetStorage
GetStorage sets current storage
plugin/testing/mock/mock.go:110
↓ 1 callersMethodGetUserByID
(id uint)
auth/authentication.go:23
↓ 1 callersMethodGetUsers
()
plugin/manager.go:26
↓ 1 callersMethodInternalAppWithToken
InternalAppWithToken creates an internal application with a token and returns a message builder.
test/testdb/database.go:85
↓ 1 callersMethodInternalAppWithTokenAndName
InternalAppWithTokenAndName creates an internal application with a token and name and returns a message builder.
test/testdb/database.go:116
↓ 1 callersFunctionNKeysBetween
NKeysBetween returns n keys between a and b that sorts lexicographically. Either a or b can be empty strings. If a is empty it indicates smallest key,
fracdex/fracdex.go:340
↓ 1 callersMethodNewAppWithTokenAndName
NewAppWithTokenAndName creates an application with a token and name and returns the app.
test/testdb/database.go:126
↓ 1 callersMethodNewInternalAppWithToken
NewInternalAppWithToken creates an internal application with a token and returns the app.
test/testdb/database.go:100
↓ 1 callersMethodNewInternalAppWithTokenAndName
NewInternalAppWithTokenAndName creates an internal application with a token and name and returns the app.
test/testdb/database.go:131
↓ 1 callersFunctionNotFound
NotFound creates a gin middleware for handling page not found.
error/notfound.go:11
← previousnext →201–300 of 910, ranked by callers