MCPcopy Create free account

hub / github.com/gtsteffaniak/filebrowser / functions

Functions1,657 in github.com/gtsteffaniak/filebrowser

↓ 1 callersFunctionparseDirectoryComments
parseDirectoryComments parses a single directory for comments, secrets, and deprecated fields.
backend/common/settings/generator.go:116
↓ 1 callersFunctionparseFields
(user *users.User, fields []string, actorIsAdmin bool)
backend/database/storage/bolt/users.go:249
↓ 1 callersFunctionparseMessage
* Parse message to extract display text * @param {unknown} message * @returns {string}
frontend/src/notify/message.js:97
↓ 1 callersFunctionparseOIDCGroupsValue
parseOIDCGroupsValue parses OIDC claim values into a string slice of groups Returns nil for missing/empty non-array values, []string{} for empty array
backend/http/oidc.go:103
↓ 1 callersFunctionparseOnlyOfficeCallbackFromJSON
parseOnlyOfficeCallbackFromJSON extracts callback data from JSON request body
backend/http/onlyOffice.go:734
↓ 1 callersFunctionparseOnlyOfficeCallbackFromJWT
parseOnlyOfficeCallbackFromJWT extracts callback data from JWT in Authorization header
backend/http/onlyOffice.go:718
↓ 1 callersFunctionparseOnlyOfficeJWT
parseOnlyOfficeJWT parses the JWT token from OnlyOffice callback
backend/http/onlyOffice.go:769
↓ 1 callersFunctionparseRepeatedScopeParams
parseRepeatedScopeParams interprets repeated "scope" query values. If a value contains ':', it is "sourceName:relativePath" (first ':' separates sourc
backend/http/search.go:178
↓ 1 callersFunctionpatchAction
(ctx context.Context, params patchActionParams)
backend/http/resource.go:1107
↓ 1 callersFunctionpinnedItemAction
pinnedItemAction returns the patch action query param, defaulting to "add".
backend/http/pinnedItems.go:43
↓ 1 callersFunctionprepDuplicatesOptions
(r *http.Request, d *requestContext)
backend/http/duplicates.go:556
↓ 1 callersFunctionprepSearchOptions
(r *http.Request, d *requestContext)
backend/http/search.go:218
↓ 1 callersFunctionprocessContent
(info *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts utils.FileOptions)
backend/adapters/fs/files/files.go:310
↓ 1 callersFunctionprocessDirectoryMetadata
processDirectoryMetadata extracts metadata for audio/video files in directories
backend/adapters/fs/files/files.go:66
↓ 1 callersFunctionprocessKeys
(masterObj, targetObj, targetLangCode, currentPathParts = [], doEnforceOrder, doCleanupOnly = false)
frontend/scripts/sync-translations.js:117
↓ 1 callersFunctionprocessOnlyOfficeCallback
processOnlyOfficeCallback handles the common callback processing logic for both GET and POST requests
backend/http/onlyOffice.go:451
↓ 1 callersFunctionquickSetup
(store *bolt.BoltStore)
backend/database/storage/storage.go:79
↓ 1 callersFunctionrandomArchiveToken
()
backend/http/archive.go:46
↓ 1 callersFunctionrawFileHandler
(w http.ResponseWriter, r *http.Request, file iteminfo.ExtendedFileInfo)
backend/http/preview.go:103
↓ 1 callersFunctionreadDownloadErrorBody
Best-effort text from a failed download response (consumes body).
frontend/src/api/resources.js:223
↓ 1 callersFunctionrecordAuthFailure
(ip, username string)
backend/http/auth_ratelimit.go:188
↓ 1 callersMethodreleaseImageLargeSem
()
backend/preview/preview.go:156
↓ 1 callersFunctionremoveLastDir
(url)
frontend/src/utils/url.js:26
↓ 1 callersFunctionremoveOldAccessRule
removeOldAccessRule removes the old access rule by directly accessing the internal storage
backend/cmd/access.go:111
↓ 1 callersFunctionremoveOnlyOfficeLogContext
(documentID string)
backend/http/httpEvents.go:150
↓ 1 callersFunctionrenew
()
frontend/src/api/auth.js:139
↓ 1 callersFunctionreorderObject
(obj, masterObj)
frontend/scripts/sync-translations.js:102
↓ 1 callersMethodresampleFilter
()
backend/preview/image.go:88
↓ 1 callersMethodresizeWithSize
(in io.Reader, out io.Writer, fileSize int64, opts ResizeOptions)
backend/preview/image.go:189
↓ 1 callersFunctionresolveOIDCNestedClaim
resolveOIDCNestedClaim resolves nested OIDC claims using '.' as a separator
backend/http/oidc.go:81
↓ 1 callersMethodresolvePathContext
resolvePathContext resolves all path characteristics in a SINGLE stat call This eliminates duplicate stat/lstat calls and redundant isHidden/isSymlink
backend/indexing/indexingFiles.go:444
↓ 1 callersFunctionresourceAction
(source, path, method, content)
frontend/src/api/resources.js:77
↓ 1 callersFunctionresourceActionPublic
(hash, path, method, content, token = "")
frontend/src/api/resources.js:1124
↓ 1 callersFunctionresourceBulkDeleteHandler
resourceBulkDeleteHandler deletes multiple resources in a single request. @Summary Bulk delete resources @Description Deletes multiple resources speci
backend/http/resource.go:236
↓ 1 callersFunctionresourcePatchHandler
resourcePatchHandler performs a patch operation (e.g., move, copy, rename) on resources. @Summary Move, copy, or rename resources @Description Perform
backend/http/resource.go:807
↓ 1 callersFunctionresourcePostHandler
resourcePostHandler creates or uploads a new resource. @Summary Create or upload a resource @Description Creates a new resource or uploads a file at t
backend/http/resource.go:525
↓ 1 callersMethodrestoreScannerNextRuns
()
backend/indexing/indexingSchedulerLoop.go:125
↓ 1 callersMethodresume
(id)
frontend/src/utils/upload.js:540
↓ 1 callersFunctionrootCMD
(ctx context.Context, store *bolt.BoltStore, serverConfig *settings.Server, shutdownComplete chan struct{})
backend/cmd/root.go:186
↓ 1 callersFunctionrunCLI
return bool to indicate if the program should continue running
backend/cmd/cli.go:26
↓ 1 callersMethodrunChildScan
(quick bool)
backend/indexing/indexingScanner.go:231
↓ 1 callersFunctionrunDeleteFilesSubfolderWithRaceStress
(t *testing.T, iter int)
backend/adapters/fs/files/file_test.go:618
↓ 1 callersFunctionrunExiftoolTag
(ctx context.Context, exiftoolPath, realPath, tag string)
backend/preview/exiftool.go:82
↓ 1 callersMethodrunFullScanChild
()
backend/indexing/indexingScanner.go:254
↓ 1 callersMethodrunFullScanRoot
()
backend/indexing/indexingScanner.go:142
↓ 1 callersMethodrunIndexScheduler
()
backend/indexing/indexingSchedulerLoop.go:298
↓ 1 callersMethodrunIndexing
runIndexing performs the actual indexing work
backend/indexing/indexingScanner.go:109
↓ 1 callersMethodrunQuickScanChild
()
backend/indexing/indexingScanner.go:315
↓ 1 callersMethodrunQuickScanRoot
()
backend/indexing/indexingScanner.go:189
↓ 1 callersMethodrunRootScan
(quick bool)
backend/indexing/indexingScanner.go:117
↓ 1 callersMethodrunStartupIntegrityCheck
runStartupIntegrityCheck runs the configured startup check (quick_check, probe, or off).
backend/database/sql/index.go:132
↓ 1 callersFunctionscopeRelativeDirToIndexPath
scopeRelativeDirToIndexPath maps a scope-relative directory to source and index paths.
backend/http/pinnedItems.go:22
↓ 1 callersFunctionsearchDateMatches
(modUnix int64, opts iteminfo.SearchOptions)
backend/indexing/search.go:188
↓ 1 callersFunctionsetConditionals
setConditionalsMap builds optimized map structures from conditional rules for O(1) lookups
backend/common/settings/config.go:1218
↓ 1 callersFunctionsetLocale
(locale: string)
frontend/src/i18n/index.ts:102
↓ 1 callersFunctionsetRule
(dbConfig, fsPath, indexPath, ruleCategory, value string, allow bool)
backend/cmd/cli.go:153
↓ 1 callersFunctionsetUser
(dbConfig string, asAdmin bool)
backend/cmd/cli.go:207
↓ 1 callersFunctionsetupEnv
()
backend/common/settings/config.go:78
↓ 1 callersFunctionsetupErrorTracking
(page: Page)
frontend/tests/playwright/test-setup.ts:83
↓ 1 callersFunctionsetupHttp
()
backend/common/settings/config.go:89
↓ 1 callersFunctionsetupJwtUser
setupJwtUser retrieves or creates a user based on external JWT token claims
backend/http/auth.go:121
↓ 1 callersMethodsetupMultiScanner
setupMultiScanner creates and starts the multi-scanner system isNewDb: if true, skip loading persisted complexity values (database is new or recreated
backend/indexing/indexingSchedule.go:247
↓ 1 callersFunctionsetupProxyUser
(r *http.Request, data *requestContext, proxyUser string)
backend/http/auth.go:81
↓ 1 callersFunctionsetupServer
()
backend/common/settings/config.go:64
↓ 1 callersFunctionsetupTestUsers
setupTestUsers creates a user storage with 2 valid test users
backend/auth/json_timing_test.go:106
↓ 1 callersFunctionshouldServeOriginalPreview
(ext string, resizable bool, realPath, previewSize string, fileSize int64)
backend/http/preview.go:87
↓ 1 callersFunctionsortedScannerPaths
(idx *Index)
backend/indexing/indexingSchedulerLoop.go:156
↓ 1 callersMethodstartDirectoryUpload
(upload)
frontend/src/utils/upload.js:305
↓ 1 callersMethodstartFileUpload
(upload)
frontend/src/utils/upload.js:327
↓ 1 callersMethodstartPeriodicCleanup
startPeriodicCleanup starts a background goroutine that cleans up stale database entries every 24 hours. Stale entries are items where last_updated is
backend/database/sql/index.go:224
↓ 1 callersFunctionstickyStartup
()
frontend/src/store/state.js:217
↓ 1 callersMethodstopScheduler
()
backend/indexing/indexingSchedulerLoop.go:347
↓ 1 callersFunctionstoreOnlyOfficeLogContext
(documentID string, context *OnlyOfficeLogContext)
backend/http/httpEvents.go:138
↓ 1 callersFunctionstripAssOverrideTags
(text)
frontend/src/utils/subtitles.js:32
↓ 1 callersFunctionsymlinkTargetStaysUnderDest
symlinkTargetStaysUnderDest rejects absolute targets and paths that would resolve outside destRoot.
backend/http/archive.go:1005
↓ 1 callersFunctionsyncAllTranslations
()
frontend/scripts/sync-translations.js:232
↓ 1 callersMethodtakeDueScannerBatch
(now time.Time)
backend/indexing/indexingSchedulerLoop.go:77
↓ 1 callersFunctiontestCacheDirSpeed
testCacheDirSpeed performs a mandatory speed test on the cache directory by writing, reading, and deleting a 10MB test file. Reports write and read pe
backend/common/settings/config.go:125
↓ 1 callersFunctiontestEventsEndpoint
()
frontend/src/notify/events.js:51
↓ 1 callersFunctionthrottle
(func, limit)
frontend/src/utils/throttle.js:2
↓ 1 callersFunctiontoASCIIFilename
toASCIIFilename converts a filename to ASCII-safe format by replacing non-ASCII characters with underscores
backend/http/download.go:84
↓ 1 callersFunctiontools
()
frontend/src/utils/constants.js:83
↓ 1 callersFunctiontranslateText
(text, targetLanguage, keyPath = '')
frontend/scripts/sync-translations.js:50
↓ 1 callersFunctiontrimSlashes
(str)
frontend/src/utils/url.js:161
↓ 1 callersMethodupdateFolderSizeAndParents
updateFolderSizeAndParents updates a folder size and propagates the change to all parents
backend/indexing/indexingFiles.go:1082
↓ 1 callersFunctionupdateLoginType
(user *users.User)
backend/cmd/user.go:198
↓ 1 callersFunctionupdatePermissions
func to convert legacy user with perm key to permissions
backend/cmd/user.go:145
↓ 1 callersFunctionupdatePreviewSettings
(user *users.User)
backend/cmd/user.go:206
↓ 1 callersMethodupdateSchedule
updateSchedule adjusts the scanner's schedule based on whether files changed (adaptive mode only).
backend/indexing/indexingScanner.go:452
↓ 1 callersFunctionupdateShowFirstLogin
(user *users.User)
backend/cmd/user.go:136
↓ 1 callersFunctionupdateShowToolsInSidebar
updateShowToolsInSidebar one-time defaults for legacy users (Version < CurrentUserMigrationVersion) from configured userDefaults.
backend/cmd/user.go:127
↓ 1 callersFunctionupdateSidebarLinks
updateSidebarLinks checks if user has stale source links and rebuilds them if needed
backend/cmd/user.go:217
↓ 1 callersFunctionupdateSourceInfo
()
frontend/src/notify/events.js:13
↓ 1 callersFunctionupdateTokens
(user *users.User)
backend/cmd/user.go:270
↓ 1 callersFunctionuserCanWrite
(permissions users.Permissions)
backend/http/webdav.go:438
↓ 1 callersFunctionuserPutOnlyNonAdminEditableFields
userPutOnlyNonAdminEditableFields reports whether req.Which lists exclusively NonAdminEditable fields, excluding Password. Empty which or which[0] ==
backend/http/users.go:339
↓ 1 callersFunctionvalidateAccessRules
validateAccessRules migrates old-style access rules (without trailing slashes) to new format
backend/cmd/access.go:14
↓ 1 callersFunctionvalidateMoveOperation
validateMoveOperation checks if a move/rename operation is valid at the HTTP level It prevents moving a directory into itself or its subdirectories
backend/http/resource.go:45
↓ 1 callersFunctionvalidateOfficeIntegration
healthcheck attempt to save test file against configured url
backend/cmd/office.go:11
↓ 1 callersFunctionvalidateOidcAuth
ValidateOidcAuth processes the OIDC callback and retrieves user identity
backend/common/settings/auth.go:159
← previousnext →801–900 of 1,657, ranked by callers