Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Silentely/eSIM-Tools
/ functions
Functions
646 in github.com/Silentely/eSIM-Tools
⨍
Functions
646
◇
Types & classes
70
↓ 1 callers
Function
createEdgeLogger
(functionName, requestId)
netlify/edge-functions/bff-proxy.js:15
↓ 1 callers
Function
createInstallUI
()
src/js/pwa.js:5
↓ 1 callers
Function
createMdLogger
(functionName, requestId)
netlify/edge-functions/markdown-negotiation.js:11
↓ 1 callers
Function
createNetlifyBadge
()
src/js/modules/footer.js:46
↓ 1 callers
Method
createNotification
* 创建通知元素
src/js/modules/notification-manager.js:60
↓ 1 callers
Function
createRateLimiter
* Simple in-memory rate limiter
src/js/middleware/validation.js:87
↓ 1 callers
Method
createTimeoutSignal
* Create an AbortController signal with timeout
src/js/modules/api-service.js:143
↓ 1 callers
Function
d
(t,r)
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
d
(t,r)
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Method
delete
(name)
tests/security/bff-proxy.test.js:30
↓ 1 callers
Method
detectEnvironment
* Detect current environment
src/js/modules/app-config.js:21
↓ 1 callers
Function
detectInitialLocale
()
src/js/modules/i18n.js:18
↓ 1 callers
Method
downloadQRCode
* 下载二维码
src/simyo/js/modules/ui-controller.js:434
↓ 1 callers
Method
downloadQRCode
* 下载二维码
src/giffgaff/js/modules/ui-controller.js:605
↓ 1 callers
Function
ensureAccessKey
()
scripts/deploy-prepare.js:9
↓ 1 callers
Function
ensureDir
* 确保目录存在
scripts/generate-agent-metadata.js:241
↓ 1 callers
Function
ensureDist
()
scripts/deploy-prepare.js:16
↓ 1 callers
Function
ensureOutputDir
()
scripts/optimize-images.js:30
↓ 1 callers
Method
escapeHtml
* HTML转义
src/js/modules/notification-manager.js:129
↓ 1 callers
Method
executeRequest
* Execute the actual HTTP request with retry
src/js/modules/api-service.js:66
↓ 1 callers
Function
extractAccessToken
* 尝试提取或获取Access Token
netlify/functions/verify-cookie.js:161
↓ 1 callers
Method
extractCallbackUrl
* 提取回调URL * @param {string} text - 输入文本 * @returns {string} 提取的URL或原始文本
src/giffgaff/js/giffgaff-app.js:661
↓ 1 callers
Function
extractMemberId
* 从页面中提取Member ID
netlify/functions/verify-cookie.js:144
↓ 1 callers
Function
fallbackNodeSyntaxCheck
(relPath, content)
scripts/pre-commit-check.js:127
↓ 1 callers
Method
fetchConfig
()
src/js/modules/captcha-manager.js:40
↓ 1 callers
Function
flush
* 刷新 Sentry 队列(确保错误发送完成) * @param {number} [timeout=2000] - 超时时间(毫秒) * @returns {Promise<boolean>}
netlify/functions/_shared/sentry.js:171
↓ 1 callers
Function
formatStagedFiles
(stagedFiles)
scripts/pre-commit-check.js:99
↓ 1 callers
Function
generateAgentSkillsIndex
* 生成 Agent Skills Discovery Index
scripts/generate-agent-metadata.js:216
↓ 1 callers
Function
generateApiCatalog
* 生成 API Catalog (RFC 9727)
scripts/generate-agent-metadata.js:104
↓ 1 callers
Function
generateCodeChallenge
(verifier)
src/giffgaff/js/modules/utils.js:25
↓ 1 callers
Function
generateCodeVerifier
()
src/giffgaff/js/modules/utils.js:11
↓ 1 callers
Function
generateLPA
(activationCode)
src/simyo/js/modules/utils.js:134
↓ 1 callers
Method
generateLPAString
* 生成LPA字符串和二维码 * @returns {Object} LPA信息
src/simyo/js/modules/esim-service.js:64
↓ 1 callers
Function
generateManifest
()
scripts/optimize-images.js:183
↓ 1 callers
Function
generateMcpServerCard
* 生成 MCP Server Card (SEP-2127)
scripts/generate-agent-metadata.js:149
↓ 1 callers
Function
generateMultipleFormats
(inputPath, filename)
scripts/optimize-images.js:107
↓ 1 callers
Function
generateOAuthDiscovery
* 生成 OAuth Authorization Server Metadata (RFC 8414) * Giffgaff 使用外部 OpenID Connect 提供商
scripts/generate-agent-metadata.js:183
↓ 1 callers
Function
generateOAuthProtectedResource
* 生成 OAuth Protected Resource Metadata (RFC 9728)
scripts/generate-agent-metadata.js:129
↓ 1 callers
Method
generateQRCode
* 生成二维码(本地生成优先,后端 Function 降级)
src/simyo/js/modules/ui-controller.js:341
↓ 1 callers
Method
generateQRCode
* 生成二维码(本地生成优先,后端 Function 降级)
src/giffgaff/js/modules/ui-controller.js:421
↓ 1 callers
Function
generateRobotsTxt
* 生成 robots.txt * 包含:标准爬虫规则、AI 爬虫规则、Content-Signal 声明
scripts/generate-agent-metadata.js:32
↓ 1 callers
Function
generateSecurityReport
()
scripts/security-check.js:93
↓ 1 callers
Function
generateSitemap
* 生成 sitemap.xml
scripts/generate-agent-metadata.js:87
↓ 1 callers
Function
generateState
()
src/giffgaff/js/modules/utils.js:36
↓ 1 callers
Function
generateThumbnails
(inputPath, filename)
scripts/optimize-images.js:139
↓ 1 callers
Function
getCorsOrigin
(origin)
server.js:31
↓ 1 callers
Function
getCurrentLevel
()
netlify/functions/_shared/server-logger.js:39
↓ 1 callers
Function
getCurrentLocale
()
src/js/modules/i18n.js:211
↓ 1 callers
Function
getFirstMeaningfulLine
(content)
scripts/prepare-commit-msg.js:13
↓ 1 callers
Function
getFirstMeaningfulLine
(content)
scripts/commit-msg-lint.js:80
↓ 1 callers
Method
getIcon
* 获取图标类名
src/js/modules/notification-manager.js:116
↓ 1 callers
Function
getLatestNotification
* 获取最新通知
netlify/functions/notifications.js:58
↓ 1 callers
Method
getMemberInfo
* 获取会员信息
src/giffgaff/js/modules/esim-service.js:19
↓ 1 callers
Method
getMetrics
* Get all recorded metrics
src/js/modules/performance-monitor.js:270
↓ 1 callers
Function
getProvidedKey
* 提取请求中提供的认证密钥 * @param {Object} event - Netlify event 对象 * @returns {string} 认证密钥
netlify/functions/_shared/middleware.js:47
↓ 1 callers
Function
getQRCodeLibrary
* 获取本地打包的 QRCode 库实例。 * 库已内联到项目中,无需网络请求。 * @returns {Object} qrcode 工厂函数 * @throws {Error} 库未正确加载时抛出
src/js/modules/qrcode-generator.js:121
↓ 1 callers
Function
getRelatedFiles
()
scripts/pre-push-check.js:55
↓ 1 callers
Function
getStagedFiles
()
scripts/pre-commit-check.js:48
↓ 1 callers
Function
getTouchedProtectedFiles
()
scripts/pre-push-check.js:81
↓ 1 callers
Function
getTouchedProtectedFiles
* Get the list of protected file paths that currently have staged changes. * @returns {string[]} Array of relative paths for protected files that are
scripts/pre-commit-check.js:63
↓ 1 callers
Function
getTutorialUrl
()
src/giffgaff/js/modules/utils.js:260
↓ 1 callers
Function
h
()
netlify/edge-functions/qrcode-lib.js:11
↓ 1 callers
Function
h
()
src/js/modules/qrcode-lib.js:10
↓ 1 callers
Function
handleApiRequest
(request)
src/sw.js:67
↓ 1 callers
Method
handleConfirmInstall
* 处理确认安装
src/simyo/js/simyo-app.js:485
↓ 1 callers
Method
handleCookieExpired
* 处理Cookie过期
src/giffgaff/js/giffgaff-app.js:1244
↓ 1 callers
Method
handleCookieVerify
* 处理Cookie验证
src/giffgaff/js/giffgaff-app.js:766
↓ 1 callers
Method
handleDirectFetchExpand
* 处理直取eSIM卡片展开
src/giffgaff/js/giffgaff-app.js:424
↓ 1 callers
Function
handleError
* 统一错误处理 * @param {Error} error - 错误对象 * @param {string} context - 错误上下文 * @param {Object} [logger] - 结构化日志实例(可选,优先使用) * @returns {Object} Netlify
netlify/functions/_shared/middleware.js:132
↓ 1 callers
Method
handleGenerateQR
* 处理生成二维码(合并获取eSIM和生成二维码)
src/simyo/js/simyo-app.js:394
↓ 1 callers
Method
handleGetEsim
* 处理获取eSIM
src/simyo/js/simyo-app.js:362
↓ 1 callers
Method
handleGetMember
* 处理获取会员信息
src/giffgaff/js/giffgaff-app.js:919
↓ 1 callers
Method
handleGetToken
* 处理获取Token(issue #66: 增加前置校验 + 分类错误处理)
src/giffgaff/js/giffgaff-app.js:1146
↓ 1 callers
Method
handleManualEsimSave
* 处理手动eSIM信息保存
src/giffgaff/js/giffgaff-app.js:1106
↓ 1 callers
Method
handleOAuthCallback
* 处理OAuth回调
src/giffgaff/js/giffgaff-app.js:723
↓ 1 callers
Method
handleOAuthLogin
* 处理OAuth登录
src/giffgaff/js/giffgaff-app.js:680
↓ 1 callers
Method
handleReserveESim
* 处理预订eSIM
src/giffgaff/js/giffgaff-app.js:980
↓ 1 callers
Method
handleSendMFA
* 处理发送MFA验证码
src/giffgaff/js/giffgaff-app.js:839
↓ 1 callers
Method
handleSessionRestore
* 处理会话恢复
src/simyo/js/simyo-app.js:540
↓ 1 callers
Method
handleSessionRestore
* 处理会话恢复(issue #66: 增加状态一致性降级)
src/giffgaff/js/giffgaff-app.js:1266
↓ 1 callers
Method
handleSmsSend
* 处理SMS发送
src/giffgaff/js/giffgaff-app.js:1021
↓ 1 callers
Method
handleSmsVerify
* 处理SMS验证
src/giffgaff/js/giffgaff-app.js:1052
↓ 1 callers
Function
handleStaticRequest
(request)
src/sw.js:92
↓ 1 callers
Method
handleVerifyMFA
* 处理验证MFA验证码
src/giffgaff/js/giffgaff-app.js:881
↓ 1 callers
Method
handleVisibilityChange
* 页面可见性变化处理
src/giffgaff/js/modules/cookie-handler.js:161
↓ 1 callers
Method
hasShown
* 检查是否已显示过
src/js/modules/notification-service.js:67
↓ 1 callers
Function
hide
()
src/js/pwa.js:62
↓ 1 callers
Function
htmlToMarkdown
(html)
netlify/edge-functions/markdown-negotiation.js:25
↓ 1 callers
Method
init
()
src/js/modules/captcha-manager.js:16
↓ 1 callers
Method
init
* 初始化通知容器
src/js/modules/notification-manager.js:18
↓ 1 callers
Method
initElements
* 初始化DOM元素引用
src/simyo/js/modules/ui-controller.js:30
↓ 1 callers
Method
initElements
* 初始化DOM元素引用
src/giffgaff/js/modules/ui-controller.js:20
↓ 1 callers
Method
initRecaptcha
()
src/js/modules/captcha-manager.js:60
↓ 1 callers
Function
initReveal
()
src/simyo/js/reveal-animation.js:7
↓ 1 callers
Function
initReveal
()
src/giffgaff/js/reveal-animation.js:7
↓ 1 callers
Function
initSentry
()
src/js/sentry-loader.js:416
↓ 1 callers
Function
initSentry
* 初始化 Sentry(在 Sentry SDK 加载后调用)
src/js/modules/sentry-init.js:384
↓ 1 callers
Method
initialize
()
src/js/modules/performance-monitor.js:15
↓ 1 callers
Function
injectFooter
(options = {})
src/js/modules/footer.js:96
↓ 1 callers
Function
isAllowedOrigin
(origin)
server.js:30
← previous
next →
301–400 of 646, ranked by callers