MCPcopy Create free account

hub / github.com/ZingerLittleBee/ServerBee / functions

Functions6,739 in github.com/ZingerLittleBee/ServerBee

↓ 2 callersMethodfinish_connection_removal
(&self, server_id: &str)
crates/server/src/service/agent_manager.rs:409
↓ 2 callersFunctionfireInput
(element: HTMLElement, value: string)
apps/web/src/components/ip-quality/custom-service-dialog.test.tsx:190
↓ 2 callersFunctionflag_value
Return the token following `flag` in `argv`, if present (`--reason foo` → `foo`).
crates/agent/src/main.rs:52
↓ 2 callersFunctionflushList
()
apps/web/src/components/dashboard/markdown-content.tsx:136
↓ 2 callersFunctionformatChartTime
(time: string)
apps/web/src/lib/widget-helpers.ts:103
↓ 2 callersFunctionformatHourMinute
(time: string)
apps/web/src/components/status/server-detail-content.tsx:430
↓ 2 callersFunctionformatLatencyInt
(ms: number | null)
apps/web/src/components/status/network-overview-content.tsx:77
↓ 2 callersFunctionformatStat
(value: number | null, formatter: (n: number) => string)
apps/web/src/components/dashboard/widgets/metric-card.tsx:22
↓ 2 callersFunctiongetBarColor
(pct: number)
apps/web/src/routes/_authed/servers/components/metric-bar-colors.ts:1
↓ 2 callersFunctiongetBaseName
(filename: string)
apps/web/src/lib/file-utils.ts:82
↓ 2 callersFunctiongetColumnPinningStyle
({ column, withBorder = false }: { column: Column<TData> withBorder?: boolean })
apps/web/src/lib/data-table.ts:3
↓ 2 callersFunctiongetCustomTargetCreatedAt
(target: NetworkProbeTarget)
apps/web/src/routes/_authed/settings/network-probes.tsx:40
↓ 2 callersFunctiongetDocsContentPath
(lang: string, slugs: string[])
apps/docs/src/routes/$lang/docs/$.tsx:20
↓ 2 callersFunctiongetLossTextClassName
(lossRatio: number | null)
apps/web/src/lib/network-types.ts:162
↓ 2 callersFunctiongetMenuColumnWidths
(commands: CommandDefinition[])
scripts/make-menu.ts:479
↓ 2 callersFunctiongetQueryClientBufferCache
( queryClient: QueryClient )
apps/web/src/hooks/use-realtime-metrics.ts:22
↓ 2 callersFunctiongetSelectedCommandFromFzfResult
(result: FzfSelectionResult)
scripts/make-menu.ts:573
↓ 2 callersFunctiongetStatus
(monitor: ServiceMonitor)
apps/web/src/components/dashboard/widgets/service-status.tsx:43
↓ 2 callersFunctiongetSystemTheme
()
apps/web/src/components/theme-provider.tsx:32
↓ 2 callersMethodget_docker_containers
(&self, server_id: &str)
crates/server/src/service/agent_manager.rs:488
↓ 2 callersMethodget_docker_stats
(&self, server_id: &str)
crates/server/src/service/agent_manager.rs:496
↓ 2 callersMethodget_file_handle
Get a cloned `Arc<Mutex<File>>` handle for the given transfer.
crates/server/src/service/file_transfer.rs:199
↓ 2 callersFunctionget_gpu_report
Collect GPU metrics. Returns None if no GPU is detected or NVML is unavailable.
crates/agent/src/collector/gpu.rs:4
↓ 2 callersFunctionget_last_record_time
( db: &DatabaseConnection, server_id: &str, )
crates/server/src/service/alert.rs:1014
↓ 2 callersFunctionget_record_snapshot
( db: &DatabaseConnection, server_id: &str, request_id: &str, )
crates/server/src/service/traceroute.rs:80
↓ 2 callersFunctionget_server_uptime_daily
90-day uptime band for a scoped server.
crates/server/src/service/public_status.rs:693
↓ 2 callersMethodget_user_id
(&self, transfer_id: &str)
crates/server/src/service/file_transfer.rs:233
↓ 2 callersFunctiongithub_latest_release_api
(release_base_url: &str)
crates/server/src/service/upgrade_release.rs:178
↓ 2 callersFunctionhandleCancel
()
apps/web/src/components/dashboard/dashboard-editor-view.tsx:94
↓ 2 callersFunctionhandleFileChange
(e: ChangeEvent<HTMLInputElement>, type: 'favicon' | 'logo')
apps/web/src/routes/_authed/settings/appearance.tsx:168
↓ 2 callersMethodhandle_stop_stats
(&mut self)
crates/agent/src/docker/mod.rs:225
↓ 2 callersFunctionhandle_traceroute_round_update
(state: &Arc<AppState>, server_id: &str, msg: AgentMessage)
crates/server/src/router/ws/agent.rs:1695
↓ 2 callersFunctionharness
()
apps/web/src/hooks/use-server-tags.test.tsx:6
↓ 2 callersMethodhas_feature
(&self, server_id: &str, feature: &str)
crates/server/src/service/agent_manager.rs:527
↓ 2 callersFunctionhttp_client
()
crates/server/tests/api_key_admin_only.rs:94
↓ 2 callersFunctioninitialCapsFor
(caps: number | null | undefined)
apps/web/src/components/server/recover-agent-dialog.tsx:141
↓ 2 callersFunctioninode_of
(path: &Path)
crates/agent/src/security/journal_watcher.rs:326
↓ 2 callersFunctioninsert_cache_row
Insert a cache row with a given `checked_at` timestamp.
crates/server/src/service/ip_risk.rs:789
↓ 2 callersFunctioninsert_minimal_server
(db: &sea_orm::DatabaseConnection, id: &str)
crates/server/tests/public_status_gating.rs:78
↓ 2 callersFunctioninsert_oneshot_task
(db: &DatabaseConnection, id: &str)
crates/server/src/router/api/task.rs:679
↓ 2 callersFunctioninsert_test_record
( db: &DatabaseConnection, server_id: &str, cpu: f64, mem_used: i64, a
crates/server/src/service/cost.rs:856
↓ 2 callersFunctioninsert_test_record_with_disk_io_json
( db: &DatabaseConnection, server_id: &str, cpu: f64, mem_used: i64, a
crates/server/src/service/cost.rs:872
↓ 2 callersFunctioninsert_test_uptime
( db: &DatabaseConnection, server_id: &str, date: NaiveDate, total_minutes: i3
crates/server/src/service/cost.rs:905
↓ 2 callersFunctioninsert_test_user
Seed a parent user row so sessions satisfy the `user_id` foreign key.
crates/server/src/task/session_cleaner.rs:78
↓ 2 callersFunctionip_quality_overview
IP-quality overview, redacted per spec.
crates/server/src/service/public_status.rs:755
↓ 2 callersFunctionisAdminRoute
(pathname: string)
apps/web/src/routes/_authed.tsx:105
↓ 2 callersFunctionisAdminServer
(server: ServerResponse | PublicServerDetail)
apps/web/src/components/status/server-detail-content.tsx:77
↓ 2 callersFunctionisFinished
(status: UpgradeStatus)
apps/web/src/stores/upgrade-jobs-store.ts:29
↓ 2 callersFunctionisNetworkMetric
(metric: string)
apps/web/src/lib/widget-helpers.ts:41
↓ 2 callersFunctionisServersViewMode
(value: string | null | undefined)
apps/web/src/routes/_authed/servers/components/mobile-view.ts:9
↓ 2 callersFunctionisStatusPageTab
(value: unknown)
apps/web/src/routes/_authed/settings/status-pages.tsx:14
↓ 2 callersFunctionisTheme
(value: string | null)
apps/web/src/components/theme-provider.tsx:24
↓ 2 callersFunctionisWidgetStatic
(configJson: string)
apps/web/src/components/dashboard/dashboard-grid.tsx:53
↓ 2 callersMethodis_capable
Check whether the Docker capability is currently enabled.
crates/agent/src/docker/mod.rs:89
↓ 2 callersFunctionis_ignorable_push
First-connect pushes a default/terminal agent must tolerate and ignore.
crates/server/tests/ws_terminal_relay.rs:149
↓ 2 callersFunctionis_ignorable_push
First-connect pushes a default agent must tolerate and ignore.
crates/server/tests/ws_docker_browser.rs:83
↓ 2 callersFunctionis_plausible_email
(s: &str)
crates/server/src/service/notification.rs:85
↓ 2 callersFunctionis_public_ip
SSRF guard: rejects an IP that falls into any reserved / private / loopback / link-local / multicast / documentation range. Cloud metadata (169.254.16
crates/server/src/router/api/widget_module.rs:114
↓ 2 callersFunctionis_public_ipv4
(ip: Ipv4Addr)
crates/server/src/router/api/widget_module.rs:121
↓ 2 callersMethodis_terminal
(&self)
crates/server/src/service/upgrade_tracker.rs:39
↓ 2 callersMethodis_triggered
(&self, rule_id: &str, server_id: &str, event_key: &str)
crates/server/src/service/alert.rs:294
↓ 2 callersFunctionis_trusted
(ip: IpAddr, proxies: &[IpNet])
crates/server/src/router/utils.rs:53
↓ 2 callersFunctionis_virtual_device
(name: &str)
crates/agent/src/collector/disk_io.rs:169
↓ 2 callersFunctionjoinPath
(dir: string, name: string)
apps/web/src/lib/file-utils.ts:164
↓ 2 callersFunctionjsonResponse
(data: T)
apps/web/src/hooks/use-cost.test.tsx:86
↓ 2 callersFunctionlayoutToPatch
( layout: readonly Pick<LayoutItem, 'i' | 'x' | 'y' | 'w' | 'h'>[], widgets: DashboardWidget[] )
apps/web/src/components/dashboard/dashboard-layout.ts:79
↓ 2 callersMethodlist
(db: &DatabaseConnection)
crates/server/src/service/ping.rs:47
↓ 2 callersFunctionlist_audit_entries
(client: &Client, base_url: &str)
crates/server/tests/docker_integration.rs:128
↓ 2 callersFunctionlist_containers
List all containers (running and stopped).
crates/agent/src/docker/containers.rs:50
↓ 2 callersFunctionlist_incidents
Active and recent incidents. Active = any non-resolved row. Recent = resolved within the last 7 days.
crates/server/src/service/public_status.rs:794
↓ 2 callersMethodlist_json
(&self, args: &[&str])
crates/agent/src/firewall/nft.rs:86
↓ 2 callersFunctionlist_maintenances
Currently-active or upcoming maintenance windows that the admin has marked public.
crates/server/src/service/public_status.rs:861
↓ 2 callersFunctionload1
()
crates/agent/src/collector/load.rs:3
↓ 2 callersFunctionload15
()
crates/agent/src/collector/load.rs:11
↓ 2 callersFunctionload5
()
crates/agent/src/collector/load.rs:7
↓ 2 callersFunctionlogin
(client: &reqwest::Client, base_url: &str, username: &str, password: &str)
crates/server/tests/api_key_admin_only.rs:102
↓ 2 callersFunctionlogin_member
(client: &Client, base_url: &str)
crates/server/tests/widget_module_integration.rs:726
↓ 2 callersMethodlookup
(&self, ip: &str)
crates/server/src/service/ip_risk.rs:577
↓ 2 callersFunctionmakeMockWsSocket
()
apps/web/vite/dev-proxy.test.ts:117
↓ 2 callersFunctionmakePoint
(value: number, lossRatio = 0)
apps/web/src/components/server/network-square-grid.test.tsx:32
↓ 2 callersFunctionmakeServer
(overrides: Partial<PublicServerSummary> = {})
apps/web/src/components/status/server-summary-view.test.tsx:32
↓ 2 callersFunctionmake_file_transfers
Build a `FileTransferManager` backed by a fresh temp dir for tick tests. Returns the manager plus the `TempDir` guard, which must stay alive.
crates/server/src/task/cleanup.rs:226
↓ 2 callersFunctionmap_network
Pure mapping from a bollard `Network` model to our `DockerNetwork` DTO. Extracted so the transformation can be unit-tested without a live daemon.
crates/agent/src/docker/networks.rs:9
↓ 2 callersMethodmark_failed_by_capability_denied
( &self, lookup: UpgradeLookup, reason: CapabilityDeniedReason, )
crates/server/src/service/upgrade_tracker.rs:168
↓ 2 callersMethodmark_succeeded
( &self, lookup: UpgradeLookup, backup_path: Option<String>, )
crates/server/src/service/upgrade_tracker.rs:182
↓ 2 callersMethodmatches
(&self, job: &UpgradeJob)
crates/server/src/service/upgrade_tracker.rs:72
↓ 2 callersFunctionmem_total
(sys: &System)
crates/agent/src/collector/memory.rs:7
↓ 2 callersFunctionmem_used
(sys: &System)
crates/agent/src/collector/memory.rs:3
↓ 2 callersFunctionmergeLayoutPatch
(widgets: DashboardWidget[], patch: LayoutPatch[])
apps/web/src/components/dashboard/dashboard-layout.ts:96
↓ 2 callersFunctionmigrate_until_before_email
(db: &sea_orm::DatabaseConnection)
crates/server/tests/email_migration_integration.rs:15
↓ 2 callersFunctionmime_for
(path: &str)
crates/server/src/service/widget_module/service.rs:436
↓ 2 callersFunctionmobile_login
( State(state): State<Arc<AppState>>, ConnectInfo(addr): ConnectInfo<SocketAddr>, req_headers: Hea
crates/server/src/router/api/mobile.rs:104
↓ 2 callersFunctionmountRuntimeBridge
(inputs: BridgeInputs)
apps/web/src/widgets-runtime/runtime-bridge.ts:209
↓ 2 callersFunctionname
(sys: &System)
crates/agent/src/collector/cpu.rs:7
↓ 2 callersMethodname
(&self)
crates/server/src/migration/m20260312_000002_oauth.rs:6
↓ 2 callersFunctionnormalizeNewWidgetPlacement
(widgets: DashboardWidget[], newWidget: DashboardWidget)
apps/web/src/components/dashboard/dashboard-layout.ts:106
↓ 2 callersFunctionnormalizeSparklineSeries
(series: unknown)
apps/web/src/lib/sparkline.ts:13
↓ 2 callersFunctionnormalizeWhoisTarget
(target: string)
apps/web/src/routes/_authed/settings/service-monitors.tsx:126
↓ 2 callersFunctionnormalize_spki_pin
规范化并校验配置的 SPKI pin:去首尾空白、转小写,必须 64 位 hex。 返回 None 表示空串(未启用);Err 表示非法(调用方应 fail-fast)。
crates/agent/src/upgrade.rs:75
↓ 2 callersFunctionnotify
(type: 'success' | 'error', message: string)
packages/widget-sdk/src/actions/action-button.tsx:30
← previousnext →1,001–1,100 of 6,739, ranked by callers