Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tron521/codex-console-temp
/ functions
Functions
2,218 in github.com/Tron521/codex-console-temp
⨍
Functions
2,218
◇
Types & classes
238
↳
Endpoints
198
↓ 1,446 callers
Method
get
发送 GET 请求
src/core/http_client.py:147
↓ 278 callers
Method
_log
记录日志
src/core/register.py:218
↓ 264 callers
Method
error
(message, duration)
static/js/utils.js:64
↓ 255 callers
Method
warning
(message, duration)
static/js/utils.js:68
↓ 211 callers
Function
get_db
获取数据库会话的快捷函数
src/database/session.py:375
↓ 202 callers
Method
get
(path, options = {})
static/js/utils.js:407
↓ 194 callers
Method
filter
(self, *_args)
tests/test_registration_new_api.py:138
↓ 188 callers
Method
info
(message, duration)
static/js/utils.js:72
↓ 188 callers
Method
query
(self, *_entities)
tests/test_registration_new_api.py:154
↓ 129 callers
Method
success
(message, duration)
static/js/utils.js:60
↓ 108 callers
Method
update_status
更新服务状态 Args: success: 操作是否成功 error: 错误信息
src/services/base.py:274
↓ 96 callers
Method
post
(path, body, options = {})
static/js/utils.js:411
↓ 93 callers
Method
sleep
(ms)
static/js/utils.js:275
↓ 91 callers
Method
all
(self)
tests/test_registration_new_api.py:141
↓ 84 callers
Method
_log
输出日志
src/core/anyauto/oauth_client.py:55
↓ 82 callers
Method
json
(self)
tests/test_cpa_upload.py:10
↓ 81 callers
Function
utcnow_naive
Return a naive UTC datetime for legacy ORM fields.
src/core/timezone_utils.py:41
↓ 70 callers
Method
first
(self)
tests/test_registration_schedule_and_outlook.py:15
↓ 64 callers
Function
addLog
(type, message)
static/js/app.js:2120
↓ 58 callers
Function
get_settings
获取全局配置实例(单例模式) 完全从数据库加载配置
src/config/settings.py:920
↓ 54 callers
Method
_log
输出日志
src/core/anyauto/chatgpt_client.py:116
↓ 48 callers
Function
set
(key, value)
static/js/utils.js:802
↓ 46 callers
Method
count
(self_inner)
tests/test_database_runtime_config.py:25
↓ 44 callers
Method
post
发送 POST 请求
src/core/http_client.py:151
↓ 41 callers
Function
setInputValue
(id, value)
static/js/payment.js:327
↓ 40 callers
Function
escapeHtml
(text)
static/js/accounts.js:1765
↓ 40 callers
Method
run
()
static/js/utils.js:240
↓ 34 callers
Method
_set_error
(self, message)
src/core/anyauto/oauth_client.py:60
↓ 31 callers
Function
formatErrorMessage
(error)
static/js/payment.js:123
↓ 31 callers
Function
getInputValue
(id)
static/js/payment.js:323
↓ 26 callers
Function
escapeHtml
(value)
static/js/selfcheck.js:15
↓ 26 callers
Function
log
(message: str, level: str = "INFO")
start_webui.py:49
↓ 25 callers
Function
escapeHtml
(text)
static/js/app.js:2210
↓ 24 callers
Method
delete
(path, options = {})
static/js/utils.js:423
↓ 23 callers
Function
describe_flow_state
生成简短的流程状态描述,便于记录日志。
src/core/anyauto/utils.py:210
↓ 23 callers
Function
updateBatchButtons
()
static/js/accounts.js:1022
↓ 22 callers
Function
add_batch_log
(msg: str)
src/web/routes/registration.py:1158
↓ 22 callers
Function
confirm
(message, title = '确认操作')
static/js/utils.js:711
↓ 22 callers
Function
upload_log
(message: str)
src/web/routes/registration.py:832
↓ 21 callers
Method
_normalize_email
(self, email: Optional[str])
src/services/luckmail_mail.py:239
↓ 21 callers
Function
loadBindCardTasks
(silent = false)
static/js/payment.js:2592
↓ 20 callers
Method
_log
(self, message: str)
src/core/anyauto/register_flow.py:80
↓ 20 callers
Function
escapeHtml
(text)
static/js/email_services.js:799
↓ 20 callers
Function
loadAccounts
()
static/js/accounts.js:631
↓ 19 callers
Function
escapeHtml
(text)
static/js/settings.js:927
↓ 19 callers
Method
session_scope
事务作用域上下文管理器 使用示例: with session_scope() as session: # 数据库操作 pass
src/database/session.py:135
↓ 18 callers
Function
_result
(status: str, source: str, confidence: str, note: Optional[str] = None)
src/core/openai/payment.py:974
↓ 18 callers
Function
_safe_text
(value: Optional[str])
src/web/routes/accounts.py:781
↓ 18 callers
Method
delete
发送 DELETE 请求
src/core/http_client.py:159
↓ 18 callers
Method
request
发送 HTTP 请求 Args: method: HTTP 方法 (GET, POST, PUT, DELETE, etc.) url: 请求 URL **kwargs: 其他请求参数
src/core/http_client.py:85
↓ 17 callers
Function
_append
(value: Any)
src/core/openai/overview.py:684
↓ 17 callers
Function
escapeHtml
(value)
static/js/payment.js:168
↓ 17 callers
Method
scalar
(self)
tests/test_registration_new_api.py:144
↓ 16 callers
Function
_append
(url: Optional[str])
src/web/routes/payment.py:1369
↓ 16 callers
Method
_state_from_url
(self, url, method="GET")
src/core/anyauto/oauth_client.py:203
↓ 15 callers
Method
_browser_pause
在 headed 模式下注入轻微延迟,模拟真实浏览器操作节奏。
src/core/anyauto/oauth_client.py:65
↓ 15 callers
Method
_extract_field
(self, obj: Any, *keys: str)
src/services/luckmail_mail.py:138
↓ 15 callers
Method
close
关闭会话
src/core/http_client.py:218
↓ 15 callers
Function
resolve_account_ids
当 select_all=True 时查询全部符合条件的 ID,否则直接返回传入的 ids
src/web/routes/accounts.py:269
↓ 14 callers
Method
_headers
( self, url, *, user_agent=None, sec_ch_ua=None, accept,
src/core/anyauto/oauth_client.py:164
↓ 14 callers
Function
_to_float
(value: Any)
src/core/openai/overview.py:263
↓ 14 callers
Function
_utc_now
()
src/core/system_selfcheck.py:73
↓ 14 callers
Function
generate_datadog_trace
生成 Datadog APM 追踪头
src/core/anyauto/utils.py:71
↓ 14 callers
Function
setButtonLoading
(buttonId, loadingText, isLoading)
static/js/payment.js:1188
↓ 14 callers
Method
show
(message, type = 'info', duration = 4000)
static/js/utils.js:22
↓ 13 callers
Method
_check_cancelled
Raise if the current registration task has been cancelled.
src/core/register.py:205
↓ 13 callers
Function
_normalize_email_service_config
按服务类型兼容旧字段名,避免不同服务的配置键互相污染。
src/web/routes/registration.py:455
↓ 12 callers
Function
_header_value
(headers, name: str)
tests/test_registration_sentinel_flow.py:60
↓ 12 callers
Function
_pick
(*keys: str)
src/web/routes/payment.py:1518
↓ 12 callers
Function
_render_template
( request: Request, name: str, context: Optional[Dict[str, Any]] = None, statu
src/web/app.py:181
↓ 12 callers
Function
_safe_dict
(value: Any)
src/core/system_selfcheck.py:99
↓ 12 callers
Function
loadLogs
(silent = false)
static/js/logs.js:113
↓ 12 callers
Function
resetButtons
()
static/js/app.js:2176
↓ 12 callers
Function
setVendorRetryButtonState
(disabled = false, show = true)
static/js/payment.js:1310
↓ 12 callers
Function
setVendorStopButtonState
(disabled = false, show = true)
static/js/payment.js:1303
↓ 12 callers
Function
update_auto_registration_state
(**kwargs)
src/core/auto_registration.py:35
↓ 11 callers
Function
_serialize_bind_card_task
(task: BindCardTask)
src/web/routes/payment.py:198
↓ 11 callers
Function
debounce
(func, wait)
static/js/utils.js:572
↓ 11 callers
Method
has_oauth
是否支持 OAuth2
src/services/outlook/account.py:27
↓ 11 callers
Method
hide
(element)
static/js/utils.js:149
↓ 11 callers
Method
register
注册邮箱服务类 Args: service_type: 服务类型 service_class: 服务类
src/services/base.py:301
↓ 11 callers
Method
toggle
()
static/js/utils.js:103
↓ 11 callers
Function
update_settings
更新配置并保存到数据库
src/config/settings.py:935
↓ 11 callers
Function
yesNo
(value)
static/js/payment.js:174
↓ 10 callers
Method
_domain_task_snapshot
(task: Dict[str, Any])
src/web/task_manager.py:459
↓ 10 callers
Method
_extract_session_token_from_cookie_text
从 Cookie 文本中提取 next-auth session token(兼容分片)。
src/core/register.py:948
↓ 10 callers
Method
_headers
( self, url, *, accept, referer=None, origin=None, con
src/core/anyauto/chatgpt_client.py:153
↓ 10 callers
Method
_make_request
发送 API 请求 Args: method: HTTP 方法 endpoint: API 端点 **kwargs: 请求参数 Returns: 响应
src/services/moe_mail.py:94
↓ 10 callers
Method
_verify_email_otp_with_retry
获取并校验验证码(带重试)。 用于规避邮箱里历史验证码导致的 400(第一次取到旧码,第二次取新码)。
src/core/register.py:2438
↓ 10 callers
Function
add_auto_registration_log
(message: str)
src/core/auto_registration.py:57
↓ 10 callers
Method
get
(self, url, **kwargs)
tests/test_registration_engine.py:31
↓ 10 callers
Method
group_by
(self, *_args)
tests/test_registration_new_api.py:135
↓ 10 callers
Function
normalizeEfunCode
(raw)
static/js/payment.js:1663
↓ 10 callers
Function
parseErrorMessage
(error)
static/js/selfcheck.js:37
↓ 10 callers
Method
patch
(path, body, options = {})
static/js/utils.js:419
↓ 10 callers
Function
patchBatchTask
(key, patch = {})
static/js/accounts.js:54
↓ 10 callers
Function
setEfunResult
(content, isError = false)
static/js/payment.js:1794
↓ 10 callers
Function
stopVendorProgressPolling
()
static/js/payment.js:1297
↓ 10 callers
Function
update_batch_status
(**kwargs)
src/web/routes/registration.py:1162
↓ 9 callers
Method
_browser_pause
在 headed 模式下加入轻微停顿,模拟有头浏览器节奏。
src/core/anyauto/chatgpt_client.py:148
next →
1–100 of 2,218, ranked by callers