MCPcopy Create free account

hub / github.com/adrgs/requestrepo / functions

Functions362 in github.com/adrgs/requestrepo

↓ 1 callersFunctionbuildFileTree
(files: FileTree)
frontend/src/lib/fileTree.ts:14
↓ 1 callersFunctionbuild_admin_cookie
Build the admin token cookie string with security settings
src/src/http/routes_v2.rs:78
↓ 1 callersFunctionbuild_dns_response
( request: &Message, query: &Query, _subdomain: &Option<String>, cache: &Arc<Cache>, )
src/src/dns/mod.rs:327
↓ 1 callersFunctionbuild_server_config
(chain_pem: &[u8], key_pem: &[u8])
src/src/certs/tls.rs:157
↓ 1 callersFunctioncan_create_session
Check if a request to /api/get_token should be allowed - If ADMIN_TOKEN is set: requires valid admin token - If ADMIN_TOKEN is not set: allow all requ
src/src/utils/auth.rs:32
↓ 1 callersFunctioncatch_all
Catch-all handler that logs HTTP requests and serves files
src/src/http/routes.rs:79
↓ 1 callersMethodcheck
Returns true if the request should be allowed, false if rate-limited.
src/src/dns/mod.rs:46
↓ 1 callersMethodcheck_and_renew_ip
Check if IP cert renewal is needed and perform it
src/src/certs/mod.rs:215
↓ 1 callersMethodcheck_domain_match
Check if the certificate covers the expected domain Must have both domain.tld and *.domain.tld
src/src/certs/validation.rs:111
↓ 1 callersMethodcheck_ip_match
Check if the certificate contains an IP SAN matching the expected IP
src/src/certs/validation.rs:199
↓ 1 callersFunctioncheck_rate_limit
Check rate limit for session creation
src/src/http/routes_v2.rs:356
↓ 1 callersFunctioncheck_share_rate_limit
Check rate limit for share token creation
src/src/http/routes_v2.rs:371
↓ 1 callersMethodcleanup
Remove stale entries older than 10 seconds
src/src/dns/mod.rs:64
↓ 1 callersFunctionconstant_time_eq
Constant-time string comparison to prevent timing attacks
src/src/utils/auth.rs:4
↓ 1 callersMethoddays_until_expiry
Calculate days until certificate expiry
src/src/certs/validation.rs:135
↓ 1 callersFunctiondeleteFromTree
(files: FileTree, path: string)
frontend/src/lib/fileTree.ts:169
↓ 1 callersFunctiondownloadAttachment
(attachment: SmtpAttachment)
frontend/src/pages/RequestsPage.tsx:27
↓ 1 callersMethodevict_oldest_requests
Evict oldest individual requests to free up `bytes_to_free` bytes Uses round-robin across all subdomain lists to be fair
src/src/cache/mod.rs:424
↓ 1 callersFunctionextract_admin_token
Extract admin token from request body or cookie (body takes precedence)
src/src/http/routes_v2.rs:68
↓ 1 callersFunctionextract_all_recipients
Extract all email addresses from To, CC, and BCC headers
src/src/smtp/mod.rs:564
↓ 1 callersMethodextract_domains
Extract all domain names from the certificate (CN and SANs)
src/src/certs/validation.rs:83
↓ 1 callersFunctionextract_token
Extract token from query param or Authorization header
src/src/http/routes_v2.rs:84
↓ 1 callersFunctionformatFileSize
(bytes: number)
frontend/src/pages/RequestsPage.tsx:21
↓ 1 callersFunctionformat_dns_response
Format a DNS response message for human-readable display
src/src/dns/mod.rs:186
↓ 1 callersFunctiongenerate_share_jwt
( request_id: &str, subdomain: &str, )
src/src/utils/mod.rs:176
↓ 1 callersFunctiongetBadgeColor
()
frontend/src/components/layout/Sidebar.tsx:290
↓ 1 callersFunctiongetBadgeText
()
frontend/src/components/layout/Sidebar.tsx:309
↓ 1 callersFunctiongetContentTypeFromExtension
(filename: string)
frontend/src/lib/fileTree.ts:185
↓ 1 callersFunctiongetDisplayText
()
frontend/src/components/layout/Sidebar.tsx:316
↓ 1 callersFunctiongetDnsTypeColor
(type: string | undefined | null)
frontend/src/lib/utils.ts:72
↓ 1 callersFunctiongetIcon
()
frontend/src/components/file-tree/FileTreeItem.tsx:93
↓ 1 callersFunctiongetLanguage
(filename: string)
frontend/src/pages/ResponseEditorPage.tsx:121
↓ 1 callersFunctiongetMethodColor
(method: string | undefined | null)
frontend/src/lib/utils.ts:58
↓ 1 callersFunctiongetUnreadCount
(subdomain: string)
frontend/src/components/layout/Topbar.tsx:47
↓ 1 callersFunctionget_file_path_from_url
Extract the file path portion from a URL When `on_main_domain` is true (path-based routing like /r/subdomain/path): Returns the path after the subdoma
src/src/utils/mod.rs:97
↓ 1 callersFunctionget_memory_limit
Get container memory limit from cgroups or system
src/src/cache/mod.rs:536
↓ 1 callersMethodget_response
Look up a challenge response by token
src/src/certs/challenge.rs:42
↓ 1 callersMethodget_subdomain_size
(&self, subdomain: &str)
src/src/cache/mod.rs:386
↓ 1 callersFunctionhandleCloseSession
(e: React.MouseEvent, subdomain: string)
frontend/src/components/layout/Topbar.tsx:87
↓ 1 callersFunctionhandleDeleteRequest
( e: React.MouseEvent, requestId: string, )
frontend/src/components/layout/Sidebar.tsx:142
↓ 1 callersFunctionhandleSelectRequest
(request: Request)
frontend/src/components/layout/Sidebar.tsx:189
↓ 1 callersFunctionhandle_dns_request
( data: &[u8], addr: SocketAddr, cache: Arc<Cache>, tx: Arc<broadcast::Sender<CacheMessage>>,
src/src/dns/mod.rs:126
↓ 1 callersFunctionhandle_smtp_connection
( mut socket: TcpStream, addr: SocketAddr, cache: Arc<Cache>, tx: Arc<broadcast::Sender<CacheM
src/src/smtp/mod.rs:150
↓ 1 callersFunctionhandle_socket_v2
V2 WebSocket handler with proper JSON protocol
src/src/http/websocket.rs:41
↓ 1 callersFunctionhandle_tcp_connection
( mut socket: TcpStream, addr: SocketAddr, port: u16, subdomain: &str, cache: Arc<Cache>,
src/src/tcp/mod.rs:178
↓ 1 callersFunctionisPathInFolder
(path: string, folderPath: string)
frontend/src/lib/fileTree.ts:97
↓ 1 callersFunctionisValidFolderName
(name: string)
frontend/src/lib/fileTree.ts:118
↓ 1 callersFunctionis_ipv4
Check if an IP string is a valid IPv4 address
src/src/ip2country/mod.rs:90
↓ 1 callersFunctionis_our_domain
Check if the query is for our domain (including base domain and subdomains)
src/src/dns/mod.rs:315
↓ 1 callersFunctionis_private_ip
Check if an IP address is private (internal network) or loopback Returns true for: 10.x.x.x, 172.16-31.x.x, 192.168.x.x, 127.x.x.x, ::1
src/src/utils/mod.rs:22
↓ 1 callersMethodllen
Get length of list
src/src/cache/mod.rs:319
↓ 1 callersMethodload_account
Load existing ACME account credentials or return None
src/src/certs/storage.rs:123
↓ 1 callersMethodload_existing_domain_cert
Load existing domain certificate from storage
src/src/certs/mod.rs:119
↓ 1 callersMethodload_existing_ip_cert
Load existing IP certificate from storage
src/src/certs/mod.rs:131
↓ 1 callersFunctionload_static_files
Load static files into memory (call once at startup, share between servers)
src/src/http/mod.rs:54
↓ 1 callersFunctionlog_dns_request
( request: &Message, raw_data: &[u8], addr: SocketAddr, subdomain: &str, reply: &str,
src/src/dns/mod.rs:248
↓ 1 callersFunctionlog_smtp_request
( subdomain: &str, command: &str, data: Option<&str>, client_ip: &str, mail_from: Option<&
src/src/smtp/mod.rs:601
↓ 1 callersMethodobtain_certificate
Obtain a certificate for the given domain and wildcard via DNS-01 Returns (certificate_chain_pem, private_key_pem)
src/src/certs/acme.rs:65
↓ 1 callersMethodobtain_domain_certificate
Obtain a new domain certificate from Let's Encrypt via DNS-01
src/src/certs/mod.rs:254
↓ 1 callersMethodobtain_ip_certificate
Obtain a new IP certificate from Let's Encrypt via HTTP-01
src/src/certs/mod.rs:295
↓ 1 callersMethodquery_txt
Query all TXT records from a specific DNS resolver Returns all TXT record values (supports multiple records for ACME wildcard certs)
src/src/certs/challenge.rs:193
↓ 1 callersFunctionread_line_limited
Read a line from the reader with a maximum length limit. Unlike `read_line()`, this enforces the limit DURING the read, preventing unbounded memory al
src/src/smtp/mod.rs:103
↓ 1 callersFunctionrenameInTree
( files: FileTree, oldPath: string, newPath: string, )
frontend/src/lib/fileTree.ts:142
↓ 1 callersFunctionresolve_file_path
Resolve a path to a file, with cascading index.html fallback 1. Try exact match 2. Try path/index.html (directory index) 3. Walk up the path tree look
src/src/http/routes.rs:247
↓ 1 callersFunctionrun
()
src/src/lib.rs:22
↓ 1 callersMethodsave_account
Save ACME account credentials atomically
src/src/certs/storage.rs:141
↓ 1 callersFunctionscrollToRequest
(requestId: string)
frontend/src/components/layout/Sidebar.tsx:101
↓ 1 callersFunctionserve_file
Serve a file from the subdomain's file tree `on_main_domain`: true when using path-based routing (/r/subdomain/), false for subdomain routing
src/src/http/routes.rs:292
↓ 1 callersFunctionserve_static_file
Serve static files from in-memory cache Files are loaded at startup with config injection for index.html
src/src/http/routes.rs:210
↓ 1 callersFunctionsortTreeNodes
(nodes: TreeNode[])
frontend/src/lib/fileTree.ts:56
↓ 1 callersMethodstart_port_allocation_service
(&self)
src/src/tcp/mod.rs:44
↓ 1 callersMethodstart_port_listener
(&self, port: u16, subdomain: String)
src/src/tcp/mod.rs:119
↓ 1 callersMethodtls_manager
Get the TLS manager for use by the HTTPS server
src/src/certs/mod.rs:114
↓ 1 callersFunctionuseAutoSession
()
frontend/src/hooks/useAutoSession.ts:12
↓ 1 callersFunctionuseDocumentTitle
()
frontend/src/hooks/useDocumentTitle.ts:6
↓ 1 callersFunctionuseWebSocket
()
frontend/src/hooks/useWebSocket.ts:18
↓ 1 callersFunctionvalidate_dns_value
Validate a DNS record value based on record type
src/src/http/routes_v2.rs:181
↓ 1 callersFunctionverify_share_jwt
(token: &str)
src/src/utils/mod.rs:198
↓ 1 callersFunctionverify_subdomain
( subdomain: &str, length: usize, alphabet_set: &std::collections::HashSet<char>, )
src/src/utils/mod.rs:12
↓ 1 callersMethodwait_propagation
Wait for DNS propagation by querying external resolvers Uses exponential backoff with a maximum timeout
src/src/certs/challenge.rs:105
FunctionAdminAuthOverlay
({ onSubmit }: AdminAuthOverlayProps)
frontend/src/components/auth/AdminAuthOverlay.tsx:18
FunctionApp
()
frontend/src/App.tsx:19
FunctionAppLayout
()
frontend/src/components/layout/AppLayout.tsx:10
FunctionBackendOfflineOverlay
()
frontend/src/components/auth/BackendOfflineOverlay.tsx:14
FunctionContextMenu
({ isOpen, position, items, onAction, onClose, }: ContextMenuProps)
frontend/src/components/ui/ContextMenu.tsx:22
FunctionDnsSettingsPage
()
frontend/src/pages/DnsSettingsPage.tsx:24
FunctionEmptyState
()
frontend/src/components/layout/EmptyState.tsx:9
FunctionFileTree
({ files, selectedFile, onSelectFile, onFilesChange, isLoading = false, }: FileTreeProps)
frontend/src/components/file-tree/FileTree.tsx:34
FunctionFileTreeItem
({ node, depth, selectedPath, expandedFolders, renamingPath, renameValue, creatingIn, creating
frontend/src/components/file-tree/FileTreeItem.tsx:33
FunctionRedirectWithParams
()
frontend/src/App.tsx:14
FunctionRequestsPage
()
frontend/src/pages/RequestsPage.tsx:62
FunctionResponseEditorPage
()
frontend/src/pages/ResponseEditorPage.tsx:144
FunctionSidebar
({ onClose }: SidebarProps)
frontend/src/components/layout/Sidebar.tsx:22
FunctionThemeToggle
()
frontend/src/components/layout/ThemeToggle.tsx:5
FunctionToolbar
()
frontend/src/components/layout/Toolbar.tsx:11
FunctionTopbar
()
frontend/src/components/layout/Topbar.tsx:16
Functionacme_challenge_handler
Handler for ACME HTTP-01 challenges (IP certificate validation)
src/src/http/mod.rs:157
FunctionbeforeBreadcrumb
(breadcrumb)
frontend/src/main.tsx:48
FunctionbeforeSend
(event, hint)
frontend/src/main.tsx:57
Methodcall
(&mut self, mut req: axum::http::Request<ReqBody>)
src/src/http/mod.rs:297
← previousnext →101–200 of 362, ranked by callers