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 callers
Method
connect
验证连接(获取 Token) Returns: 是否连接成功
src/services/outlook/providers/graph_api.py:60
↓ 1 callers
Method
connect
连接到 IMAP 服务器 Returns: 是否连接成功
src/services/outlook/providers/imap_old.py:61
↓ 1 callers
Function
copy_table
( source_connection: Connection, target_connection: Connection, plan: TablePlan, batch_size: i
scripts/migrate_sqlite_to_postgres.py:137
↓ 1 callers
Function
count_ready_cpa_auth_files
缁熻鍙敤浜庤ˉ璐у垽鏂殑璁よ瘉鏂囦欢鏁伴噺銆?
src/core/upload/cpa_upload.py:296
↓ 1 callers
Function
createAdaptivePoller
(options = {})
static/js/utils.js:484
↓ 1 callers
Method
create_check_cancelled_callback
创建检查取消的回调函数
src/web/task_manager.py:400
↓ 1 callers
Method
create_email
(self, config: Dict[str, Any] = None)
src/services/yyds_mail.py:270
↓ 1 callers
Method
create_log_callback
创建日志回调函数,可附加任务编号前缀,并同时推送到批量任务频道
src/web/task_manager.py:390
↓ 1 callers
Function
create_new_api_channel
在 new-api 中创建 Codex 渠道。
src/core/upload/new_api_upload.py:123
↓ 1 callers
Function
create_new_api_session
创建已登录的 new-api 会话。
src/core/upload/new_api_upload.py:79
↓ 1 callers
Function
create_source_engine
(sqlite_url: str)
scripts/migrate_sqlite_to_postgres.py:100
↓ 1 callers
Function
create_target_engine
(postgres_url: str)
scripts/migrate_sqlite_to_postgres.py:104
↓ 1 callers
Function
delay
(ms)
static/js/accounts.js:38
↓ 1 callers
Function
delegate
(element, eventType, selector, handler)
static/js/utils.js:559
↓ 1 callers
Function
delete_account
删除账户
src/database/crud.py:147
↓ 1 callers
Function
describe_schedule
生成人类可读的计划描述。
src/web/schedule_utils.py:101
↓ 1 callers
Method
disconnect
断开连接
src/services/outlook/providers/base.py:92
↓ 1 callers
Method
drop_tables
删除所有表(谨慎使用)
src/database/session.py:157
↓ 1 callers
Function
ensure_docker_cli
()
start_webui.py:107
↓ 1 callers
Function
ensure_docker_daemon
(timeout_seconds: int)
start_webui.py:112
↓ 1 callers
Function
ensure_postgres_service
( service_name: str, timeout_seconds: int, dry_run: bool, database_endpoint: tuple[str, int] |
start_webui.py:134
↓ 1 callers
Function
ensure_target_empty
(connection: Connection, plan: Sequence[TablePlan])
scripts/migrate_sqlite_to_postgres.py:119
↓ 1 callers
Method
escapeHtml
(text)
static/js/utils.js:54
↓ 1 callers
Function
executeRepair
(runId, repairKey, btn)
static/js/selfcheck.js:345
↓ 1 callers
Function
execute_repair_plan
(run_id: int, repair_keys: List[str], actor: str = "system")
src/core/system_selfcheck.py:1098
↓ 1 callers
Function
exportAccounts
(format)
static/js/accounts.js:1712
↓ 1 callers
Function
extract_chrome_full_version
从 UA 中提取完整的 Chrome 版本号。
src/core/anyauto/utils.py:222
↓ 1 callers
Function
fetchBindFailStats
(accountIds = [])
static/js/payment.js:2204
↓ 1 callers
Method
fetch_chatgpt_session
请求 ChatGPT Session 接口并返回原始会话数据。
src/core/anyauto/chatgpt_client.py:323
↓ 1 callers
Function
fetch_sentinel_challenge
调用 sentinel 后端 API 获取 challenge 数据
src/core/anyauto/sentinel_token.py:142
↓ 1 callers
Function
fetch_source_rows
(connection: Connection, plan: TablePlan)
scripts/migrate_sqlite_to_postgres.py:131
↓ 1 callers
Function
filter_sensitive_config
过滤敏感配置信息
src/web/routes/email.py:119
↓ 1 callers
Method
find_verification_code_in_emails
从邮件列表中查找验证码 Args: emails: 邮件列表 target_email: 目标邮箱地址 min_timestamp: 最小时间戳(用于过滤旧邮件) us
src/services/outlook/email_parser.py:126
↓ 1 callers
Method
flushQueue
()
static/js/utils.js:266
↓ 1 callers
Method
force_disable
强制禁用提供者 Args: provider_type: 提供者类型 duration: 禁用时长(秒),默认使用配置值
src/services/outlook/health_checker.py:145
↓ 1 callers
Method
force_enable
强制启用提供者 Args: provider_type: 提供者类型
src/services/outlook/health_checker.py:159
↓ 1 callers
Function
formatBeijingDateTime
(dateStr)
static/js/payment.js:1392
↓ 1 callers
Function
formatPoolInfo
(settings)
static/js/settings.js:101
↓ 1 callers
Function
formatRecentTaskTime
(task)
static/js/app.js:1871
↓ 1 callers
Function
formatSchedulerTime
(value)
static/js/accounts.js:441
↓ 1 callers
Function
formatSessionDiagnosticPayload
(payload)
static/js/payment.js:194
↓ 1 callers
Method
from_response
从 API 响应创建
src/services/outlook/base.py:85
↓ 1 callers
Function
generate_aimizy_payment_link
基于 Access Token 生成 aimizy 站内代付短链。 先尝试常见 API 形态,失败后回退到可直接打开的 pay URL。
src/core/openai/payment.py:385
↓ 1 callers
Function
generate_oauth_url
生成 OAuth 授权 URL Args: redirect_uri: 回调地址 scope: 权限范围 client_id: OpenAI Client ID Returns: OAuthStart 对象
src/core/openai/oauth.py:189
↓ 1 callers
Function
generate_password
生成随机密码 Args: length: 密码长度 Returns: 随机密码字符串
src/core/utils.py:90
↓ 1 callers
Function
generate_random_billing_profile
(country: Optional[str], proxy: Optional[str] = None)
src/core/openai/random_billing.py:442
↓ 1 callers
Function
generate_random_birthday
生成随机生日字符串,格式 YYYY-MM-DD(20~30岁)
src/core/anyauto/utils.py:63
↓ 1 callers
Function
generate_random_name
随机生成自然的英文姓名,返回 (first_name, last_name)
src/core/anyauto/utils.py:49
↓ 1 callers
Function
generate_random_user_info
生成随机用户信息 Returns: 包含 name 和 birthdate 的字典
src/config/constants.py:207
↓ 1 callers
Method
generate_token
生成 sentinel token(完整 PoW 流程)
src/core/anyauto/sentinel_token.py:117
↓ 1 callers
Method
getAdaptiveTimeoutMs
()
static/js/utils.js:190
↓ 1 callers
Function
getCardPoolResolvedStatus
(item)
static/js/payment.js:1698
↓ 1 callers
Method
getConnectionMultiplier
()
static/js/utils.js:447
↓ 1 callers
Function
getCustomServiceAddress
(service)
static/js/email_services.js:353
↓ 1 callers
Function
getCustomServiceTypeBadge
(subType)
static/js/email_services.js:322
↓ 1 callers
Method
getIcon
(type)
static/js/utils.js:44
↓ 1 callers
Function
getLevelClass
(level)
static/js/logs.js:52
↓ 1 callers
Function
getOutlookAuthBadge
(service)
static/js/email_services.js:304
↓ 1 callers
Function
getOutlookRegistrationBadge
(service)
static/js/email_services.js:311
↓ 1 callers
Function
getRegistrationTaskStatusMeta
(status)
static/js/app.js:1859
↓ 1 callers
Function
getScheduleStatusClass
(job)
static/js/app.js:914
↓ 1 callers
Function
getStatusClass
(type, status)
static/js/utils.js:686
↓ 1 callers
Function
getStatusIcon
(status)
static/js/utils.js:701
↓ 1 callers
Function
getTaskStatusText
(status)
static/js/payment.js:1159
↓ 1 callers
Method
get_all_health_status
获取所有提供者的健康状态 Returns: 健康状态字典
src/services/outlook/health_checker.py:172
↓ 1 callers
Function
get_auto_registration_inventory
( settings: Settings, )
src/core/auto_registration.py:77
↓ 1 callers
Function
get_auto_registration_logs
()
src/core/auto_registration.py:63
↓ 1 callers
Method
get_batch_logs
获取批量任务日志
src/web/task_manager.py:329
↓ 1 callers
Method
get_batch_status
获取批量任务状态
src/web/task_manager.py:325
↓ 1 callers
Method
get_cached_token
获取缓存的 Token
src/services/outlook/token_manager.py:76
↓ 1 callers
Method
get_csrf_token
获取 CSRF token
src/core/anyauto/chatgpt_client.py:439
↓ 1 callers
Method
get_current_provider
获取当前提供者 Returns: 当前提供者类型,如果没有可用的返回 None
src/services/outlook/health_checker.py:238
↓ 1 callers
Function
get_database_url
获取数据库 URL(处理相对路径)
src/config/settings.py:954
↓ 1 callers
Method
get_db
获取数据库会话的上下文管理器 使用示例: with get_db() as db: # 使用 db 进行数据库操作 pass
src/database/session.py:120
↓ 1 callers
Function
get_display_host
(host: str)
start_webui.py:184
↓ 1 callers
Function
get_email_code_settings
获取验证码等待配置 Returns: dict: 包含 timeout 和 poll_interval 的字典
src/services/outlook_legacy_mail.py:34
↓ 1 callers
Function
get_email_code_settings
获取验证码等待配置
src/services/outlook/service.py:41
↓ 1 callers
Method
get_email_messages
获取邮箱中的邮件列表(可选实现) Args: email_id: 邮箱服务中的 ID **kwargs: 其他参数 Returns: 邮件列表 Note:
src/services/base.py:242
↓ 1 callers
Function
get_email_parser
获取全局邮件解析器实例
src/services/outlook/email_parser.py:240
↓ 1 callers
Method
get_health
获取提供者的健康状态
src/services/outlook/health_checker.py:52
↓ 1 callers
Method
get_inbox
获取邮箱收件箱内容 Args: token: 邮箱 token Returns: 收件箱数据
src/services/tempmail.py:267
↓ 1 callers
Method
get_next_auth_session_token
获取 ChatGPT next-auth 会话 Cookie。
src/core/anyauto/chatgpt_client.py:319
↓ 1 callers
Method
get_provider_status
获取提供者状态
src/services/outlook/service.py:456
↓ 1 callers
Function
get_proxy_for_registration
获取用于注册的代理 策略: 1. 优先从代理列表中随机选择一个启用的代理 2. 如果代理列表为空且启用了动态代理,调用动态代理 API 获取 3. 否则使用系统设置中的静态默认代理 Returns: Tuple[proxy_url
src/web/routes/registration.py:188
↓ 1 callers
Method
get_recent_emails
获取最近的邮件 Args: count: 获取的邮件数量 only_unseen: 是否只获取未读邮件 timeout: 超时时间 Returns:
src/services/outlook_legacy_mail.py:186
↓ 1 callers
Method
get_recent_emails
获取最近的邮件 Args: count: 获取数量 only_unseen: 是否只获取未读 Returns: 邮件列表
src/services/outlook/providers/base.py:97
↓ 1 callers
Method
get_recent_emails
获取最近的邮件 Args: count: 获取数量 only_unseen: 是否只获取未读 Returns: 邮件列表
src/services/outlook/providers/graph_api.py:95
↓ 1 callers
Method
get_service_info
(self)
src/services/yyds_mail.py:440
↓ 1 callers
Method
get_status
获取故障切换状态 Returns: 状态字典
src/services/outlook/health_checker.py:297
↓ 1 callers
Method
get_status
获取任务状态
src/web/task_manager.py:223
↓ 1 callers
Method
get_unsent_batch_logs
获取未发送给该 WebSocket 的批量任务日志
src/web/task_manager.py:362
↓ 1 callers
Method
get_unsent_logs
获取未发送给该 WebSocket 的日志
src/web/task_manager.py:174
↓ 1 callers
Method
get_verification_code
( self, email: str, email_id: str = None, timeout: int = 120, pattern:
src/services/yyds_mail.py:316
↓ 1 callers
Method
get_verification_code
( self, email: str, email_id: str = None, timeout: int = 120, pattern:
src/services/duck_mail.py:231
↓ 1 callers
Function
handleBatchRegistration
(requestData)
static/js/app.js:1459
↓ 1 callers
Function
handleBatchUploadCodex2api
()
static/js/accounts.js:2130
↓ 1 callers
Function
handleBatchUploadCpa
()
static/js/accounts.js:1902
↓ 1 callers
Function
handleBatchUploadSub2Api
()
static/js/accounts.js:2033
↓ 1 callers
Function
handleOutlookBatchRegistration
()
static/js/app.js:2288
↓ 1 callers
Function
handleSaveAutoRegistration
()
static/js/app.js:1125
← previous
next →
1,001–1,100 of 2,218, ranked by callers