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
↓ 1 callers
Method
getAliasReverseResolver
(user *models.User)
services/summary.go:568
↓ 1 callers
Method
getCached
(from, to time.Time, user *models.User, filters *models.Filters)
services/duration.go:176
↓ 1 callers
Method
getChartPastYear
(user *models.User, darkTheme, hideAttribution bool)
services/activity.go:70
↓ 1 callers
Method
getClaimValue
(claimName string)
config/oidc.go:66
↓ 1 callers
Method
getHash
(args ...string)
services/summary.go:549
↓ 1 callers
Method
getImportNotificationTemplate
(data ImportNotificationTplData)
services/mail/mail.go:161
↓ 1 callers
Method
getMaxCount
()
models/view/projects.go:40
↓ 1 callers
Method
getPasswordResetTemplate
(data PasswordResetTplData)
services/mail/mail.go:145
↓ 1 callers
Function
getPresentDataMask
()
static/assets/js/summary.js:677
↓ 1 callers
Function
getPrincipal
returns a user id
config/sentry.go:113
↓ 1 callers
Method
getProjectLabelsReverseResolver
(user *models.User)
services/summary.go:607
↓ 1 callers
Method
getRegisterOption
(cookies []*http.Cookie)
routes/webauthn_test.go:381
↓ 1 callers
Method
getReportTemplate
(data ReportTplData)
services/mail/mail.go:169
↓ 1 callers
Method
getServerMappings
()
services/language_mapping.go:88
↓ 1 callers
Function
getStartOfToday
()
services/aggregation.go:251
↓ 1 callers
Method
getSubscriptionNotificationTemplate
(data SubscriptionNotificationTplData)
services/mail/mail.go:177
↓ 1 callers
Function
getTemporarySecureKeys
()
config/key_utils.go:10
↓ 1 callers
Method
getUserMetrics
(user *models.User)
routes/api/metrics.go:140
↓ 1 callers
Method
getWakatimeFailureNotificationTemplate
(data WakatimeFailureNotificationNotificationTplData)
services/mail/mail.go:153
↓ 1 callers
Method
handleSubscriptionEvent
(subscription *stripe.Subscription, user *models.User)
routes/subscription.go:296
↓ 1 callers
Function
initLookup
()
models/canonical_names.go:16
↓ 1 callers
Function
initOpenIDConnect
(config *Config)
config/config.go:762
↓ 1 callers
Function
initSentry
(config sentryConfig, debug bool, releaseVersion string)
config/sentry.go:83
↓ 1 callers
Function
init_http
(args)
scripts/upload_heartbeats.py:72
↓ 1 callers
Function
init_http
(api_key: str)
scripts/download_heartbeats.py:74
↓ 1 callers
Function
isMigrationMarker
(kv *models.KeyStringValue)
scripts/dbmigrate.go:477
↓ 1 callers
Method
isOptional
(r *http.Request)
middlewares/authenticate.go:126
↓ 1 callers
Function
isRuntime
isRuntime heuristically checks if a string is a language runtime rather than an editor.
utils/http.go:243
↓ 1 callers
Function
listen
(handler http.Handler)
main.go:350
↓ 1 callers
Function
loadSecretFiles
Support for reading Docker secrets from mounted files, whose filenames are provided as environment variables like WAKAPI_PASSWORD_SALT_FILE https://gi
config/config.go:826
↓ 1 callers
Method
loadUserSummaries
(r *http.Request, user *models.User)
routes/compat/wakatime/v1/summaries.go:83
↓ 1 callers
Method
loadUserSummary
(user *models.User, start, end time.Time)
routes/compat/wakatime/v1/statusbar.go:87
↓ 1 callers
Method
loadUserSummary
(user *models.User, filters *models.Filters)
routes/compat/wakatime/v1/all_time.go:66
↓ 1 callers
Method
loadUserSummary
(user *models.User, start, end time.Time, filters *models.Filters)
routes/compat/wakatime/v1/stats.go:148
↓ 1 callers
Function
makeBulkResponse
construct wakatime response format https://wakatime.com/developers#heartbeats (well, not quite...)
routes/api/heartbeat.go:165
↓ 1 callers
Function
make_gui
(callback: Callable[[ConfigParams, Callable[[int], None]], None])
scripts/sample_data.py:107
↓ 1 callers
Method
merge
(d1, d2 models.Durations, user *models.User)
services/duration.go:290
↓ 1 callers
Method
mergeSummaries
(summaries []*models.Summary)
services/summary.go:371
↓ 1 callers
Method
mockDeleteCredential
(user *models.User, name string)
routes/webauthn_test.go:134
↓ 1 callers
Method
mockSettingsViewDefaults
()
routes/webauthn_test.go:91
↓ 1 callers
Function
mustConfigPath
()
scripts/dbmigrate.go:468
↓ 1 callers
Function
newDataFrom
(s *models.Summary)
models/compat/wakatime/v1/summaries.go:148
↓ 1 callers
Method
notifyBatch
(heartbeats []*models.Heartbeat)
services/heartbeat.go:351
↓ 1 callers
Method
notifyDelete
(user *models.User)
services/user.go:379
↓ 1 callers
Function
on_error
(e)
scripts/sample_data.py:218
↓ 1 callers
Method
parseCheckoutSessionEvent
(w http.ResponseWriter, r *http.Request, event stripe.Event)
routes/subscription.go:340
↓ 1 callers
Method
parseSubscriptionEvent
(w http.ResponseWriter, r *http.Request, event stripe.Event)
routes/subscription.go:330
↓ 1 callers
Function
parse_args
()
scripts/upload_heartbeats.py:63
↓ 1 callers
Function
parse_args
()
scripts/download_heartbeats.py:64
↓ 1 callers
Function
parse_arguments
()
scripts/sample_data.py:237
↓ 1 callers
Function
parse_arguments
()
scripts/send_mail.py:47
↓ 1 callers
Function
parse_params
()
scripts/sample_data.py:192
↓ 1 callers
Method
populateUniqueUserProjects
(userId string)
services/project.go:144
↓ 1 callers
Method
process
(job AggregationJob)
services/aggregation.go:188
↓ 1 callers
Method
queryAddTimeFilterBetween
(q *gorm.DB, from, to time.Time)
repositories/heartbeat.go:349
↓ 1 callers
Method
queryAddTimeFilterBetween
(q *gorm.DB, from, to time.Time)
repositories/duration.go:114
↓ 1 callers
Method
queryAddTimeFilterLessEqual
(q *gorm.DB, t time.Time)
repositories/duration.go:127
↓ 1 callers
Function
readColors
()
config/config.go:538
↓ 1 callers
Function
readUserID
(r *http.Request)
middlewares/logging.go:68
↓ 1 callers
Function
readUserIP
(r *http.Request)
middlewares/logging.go:57
↓ 1 callers
Function
read_mail_content
(file_path: str)
scripts/send_mail.py:17
↓ 1 callers
Function
read_recipients
(file_path: str)
scripts/send_mail.py:12
↓ 1 callers
Function
renameEnvVars
()
config/config.go:790
↓ 1 callers
Method
resetOidcMockTtl
()
routes/login_test.go:707
↓ 1 callers
Function
resolveDbDialect
(dbType string)
config/config.go:565
↓ 1 callers
Function
restoreView
restore view from backed up ddl
migrations/shared.go:75
↓ 1 callers
Function
run
(params: ConfigParams, update_progress: Callable[[int], None], on_error: Callable[[str], None])
scripts/sample_data.py:267
↓ 1 callers
Function
run
(file: str, batch_size: int)
scripts/upload_heartbeats.py:53
↓ 1 callers
Function
run
(from_date: datetime.date, to_date: datetime.date, out_file: str)
scripts/download_heartbeats.py:52
↓ 1 callers
Method
scheduleDataCleanups
individual scheduling functions
services/housekeeping.go:177
↓ 1 callers
Method
scheduleInactiveUsersCleanup
()
services/housekeeping.go:190
↓ 1 callers
Method
scheduleProjectStatsCacheWarming
()
services/housekeeping.go:203
↓ 1 callers
Method
scheduleVacuumOrOptimizeDatabase
()
services/housekeeping.go:219
↓ 1 callers
Function
send
(recipient: str, subject: str, content: str, is_html: bool = False, base_url: str = 'https://mailwhale.dev')
scripts/send_mail.py:23
↓ 1 callers
Method
send
(method, url string, body io.Reader, headers http.Header, forUser *models.User)
middlewares/custom/wakatime.go:113
↓ 1 callers
Method
sendSubscriptionNotificationScheduled
(user *models.User, hasExpired bool)
services/misc.go:207
↓ 1 callers
Function
send_batch
(data: List[Dict[str, Any]])
scripts/upload_heartbeats.py:29
↓ 1 callers
Function
split_batches
(df: pd.DataFrame, max_n: int = 250)
scripts/upload_heartbeats.py:45
↓ 1 callers
Function
split_chunks
(df: pd.DataFrame, max_n: int)
scripts/upload_heartbeats.py:40
↓ 1 callers
Function
togglePlaceholders
(mask)
static/assets/js/summary.js:660
↓ 1 callers
Method
tryGetUserByCookie
(r *http.Request)
middlewares/authenticate.go:207
↓ 1 callers
Function
tryParseBulk
(r *http.Request)
routes/utils/heartbeat_utils.go:25
↓ 1 callers
Function
tryParseSingle
(r *http.Request)
routes/utils/heartbeat_utils.go:40
↓ 1 callers
Function
updateDurationEntity
(d *models.Duration, h *models.Heartbeat, entityDurations map[tuple.Tuple2[string, string]]time.Duration)
services/duration.go:353
↓ 1 callers
Function
updateNumTotal
()
static/assets/js/summary.js:721
↓ 1 callers
Method
validateExtension
()
models/language_mapping.go:19
↓ 1 callers
Method
validateLanguage
()
models/language_mapping.go:15
↓ 1 callers
Method
validateType
()
models/alias.go:27
↓ 1 callers
Method
validateWakatimeKey
(apiKey string, baseUrl string)
routes/settings.go:908
↓ 1 callers
Method
validateWakatimeUrl
(baseUrl string)
routes/settings.go:904
↓ 1 callers
Method
validateWildcard
()
models/alias.go:36
↓ 1 callers
Method
withProjectLabels
(summary *models.Summary)
services/summary.go:328
↓ 1 callers
Function
withUrlParam
(r *http.Request, key, value string)
routes/utils/user_utils_test.go:86
↓ 1 callers
Function
wrapWriter
wrapWriter wraps an http.ResponseWriter, returning a proxy that allows you to hook into various parts of the response process.
middlewares/logging.go:103
Method
AfterInitialize
(db *gorm.DB)
config/db_opts.go:19
Method
AfterTest
(suiteName, testName string)
config/config_test.go:32
Method
AggregateDurations
(userIds datastructure.Set[string])
services/aggregation.go:159
Method
AggregateDurations
(set datastructure.Set[string])
services/services.go:18
Method
Aliased
(t time.Time, t2 time.Time, u *models.User, r types.SummaryRetriever, f *models.Filters, d *time.Duration, b b
mocks/summary_service.go:14
Method
All
()
models/compat/wakatime/v1/heartbeat.go:28
← previous
next →
801–900 of 1,898, ranked by callers