MCPcopy Create free account

hub / github.com/gotify/server / functions

Functions910 in github.com/gotify/server

FunctionNumberField
({ value, onChange, ...props }: NumberFieldProps & Omit<TextFieldProps, 'value' | 'onChange'>)
ui/src/common/NumberField.tsx:9
FunctionPanelWrapper
({ name, description, refresh, icon, children, })
ui/src/plugin/PluginDetailView.tsx:97
MethodPing
Ping pings the database to verify the connection.
database/ping.go:4
FunctionPluginDetailView
()
ui/src/plugin/PluginDetailView.tsx:19
FunctionPluginInfo
({pluginInfo}: IPluginInfo)
ui/src/plugin/PluginDetailView.tsx:197
MethodPluginInfo
PluginInfo returns plugin info.
plugin/manager.go:151
MethodPluginInfo
PluginInfo implements compat/Plugin.
plugin/compat/v1.go:22
MethodPluginInfo
PluginInfo implements loader.PluginCompat
plugin/testing/mock/mock.go:24
FunctionPushMessageDialog
({appName, defaultPriority, fClose, fOnSubmit}: IProps)
ui/src/message/PushMessageDialog.tsx:19
MethodRegisterWebhook
RegisterWebhook implements plugin.Webhooker.
plugin/example/echo/echo.go:75
MethodRegisterWebhook
RegisterWebhook see papiv1.Webhooker.
plugin/compat/v1.go:111
MethodRegisterWebhook
RegisterWebhook implements compat.Webhooker
plugin/testing/mock/mock.go:115
FunctionRegistrationDialog
({fClose, fOnSubmit, name: initialName = ''}: IProps)
ui/src/user/Register.tsx:16
FunctionRequireAuth
({children, authenticating, loggedIn})
ui/src/layout/Layout.tsx:182
FunctionResponsiveButton
({icon, label, ...rest})
ui/src/layout/Header.tsx:219
FunctionResponsiveDrawer
({navOpen, setNavOpen, children, ...rest})
ui/src/layout/Navigation.tsx:116
MethodRoundTrip
(r *http.Request)
runner/runner.go:105
FunctionRow
({name, value, lastUsed, fEdit, fDelete}: IRowProps)
ui/src/client/Clients.tsx:104
FunctionRow
({app, fDelete, fUpload, fDeleteImage, fEdit}: IRowProps)
ui/src/application/Applications.tsx:204
MethodSave
(b []byte)
plugin/storagehandler.go:8
MethodSave
(b []byte)
plugin/compat/v1_test.go:48
MethodSave
Save implements wrapper.Storager.
plugin/compat/v1.go:176
FunctionScrollUpButton
()
ui/src/common/ScrollUpButton.tsx:5
MethodSendMessage
SendMessage sends a message to the underlying message channel.
plugin/messagehandler.go:23
MethodSendMessage
(msg Message)
plugin/compat/v1_test.go:89
MethodSendMessage
SendMessage implements papiv1.MessageHandler.
plugin/compat/v1.go:151
MethodSetMessageHandler
SetMessageHandler implements plugin.Messenger.
plugin/example/echo/echo.go:35
MethodSetMessageHandler
SetMessageHandler implements plugin.Messenger.
plugin/example/clock/main.go:50
MethodSetMessageHandler
(h papiv1.MessageHandler)
plugin/compat/v1_test.go:106
MethodSetMessageHandler
SetMessageHandler see papiv1.Messenger.
plugin/compat/v1.go:104
MethodSetMessageHandler
SetMessageHandler implements compat.Messenger
plugin/testing/mock/mock.go:95
MethodSetStorageHandler
SetStorageHandler implements plugin.Storager
plugin/example/echo/echo.go:30
MethodSetStorageHandler
(h papiv1.StorageHandler)
plugin/compat/v1_test.go:69
MethodSetStorageHandler
SetStorageHandler see papiv1.Storager.
plugin/compat/v1.go:118
MethodSetStorageHandler
SetStorageHandler implements compat.Storager
plugin/testing/mock/mock.go:100
MethodSetupSuite
()
plugin/manager_test.go:50
MethodSetupSuite
()
plugin/compat/v1_test.go:30
MethodSetupSuite
()
plugin/compat/wrap_test.go:27
MethodSetupSuite
()
auth/authentication_test.go:27
MethodSupports
Supports returns a slice of capabilities the plugin instance provides.
plugin/compat/v1.go:125
MethodSupports
Supports implements compat.PluginInstance
plugin/testing/mock/mock.go:141
MethodTearDownSuite
()
plugin/manager_test.go:88
MethodTearDownSuite
()
plugin/compat/wrap_test.go:49
MethodTearDownSuite
()
auth/authentication_test.go:49
MethodTestAddRemoveNewUser
()
plugin/manager_test.go:279
FunctionTestAddSlash
(t *testing.T)
config/config_test.go:44
FunctionTestAllowedOriginFromResponseHeaders
(t *testing.T)
router/router_test.go:172
FunctionTestAllowedWildcardOriginInHeader
(t *testing.T)
router/router_test.go:210
MethodTestApplication
()
database/application_test.go:10
FunctionTestApplicationSuite
(t *testing.T)
api/application_test.go:31
MethodTestAuthentication
()
router/router_test.go:369
MethodTestAuthorizationHeaderApiKeyToken
()
auth/authentication_test.go:126
FunctionTestBCryptFailure
(t *testing.T)
auth/password/password_test.go:19
FunctionTestBadCryptoReaderPanics
(t *testing.T)
auth/token_test.go:33
MethodTestBasicAuth
()
auth/authentication_test.go:159
FunctionTestBindingErrorDefault
(t *testing.T)
error/handler_test.go:27
FunctionTestCORSConfigOverride
We want headers in cors config to override the responseheaders config.
router/router_test.go:272
FunctionTestCORSHeaderRegex
(t *testing.T)
router/router_test.go:242
MethodTestClient
()
database/client_test.go:10
FunctionTestClientSuite
(t *testing.T)
api/client_test.go:23
FunctionTestCloseClientOnNotReading
(t *testing.T)
api/stream/stream_test.go:138
FunctionTestCollectConnectedClientTokens
(t *testing.T)
api/stream/stream_test.go:326
FunctionTestCompatSuite
(t *testing.T)
plugin/compat/wrap_test.go:128
FunctionTestConfigEnv
(t *testing.T)
config/config_test.go:12
FunctionTestConfigFile
(t *testing.T)
config/config_test.go:79
MethodTestConfigurer_notSupported_expectEmpty
()
plugin/compat/v1_test.go:35
FunctionTestCorsConfig
(t *testing.T)
auth/cors_test.go:13
FunctionTestCreateSqliteFolder
(t *testing.T)
database/database_test.go:46
MethodTestDatabaseFailure
()
api/health_test.go:45
FunctionTestDatabaseSuite
(t *testing.T)
database/database_test.go:17
FunctionTestDatabaseSuite
(t *testing.T)
test/testdb/database_test.go:21
FunctionTestDefaultErrorBadRequest
(t *testing.T)
error/handler_test.go:38
FunctionTestDefaultErrorInternal
(t *testing.T)
error/handler_test.go:16
MethodTestDeleteAppDeletesMessages
()
database/application_test.go:72
FunctionTestDeleteClientShouldCloseConnection
(t *testing.T)
api/stream/stream_test.go:178
FunctionTestDeleteMultipleClients
(t *testing.T)
api/stream/stream_test.go:201
FunctionTestDeleteUser
(t *testing.T)
api/stream/stream_test.go:264
MethodTestDeleteUserDeletesApplicationsAndClientsAndPluginConfs
()
database/user_test.go:104
FunctionTestDevCorsConfig
(t *testing.T)
auth/cors_test.go:54
FunctionTestDevMode
(t *testing.T)
mode/mode_test.go:10
MethodTestDisplayer_notSupported_expectEmpty
()
plugin/compat/v1_test.go:40
FunctionTestEmptyCorsConfigWithResponseHeaders
(t *testing.T)
auth/cors_test.go:37
MethodTestEnableDisable
()
plugin/compat/wrap_test.go:110
FunctionTestErrorHandling
(t *testing.T)
api/errorHandling_test.go:11
FunctionTestFailureOnNormalHttpRequest
(t *testing.T)
api/stream/stream_test.go:24
FunctionTestFakeAuth
(t *testing.T)
test/auth_test.go:13
FunctionTestFileWithSyntaxErrors
(t *testing.T)
config/config_test.go:60
FunctionTestGenerateNotExistingToken
(t *testing.T)
auth/token_test.go:22
MethodTestGetCapabilities
()
plugin/compat/wrap_test.go:73
MethodTestGetDisplay
()
plugin/compat/wrap_test.go:119
MethodTestGetMessagesSince
()
database/message_test.go:150
MethodTestGetPluginAPIVersion
()
plugin/compat/wrap_test.go:53
MethodTestGetPluginInfo
()
plugin/manager_test.go:341
MethodTestGetPluginInfo
()
plugin/compat/wrap_test.go:57
MethodTestGetPluginInfo_notFound_doNotPanic
()
plugin/manager_test.go:345
MethodTestHeaderApiKeyToken
()
auth/authentication_test.go:98
MethodTestHeaderInDev
()
router/router_test.go:62
MethodTestHeaderInProd
()
router/router_test.go:73
FunctionTestHeadersFromCORSConfig
(t *testing.T)
router/router_test.go:114
FunctionTestHeadersFromConfiguration
(t *testing.T)
router/router_test.go:82
← previousnext →501–600 of 910, ranked by callers