MCPcopy Create free account

hub / github.com/Tron521/codex-console-temp / functions

Functions2,218 in github.com/Tron521/codex-console-temp

↓ 1,446 callersMethodget
发送 GET 请求
src/core/http_client.py:147
↓ 278 callersMethod_log
记录日志
src/core/register.py:218
↓ 264 callersMethoderror
(message, duration)
static/js/utils.js:64
↓ 255 callersMethodwarning
(message, duration)
static/js/utils.js:68
↓ 211 callersFunctionget_db
获取数据库会话的快捷函数
src/database/session.py:375
↓ 202 callersMethodget
(path, options = {})
static/js/utils.js:407
↓ 194 callersMethodfilter
(self, *_args)
tests/test_registration_new_api.py:138
↓ 188 callersMethodinfo
(message, duration)
static/js/utils.js:72
↓ 188 callersMethodquery
(self, *_entities)
tests/test_registration_new_api.py:154
↓ 129 callersMethodsuccess
(message, duration)
static/js/utils.js:60
↓ 108 callersMethodupdate_status
更新服务状态 Args: success: 操作是否成功 error: 错误信息
src/services/base.py:274
↓ 96 callersMethodpost
(path, body, options = {})
static/js/utils.js:411
↓ 93 callersMethodsleep
(ms)
static/js/utils.js:275
↓ 91 callersMethodall
(self)
tests/test_registration_new_api.py:141
↓ 84 callersMethod_log
输出日志
src/core/anyauto/oauth_client.py:55
↓ 82 callersMethodjson
(self)
tests/test_cpa_upload.py:10
↓ 81 callersFunctionutcnow_naive
Return a naive UTC datetime for legacy ORM fields.
src/core/timezone_utils.py:41
↓ 70 callersMethodfirst
(self)
tests/test_registration_schedule_and_outlook.py:15
↓ 64 callersFunctionaddLog
(type, message)
static/js/app.js:2120
↓ 58 callersFunctionget_settings
获取全局配置实例(单例模式) 完全从数据库加载配置
src/config/settings.py:920
↓ 54 callersMethod_log
输出日志
src/core/anyauto/chatgpt_client.py:116
↓ 48 callersFunctionset
(key, value)
static/js/utils.js:802
↓ 46 callersMethodcount
(self_inner)
tests/test_database_runtime_config.py:25
↓ 44 callersMethodpost
发送 POST 请求
src/core/http_client.py:151
↓ 41 callersFunctionsetInputValue
(id, value)
static/js/payment.js:327
↓ 40 callersFunctionescapeHtml
(text)
static/js/accounts.js:1765
↓ 40 callersMethodrun
()
static/js/utils.js:240
↓ 34 callersMethod_set_error
(self, message)
src/core/anyauto/oauth_client.py:60
↓ 31 callersFunctionformatErrorMessage
(error)
static/js/payment.js:123
↓ 31 callersFunctiongetInputValue
(id)
static/js/payment.js:323
↓ 26 callersFunctionescapeHtml
(value)
static/js/selfcheck.js:15
↓ 26 callersFunctionlog
(message: str, level: str = "INFO")
start_webui.py:49
↓ 25 callersFunctionescapeHtml
(text)
static/js/app.js:2210
↓ 24 callersMethoddelete
(path, options = {})
static/js/utils.js:423
↓ 23 callersFunctiondescribe_flow_state
生成简短的流程状态描述,便于记录日志。
src/core/anyauto/utils.py:210
↓ 23 callersFunctionupdateBatchButtons
()
static/js/accounts.js:1022
↓ 22 callersFunctionadd_batch_log
(msg: str)
src/web/routes/registration.py:1158
↓ 22 callersFunctionconfirm
(message, title = '确认操作')
static/js/utils.js:711
↓ 22 callersFunctionupload_log
(message: str)
src/web/routes/registration.py:832
↓ 21 callersMethod_normalize_email
(self, email: Optional[str])
src/services/luckmail_mail.py:239
↓ 21 callersFunctionloadBindCardTasks
(silent = false)
static/js/payment.js:2592
↓ 20 callersMethod_log
(self, message: str)
src/core/anyauto/register_flow.py:80
↓ 20 callersFunctionescapeHtml
(text)
static/js/email_services.js:799
↓ 20 callersFunctionloadAccounts
()
static/js/accounts.js:631
↓ 19 callersFunctionescapeHtml
(text)
static/js/settings.js:927
↓ 19 callersMethodsession_scope
事务作用域上下文管理器 使用示例: with session_scope() as session: # 数据库操作 pass
src/database/session.py:135
↓ 18 callersFunction_result
(status: str, source: str, confidence: str, note: Optional[str] = None)
src/core/openai/payment.py:974
↓ 18 callersFunction_safe_text
(value: Optional[str])
src/web/routes/accounts.py:781
↓ 18 callersMethoddelete
发送 DELETE 请求
src/core/http_client.py:159
↓ 18 callersMethodrequest
发送 HTTP 请求 Args: method: HTTP 方法 (GET, POST, PUT, DELETE, etc.) url: 请求 URL **kwargs: 其他请求参数
src/core/http_client.py:85
↓ 17 callersFunction_append
(value: Any)
src/core/openai/overview.py:684
↓ 17 callersFunctionescapeHtml
(value)
static/js/payment.js:168
↓ 17 callersMethodscalar
(self)
tests/test_registration_new_api.py:144
↓ 16 callersFunction_append
(url: Optional[str])
src/web/routes/payment.py:1369
↓ 16 callersMethod_state_from_url
(self, url, method="GET")
src/core/anyauto/oauth_client.py:203
↓ 15 callersMethod_browser_pause
在 headed 模式下注入轻微延迟,模拟真实浏览器操作节奏。
src/core/anyauto/oauth_client.py:65
↓ 15 callersMethod_extract_field
(self, obj: Any, *keys: str)
src/services/luckmail_mail.py:138
↓ 15 callersMethodclose
关闭会话
src/core/http_client.py:218
↓ 15 callersFunctionresolve_account_ids
当 select_all=True 时查询全部符合条件的 ID,否则直接返回传入的 ids
src/web/routes/accounts.py:269
↓ 14 callersMethod_headers
( self, url, *, user_agent=None, sec_ch_ua=None, accept,
src/core/anyauto/oauth_client.py:164
↓ 14 callersFunction_to_float
(value: Any)
src/core/openai/overview.py:263
↓ 14 callersFunction_utc_now
()
src/core/system_selfcheck.py:73
↓ 14 callersFunctiongenerate_datadog_trace
生成 Datadog APM 追踪头
src/core/anyauto/utils.py:71
↓ 14 callersFunctionsetButtonLoading
(buttonId, loadingText, isLoading)
static/js/payment.js:1188
↓ 14 callersMethodshow
(message, type = 'info', duration = 4000)
static/js/utils.js:22
↓ 13 callersMethod_check_cancelled
Raise if the current registration task has been cancelled.
src/core/register.py:205
↓ 13 callersFunction_normalize_email_service_config
按服务类型兼容旧字段名,避免不同服务的配置键互相污染。
src/web/routes/registration.py:455
↓ 12 callersFunction_header_value
(headers, name: str)
tests/test_registration_sentinel_flow.py:60
↓ 12 callersFunction_pick
(*keys: str)
src/web/routes/payment.py:1518
↓ 12 callersFunction_render_template
( request: Request, name: str, context: Optional[Dict[str, Any]] = None, statu
src/web/app.py:181
↓ 12 callersFunction_safe_dict
(value: Any)
src/core/system_selfcheck.py:99
↓ 12 callersFunctionloadLogs
(silent = false)
static/js/logs.js:113
↓ 12 callersFunctionresetButtons
()
static/js/app.js:2176
↓ 12 callersFunctionsetVendorRetryButtonState
(disabled = false, show = true)
static/js/payment.js:1310
↓ 12 callersFunctionsetVendorStopButtonState
(disabled = false, show = true)
static/js/payment.js:1303
↓ 12 callersFunctionupdate_auto_registration_state
(**kwargs)
src/core/auto_registration.py:35
↓ 11 callersFunction_serialize_bind_card_task
(task: BindCardTask)
src/web/routes/payment.py:198
↓ 11 callersFunctiondebounce
(func, wait)
static/js/utils.js:572
↓ 11 callersMethodhas_oauth
是否支持 OAuth2
src/services/outlook/account.py:27
↓ 11 callersMethodhide
(element)
static/js/utils.js:149
↓ 11 callersMethodregister
注册邮箱服务类 Args: service_type: 服务类型 service_class: 服务类
src/services/base.py:301
↓ 11 callersMethodtoggle
()
static/js/utils.js:103
↓ 11 callersFunctionupdate_settings
更新配置并保存到数据库
src/config/settings.py:935
↓ 11 callersFunctionyesNo
(value)
static/js/payment.js:174
↓ 10 callersMethod_domain_task_snapshot
(task: Dict[str, Any])
src/web/task_manager.py:459
↓ 10 callersMethod_extract_session_token_from_cookie_text
从 Cookie 文本中提取 next-auth session token(兼容分片)。
src/core/register.py:948
↓ 10 callersMethod_headers
( self, url, *, accept, referer=None, origin=None, con
src/core/anyauto/chatgpt_client.py:153
↓ 10 callersMethod_make_request
发送 API 请求 Args: method: HTTP 方法 endpoint: API 端点 **kwargs: 请求参数 Returns: 响应
src/services/moe_mail.py:94
↓ 10 callersMethod_verify_email_otp_with_retry
获取并校验验证码(带重试)。 用于规避邮箱里历史验证码导致的 400(第一次取到旧码,第二次取新码)。
src/core/register.py:2438
↓ 10 callersFunctionadd_auto_registration_log
(message: str)
src/core/auto_registration.py:57
↓ 10 callersMethodget
(self, url, **kwargs)
tests/test_registration_engine.py:31
↓ 10 callersMethodgroup_by
(self, *_args)
tests/test_registration_new_api.py:135
↓ 10 callersFunctionnormalizeEfunCode
(raw)
static/js/payment.js:1663
↓ 10 callersFunctionparseErrorMessage
(error)
static/js/selfcheck.js:37
↓ 10 callersMethodpatch
(path, body, options = {})
static/js/utils.js:419
↓ 10 callersFunctionpatchBatchTask
(key, patch = {})
static/js/accounts.js:54
↓ 10 callersFunctionsetEfunResult
(content, isError = false)
static/js/payment.js:1794
↓ 10 callersFunctionstopVendorProgressPolling
()
static/js/payment.js:1297
↓ 10 callersFunctionupdate_batch_status
(**kwargs)
src/web/routes/registration.py:1162
↓ 9 callersMethod_browser_pause
在 headed 模式下加入轻微停顿,模拟有头浏览器节奏。
src/core/anyauto/chatgpt_client.py:148
next →1–100 of 2,218, ranked by callers