MCPcopy Create free account

hub / github.com/muety/wakapi / functions

Functions1,898 in github.com/muety/wakapi

↓ 3 callersFunctionrun
(args)
scripts/send_mail.py:37
↓ 3 callersFunctionsqliteConnectionString
(config *dbConfig)
config/db.go:116
↓ 3 callersFunctionstreamRowsBatched
(rows *sql.Rows, channel chan []*T, db *gorm.DB, batchSize int, onErr func(error))
repositories/base.go:132
↓ 3 callersMethodtoLib
toLib converts the local wrapper type to the library type.
models/webauthn.go:21
↓ 3 callersMethodtryGetUserByApiKeyQuery
(r *http.Request)
middlewares/authenticate.go:155
↓ 3 callersMethodupdateCache
(reason *models.Alias, removal bool)
services/alias.go:174
↓ 3 callersFunctionwithUrlParam
(r *http.Request, key, value string)
routes/compat/wakatime/v1/test_utils_test.go:10
↓ 2 callersMethodAddMany
(items []*LeaderboardItemRanked)
models/leaderboard.go:47
↓ 2 callersMethodApplyFilter
ApplyFilter drops all summary elements of the given type that don't match the given query. Please note: this only makes sense if you're eventually int
models/summary.go:215
↓ 2 callersMethodCheck
()
services/mail/smtp_test.go:158
↓ 2 callersMethodClaims
(scope []string, claims *mockoidc.IDTokenClaims)
routes/test_utils.go:30
↓ 2 callersMethodCleanInactiveUsers
(before time.Time)
services/housekeeping.go:70
↓ 2 callersMethodClearInboxes
()
services/mail/smtp_test.go:259
↓ 2 callersMethodClearPlaceholders
()
models/heartbeat.go:128
↓ 2 callersFunctionComparePassword
password hashing
utils/auth.go:51
↓ 2 callersMethodComputeLeaderboard
(users []*models.User, interval *models.IntervalKey, by []uint8)
services/leaderboard.go:102
↓ 2 callersMethodConnStr
()
config/config.go:530
↓ 2 callersMethodCountByUsers
([]*models.User)
services/services.go:47
↓ 2 callersMethodCreateCookie
(name, value string)
config/config.go:280
↓ 2 callersMethodCreateCredential
(*webauthn.Credential, *models.User, string)
services/services.go:194
↓ 2 callersFunctionDefaultTemplateFuncs
()
routes/routes.go:23
↓ 2 callersMethodDeleteString
(string)
repositories/repositories.go:80
↓ 2 callersMethodDeleteWildcardTx
(string, *gorm.DB)
services/services.go:80
↓ 2 callersMethodFillBy
inplace!
models/summary.go:263
↓ 2 callersMethodFilterEmpty
inplace!
models/leaderboard.go:54
↓ 2 callersFunctionFormatDate
(date time.Time)
helpers/date.go:28
↓ 2 callersMethodGetActive
(bool)
services/services.go:171
↓ 2 callersMethodGetAggregatedByIntervalAndUser
(*models.IntervalKey, string, *uint8, bool)
services/services.go:151
↓ 2 callersMethodGetAggregationTimeCron
()
config/config.go:335
↓ 2 callersMethodGetAllByLeaderboard
(bool)
services/services.go:170
↓ 2 callersMethodGetAllByReports
(bool)
services/services.go:169
↓ 2 callersMethodGetAllMapped
()
services/services.go:166
↓ 2 callersMethodGetAllWithinByFilters
(time.Time, time.Time, *models.User, *models.Filters)
services/services.go:49
↓ 2 callersMethodGetByApiKey
(string, bool)
services/services.go:187
↓ 2 callersMethodGetById
(uint)
services/services.go:93
↓ 2 callersMethodGetByInterval
(*models.IntervalKey, *utils.PageParams, bool)
services/services.go:148
↓ 2 callersMethodGetByLastActiveAfter
(time.Time)
repositories/repositories.go:129
↓ 2 callersMethodGetByUser
(userId string)
services/project_label.go:36
↓ 2 callersMethodGetByUserGroupedInverted
(string)
services/services.go:96
↓ 2 callersMethodGetDialector
()
repositories/repositories.go:12
↓ 2 callersMethodGetDialector
()
repositories/base.go:25
↓ 2 callersMethodGetFirstAll
()
services/services.go:50
↓ 2 callersMethodGetFirstByUser
(*models.User)
services/services.go:53
↓ 2 callersFunctionGetLanguageIcon
(language string)
models/view/utils.go:5
↓ 2 callersMethodGetLatestByFilters
(*models.User, map[string][]string)
repositories/repositories.go:37
↓ 2 callersMethodGetLatestByUser
(*models.User)
repositories/repositories.go:65
↓ 2 callersMethodGetLeaderboardGenerationTimeCron
()
config/config.go:378
↓ 2 callersMethodGetMany
([]string)
services/services.go:167
↓ 2 callersMethodGetString
(string)
services/services.go:73
↓ 2 callersMethodGetUserByKey
(string, bool)
services/services.go:158
↓ 2 callersMethodGetUserByOidc
(string, string)
services/services.go:163
↓ 2 callersMethodGetUserProjectStats
(*models.User, time.Time, time.Time)
repositories/repositories.go:53
↓ 2 callersMethodGetWeeklyReportCron
()
config/config.go:355
↓ 2 callersMethodHandler
(h http.Handler)
middlewares/authenticate.go:75
↓ 2 callersMethodHashed
Hash is used to prevent duplicate heartbeats Using a UNIQUE INDEX over all relevant columns would be more straightforward, whereas manually computing
models/heartbeat.go:164
↓ 2 callersFunctionIPv4HandledByDualStackHttp
(server4, server6 *http.Server)
utils/net.go:12
↓ 2 callersMethodImport
(*models.User, time.Time, time.Time)
services/imports/importers.go:9
↓ 2 callersMethodImportAll
(*models.User)
services/imports/importers.go:10
↓ 2 callersFunctionInitWebAuthn
(config *Config)
config/config.go:770
↓ 2 callersMethodInsert
(summary *models.Summary)
repositories/summary.go:54
↓ 2 callersMethodInsertBatch
([]*models.Duration)
repositories/repositories.go:59
↓ 2 callersFunctionInsertBatchChunked
(data []T, model T, db *gorm.DB)
repositories/base.go:94
↓ 2 callersMethodIsImportHostWhitelisted
(host string)
config/config.go:417
↓ 2 callersFunctionLoadTemplates
(templateFs fs.FS, funcs template.FuncMap)
utils/template.go:28
↓ 2 callersFunctionMD5
(d)
static/assets/js/base.js:2
↓ 2 callersMethodMapUsersById
(users []*models.User)
services/user.go:358
↓ 2 callersMethodMustGetString
(string)
services/services.go:74
↓ 2 callersFunctionNativeSummaryTypes
()
models/summary.go:88
↓ 2 callersFunctionNew
()
config/sentry.go:27
↓ 2 callersFunctionNewAliasService
(aliasRepo repositories.IAliasRepository)
services/alias.go:22
↓ 2 callersFunctionNewAllTimeFrom
(summary *models.Summary)
models/compat/wakatime/v1/all_time.go:30
↓ 2 callersFunctionNewApiRootHandler
()
routes/api/root.go:13
↓ 2 callersFunctionNewBadgeDataFrom
(summary *models.Summary)
models/compat/shields/v1/badge.go:22
↓ 2 callersFunctionNewBadgeHandler
(userService services.IUserService, summaryService services.ISummaryService)
routes/api/badge.go:28
↓ 2 callersFunctionNewFilterWithMultiple
(entity uint8, keys []string)
models/filters.go:51
↓ 2 callersFunctionNewHousekeepingService
(userService IUserService, heartbeatService IHeartbeatService, projectService IProjectService, summaryService
services/housekeeping.go:25
↓ 2 callersFunctionNewProjectService
(aliasService IAliasService, heartbeatRepo repositories.IHeartbeatRepository, heartbeatSrvc IHeartbeatService)
services/project.go:29
↓ 2 callersFunctionNewSettingsHandler
( userService services.IUserService, heartbeatService services.IHeartbeatService, durationService services.
routes/settings.go:65
↓ 2 callersFunctionNewSummariesFrom
(summaries []*models.Summary)
models/compat/wakatime/v1/summaries.go:98
↓ 2 callersFunctionNewWakatimeDumpImporter
(apiKey string)
services/imports/wakatime_dump.go:29
↓ 2 callersFunctionNewWakatimeHeartbeatImporter
(apiKey string)
services/imports/wakatime_heartbeats.go:38
↓ 2 callersFunctionNewWakatimeImporter
(apiKey string, forceLegacy bool)
services/imports/wakatime.go:19
↓ 2 callersFunctionParseSummaryParams
(r *http.Request)
helpers/summary.go:12
↓ 2 callersMethodRangeDays
()
models/summary.go:464
↓ 2 callersMethodRegenerate
(user *models.User, forceAll bool)
services/duration.go:118
↓ 2 callersMethodRegenerate
(*models.User, bool)
services/services.go:111
↓ 2 callersFunctionRegisterOidcProvider
(providerCfg *oidcProviderConfig)
config/oidc.go:90
↓ 2 callersMethodRegisterRoutes
(router chi.Router)
routes/projects.go:33
↓ 2 callersMethodRegisterRoutes
(router chi.Router)
routes/compat/wakatime/v1/users.go:29
↓ 2 callersMethodRegisterRoutes
(router chi.Router)
routes/api/heartbeat.go:37
↓ 2 callersMethodRegisterRoutes
(router chi.Router)
routes/api/root.go:17
↓ 2 callersMethodReplaceKeySuffix
(string, string)
services/services.go:81
↓ 2 callersMethodSanitized
()
models/mail.go:37
↓ 2 callersMethodSearch
(string)
repositories/repositories.go:84
↓ 2 callersMethodStreamWithin
(time.Time, time.Time, *models.User)
repositories/repositories.go:43
↓ 2 callersMethodStrings
()
models/mail_address.go:54
↓ 2 callersFunctionSubSlice
(slice []T, from, to uint)
utils/collection.go:7
↓ 2 callersMethodTZOffset
TZOffset returns the time difference between the user's current time zone and UTC TODO: is this actually working??
models/user.go:156
↓ 2 callersMethodTopKeysTotals
(by uint8)
models/leaderboard.go:90
↓ 2 callersMethodTopKeysTotalsByUser
(by uint8, userId string)
models/leaderboard.go:120
← previousnext →301–400 of 1,898, ranked by callers