MCPcopy Create free account

hub / github.com/AppFlowy-IO/AppFlowy-Cloud / functions

Functions3,042 in github.com/AppFlowy-IO/AppFlowy-Cloud

↓ 1 callersFunctionget_session_from_store
( cookie_jar: &CookieJar, session_store: &SessionStorage, gotrue_client: &gotrue::api::Client, )
admin_frontend/src/session.rs:173
↓ 1 callersMethodget_snapshot
( &self, workspace_id: WorkspaceId, object_id: ObjectId, collab_type: CollabType, )
services/appflowy-collaborate/src/collab/collab_manager.rs:119
↓ 1 callersFunctionget_snapshot_collab
(collab: &Collab, snapshot: &Snapshot, object_id: &str)
tests/collab_history/document_history.rs:105
↓ 1 callersFunctionget_snapshot_meta_list
Retrieves a list of snapshot metadata from the `af_snapshot_meta` table sorted by the `created_at` timestamp in descending order. # Parameters - `oid
libs/database/src/history/ops.rs:97
↓ 1 callersFunctionget_template_categories
( pg_pool: &PgPool, name_contains: Option<&str>, category_type: Option<TemplateCategoryType>, )
src/biz/template/ops.rs:72
↓ 1 callersFunctionget_template_category
( pg_pool: &PgPool, category_id: Uuid, )
src/biz/template/ops.rs:81
↓ 1 callersFunctionget_template_creator
( pg_pool: &PgPool, creator_id: Uuid, )
src/biz/template/ops.rs:139
↓ 1 callersFunctionget_template_creators
( pg_pool: &PgPool, keyword: &Option<String>, )
src/biz/template/ops.rs:130
↓ 1 callersMethodget_template_creators
( &self, name_contains: Option<&str>, )
libs/client-api/src/http_template.rs:140
↓ 1 callersFunctionget_template_homepage
( pg_pool: &PgPool, per_count: Option<i64>, )
src/biz/template/ops.rs:299
↓ 1 callersFunctionget_template_with_publish_info
( pg_pool: &PgPool, view_id: Uuid, )
src/biz/template/ops.rs:279
↓ 1 callersFunctionget_templates_with_publish_info
( pg_pool: &PgPool, category_id: Option<Uuid>, is_featured: Option<bool>, is_new_template: Option<bool
src/biz/template/ops.rs:237
↓ 1 callersFunctionget_un_ack_tasks
( stream_key: &str, group_name: &str, consumer_name: &str, redis_client: &mut ConnectionManager, )
services/appflowy-worker/src/import_worker/worker.rs:1427
↓ 1 callersMethodget_user_awareness
(&self)
libs/client-api-test/src/test_client.rs:387
↓ 1 callersMethodget_user_by_device
(&self, user_device: &UserDevice)
services/appflowy-collaborate/src/rt_server.rs:345
↓ 1 callersFunctionget_user_favorite_folder_views
( collab_instance_cache: &impl WorkspaceCollabInstanceCache, pg_pool: &PgPool, uid: i64, workspace_id:
src/biz/collab/ops.rs:86
↓ 1 callersMethodget_user_folder
(&self)
libs/client-api-test/src/test_client.rs:324
↓ 1 callersMethodget_user_profile
(&self)
libs/client-api-test/src/test_client.rs:588
↓ 1 callersMethodget_user_profile
Gets the full user profile
libs/client-api-test/src/test_client_v2.rs:647
↓ 1 callersFunctionget_user_recent_folder_views
( collab_instance_cache: &impl WorkspaceCollabInstanceCache, pg_pool: &PgPool, uid: i64, workspace_id:
src/biz/collab/ops.rs:116
↓ 1 callersFunctionget_user_trash_folder_views
( collab_instance_cache: &impl WorkspaceCollabInstanceCache, uid: i64, workspace_id: Uuid, )
src/biz/collab/ops.rs:146
↓ 1 callersFunctionget_user_workspace_blob_usage
( workspace_id: &str, access_token: &str, appflowy_cloud_gateway_base_url: &str, )
admin_frontend/src/ext/api.rs:147
↓ 1 callersFunctionget_user_workspace_doc_usage
( workspace_id: &str, access_token: &str, appflowy_cloud_base_url: &str, )
admin_frontend/src/ext/api.rs:165
↓ 1 callersFunctionget_user_workspace_info
( pg_pool: &PgPool, uuid: &Uuid, )
src/biz/user/user_info.rs:26
↓ 1 callersFunctionget_user_workspace_limit
( access_token: &str, appflowy_cloud_base_url: &str, )
admin_frontend/src/ext/api.rs:41
↓ 1 callersFunctionget_user_workspace_structure
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, depth: u32, root_view_id: &Uuid, )
src/biz/collab/ops.rs:252
↓ 1 callersFunctionget_user_workspace_usages
( access_token: &str, appflowy_cloud_base_url: &str, )
admin_frontend/src/ext/api.rs:55
↓ 1 callersFunctionget_view_and_children_recursive
( folder: &Folder, private_space_and_trash_views: &PrivateSpaceAndTrashViews, view_id: &str, uid: i64,
src/biz/collab/folder_view.rs:358
↓ 1 callersFunctionget_worker_mailer
(config: &Config)
services/appflowy-worker/src/application.rs:169
↓ 1 callersMethodget_workspace
Gets a workspace by ID
libs/client-api-test/src/workspace_ops.rs:120
↓ 1 callersMethodget_workspace_database
(&self, workspace_id: Uuid)
libs/client-api-test/src/test_client.rs:245
↓ 1 callersMethodget_workspace_database_collab
(&self, workspace_id: Uuid)
libs/client-api-test/src/test_client_v2.rs:384
↓ 1 callersMethodget_workspace_db_path
Gets the database path for a workspace
libs/client-api-test/src/workspace_ops.rs:71
↓ 1 callersFunctionget_workspace_default_publish_view_info
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/publish.rs:134
↓ 1 callersFunctionget_workspace_default_publish_view_info_meta
( pg_pool: &PgPool, namespace: &str, )
src/biz/workspace/publish.rs:151
↓ 1 callersFunctionget_workspace_document_total_bytes
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/ops.rs:628
↓ 1 callersMethodget_workspace_invitation_code
( &self, workspace_id: &Uuid, )
libs/client-api/src/http.rs:888
↓ 1 callersFunctionget_workspace_invitations_for_user
( pg_pool: &PgPool, user_uuid: &Uuid, invite_id: &Uuid, )
src/biz/workspace/ops.rs:479
↓ 1 callersMethodget_workspace_member
(&self, workspace_id: Uuid, user_id: i64)
libs/client-api-test/src/test_client.rs:493
↓ 1 callersMethodget_workspace_member
(&self, workspace_id: Uuid, user_id: i64)
libs/client-api-test/src/test_client_v2.rs:536
↓ 1 callersFunctionget_workspace_member_by_uuid
( member_uuid: Uuid, pg_pool: &PgPool, workspace_id: Uuid, )
src/biz/workspace/ops.rs:603
↓ 1 callersMethodget_workspace_members
(&self, workspace_id: &Uuid)
libs/client-api-test/src/test_client.rs:478
↓ 1 callersMethodget_workspace_members
(&self, workspace_id: &Uuid)
libs/client-api-test/src/test_client_v2.rs:521
↓ 1 callersFunctionget_workspace_members_exclude_guest
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/ops.rs:569
↓ 1 callersFunctionget_workspace_owner
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/ops.rs:596
↓ 1 callersFunctionget_workspace_publish_namespace
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/publish.rs:178
↓ 1 callersMethodget_workspace_recent
( &self, workspace_id: &Uuid, )
libs/client-api/src/http.rs:811
↓ 1 callersFunctionget_workspace_settings
( pg_pool: &PgPool, workspace_id: &Uuid, )
src/biz/workspace/ops.rs:638
↓ 1 callersMethodget_workspace_updates
( &self, workspace_id: &Uuid, object_id: Option<&Uuid>, from: Option<Rid>, to: Option<Rid>
services/appflowy-collaborate/src/collab/cache/collab_cache.rs:376
↓ 1 callersFunctionget_workspace_usage_size
(pool: &PgPool, workspace_id: &Uuid)
libs/database/src/resource_usage.rs:205
↓ 1 callersFunctionget_zip_reader
Asynchronously returns a `ZipFileReader` that can read from a stream or a downloaded file, based on the environment setting. This function checks whe
services/appflowy-worker/src/import_worker/worker.rs:817
↓ 1 callersFunctiongotrue_jwt_claims_from_token
( token: &str, jwt_secret: &Data<Secret<String>>, )
src/biz/authentication/jwt.rs:166
↓ 1 callersMethodhandle
(&mut self, msg: Join, ctx: &mut Self::Context)
services/appflowy-collaborate/src/ws2/actors/server.rs:60
↓ 1 callersMethodhandle_auth
( &self, _collab: &CollabRef, deny_reason: Option<String>, )
libs/collab-rt-protocol/src/protocol.rs:184
↓ 1 callersMethodhandle_awareness_update
Reply to awareness query or just incoming [AwarenessUpdate], where current `awareness` instance is being updated with incoming data.
libs/collab-rt-protocol/src/protocol.rs:198
↓ 1 callersMethodhandle_binary
(&mut self, ctx: &mut WebsocketContext<RealtimeClient<S>>, bytes: Bytes)
services/appflowy-collaborate/src/actix_ws/client/rt_client.rs:118
↓ 1 callersMethodhandle_client_collab_message
( &self, user: RealtimeUser, object_id: Uuid, messages: Vec<ClientCollabMessage>, )
services/appflowy-collaborate/src/group/cmd.rs:148
↓ 1 callersMethodhandle_client_generate_embedding_request
( &self, message: ClientGenerateEmbeddingMessage, )
services/appflowy-collaborate/src/rt_server.rs:319
↓ 1 callersMethodhandle_client_http_update
( &self, message: ClientHttpUpdateMessage, )
services/appflowy-collaborate/src/rt_server.rs:182
↓ 1 callersMethodhandle_client_posted_http_update
( &self, user: RealtimeUser, workspace_id: Uuid, object_id: Uuid, collab_type: collab_enti
services/appflowy-collaborate/src/group/cmd.rs:217
↓ 1 callersMethodhandle_close
( &mut self, ctx: &mut WebsocketContext<RealtimeClient<S>>, reason: Option<CloseReason>, )
services/appflowy-collaborate/src/actix_ws/client/rt_client.rs:178
↓ 1 callersMethodhandle_custom_message
( &self, _collab: &CollabRef, _msg: CustomMessage, )
libs/collab-rt-protocol/src/protocol.rs:210
↓ 1 callersMethodhandle_disconnect
Handles a user's disconnection from the collaboration server. Steps: 1. Checks if the disconnecting user's session matches the stored session. - If y
services/appflowy-collaborate/src/rt_server.rs:118
↓ 1 callersMethodhandle_disconnect
(&self)
libs/client-api/src/v2/actor.rs:1029
↓ 1 callersMethodhandle_message
Handles incoming messages from the client/server
libs/collab-rt-protocol/src/protocol.rs:81
↓ 1 callersMethodhandle_new_connection
Handles a new user connection, replacing any existing connection for the same user. - Creates a new client stream for the connected user. - Replaces
services/appflowy-collaborate/src/rt_server.rs:90
↓ 1 callersMethodhandle_ping
(&mut self, ctx: &mut WebsocketContext<RealtimeClient<S>>, msg: &Bytes)
services/appflowy-collaborate/src/actix_ws/client/rt_client.rs:173
↓ 1 callersMethodhandle_send
(&self, msg: ClientMessage, source: ActionSource)
libs/client-api/src/v2/actor.rs:367
↓ 1 callersMethodhandle_sync_step1
Given a [StateVector] of a remote side, calculate missing updates. Returns a sync-step-2 message containing a calculated update.
libs/collab-rt-protocol/src/protocol.rs:145
↓ 1 callersMethodhandle_update
Handle continuous update send from the client. By default just apply an update to a current `awareness` document instance.
libs/collab-rt-protocol/src/protocol.rs:175
↓ 1 callersFunctionhas_expired
(access_token: &str)
admin_frontend/src/session.rs:222
↓ 1 callersMethodhas_provider
(&self, p: &AuthProvider)
libs/gotrue-entity/src/dto.rs:116
↓ 1 callersMethodhb
(&self, ctx: &mut ws::WebsocketContext<Self>)
services/appflowy-collaborate/src/ws2/actors/session.rs:87
↓ 1 callersMethodhb
(&self, ctx: &mut ws::WebsocketContext<Self>)
services/appflowy-collaborate/src/actix_ws/client/rt_client.rs:79
↓ 1 callersFunctionheader_map_to_query_string
(headers: &HeaderMap)
libs/client-websocket/src/web.rs:253
↓ 1 callersMethodhealth_check
(&self)
libs/appflowy-ai-client/src/client.rs:36
↓ 1 callersFunctionhtmx_trigger
(trigger: &str)
admin_frontend/src/web_api.rs:577
↓ 1 callersMethodincr_apply_update_failure_count
(&self, count: i64)
src/api/metrics.rs:285
↓ 1 callersMethodincr_apply_update_timeout_count
(&self, count: i64)
src/api/metrics.rs:289
↓ 1 callersMethodincr_fallback_write_count
(&self, count: i64)
src/api/metrics.rs:211
↓ 1 callersMethodincr_import_fail_count
(&self, count: i64)
services/appflowy-worker/src/metric.rs:50
↓ 1 callersMethodincr_import_success_count
(&self, count: i64)
services/appflowy-worker/src/metric.rs:46
↓ 1 callersMethodindex_collab_content
(&self, paragraphs: Vec<String>)
services/appflowy-collaborate/src/group/group_init.rs:1239
↓ 1 callersMethodindex_collab_immediately
( &self, workspace_id: Uuid, object_id: Uuid, collab: &Collab, collab_type: CollabType,
libs/indexer/src/scheduler.rs:226
↓ 1 callersMethodinit
()
src/api/metrics.rs:69
↓ 1 callersMethodinit
()
libs/access-control/src/metrics.rs:22
↓ 1 callersMethodinit_collab
( &self, object_id: &ObjectId, collab: &Collab, collab_type: &CollabType, )
libs/client-api/src/v2/db.rs:71
↓ 1 callersFunctioninit_state
(config: &Config)
src/application.rs:185
↓ 1 callersFunctioninit_subscriber
(app_env: &Environment)
services/appflowy-worker/src/application.rs:50
↓ 1 callersFunctioninit_subscriber
Register a subscriber as global default to process span data. It should only be called once!
src/telemetry.rs:10
↓ 1 callersFunctioninner
(msg: Result<Message>)
libs/client-websocket/src/native.rs:82
↓ 1 callersMethodinner_refresh_token
(&self)
libs/client-api/src/http.rs:1089
↓ 1 callersFunctioninsert_auth_user
(pool: &PgPool, user_uuid: Uuid)
tests/sql_test/util.rs:40
↓ 1 callersFunctioninsert_blob_metadata_bulk
( executor: E, workspace_id: &Uuid, metadata: Vec<BulkInsertMeta>, )
libs/database/src/resource_usage.rs:75
↓ 1 callersFunctioninsert_comment_to_published_view
( executor: E, view_id: &Uuid, user_uuid: &Uuid, content: &str, reply_comment_id: &Option<Uuid>, )
libs/database/src/workspace.rs:1321
↓ 1 callersMethodinsert_encode_collab
( &self, object_id: &Uuid, encoded_collab: EncodedCollab, mills_secs: MillisSeconds, expir
services/appflowy-collaborate/src/collab/cache/mem_cache.rs:285
↓ 1 callersMethodinsert_encode_collab_to_disk
( &self, workspace_id: &Uuid, uid: &i64, params: CollabParams, )
services/appflowy-collaborate/src/collab/cache/collab_cache.rs:649
↓ 1 callersMethodinsert_group
(&self, object_id: Uuid, group: CollabGroup)
services/appflowy-collaborate/src/group/state.rs:111
↓ 1 callersFunctioninsert_history
( workspace_id: &Uuid, oid: &Uuid, doc_state: Vec<u8>, doc_state_version: i32, deps_snapshot_id: Opt
libs/database/src/history/ops.rs:12
↓ 1 callersFunctioninsert_import_task
( uid: i64, task_id: Uuid, file_size: i64, workspace_id: String, created_by: i64, metadata: Option
libs/database/src/workspace.rs:1602
← previousnext →1,101–1,200 of 3,042, ranked by callers