Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahtavarasmus/lightfriend
/ functions
Functions
2,907 in github.com/ahtavarasmus/lightfriend
⨍
Functions
2,907
◇
Types & classes
857
↓ 1 callers
Method
update_preferred_sms_provider
( &self, user_id: i32, provider: Option<String>, )
backend/src/repositories/user_core.rs:1243
↓ 1 callers
Method
update_profile
Update user's profile
backend/src/repositories/user_core.rs:1038
↓ 1 callers
Method
update_rule
( &self, user_id: i32, rule_id: i32, name: &str, trigger_type: &str,
backend/src/repositories/ontology_repository.rs:2419
↓ 1 callers
Method
update_rule_last_triggered
(&self, rule_id: i32)
backend/src/repositories/ontology_repository.rs:2487
↓ 1 callers
Method
update_system_important_notify
(&self, user_id: i32, value: bool)
backend/src/repositories/user_core.rs:878
↓ 1 callers
Method
update_tesla_access_token
( &self, user_id: i32, encrypted_access_token: String, encrypted_refresh_token
backend/src/repositories/user_repository.rs:1029
↓ 1 callers
Method
update_tesla_granted_scopes
Update the granted scopes for a user's Tesla connection
backend/src/repositories/user_repository.rs:1165
↓ 1 callers
Method
update_timezone
(&self, _user_id: i32, _tz: &str)
backend/src/test_utils.rs:1007
↓ 1 callers
Method
update_timezone_auto
(&self, user_id: i32, timezone_auto: bool)
backend/src/repositories/user_core.rs:831
↓ 1 callers
Method
update_user_coordinates
(&self, user_id: i32, lat: f32, lon: f32)
backend/src/repositories/user_core.rs:813
↓ 1 callers
Method
update_voice_provider
(&self, user_id: i32, provider: &str)
backend/src/repositories/user_core.rs:956
↓ 1 callers
Method
upload_media
(&self, mime_type: &str, data: Vec<u8>)
backend/src/api/matrix_client.rs:208
↓ 1 callers
Method
upsert
Insert or update the order for a country. `provider_order_json` must be a JSON array of channel id strings — the caller is responsible for validating
backend/src/repositories/provider_routes_repository.rs:31
↓ 1 callers
Method
upsert_sender_rule
Upsert a sender rule: deactivate any existing active rules for that (user, platform, sender_key), then insert the new one. Returns the new rule row.
backend/src/repositories/commitment_repository.rs:115
↓ 1 callers
Function
upsert_status_row
Insert a new `message_status_log` row, or update the existing one if `message_sid` already exists. Errors are logged, not returned: status webhooks mu
backend/src/handlers/telnyx_handlers.rs:321
↓ 1 callers
Function
upsert_status_row
Insert a new `message_status_log` row, or update the existing one if `message_sid` already exists. Errors are logged, not returned — status webhooks m
backend/src/handlers/sinch_handlers.rs:299
↓ 1 callers
Function
url_re
()
backend/src/utils/sms_sanitizer.rs:25
↓ 1 callers
Function
user_cell
Internal: get or create the per-user cell that serializes every Matrix lifecycle operation for that user. The cell always exists once looked up; its i
backend/src/utils/matrix_auth.rs:681
↓ 1 callers
Function
user_data_with_names
(names: Vec<&str>)
backend/tests/ontology_registry_test.rs:15
↓ 1 callers
Function
validate_env
()
backend/src/main.rs:101
↓ 1 callers
Function
verify_passkey_response
Verify passkey response for sensitive changes
backend/src/handlers/profile_handlers.rs:1182
↓ 1 callers
Function
verify_response_with_retries
( state: &Arc<AppState>, user_id: i32, model_purpose: ModelPurpose, tools: &[chat_completion::
backend/src/api/twilio_sms/finalize.rs:100
↓ 1 callers
Function
verify_totp_code
Verify TOTP code for sensitive changes
backend/src/handlers/profile_handlers.rs:1149
↓ 1 callers
Method
wait_for_member
Wait for a specific user to join a room
backend/src/test_utils/matrix_test_server.rs:359
↓ 1 callers
Method
wake_up
( &self, _access_token: &str, _vehicle_id: &str, )
backend/src/api/tesla_client.rs:540
↓ 1 callers
Function
whatsapp_mute_is_active
(mute_end_time: i64, now_secs: i64)
backend/src/repositories/whatsapp_bridge_repository.rs:489
↓ 1 callers
Function
whatsapp_room_muted
(state: &Arc<AppState>, matrix_user_id: &str, room_id: &str)
backend/src/utils/bridge.rs:199
↓ 1 callers
Method
with_configure_webhook_error
Configure the mock to return an error for configure_webhook calls.
backend/src/api/twilio_client.rs:825
↓ 1 callers
Method
with_delete_media_error
Configure the mock to return an error for delete_message_media calls.
backend/src/api/twilio_client.rs:813
↓ 1 callers
Method
with_delete_message_error
Configure the mock to return an error for delete_message calls.
backend/src/api/twilio_client.rs:807
↓ 1 callers
Method
with_failing_commands
(mut self)
backend/src/api/tesla_client.rs:306
↓ 1 callers
Method
with_fetch_price_error
Configure the mock to return an error for fetch_message_price calls.
backend/src/api/twilio_client.rs:819
↓ 1 callers
Method
with_history
Load conversation history (last 48h, capped at 200 messages). Implies `with_user_context()` since it pulls user_settings for tz.
backend/src/context.rs:200
↓ 1 callers
Method
with_messaging_pricing
Set messaging pricing for a specific country.
backend/src/api/twilio_client.rs:837
↓ 1 callers
Method
with_phone_numbers_available
Configure phone numbers availability for testing.
backend/src/api/twilio_client.rs:831
↓ 1 callers
Method
with_send_result
(self, result: Result<SendMessageResult, String>)
backend/src/api/twilio_client.rs:801
↓ 1 callers
Method
with_voice_pricing
Set voice pricing for a specific country.
backend/src/api/twilio_client.rs:850
↓ 1 callers
Method
with_wake_sequence
(self, responses: Vec<bool>)
backend/src/api/tesla_client.rs:293
↓ 1 callers
Function
xml_escape
Escape a string for safe inclusion in XML/TwiML.
backend/src/api/voice_pipeline.rs:463
Function
App
()
frontend/src/main.rs:473
Function
Billing
()
frontend/src/profile/profile.rs:12
Function
BillingPage
(props: &BillingPageProps)
frontend/src/profile/billing_credits.rs:88
Function
Home
()
frontend/src/pages/home.rs:23
Function
Login
()
frontend/src/auth/signup.rs:52
Function
PasswordReset
()
frontend/src/auth/signup.rs:797
Function
PasswordResetWithToken
(props: &PasswordResetWithTokenProps)
frontend/src/auth/signup.rs:830
Function
SecuritySettings
()
frontend/src/profile/security.rs:84
Function
SetPassword
(props: &SetPasswordProps)
frontend/src/auth/set_password.rs:40
Function
SettingsPage
(props: &SettingsPageProps)
frontend/src/profile/settings.rs:259
Function
TimezoneDetector
(props: &TimezoneDetectorProps)
frontend/src/profile/timezone_detector.rs:13
Function
accepts_bare_hour
()
backend/tests/digest_time_parser_test.rs:55
Function
accountability_defaults_to_off_for_new_users
()
backend/tests/event_lifecycle_test.rs:457
Function
accountability_settings_round_trip
()
backend/tests/event_lifecycle_test.rs:468
Function
acknowledge_alert
Acknowledge a single alert POST /api/admin/alerts/:id/acknowledge
backend/src/handlers/admin_handlers.rs:1322
Function
acknowledge_all_alerts
Acknowledge all alerts POST /api/admin/alerts/acknowledge-all
backend/src/handlers/admin_handlers.rs:1342
Function
active_or_trialing_subscriptions_can_apply
()
backend/stripe_webhook_logic/tests/upsert_status_test.rs:7
Function
active_usage_window_is_left_unchanged
()
backend/tests/usage_window_test.rs:4
Function
activity_feed
(props: &ActivityFeedProps)
frontend/src/dashboard/activity_feed.rs:201
Function
activity_feed_stream
GET /api/dashboard/activity-feed/stream SSE endpoint that pushes a refresh signal whenever new activity occurs for the user.
backend/src/handlers/dashboard_handlers.rs:1967
Function
add_person_channel
( State(state): State<Arc<AppState>>, auth_user: AuthUser, Path(person_id): Path<i32>, Json(re
backend/src/handlers/person_handlers.rs:270
Method
add_room
(&self, room: MockRoom)
backend/src/api/matrix_client.rs:544
Function
add_to_waitlist
Add email to waitlist POST /api/waitlist
backend/src/handlers/auth_handlers.rs:987
Function
admin_dashboard
()
frontend/src/admin/dashboard.rs:435
Function
alerts_digest
Digest of the last N hours of admin_alerts and failed SMS, grouped by type. Used by the daily digest GitHub Action to produce a single rollup email in
backend/src/handlers/health_handlers.rs:222
Function
all_providers_failing_returns_last_error
()
backend/tests/channels_router_test.rs:558
Function
animation_component
()
frontend/src/components/notification.rs:5
Function
any_connected_false_on_logged_out_entry
()
backend/tests/bridge_responses_test.rs:121
Function
any_connected_false_on_missing_backticks_around_status
()
backend/tests/bridge_responses_test.rs:126
Function
any_connected_true_on_connected_entry
()
backend/tests/bridge_responses_test.rs:114
Function
any_other_active_subscription_preserves_state
()
backend/tests/stripe_webhook_state_test.rs:27
Function
apply_api_rate_limit
( State(state): State<Arc<AppState>>, request: Request<Body>, next: Next, )
backend/src/handlers/auth_middleware.rs:145
Method
apply_model_specific_request_overrides
Apply model-specific request overrides for providers that expose extra controls.
backend/src/ai_config.rs:467
Method
as_str
(self)
backend/stripe_webhook_logic/src/lib.rs:8
Method
assemble_sse_response
Assemble a ChatCompletionResponse from SSE text (streaming chunks). Parses "data: {...}" lines, accumulates content/tool_calls deltas, and builds a co
backend/src/ai_config.rs:690
Method
assistant
(content: &str)
backend/src/api/tinfoil_client.rs:30
Method
assistant_with_tool_calls
(content: &str, tool_calls: Vec<ToolCallInfo>)
backend/src/api/tinfoil_client.rs:38
Function
attestation_base_url
()
backend/src/handlers/attestation_handlers.rs:31
Function
attestation_hex
(Query(query): Query<AttestationQuery>)
backend/src/handlers/attestation_handlers.rs:104
Function
attestation_metadata
()
backend/src/handlers/attestation_handlers.rs:129
Function
attestation_raw
(Query(query): Query<AttestationQuery>)
backend/src/handlers/attestation_handlers.rs:79
Method
australia_user
Create params for an Australia user
backend/src/test_utils.rs:581
Function
auth_accepts_correct_bearer
()
backend/tests/sinch_handlers_test.rs:240
Function
auth_accepts_lowercase_bearer_prefix
()
backend/tests/sinch_handlers_test.rs:261
Function
auth_accepts_valid_signature
()
backend/tests/telnyx_handlers_test.rs:379
Function
auth_rejects_invalid_base64_public_key
()
backend/tests/telnyx_handlers_test.rs:299
Function
auth_rejects_missing_header
()
backend/tests/sinch_handlers_test.rs:178
Function
auth_rejects_missing_signature_header
()
backend/tests/telnyx_handlers_test.rs:255
Function
auth_rejects_missing_timestamp_header
()
backend/tests/telnyx_handlers_test.rs:277
Function
auth_rejects_non_bearer_scheme
()
backend/tests/sinch_handlers_test.rs:219
Function
auth_rejects_signature_from_wrong_key
()
backend/tests/telnyx_handlers_test.rs:321
Function
auth_rejects_tampered_body
()
backend/tests/telnyx_handlers_test.rs:349
Function
auth_rejects_when_public_key_empty
()
backend/tests/telnyx_handlers_test.rs:233
Function
auth_rejects_when_public_key_unset
()
backend/tests/telnyx_handlers_test.rs:213
Function
auth_rejects_when_secret_empty
()
backend/tests/sinch_handlers_test.rs:157
Function
auth_rejects_when_secret_unset
()
backend/tests/sinch_handlers_test.rs:138
Function
auth_rejects_wrong_bearer
()
backend/tests/sinch_handlers_test.rs:198
Function
auth_status
( auth_user: AuthUser, )
backend/src/handlers/auth_handlers.rs:752
Function
authenticate_finish
POST /api/webauthn/authenticate/finish - Complete authentication (for Tesla unlock)
backend/src/handlers/webauthn_handlers.rs:430
Function
authenticate_start
POST /api/webauthn/authenticate/start - Start authentication (for Tesla unlock)
backend/src/handlers/webauthn_handlers.rs:347
Function
auto_detect_sources
(prompt: &str, available: &[RuleSourceOption])
frontend/src/dashboard/rule_builder.rs:6713
← previous
next →
1,301–1,400 of 2,907, ranked by callers