MCPcopy Create free account

hub / github.com/Dominux/Pentaract / functions

Functions223 in github.com/Dominux/Pentaract

↓ 21 callersFunctionmap_not_found
(e: sqlx::Error, entity_name: &str)
pentaract/src/common/db/errors.rs:4
↓ 17 callersMethodget
(&self, id: Uuid, user: &AuthUser)
pentaract/src/services/storages.rs:65
↓ 14 callersFunctionapiRequest
( path, method, auth_token, body, return_response = false )
ui/src/api/request.js:18
↓ 14 callersFunctioncheck_access
( repo: &AccessRepository<'d>, user_id: Uuid, storage_id: Uuid, access_type: &AccessType, )
pentaract/src/common/access.rs:9
↓ 14 callersFunctiongetAuthToken
()
ui/src/api/index.js:341
↓ 11 callersFunctionaddAlert
(msg, severity)
ui/src/components/AlertStack.jsx:27
↓ 7 callersFunctionget
(_, key)
ui/libs/index.js:29
↓ 6 callersFunctioncreateLocalStore
* Create a new storage primitive that can retain any data type * with an interface compatible with the Web Storage API. * * @param prefix - Prefix
ui/libs/index.js:22
↓ 6 callersFunctionopen
()
ui/src/components/Menu.jsx:20
↓ 5 callersFunctionfetchFSLayer
(path = params.path)
ui/src/pages/Files/index.jsx:71
↓ 3 callersMethodbuild_url
(&self, pre: &str, relative: &str, token: String)
pentaract/src/common/telegram_api/bot_api.rs:92
↓ 3 callersFunctionget_pool
(dsn: &str, max_connection: u32, timeout: Duration)
pentaract/src/common/db/pool.rs:5
↓ 3 callersMethodget_token
https://www.db-fiddle.com/f/fHcCh7bRtVSxyDfPvPyDre/11
pentaract/src/repositories/storage_workers.rs:97
↓ 3 callersMethodrun
(self, addr: &SocketAddr)
pentaract/src/server.rs:54
↓ 2 callersMethod_create_file
(&self, in_obj: InFile, is_uploaded: bool)
pentaract/src/repositories/files.rs:32
↓ 2 callersMethod_upload
(&self, file: File, file_data: Bytes, user: &AuthUser)
pentaract/src/services/files.rs:130
↓ 2 callersFunctionapiMultipartRequest
(path, auth_token, form)
ui/src/api/request.js:67
↓ 2 callersFunctionconvertSize
(size)
ui/src/common/size_converter.js:8
↓ 2 callersMethodcreate_or_update
( &self, storage_id: Uuid, grant_access: GrantAccess, )
pentaract/src/repositories/access.rs:20
↓ 2 callersMethoddelete
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:81
↓ 2 callersMethoddelete_storage
(&self, storage_id: Uuid)
pentaract/src/repositories/storages.rs:109
↓ 2 callersMethodget
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:72
↓ 2 callersMethodget_by_name_and_user_id
( &self, name: &str, user_id: Uuid, )
pentaract/src/repositories/storages.rs:76
↓ 2 callersMethodlist_by_user_id
(&self, user_id: Uuid)
pentaract/src/repositories/storages.rs:48
↓ 2 callersMethodlogin
( &self, login_data: LoginSchema, config: &Config, )
pentaract/src/services/auth.rs:26
↓ 2 callersFunctionmakeAccessTypeUserFriendly
(at)
ui/src/components/AccessTypeChip.jsx:7
↓ 2 callersMethodstorage_has_any
(&self, storage_id: Uuid)
pentaract/src/repositories/storage_workers.rs:59
↓ 1 callersFunctionauthenticate
(headers: &HeaderMap<HeaderValue>, secret_key: &str)
pentaract/src/common/routing/middlewares/auth.rs:34
↓ 1 callersFunctioncloseActionConfirmDialog
()
ui/src/components/FSListItem.jsx:73
↓ 1 callersMethodcreate
(&self, in_user: InUser)
pentaract/src/services/users.rs:18
↓ 1 callersMethodcreate
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Json(in_sc
pentaract/src/routers/storages.rs:50
↓ 1 callersMethodcreate_chunks_batch
(&self, chunks: Vec<FileChunk>)
pentaract/src/repositories/files.rs:170
↓ 1 callersFunctioncreate_db
(dsn: &str, dbname: &str, max_connection: u32, timeout: Duration)
pentaract/src/startup.rs:14
↓ 1 callersMethodcreate_file
(&self, in_obj: InFile)
pentaract/src/repositories/files.rs:24
↓ 1 callersMethodcreate_file_anyway
Creates a file even if the given path already exists
pentaract/src/repositories/files.rs:69
↓ 1 callersFunctioncreate_superuser
(db: &PgPool, config: &Config)
pentaract/src/startup.rs:177
↓ 1 callersMethoddelete
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:236
↓ 1 callersMethoddelete_access
(&self, user_id: Uuid, storage_id: Uuid)
pentaract/src/repositories/access.rs:120
↓ 1 callersMethoddelete_with_folders
(&self, id: Uuid)
pentaract/src/repositories/files.rs:336
↓ 1 callersFunctiondownload
(storage_id, path)
ui/src/api/index.js:281
↓ 1 callersMethoddownload
(&self, data: DownloadFileData)
pentaract/src/storage_manager.rs:54
↓ 1 callersMethoddownload
(&self, data: DownloadFileData)
pentaract/src/services/storage_manager.rs:97
↓ 1 callersMethoddownload
( &self, path: &str, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/files.rs:183
↓ 1 callersMethoddownload_chunk
( &self, storage_id: Uuid, chunk: FileChunk, )
pentaract/src/services/storage_manager.rs:117
↓ 1 callersFunctionfetchStorage
()
ui/src/pages/Files/index.jsx:66
↓ 1 callersMethodget_by_email
(&self, email: &str)
pentaract/src/repositories/users.rs:45
↓ 1 callersMethodget_by_file_id
(&self, file_id: Uuid)
pentaract/src/repositories/storages.rs:99
↓ 1 callersMethodget_by_id
(&self, id: Uuid)
pentaract/src/repositories/storages.rs:68
↓ 1 callersMethodget_file_by_path
(&self, path: &str, storage_id: Uuid)
pentaract/src/repositories/files.rs:281
↓ 1 callersFunctionhandleCloseMore
()
ui/src/components/FSListItem.jsx:43
↓ 1 callersMethodhandle_msg
(&self, msg: ClientMessage)
pentaract/src/storage_manager.rs:32
↓ 1 callersMethodhas_access
( &self, user_id: Uuid, storage_id: Uuid, access_type: &AccessType, )
pentaract/src/repositories/access.rs:89
↓ 1 callersMethodhas_storage_workers
( &self, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/storage_workers.rs:55
↓ 1 callersFunctioninit_db
(db: &PgPool)
pentaract/src/startup.rs:43
↓ 1 callersMethodlist_chunks_of_file
(&self, file_id: Uuid)
pentaract/src/repositories/files.rs:292
↓ 1 callersMethodlist_dir
NOTE: `prefix` must be without leading and trailing slashes
pentaract/src/repositories/files.rs:192
↓ 1 callersFunctionnavigateToFiles
()
ui/src/pages/Files/UploadFileTo.jsx:18
↓ 1 callersFunctiononClose
()
ui/src/components/CreateFolderDialog.jsx:52
↓ 1 callersFunctiononDeleteButtonClicked
(email)
ui/src/components/Access.jsx:55
↓ 1 callersFunctiononEditButtonClicked
(email)
ui/src/components/Access.jsx:45
↓ 1 callersFunctionopenMore
()
ui/src/components/FSListItem.jsx:41
↓ 1 callersMethodregister
( State(state): State<Arc<AppState>>, Json(in_user): Json<InUser>, )
pentaract/src/routers/users.rs:19
↓ 1 callersMethodset_as_uploaded
(&self, file_id: Uuid)
pentaract/src/repositories/files.rs:300
↓ 1 callersMethodupdate_path
( &self, old_path: &str, new_path: &str, storage_id: Uuid, )
pentaract/src/repositories/files.rs:309
↓ 1 callersMethodupload
(&self, data: UploadFileData)
pentaract/src/storage_manager.rs:42
↓ 1 callersMethodupload
(&self, data: UploadFileData)
pentaract/src/services/storage_manager.rs:43
↓ 1 callersMethodupload_anyway
( &self, in_file: InFile, file_data: Bytes, user: &AuthUser, )
pentaract/src/services/files.rs:106
↓ 1 callersMethodupload_chunk
( &self, storage_id: Uuid, chat_id: ChatId, file_id: Uuid, position: u
pentaract/src/services/storage_manager.rs:73
FunctionAccess
(props)
ui/src/components/Access.jsx:34
FunctionAccessTypeChip
(props)
ui/src/components/AccessTypeChip.jsx:50
FunctionActionConfirmDialog
(props)
ui/src/components/ActionConfirmDialog.jsx:22
FunctionAlertStack
()
ui/src/components/AlertStack.jsx:36
FunctionApp
()
ui/src/App.jsx:27
FunctionAppIcon
()
ui/src/components/AppIcon.jsx:3
FunctionBasicLayout
()
ui/src/layouts/Basic.jsx:12
FunctionCreateFolderDialog
(props)
ui/src/components/CreateFolderDialog.jsx:21
FunctionFSListItem
(props)
ui/src/components/FSListItem.jsx:33
FunctionFileInfoDialog
(props)
ui/src/components/FileInfo.jsx:21
FunctionFiles
()
ui/src/pages/Files/index.jsx:28
FunctionGrantAccess
(props)
ui/src/components/GrantAccess.jsx:29
FunctionHeader
()
ui/src/components/Header.jsx:12
FunctionLogin
()
ui/src/pages/Login.jsx:14
FunctionMenu
(props)
ui/src/components/Menu.jsx:17
FunctionNotFound
()
ui/src/pages/404.jsx:4
FunctionRegister
()
ui/src/pages/Register.jsx:15
FunctionSideBar
()
ui/src/components/SideBar.jsx:17
FunctionSideBarItem
(props)
ui/src/components/SideBarItem.jsx:20
FunctionStorageCreateForm
()
ui/src/pages/Storages/StorageCreateForm.jsx:16
FunctionStorageWorkerCreateForm
()
ui/src/pages/StorageWorkers/StorageWorkerCreateForm.jsx:20
FunctionStorageWorkers
()
ui/src/pages/StorageWorkers/index.jsx:17
FunctionStorages
()
ui/src/pages/Storages/index.jsx:18
FunctionUploadFileTo
()
ui/src/pages/Files/UploadFileTo.jsx:13
Methodbuild_api_router
(workers: usize, app_state: Arc<AppState>)
pentaract/src/server.rs:36
Methodbuild_server
(workers: usize, app_state: Arc<AppState>)
pentaract/src/server.rs:23
FunctioncheckAuth
()
ui/src/common/auth_guard.js:4
Methodcheck_storage_workers
(&self, storage_id: Uuid)
pentaract/src/services/files.rs:171
FunctioncloseCreateFolderDialog
()
ui/src/pages/Files/index.jsx:115
Methodconstruct_path
(path: &str, filename: &str)
pentaract/src/routers/files.rs:178
Methodcreate
( &self, in_schema: InStorageSchema, user: &AuthUser, )
pentaract/src/services/storages.rs:30
Methodcreate
( &self, in_schema: InStorageWorkerSchema, user: &AuthUser, )
pentaract/src/services/storage_workers.rs:27
next →1–100 of 223, ranked by callers