Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dominux/Pentaract
/ functions
Functions
223 in github.com/Dominux/Pentaract
⨍
Functions
223
◇
Types & classes
70
Method
create
(&self, in_obj: InDBUser)
pentaract/src/repositories/users.rs:17
Method
create
(&self, in_obj: InStorage)
pentaract/src/repositories/storages.rs:20
Method
create
(&self, in_obj: InStorageWorker)
pentaract/src/repositories/storage_workers.rs:20
Method
create
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Json(in_sc
pentaract/src/routers/storage_workers.rs:37
Function
createFolder
(folderName)
ui/src/pages/Files/index.jsx:123
Function
createFolder
(storage_id, path, folderName)
ui/src/api/index.js:206
Function
createStorage
(name, chat_id)
ui/src/api/index.js:59
Function
createStorageWorker
(name, token, storage_id)
ui/src/api/index.js:179
Method
create_folder
( &self, in_schema: InFolderSchema, user: &AuthUser, )
pentaract/src/services/files.rs:46
Method
create_folder
(&self, in_obj: InFile)
pentaract/src/repositories/files.rs:28
Method
create_folder
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:163
Method
delete
( &self, path: &str, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/files.rs:267
Method
delete
(&self, id: Uuid, user: &AuthUser)
pentaract/src/services/storages.rs:71
Method
delete
(&self, path: &str, storage_id: Uuid)
pentaract/src/repositories/files.rs:345
Function
deleteFile
()
ui/src/components/FSListItem.jsx:77
Function
deleteFile
(storage_id, path)
ui/src/api/index.js:298
Function
download
()
ui/src/components/FSListItem.jsx:53
Method
download
( &self, telegram_file_id: &str, storage_id: Uuid, )
pentaract/src/common/telegram_api/bot_api.rs:61
Method
download
( state: Arc<AppState>, user: AuthUser, storage_id: Uuid, path: &str, )
pentaract/src/routers/files.rs:186
Method
dynamic_get
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:46
Function
fetchUsersWithAccess
()
ui/src/pages/Files/index.jsx:54
Method
from
(e: PentaractError)
pentaract/src/errors.rs:49
Method
generate
(password: &str)
pentaract/src/common/password_manager.rs:8
Method
generate
(user: AuthUser, expire_in: Duration, secret_key: &str)
pentaract/src/common/jwt_manager.rs:34
Function
getAction
()
ui/src/components/GrantAccess.jsx:32
Function
getFSLayer
(storage_id, path)
ui/src/api/index.js:267
Function
getStorage
(id)
ui/src/api/index.js:97
Method
get_by_name_and_user_id
( &self, name: &str, user_id: Uuid, )
pentaract/src/repositories/storage_workers.rs:81
Method
get_env_var
(env_var: &str)
pentaract/src/config.rs:64
Method
get_env_var_with_default
(env_var: &str, default: T)
pentaract/src/config.rs:72
Method
get_router
(state: Arc<AppState>)
pentaract/src/routers/users.rs:13
Method
get_router
(state: Arc<AppState>)
pentaract/src/routers/files.rs:32
Method
get_router
(state: Arc<AppState>)
pentaract/src/routers/storages.rs:31
Method
get_router
(state: Arc<AppState>)
pentaract/src/routers/auth.rs:15
Method
get_router
(state: Arc<AppState>)
pentaract/src/routers/storage_workers.rs:26
Method
get_token
(&self, storage_id: Uuid)
pentaract/src/services/storage_workers_scheduler.rs:21
Function
grantAccess
(storageID, email, accessType)
ui/src/api/index.js:123
Method
grant_access
( &self, id: Uuid, in_schema: GrantAccess, user: &AuthUser, )
pentaract/src/services/storages.rs:77
Method
grant_access
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:90
Function
handleClose
()
ui/src/components/Menu.jsx:21
Function
handleNavigate
()
ui/src/components/FSListItem.jsx:47
Function
handleSubmit
(event)
ui/src/pages/Register.jsx:30
Function
handleSubmit
(event)
ui/src/pages/Login.jsx:28
Function
handleSubmit
(event)
ui/src/pages/Storages/StorageCreateForm.jsx:25
Function
handleSubmit
(event)
ui/src/pages/Files/UploadFileTo.jsx:26
Function
handleSubmit
(event)
ui/src/pages/StorageWorkers/StorageWorkerCreateForm.jsx:37
Method
has_storages_workers
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, query: Que
pentaract/src/routers/storage_workers.rs:56
Method
list
(&self, user: &AuthUser)
pentaract/src/services/storages.rs:61
Method
list
(&self, user: &AuthUser)
pentaract/src/services/storage_workers.rs:51
Method
list
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, )
pentaract/src/routers/storages.rs:61
Method
list
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, )
pentaract/src/routers/storage_workers.rs:48
Function
listStorageWorkers
()
ui/src/api/index.js:191
Function
listStorages
()
ui/src/api/index.js:89
Function
listUsersWithAccess
(storageID)
ui/src/api/index.js:137
Method
list_by_user_id
(&self, user_id: Uuid)
pentaract/src/repositories/storage_workers.rs:71
Method
list_dir
( self, storage_id: Uuid, path: &str, user: &AuthUser, )
pentaract/src/services/files.rs:225
Method
list_users_with_access
( &self, id: Uuid, user: &AuthUser, )
pentaract/src/services/storages.rs:92
Method
list_users_with_access
( &self, storage_id: Uuid, )
pentaract/src/repositories/access.rs:67
Method
list_users_with_access
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:102
Function
logged_in_required
Middleware that requires to be loggen in
pentaract/src/common/routing/middlewares/auth.rs:21
Function
login
(email, password)
ui/src/api/index.js:42
Method
login
( State(state): State<Arc<AppState>>, Json(login_data): Json<LoginSchema>, )
pentaract/src/routers/auth.rs:21
Function
logout
(_)
ui/src/components/Header.jsx:16
Function
main
()
pentaract/src/main.rs:30
Method
new
()
pentaract/src/config.rs:25
Method
new
(rx: StorageManagerListener, db: PgPool, config: Config)
pentaract/src/storage_manager.rs:19
Method
new
(db: &'d PgPool, telegram_baseurl: &'d str, rate_limit: u8)
pentaract/src/services/storage_manager.rs:29
Method
new
(db: &'d PgPool)
pentaract/src/services/users.rs:13
Method
new
(db: &'d PgPool, tx: ClientSender)
pentaract/src/services/files.rs:34
Method
new
(db: &'d PgPool)
pentaract/src/services/storages.rs:24
Method
new
(db: &'d PgPool, rate: u8)
pentaract/src/services/storage_workers_scheduler.rs:16
Method
new
(db: &'d PgPool)
pentaract/src/services/auth.rs:21
Method
new
(db: &'d PgPool)
pentaract/src/services/storage_workers.rs:21
Method
new
(data: StorageManagerData)
pentaract/src/common/channels.rs:40
Method
new
(id: Uuid, email: String)
pentaract/src/common/jwt_manager.rs:26
Method
new
(base_url: &'t str, scheduler: StorageWorkersScheduler<'t>)
pentaract/src/common/telegram_api/bot_api.rs:17
Method
new
(db: Pool<Postgres>, config: Config, tx: ClientSender)
pentaract/src/common/routing/app_state.rs:13
Method
new
(db: &'d PgPool)
pentaract/src/repositories/users.rs:13
Method
new
(db: &'d PgPool)
pentaract/src/repositories/files.rs:20
Method
new
(db: &'d PgPool)
pentaract/src/repositories/storages.rs:16
Method
new
(db: &'d PgPool)
pentaract/src/repositories/storage_workers.rs:16
Method
new
(db: &'d PgPool)
pentaract/src/repositories/access.rs:16
Method
new
(email: String, password_hash: String)
pentaract/src/models/users.rs:7
Method
new
(path: String, size: i64, storage_id: uuid::Uuid)
pentaract/src/models/files.rs:10
Method
new
(name: String, chat_id: ChatId)
pentaract/src/models/storages.rs:11
Method
new
( name: String, user_id: uuid::Uuid, token: String, storage_id: Option<uuid::U
pentaract/src/models/storage_workers.rs:11
Method
new
( id: uuid::Uuid, file_id: uuid::Uuid, telegram_file_id: String, position: Pos
pentaract/src/models/file_chunks.rs:12
Method
new
(storage_id: Uuid, path: String, file: Bytes)
pentaract/src/schemas/files.rs:21
Method
new
(storages: Vec<StorageWithInfo>)
pentaract/src/schemas/storages.rs:17
Method
new
(access_token: String)
pentaract/src/schemas/auth.rs:15
Method
new
(user_email: String, access_type: AccessType)
pentaract/src/schemas/access.rs:13
Function
onChangeAccess
()
ui/src/components/Access.jsx:50
Function
onCreate
()
ui/src/components/CreateFolderDialog.jsx:58
Function
onGrant
(event)
ui/src/components/GrantAccess.jsx:38
Function
onRestrict
()
ui/src/components/Access.jsx:60
Function
openActionConfirmDialog
()
ui/src/components/FSListItem.jsx:69
Function
openCreateFolderDialog
()
ui/src/pages/Files/index.jsx:112
Function
register
(email, password)
ui/src/api/index.js:20
Function
reload
()
ui/src/pages/Files/index.jsx:84
Method
rename
( &self, old_path: &str, new_path: &str, storage_id: Uuid, user: &Auth
pentaract/src/services/files.rs:248
← previous
next →
101–200 of 223, ranked by callers