MCPcopy Create free account

hub / github.com/muety/wakapi / functions

Functions1,898 in github.com/muety/wakapi

↓ 4 callersFunctionWithOidcProvider
(c *Config, name, clientId, clientSecret, Endpoint string, usernameClaim string)
config/testutils.go:3
↓ 4 callersMethodbuildViewModel
(r *http.Request, w http.ResponseWriter)
routes/summary.go:164
↓ 4 callersMethodcountByUserCacheKey
(userId string)
services/heartbeat.go:360
↓ 4 callersFunctionfillPlaceholders
inplace!
routes/api/heartbeat.go:176
↓ 4 callersFunctionfilteredQuery
(q *gorm.DB, filterMap map[string][]string)
repositories/base.go:158
↓ 4 callersMethodgetLoginCookies
(userID, password string)
routes/webauthn_test.go:539
↓ 4 callersMethodgetLoginOption
()
routes/webauthn_test.go:446
↓ 4 callersFunctionmd5_cmn
(d,_,m,f,r,i)
static/assets/js/base.js:2
↓ 4 callersMethodqueryAddTimeSorting
(q *gorm.DB, desc bool)
repositories/heartbeat.go:369
↓ 4 callersMethodtoggleAggregationLock
(userId string, locked bool)
routes/settings.go:1248
↓ 4 callersMethodtryGetUserByApiKeyHeader
(r *http.Request)
middlewares/authenticate.go:140
↓ 3 callersMethodAugmented
(languageMappings map[string]string)
models/duration.go:116
↓ 3 callersFunctionBeginOfThisMonth
(tz *time.Location)
utils/date.go:28
↓ 3 callersFunctionBeginOfThisWeek
(tz *time.Location, startOfWeek time.Weekday)
utils/date.go:24
↓ 3 callersFunctionBeginningOfWakatime
()
config/config.go:757
↓ 3 callersMethodCountByUser
(*models.User)
repositories/repositories.go:47
↓ 3 callersMethodCountDistinctTypes
()
models/filters.go:136
↓ 3 callersMethodCountMessages
()
services/mail/smtp_test.go:207
↓ 3 callersMethodCountUsers
(bool)
repositories/repositories.go:142
↓ 3 callersMethodCreateOrGet
(*models.Signup, bool)
services/services.go:174
↓ 3 callersFunctionCronPadToSecondly
(expr string)
utils/cron.go:5
↓ 3 callersMethodFillMissing
* Augments the summary in a way that at least one item is present for every type. If a summary has zero items for a given type, but one or more for a
models/summary.go:236
↓ 3 callersMethodFlushCache
()
services/services.go:182
↓ 3 callersMethodFlushUserCache
(string)
services/services.go:183
↓ 3 callersMethodGetAggregatedByInterval
(*models.IntervalKey, *uint8, *utils.PageParams, bool)
services/services.go:150
↓ 3 callersMethodGetAliasOrDefault
(string, uint8, string)
services/services.go:35
↓ 3 callersMethodGetByIntervalAndUser
(*models.IntervalKey, string, bool)
services/services.go:149
↓ 3 callersMethodGetByPrefix
(string)
services/services.go:75
↓ 3 callersMethodGetEntitySetByUser
(uint8, string)
services/services.go:58
↓ 3 callersMethodGetLatestByUser
()
services/services.go:120
↓ 3 callersMethodGetManyMapped
([]string)
services/services.go:168
↓ 3 callersMethodGetOidcLogin
(w http.ResponseWriter, r *http.Request)
routes/login.go:399
↓ 3 callersMethodGetOidcProvider
(name string)
config/config.go:477
↓ 3 callersMethodGetRangeByUser
(*models.User)
services/services.go:52
↓ 3 callersMethodGetUserByEmail
(string)
services/services.go:159
↓ 3 callersMethodGetUserByEmail
(email string)
services/user.go:137
↓ 3 callersMethodHasUser
(userId string)
models/leaderboard.go:66
↓ 3 callersFunctionHexToRGBA
(s string)
utils/color.go:8
↓ 3 callersFunctionInit
()
routes/routes.go:19
↓ 3 callersMethodIsInitialized
(userId string)
services/alias.go:32
↓ 3 callersMethodIsMssql
()
config/config.go:522
↓ 3 callersFunctionIsNoCache
IsNoCache checks whether returning a cached resource no older than cacheTtl is allowed given the incoming request
utils/http.go:58
↓ 3 callersMethodIsPlaceholderBranch
()
models/heartbeat.go:112
↓ 3 callersMethodIsPlaceholderLanguage
()
models/heartbeat.go:120
↓ 3 callersMethodIsPlaceholderProject
()
models/heartbeat.go:116
↓ 3 callersMethodIsPostgres
()
config/config.go:518
↓ 3 callersMethodLen
()
models/heartbeats.go:7
↓ 3 callersMethodLen
()
models/durations.go:7
↓ 3 callersFunctionLoad
(configFlag string, version string)
config/config.go:586
↓ 3 callersMethodMustGet
(key K)
lib/concurrent_map.go:29
↓ 3 callersFunctionNewAliasRepository
(db *gorm.DB)
repositories/alias.go:13
↓ 3 callersFunctionNewDurationRepository
(db *gorm.DB)
repositories/duration.go:17
↓ 3 callersFunctionNewFromUser
(user *models.User)
models/compat/wakatime/v1/user.go:38
↓ 3 callersFunctionNewHeartbeatApiHandler
(userService services.IUserService, heartbeatService services.IHeartbeatService, languageMappingService servic
routes/api/heartbeat.go:28
↓ 3 callersFunctionNewHeartbeatRepository
(db *gorm.DB)
repositories/heartbeat.go:19
↓ 3 callersFunctionNewHomeHandler
(userService services.IUserService, keyValueService services.IKeyValueService)
routes/home.go:29
↓ 3 callersFunctionNewKeyValueRepository
(db *gorm.DB)
repositories/key_value.go:18
↓ 3 callersFunctionNewLanguageMappingRepository
(db *gorm.DB)
repositories/language_mapping.go:15
↓ 3 callersFunctionNewLeaderboardRepository
(db *gorm.DB)
repositories/leaderboard.go:14
↓ 3 callersFunctionNewLoginHandler
(userService services.IUserService, mailService services.IMailService, keyValueService services.IKeyValueServi
routes/login.go:37
↓ 3 callersFunctionNewProjectLabelRepository
(db *gorm.DB)
repositories/project_label.go:15
↓ 3 callersFunctionNewSummaryRepository
(db *gorm.DB)
repositories/summary.go:20
↓ 3 callersFunctionNewUserRepository
(db *gorm.DB)
repositories/user.go:18
↓ 3 callersFunctionNewWebAuthnRepository
(db *gorm.DB)
repositories/webauthn.go:15
↓ 3 callersMethodOffset
()
utils/http.go:50
↓ 3 callersMethodOneOrEmpty
()
models/filters.go:116
↓ 3 callersFunctionParsePageParamsWithDefault
(r *http.Request, page, size int)
utils/http.go:84
↓ 3 callersMethodPrint
()
models/metrics/metric.go:42
↓ 3 callersMethodPutString
(*models.KeyStringValue)
repositories/repositories.go:79
↓ 3 callersMethodRawStrings
()
models/mail_address.go:62
↓ 3 callersMethodRegisterRoutes
(router chi.Router)
routes/handler.go:8
↓ 3 callersMethodRegisterRoutes
(router chi.Router)
routes/home.go:37
↓ 3 callersMethodRegisterRoutes
(router chi.Router)
routes/api/badge.go:37
↓ 3 callersMethodResolveType
(entityId uint8)
models/filters.go:167
↓ 3 callersMethodSend
(mail *models.Mail)
services/mail/smtp.go:29
↓ 3 callersFunctionSummaryTypes
don't forget to adapt models.GetEntityColumn() when changing these
models/summary.go:84
↓ 3 callersMethodTopByKey
(by uint8, key string)
models/leaderboard.go:78
↓ 3 callersMethodTotalFixed
()
models/summary.go:468
↓ 3 callersMethodTotalTimeByFilter
(filter FilterElement)
models/summary.go:341
↓ 3 callersMethodUserIDs
()
models/leaderboard.go:60
↓ 3 callersMethodValid
()
models/shared.go:138
↓ 3 callersFunctionValidatePassword
(password string)
models/user.go:275
↓ 3 callersFunctionValidateUsername
(username string)
models/user.go:271
↓ 3 callersMethodWithMultiple
(entity uint8, keys []string)
models/filters.go:69
↓ 3 callersMethodWithProjectLabels
(resolve ProjectLabelReverseResolver)
models/filters.go:297
↓ 3 callersMethodWithSelectFilteredOnly
()
models/filters.go:60
↓ 3 callersMethodcountCacheTtl
()
services/heartbeat.go:368
↓ 3 callersMethodcountTotalCacheKey
()
services/heartbeat.go:364
↓ 3 callersFunctioncreateDefaultSMTPConfig
()
services/mail/smtp_test.go:137
↓ 3 callersMethodcreateSut
()
services/summary_test.go:829
↓ 3 callersFunctioncreateTestMail
Private utility methods
services/mail/smtp_test.go:125
↓ 3 callersFunctioncreateUser
()
routes/webauthn_test.go:527
↓ 3 callersMethodfilterByCache
filterByCache takes an HTTP request, tries to parse the body contents as heartbeats, checks against a local cache for whether a heartbeat has already
middlewares/custom/wakatime.go:154
↓ 3 callersMethodfiltersToColumnMap
(filters *models.Filters)
services/heartbeat.go:372
↓ 3 callersMethodfinishUserLogin
(user *models.User, r *http.Request, w http.ResponseWriter)
routes/login.go:639
↓ 3 callersFunctiongetEffectiveTimeout
(user *models.User, overrideTimeout *time.Duration)
services/duration.go:346
↓ 3 callersMethodgetUserProjectsCacheKey
(userId string)
services/project.go:171
↓ 3 callersFunctionmysqlConnectionString
(config *dbConfig)
config/db.go:71
↓ 3 callersMethodparseRate
(rate string)
config/config.go:487
↓ 3 callersMethodregenerateSummaries
(user *models.User)
routes/settings.go:938
← previousnext →201–300 of 1,898, ranked by callers