Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/muety/wakapi
/ functions
Functions
1,898 in github.com/muety/wakapi
⨍
Functions
1,898
◇
Types & classes
319
↓ 2 callers
Method
Types
()
models/summary.go:123
↓ 2 callers
Function
UnixEra
()
utils/date.go:11
↓ 2 callers
Method
Username
()
config/oidc.go:45
↓ 2 callers
Method
Valid
()
models/heartbeat.go:51
↓ 2 callers
Method
Validate
()
config/config.go:257
↓ 2 callers
Function
ValidateEmail
ValidateEmail checks that, if an email address is given, it has proper syntax and (if not in dev mode) an MX record exists for the domain
models/user.go:284
↓ 2 callers
Function
WhereNullable
(query *gorm.DB, col string, val any)
utils/db.go:38
↓ 2 callers
Function
WithOidcProviderAndScopes
(c *Config, name, clientId, clientSecret, Endpoint string, usernameClaim string, scopes []string)
config/testutils.go:7
↓ 2 callers
Method
WithResolvedAliases
(resolve AliasResolver)
models/summary.go:370
↓ 2 callers
Function
assertNumAllItems
(t *testing.T, expected int, summary *models.Summary, except string)
services/summary_test.go:851
↓ 2 callers
Method
augmented
(heartbeats []*models.Heartbeat, userId string)
services/heartbeat.go:287
↓ 2 callers
Method
augmentedAsync
(in chan *models.Heartbeat, languageMapping map[string]string)
services/heartbeat.go:298
↓ 2 callers
Function
castAddresses
(addresses []string)
models/mail_address_test.go:83
↓ 2 callers
Method
createCookie
(name, value, path string, maxAge int)
config/config.go:288
↓ 2 callers
Function
draw
(subselection)
static/assets/js/summary.js:72
↓ 2 callers
Function
extractFile
(filePath)
static/assets/js/summary.js:716
↓ 2 callers
Function
fetchMachineNames
https://wakatime.com/api/v1/users/current/machine_names https://pastr.de/p/v58cv0xrupp3zvyyv8o6973j
services/imports/wakatime_utils.go:18
↓ 2 callers
Function
fetchUserAgents
https://wakatime.com/api/v1/users/current/user_agents https://pastr.de/p/05k5do8q108k94lic4lfl3pc
services/imports/wakatime_utils.go:56
↓ 2 callers
Method
findFirstPresentType
()
models/summary.go:435
↓ 2 callers
Function
findParentAttribute
(el, attrName)
static/assets/js/base.js:4
↓ 2 callers
Function
generateUserJobs
(user *models.User, from time.Time)
services/aggregation.go:201
↓ 2 callers
Method
getByLoggedIn
(t time.Time, after bool)
repositories/user.go:210
↓ 2 callers
Function
getDb
(cfg *dbConfig)
scripts/dbmigrate.go:371
↓ 2 callers
Method
getEntityUserCacheKey
(entityType uint8, userId string)
services/heartbeat.go:311
↓ 2 callers
Method
getFiltered
(userId string, check func(alias *models.Alias) bool)
services/alias.go:194
↓ 2 callers
Method
getHash
(interval *models.IntervalKey, by *uint8, user string, pageParams *utils.PageParams)
services/leaderboard.go:283
↓ 2 callers
Method
getLive
(from, to time.Time, user *models.User, interval time.Duration, includeEntities bool)
services/duration.go:188
↓ 2 callers
Method
getOidcProvider
(w http.ResponseWriter, r *http.Request)
routes/login.go:628
↓ 2 callers
Method
getUserFirstCacheKey
(userId string)
services/heartbeat.go:315
↓ 2 callers
Method
getUserLastCacheKey
(userId string)
services/heartbeat.go:319
↓ 2 callers
Method
invalidateProjectStatsCache
(userId string)
services/project.go:152
↓ 2 callers
Method
invalidateUserCache
(userId string)
services/api_key.go:97
↓ 2 callers
Method
isAggregationLocked
(userId string)
routes/settings.go:1252
↓ 2 callers
Function
isDigit
(b byte)
utils/http.go:256
↓ 2 callers
Method
loadProjects
(user *models.User, q string, exact bool)
routes/compat/wakatime/v1/projects.go:107
↓ 2 callers
Method
lockUsers
(userIds datastructure.Set[string])
services/aggregation.go:231
↓ 2 callers
Function
mapHeartbeat
( entry *wakatime.HeartbeatEntry, userAgents map[string]*wakatime.UserAgentEntry, machineNames map[string]*
services/imports/wakatime_utils.go:92
↓ 2 callers
Function
newSmtp4DevClient
()
services/mail/smtp_test.go:152
↓ 2 callers
Method
notifyUpdate
(apiKey *models.ApiKey, isDelete bool)
services/api_key.go:86
↓ 2 callers
Method
notifyUpdate
(label *models.ProjectLabel, isDelete bool)
services/project_label.go:94
↓ 2 callers
Method
notifyUpdate
(mapping *models.LanguageMapping)
services/language_mapping.go:93
↓ 2 callers
Method
notifyUpdate
(user *models.User)
services/user.go:372
↓ 2 callers
Function
parseTopN
()
static/assets/js/summary.js:656
↓ 2 callers
Method
populateItems
inplace
repositories/summary.go:189
↓ 2 callers
Function
post_data_sync
(data: List[Heartbeat], url: str, api_key: str)
scripts/sample_data.py:95
↓ 2 callers
Function
postgresConnectionString
(config *dbConfig)
config/db.go:93
↓ 2 callers
Method
queryAddTimeFilterLessEqual
(q *gorm.DB, t time.Time)
repositories/heartbeat.go:362
↓ 2 callers
Function
randomword
(length: int)
scripts/sample_data.py:262
↓ 2 callers
Method
registerAuthenticatorExpect
(user *models.User, name string, authenticator *virtualwebauthn.Authenticator, credential *virtualwebauthn.Cre
routes/webauthn_test.go:401
↓ 2 callers
Function
respondSvg
(w http.ResponseWriter, data []byte)
routes/api/badge.go:98
↓ 2 callers
Function
setMessage
(r *http.Request, w http.ResponseWriter, message, key string)
routes/utils/messages.go:30
↓ 2 callers
Method
setupOidcProvider
Private utility methods
routes/login_test.go:676
↓ 2 callers
Function
streamRows
(rows *sql.Rows, channel chan *T, db *gorm.DB, onErr func(error))
repositories/base.go:119
↓ 2 callers
Method
unlockUsers
(userIds datastructure.Set[string])
services/aggregation.go:243
↓ 2 callers
Method
updateEntityUserCacheByHeartbeat
(hb *models.Heartbeat)
services/heartbeat.go:340
↓ 2 callers
Function
update_progress
(inc=1)
scripts/sample_data.py:203
↓ 2 callers
Method
withHeaders
(req *http.Request)
services/imports/wakatime_dump.go:157
↓ 2 callers
Method
withHeaders
(req *http.Request)
services/imports/wakatime_heartbeats.go:203
↓ 2 callers
Method
withPaging
(q *gorm.DB, limit, skip int)
repositories/leaderboard.go:111
↓ 1 callers
Method
AggregateSummaries
(userIds datastructure.Set[string])
services/aggregation.go:67
↓ 1 callers
Method
AggregateSummaries
(set datastructure.Set[string])
services/services.go:17
↓ 1 callers
Function
AllCPUs
()
utils/system.go:8
↓ 1 callers
Method
AllValid
()
models/mail_address.go:70
↓ 1 callers
Method
AnyDataShared
()
models/user.go:234
↓ 1 callers
Method
AppStartTimestamp
()
config/config.go:276
↓ 1 callers
Method
AvatarURL
(urlTemplate string)
models/user.go:169
↓ 1 callers
Function
BeginOfThisYear
(tz *time.Location)
utils/date.go:32
↓ 1 callers
Method
BytesWritten
BytesWritten returns the total number of bytes sent to the client.
middlewares/logging.go:89
↓ 1 callers
Method
ChangeUserId
(*models.User, string)
services/services.go:177
↓ 1 callers
Function
CheckEmailMX
CheckEmailMX takes an e-mail address and verifies that an MX DNS record exists for its domain
utils/dns.go:9
↓ 1 callers
Function
CheckEmailMX
(email string)
scripts/email_checker.go:24
↓ 1 callers
Function
ChooseFS
ChooseFS returns a local (DirFS) file system when on 'dev' environment and the given go-embed file system otherwise
config/fs.go:9
↓ 1 callers
Method
CleanUserDataBefore
(user *models.User, before time.Time)
services/housekeeping.go:49
↓ 1 callers
Function
CompareArgon2Id
(hashed, plain, pepper string)
utils/auth.go:77
↓ 1 callers
Function
CompareBcrypt
(hashed, plain, pepper string)
utils/auth.go:62
↓ 1 callers
Method
CountAllByUser
(string)
repositories/repositories.go:141
↓ 1 callers
Method
CountByUser
(*models.User)
services/services.go:46
↓ 1 callers
Method
CountByUsers
([]*models.User)
repositories/repositories.go:48
↓ 1 callers
Method
CountCurrentlyOnline
()
services/services.go:173
↓ 1 callers
Method
CountUsers
(bool)
services/services.go:147
↓ 1 callers
Method
CreateTestUsers
()
services/mail/smtp_test.go:246
↓ 1 callers
Function
CredentialFromLib
(lib *webauthn.Credential, userID string, name string)
models/webauthn.go:96
↓ 1 callers
Function
CredentialFromLibWithNoUserData
(lib *webauthn.Credential)
models/webauthn.go:110
↓ 1 callers
Method
DeleteBatch
([]uint)
repositories/repositories.go:23
↓ 1 callers
Method
DeleteBefore
(time.Time)
services/services.go:62
↓ 1 callers
Method
DeleteByUserAfter
(userId string, t time.Time)
services/summary.go:293
↓ 1 callers
Method
DeleteByUserAfter
(string, time.Time)
services/services.go:124
↓ 1 callers
Method
DeleteByUserAndInterval
(string, *models.IntervalKey)
repositories/repositories.go:144
↓ 1 callers
Method
DeleteCredential
(*models.WebAuthnCredential)
services/services.go:198
↓ 1 callers
Method
DeleteMulti
([]*models.Alias)
services/services.go:29
↓ 1 callers
Method
DeleteString
(string)
services/services.go:77
↓ 1 callers
Method
DeleteStringTx
(string, *gorm.DB)
services/services.go:78
↓ 1 callers
Method
DeleteStringTx
(key string, tx *gorm.DB)
repositories/key_value.go:72
↓ 1 callers
Method
DeleteTx
(*models.User, *gorm.DB)
repositories/repositories.go:135
↓ 1 callers
Method
DeleteTx
(user *models.User, tx *gorm.DB)
repositories/user.go:206
↓ 1 callers
Method
DeleteWildcard
(string)
services/services.go:79
↓ 1 callers
Method
DeleteWildcardTx
(pattern string, tx *gorm.DB)
repositories/key_value.go:89
↓ 1 callers
Method
Domain
()
models/mail_address.go:42
↓ 1 callers
Method
EntityCount
()
models/filters.go:157
↓ 1 callers
Method
Equals
(l2 *LeaderboardItemRanked)
models/leaderboard.go:28
← previous
next →
401–500 of 1,898, ranked by callers