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
↓ 21 callers
Function
map_not_found
(e: sqlx::Error, entity_name: &str)
pentaract/src/common/db/errors.rs:4
↓ 17 callers
Method
get
(&self, id: Uuid, user: &AuthUser)
pentaract/src/services/storages.rs:65
↓ 14 callers
Function
apiRequest
( path, method, auth_token, body, return_response = false )
ui/src/api/request.js:18
↓ 14 callers
Function
check_access
( repo: &AccessRepository<'d>, user_id: Uuid, storage_id: Uuid, access_type: &AccessType, )
pentaract/src/common/access.rs:9
↓ 14 callers
Function
getAuthToken
()
ui/src/api/index.js:341
↓ 11 callers
Function
addAlert
(msg, severity)
ui/src/components/AlertStack.jsx:27
↓ 7 callers
Function
get
(_, key)
ui/libs/index.js:29
↓ 6 callers
Function
createLocalStore
* 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 callers
Function
open
()
ui/src/components/Menu.jsx:20
↓ 5 callers
Function
fetchFSLayer
(path = params.path)
ui/src/pages/Files/index.jsx:71
↓ 3 callers
Method
build_url
(&self, pre: &str, relative: &str, token: String)
pentaract/src/common/telegram_api/bot_api.rs:92
↓ 3 callers
Function
get_pool
(dsn: &str, max_connection: u32, timeout: Duration)
pentaract/src/common/db/pool.rs:5
↓ 3 callers
Method
get_token
https://www.db-fiddle.com/f/fHcCh7bRtVSxyDfPvPyDre/11
pentaract/src/repositories/storage_workers.rs:97
↓ 3 callers
Method
run
(self, addr: &SocketAddr)
pentaract/src/server.rs:54
↓ 2 callers
Method
_create_file
(&self, in_obj: InFile, is_uploaded: bool)
pentaract/src/repositories/files.rs:32
↓ 2 callers
Method
_upload
(&self, file: File, file_data: Bytes, user: &AuthUser)
pentaract/src/services/files.rs:130
↓ 2 callers
Function
apiMultipartRequest
(path, auth_token, form)
ui/src/api/request.js:67
↓ 2 callers
Function
convertSize
(size)
ui/src/common/size_converter.js:8
↓ 2 callers
Method
create_or_update
( &self, storage_id: Uuid, grant_access: GrantAccess, )
pentaract/src/repositories/access.rs:20
↓ 2 callers
Method
delete
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:81
↓ 2 callers
Method
delete_storage
(&self, storage_id: Uuid)
pentaract/src/repositories/storages.rs:109
↓ 2 callers
Method
get
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Path(id):
pentaract/src/routers/storages.rs:72
↓ 2 callers
Method
get_by_name_and_user_id
( &self, name: &str, user_id: Uuid, )
pentaract/src/repositories/storages.rs:76
↓ 2 callers
Method
list_by_user_id
(&self, user_id: Uuid)
pentaract/src/repositories/storages.rs:48
↓ 2 callers
Method
login
( &self, login_data: LoginSchema, config: &Config, )
pentaract/src/services/auth.rs:26
↓ 2 callers
Function
makeAccessTypeUserFriendly
(at)
ui/src/components/AccessTypeChip.jsx:7
↓ 2 callers
Method
storage_has_any
(&self, storage_id: Uuid)
pentaract/src/repositories/storage_workers.rs:59
↓ 1 callers
Function
authenticate
(headers: &HeaderMap<HeaderValue>, secret_key: &str)
pentaract/src/common/routing/middlewares/auth.rs:34
↓ 1 callers
Function
closeActionConfirmDialog
()
ui/src/components/FSListItem.jsx:73
↓ 1 callers
Method
create
(&self, in_user: InUser)
pentaract/src/services/users.rs:18
↓ 1 callers
Method
create
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, Json(in_sc
pentaract/src/routers/storages.rs:50
↓ 1 callers
Method
create_chunks_batch
(&self, chunks: Vec<FileChunk>)
pentaract/src/repositories/files.rs:170
↓ 1 callers
Function
create_db
(dsn: &str, dbname: &str, max_connection: u32, timeout: Duration)
pentaract/src/startup.rs:14
↓ 1 callers
Method
create_file
(&self, in_obj: InFile)
pentaract/src/repositories/files.rs:24
↓ 1 callers
Method
create_file_anyway
Creates a file even if the given path already exists
pentaract/src/repositories/files.rs:69
↓ 1 callers
Function
create_superuser
(db: &PgPool, config: &Config)
pentaract/src/startup.rs:177
↓ 1 callers
Method
delete
( State(state): State<Arc<AppState>>, Extension(user): Extension<AuthUser>, RoutePath(
pentaract/src/routers/files.rs:236
↓ 1 callers
Method
delete_access
(&self, user_id: Uuid, storage_id: Uuid)
pentaract/src/repositories/access.rs:120
↓ 1 callers
Method
delete_with_folders
(&self, id: Uuid)
pentaract/src/repositories/files.rs:336
↓ 1 callers
Function
download
(storage_id, path)
ui/src/api/index.js:281
↓ 1 callers
Method
download
(&self, data: DownloadFileData)
pentaract/src/storage_manager.rs:54
↓ 1 callers
Method
download
(&self, data: DownloadFileData)
pentaract/src/services/storage_manager.rs:97
↓ 1 callers
Method
download
( &self, path: &str, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/files.rs:183
↓ 1 callers
Method
download_chunk
( &self, storage_id: Uuid, chunk: FileChunk, )
pentaract/src/services/storage_manager.rs:117
↓ 1 callers
Function
fetchStorage
()
ui/src/pages/Files/index.jsx:66
↓ 1 callers
Method
get_by_email
(&self, email: &str)
pentaract/src/repositories/users.rs:45
↓ 1 callers
Method
get_by_file_id
(&self, file_id: Uuid)
pentaract/src/repositories/storages.rs:99
↓ 1 callers
Method
get_by_id
(&self, id: Uuid)
pentaract/src/repositories/storages.rs:68
↓ 1 callers
Method
get_file_by_path
(&self, path: &str, storage_id: Uuid)
pentaract/src/repositories/files.rs:281
↓ 1 callers
Function
handleCloseMore
()
ui/src/components/FSListItem.jsx:43
↓ 1 callers
Method
handle_msg
(&self, msg: ClientMessage)
pentaract/src/storage_manager.rs:32
↓ 1 callers
Method
has_access
( &self, user_id: Uuid, storage_id: Uuid, access_type: &AccessType, )
pentaract/src/repositories/access.rs:89
↓ 1 callers
Method
has_storage_workers
( &self, storage_id: Uuid, user: &AuthUser, )
pentaract/src/services/storage_workers.rs:55
↓ 1 callers
Function
init_db
(db: &PgPool)
pentaract/src/startup.rs:43
↓ 1 callers
Method
list_chunks_of_file
(&self, file_id: Uuid)
pentaract/src/repositories/files.rs:292
↓ 1 callers
Method
list_dir
NOTE: `prefix` must be without leading and trailing slashes
pentaract/src/repositories/files.rs:192
↓ 1 callers
Function
navigateToFiles
()
ui/src/pages/Files/UploadFileTo.jsx:18
↓ 1 callers
Function
onClose
()
ui/src/components/CreateFolderDialog.jsx:52
↓ 1 callers
Function
onDeleteButtonClicked
(email)
ui/src/components/Access.jsx:55
↓ 1 callers
Function
onEditButtonClicked
(email)
ui/src/components/Access.jsx:45
↓ 1 callers
Function
openMore
()
ui/src/components/FSListItem.jsx:41
↓ 1 callers
Method
register
( State(state): State<Arc<AppState>>, Json(in_user): Json<InUser>, )
pentaract/src/routers/users.rs:19
↓ 1 callers
Method
set_as_uploaded
(&self, file_id: Uuid)
pentaract/src/repositories/files.rs:300
↓ 1 callers
Method
update_path
( &self, old_path: &str, new_path: &str, storage_id: Uuid, )
pentaract/src/repositories/files.rs:309
↓ 1 callers
Method
upload
(&self, data: UploadFileData)
pentaract/src/storage_manager.rs:42
↓ 1 callers
Method
upload
(&self, data: UploadFileData)
pentaract/src/services/storage_manager.rs:43
↓ 1 callers
Method
upload_anyway
( &self, in_file: InFile, file_data: Bytes, user: &AuthUser, )
pentaract/src/services/files.rs:106
↓ 1 callers
Method
upload_chunk
( &self, storage_id: Uuid, chat_id: ChatId, file_id: Uuid, position: u
pentaract/src/services/storage_manager.rs:73
Function
Access
(props)
ui/src/components/Access.jsx:34
Function
AccessTypeChip
(props)
ui/src/components/AccessTypeChip.jsx:50
Function
ActionConfirmDialog
(props)
ui/src/components/ActionConfirmDialog.jsx:22
Function
AlertStack
()
ui/src/components/AlertStack.jsx:36
Function
App
()
ui/src/App.jsx:27
Function
AppIcon
()
ui/src/components/AppIcon.jsx:3
Function
BasicLayout
()
ui/src/layouts/Basic.jsx:12
Function
CreateFolderDialog
(props)
ui/src/components/CreateFolderDialog.jsx:21
Function
FSListItem
(props)
ui/src/components/FSListItem.jsx:33
Function
FileInfoDialog
(props)
ui/src/components/FileInfo.jsx:21
Function
Files
()
ui/src/pages/Files/index.jsx:28
Function
GrantAccess
(props)
ui/src/components/GrantAccess.jsx:29
Function
Header
()
ui/src/components/Header.jsx:12
Function
Login
()
ui/src/pages/Login.jsx:14
Function
Menu
(props)
ui/src/components/Menu.jsx:17
Function
NotFound
()
ui/src/pages/404.jsx:4
Function
Register
()
ui/src/pages/Register.jsx:15
Function
SideBar
()
ui/src/components/SideBar.jsx:17
Function
SideBarItem
(props)
ui/src/components/SideBarItem.jsx:20
Function
StorageCreateForm
()
ui/src/pages/Storages/StorageCreateForm.jsx:16
Function
StorageWorkerCreateForm
()
ui/src/pages/StorageWorkers/StorageWorkerCreateForm.jsx:20
Function
StorageWorkers
()
ui/src/pages/StorageWorkers/index.jsx:17
Function
Storages
()
ui/src/pages/Storages/index.jsx:18
Function
UploadFileTo
()
ui/src/pages/Files/UploadFileTo.jsx:13
Method
build_api_router
(workers: usize, app_state: Arc<AppState>)
pentaract/src/server.rs:36
Method
build_server
(workers: usize, app_state: Arc<AppState>)
pentaract/src/server.rs:23
Function
checkAuth
()
ui/src/common/auth_guard.js:4
Method
check_storage_workers
(&self, storage_id: Uuid)
pentaract/src/services/files.rs:171
Function
closeCreateFolderDialog
()
ui/src/pages/Files/index.jsx:115
Method
construct_path
(path: &str, filename: &str)
pentaract/src/routers/files.rs:178
Method
create
( &self, in_schema: InStorageSchema, user: &AuthUser, )
pentaract/src/services/storages.rs:30
Method
create
( &self, in_schema: InStorageWorkerSchema, user: &AuthUser, )
pentaract/src/services/storage_workers.rs:27
next →
1–100 of 223, ranked by callers