MCPcopy Create free account

hub / github.com/Dominux/Pentaract / functions

Functions223 in github.com/Dominux/Pentaract

Methodcreate
(&self, in_obj: InDBUser)
pentaract/src/repositories/users.rs:17
Methodcreate
(&self, in_obj: InStorage)
pentaract/src/repositories/storages.rs:20
Methodcreate
(&self, in_obj: InStorageWorker)
pentaract/src/repositories/storage_workers.rs:20
Methodcreate
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Json(in_sc
pentaract/src/routers/storage_workers.rs:37
FunctioncreateFolder
(folderName)
ui/src/pages/Files/index.jsx:123
FunctioncreateFolder
(storage_id, path, folderName)
ui/src/api/index.js:206
FunctioncreateStorage
(name, chat_id)
ui/src/api/index.js:59
FunctioncreateStorageWorker
(name, token, storage_id)
ui/src/api/index.js:179
Methodcreate_folder
( &self, in_schema: InFolderSchema, user: &AuthUser, )
pentaract/src/services/files.rs:46
Methodcreate_folder
(&self, in_obj: InFile)
pentaract/src/repositories/files.rs:28
Methodcreate_folder
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:163
Methoddelete
( &self, path: &str, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/files.rs:267
Methoddelete
(&self, id: Uuid, user: &AuthUser)
pentaract/src/services/storages.rs:71
Methoddelete
(&self, path: &str, storage_id: Uuid)
pentaract/src/repositories/files.rs:345
FunctiondeleteFile
()
ui/src/components/FSListItem.jsx:77
FunctiondeleteFile
(storage_id, path)
ui/src/api/index.js:298
Functiondownload
()
ui/src/components/FSListItem.jsx:53
Methoddownload
( &self, telegram_file_id: &str, storage_id: Uuid, )
pentaract/src/common/telegram_api/bot_api.rs:61
Methoddownload
( state: Arc<AppState>, user: AuthUser, storage_id: Uuid, path: &str, )
pentaract/src/routers/files.rs:186
Methoddynamic_get
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:46
FunctionfetchUsersWithAccess
()
ui/src/pages/Files/index.jsx:54
Methodfrom
(e: PentaractError)
pentaract/src/errors.rs:49
Methodgenerate
(password: &str)
pentaract/src/common/password_manager.rs:8
Methodgenerate
(user: AuthUser, expire_in: Duration, secret_key: &str)
pentaract/src/common/jwt_manager.rs:34
FunctiongetAction
()
ui/src/components/GrantAccess.jsx:32
FunctiongetFSLayer
(storage_id, path)
ui/src/api/index.js:267
FunctiongetStorage
(id)
ui/src/api/index.js:97
Methodget_by_name_and_user_id
( &self, name: &str, user_id: Uuid, )
pentaract/src/repositories/storage_workers.rs:81
Methodget_env_var
(env_var: &str)
pentaract/src/config.rs:64
Methodget_env_var_with_default
(env_var: &str, default: T)
pentaract/src/config.rs:72
Methodget_router
(state: Arc<AppState>)
pentaract/src/routers/users.rs:13
Methodget_router
(state: Arc<AppState>)
pentaract/src/routers/files.rs:32
Methodget_router
(state: Arc<AppState>)
pentaract/src/routers/storages.rs:31
Methodget_router
(state: Arc<AppState>)
pentaract/src/routers/auth.rs:15
Methodget_router
(state: Arc<AppState>)
pentaract/src/routers/storage_workers.rs:26
Methodget_token
(&self, storage_id: Uuid)
pentaract/src/services/storage_workers_scheduler.rs:21
FunctiongrantAccess
(storageID, email, accessType)
ui/src/api/index.js:123
Methodgrant_access
( &self, id: Uuid, in_schema: GrantAccess, user: &AuthUser, )
pentaract/src/services/storages.rs:77
Methodgrant_access
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:90
FunctionhandleClose
()
ui/src/components/Menu.jsx:21
FunctionhandleNavigate
()
ui/src/components/FSListItem.jsx:47
FunctionhandleSubmit
(event)
ui/src/pages/Register.jsx:30
FunctionhandleSubmit
(event)
ui/src/pages/Login.jsx:28
FunctionhandleSubmit
(event)
ui/src/pages/Storages/StorageCreateForm.jsx:25
FunctionhandleSubmit
(event)
ui/src/pages/Files/UploadFileTo.jsx:26
FunctionhandleSubmit
(event)
ui/src/pages/StorageWorkers/StorageWorkerCreateForm.jsx:37
Methodhas_storages_workers
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, query: Que
pentaract/src/routers/storage_workers.rs:56
Methodlist
(&self, user: &AuthUser)
pentaract/src/services/storages.rs:61
Methodlist
(&self, user: &AuthUser)
pentaract/src/services/storage_workers.rs:51
Methodlist
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, )
pentaract/src/routers/storages.rs:61
Methodlist
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, )
pentaract/src/routers/storage_workers.rs:48
FunctionlistStorageWorkers
()
ui/src/api/index.js:191
FunctionlistStorages
()
ui/src/api/index.js:89
FunctionlistUsersWithAccess
(storageID)
ui/src/api/index.js:137
Methodlist_by_user_id
(&self, user_id: Uuid)
pentaract/src/repositories/storage_workers.rs:71
Methodlist_dir
( self, storage_id: Uuid, path: &str, user: &AuthUser, )
pentaract/src/services/files.rs:225
Methodlist_users_with_access
( &self, id: Uuid, user: &AuthUser, )
pentaract/src/services/storages.rs:92
Methodlist_users_with_access
( &self, storage_id: Uuid, )
pentaract/src/repositories/access.rs:67
Methodlist_users_with_access
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:102
Functionlogged_in_required
Middleware that requires to be loggen in
pentaract/src/common/routing/middlewares/auth.rs:21
Functionlogin
(email, password)
ui/src/api/index.js:42
Methodlogin
( State(state): State<Arc<AppState>>, Json(login_data): Json<LoginSchema>, )
pentaract/src/routers/auth.rs:21
Functionlogout
(_)
ui/src/components/Header.jsx:16
Functionmain
()
pentaract/src/main.rs:30
Methodnew
()
pentaract/src/config.rs:25
Methodnew
(rx: StorageManagerListener, db: PgPool, config: Config)
pentaract/src/storage_manager.rs:19
Methodnew
(db: &'d PgPool, telegram_baseurl: &'d str, rate_limit: u8)
pentaract/src/services/storage_manager.rs:29
Methodnew
(db: &'d PgPool)
pentaract/src/services/users.rs:13
Methodnew
(db: &'d PgPool, tx: ClientSender)
pentaract/src/services/files.rs:34
Methodnew
(db: &'d PgPool)
pentaract/src/services/storages.rs:24
Methodnew
(db: &'d PgPool, rate: u8)
pentaract/src/services/storage_workers_scheduler.rs:16
Methodnew
(db: &'d PgPool)
pentaract/src/services/auth.rs:21
Methodnew
(db: &'d PgPool)
pentaract/src/services/storage_workers.rs:21
Methodnew
(data: StorageManagerData)
pentaract/src/common/channels.rs:40
Methodnew
(id: Uuid, email: String)
pentaract/src/common/jwt_manager.rs:26
Methodnew
(base_url: &'t str, scheduler: StorageWorkersScheduler<'t>)
pentaract/src/common/telegram_api/bot_api.rs:17
Methodnew
(db: Pool<Postgres>, config: Config, tx: ClientSender)
pentaract/src/common/routing/app_state.rs:13
Methodnew
(db: &'d PgPool)
pentaract/src/repositories/users.rs:13
Methodnew
(db: &'d PgPool)
pentaract/src/repositories/files.rs:20
Methodnew
(db: &'d PgPool)
pentaract/src/repositories/storages.rs:16
Methodnew
(db: &'d PgPool)
pentaract/src/repositories/storage_workers.rs:16
Methodnew
(db: &'d PgPool)
pentaract/src/repositories/access.rs:16
Methodnew
(email: String, password_hash: String)
pentaract/src/models/users.rs:7
Methodnew
(path: String, size: i64, storage_id: uuid::Uuid)
pentaract/src/models/files.rs:10
Methodnew
(name: String, chat_id: ChatId)
pentaract/src/models/storages.rs:11
Methodnew
( name: String, user_id: uuid::Uuid, token: String, storage_id: Option<uuid::U
pentaract/src/models/storage_workers.rs:11
Methodnew
( id: uuid::Uuid, file_id: uuid::Uuid, telegram_file_id: String, position: Pos
pentaract/src/models/file_chunks.rs:12
Methodnew
(storage_id: Uuid, path: String, file: Bytes)
pentaract/src/schemas/files.rs:21
Methodnew
(storages: Vec<StorageWithInfo>)
pentaract/src/schemas/storages.rs:17
Methodnew
(access_token: String)
pentaract/src/schemas/auth.rs:15
Methodnew
(user_email: String, access_type: AccessType)
pentaract/src/schemas/access.rs:13
FunctiononChangeAccess
()
ui/src/components/Access.jsx:50
FunctiononCreate
()
ui/src/components/CreateFolderDialog.jsx:58
FunctiononGrant
(event)
ui/src/components/GrantAccess.jsx:38
FunctiononRestrict
()
ui/src/components/Access.jsx:60
FunctionopenActionConfirmDialog
()
ui/src/components/FSListItem.jsx:69
FunctionopenCreateFolderDialog
()
ui/src/pages/Files/index.jsx:112
Functionregister
(email, password)
ui/src/api/index.js:20
Functionreload
()
ui/src/pages/Files/index.jsx:84
Methodrename
( &self, old_path: &str, new_path: &str, storage_id: Uuid, user: &Auth
pentaract/src/services/files.rs:248
← previousnext →101–200 of 223, ranked by callers