MCPcopy Create free account

hub / github.com/muety/wakapi / functions

Functions1,898 in github.com/muety/wakapi

↓ 1 callersMethodgetAliasReverseResolver
(user *models.User)
services/summary.go:568
↓ 1 callersMethodgetCached
(from, to time.Time, user *models.User, filters *models.Filters)
services/duration.go:176
↓ 1 callersMethodgetChartPastYear
(user *models.User, darkTheme, hideAttribution bool)
services/activity.go:70
↓ 1 callersMethodgetClaimValue
(claimName string)
config/oidc.go:66
↓ 1 callersMethodgetHash
(args ...string)
services/summary.go:549
↓ 1 callersMethodgetImportNotificationTemplate
(data ImportNotificationTplData)
services/mail/mail.go:161
↓ 1 callersMethodgetMaxCount
()
models/view/projects.go:40
↓ 1 callersMethodgetPasswordResetTemplate
(data PasswordResetTplData)
services/mail/mail.go:145
↓ 1 callersFunctiongetPresentDataMask
()
static/assets/js/summary.js:677
↓ 1 callersFunctiongetPrincipal
returns a user id
config/sentry.go:113
↓ 1 callersMethodgetProjectLabelsReverseResolver
(user *models.User)
services/summary.go:607
↓ 1 callersMethodgetRegisterOption
(cookies []*http.Cookie)
routes/webauthn_test.go:381
↓ 1 callersMethodgetReportTemplate
(data ReportTplData)
services/mail/mail.go:169
↓ 1 callersMethodgetServerMappings
()
services/language_mapping.go:88
↓ 1 callersFunctiongetStartOfToday
()
services/aggregation.go:251
↓ 1 callersMethodgetSubscriptionNotificationTemplate
(data SubscriptionNotificationTplData)
services/mail/mail.go:177
↓ 1 callersFunctiongetTemporarySecureKeys
()
config/key_utils.go:10
↓ 1 callersMethodgetUserMetrics
(user *models.User)
routes/api/metrics.go:140
↓ 1 callersMethodgetWakatimeFailureNotificationTemplate
(data WakatimeFailureNotificationNotificationTplData)
services/mail/mail.go:153
↓ 1 callersMethodhandleSubscriptionEvent
(subscription *stripe.Subscription, user *models.User)
routes/subscription.go:296
↓ 1 callersFunctioninitLookup
()
models/canonical_names.go:16
↓ 1 callersFunctioninitOpenIDConnect
(config *Config)
config/config.go:762
↓ 1 callersFunctioninitSentry
(config sentryConfig, debug bool, releaseVersion string)
config/sentry.go:83
↓ 1 callersFunctioninit_http
(args)
scripts/upload_heartbeats.py:72
↓ 1 callersFunctioninit_http
(api_key: str)
scripts/download_heartbeats.py:74
↓ 1 callersFunctionisMigrationMarker
(kv *models.KeyStringValue)
scripts/dbmigrate.go:477
↓ 1 callersMethodisOptional
(r *http.Request)
middlewares/authenticate.go:126
↓ 1 callersFunctionisRuntime
isRuntime heuristically checks if a string is a language runtime rather than an editor.
utils/http.go:243
↓ 1 callersFunctionlisten
(handler http.Handler)
main.go:350
↓ 1 callersFunctionloadSecretFiles
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 callersMethodloadUserSummaries
(r *http.Request, user *models.User)
routes/compat/wakatime/v1/summaries.go:83
↓ 1 callersMethodloadUserSummary
(user *models.User, start, end time.Time)
routes/compat/wakatime/v1/statusbar.go:87
↓ 1 callersMethodloadUserSummary
(user *models.User, filters *models.Filters)
routes/compat/wakatime/v1/all_time.go:66
↓ 1 callersMethodloadUserSummary
(user *models.User, start, end time.Time, filters *models.Filters)
routes/compat/wakatime/v1/stats.go:148
↓ 1 callersFunctionmakeBulkResponse
construct wakatime response format https://wakatime.com/developers#heartbeats (well, not quite...)
routes/api/heartbeat.go:165
↓ 1 callersFunctionmake_gui
(callback: Callable[[ConfigParams, Callable[[int], None]], None])
scripts/sample_data.py:107
↓ 1 callersMethodmerge
(d1, d2 models.Durations, user *models.User)
services/duration.go:290
↓ 1 callersMethodmergeSummaries
(summaries []*models.Summary)
services/summary.go:371
↓ 1 callersMethodmockDeleteCredential
(user *models.User, name string)
routes/webauthn_test.go:134
↓ 1 callersMethodmockSettingsViewDefaults
()
routes/webauthn_test.go:91
↓ 1 callersFunctionmustConfigPath
()
scripts/dbmigrate.go:468
↓ 1 callersFunctionnewDataFrom
(s *models.Summary)
models/compat/wakatime/v1/summaries.go:148
↓ 1 callersMethodnotifyBatch
(heartbeats []*models.Heartbeat)
services/heartbeat.go:351
↓ 1 callersMethodnotifyDelete
(user *models.User)
services/user.go:379
↓ 1 callersFunctionon_error
(e)
scripts/sample_data.py:218
↓ 1 callersMethodparseCheckoutSessionEvent
(w http.ResponseWriter, r *http.Request, event stripe.Event)
routes/subscription.go:340
↓ 1 callersMethodparseSubscriptionEvent
(w http.ResponseWriter, r *http.Request, event stripe.Event)
routes/subscription.go:330
↓ 1 callersFunctionparse_args
()
scripts/upload_heartbeats.py:63
↓ 1 callersFunctionparse_args
()
scripts/download_heartbeats.py:64
↓ 1 callersFunctionparse_arguments
()
scripts/sample_data.py:237
↓ 1 callersFunctionparse_arguments
()
scripts/send_mail.py:47
↓ 1 callersFunctionparse_params
()
scripts/sample_data.py:192
↓ 1 callersMethodpopulateUniqueUserProjects
(userId string)
services/project.go:144
↓ 1 callersMethodprocess
(job AggregationJob)
services/aggregation.go:188
↓ 1 callersMethodqueryAddTimeFilterBetween
(q *gorm.DB, from, to time.Time)
repositories/heartbeat.go:349
↓ 1 callersMethodqueryAddTimeFilterBetween
(q *gorm.DB, from, to time.Time)
repositories/duration.go:114
↓ 1 callersMethodqueryAddTimeFilterLessEqual
(q *gorm.DB, t time.Time)
repositories/duration.go:127
↓ 1 callersFunctionreadColors
()
config/config.go:538
↓ 1 callersFunctionreadUserID
(r *http.Request)
middlewares/logging.go:68
↓ 1 callersFunctionreadUserIP
(r *http.Request)
middlewares/logging.go:57
↓ 1 callersFunctionread_mail_content
(file_path: str)
scripts/send_mail.py:17
↓ 1 callersFunctionread_recipients
(file_path: str)
scripts/send_mail.py:12
↓ 1 callersFunctionrenameEnvVars
()
config/config.go:790
↓ 1 callersMethodresetOidcMockTtl
()
routes/login_test.go:707
↓ 1 callersFunctionresolveDbDialect
(dbType string)
config/config.go:565
↓ 1 callersFunctionrestoreView
restore view from backed up ddl
migrations/shared.go:75
↓ 1 callersFunctionrun
(params: ConfigParams, update_progress: Callable[[int], None], on_error: Callable[[str], None])
scripts/sample_data.py:267
↓ 1 callersFunctionrun
(file: str, batch_size: int)
scripts/upload_heartbeats.py:53
↓ 1 callersFunctionrun
(from_date: datetime.date, to_date: datetime.date, out_file: str)
scripts/download_heartbeats.py:52
↓ 1 callersMethodscheduleDataCleanups
individual scheduling functions
services/housekeeping.go:177
↓ 1 callersMethodscheduleInactiveUsersCleanup
()
services/housekeeping.go:190
↓ 1 callersMethodscheduleProjectStatsCacheWarming
()
services/housekeeping.go:203
↓ 1 callersMethodscheduleVacuumOrOptimizeDatabase
()
services/housekeeping.go:219
↓ 1 callersFunctionsend
(recipient: str, subject: str, content: str, is_html: bool = False, base_url: str = 'https://mailwhale.dev')
scripts/send_mail.py:23
↓ 1 callersMethodsend
(method, url string, body io.Reader, headers http.Header, forUser *models.User)
middlewares/custom/wakatime.go:113
↓ 1 callersMethodsendSubscriptionNotificationScheduled
(user *models.User, hasExpired bool)
services/misc.go:207
↓ 1 callersFunctionsend_batch
(data: List[Dict[str, Any]])
scripts/upload_heartbeats.py:29
↓ 1 callersFunctionsplit_batches
(df: pd.DataFrame, max_n: int = 250)
scripts/upload_heartbeats.py:45
↓ 1 callersFunctionsplit_chunks
(df: pd.DataFrame, max_n: int)
scripts/upload_heartbeats.py:40
↓ 1 callersFunctiontogglePlaceholders
(mask)
static/assets/js/summary.js:660
↓ 1 callersMethodtryGetUserByCookie
(r *http.Request)
middlewares/authenticate.go:207
↓ 1 callersFunctiontryParseBulk
(r *http.Request)
routes/utils/heartbeat_utils.go:25
↓ 1 callersFunctiontryParseSingle
(r *http.Request)
routes/utils/heartbeat_utils.go:40
↓ 1 callersFunctionupdateDurationEntity
(d *models.Duration, h *models.Heartbeat, entityDurations map[tuple.Tuple2[string, string]]time.Duration)
services/duration.go:353
↓ 1 callersFunctionupdateNumTotal
()
static/assets/js/summary.js:721
↓ 1 callersMethodvalidateExtension
()
models/language_mapping.go:19
↓ 1 callersMethodvalidateLanguage
()
models/language_mapping.go:15
↓ 1 callersMethodvalidateType
()
models/alias.go:27
↓ 1 callersMethodvalidateWakatimeKey
(apiKey string, baseUrl string)
routes/settings.go:908
↓ 1 callersMethodvalidateWakatimeUrl
(baseUrl string)
routes/settings.go:904
↓ 1 callersMethodvalidateWildcard
()
models/alias.go:36
↓ 1 callersMethodwithProjectLabels
(summary *models.Summary)
services/summary.go:328
↓ 1 callersFunctionwithUrlParam
(r *http.Request, key, value string)
routes/utils/user_utils_test.go:86
↓ 1 callersFunctionwrapWriter
wrapWriter wraps an http.ResponseWriter, returning a proxy that allows you to hook into various parts of the response process.
middlewares/logging.go:103
MethodAfterInitialize
(db *gorm.DB)
config/db_opts.go:19
MethodAfterTest
(suiteName, testName string)
config/config_test.go:32
MethodAggregateDurations
(userIds datastructure.Set[string])
services/aggregation.go:159
MethodAggregateDurations
(set datastructure.Set[string])
services/services.go:18
MethodAliased
(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
MethodAll
()
models/compat/wakatime/v1/heartbeat.go:28
← previousnext →801–900 of 1,898, ranked by callers