MCPcopy Create free account

hub / github.com/gotify/server / functions

Functions910 in github.com/gotify/server

↓ 1 callersMethodNotifyDeletedUser
NotifyDeletedUser closes existing connections for the given user.
api/stream/stream.go:54
↓ 1 callersMethodOptional
()
auth/authentication.go:170
↓ 1 callersMethodRead
([]byte)
test/asserts.go:32
↓ 1 callersFunctionRegister
Register registers the ui on the root path.
ui/serve.go:24
↓ 1 callersMethodRequireAdmin
RequireAdmin returns a gin middleware which requires a client token or basic authentication header to be supplied with the request. Also the authentic
auth/authentication.go:37
↓ 1 callersFunctionRun
Run starts the http server and if configured a https server.
runner/runner.go:21
↓ 1 callersFunctionServe
Serve serves the documentation.
docs/swagger.go:15
↓ 1 callersMethodSetStorage
SetStorage sets current storage
plugin/testing/mock/mock.go:105
↓ 1 callersMethodTriggerMessage
TriggerMessage triggers a test message
plugin/testing/mock/mock.go:168
↓ 1 callersFunctionUI
UI serves the swagger ui.
docs/ui.go:71
↓ 1 callersMethodUpdatePluginConf
(p *model.PluginConf)
api/plugin.go:20
↓ 1 callersFunctionaddTrailingSlashToPaths
(conf *Configuration)
config/config.go:78
↓ 1 callersFunctionapplyLetsEncrypt
(s *http.Server, conf *config.Configuration)
runner/runner.go:117
↓ 1 callersFunctionbuildGoExecutable
(filename: string)
ui/src/tests/setup.ts:106
↓ 1 callersFunctionbuildGoPlugin
(filename: string, pluginPath: string)
ui/src/tests/setup.ts:99
↓ 1 callersFunctionclickByText
(page: Page, selector: string, text: string)
ui/src/tests/utils.ts:11
↓ 1 callersFunctioncompileAllowedCORSOrigins
(allowedOrigins []string)
auth/cors.go:55
↓ 1 callersFunctionconfigFiles
()
config/config.go:60
↓ 1 callersFunctioncontentType
(extras?: IMessageExtras)
ui/src/message/extras.ts:8
↓ 1 callersFunctioncountClients
(a *API)
api/stream/stream_test.go:514
↓ 1 callersFunctioncreateDirectoryIfSqlite
(dialect, connection string)
database/database.go:133
↓ 1 callersMethodcreatePluginConf
(instance compat.PluginInstance, info compat.Info, userID uint)
plugin/manager.go:399
↓ 1 callersFunctiondecrementInt
(x string)
fracdex/fracdex.go:250
↓ 1 callersMethoddeleteImage
(id: number)
ui/src/application/AppStore.ts:39
↓ 1 callersFunctiondeleteMessage
(message: IMessage)
ui/src/message/Messages.tsx:34
↓ 1 callersFunctiondoShutdownOnSignal
(shutdown chan<- error)
runner/runner.go:63
↓ 1 callersFunctionexist
(path string)
api/application.go:458
↓ 1 callersMethodexpectTryUserIDWith
(user *model.User, tokenUserID uint, expectedID *uint)
auth/util_test.go:49
↓ 1 callersFunctionextract
(extras: IMessageExtras | undefined, key: string, path: string)
ui/src/message/extras.ts:15
↓ 1 callersFunctionfillMissingSortKeys
(db *gorm.DB)
database/database.go:100
↓ 1 callersMethodfireUserAdded
(uid uint)
api/user.go:50
↓ 1 callersMethodfireUserDeleted
(uid uint)
api/user.go:41
↓ 1 callersFunctionform
(dialogSelector: string)
ui/src/tests/selector.ts:11
↓ 1 callersFunctiongenerateNonExistingImageName
(imgDir string, gen func() string)
api/application.go:465
↓ 1 callersFunctiongetDisplayer
()
ui/src/tests/plugin.test.ts:55
↓ 1 callersFunctiongetNetworkAndAddr
(listenAddr string, port int)
runner/runner.go:93
↓ 1 callersFunctiongetSwaggerJSON
(base string)
docs/swagger.go:23
↓ 1 callersFunctionhandleImageUploadClick
(id: number)
ui/src/application/Applications.tsx:78
↓ 1 callersFunctionhasReceivedMessage
(title: RegExp, content: RegExp)
ui/src/tests/plugin.test.ts:57
↓ 1 callersFunctionheaderIgnoreCase
(conf *config.Configuration, search string)
auth/cors.go:46
↓ 1 callersFunctioninitAxios
(currentUser: CurrentUser, snack: SnackReporter)
ui/src/apiAuth.ts:5
↓ 1 callersFunctioninitStores
()
ui/src/index.tsx:27
↓ 1 callersMethodinitializeConfigurerForSingleUserPlugin
(instance compat.PluginInstance, pluginConf *model.PluginConf)
plugin/manager.go:366
↓ 1 callersFunctionisThemeKey
(value: string | null)
ui/src/layout/theme.ts:3
↓ 1 callersFunctionnewClient
(conn *websocket.Conn, userID uint, token string, onClose func(*client))
api/stream/client.go:32
↓ 1 callersFunctionnewPluginDir
(plugins: string[])
ui/src/tests/setup.ts:22
↓ 1 callersFunctionnewUpgrader
(allowedWebSocketOrigins []string)
api/stream/stream.go:207
↓ 1 callersFunctionpluginInfo
(className: string)
ui/src/tests/plugin.test.ts:52
↓ 1 callersFunctionpriorityColor
(priority: number)
ui/src/message/Message.tsx:107
↓ 1 callersFunctionrefreshConfigurer
()
ui/src/plugin/PluginDetailView.tsx:35
↓ 1 callersFunctionrefreshDisplayer
()
ui/src/plugin/PluginDetailView.tsx:41
↓ 1 callersMethodregister
(client *client)
api/stream/stream.go:106
↓ 1 callersFunctionregisterButton
()
ui/src/user/Login.tsx:24
↓ 1 callersFunctionregisterReactions
(stores: StoreMapping)
ui/src/reactions.ts:7
↓ 1 callersFunctionrenderContent
()
ui/src/message/Message.tsx:156
↓ 1 callersFunctionrenderMessages
()
ui/src/message/Messages.tsx:93
↓ 1 callersMethodrequestDelete
(id: number)
ui/src/client/ClientStore.ts:16
↓ 1 callersFunctionrequestPermission
()
ui/src/snack/browserNotification.ts:9
↓ 1 callersFunctionreverse
(values []string)
fracdex/fracdex.go:408
↓ 1 callersFunctionstartGotify
(filename: string, port: number, pluginDir: string)
ui/src/tests/setup.ts:125
↓ 1 callersMethodstartReading
startWriteHandler starts listening on the client connection. As we do not need anything from the client, we ignore incoming messages. Leaves the loop
api/stream/client.go:61
↓ 1 callersMethodstartWriteHandler
startWriteHandler starts the write loop. The method has the following tasks: * ping the client in the interval provided as parameter * write messages
api/stream/client.go:81
↓ 1 callersFunctiontestFilePath
()
ui/src/tests/setup.ts:81
↓ 1 callersFunctiontestPluginDir
()
ui/src/tests/setup.ts:65
↓ 1 callersFunctiontoInternalMessage
(msg *model.MessageExternal)
api/message.go:391
↓ 1 callersMethodtokenFromAuthorizationHeader
(ctx *gin.Context)
auth/authentication.go:117
↓ 1 callersMethodtokenFromQuery
(ctx *gin.Context)
auth/authentication.go:109
↓ 1 callersMethodtokenFromXGotifyHeader
(ctx *gin.Context)
auth/authentication.go:113
↓ 1 callersFunctionuniq
(s []T)
api/stream/stream.go:171
↓ 1 callersFunctionunregister
()
ui/src/registerServiceWorker.ts:1
↓ 1 callersFunctionupdateClient
(id: number, data: {name?: string})
ui/src/tests/client.test.ts:33
↓ 1 callersFunctionupdateGinMode
()
mode/mode.go:32
↓ 1 callersFunctionvalidationErrorToText
(e validator.FieldError)
error/handler.go:43
↓ 1 callersFunctionwaitForClient
(name: string, row: number)
ui/src/tests/client.test.ts:27
↓ 1 callersFunctionwaitForGotify
(url: string)
ui/src/tests/setup.ts:87
↓ 1 callersMethodwithJSON
(value interface{})
api/application_test.go:670
MethodAPIVersion
APIVersion returns the API version.
plugin/compat/v1.go:17
MethodAPIVersion
APIVersion implements loader.PluginCompat
plugin/testing/mock/mock.go:39
FunctionAddApplicationDialog
({fClose, fOnSubmit}: IProps)
ui/src/application/AddApplicationDialog.tsx:17
FunctionAddClientDialog
({fClose, fOnSubmit}: IProps)
ui/src/client/AddClientDialog.tsx:15
FunctionAddEditUserDialog
({ fClose, fOnSubmit, isEdit, name: initialName = '', admin: initialAdmin = false, }: IPro
ui/src/user/AddEditUserDialog.tsx:20
MethodAfterTest
(suiteName, testName string)
database/migration_test.go:41
MethodAfterTest
(suiteName, testName string)
database/database_test.go:34
MethodAfterTest
(suiteName, testName string)
test/testdb/database_test.go:35
MethodAfterTest
(string, string)
api/message_test.go:43
MethodAfterTest
(suiteName, testName string)
api/plugin_test.go:75
MethodAfterTest
(suiteName, testName string)
api/user_test.go:54
MethodAfterTest
(suiteName, testName string)
api/client_test.go:54
MethodAfterTest
(suiteName, testName string)
api/application_test.go:61
MethodAfterTest
(suiteName, testName string)
api/health_test.go:36
MethodAfterTest
(string, string)
router/router_test.go:50
MethodBeforeTest
(suiteName, testName string)
database/migration_test.go:23
MethodBeforeTest
(suiteName, testName string)
database/database_test.go:27
MethodBeforeTest
(suiteName, testName string)
auth/util_test.go:22
MethodBeforeTest
(suiteName, testName string)
test/testdb/database_test.go:30
MethodBeforeTest
(suiteName, testName string)
api/message_test.go:33
MethodBeforeTest
(suiteName, testName string)
api/plugin_test.go:38
MethodBeforeTest
(suiteName, testName string)
api/user_test.go:35
MethodBeforeTest
(suiteName, testName string)
api/client_test.go:38
MethodBeforeTest
(suiteName, testName string)
api/application_test.go:48
← previousnext →301–400 of 910, ranked by callers