mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-15 13:35:55 -05:00
Compare commits
26
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19d60a8a24 | ||
|
|
d583359f4e | ||
|
|
2c0f9f26d6 | ||
|
|
efe10ec6d5 | ||
|
|
0f37b8120f | ||
|
|
c55107e31b | ||
|
|
ee0307d80a | ||
|
|
e64179d6d2 | ||
|
|
68f0f0204e | ||
|
|
9e18c99b05 | ||
|
|
cdbc7a35f7 | ||
|
|
a18f268547 | ||
|
|
28edf9ce0e | ||
|
|
e99b22349d | ||
|
|
9775cc03fd | ||
|
|
18333e21fd | ||
|
|
ad3d184811 | ||
|
|
d47c2d9c0d | ||
|
|
04e4324981 | ||
|
|
44edfcafa1 | ||
|
|
be2e78f729 | ||
|
|
c22fc59035 | ||
|
|
ad82de28e8 | ||
|
|
0481052308 | ||
|
|
87d241d166 | ||
|
|
092c97f9ae |
No files matched your search
@@ -56,13 +56,4 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- working-directory: frontend
|
||||
run: npm i && npm run i18n:check
|
||||
check-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- run: make generate-docs
|
||||
- run: git diff --exit-code
|
||||
run: npm i && npm run i18n:check
|
||||
+1
-51
@@ -2,57 +2,6 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. For commit guidelines, please refer to [Standard Version](https://github.com/conventional-changelog/standard-version).
|
||||
|
||||
## v1.3.4
|
||||
|
||||
**New Features**:
|
||||
- Epub placementg url anchors to bookmark a specific location on the doc.
|
||||
- Add Requirement for Current Password When Changing Account Password (#2112)
|
||||
|
||||
**Notes**:
|
||||
- user scope editing has path picker and filesystem validation
|
||||
|
||||
**BugFixes**:
|
||||
- Swiping media files doesn't respect Playback Queue (#2243)
|
||||
- Audio metadata and album thumbnails doesn't work (#2236)
|
||||
- Search spinner wouldn't show up sometimes while searching
|
||||
- The default landing page source should always be the first source in the sidebar, that wasn't always respected.
|
||||
|
||||
## v1.3.3
|
||||
|
||||
**New Features**:
|
||||
- Copy/paste files and folders (`CTRL+C`/`CTRL+V`) from other apps (win explorer, thunar, finder, etc) to upload them directly (#2197)
|
||||
- Caption font size can be adjusted in video settings
|
||||
- Ability to adjust the startup check method for sql database via `server.startupIntegrityCheck` (#2221)
|
||||
- Status bar for editor and markdown viewer (#2226)
|
||||
|
||||
**Notes**:
|
||||
- `.fbx` 3d model files added to supported previews.
|
||||
- removed upx compression on docker image (#2193)
|
||||
- videos double tap to fast-forward and rewind added.
|
||||
- Adjust Image album swipe behavior (#2068)
|
||||
- swipe animation for next/previous
|
||||
- swipe down on image to close and go to parent folder.
|
||||
- supports videos
|
||||
- chunked uploads will save to a temporary file at the destination and renamed on completion. Better upload pause handling (#2129)
|
||||
- The Icons in the UI were updated! (#2203)
|
||||
- More supported icons in the Icon Picker tool.
|
||||
- More file types have new icons across all the listings (such as `.md`, `.apk`, etc).
|
||||
- `.fbx` 3d model files added to supported previews.
|
||||
- removed upx compression on docker image (#2193)
|
||||
- chunked uploads will save to a temporary file at the destination and renamed on completion. Better upload pause handling (#2129)
|
||||
- deprecated `source.config.CreateUserDir`, now its always `true`. If a user directory doesn't exist it will get created empty.
|
||||
- `CTRL`+`Mouse Wheel` shortcut to change listing size. Also for change font size in editor (#2227)
|
||||
|
||||
**BugFixes**:
|
||||
- Archives don't preserve file metadata (#2063)
|
||||
- Chunked upload setting fails: "0" does not disable chunking as expected (#2202)
|
||||
- Incorrect Chinese labels for Upload controls in Quantum UI (#2191)
|
||||
- Chunked download stops after first chunk, add message explaining (#2074)
|
||||
- Esc to Cancel and Enter to confirm popup (#2079)
|
||||
- Language-tagged subtitle files not detected for videos (#2199)
|
||||
- Unable to use proxy auth since 1.3.0-beta (#2173)
|
||||
- Updating setting on a LDAP user turns the "Login Method" to password. Thus preventing further logins. (#2179)
|
||||
|
||||
## v1.3.2-beta
|
||||
|
||||
**Security**:
|
||||
@@ -83,6 +32,7 @@ All notable changes to this project will be documented in this file. For commit
|
||||
- LDAP authentication issue if a password caontains @ symbol (#2154)
|
||||
- Share banner seems to be not working for custom urls (#2120)
|
||||
|
||||
|
||||
## v1.3.1-beta
|
||||
|
||||
**Security**:
|
||||
|
||||
+2
-1
@@ -4,12 +4,13 @@ ARG VERSION
|
||||
ARG REVISION
|
||||
WORKDIR /app
|
||||
COPY ./backend ./
|
||||
RUN apk update && apk add --no-cache gcc musl-dev
|
||||
RUN apk update && apk add --no-cache gcc musl-dev upx
|
||||
ENV CGO_ENABLED=1
|
||||
RUN go build -tags mupdf,musl -ldflags="-w -s \
|
||||
-X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${VERSION}' \
|
||||
-X 'github.com/gtsteffaniak/filebrowser/backend/common/version.CommitSHA=${REVISION}'" \
|
||||
-o filebrowser .
|
||||
RUN upx filebrowser
|
||||
|
||||
FROM node:jod-slim AS nbuild
|
||||
WORKDIR /app
|
||||
|
||||
@@ -3,11 +3,12 @@ ARG VERSION
|
||||
ARG REVISION
|
||||
WORKDIR /app
|
||||
COPY ./backend ./
|
||||
RUN apk update && apk add
|
||||
RUN apk update && apk add upx
|
||||
RUN go build -ldflags="-w -s \
|
||||
-X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${VERSION}' \
|
||||
-X 'github.com/gtsteffaniak/filebrowser/backend/common/version.CommitSHA=${REVISION}'" \
|
||||
-o filebrowser .
|
||||
RUN upx filebrowser
|
||||
|
||||
FROM node:jod-slim AS nbuild
|
||||
WORKDIR /app
|
||||
|
||||
@@ -28,36 +28,6 @@ import (
|
||||
// CheckPermissionsFunc allows tests to override CheckPermissions behavior
|
||||
var CheckPermissionsFunc = checkPermissionsImpl
|
||||
|
||||
// addMetadataToChildren runs concurrent ffmpeg/tag extraction for audio/video children.
|
||||
// Each goroutine is registered on wg. Caller must invoke wg.Wait() after scheduling.
|
||||
func addMetadataToChildren(response *iteminfo.ExtendedFileInfo, opts utils.FileOptions, wg *sync.WaitGroup) {
|
||||
sharedFFmpegService := ffmpeg.NewFFmpegService(10, false, "")
|
||||
if sharedFFmpegService == nil {
|
||||
return
|
||||
}
|
||||
for i := range response.Files {
|
||||
fileItem := &response.Files[i]
|
||||
isItemAudio := strings.HasPrefix(fileItem.Type, "audio")
|
||||
isItemVideo := strings.HasPrefix(fileItem.Type, "video")
|
||||
if !isItemAudio && !isItemVideo {
|
||||
continue
|
||||
}
|
||||
isAudio := isItemAudio
|
||||
wg.Go(func() {
|
||||
fullPath := response.RealPath + "/" + fileItem.Name
|
||||
if isAudio {
|
||||
if err := extractAudioMetadata(context.Background(), fileItem, fullPath, opts.AlbumArt, opts.Metadata, sharedFFmpegService); err != nil {
|
||||
logger.Debugf("failed to extract metadata for file: %s, error: %v", fileItem.Name, err)
|
||||
}
|
||||
} else {
|
||||
if err := extractVideoMetadata(context.Background(), fileItem, fullPath, sharedFFmpegService); err != nil {
|
||||
logger.Debugf("failed to extract video metadata for file: %s, error: %v", fileItem.Name, err)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// processDirectoryMetadata extracts metadata for audio/video files in directories
|
||||
func processDirectoryMetadata(response *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts utils.FileOptions) {
|
||||
metadataCount := 0
|
||||
@@ -69,8 +39,11 @@ func processDirectoryMetadata(response *iteminfo.ExtendedFileInfo, idx *indexing
|
||||
metadataCount++
|
||||
}
|
||||
}
|
||||
// Process files concurrently using goroutines
|
||||
var wg sync.WaitGroup
|
||||
var mu sync.Mutex // Protects processedCount
|
||||
|
||||
// Refresh directory to update folder sizes
|
||||
wg.Go(func() {
|
||||
indexPath := idx.MakeIndexPath(response.Path, true)
|
||||
err := idx.RefreshDirectory(indexPath, false)
|
||||
@@ -79,9 +52,54 @@ func processDirectoryMetadata(response *iteminfo.ExtendedFileInfo, idx *indexing
|
||||
}
|
||||
})
|
||||
|
||||
if opts.Metadata && metadataCount > 0 {
|
||||
addMetadataToChildren(response, opts, &wg)
|
||||
// Set hasMetadata flag if there are files with potential metadata
|
||||
if metadataCount > 0 {
|
||||
response.HasMetadata = true
|
||||
}
|
||||
|
||||
// Only process metadata if explicitly requested
|
||||
if opts.Metadata && metadataCount > 0 {
|
||||
processedCount := 0
|
||||
|
||||
// Create a single shared FFmpegService instance for all files to coordinate concurrency
|
||||
sharedFFmpegService := ffmpeg.NewFFmpegService(10, false, "")
|
||||
if sharedFFmpegService != nil {
|
||||
|
||||
for i := range response.Files {
|
||||
fileItem := &response.Files[i]
|
||||
isItemAudio := strings.HasPrefix(fileItem.Type, "audio")
|
||||
isItemVideo := strings.HasPrefix(fileItem.Type, "video")
|
||||
|
||||
if isItemAudio || isItemVideo {
|
||||
wg.Go(func() {
|
||||
// Extract metadata for audio files (without album art for performance)
|
||||
if isItemAudio {
|
||||
err := extractAudioMetadata(context.Background(), fileItem, response.RealPath+"/"+fileItem.Name, opts.AlbumArt, opts.Metadata, sharedFFmpegService)
|
||||
if err != nil {
|
||||
logger.Debugf("failed to extract metadata for file: %s, error: %v", fileItem.Name, err)
|
||||
} else {
|
||||
mu.Lock()
|
||||
processedCount++
|
||||
mu.Unlock()
|
||||
}
|
||||
} else {
|
||||
// Extract duration for video files
|
||||
err := extractVideoMetadata(context.Background(), fileItem, response.RealPath+"/"+fileItem.Name, sharedFFmpegService)
|
||||
if err != nil {
|
||||
logger.Debugf("failed to extract video metadata for file: %s, error: %v", fileItem.Name, err)
|
||||
} else {
|
||||
mu.Lock()
|
||||
processedCount++
|
||||
mu.Unlock()
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
// Wait for all goroutines to complete
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
@@ -272,13 +290,9 @@ func processContent(info *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts u
|
||||
if isFolder {
|
||||
return
|
||||
}
|
||||
if isVideo && !opts.Metadata {
|
||||
return
|
||||
}
|
||||
if isAudio && !(opts.Metadata || opts.AlbumArt) {
|
||||
return
|
||||
}
|
||||
|
||||
if isVideo {
|
||||
// Extract duration for video
|
||||
extItem := &iteminfo.ExtendedItemInfo{
|
||||
ItemInfo: info.ItemInfo,
|
||||
}
|
||||
@@ -289,6 +303,7 @@ func processContent(info *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts u
|
||||
info.Metadata = extItem.Metadata
|
||||
}
|
||||
|
||||
// Handle subtitles if requested
|
||||
parentPath := filepath.Dir(info.Path)
|
||||
parentInfo, exists := idx.GetMetadataInfo(parentPath, true, false)
|
||||
if exists {
|
||||
@@ -298,12 +313,12 @@ func processContent(info *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts u
|
||||
subtitles := ffmpeg.DetectEmbeddedSubtitles(info.RealPath, info.ModTime)
|
||||
info.Subtitles = append(info.Subtitles, subtitles...)
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// Audio: run tag/album-art extraction when full metadata or preview (AlbumArt) is requested.
|
||||
// Preview uses AlbumArt without Metadata so we do not load arbitrary files as text content.
|
||||
if isAudio {
|
||||
// Create an ExtendedItemInfo to hold the metadata
|
||||
extItem := &iteminfo.ExtendedItemInfo{
|
||||
ItemInfo: info.ItemInfo,
|
||||
}
|
||||
@@ -311,7 +326,9 @@ func processContent(info *iteminfo.ExtendedFileInfo, idx *indexing.Index, opts u
|
||||
if err != nil {
|
||||
logger.Debugf("failed to extract audio metadata for file: "+info.RealPath, info.Name, err)
|
||||
} else {
|
||||
// Copy metadata to ExtendedFileInfo
|
||||
info.Metadata = extItem.Metadata
|
||||
info.HasMetadata = true
|
||||
info.HasPreview = extItem.Metadata != nil && len(extItem.Metadata.AlbumArt) > 0
|
||||
}
|
||||
return
|
||||
|
||||
@@ -108,6 +108,7 @@ var types = map[string]string{
|
||||
".chrt": "application/vnd.kde.kchart",
|
||||
".class": "application/java",
|
||||
".com": ContentTextHeaderValue,
|
||||
".conf": ContentTextHeaderValue,
|
||||
".cpio": "application/x-cpio",
|
||||
".cpp": "text/x-c",
|
||||
".cpt": "application/mac-compactpro",
|
||||
@@ -150,8 +151,7 @@ var types = map[string]string{
|
||||
".evy": "application/envoy",
|
||||
".exe": "application/x-msdownload",
|
||||
".dll": "application/x-msdownload",
|
||||
".bat": "application/x-msdos-program",
|
||||
".cmd": "application/x-msdos-program",
|
||||
".bat": "application/x-msdownload",
|
||||
".msi": "application/x-msdownload",
|
||||
".f77": "text/x-fortran",
|
||||
".f90": "text/x-fortran",
|
||||
@@ -228,6 +228,7 @@ var types = map[string]string{
|
||||
".js": ContentJavascriptHeaderValue,
|
||||
".mjs": ContentJavascriptHeaderValue,
|
||||
".json": ContentJSONHeaderValue,
|
||||
".vue": ContentJavascriptHeaderValue,
|
||||
".jut": "image/jutvision",
|
||||
".kar": "audio/midi",
|
||||
".karbon": "application/vnd.kde.karbon",
|
||||
@@ -259,6 +260,7 @@ var types = map[string]string{
|
||||
".m1v": "video/mpeg",
|
||||
".m2a": "audio/mpeg",
|
||||
".m2v": "video/mpeg",
|
||||
".m3u": "text/x-mpegurl", // .m3u and .m3u8 are playlist files - They contain paths, we set it as text to allow edition.
|
||||
".m": "text/x-m",
|
||||
".man": "application/x-troff-man",
|
||||
".manifest": "text/cache-manifest",
|
||||
@@ -308,6 +310,7 @@ var types = map[string]string{
|
||||
".ncm": "application/vndnokiaconfiguration-message",
|
||||
".nif": "image/x-niff",
|
||||
".niff": "image/x-niff",
|
||||
".nix": "application/x-mix-transfer",
|
||||
".nsc": "application/x-conference",
|
||||
".nvd": "application/x-navidoc",
|
||||
".o": "application/octet-stream",
|
||||
@@ -343,14 +346,15 @@ var types = map[string]string{
|
||||
".p7m": "application/pkcs7-mime",
|
||||
".p7r": "application/x-pkcs7-certreqresp",
|
||||
".p7s": "application/pkcs7-signature",
|
||||
".p": "text/x-pascal",
|
||||
".part": "application/pro_eng",
|
||||
".pas": "text/pascal",
|
||||
".pbm": "image/x-portable-bitmap",
|
||||
".pcl": "application/vndhp-pcl",
|
||||
".pct": "image/x-pict",
|
||||
".pcx": "image/x-pcx",
|
||||
".pdb": "chemical/x-pdb",
|
||||
".pdf": "application/pdf",
|
||||
".pdfa": "application/pdf",
|
||||
".pfunk": "audio/make",
|
||||
".pgm": "image/x-portable-graymap",
|
||||
".pic": "image/pict",
|
||||
@@ -442,11 +446,9 @@ var types = map[string]string{
|
||||
".sprite": "application/x-sprite",
|
||||
".spx": "audio/ogg",
|
||||
".src": "application/x-wais-source",
|
||||
".srt": "text/subtitle-srt",
|
||||
".ass": "text/subtitle-ass",
|
||||
".vtt": "text/subtitle-vtt",
|
||||
".ssa": "text/subtitle-ssa",
|
||||
".srt": "text/plain",
|
||||
".sbv": "text/plain",
|
||||
".ssa": "text/plain",
|
||||
".ssi": "text/x-server-parsed-html",
|
||||
".ssm": "application/streamingmedia",
|
||||
".sst": "application/vndms-pkicertstore",
|
||||
@@ -601,52 +603,10 @@ var types = map[string]string{
|
||||
".webm": "video/webm",
|
||||
".weba": "audio/webm",
|
||||
".caf": "audio/x-caf",
|
||||
".m3u": "text/x-mpegurl", // .m3u and .m3u8 are playlist files - They contain paths, we set it as text to allow edition.
|
||||
".m3u8": "text/x-mpegURL",
|
||||
".pls": "text/x-scpls",
|
||||
".xspf": "application/xspf+xml",
|
||||
".mpd": "application/dash+xml",
|
||||
".webp": "image/webp",
|
||||
".epub": "application/epub+zip",
|
||||
".db": "application/x-db",
|
||||
".db2": "application/x-db",
|
||||
".db3": "application/x-db",
|
||||
".sql": "application/sql",
|
||||
".sqlite": "application/vnd.sqlite3",
|
||||
".sqlite3": "application/vnd.sqlite3",
|
||||
".yaml": "application/yaml",
|
||||
".app": "application/x-application",
|
||||
".geojson": "application/geo+json",
|
||||
".sketch": "application/x-sketch",
|
||||
".bak": "application/backup",
|
||||
".backup": "application/backup",
|
||||
".xfc": "application/x-xcf",
|
||||
".vue": "text/vue",
|
||||
".conf": "text/config-file",
|
||||
".ini": "text/ini",
|
||||
".ps1": "application/x-powershell",
|
||||
".ps2": "application/x-powershell",
|
||||
".ps3": "application/x-powershell",
|
||||
".dart": "application/vnd.dart",
|
||||
".flutter": "text/flutter",
|
||||
".tsx": "text/x-typescript",
|
||||
".ts": "text/x-typescript",
|
||||
".php": "application/x-php",
|
||||
".php2": "application/x-php",
|
||||
".php3": "application/x-php",
|
||||
".phtml": "application/x-php",
|
||||
".p": "text/x-pascal",
|
||||
".pas": "text/x-pascal",
|
||||
".zig": "text/x-zig",
|
||||
".ex": "text/x-elixir",
|
||||
".exs": "text/x-elixir",
|
||||
".json5": "application/json5",
|
||||
".pmx": "model/x-pmx",
|
||||
".nix": "text/nix-lang",
|
||||
".cjs": "text/javascript",
|
||||
".torrent": "application/x-bittorrent",
|
||||
".tmp": "text/tmp",
|
||||
".temp": "text/tmp",
|
||||
// the ones below are some from: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
||||
".adp": "audio/adpcm",
|
||||
".mp4a": "audio/mp4",
|
||||
|
||||
@@ -19,7 +19,7 @@ func MakeUserDir(fullPath string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func MakeUserDirs(u *users.User, createDir bool) error {
|
||||
func MakeUserDirs(u *users.User, disableScopeChange bool) error {
|
||||
cleanedUserName := users.CleanUsername(u.Username)
|
||||
if cleanedUserName == "" || cleanedUserName == "-" || cleanedUserName == "." {
|
||||
return fmt.Errorf("MakeUserDirs: invalid user for home dir creation: [%s]", u.Username)
|
||||
@@ -27,31 +27,48 @@ func MakeUserDirs(u *users.User, createDir bool) error {
|
||||
for i, scope := range u.Scopes {
|
||||
source, ok := settings.Config.Server.SourceMap[scope.Name]
|
||||
if !ok {
|
||||
return fmt.Errorf("MakeUserDirs: source not found: %s", scope.Name)
|
||||
logger.Errorf("MakeUserDirs: source not found: %s", scope.Name)
|
||||
continue
|
||||
}
|
||||
fullPath := filepath.Join(source.Path, scope.Scope)
|
||||
parentDir := filepath.Dir(fullPath)
|
||||
if createDir {
|
||||
if source.Config.CreateUserDir && filepath.Base(scope.Scope) != cleanedUserName {
|
||||
scope.Scope = utils.JoinPathAsUnix(scope.Scope, cleanedUserName)
|
||||
fullPath = filepath.Join(fullPath, cleanedUserName)
|
||||
}
|
||||
// create directory and append user name
|
||||
if filepath.Base(scope.Scope) != cleanedUserName && source.Config.CreateUserDir && !disableScopeChange {
|
||||
fullPath := filepath.Join(source.Path, scope.Scope, cleanedUserName)
|
||||
parentDir := filepath.Join(source.Path, scope.Scope)
|
||||
// If parent directory doesn't exist and createUserDir is enabled, create it
|
||||
if !Exists(parentDir) {
|
||||
if err := MakeUserDir(parentDir); err != nil {
|
||||
logger.Errorf("MakeUserDirs: failed to create parent scope directory: %s - %v", scope.Scope, err)
|
||||
continue
|
||||
}
|
||||
}
|
||||
// Use JoinPathAsUnix to ensure scope remains in Unix format (forward slashes)
|
||||
scope.Scope = utils.JoinPathAsUnix(scope.Scope, cleanedUserName)
|
||||
err := MakeUserDir(fullPath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("MakeUserDirs: failed to create user home dir: %s", err)
|
||||
logger.Errorf("MakeUserDirs: failed to create user home dir: %s", err)
|
||||
// Continue to next scope even if this one failed
|
||||
}
|
||||
} else if filepath.Base(scope.Scope) == cleanedUserName && source.Config.CreateUserDir {
|
||||
// create directory exactly as specified
|
||||
fullPath := filepath.Join(source.Path, scope.Scope)
|
||||
parentDir := filepath.Dir(fullPath)
|
||||
if !Exists(parentDir) {
|
||||
logger.Errorf("MakeUserDirs: scope folder does not exist: %s", parentDir)
|
||||
continue
|
||||
}
|
||||
err := MakeUserDir(fullPath)
|
||||
if err != nil {
|
||||
logger.Errorf("create user: failed to create user home dir: %s", err)
|
||||
// Continue to next scope even if this one failed
|
||||
}
|
||||
} else {
|
||||
if !Exists(fullPath) {
|
||||
return fmt.Errorf("MakeUserDirs: scope folder does not exist: %s", fullPath)
|
||||
// just assigning scope to path provided, so just check that it exists
|
||||
path := filepath.Join(source.Path, scope.Scope)
|
||||
if !Exists(path) {
|
||||
logger.Errorf("MakeUserDirs: scope folder does not exist: %s", path)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
u.Scopes[i] = scope
|
||||
}
|
||||
return nil
|
||||
|
||||
@@ -156,6 +156,7 @@ func TestUpdateUserScopes_Phases(t *testing.T) {
|
||||
sourceA = settings.Source{Path: "/pathA", Name: "sourceA", Config: settings.SourceConfig{
|
||||
DefaultEnabled: true,
|
||||
DefaultUserScope: "/defaultA",
|
||||
CreateUserDir: true,
|
||||
}}
|
||||
sourceB = settings.Source{Path: "/pathB", Name: "sourceB", Config: settings.SourceConfig{DefaultEnabled: true, DefaultUserScope: "/defaultB"}}
|
||||
settings.Config.Server.Sources = []*settings.Source{&sourceA, &sourceB}
|
||||
|
||||
@@ -682,11 +682,10 @@ func setDefaults(generate bool) Settings {
|
||||
CacheDir: "tmp",
|
||||
MaxArchiveSizeGB: 20,
|
||||
IndexSqlConfig: IndexSqlConfig{
|
||||
WalMode: false,
|
||||
BatchSize: 1000,
|
||||
CacheSizeMB: 32,
|
||||
DisableReuse: false,
|
||||
StartupIntegrityCheck: IndexStartupIntegrityQuickCheck,
|
||||
WalMode: false,
|
||||
BatchSize: 1000,
|
||||
CacheSizeMB: 32,
|
||||
DisableReuse: false,
|
||||
},
|
||||
Filesystem: Filesystem{
|
||||
CreateFilePermission: "644",
|
||||
@@ -708,19 +707,19 @@ func setDefaults(generate bool) Settings {
|
||||
Name: "FileBrowser Quantum",
|
||||
},
|
||||
UserDefaults: UserDefaults{
|
||||
DeleteAfterArchive: true,
|
||||
DisableOnlyOfficeExt: ".md .txt .pdf .html .xml",
|
||||
StickySidebar: true,
|
||||
HideFilesInTree: false,
|
||||
DeleteAfterArchive: true,
|
||||
DisableOnlyOfficeExt: ".md .txt .pdf .html .xml",
|
||||
StickySidebar: true,
|
||||
HideFilesInTree: false,
|
||||
PreferEditorForMarkdown: false,
|
||||
LockPassword: false,
|
||||
ShowHidden: false,
|
||||
DarkMode: boolPtr(true),
|
||||
DisableSettings: false,
|
||||
ViewMode: "normal",
|
||||
Locale: "en",
|
||||
GallerySize: 3,
|
||||
ThemeColor: "var(--blue)",
|
||||
LockPassword: false,
|
||||
ShowHidden: false,
|
||||
DarkMode: boolPtr(true),
|
||||
DisableSettings: false,
|
||||
ViewMode: "normal",
|
||||
Locale: "en",
|
||||
GallerySize: 3,
|
||||
ThemeColor: "var(--blue)",
|
||||
Permissions: UserDefaultsPermissions{
|
||||
Modify: false,
|
||||
Share: false,
|
||||
|
||||
@@ -76,22 +76,11 @@ type Filesystem struct {
|
||||
CreateDirectoryPermission string `json:"createDirectoryPermission" validate:"required,file_permission"` // Unix permissions like 755, 2755, 1777 (default: 755)
|
||||
}
|
||||
|
||||
// Index SQL startup integrity modes (IndexSqlConfig.StartupIntegrityCheck).
|
||||
const (
|
||||
// IndexStartupIntegrityQuickCheck runs PRAGMA quick_check (default). Slower on very large DBs but thorough.
|
||||
IndexStartupIntegrityQuickCheck = "quickCheck"
|
||||
// IndexStartupIntegrityProbe verifies sqlite_master and optionally one row read only; fast for large indexes.
|
||||
IndexStartupIntegrityProbe = "probe"
|
||||
// IndexStartupIntegrityOff skips startup checks beyond sql.Open Ping; least safe, fastest boot.
|
||||
IndexStartupIntegrityOff = "off"
|
||||
)
|
||||
|
||||
type IndexSqlConfig struct {
|
||||
BatchSize int `json:"batchSize"` // number of items to batch in a single transaction, typically 500-5000. higher = faster but could use more memory.
|
||||
CacheSizeMB int `json:"cacheSizeMB"` // size of the SQLite cache in MB
|
||||
WalMode bool `json:"walMode"` // enable the more complex WAL journaling mode. Slower, more memory usage, but better for deployments with constant user activity.
|
||||
DisableReuse bool `json:"disableReuse"` // enable to always create a new indexing database on startup.
|
||||
StartupIntegrityCheck string `json:"startupIntegrityCheck,omitempty" validate:"omitempty,oneof=quickCheck probe off"` // the method used to check the integrity of the index database on startup (default: quickCheck)
|
||||
BatchSize int `json:"batchSize"` // number of items to batch in a single transaction, typically 500-5000. higher = faster but could use more memory.
|
||||
CacheSizeMB int `json:"cacheSizeMB"` // size of the SQLite cache in MB
|
||||
WalMode bool `json:"walMode"` // enable the more complex WAL journaling mode. Slower, more memory usage, but better for deployments with constant user activity.
|
||||
DisableReuse bool `json:"disableReuse"` // enable to always create a new indexing database on startup.
|
||||
}
|
||||
|
||||
type Integrations struct {
|
||||
@@ -214,7 +203,7 @@ type SourceConfig struct {
|
||||
Rules []ConditionalRule `json:"rules"` // list of item rules to apply to specific paths
|
||||
DefaultUserScope string `json:"defaultUserScope"` // defaults to root of index "/" should match folders under path
|
||||
DefaultEnabled bool `json:"defaultEnabled"` // should be added as a default source for new users?
|
||||
CreateUserDir bool `json:"createUserDir"` // deprecated: create a user directory for each user under defaultUserScope + username (always true now)
|
||||
CreateUserDir bool `json:"createUserDir"` // create a user directory for each user under defaultUserScope + username
|
||||
UseLogicalSize bool `json:"useLogicalSize"` // calculate sizes based on logical size instead of disk utilization (du -sh), folders will be 0 bytes when empty.
|
||||
// hidden but used internally - optimized map lookups for conditional rules
|
||||
ResolvedRules ResolvedRulesConfig `json:"-"`
|
||||
|
||||
@@ -211,9 +211,5 @@ func (l *Link) GetShareImagePartsHelper(isBanner bool) (string, string, error) {
|
||||
sourceName := assetParams.Get("source")
|
||||
assetPath := assetParams.Get("path")
|
||||
|
||||
if sourceName == "" || assetPath == "" {
|
||||
return "", "", fmt.Errorf("source or path not found in asset configuration")
|
||||
}
|
||||
|
||||
return sourceName, assetPath, nil
|
||||
}
|
||||
@@ -2,7 +2,6 @@ package sql
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@@ -91,8 +90,7 @@ func NewIndexDB(name string, journalMode string, batchSize int, cacheSizeMB int,
|
||||
// For persistent databases, check integrity on startup
|
||||
// If corrupted, delete and recreate the database
|
||||
if !disableReuse {
|
||||
mode := normalizeStartupIntegrityMode(settings.Config.Server.IndexSqlConfig.StartupIntegrityCheck)
|
||||
if err := idxDB.runStartupIntegrityCheck(mode); err != nil {
|
||||
if err := idxDB.checkIntegrityAndRecreateIfNeeded(); err != nil {
|
||||
// Database was recreated due to corruption
|
||||
logger.Warningf("[DB_INIT] SQLite database was found with issues which could be due to a dirty shutdown, recreating: tmp/index_%s.db", name)
|
||||
isNewDb = true
|
||||
@@ -114,73 +112,10 @@ func NewIndexDB(name string, journalMode string, batchSize int, cacheSizeMB int,
|
||||
return idxDB, isNewDb, nil
|
||||
}
|
||||
|
||||
func normalizeStartupIntegrityMode(m string) string {
|
||||
switch m {
|
||||
case "", settings.IndexStartupIntegrityQuickCheck:
|
||||
return settings.IndexStartupIntegrityQuickCheck
|
||||
case settings.IndexStartupIntegrityProbe:
|
||||
return settings.IndexStartupIntegrityProbe
|
||||
case settings.IndexStartupIntegrityOff:
|
||||
return settings.IndexStartupIntegrityOff
|
||||
default:
|
||||
logger.Warningf("[DB_INIT] unknown indexSqlConfig.startupIntegrityCheck %q, using %s", m, settings.IndexStartupIntegrityQuickCheck)
|
||||
return settings.IndexStartupIntegrityQuickCheck
|
||||
}
|
||||
}
|
||||
|
||||
// runStartupIntegrityCheck runs the configured startup check (quick_check, probe, or off).
|
||||
func (db *IndexDB) runStartupIntegrityCheck(mode string) error {
|
||||
switch mode {
|
||||
case settings.IndexStartupIntegrityOff:
|
||||
logger.Debugf("[DB_INTEGRITY] startup integrity skipped (startupIntegrityCheck=off)")
|
||||
return nil
|
||||
case settings.IndexStartupIntegrityProbe:
|
||||
return db.checkAccessibilityProbe()
|
||||
default:
|
||||
// quickCheck (including normalized default)
|
||||
return db.checkIntegrityAndRecreateIfNeeded()
|
||||
}
|
||||
}
|
||||
|
||||
// checkAccessibilityProbe verifies the DB file is readable: sqlite_master and optionally one row from index_items.
|
||||
// If index_items is absent (brand-new file), succeeds so CreateIndexTable can create it.
|
||||
func (db *IndexDB) checkAccessibilityProbe() error {
|
||||
start := time.Now()
|
||||
defer func() {
|
||||
logger.Debugf("[DB_INTEGRITY] startup probe completed in %v", time.Since(start))
|
||||
}()
|
||||
|
||||
var n int
|
||||
err := db.QueryRow(`SELECT COUNT(*) FROM sqlite_master WHERE type = 'table' AND name = 'index_items'`).Scan(&n)
|
||||
if err != nil {
|
||||
logger.Warningf("[DB_INTEGRITY] probe: cannot read sqlite_master: %v", err)
|
||||
return db.deleteCorruptedDatabase()
|
||||
}
|
||||
if n == 0 {
|
||||
logger.Debugf("[DB_INTEGRITY] probe: index_items not present yet (new database), skipping row read")
|
||||
return nil
|
||||
}
|
||||
|
||||
var dummy int
|
||||
err = db.QueryRow(`SELECT 1 FROM index_items LIMIT 1`).Scan(&dummy)
|
||||
if errors.Is(err, sql.ErrNoRows) {
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
logger.Warningf("[DB_INTEGRITY] probe: cannot read index_items: %v", err)
|
||||
return db.deleteCorruptedDatabase()
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// checkIntegrityAndRecreateIfNeeded checks database integrity.
|
||||
// If corruption is detected, deletes the database file and returns an error to trigger recreation.
|
||||
// Returns nil if integrity is OK, error if database needs to be recreated.
|
||||
func (db *IndexDB) checkIntegrityAndRecreateIfNeeded() error {
|
||||
start := time.Now()
|
||||
defer func() {
|
||||
logger.Debugf("[DB_INTEGRITY] PRAGMA quick_check completed in %v", time.Since(start))
|
||||
}()
|
||||
// Quick integrity check
|
||||
var result string
|
||||
err := db.QueryRow("PRAGMA quick_check").Scan(&result)
|
||||
@@ -1263,6 +1198,23 @@ func (db *IndexDB) GetSizeGroupsForDuplicates(source string, minSize int64, path
|
||||
return sizes, sizeCounts, rows.Err()
|
||||
}
|
||||
|
||||
// GetTotalSize returns the sum of all file sizes in the index for a specific source (excluding directories).
|
||||
func (db *IndexDB) GetTotalSize(source string) (uint64, error) {
|
||||
query := `SELECT COALESCE(SUM(size), 0) FROM index_items WHERE source = ? AND is_dir = 0`
|
||||
|
||||
var totalSize int64
|
||||
err := db.QueryRow(query, source).Scan(&totalSize)
|
||||
if err != nil {
|
||||
// Soft failure: DB is busy or locked, return 0
|
||||
if isBusyError(err) || isTransactionError(err) {
|
||||
return 0, nil
|
||||
}
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return uint64(totalSize), nil
|
||||
}
|
||||
|
||||
// Helper functions
|
||||
|
||||
// getNextPathPrefix returns the lexicographically next string after the given prefix.
|
||||
|
||||
@@ -1,129 +0,0 @@
|
||||
package sql
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/fileutils"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/common/settings"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/indexing/iteminfo"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if fileutils.PermDir == 0 {
|
||||
fileutils.SetFsPermissions(0o644, 0o755)
|
||||
}
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
||||
func TestNormalizeStartupIntegrityMode(t *testing.T) {
|
||||
tests := []struct {
|
||||
in string
|
||||
want string
|
||||
}{
|
||||
{"", settings.IndexStartupIntegrityQuickCheck},
|
||||
{"quickCheck", settings.IndexStartupIntegrityQuickCheck},
|
||||
{"probe", settings.IndexStartupIntegrityProbe},
|
||||
{"off", settings.IndexStartupIntegrityOff},
|
||||
{"not-a-real-mode", settings.IndexStartupIntegrityQuickCheck},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
if got := normalizeStartupIntegrityMode(tt.in); got != tt.want {
|
||||
t.Errorf("normalizeStartupIntegrityMode(%q) = %q, want %q", tt.in, got, tt.want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// pushTestIndexConfig sets CacheDir and index SQL options for NewIndexDB; returned func restores prior values.
|
||||
func pushTestIndexConfig(t *testing.T, cacheDir string, idx settings.IndexSqlConfig) func() {
|
||||
t.Helper()
|
||||
prevDir := settings.Config.Server.CacheDir
|
||||
prevIdx := settings.Config.Server.IndexSqlConfig
|
||||
settings.Config.Server.CacheDir = cacheDir
|
||||
settings.Config.Server.IndexSqlConfig = idx
|
||||
return func() {
|
||||
settings.Config.Server.CacheDir = prevDir
|
||||
settings.Config.Server.IndexSqlConfig = prevIdx
|
||||
}
|
||||
}
|
||||
|
||||
func testIndexSQLConfig(mode string) settings.IndexSqlConfig {
|
||||
return settings.IndexSqlConfig{
|
||||
WalMode: false,
|
||||
BatchSize: 1000,
|
||||
CacheSizeMB: 32,
|
||||
DisableReuse: false,
|
||||
StartupIntegrityCheck: mode,
|
||||
}
|
||||
}
|
||||
|
||||
func TestNewIndexDB_StartupProbe_NewFile(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
pop := pushTestIndexConfig(t, dir, testIndexSQLConfig(settings.IndexStartupIntegrityProbe))
|
||||
defer pop()
|
||||
|
||||
db, _, err := NewIndexDB("probe_new", "OFF", 1000, 32, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer db.Close()
|
||||
}
|
||||
|
||||
func TestNewIndexDB_StartupProbe_ReopenWithData(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
pop := pushTestIndexConfig(t, dir, testIndexSQLConfig(settings.IndexStartupIntegrityProbe))
|
||||
defer pop()
|
||||
|
||||
db, _, err := NewIndexDB("probe_reopen", "OFF", 1000, 32, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
info := &iteminfo.FileInfo{
|
||||
Path: "/a.txt",
|
||||
ItemInfo: iteminfo.ItemInfo{
|
||||
Name: "a.txt",
|
||||
Size: 12,
|
||||
ModTime: time.Unix(1, 0),
|
||||
Type: "text/plain",
|
||||
Hidden: false,
|
||||
},
|
||||
}
|
||||
if err = db.InsertItem("src1", "/a.txt", info); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err = db.Close(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
var db2 *IndexDB
|
||||
db2, _, err = NewIndexDB("probe_reopen", "OFF", 1000, 32, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer db2.Close()
|
||||
}
|
||||
|
||||
func TestNewIndexDB_StartupQuickCheckStillWorks(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
pop := pushTestIndexConfig(t, dir, testIndexSQLConfig(settings.IndexStartupIntegrityQuickCheck))
|
||||
defer pop()
|
||||
|
||||
db, _, err := NewIndexDB("quick_default", "OFF", 1000, 32, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer db.Close()
|
||||
}
|
||||
|
||||
func TestNewIndexDB_StartupOff(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
pop := pushTestIndexConfig(t, dir, testIndexSQLConfig(settings.IndexStartupIntegrityOff))
|
||||
defer pop()
|
||||
|
||||
db, _, err := NewIndexDB("off_mode", "OFF", 1000, 32, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer db.Close()
|
||||
}
|
||||
@@ -113,16 +113,10 @@ func (st usersBackend) Update(user *users.User, actorIsAdmin bool, fields ...str
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, scope := range adjustedScopes {
|
||||
// ensure full path exists
|
||||
if scope.Scope == "" {
|
||||
return fmt.Errorf("scope name is required")
|
||||
}
|
||||
}
|
||||
user.Scopes = adjustedScopes
|
||||
err = files.MakeUserDirs(user, false)
|
||||
err = files.MakeUserDirs(user, true)
|
||||
if err != nil {
|
||||
return err
|
||||
logger.Error(err.Error())
|
||||
}
|
||||
}
|
||||
// converting scopes to map of paths intead of names (names can change)
|
||||
@@ -192,7 +186,7 @@ func (st usersBackend) Save(user *users.User, changePass, disableScopeChange boo
|
||||
return err
|
||||
}
|
||||
user.Scopes = adjustedScopes
|
||||
err = files.MakeUserDirs(user, true)
|
||||
err = files.MakeUserDirs(user, disableScopeChange)
|
||||
if err != nil {
|
||||
logger.Error(err.Error())
|
||||
}
|
||||
|
||||
@@ -121,7 +121,6 @@ type NonAdminEditable struct {
|
||||
DisableViewingExt string `json:"disableViewingExt"` // space separated list of file extensions to disable viewing for
|
||||
CustomTheme string `json:"customTheme"` // Name of theme to use chosen from custom themes config.
|
||||
ShowSelectMultiple bool `json:"showSelectMultiple"` // show select multiple files on desktop
|
||||
ShowCopyPath bool `json:"showCopyPath"` // show copy path action in the context menu
|
||||
DebugOffice bool `json:"debugOffice"` // debug onlyoffice editor
|
||||
OtpEnabled bool `json:"otpEnabled"` // allow non-admin users to disable their own OTP
|
||||
SidebarLinks []SidebarLink `json:"sidebarLinks"` // customizable sidebar links
|
||||
|
||||
+24
-24
@@ -4,35 +4,35 @@ go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/asdine/storm/v3 v3.2.1
|
||||
github.com/coreos/go-oidc/v3 v3.18.0
|
||||
github.com/coreos/go-oidc/v3 v3.17.0
|
||||
github.com/coreos/go-systemd/v22 v22.7.0
|
||||
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
|
||||
github.com/dsoprea/go-exif/v3 v3.0.1
|
||||
github.com/gen2brain/go-fitz v1.24.15
|
||||
github.com/go-ldap/ldap/v3 v3.4.13
|
||||
github.com/go-playground/validator/v10 v10.30.2
|
||||
github.com/go-playground/validator/v10 v10.30.1
|
||||
github.com/goccy/go-yaml v1.19.2
|
||||
github.com/golang-jwt/jwt/v4 v4.5.2
|
||||
github.com/google/go-cmp v0.7.0
|
||||
github.com/gtsteffaniak/go-cache v1.1.0
|
||||
github.com/gtsteffaniak/go-logger v1.0.2
|
||||
github.com/kovidgoyal/imaging v1.8.21
|
||||
github.com/mattn/go-sqlite3 v1.14.42
|
||||
github.com/kovidgoyal/imaging v1.8.20
|
||||
github.com/mattn/go-sqlite3 v1.14.37
|
||||
github.com/pquerna/otp v1.5.0
|
||||
github.com/spf13/afero v1.15.0
|
||||
github.com/stretchr/testify v1.11.1
|
||||
github.com/swaggo/http-swagger v1.3.4
|
||||
github.com/swaggo/swag v1.16.6
|
||||
golang.org/x/crypto v0.50.0
|
||||
golang.org/x/image v0.39.0
|
||||
golang.org/x/mod v0.35.0
|
||||
golang.org/x/crypto v0.49.0
|
||||
golang.org/x/image v0.37.0
|
||||
golang.org/x/mod v0.34.0
|
||||
golang.org/x/net v0.52.0
|
||||
golang.org/x/oauth2 v0.36.0
|
||||
golang.org/x/sys v0.43.0
|
||||
golang.org/x/sys v0.42.0
|
||||
golang.org/x/time v0.15.0
|
||||
golang.org/x/tools v0.43.0
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
modernc.org/sqlite v1.48.2
|
||||
modernc.org/sqlite v1.47.0
|
||||
)
|
||||
|
||||
require (
|
||||
@@ -55,13 +55,13 @@ require (
|
||||
github.com/Djarvur/go-err113 v0.1.1 // indirect
|
||||
github.com/KyleBanks/depth v1.2.1 // indirect
|
||||
github.com/Masterminds/semver/v3 v3.4.0 // indirect
|
||||
github.com/MirrexOne/unqueryvet v1.5.4 // indirect
|
||||
github.com/MirrexOne/unqueryvet v1.5.3 // indirect
|
||||
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
|
||||
github.com/air-verse/air v1.65.0 // indirect
|
||||
github.com/air-verse/air v1.64.5 // indirect
|
||||
github.com/alecthomas/chroma/v2 v2.23.1 // indirect
|
||||
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
|
||||
github.com/alexkohler/nakedret/v2 v2.0.6 // indirect
|
||||
github.com/alexkohler/prealloc v1.1.0 // indirect
|
||||
github.com/alexkohler/prealloc v1.0.2 // indirect
|
||||
github.com/alfatraining/structtag v1.0.0 // indirect
|
||||
github.com/alingse/asasalint v0.0.11 // indirect
|
||||
github.com/alingse/nilnesserr v0.2.0 // indirect
|
||||
@@ -103,7 +103,7 @@ require (
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
github.com/ebitengine/purego v0.10.0 // indirect
|
||||
github.com/ettle/strcase v0.2.0 // indirect
|
||||
github.com/fatih/color v1.19.0 // indirect
|
||||
github.com/fatih/color v1.18.0 // indirect
|
||||
github.com/fatih/structtag v1.2.0 // indirect
|
||||
github.com/firefart/nonamedreturns v1.0.6 // indirect
|
||||
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
||||
@@ -113,7 +113,7 @@ require (
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.8-0.20250403174932-29230038a667 // indirect
|
||||
github.com/go-critic/go-critic v0.14.3 // indirect
|
||||
github.com/go-errors/errors v1.5.1 // indirect
|
||||
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
||||
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
|
||||
github.com/go-openapi/jsonpointer v0.22.5 // indirect
|
||||
github.com/go-openapi/jsonreference v0.21.5 // indirect
|
||||
github.com/go-openapi/spec v0.22.4 // indirect
|
||||
@@ -139,13 +139,13 @@ require (
|
||||
github.com/godoc-lint/godoc-lint v0.11.2 // indirect
|
||||
github.com/gofrs/flock v0.13.0 // indirect
|
||||
github.com/gohugoio/hugo v0.149.1 // indirect
|
||||
github.com/golang/geo v0.0.0-20260401045841-3289a7742193 // indirect
|
||||
github.com/golang/geo v0.0.0-20260302211937-87f5a40ea07a // indirect
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
github.com/golangci/asciicheck v0.5.0 // indirect
|
||||
github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect
|
||||
github.com/golangci/go-printf-func-name v0.1.1 // indirect
|
||||
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
|
||||
github.com/golangci/golangci-lint/v2 v2.11.4 // indirect
|
||||
github.com/golangci/golangci-lint/v2 v2.10.1 // indirect
|
||||
github.com/golangci/golines v0.15.0 // indirect
|
||||
github.com/golangci/misspell v0.8.0 // indirect
|
||||
github.com/golangci/plugin-module-register v0.1.2 // indirect
|
||||
@@ -171,7 +171,7 @@ require (
|
||||
github.com/julz/importas v0.2.0 // indirect
|
||||
github.com/jupiterrider/ffi v0.6.0 // indirect
|
||||
github.com/karamaru-alpha/copyloopvar v1.2.2 // indirect
|
||||
github.com/kisielk/errcheck v1.10.0 // indirect
|
||||
github.com/kisielk/errcheck v1.9.0 // indirect
|
||||
github.com/kkHAIKE/contextcheck v1.1.6 // indirect
|
||||
github.com/kovidgoyal/go-parallel v1.1.1 // indirect
|
||||
github.com/kovidgoyal/go-shm v1.0.0 // indirect
|
||||
@@ -196,10 +196,10 @@ require (
|
||||
github.com/maratori/testpackage v1.1.2 // indirect
|
||||
github.com/matoous/godox v1.1.0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.14 // indirect
|
||||
github.com/mattn/go-isatty v0.0.21 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.16 // indirect
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
||||
github.com/mgechev/revive v1.15.0 // indirect
|
||||
github.com/mgechev/revive v1.14.0 // indirect
|
||||
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
||||
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect
|
||||
github.com/moricho/tparallel v0.3.2 // indirect
|
||||
@@ -228,15 +228,15 @@ require (
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
|
||||
github.com/ryancurrah/gomodguard v1.4.1 // indirect
|
||||
github.com/ryanrolds/sqlclosecheck v0.6.0 // indirect
|
||||
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
|
||||
github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect
|
||||
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
|
||||
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
|
||||
github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect
|
||||
github.com/securego/gosec/v2 v2.24.8-0.20260309165252-619ce2117e08 // indirect
|
||||
github.com/securego/gosec/v2 v2.23.0 // indirect
|
||||
github.com/sirupsen/logrus v1.9.4 // indirect
|
||||
github.com/sivchari/containedctx v1.0.3 // indirect
|
||||
github.com/sonatard/noctx v0.5.1 // indirect
|
||||
github.com/sonatard/noctx v0.4.0 // indirect
|
||||
github.com/sourcegraph/go-diff v0.7.0 // indirect
|
||||
github.com/spf13/cast v1.9.2 // indirect
|
||||
github.com/spf13/cobra v1.10.2 // indirect
|
||||
@@ -257,7 +257,7 @@ require (
|
||||
github.com/ultraware/funlen v0.2.0 // indirect
|
||||
github.com/ultraware/whitespace v0.2.0 // indirect
|
||||
github.com/urfave/cli/v2 v2.3.0 // indirect
|
||||
github.com/uudashr/gocognit v1.2.1 // indirect
|
||||
github.com/uudashr/gocognit v1.2.0 // indirect
|
||||
github.com/uudashr/iface v1.4.1 // indirect
|
||||
github.com/xen0n/gosmopolitan v1.3.0 // indirect
|
||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
||||
@@ -276,7 +276,7 @@ require (
|
||||
golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect
|
||||
golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358 // indirect
|
||||
golang.org/x/sync v0.20.0 // indirect
|
||||
golang.org/x/text v0.36.0 // indirect
|
||||
golang.org/x/text v0.35.0 // indirect
|
||||
google.golang.org/protobuf v1.36.8 // indirect
|
||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
|
||||
+27
-48
@@ -77,16 +77,12 @@ github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1
|
||||
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
|
||||
github.com/MirrexOne/unqueryvet v1.5.3 h1:LpT3rsH+IY3cQddWF9bg4C7jsbASdGnrOSofY8IPEiw=
|
||||
github.com/MirrexOne/unqueryvet v1.5.3/go.mod h1:fs9Zq6eh1LRIhsDIsxf9PONVUjYdFHdtkHIgZdJnyPU=
|
||||
github.com/MirrexOne/unqueryvet v1.5.4 h1:38QOxShO7JmMWT+eCdDMbcUgGCOeJphVkzzRgyLJgsQ=
|
||||
github.com/MirrexOne/unqueryvet v1.5.4/go.mod h1:fs9Zq6eh1LRIhsDIsxf9PONVUjYdFHdtkHIgZdJnyPU=
|
||||
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 h1:vckeWVESWp6Qog7UZSARNqfu/cZqvki8zsuj3piCMx4=
|
||||
github.com/OpenPeeDeeP/depguard/v2 v2.2.1/go.mod h1:q4DKzC4UcVaAvcfd41CZh0PWpGgzrVxUYBlgKNGquUo=
|
||||
github.com/Sereal/Sereal v0.0.0-20190618215532-0b8ac451a863 h1:BRrxwOZBolJN4gIwvZMJY1tzqBvQgpaZiQRuIDD40jM=
|
||||
github.com/Sereal/Sereal v0.0.0-20190618215532-0b8ac451a863/go.mod h1:D0JMgToj/WdxCgd30Kc1UcA9E+WdZoJqeVOuYW7iTBM=
|
||||
github.com/air-verse/air v1.64.5 h1:+gs/NgTzYYe+gGPyfHy3XxpJReQWC1pIsiKIg0LgNt4=
|
||||
github.com/air-verse/air v1.64.5/go.mod h1:OaJZSfZqf7wyjS2oP/CcEVyIt0JmZuPh5x1gdtklmmY=
|
||||
github.com/air-verse/air v1.65.0 h1:MCJTmXL+UBS1Ji05jsIaUBXokeW10W+Y6ODkx6GcfZk=
|
||||
github.com/air-verse/air v1.65.0/go.mod h1:OaJZSfZqf7wyjS2oP/CcEVyIt0JmZuPh5x1gdtklmmY=
|
||||
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
|
||||
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
|
||||
github.com/alecthomas/chroma/v2 v2.23.1 h1:nv2AVZdTyClGbVQkIzlDm/rnhk1E9bU9nXwmZ/Vk/iY=
|
||||
@@ -106,8 +102,6 @@ github.com/alexkohler/nakedret/v2 v2.0.6 h1:ME3Qef1/KIKr3kWX3nti3hhgNxw6aqN5pZmQ
|
||||
github.com/alexkohler/nakedret/v2 v2.0.6/go.mod h1:l3RKju/IzOMQHmsEvXwkqMDzHHvurNQfAgE1eVmT40Q=
|
||||
github.com/alexkohler/prealloc v1.0.2 h1:MPo8cIkGkZytq7WNH9UHv3DIX1mPz1RatPXnZb0zHWQ=
|
||||
github.com/alexkohler/prealloc v1.0.2/go.mod h1:fT39Jge3bQrfA7nPMDngUfvUbQGQeJyGQnR+913SCig=
|
||||
github.com/alexkohler/prealloc v1.1.0 h1:cKGRBqlXw5iyQGLYhrXrDlcHxugXpTq4tQ5c91wkf8M=
|
||||
github.com/alexkohler/prealloc v1.1.0/go.mod h1:fT39Jge3bQrfA7nPMDngUfvUbQGQeJyGQnR+913SCig=
|
||||
github.com/alfatraining/structtag v1.0.0 h1:2qmcUqNcCoyVJ0up879K614L9PazjBSFruTB0GOFjCc=
|
||||
github.com/alfatraining/structtag v1.0.0/go.mod h1:p3Xi5SwzTi+Ryj64DqjLWz7XurHxbGsq6y3ubePJPus=
|
||||
github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw=
|
||||
@@ -209,8 +203,8 @@ github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyM
|
||||
github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s=
|
||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
|
||||
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
|
||||
github.com/coreos/go-oidc/v3 v3.18.0 h1:V9orjXynvu5wiC9SemFTWnG4F45v403aIcjWo0d41+A=
|
||||
github.com/coreos/go-oidc/v3 v3.18.0/go.mod h1:DYCf24+ncYi+XkIH97GY1+dqoRlbaSI26KVTCI9SrY4=
|
||||
github.com/coreos/go-oidc/v3 v3.17.0 h1:hWBGaQfbi0iVviX4ibC7bk8OKT5qNr4klBaCHVNvehc=
|
||||
github.com/coreos/go-oidc/v3 v3.17.0/go.mod h1:wqPbKFrVnE90vty060SB40FCJ8fTHTxSwyXJqZH+sI8=
|
||||
github.com/coreos/go-systemd/v22 v22.7.0 h1:LAEzFkke61DFROc7zNLX/WA2i5J8gYqe0rSj9KI28KA=
|
||||
github.com/coreos/go-systemd/v22 v22.7.0/go.mod h1:xNUYtjHu2EDXbsxz1i41wouACIwT7Ybq9o0BQhMwD0w=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
|
||||
@@ -266,8 +260,6 @@ github.com/evanw/esbuild v0.25.9 h1:aU7GVC4lxJGC1AyaPwySWjSIaNLAdVEEuq3chD0Khxs=
|
||||
github.com/evanw/esbuild v0.25.9/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48=
|
||||
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
|
||||
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
|
||||
github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w=
|
||||
github.com/fatih/color v1.19.0/go.mod h1:zNk67I0ZUT1bEGsSGyCZYZNrHuTkJJB+r6Q9VuMi0LE=
|
||||
github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
|
||||
github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
|
||||
github.com/firefart/nonamedreturns v1.0.6 h1:vmiBcKV/3EqKY3ZiPxCINmpS431OcE1S47AQUwhrg8E=
|
||||
@@ -302,8 +294,8 @@ github.com/go-errors/errors v1.5.1/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3Bop
|
||||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA=
|
||||
github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
|
||||
github.com/go-jose/go-jose/v4 v4.1.3 h1:CVLmWDhDVRa6Mi/IgCgaopNosCaHz7zrMeF9MlZRkrs=
|
||||
github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
|
||||
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
|
||||
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
|
||||
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
|
||||
@@ -347,8 +339,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
|
||||
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
|
||||
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
|
||||
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
|
||||
github.com/go-playground/validator/v10 v10.30.2 h1:JiFIMtSSHb2/XBUbWM4i/MpeQm9ZK2xqPNk8vgvu5JQ=
|
||||
github.com/go-playground/validator/v10 v10.30.2/go.mod h1:mAf2pIOVXjTEBrwUMGKkCWKKPs9NheYGabeB04txQSc=
|
||||
github.com/go-playground/validator/v10 v10.30.1 h1:f3zDSN/zOma+w6+1Wswgd9fLkdwy06ntQJp0BBvFG0w=
|
||||
github.com/go-playground/validator/v10 v10.30.1/go.mod h1:oSuBIQzuJxL//3MelwSLD5hc2Tu889bF0Idm9Dg26cM=
|
||||
github.com/go-quicktest/qt v1.101.0 h1:O1K29Txy5P2OK0dGo59b7b0LR6wKfIhttaAhHUyn7eI=
|
||||
github.com/go-quicktest/qt v1.101.0/go.mod h1:14Bz/f7NwaXPtdYEgzsx46kqSxVwTbzVZsDC26tQJow=
|
||||
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
|
||||
@@ -409,8 +401,8 @@ github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w
|
||||
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
|
||||
github.com/golang/geo v0.0.0-20260401045841-3289a7742193 h1:TWcQGetTogk7h5+TRKI6dnvXRQCtEdSPXLu4RdouuM8=
|
||||
github.com/golang/geo v0.0.0-20260401045841-3289a7742193/go.mod h1:Mymr9kRGDc64JPr03TSZmuIBODZ3KyswLzm1xL0HFA8=
|
||||
github.com/golang/geo v0.0.0-20260302211937-87f5a40ea07a h1:7f/cr+n7Jtd7mzCLrx47sdVIGabpSSxCHrf6fJczDp0=
|
||||
github.com/golang/geo v0.0.0-20260302211937-87f5a40ea07a/go.mod h1:Mymr9kRGDc64JPr03TSZmuIBODZ3KyswLzm1xL0HFA8=
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
@@ -452,8 +444,6 @@ github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d h1:viFft9sS/dxoYY0a
|
||||
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d/go.mod h1:ivJ9QDg0XucIkmwhzCDsqcnxxlDStoTl89jDMIoNxKY=
|
||||
github.com/golangci/golangci-lint/v2 v2.10.1 h1:flhw5Px6ojbLyEFzXvJn5B2HEdkkRlkhE1SnmCbQBiE=
|
||||
github.com/golangci/golangci-lint/v2 v2.10.1/go.mod h1:dBsrOk6zj0vDhlTv+IiJGqkDokR24IVTS7W3EVfPTQY=
|
||||
github.com/golangci/golangci-lint/v2 v2.11.4 h1:GK+UlZBN5y7rh2PBnHA93XLSX6RaF7uhzJQ3JwU1wuA=
|
||||
github.com/golangci/golangci-lint/v2 v2.11.4/go.mod h1:ODQDCASMA3VqfZYIbbQLpTRTzV7O/vjmIRF6u8NyFwI=
|
||||
github.com/golangci/golines v0.15.0 h1:Qnph25g8Y1c5fdo1X7GaRDGgnMHgnxh4Gk4VfPTtRx0=
|
||||
github.com/golangci/golines v0.15.0/go.mod h1:AZjXd23tbHMpowhtnGlj9KCNsysj72aeZVVHnVcZx10=
|
||||
github.com/golangci/misspell v0.8.0 h1:qvxQhiE2/5z+BVRo1kwYA8yGz+lOlu5Jfvtx2b04Jbg=
|
||||
@@ -581,8 +571,6 @@ github.com/karamaru-alpha/copyloopvar v1.2.2 h1:yfNQvP9YaGQR7VaWLYcfZUlRP2eo2vhE
|
||||
github.com/karamaru-alpha/copyloopvar v1.2.2/go.mod h1:oY4rGZqZ879JkJMtX3RRkcXRkmUvH0x35ykgaKgsgJY=
|
||||
github.com/kisielk/errcheck v1.9.0 h1:9xt1zI9EBfcYBvdU1nVrzMzzUPUtPKs9bVSIM3TAb3M=
|
||||
github.com/kisielk/errcheck v1.9.0/go.mod h1:kQxWMMVZgIkDq7U8xtG/n2juOjbLgZtedi0D+/VL/i8=
|
||||
github.com/kisielk/errcheck v1.10.0 h1:Lvs/YAHP24YKg08LA8oDw2z9fJVme090RAXd90S+rrw=
|
||||
github.com/kisielk/errcheck v1.10.0/go.mod h1:kQxWMMVZgIkDq7U8xtG/n2juOjbLgZtedi0D+/VL/i8=
|
||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
||||
github.com/kkHAIKE/contextcheck v1.1.6 h1:7HIyRcnyzxL9Lz06NGhiKvenXq7Zw6Q0UQu/ttjfJCE=
|
||||
github.com/kkHAIKE/contextcheck v1.1.6/go.mod h1:3dDbMRNBFaq8HFXWC1JyvDSPm43CmE6IuHam8Wr0rkg=
|
||||
@@ -592,8 +580,8 @@ github.com/kovidgoyal/go-parallel v1.1.1 h1:1OzpNjtrUkBPq3UaqrnvOoB2F9RttSt811ui
|
||||
github.com/kovidgoyal/go-parallel v1.1.1/go.mod h1:BJNIbe6+hxyFWv7n6oEDPj3PA5qSw5OCtf0hcVxWJiw=
|
||||
github.com/kovidgoyal/go-shm v1.0.0 h1:HJEel9D1F9YhULvClEHJLawoRSj/1u/EDV7MJbBPgQo=
|
||||
github.com/kovidgoyal/go-shm v1.0.0/go.mod h1:Yzb80Xf9L3kaoB2RGok9hHwMIt7Oif61kT6t3+VnZds=
|
||||
github.com/kovidgoyal/imaging v1.8.21 h1:95S2+dowTeKJJHNpf6lnScvIennTr2H0zQotu+ptNQw=
|
||||
github.com/kovidgoyal/imaging v1.8.21/go.mod h1:976F+zjiQeZ7sd87Pxlm0a64S/w9bImSIWg3sSk1rdQ=
|
||||
github.com/kovidgoyal/imaging v1.8.20 h1:74GZ7C2rIm3rqmGEjK1GvvPOOnJ0SS5iDOa6Flfo0b0=
|
||||
github.com/kovidgoyal/imaging v1.8.20/go.mod h1:d3phGYkTChGYkY4y++IjpHgUGhWGELDc2NEQAqxwZZg=
|
||||
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
|
||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
||||
@@ -652,18 +640,16 @@ github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
|
||||
github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
|
||||
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
|
||||
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
|
||||
github.com/mattn/go-isatty v0.0.21 h1:xYae+lCNBP7QuW4PUnNG61ffM4hVIfm+zUzDuSzYLGs=
|
||||
github.com/mattn/go-isatty v0.0.21/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
|
||||
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
|
||||
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
||||
github.com/mattn/go-sqlite3 v1.14.42 h1:MigqEP4ZmHw3aIdIT7T+9TLa90Z6smwcthx+Azv4Cgo=
|
||||
github.com/mattn/go-sqlite3 v1.14.42/go.mod h1:pjEuOr8IwzLJP2MfGeTb0A35jauH+C2kbHKBr7yXKVQ=
|
||||
github.com/mattn/go-sqlite3 v1.14.37 h1:3DOZp4cXis1cUIpCfXLtmlGolNLp2VEqhiB/PARNBIg=
|
||||
github.com/mattn/go-sqlite3 v1.14.37/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
|
||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||
github.com/mgechev/revive v1.14.0 h1:CC2Ulb3kV7JFYt+izwORoS3VT/+Plb8BvslI/l1yZsc=
|
||||
github.com/mgechev/revive v1.14.0/go.mod h1:MvnujelCZBZCaoDv5B3foPo6WWgULSSFxvfxp7GsPfo=
|
||||
github.com/mgechev/revive v1.15.0 h1:vJ0HzSBzfNyPbHKolgiFjHxLek9KUijhqh42yGoqZ8Q=
|
||||
github.com/mgechev/revive v1.15.0/go.mod h1:LlAKO3QQe9OJ0pVZzI2GPa8CbXGZ/9lNpCGvK4T/a8A=
|
||||
github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk=
|
||||
github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA=
|
||||
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
|
||||
@@ -785,8 +771,6 @@ github.com/ryancurrah/gomodguard v1.4.1 h1:eWC8eUMNZ/wM/PWuZBv7JxxqT5fiIKSIyTvjb
|
||||
github.com/ryancurrah/gomodguard v1.4.1/go.mod h1:qnMJwV1hX9m+YJseXEBhd2s90+1Xn6x9dLz11ualI1I=
|
||||
github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU=
|
||||
github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ=
|
||||
github.com/ryanrolds/sqlclosecheck v0.6.0 h1:pEyL9okISdg1F1SEpJNlrEotkTGerv5BMk7U4AG0eVg=
|
||||
github.com/ryanrolds/sqlclosecheck v0.6.0/go.mod h1:xyX16hsDaCMXHrMJ3JMzGf5OpDfHTOTTQrT7HOFUmeU=
|
||||
github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0=
|
||||
github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4=
|
||||
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
|
||||
@@ -797,8 +781,6 @@ github.com/sashamelentyev/usestdlibvars v1.29.0 h1:8J0MoRrw4/NAXtjQqTHrbW9NN+3iM
|
||||
github.com/sashamelentyev/usestdlibvars v1.29.0/go.mod h1:8PpnjHMk5VdeWlVb4wCdrB8PNbLqZ3wBZTZWkrpZZL8=
|
||||
github.com/securego/gosec/v2 v2.23.0 h1:h4TtF64qFzvnkqvsHC/knT7YC5fqyOCItlVR8+ptEBo=
|
||||
github.com/securego/gosec/v2 v2.23.0/go.mod h1:qRHEgXLFuYUDkI2T7W7NJAmOkxVhkR0x9xyHOIcMNZ0=
|
||||
github.com/securego/gosec/v2 v2.24.8-0.20260309165252-619ce2117e08 h1:AoLtJX4WUtZkhhUUMFy3GgecAALp/Mb4S1iyQOA2s0U=
|
||||
github.com/securego/gosec/v2 v2.24.8-0.20260309165252-619ce2117e08/go.mod h1:+XLCJiRE95ga77XInNELh2M6zQP+PdqiT9Zpm0D9Wpk=
|
||||
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
|
||||
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
|
||||
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
|
||||
@@ -813,8 +795,6 @@ github.com/sivchari/containedctx v1.0.3 h1:x+etemjbsh2fB5ewm5FeLNi5bUjK0V8n0RB+W
|
||||
github.com/sivchari/containedctx v1.0.3/go.mod h1:c1RDvCbnJLtH4lLcYD/GqwiBSSf4F5Qk0xld2rBqzJ4=
|
||||
github.com/sonatard/noctx v0.4.0 h1:7MC/5Gg4SQ4lhLYR6mvOP6mQVSxCrdyiExo7atBs27o=
|
||||
github.com/sonatard/noctx v0.4.0/go.mod h1:64XdbzFb18XL4LporKXp8poqZtPKbCrqQ402CV+kJas=
|
||||
github.com/sonatard/noctx v0.5.1 h1:wklWg9c9ZYugOAk7qG4yP4PBrlQsmSLPTvW1K4PRQMs=
|
||||
github.com/sonatard/noctx v0.5.1/go.mod h1:64XdbzFb18XL4LporKXp8poqZtPKbCrqQ402CV+kJas=
|
||||
github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=
|
||||
github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
|
||||
github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
|
||||
@@ -882,8 +862,6 @@ github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M=
|
||||
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
|
||||
github.com/uudashr/gocognit v1.2.0 h1:3BU9aMr1xbhPlvJLSydKwdLN3tEUUrzPSSM8S4hDYRA=
|
||||
github.com/uudashr/gocognit v1.2.0/go.mod h1:k/DdKPI6XBZO1q7HgoV2juESI2/Ofj9AcHPZhBBdrTU=
|
||||
github.com/uudashr/gocognit v1.2.1 h1:CSJynt5txTnORn/DkhiB4mZjwPuifyASC8/6Q0I/QS4=
|
||||
github.com/uudashr/gocognit v1.2.1/go.mod h1:acaubQc6xYlXFEMb9nWX2dYBzJ/bIjEkc1zzvyIZg5Q=
|
||||
github.com/uudashr/iface v1.4.1 h1:J16Xl1wyNX9ofhpHmQ9h9gk5rnv2A6lX/2+APLTo0zU=
|
||||
github.com/uudashr/iface v1.4.1/go.mod h1:pbeBPlbuU2qkNDn0mmfrxP2X+wjPMIQAy+r1MBXSXtg=
|
||||
github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI=
|
||||
@@ -950,8 +928,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
|
||||
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
|
||||
golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
|
||||
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
|
||||
golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4=
|
||||
golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
@@ -970,8 +948,8 @@ golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358 h1:qWFG1Dj7TBjOjO
|
||||
golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358/go.mod h1:4Mzdyp/6jzw9auFDJ3OMF5qksa7UvPnzKqTVGcb04ms=
|
||||
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
||||
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.39.0 h1:skVYidAEVKgn8lZ602XO75asgXBgLj9G/FE3RbuPFww=
|
||||
golang.org/x/image v0.39.0/go.mod h1:sIbmppfU+xFLPIG0FoVUTvyBMmgng1/XAMhQ2ft0hpA=
|
||||
golang.org/x/image v0.37.0 h1:ZiRjArKI8GwxZOoEtUfhrBtaCN+4b/7709dlT6SSnQA=
|
||||
golang.org/x/image v0.37.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
@@ -997,8 +975,8 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91
|
||||
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
|
||||
golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=
|
||||
golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU=
|
||||
golang.org/x/mod v0.34.0 h1:xIHgNUUnW6sYkcM5Jleh05DvLOtwc6RitGHbDk4akRI=
|
||||
golang.org/x/mod v0.34.0/go.mod h1:ykgH52iCZe79kzLLMhyCUzhMci+nQj+0XkbXpNYtVjY=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
@@ -1116,11 +1094,12 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
|
||||
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
|
||||
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||
@@ -1137,8 +1116,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
|
||||
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
|
||||
golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8=
|
||||
golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
@@ -1334,8 +1313,8 @@ modernc.org/opt v0.1.4 h1:2kNGMRiUjrp4LcaPuLY2PzUfqM/w9N23quVwhKt5Qm8=
|
||||
modernc.org/opt v0.1.4/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns=
|
||||
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w=
|
||||
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE=
|
||||
modernc.org/sqlite v1.48.2 h1:5CnW4uP8joZtA0LedVqLbZV5GD7F/0x91AXeSyjoh5c=
|
||||
modernc.org/sqlite v1.48.2/go.mod h1:hWjRO6Tj/5Ik8ieqxQybiEOUXy0NJFNp2tpvVpKlvig=
|
||||
modernc.org/sqlite v1.47.0 h1:R1XyaNpoW4Et9yly+I2EeX7pBza/w+pmYee/0HJDyKk=
|
||||
modernc.org/sqlite v1.47.0/go.mod h1:hWjRO6Tj/5Ik8ieqxQybiEOUXy0NJFNp2tpvVpKlvig=
|
||||
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0=
|
||||
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A=
|
||||
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y=
|
||||
|
||||
+30
-168
@@ -8,12 +8,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/fs"
|
||||
"net/http"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/files"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/fileutils"
|
||||
@@ -418,21 +416,16 @@ func addFile(source string, path string, d *requestContext, tarWriter *tar.Write
|
||||
|
||||
if fileInfo.IsDir() {
|
||||
if tarWriter != nil {
|
||||
header, err := tar.FileInfoHeader(fileInfo, "")
|
||||
if err != nil {
|
||||
return err
|
||||
header := &tar.Header{
|
||||
Name: relPath + "/",
|
||||
Mode: int64(fileutils.PermDir),
|
||||
Typeflag: tar.TypeDir,
|
||||
ModTime: fileInfo.ModTime(),
|
||||
}
|
||||
header.Name = relPath + "/"
|
||||
return tarWriter.WriteHeader(header)
|
||||
}
|
||||
if zipWriter != nil {
|
||||
zh, err := zip.FileInfoHeader(fileInfo)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
zh.Name = relPath + "/"
|
||||
zh.Method = zip.Store
|
||||
_, err = zipWriter.CreateHeader(zh)
|
||||
_, err := zipWriter.Create(relPath + "/")
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
@@ -670,117 +663,6 @@ func safeExtractPath(destDir, name string) (string, error) {
|
||||
return abs, nil
|
||||
}
|
||||
|
||||
// applyArchivedTimesAndPerm sets permission bits and modification time from an archive entry using
|
||||
func applyArchivedTimesAndPerm(path string, mode fs.FileMode, modTime time.Time) error {
|
||||
switch {
|
||||
case mode.Type() == fs.ModeSymlink:
|
||||
if !modTime.IsZero() {
|
||||
_ = os.Chtimes(path, modTime, modTime)
|
||||
}
|
||||
return nil
|
||||
case mode.Type() == fs.ModeDir:
|
||||
if p := mode.Perm(); p != 0 {
|
||||
_ = os.Chmod(path, p)
|
||||
}
|
||||
if modTime.IsZero() {
|
||||
return nil
|
||||
}
|
||||
return os.Chtimes(path, modTime, modTime)
|
||||
case mode.IsRegular():
|
||||
if p := mode.Perm(); p != 0 {
|
||||
_ = os.Chmod(path, p)
|
||||
}
|
||||
if modTime.IsZero() {
|
||||
return nil
|
||||
}
|
||||
return os.Chtimes(path, modTime, modTime)
|
||||
default:
|
||||
if !modTime.IsZero() {
|
||||
_ = os.Chtimes(path, modTime, modTime)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// symlinkTargetStaysUnderDest rejects absolute targets and paths that would resolve outside destRoot.
|
||||
func symlinkTargetStaysUnderDest(destRoot, destPath, linkname string) error {
|
||||
if linkname == "" {
|
||||
return fmt.Errorf("empty symlink target")
|
||||
}
|
||||
if filepath.IsAbs(linkname) {
|
||||
return fmt.Errorf("symlink has absolute target")
|
||||
}
|
||||
destAbs, err := filepath.Abs(destRoot)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
resolved := filepath.Clean(filepath.Join(filepath.Dir(destPath), linkname))
|
||||
resAbs, err := filepath.Abs(resolved)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
sep := string(filepath.Separator)
|
||||
if resAbs != destAbs && !strings.HasPrefix(resAbs, destAbs+sep) {
|
||||
return fmt.Errorf("symlink target escapes destination directory")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// extractArchivedDir creates a directory from an archive entry and reapplies mode and mtime.
|
||||
func extractArchivedDir(destPath string, mode fs.FileMode, modTime time.Time) error {
|
||||
perm := mode.Perm()
|
||||
if perm == 0 {
|
||||
perm = fileutils.PermDir
|
||||
}
|
||||
if err := os.MkdirAll(destPath, perm); err != nil {
|
||||
return err
|
||||
}
|
||||
return applyArchivedTimesAndPerm(destPath, mode, modTime)
|
||||
}
|
||||
|
||||
// extractArchivedRegularFile writes one regular file from src (closed by this function) and reapplies mode and mtime.
|
||||
func extractArchivedRegularFile(destPath string, mode fs.FileMode, modTime time.Time, src io.ReadCloser) error {
|
||||
defer func() { _ = src.Close() }()
|
||||
if err := os.MkdirAll(filepath.Dir(destPath), fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
perm := mode.Perm()
|
||||
if perm == 0 {
|
||||
perm = fileutils.PermFile
|
||||
}
|
||||
out, err := os.OpenFile(destPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, copyErr := io.Copy(out, src)
|
||||
cerr := out.Close()
|
||||
if copyErr != nil {
|
||||
return copyErr
|
||||
}
|
||||
if cerr != nil {
|
||||
return cerr
|
||||
}
|
||||
return applyArchivedTimesAndPerm(destPath, mode, modTime)
|
||||
}
|
||||
|
||||
// extractArchivedSymlink creates a symlink after validating the target stays under destRoot.
|
||||
func extractArchivedSymlink(destRoot, destPath, target string, modTime time.Time) error {
|
||||
target = strings.TrimSpace(target)
|
||||
if err := os.MkdirAll(filepath.Dir(destPath), fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := symlinkTargetStaysUnderDest(destRoot, destPath, target); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := os.Remove(destPath); err != nil && !os.IsNotExist(err) {
|
||||
return err
|
||||
}
|
||||
if err := os.Symlink(target, destPath); err != nil {
|
||||
return err
|
||||
}
|
||||
return applyArchivedTimesAndPerm(destPath, fs.ModeSymlink, modTime)
|
||||
}
|
||||
|
||||
func extractZip(archivePath, destDir string) error {
|
||||
r, err := zip.OpenReader(archivePath)
|
||||
if err != nil {
|
||||
@@ -789,49 +671,33 @@ func extractZip(archivePath, destDir string) error {
|
||||
defer r.Close()
|
||||
|
||||
for _, f := range r.File {
|
||||
var destPath string
|
||||
destPath, err = safeExtractPath(destDir, f.Name)
|
||||
destPath, err := safeExtractPath(destDir, f.Name)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
fi := f.FileInfo()
|
||||
mode := fi.Mode()
|
||||
|
||||
if mode.Type() == fs.ModeDir || strings.HasSuffix(f.Name, "/") {
|
||||
if err = extractArchivedDir(destPath, mode, f.Modified); err != nil {
|
||||
if f.FileInfo().IsDir() {
|
||||
if err = os.MkdirAll(destPath, fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
if mode.Type() == fs.ModeSymlink {
|
||||
var rc io.ReadCloser
|
||||
rc, err = f.Open()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
buf, rerr := io.ReadAll(rc)
|
||||
rc.Close()
|
||||
if rerr != nil {
|
||||
return rerr
|
||||
}
|
||||
if err = extractArchivedSymlink(destDir, destPath, string(buf), f.Modified); err != nil {
|
||||
return err
|
||||
}
|
||||
continue
|
||||
if err = os.MkdirAll(filepath.Dir(destPath), fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if !mode.IsRegular() {
|
||||
continue
|
||||
}
|
||||
|
||||
var rc io.ReadCloser
|
||||
rc, err = f.Open()
|
||||
out, err := os.OpenFile(destPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, fileutils.PermFile)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err = extractArchivedRegularFile(destPath, mode, f.Modified, rc); err != nil {
|
||||
rc, err := f.Open()
|
||||
if err != nil {
|
||||
out.Close()
|
||||
return err
|
||||
}
|
||||
_, err = io.Copy(out, rc)
|
||||
rc.Close()
|
||||
out.Close()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
@@ -860,33 +726,29 @@ func extractTarGz(archivePath, destDir string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var destPath string
|
||||
destPath, err = safeExtractPath(destDir, h.Name)
|
||||
destPath, err := safeExtractPath(destDir, h.Name)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
switch h.Typeflag {
|
||||
case tar.TypeDir:
|
||||
mode := h.FileInfo().Mode()
|
||||
if err = extractArchivedDir(destPath, mode, h.ModTime); err != nil {
|
||||
if err := os.MkdirAll(destPath, fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
case tar.TypeReg:
|
||||
mode := h.FileInfo().Mode()
|
||||
if err = extractArchivedRegularFile(destPath, mode, h.ModTime, io.NopCloser(tr)); err != nil {
|
||||
if err := os.MkdirAll(filepath.Dir(destPath), fileutils.PermDir); err != nil {
|
||||
return err
|
||||
}
|
||||
case tar.TypeSymlink:
|
||||
if err = extractArchivedSymlink(destDir, destPath, h.Linkname, h.ModTime); err != nil {
|
||||
out, err := os.OpenFile(destPath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, fileutils.PermFile)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
default:
|
||||
if h.Size > 0 {
|
||||
if _, err = io.CopyN(io.Discard, tr, h.Size); err != nil {
|
||||
return err
|
||||
}
|
||||
if _, err := io.Copy(out, tr); err != nil {
|
||||
out.Close()
|
||||
return err
|
||||
}
|
||||
out.Close()
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
@@ -119,7 +119,6 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch
|
||||
api.HandleFunc("POST /resources/unarchive", withUser(unarchiveHandler))
|
||||
api.HandleFunc("GET /resources/download", withUser(downloadHandler))
|
||||
api.HandleFunc("GET /resources/preview", withTimeout(60*time.Second, withUserHelper(previewHandler)))
|
||||
api.HandleFunc("POST /resources/pause", withUser(resourcePauseHandler))
|
||||
publicApi.HandleFunc("GET /resources", withHashFile(publicGetResourceHandler))
|
||||
publicApi.HandleFunc("GET /resources/items", withHashFile(publicItemsGetHandler))
|
||||
publicApi.HandleFunc("POST /resources", withHashFile(publicUploadHandler))
|
||||
@@ -129,7 +128,6 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch
|
||||
publicApi.HandleFunc("PATCH /resources", withHashFile(publicPatchHandler))
|
||||
publicApi.HandleFunc("GET /resources/download", withHashFile(publicDownloadHandler))
|
||||
publicApi.HandleFunc("GET /resources/preview", withHashFile(publicPreviewHandler))
|
||||
publicApi.HandleFunc("POST /resources/pause", withHashFile(publicPauseHandler))
|
||||
// Legacy routes (backwards compatibility)
|
||||
api.HandleFunc("GET /raw", withUser(downloadHandler))
|
||||
publicApi.HandleFunc("GET /raw", withHashFile(publicDownloadHandler))
|
||||
@@ -173,11 +171,9 @@ func StartHttp(ctx context.Context, storage *bolt.BoltStore, shutdownComplete ch
|
||||
api.HandleFunc("GET /tools/fileWatcher/sse", withUser(fileWatchSSEHandler))
|
||||
|
||||
// ========================================
|
||||
// Media Routes - /api/media/ (with public routes)
|
||||
// Media Routes - /api/media/
|
||||
// ========================================
|
||||
api.HandleFunc("GET /media/subtitles", withUser(subtitlesHandler))
|
||||
api.HandleFunc("GET /media/metadata", withUser(metadataHandler))
|
||||
publicApi.HandleFunc("GET /media/metadata", withHashFile(publicMetadataHandler))
|
||||
|
||||
// ========================================
|
||||
// OnlyOffice Routes - /api/office/ (with public routes)
|
||||
|
||||
@@ -80,11 +80,17 @@ func TestPickUserEntry(t *testing.T) {
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
got := pickUserEntry(tt.entries)
|
||||
if tt.wantNil && got != nil {
|
||||
t.Errorf("pickUserEntry() = %v, want nil", got)
|
||||
if tt.wantNil {
|
||||
if got != nil {
|
||||
t.Errorf("pickUserEntry() = %v, want nil", got)
|
||||
}
|
||||
return
|
||||
}
|
||||
if !tt.wantNil && got == nil {
|
||||
t.Errorf("pickUserEntry() = nil, want non-nil entry")
|
||||
if got == nil {
|
||||
t.Fatal("pickUserEntry() = nil, want non-nil entry")
|
||||
}
|
||||
if got.DN != tt.wantDN {
|
||||
t.Errorf("pickUserEntry() DN = %v, want %v", got.DN, tt.wantDN)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -8,8 +8,6 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/files"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/common/settings"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/common/utils"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/ffmpeg"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/indexing"
|
||||
@@ -101,77 +99,3 @@ func subtitlesHandler(w http.ResponseWriter, r *http.Request, d *requestContext)
|
||||
http.ServeContent(w, r, name, time.Now(), bytes.NewReader([]byte(content)))
|
||||
return http.StatusOK, nil
|
||||
}
|
||||
|
||||
// metadataHandler returns the same directory resource shape as GET /api/resources with metadata enabled,
|
||||
// for client-side patching after a fast listing load.
|
||||
// @Summary Directory with media metadata
|
||||
// @Description Same ExtendedFileInfo as resources GET with metadata=true (typically used for directories).
|
||||
// @Tags Resources
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param path query string true "Path to the directory or file"
|
||||
// @Param source query string true "Source name"
|
||||
// @Param albumArt query bool false "When true, include embedded album art bytes in audio metadata"
|
||||
// @Success 200 {object} iteminfo.ExtendedFileInfo
|
||||
// @Failure 403 {object} map[string]string "Forbidden"
|
||||
// @Failure 404 {object} map[string]string "Not found"
|
||||
// @Router /api/media/metadata [get]
|
||||
func metadataHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) {
|
||||
path := r.URL.Query().Get("path")
|
||||
source := r.URL.Query().Get("source")
|
||||
albumArt := r.URL.Query().Get("albumArt") == "true"
|
||||
fileInfo, err := files.FileInfoFaster(utils.FileOptions{
|
||||
FollowSymlinks: true,
|
||||
Path: path,
|
||||
Source: source,
|
||||
Expand: true,
|
||||
Content: false,
|
||||
Metadata: true,
|
||||
AlbumArt: albumArt,
|
||||
ExtractEmbeddedSubtitles: settings.Config.Integrations.Media.ExtractEmbeddedSubtitles,
|
||||
ShowHidden: d.user.ShowHidden,
|
||||
SkipExtendedAttrs: false,
|
||||
ShowSharedAttr: true,
|
||||
}, store.Access, d.user, store.Share)
|
||||
if err != nil {
|
||||
return errToStatus(err), err
|
||||
}
|
||||
return renderJSON(w, r, fileInfo)
|
||||
}
|
||||
|
||||
// publicMetadataHandler is the share-link variant of metadataHandler.
|
||||
// @Summary Directory with media metadata (public share)
|
||||
// @Tags Shares
|
||||
// @Produce json
|
||||
// @Param hash query string true "Share hash"
|
||||
// @Param path query string false "Path within the share"
|
||||
// @Param albumArt query bool false "When true, include embedded album art bytes in audio metadata (heavier)"
|
||||
// @Success 200 {object} iteminfo.ExtendedFileInfo
|
||||
// @Router /public/api/media/metadata [get]
|
||||
func publicMetadataHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) {
|
||||
if d.share.ShareType == "upload" {
|
||||
return http.StatusNotImplemented, fmt.Errorf("browsing is disabled for upload shares")
|
||||
}
|
||||
path := r.URL.Query().Get("path")
|
||||
albumArt := r.URL.Query().Get("albumArt") == "true"
|
||||
sourceCfg, ok := config.Server.SourceMap[d.share.Source]
|
||||
if !ok {
|
||||
return http.StatusNotFound, fmt.Errorf("source not found")
|
||||
}
|
||||
fileInfo, err := files.FileInfoFaster(utils.FileOptions{
|
||||
Path: d.IndexPath,
|
||||
Source: sourceCfg.Name,
|
||||
Expand: true,
|
||||
Content: false,
|
||||
Metadata: true,
|
||||
AlbumArt: albumArt,
|
||||
ExtractEmbeddedSubtitles: settings.Config.Integrations.Media.ExtractEmbeddedSubtitles && d.share.ExtractEmbeddedSubtitles,
|
||||
ShowHidden: d.share.ShowHidden,
|
||||
FollowSymlinks: false,
|
||||
}, store.Access, d.shareUser, store.Share)
|
||||
if err != nil {
|
||||
return errToStatus(err), err
|
||||
}
|
||||
fileInfo.Path = utils.AddTrailingSlashIfNotExists(path)
|
||||
return renderJSON(w, r, fileInfo)
|
||||
}
|
||||
@@ -116,9 +116,7 @@ func withHashFileHelper(fn handleFunc) handleFunc {
|
||||
}
|
||||
data.IndexPath = pathWithoutUserScope
|
||||
// skip file fetch for certain apis
|
||||
if (r.Method == "POST" && strings.Contains(r.URL.Path, "/resources")) ||
|
||||
(r.Method == "GET" && strings.Contains(r.URL.Path, "/resources/items")) ||
|
||||
(r.Method == "GET" && strings.Contains(r.URL.Path, "/media/metadata")) {
|
||||
if r.Method == "POST" && strings.Contains(r.URL.Path, "/resources") || r.Method == "GET" && strings.Contains(r.URL.Path, "/resources/items") {
|
||||
return fn(w, r, data)
|
||||
}
|
||||
file, err := FileInfoFasterFunc(utils.FileOptions{
|
||||
@@ -316,11 +314,30 @@ func withoutUserHelper(fn handleFunc) handleFunc {
|
||||
// allow user without OTP to pass
|
||||
func userWithoutOTPhelper(fn handleFunc) handleFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) {
|
||||
|
||||
if config.Auth.Methods.ProxyAuth.Enabled {
|
||||
proxyUser := r.Header.Get(config.Auth.Methods.ProxyAuth.Header)
|
||||
if proxyUser != "" {
|
||||
return getProxyUser(w, r, d, fn, proxyUser)
|
||||
// Check if request has a valid admin token first
|
||||
if tokenStr, err := extractToken(r); err == nil && tokenStr != "" {
|
||||
keyFunc := func(token *jwt.Token) (interface{}, error) {
|
||||
return []byte(config.Auth.Key), nil
|
||||
}
|
||||
var tk users.AuthToken
|
||||
if token, err := jwt.ParseWithClaims(tokenStr, &tk, keyFunc); err == nil && token.Valid {
|
||||
if !auth.IsRevokedApiToken(store.Access, tokenStr) {
|
||||
if tk.BelongsTo == 0 {
|
||||
// Minimal token - look up user ID
|
||||
userID, found := store.Access.GetUserIDFromToken(tokenStr)
|
||||
if found {
|
||||
tk.BelongsTo = userID
|
||||
}
|
||||
}
|
||||
if tk.BelongsTo > 0 {
|
||||
user, err := store.Users.Get(tk.BelongsTo)
|
||||
if err == nil && user.Permissions.Admin {
|
||||
// Valid admin token - allow operation
|
||||
d.user = user
|
||||
return fn(w, r, d)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+24
-101
@@ -42,112 +42,34 @@ func (u *userInfoUnmarshaller) UnmarshalJSON(data []byte) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Extract groups if configured (supports nested claims like "resource_access.filebrowser-client.roles")
|
||||
// Extract groups if configured
|
||||
if u.groupsClaim != "" {
|
||||
u.userInfo.Groups = extractGroupsFromOIDCClaims(raw, u.groupsClaim)
|
||||
}
|
||||
|
||||
u.userInfo.Claims = raw
|
||||
return nil
|
||||
}
|
||||
|
||||
// extractGroupsFromOIDCClaims extracts groups from OIDC claims supporting nested paths.
|
||||
// Supports both direct claims (e.g., "groups") and nested claims using '.' separator (e.g., "resource_access.filebrowser-client.roles")
|
||||
func extractGroupsFromOIDCClaims(claims map[string]interface{}, groupsClaimField string) []string {
|
||||
var groups []string
|
||||
|
||||
if groupsClaimField == "" {
|
||||
return groups
|
||||
}
|
||||
|
||||
// Try to resolve nested path first (e.g., "custom.groups")
|
||||
groupsVal := resolveOIDCNestedClaim(claims, groupsClaimField)
|
||||
|
||||
if groupsVal == nil {
|
||||
// If nested path didn't work, try direct lookup
|
||||
if val, ok := claims[groupsClaimField]; ok {
|
||||
groupsVal = val
|
||||
}
|
||||
}
|
||||
|
||||
if groupsVal != nil {
|
||||
groups = parseOIDCGroupsValue(groupsVal)
|
||||
}
|
||||
|
||||
return groups
|
||||
}
|
||||
|
||||
// resolveOIDCNestedClaim resolves nested OIDC claims using '.' as a separator
|
||||
func resolveOIDCNestedClaim(claims map[string]interface{}, path string) interface{} {
|
||||
parts := strings.Split(path, ".")
|
||||
current := interface{}(claims)
|
||||
|
||||
for _, part := range parts {
|
||||
switch v := current.(type) {
|
||||
case map[string]interface{}:
|
||||
if val, ok := v[part]; ok {
|
||||
current = val
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
return current
|
||||
}
|
||||
|
||||
// parseOIDCGroupsValue parses OIDC claim values into a string slice of groups
|
||||
// Returns nil for missing/empty non-array values, []string{} for empty arrays
|
||||
func parseOIDCGroupsValue(groupsVal interface{}) []string {
|
||||
var groups []string
|
||||
|
||||
switch val := groupsVal.(type) {
|
||||
case map[string]interface{}:
|
||||
// Groups as map keys - return empty slice for empty map
|
||||
groups = slices.Collect(maps.Keys(val))
|
||||
case []interface{}:
|
||||
// Groups as array of interfaces - always initialize as empty slice for arrays
|
||||
groups = []string{}
|
||||
for _, g := range val {
|
||||
if groupStr, ok := g.(string); ok {
|
||||
groups = append(groups, strings.TrimSpace(groupStr))
|
||||
}
|
||||
}
|
||||
case []string:
|
||||
// Groups as array of strings - always initialize as empty slice for arrays
|
||||
groups = val
|
||||
if groups == nil {
|
||||
groups = []string{}
|
||||
}
|
||||
case string:
|
||||
// Single group as string or comma-separated groups
|
||||
// Return nil for empty strings, parsed array otherwise
|
||||
if val != "" {
|
||||
parts := strings.Split(val, ",")
|
||||
for i := range parts {
|
||||
parts[i] = strings.TrimSpace(parts[i])
|
||||
}
|
||||
groups = parts
|
||||
}
|
||||
// else: groups stays nil for empty string
|
||||
default:
|
||||
// Try to unmarshal as JSON array
|
||||
if jsonBytes, err := json.Marshal(val); err == nil {
|
||||
var groupsArray []string
|
||||
if err := json.Unmarshal(jsonBytes, &groupsArray); err == nil {
|
||||
// Initialize as empty slice if array was parsed
|
||||
if groupsArray == nil {
|
||||
groups = []string{}
|
||||
} else {
|
||||
groups = groupsArray
|
||||
if v, ok := raw[u.groupsClaim]; ok {
|
||||
switch val := v.(type) {
|
||||
case map[string]interface{}:
|
||||
u.userInfo.Groups = slices.Collect(maps.Keys(val))
|
||||
case []interface{}:
|
||||
groups := make([]string, len(val))
|
||||
for i, g := range val {
|
||||
if s, ok := g.(string); ok {
|
||||
groups[i] = strings.TrimSpace(s)
|
||||
}
|
||||
}
|
||||
u.userInfo.Groups = groups
|
||||
case string:
|
||||
if val != "" {
|
||||
parts := strings.Split(val, ",")
|
||||
for i := range parts {
|
||||
parts[i] = strings.TrimSpace(parts[i])
|
||||
}
|
||||
u.userInfo.Groups = parts
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return groups
|
||||
u.userInfo.Claims = raw
|
||||
return nil
|
||||
}
|
||||
|
||||
// oidcLoginHandler initiates OIDC login.
|
||||
@@ -255,7 +177,7 @@ func oidcCallbackHandler(w http.ResponseWriter, r *http.Request, d *requestConte
|
||||
|
||||
// --- Attempt to process ID Token ---
|
||||
if ok && rawIDToken != "" {
|
||||
logger.Debugf("ID token found in token response, attempting verification. Raw ID Token: %s", rawIDToken)
|
||||
logger.Debug("ID token found in token response, attempting verification.")
|
||||
|
||||
// Verify the ID token
|
||||
// This uses the verifier initialized with the provider's JWKS endpoint and client ID
|
||||
@@ -280,6 +202,7 @@ func oidcCallbackHandler(w http.ResponseWriter, r *http.Request, d *requestConte
|
||||
claimsFromIDToken = true
|
||||
}
|
||||
}
|
||||
logger.Debugf("Failed to verify ID token: %v", verify_err)
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
@@ -114,64 +114,6 @@ func TestUserInfoUnmarshaller(t *testing.T) {
|
||||
Groups: []string{"admins"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "nested single-level claim",
|
||||
jsonData: `{"username":"john","custom":{"groups":["admin","users"]}}`,
|
||||
groupsClaim: "custom.groups",
|
||||
expected: userInfo{
|
||||
Claims: map[string]interface{}{
|
||||
"username": "john",
|
||||
"custom": map[string]interface{}{
|
||||
"groups": []interface{}{"admin","users"},
|
||||
},
|
||||
},
|
||||
Groups: []string{"admin", "users"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "keycloak resource_access nested structure",
|
||||
jsonData: `{"sub":"user123","resource_access":{"filebrowser-client":{"roles":["admin","editor","viewer"]}}}`,
|
||||
groupsClaim: "resource_access.filebrowser-client.roles",
|
||||
expected: userInfo{
|
||||
Claims: map[string]interface{}{
|
||||
"sub": "user123",
|
||||
"resource_access": map[string]interface{}{
|
||||
"filebrowser-client": map[string]interface{}{
|
||||
"roles": []interface{}{"admin","editor","viewer"},
|
||||
},
|
||||
},
|
||||
},
|
||||
Groups: []string{"admin", "editor", "viewer"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "nested claim with single string value",
|
||||
jsonData: `{"username":"bob","auth":{"group":"admin"}}`,
|
||||
groupsClaim: "auth.group",
|
||||
expected: userInfo{
|
||||
Claims: map[string]interface{}{
|
||||
"username": "bob",
|
||||
"auth": map[string]interface{}{
|
||||
"group": "admin",
|
||||
},
|
||||
},
|
||||
Groups: []string{"admin"},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "invalid nested path returns empty groups",
|
||||
jsonData: `{"username":"alice","custom":{"roles":["user"]}}`,
|
||||
groupsClaim: "custom.nonexistent.roles",
|
||||
expected: userInfo{
|
||||
Claims: map[string]interface{}{
|
||||
"username": "alice",
|
||||
"custom": map[string]interface{}{
|
||||
"roles": []interface{}{"user"},
|
||||
},
|
||||
},
|
||||
Groups: nil,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
+9
-112
@@ -13,7 +13,6 @@ import (
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/files"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/adapters/fs/fileutils"
|
||||
@@ -23,24 +22,9 @@ import (
|
||||
"github.com/gtsteffaniak/filebrowser/backend/indexing"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/indexing/iteminfo"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/preview"
|
||||
"github.com/gtsteffaniak/go-cache/cache"
|
||||
"github.com/gtsteffaniak/go-logger/logger"
|
||||
)
|
||||
|
||||
var pauseCache = cache.NewCache[string](1 * time.Minute)
|
||||
var publicPauseCache = cache.NewCache[string](1 * time.Minute)
|
||||
|
||||
// pauseCacheKeySep separates segments in pause cache keys (not used in source names/paths).
|
||||
const pauseCacheKeySep = "\x1e"
|
||||
|
||||
func pauseUploadCacheKey(source, path string) string {
|
||||
return source + pauseCacheKeySep + path
|
||||
}
|
||||
|
||||
func publicPauseUploadCacheKey(shareHash, source, indexPath string) string {
|
||||
return shareHash + pauseCacheKeySep + source + pauseCacheKeySep + indexPath
|
||||
}
|
||||
|
||||
// validateMoveOperation checks if a move/rename operation is valid at the HTTP level
|
||||
// It prevents moving a directory into itself or its subdirectories
|
||||
func validateMoveOperation(src, dst string, isSrcDir bool) error {
|
||||
@@ -77,10 +61,10 @@ func validateMoveOperation(src, dst string, isSrcDir bool) error {
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param path query string true "Path to the resource"
|
||||
// @Param skipExtendedAttrs query string false "When true, omit index-level extended fields (e.g. hasPreview); does not disable ffmpeg/media extraction"
|
||||
// @Param skipExtendedAttrs query string false "Skip extended attributes for faster retrieval, no hasPreview"
|
||||
// @Param source query string true "Source name for the desired source, default is used if not provided"
|
||||
// @Param content query string false "Include file content if true"
|
||||
// @Param metadata query string false "When true, run audio/video metadata extraction, subtitles, and directory media batch processing"
|
||||
// @Param metadata query string false "Extract audio/video metadata if true"
|
||||
// @Param checksum query string false "Optional checksum validation"
|
||||
// @Success 200 {object} iteminfo.FileInfo "Resource metadata"
|
||||
// @Failure 404 {object} map[string]string "Resource not found"
|
||||
@@ -383,74 +367,6 @@ func resourceBulkDeleteHandler(w http.ResponseWriter, r *http.Request, d *reques
|
||||
return renderJSON(w, r, response, statusCode)
|
||||
}
|
||||
|
||||
// resourcePauseHandler registers a graceful pause for an in-flight chunked upload.
|
||||
// Call immediately before aborting the chunk POST so the server keeps partial data.
|
||||
// @Summary Register graceful chunked upload pause
|
||||
// @Description Sets a short-lived server flag for the given source and path. When the active chunk POST then fails (e.g. client abort), the server trims the incomplete chunk but keeps the temp partial file for resume.
|
||||
// @Tags Resources
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param path query string true "Destination path (same as upload)"
|
||||
// @Param source query string true "Source name (same as upload)"
|
||||
// @Success 200 "Pause registered"
|
||||
// @Failure 400 {object} map[string]string "Bad request"
|
||||
// @Failure 403 {object} map[string]string "Forbidden"
|
||||
// @Failure 404 {object} map[string]string "Source not found"
|
||||
// @Router /api/resources/pause [post]
|
||||
func resourcePauseHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) {
|
||||
if d.share != nil {
|
||||
return http.StatusBadRequest, fmt.Errorf("use public pause endpoint for share uploads")
|
||||
}
|
||||
if !d.user.Permissions.Create {
|
||||
return http.StatusForbidden, fmt.Errorf("user is not allowed to pause uploads")
|
||||
}
|
||||
path := r.URL.Query().Get("path")
|
||||
source := r.URL.Query().Get("source")
|
||||
cleanPath, err := utils.SanitizeUserPath(path)
|
||||
if err != nil {
|
||||
return http.StatusBadRequest, err
|
||||
}
|
||||
path = cleanPath
|
||||
idx := indexing.GetIndex(source)
|
||||
if idx == nil {
|
||||
logger.Debugf("source %s not found", source)
|
||||
return http.StatusNotFound, fmt.Errorf("source %s not found", source)
|
||||
}
|
||||
if _, err := d.user.GetScopeForSourceName(source); err != nil {
|
||||
return http.StatusForbidden, err
|
||||
}
|
||||
if !store.Access.Permitted(idx.Path, path, d.user.Username) {
|
||||
return http.StatusForbidden, fmt.Errorf("access denied to path %s", path)
|
||||
}
|
||||
pauseCache.Set(pauseUploadCacheKey(source, path), "1")
|
||||
return http.StatusOK, nil
|
||||
}
|
||||
|
||||
// publicPauseHandler registers a graceful pause for a public share chunked upload.
|
||||
// @Summary Register graceful chunked upload pause (public share)
|
||||
// @Description Same as authenticated pause, for upload shares. Uses hash and path query parameters like other public resource APIs.
|
||||
// @Tags Shares
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Param hash query string true "Share hash"
|
||||
// @Param path query string true "Path within the share (same as upload)"
|
||||
// @Success 200 "Pause registered"
|
||||
// @Failure 403 {object} map[string]string "Forbidden"
|
||||
// @Failure 404 {object} map[string]string "Source not found"
|
||||
// @Router /public/api/resources/pause [post]
|
||||
func publicPauseHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (int, error) {
|
||||
if d.share.ShareType != "upload" && !d.share.AllowCreate {
|
||||
return http.StatusForbidden, fmt.Errorf("pausing uploads is not allowed for this share")
|
||||
}
|
||||
src, ok := config.Server.SourceMap[d.share.Source]
|
||||
if !ok {
|
||||
return http.StatusNotFound, fmt.Errorf("source not found")
|
||||
}
|
||||
sourceName := src.Name
|
||||
publicPauseCache.Set(publicPauseUploadCacheKey(d.share.Hash, sourceName, d.IndexPath), "1")
|
||||
return http.StatusOK, nil
|
||||
}
|
||||
|
||||
// resourcePostHandler creates or uploads a new resource.
|
||||
// @Summary Create or upload a resource
|
||||
// @Description Creates a new resource or uploads a file at the specified path. Supports file uploads and directory creation.
|
||||
@@ -590,7 +506,13 @@ func resourcePostHandler(w http.ResponseWriter, r *http.Request, d *requestConte
|
||||
// Create a unique name for the temporary file to avoid collisions.
|
||||
hasher := md5.New()
|
||||
hasher.Write([]byte(realPath))
|
||||
tempFilePath := fmt.Sprintf("%s.%s.uploading.tmp", realPath, hex.EncodeToString(hasher.Sum(nil)))
|
||||
uploadID := hex.EncodeToString(hasher.Sum(nil))
|
||||
tempFilePath := filepath.Join(settings.Config.Server.CacheDir, "uploads", uploadID)
|
||||
|
||||
if err = os.MkdirAll(filepath.Dir(tempFilePath), fileutils.PermDir); err != nil {
|
||||
logger.Debugf("could not create temp dir: %v", err)
|
||||
return http.StatusInternalServerError, fmt.Errorf("could not create temp dir: %v", err)
|
||||
}
|
||||
// Create or open the temporary file
|
||||
var outFile *os.File
|
||||
outFile, err = os.OpenFile(tempFilePath, os.O_CREATE|os.O_WRONLY, fileutils.PermFile)
|
||||
@@ -612,31 +534,6 @@ func resourcePostHandler(w http.ResponseWriter, r *http.Request, d *requestConte
|
||||
chunkSize, err = io.Copy(outFile, r.Body)
|
||||
if err != nil {
|
||||
logger.Debugf("could not write chunk to temp file: %v", err)
|
||||
if truncErr := outFile.Truncate(offset); truncErr != nil {
|
||||
logger.Debugf("could not truncate temp file after failed chunk (offset=%d): %v", offset, truncErr)
|
||||
}
|
||||
_ = outFile.Sync()
|
||||
|
||||
gracefulPause := false
|
||||
if d.share != nil {
|
||||
k := publicPauseUploadCacheKey(d.share.Hash, source, path)
|
||||
if _, ok := publicPauseCache.Get(k); ok {
|
||||
gracefulPause = true
|
||||
publicPauseCache.Delete(k)
|
||||
}
|
||||
} else {
|
||||
k := pauseUploadCacheKey(source, path)
|
||||
if _, ok := pauseCache.Get(k); ok {
|
||||
gracefulPause = true
|
||||
pauseCache.Delete(k)
|
||||
}
|
||||
}
|
||||
|
||||
if gracefulPause {
|
||||
logger.Debugf("chunk upload ended after graceful pause; keeping partial file (source=%s path=%s)", source, path)
|
||||
return 499, nil
|
||||
}
|
||||
_ = os.Remove(tempFilePath)
|
||||
return http.StatusInternalServerError, fmt.Errorf("could not write chunk to temp file: %v", err)
|
||||
}
|
||||
// check if the file is complete
|
||||
|
||||
+8
-11
@@ -14,14 +14,14 @@ import (
|
||||
)
|
||||
|
||||
type searchOptions struct {
|
||||
query string
|
||||
sources []string
|
||||
searchScope string
|
||||
combinedPath map[string]string // source -> combinedPath
|
||||
sessionId string
|
||||
largest bool
|
||||
olderThanUnix int64 // optional; 0 = unset. Modified time must be strictly before this Unix second.
|
||||
newerThanUnix int64 // optional; 0 = unset. Modified time must be >= this Unix second.
|
||||
query string
|
||||
sources []string
|
||||
searchScope string
|
||||
combinedPath map[string]string // source -> combinedPath
|
||||
sessionId string
|
||||
largest bool
|
||||
olderThanUnix int64 // optional; 0 = unset. Modified time must be strictly before this Unix second.
|
||||
newerThanUnix int64 // optional; 0 = unset. Modified time must be >= this Unix second.
|
||||
}
|
||||
|
||||
// searchHandler handles search requests for files based on the provided query.
|
||||
@@ -143,9 +143,6 @@ func prepSearchOptions(r *http.Request, d *requestContext) (*searchOptions, erro
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if scope == "" {
|
||||
scope = "/"
|
||||
}
|
||||
cleanScope, err := utils.SanitizeUserPath(scope)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid scope: %v", err)
|
||||
|
||||
@@ -214,7 +214,6 @@ func handleWithStaticData(w http.ResponseWriter, r *http.Request, d *requestCont
|
||||
"externalUrl": strings.TrimSuffix(config.Server.ExternalUrl, "/"),
|
||||
"onlyOfficeUrl": settings.Config.Integrations.OnlyOffice.Url,
|
||||
"oidcAvailable": config.Auth.Methods.OidcAuth.Enabled,
|
||||
"jwtAvailable": config.Auth.Methods.JwtAuth.Enabled,
|
||||
"proxyAvailable": config.Auth.Methods.ProxyAuth.Enabled,
|
||||
"passwordAvailable": config.Auth.Methods.PasswordAuth.Enabled,
|
||||
"ldapAvailable": config.Auth.Methods.LdapAuth.Enabled,
|
||||
|
||||
+1
-54
@@ -5,7 +5,6 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"slices"
|
||||
"sort"
|
||||
"strconv"
|
||||
@@ -13,7 +12,6 @@ import (
|
||||
|
||||
"github.com/gtsteffaniak/filebrowser/backend/auth"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/common/errors"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/common/utils"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/database/storage"
|
||||
"github.com/gtsteffaniak/filebrowser/backend/database/users"
|
||||
"github.com/gtsteffaniak/go-logger/logger"
|
||||
@@ -257,59 +255,16 @@ func usersPostHandler(w http.ResponseWriter, r *http.Request, d *requestContext)
|
||||
return http.StatusCreated, nil
|
||||
}
|
||||
|
||||
// passwordUpdateRequested reports whether the client intends to change the target user's password
|
||||
// (non-empty new password and "password" in the which list). This matches storage parseFields behavior.
|
||||
func passwordUpdateRequested(req *UserRequest) bool {
|
||||
if req.User.Password == "" {
|
||||
return false
|
||||
}
|
||||
for _, w := range req.Which {
|
||||
if strings.EqualFold(w, "password") {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// verifyActorPasswordForUserPasswordChange ensures the authenticated actor re-proves their password
|
||||
// when changing another user's or their own password via PUT. Requires URL-encoded X-Password (same as login).
|
||||
func verifyActorPasswordForUserPasswordChange(r *http.Request, d *requestContext, target *users.User) (int, error) {
|
||||
if d.user.LoginMethod != users.LoginMethodPassword || target.LoginMethod != users.LoginMethodPassword {
|
||||
return http.StatusForbidden, fmt.Errorf("password can only be changed when both accounts use password login")
|
||||
}
|
||||
encoded := r.Header.Get("X-Password")
|
||||
if encoded == "" {
|
||||
return http.StatusUnauthorized, fmt.Errorf("X-Password header is required to confirm your password")
|
||||
}
|
||||
plain, err := url.QueryUnescape(encoded)
|
||||
if err != nil {
|
||||
return http.StatusBadRequest, fmt.Errorf("invalid password encoding")
|
||||
}
|
||||
if plain == "" {
|
||||
return http.StatusUnauthorized, fmt.Errorf("X-Password header is required to confirm your password")
|
||||
}
|
||||
actor, err := store.Users.Get(d.user.ID)
|
||||
if err != nil {
|
||||
return http.StatusInternalServerError, err
|
||||
}
|
||||
if err := utils.CheckPwd(plain, actor.Password); err != nil {
|
||||
return http.StatusUnauthorized, fmt.Errorf("invalid password")
|
||||
}
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
// userPutHandler updates an existing user's details.
|
||||
// @Summary Update a user's details
|
||||
// @Description Updates the details of a user identified by ID. When updating the target user's password the actor must send their current password in the X-Password header
|
||||
// @Description Updates the details of a user identified by ID.
|
||||
// @Tags Users
|
||||
// @Accept json
|
||||
// @Param id query string false "user ID to update"
|
||||
// @Param id query string false "usename to update"
|
||||
// @Param X-Password header string false "Actor's current password (URL-encoded); required when changing a password user's password"
|
||||
// @Param data body users.User true "User data to update"
|
||||
// @Success 204 "No Content - User updated successfully"
|
||||
// @Failure 400 {object} map[string]string "Bad Request"
|
||||
// @Failure 401 {object} map[string]string "Unauthorized - invalid or missing actor password for password change"
|
||||
// @Failure 403 {object} map[string]string "Forbidden"
|
||||
// @Failure 500 {object} map[string]string "Internal Server Error"
|
||||
// @Router /api/users [put]
|
||||
@@ -361,14 +316,6 @@ func userPutHandler(w http.ResponseWriter, r *http.Request, d *requestContext) (
|
||||
return http.StatusBadRequest, fmt.Errorf("failed to get user: %w", err)
|
||||
}
|
||||
|
||||
if passwordUpdateRequested(&req) {
|
||||
var status int
|
||||
status, err = verifyActorPasswordForUserPasswordChange(r, d, oldUser)
|
||||
if err != nil {
|
||||
return status, err
|
||||
}
|
||||
}
|
||||
|
||||
err = store.Users.Update(&req.User, d.user.Permissions.Admin, req.Which...)
|
||||
if err != nil {
|
||||
return http.StatusBadRequest, err
|
||||
|
||||
@@ -210,6 +210,10 @@ func TestProcessDirectoryItem(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if itemInfo == nil {
|
||||
t.Fatalf("expected non-nil itemInfo")
|
||||
}
|
||||
|
||||
if size != tt.expectSize {
|
||||
t.Errorf("expected size=%d, got %d", tt.expectSize, size)
|
||||
}
|
||||
|
||||
@@ -282,7 +282,6 @@ var model3DMimeType = map[string]string{
|
||||
".gltf": "model/gltf+json",
|
||||
".glb": "model/gltf-binary",
|
||||
".obj": "model/obj",
|
||||
".fbx": "model/fbx",
|
||||
".stl": "model/stl",
|
||||
".ply": "model/ply",
|
||||
".dae": "model/vnd.collada+xml",
|
||||
|
||||
@@ -56,5 +56,6 @@ type ExtendedFileInfo struct {
|
||||
OnlyOfficeId string `json:"onlyOfficeId,omitempty"` // id for onlyoffice files
|
||||
Source string `json:"source,omitempty"` // associated index source for the file
|
||||
Hash string `json:"hash,omitempty"` // hash for the file -- used for sharing
|
||||
HasMetadata bool `json:"hasMetadata"` // whether the file or folder has metadata
|
||||
RealPath string `json:"-"`
|
||||
}
|
||||
@@ -27,8 +27,6 @@ func (i *ExtendedFileInfo) GetSubtitles(parentInfo *FileInfo) {
|
||||
if !strings.HasPrefix(i.Type, "video") {
|
||||
return
|
||||
}
|
||||
|
||||
// could be myvideo.mov
|
||||
ext := filepath.Ext(i.Name)
|
||||
baseWithoutExt := strings.TrimSuffix(i.Name, ext)
|
||||
|
||||
@@ -36,29 +34,25 @@ func (i *ExtendedFileInfo) GetSubtitles(parentInfo *FileInfo) {
|
||||
var externalSubs []utils.SubtitleTrack
|
||||
if parentInfo != nil && parentInfo.Files != nil {
|
||||
for _, f := range parentInfo.Files {
|
||||
// handle case myvideo.srt
|
||||
fileExt := filepath.Ext(f.Name)
|
||||
fileBaseWithoutExt := strings.TrimSuffix(f.Name, fileExt)
|
||||
// handle case myvideo.en.srt
|
||||
langExt := filepath.Ext(fileBaseWithoutExt)
|
||||
fileBaseWithoutExt2 := strings.TrimSuffix(fileBaseWithoutExt, langExt)
|
||||
matches := fileBaseWithoutExt == baseWithoutExt || fileBaseWithoutExt2 == baseWithoutExt
|
||||
fileBase := strings.TrimSuffix(f.Name, fileExt)
|
||||
|
||||
// Check if this file has the same base name and a subtitle extension
|
||||
if matches && SubtitleExts[strings.ToLower(fileExt)] {
|
||||
if fileBase == baseWithoutExt && SubtitleExts[strings.ToLower(fileExt)] {
|
||||
track := utils.SubtitleTrack{
|
||||
Name: f.Name,
|
||||
Embedded: false,
|
||||
}
|
||||
|
||||
// Try to infer language from filename patterns like "video.en.srt"
|
||||
parts := strings.Split(fileBaseWithoutExt, ".")
|
||||
parts := strings.Split(fileBase, ".")
|
||||
if len(parts) > 1 {
|
||||
lastPart := parts[len(parts)-1]
|
||||
if len(lastPart) == 2 || len(lastPart) == 3 {
|
||||
track.Language = lastPart
|
||||
}
|
||||
}
|
||||
|
||||
externalSubs = append(externalSubs, track)
|
||||
}
|
||||
}
|
||||
|
||||
+14
-16
@@ -316,7 +316,7 @@ func GetIndexInfo(sourceName string, forceCacheRefresh bool) (ReducedIndex, erro
|
||||
}
|
||||
|
||||
idx.SetUsage(totalBytes)
|
||||
|
||||
|
||||
// Also fetch OS-reported partition used space (total - free)
|
||||
usedAlt, err := fileutils.GetPartitionUsed(sourcePath)
|
||||
if err != nil {
|
||||
@@ -326,7 +326,7 @@ func GetIndexInfo(sourceName string, forceCacheRefresh bool) (ReducedIndex, erro
|
||||
idx.mu.Lock()
|
||||
idx.UsedAlt = usedAlt
|
||||
idx.mu.Unlock()
|
||||
|
||||
|
||||
utils.DiskUsageCache.Set(cacheKey, true)
|
||||
}
|
||||
|
||||
@@ -337,24 +337,22 @@ func GetIndexInfo(sourceName string, forceCacheRefresh bool) (ReducedIndex, erro
|
||||
scannerInfos = append(scannerInfos, &ScannerInfo{
|
||||
Path: scanner.scanPath,
|
||||
CurrentSchedule: scanner.currentSchedule,
|
||||
Stats: Stats{
|
||||
LastScanned: scanner.lastScanned,
|
||||
Complexity: scanner.complexity,
|
||||
QuickScanTime: scanner.quickScanTime,
|
||||
FullScanTime: scanner.fullScanTime,
|
||||
NumDirs: scanner.numDirs,
|
||||
NumFiles: scanner.numFiles,
|
||||
},
|
||||
Stats: Stats{
|
||||
LastScanned: scanner.lastScanned,
|
||||
Complexity: scanner.complexity,
|
||||
QuickScanTime: scanner.quickScanTime,
|
||||
FullScanTime: scanner.fullScanTime,
|
||||
NumDirs: scanner.numDirs,
|
||||
NumFiles: scanner.numFiles,
|
||||
},
|
||||
})
|
||||
}
|
||||
reducedIdx := idx.ReducedIndex
|
||||
var diskUsed uint64
|
||||
rootTotal, ok := idx.GetFolderSize("/")
|
||||
if !ok {
|
||||
logger.Errorf("Failed to get root-level indexed total for index %s", sourceName)
|
||||
// Compute DiskUsed from database (total size of all files indexed)
|
||||
diskUsed, err := idx.db.GetTotalSize(idx.Name)
|
||||
if err != nil {
|
||||
logger.Errorf("Failed to get total size for index %s: %v", sourceName, err)
|
||||
diskUsed = 0
|
||||
} else {
|
||||
diskUsed = rootTotal
|
||||
}
|
||||
reducedIdx.DiskUsed = diskUsed
|
||||
reducedIdx.UsedAlt = idx.UsedAlt
|
||||
|
||||
@@ -1074,69 +1074,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/media/metadata": {
|
||||
"get": {
|
||||
"description": "Same ExtendedFileInfo as resources GET with metadata=true (typically used for directories).",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Resources"
|
||||
],
|
||||
"summary": "Directory with media metadata",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path to the directory or file",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Source name",
|
||||
"name": "source",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "When true, include embedded album art bytes in audio metadata",
|
||||
"name": "albumArt",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedFileInfo"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/media/subtitles": {
|
||||
"get": {
|
||||
"description": "Returns raw subtitle content from external files or embedded streams",
|
||||
@@ -1447,7 +1384,7 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "When true, omit index-level extended fields (e.g. hasPreview); does not disable ffmpeg/media extraction",
|
||||
"description": "Skip extended attributes for faster retrieval, no hasPreview",
|
||||
"name": "skipExtendedAttrs",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -1466,7 +1403,7 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "When true, run audio/video metadata extraction, subtitles, and directory media batch processing",
|
||||
"description": "Extract audio/video metadata if true",
|
||||
"name": "metadata",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -2092,69 +2029,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/resources/pause": {
|
||||
"post": {
|
||||
"description": "Sets a short-lived server flag for the given source and path. When the active chunk POST then fails (e.g. client abort), the server trims the incomplete chunk but keeps the temp partial file for resume.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Resources"
|
||||
],
|
||||
"summary": "Register graceful chunked upload pause",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Destination path (same as upload)",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Source name (same as upload)",
|
||||
"name": "source",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Pause registered"
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad request",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Source not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/resources/preview": {
|
||||
"get": {
|
||||
"description": "Returns a preview image based on the requested path and size.",
|
||||
@@ -3076,7 +2950,7 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"description": "Updates the details of a user identified by ID. When updating the target user's password the actor must send their current password in the X-Password header",
|
||||
"description": "Updates the details of a user identified by ID.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -3097,12 +2971,6 @@ const docTemplate = `{
|
||||
"name": "id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Actor's current password (URL-encoded); required when changing a password user's password",
|
||||
"name": "X-Password",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"description": "User data to update",
|
||||
"name": "data",
|
||||
@@ -3126,15 +2994,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized - invalid or missing actor password for password change",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
@@ -3271,46 +3130,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/media/metadata": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Shares"
|
||||
],
|
||||
"summary": "Directory with media metadata (public share)",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Share hash",
|
||||
"name": "hash",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path within the share",
|
||||
"name": "path",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "When true, include embedded album art bytes in audio metadata (heavier)",
|
||||
"name": "albumArt",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedFileInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources": {
|
||||
"get": {
|
||||
"description": "Returns metadata for files or directories accessible via a public share link. Browsing is disabled for upload-only shares.",
|
||||
@@ -3921,60 +3740,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources/pause": {
|
||||
"post": {
|
||||
"description": "Same as authenticated pause, for upload shares. Uses hash and path query parameters like other public resource APIs.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Shares"
|
||||
],
|
||||
"summary": "Register graceful chunked upload pause (public share)",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Share hash",
|
||||
"name": "hash",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path within the share (same as upload)",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Pause registered"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Source not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources/preview": {
|
||||
"get": {
|
||||
"description": "Returns a preview (thumbnail) for images or videos accessible via a public share. Preview generation can be disabled globally or per-share. Not available for upload-only shares.",
|
||||
@@ -4676,99 +4441,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"iteminfo.ExtendedFileInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"checksums": {
|
||||
"description": "checksums for the file",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"description": "text content of a file, if requested",
|
||||
"type": "string"
|
||||
},
|
||||
"files": {
|
||||
"description": "files in the directory with optional metadata",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedItemInfo"
|
||||
}
|
||||
},
|
||||
"folders": {
|
||||
"description": "folders in the directory",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/iteminfo.ItemInfo"
|
||||
}
|
||||
},
|
||||
"hasPreview": {
|
||||
"description": "whether the file has a thumbnail preview",
|
||||
"type": "boolean"
|
||||
},
|
||||
"hash": {
|
||||
"description": "hash for the file -- used for sharing",
|
||||
"type": "string"
|
||||
},
|
||||
"hidden": {
|
||||
"description": "whether the file is hidden",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isShared": {
|
||||
"description": "whether the file or folder is shared",
|
||||
"type": "boolean"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "media metadata for audio/video files (includes duration)",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/iteminfo.MediaMetadata"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modified": {
|
||||
"description": "modification time",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name of the file",
|
||||
"type": "string"
|
||||
},
|
||||
"onlyOfficeId": {
|
||||
"description": "id for onlyoffice files",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"description": "path scoped to the associated index",
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"description": "length in bytes for regular files",
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"description": "associated index source for the file",
|
||||
"type": "string"
|
||||
},
|
||||
"subtitles": {
|
||||
"description": "subtitles for video files",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/utils.SubtitleTrack"
|
||||
}
|
||||
},
|
||||
"token": {
|
||||
"description": "token for the file -- used for sharing",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "type of the file, either \"directory\" or a file mimetype",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"iteminfo.ExtendedItemInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5190,15 +4862,6 @@ const docTemplate = `{
|
||||
"description": "enable to always create a new indexing database on startup.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"startupIntegrityCheck": {
|
||||
"description": "the method used to check the integrity of the index database on startup (default: quickCheck)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"quickCheck",
|
||||
"probe",
|
||||
"off"
|
||||
]
|
||||
},
|
||||
"walMode": {
|
||||
"description": "enable the more complex WAL journaling mode. Slower, more memory usage, but better for deployments with constant user activity.",
|
||||
"type": "boolean"
|
||||
@@ -5745,7 +5408,7 @@ const docTemplate = `{
|
||||
]
|
||||
},
|
||||
"createUserDir": {
|
||||
"description": "deprecated: create a user directory for each user under defaultUserScope + username (always true now)",
|
||||
"description": "create a user directory for each user under defaultUserScope + username",
|
||||
"type": "boolean"
|
||||
},
|
||||
"defaultEnabled": {
|
||||
@@ -6849,10 +6512,6 @@ const docTemplate = `{
|
||||
"$ref": "#/definitions/users.SourceScope"
|
||||
}
|
||||
},
|
||||
"showCopyPath": {
|
||||
"description": "show copy path action in the context menu",
|
||||
"type": "boolean"
|
||||
},
|
||||
"showFirstLogin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -6909,35 +6568,6 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"utils.SubtitleTrack": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"codec": {
|
||||
"description": "codec name for embedded subtitles",
|
||||
"type": "string"
|
||||
},
|
||||
"embedded": {
|
||||
"description": "true for embedded subtitles, false for external files",
|
||||
"type": "boolean"
|
||||
},
|
||||
"index": {
|
||||
"description": "stream index for embedded subtitles (nil for external)",
|
||||
"type": "integer"
|
||||
},
|
||||
"language": {
|
||||
"description": "language code",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "filename for external, or descriptive name for embedded",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"description": "title/description",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`
|
||||
|
||||
@@ -1063,69 +1063,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/media/metadata": {
|
||||
"get": {
|
||||
"description": "Same ExtendedFileInfo as resources GET with metadata=true (typically used for directories).",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Resources"
|
||||
],
|
||||
"summary": "Directory with media metadata",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path to the directory or file",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Source name",
|
||||
"name": "source",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "When true, include embedded album art bytes in audio metadata",
|
||||
"name": "albumArt",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedFileInfo"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/media/subtitles": {
|
||||
"get": {
|
||||
"description": "Returns raw subtitle content from external files or embedded streams",
|
||||
@@ -1436,7 +1373,7 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "When true, omit index-level extended fields (e.g. hasPreview); does not disable ffmpeg/media extraction",
|
||||
"description": "Skip extended attributes for faster retrieval, no hasPreview",
|
||||
"name": "skipExtendedAttrs",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -1455,7 +1392,7 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "When true, run audio/video metadata extraction, subtitles, and directory media batch processing",
|
||||
"description": "Extract audio/video metadata if true",
|
||||
"name": "metadata",
|
||||
"in": "query"
|
||||
},
|
||||
@@ -2081,69 +2018,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/resources/pause": {
|
||||
"post": {
|
||||
"description": "Sets a short-lived server flag for the given source and path. When the active chunk POST then fails (e.g. client abort), the server trims the incomplete chunk but keeps the temp partial file for resume.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Resources"
|
||||
],
|
||||
"summary": "Register graceful chunked upload pause",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Destination path (same as upload)",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Source name (same as upload)",
|
||||
"name": "source",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Pause registered"
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad request",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Source not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/resources/preview": {
|
||||
"get": {
|
||||
"description": "Returns a preview image based on the requested path and size.",
|
||||
@@ -3065,7 +2939,7 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"description": "Updates the details of a user identified by ID. When updating the target user's password the actor must send their current password in the X-Password header",
|
||||
"description": "Updates the details of a user identified by ID.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -3086,12 +2960,6 @@
|
||||
"name": "id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Actor's current password (URL-encoded); required when changing a password user's password",
|
||||
"name": "X-Password",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"description": "User data to update",
|
||||
"name": "data",
|
||||
@@ -3115,15 +2983,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized - invalid or missing actor password for password change",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
@@ -3260,46 +3119,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/media/metadata": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Shares"
|
||||
],
|
||||
"summary": "Directory with media metadata (public share)",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Share hash",
|
||||
"name": "hash",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path within the share",
|
||||
"name": "path",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "When true, include embedded album art bytes in audio metadata (heavier)",
|
||||
"name": "albumArt",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedFileInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources": {
|
||||
"get": {
|
||||
"description": "Returns metadata for files or directories accessible via a public share link. Browsing is disabled for upload-only shares.",
|
||||
@@ -3910,60 +3729,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources/pause": {
|
||||
"post": {
|
||||
"description": "Same as authenticated pause, for upload shares. Uses hash and path query parameters like other public resource APIs.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Shares"
|
||||
],
|
||||
"summary": "Register graceful chunked upload pause (public share)",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Share hash",
|
||||
"name": "hash",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Path within the share (same as upload)",
|
||||
"name": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Pause registered"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Source not found",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/public/api/resources/preview": {
|
||||
"get": {
|
||||
"description": "Returns a preview (thumbnail) for images or videos accessible via a public share. Preview generation can be disabled globally or per-share. Not available for upload-only shares.",
|
||||
@@ -4665,99 +4430,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"iteminfo.ExtendedFileInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"checksums": {
|
||||
"description": "checksums for the file",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"description": "text content of a file, if requested",
|
||||
"type": "string"
|
||||
},
|
||||
"files": {
|
||||
"description": "files in the directory with optional metadata",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/iteminfo.ExtendedItemInfo"
|
||||
}
|
||||
},
|
||||
"folders": {
|
||||
"description": "folders in the directory",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/iteminfo.ItemInfo"
|
||||
}
|
||||
},
|
||||
"hasPreview": {
|
||||
"description": "whether the file has a thumbnail preview",
|
||||
"type": "boolean"
|
||||
},
|
||||
"hash": {
|
||||
"description": "hash for the file -- used for sharing",
|
||||
"type": "string"
|
||||
},
|
||||
"hidden": {
|
||||
"description": "whether the file is hidden",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isShared": {
|
||||
"description": "whether the file or folder is shared",
|
||||
"type": "boolean"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "media metadata for audio/video files (includes duration)",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/iteminfo.MediaMetadata"
|
||||
}
|
||||
]
|
||||
},
|
||||
"modified": {
|
||||
"description": "modification time",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "name of the file",
|
||||
"type": "string"
|
||||
},
|
||||
"onlyOfficeId": {
|
||||
"description": "id for onlyoffice files",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"description": "path scoped to the associated index",
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"description": "length in bytes for regular files",
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"description": "associated index source for the file",
|
||||
"type": "string"
|
||||
},
|
||||
"subtitles": {
|
||||
"description": "subtitles for video files",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/utils.SubtitleTrack"
|
||||
}
|
||||
},
|
||||
"token": {
|
||||
"description": "token for the file -- used for sharing",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "type of the file, either \"directory\" or a file mimetype",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"iteminfo.ExtendedItemInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5179,15 +4851,6 @@
|
||||
"description": "enable to always create a new indexing database on startup.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"startupIntegrityCheck": {
|
||||
"description": "the method used to check the integrity of the index database on startup (default: quickCheck)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"quickCheck",
|
||||
"probe",
|
||||
"off"
|
||||
]
|
||||
},
|
||||
"walMode": {
|
||||
"description": "enable the more complex WAL journaling mode. Slower, more memory usage, but better for deployments with constant user activity.",
|
||||
"type": "boolean"
|
||||
@@ -5734,7 +5397,7 @@
|
||||
]
|
||||
},
|
||||
"createUserDir": {
|
||||
"description": "deprecated: create a user directory for each user under defaultUserScope + username (always true now)",
|
||||
"description": "create a user directory for each user under defaultUserScope + username",
|
||||
"type": "boolean"
|
||||
},
|
||||
"defaultEnabled": {
|
||||
@@ -6838,10 +6501,6 @@
|
||||
"$ref": "#/definitions/users.SourceScope"
|
||||
}
|
||||
},
|
||||
"showCopyPath": {
|
||||
"description": "show copy path action in the context menu",
|
||||
"type": "boolean"
|
||||
},
|
||||
"showFirstLogin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -6898,35 +6557,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"utils.SubtitleTrack": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"codec": {
|
||||
"description": "codec name for embedded subtitles",
|
||||
"type": "string"
|
||||
},
|
||||
"embedded": {
|
||||
"description": "true for embedded subtitles, false for external files",
|
||||
"type": "boolean"
|
||||
},
|
||||
"index": {
|
||||
"description": "stream index for embedded subtitles (nil for external)",
|
||||
"type": "integer"
|
||||
},
|
||||
"language": {
|
||||
"description": "language code",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "filename for external, or descriptive name for embedded",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"description": "title/description",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -359,72 +359,6 @@ definitions:
|
||||
type:
|
||||
type: string
|
||||
type: object
|
||||
iteminfo.ExtendedFileInfo:
|
||||
properties:
|
||||
checksums:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: checksums for the file
|
||||
type: object
|
||||
content:
|
||||
description: text content of a file, if requested
|
||||
type: string
|
||||
files:
|
||||
description: files in the directory with optional metadata
|
||||
items:
|
||||
$ref: '#/definitions/iteminfo.ExtendedItemInfo'
|
||||
type: array
|
||||
folders:
|
||||
description: folders in the directory
|
||||
items:
|
||||
$ref: '#/definitions/iteminfo.ItemInfo'
|
||||
type: array
|
||||
hasPreview:
|
||||
description: whether the file has a thumbnail preview
|
||||
type: boolean
|
||||
hash:
|
||||
description: hash for the file -- used for sharing
|
||||
type: string
|
||||
hidden:
|
||||
description: whether the file is hidden
|
||||
type: boolean
|
||||
isShared:
|
||||
description: whether the file or folder is shared
|
||||
type: boolean
|
||||
metadata:
|
||||
allOf:
|
||||
- $ref: '#/definitions/iteminfo.MediaMetadata'
|
||||
description: media metadata for audio/video files (includes duration)
|
||||
modified:
|
||||
description: modification time
|
||||
type: string
|
||||
name:
|
||||
description: name of the file
|
||||
type: string
|
||||
onlyOfficeId:
|
||||
description: id for onlyoffice files
|
||||
type: string
|
||||
path:
|
||||
description: path scoped to the associated index
|
||||
type: string
|
||||
size:
|
||||
description: length in bytes for regular files
|
||||
type: integer
|
||||
source:
|
||||
description: associated index source for the file
|
||||
type: string
|
||||
subtitles:
|
||||
description: subtitles for video files
|
||||
items:
|
||||
$ref: '#/definitions/utils.SubtitleTrack'
|
||||
type: array
|
||||
token:
|
||||
description: token for the file -- used for sharing
|
||||
type: string
|
||||
type:
|
||||
description: type of the file, either "directory" or a file mimetype
|
||||
type: string
|
||||
type: object
|
||||
iteminfo.ExtendedItemInfo:
|
||||
properties:
|
||||
hasPreview:
|
||||
@@ -751,14 +685,6 @@ definitions:
|
||||
disableReuse:
|
||||
description: enable to always create a new indexing database on startup.
|
||||
type: boolean
|
||||
startupIntegrityCheck:
|
||||
description: 'the method used to check the integrity of the index database
|
||||
on startup (default: quickCheck)'
|
||||
enum:
|
||||
- quickCheck
|
||||
- probe
|
||||
- "off"
|
||||
type: string
|
||||
walMode:
|
||||
description: enable the more complex WAL journaling mode. Slower, more memory
|
||||
usage, but better for deployments with constant user activity.
|
||||
@@ -1177,8 +1103,8 @@ definitions:
|
||||
- $ref: '#/definitions/settings.ConditionalFilter'
|
||||
description: 'deprecated: use source.rules instead'
|
||||
createUserDir:
|
||||
description: 'deprecated: create a user directory for each user under defaultUserScope
|
||||
+ username (always true now)'
|
||||
description: create a user directory for each user under defaultUserScope
|
||||
+ username
|
||||
type: boolean
|
||||
defaultEnabled:
|
||||
description: should be added as a default source for new users?
|
||||
@@ -1984,9 +1910,6 @@ definitions:
|
||||
items:
|
||||
$ref: '#/definitions/users.SourceScope'
|
||||
type: array
|
||||
showCopyPath:
|
||||
description: show copy path action in the context menu
|
||||
type: boolean
|
||||
showFirstLogin:
|
||||
type: boolean
|
||||
showHidden:
|
||||
@@ -2030,27 +1953,6 @@ definitions:
|
||||
description: 'view mode to use: eg. normal, list, grid, or compact'
|
||||
type: string
|
||||
type: object
|
||||
utils.SubtitleTrack:
|
||||
properties:
|
||||
codec:
|
||||
description: codec name for embedded subtitles
|
||||
type: string
|
||||
embedded:
|
||||
description: true for embedded subtitles, false for external files
|
||||
type: boolean
|
||||
index:
|
||||
description: stream index for embedded subtitles (nil for external)
|
||||
type: integer
|
||||
language:
|
||||
description: language code
|
||||
type: string
|
||||
name:
|
||||
description: filename for external, or descriptive name for embedded
|
||||
type: string
|
||||
title:
|
||||
description: title/description
|
||||
type: string
|
||||
type: object
|
||||
info:
|
||||
contact: {}
|
||||
paths:
|
||||
@@ -2768,49 +2670,6 @@ paths:
|
||||
summary: List API tokens
|
||||
tags:
|
||||
- Auth
|
||||
/api/media/metadata:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Same ExtendedFileInfo as resources GET with metadata=true (typically
|
||||
used for directories).
|
||||
parameters:
|
||||
- description: Path to the directory or file
|
||||
in: query
|
||||
name: path
|
||||
required: true
|
||||
type: string
|
||||
- description: Source name
|
||||
in: query
|
||||
name: source
|
||||
required: true
|
||||
type: string
|
||||
- description: When true, include embedded album art bytes in audio metadata
|
||||
in: query
|
||||
name: albumArt
|
||||
type: boolean
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/iteminfo.ExtendedFileInfo'
|
||||
"403":
|
||||
description: Forbidden
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"404":
|
||||
description: Not found
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
summary: Directory with media metadata
|
||||
tags:
|
||||
- Resources
|
||||
/api/media/subtitles:
|
||||
get:
|
||||
consumes:
|
||||
@@ -3056,8 +2915,7 @@ paths:
|
||||
name: path
|
||||
required: true
|
||||
type: string
|
||||
- description: When true, omit index-level extended fields (e.g. hasPreview);
|
||||
does not disable ffmpeg/media extraction
|
||||
- description: Skip extended attributes for faster retrieval, no hasPreview
|
||||
in: query
|
||||
name: skipExtendedAttrs
|
||||
type: string
|
||||
@@ -3070,8 +2928,7 @@ paths:
|
||||
in: query
|
||||
name: content
|
||||
type: string
|
||||
- description: When true, run audio/video metadata extraction, subtitles, and
|
||||
directory media batch processing
|
||||
- description: Extract audio/video metadata if true
|
||||
in: query
|
||||
name: metadata
|
||||
type: string
|
||||
@@ -3482,50 +3339,6 @@ paths:
|
||||
summary: Get directory items
|
||||
tags:
|
||||
- Resources
|
||||
/api/resources/pause:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Sets a short-lived server flag for the given source and path. When
|
||||
the active chunk POST then fails (e.g. client abort), the server trims the
|
||||
incomplete chunk but keeps the temp partial file for resume.
|
||||
parameters:
|
||||
- description: Destination path (same as upload)
|
||||
in: query
|
||||
name: path
|
||||
required: true
|
||||
type: string
|
||||
- description: Source name (same as upload)
|
||||
in: query
|
||||
name: source
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Pause registered
|
||||
"400":
|
||||
description: Bad request
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"403":
|
||||
description: Forbidden
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"404":
|
||||
description: Source not found
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
summary: Register graceful chunked upload pause
|
||||
tags:
|
||||
- Resources
|
||||
/api/resources/preview:
|
||||
get:
|
||||
consumes:
|
||||
@@ -4237,9 +4050,7 @@ paths:
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Updates the details of a user identified by ID. When updating the
|
||||
target user's password the actor must send their current password in the X-Password
|
||||
header
|
||||
description: Updates the details of a user identified by ID.
|
||||
parameters:
|
||||
- description: user ID to update
|
||||
in: query
|
||||
@@ -4249,11 +4060,6 @@ paths:
|
||||
in: query
|
||||
name: id
|
||||
type: string
|
||||
- description: Actor's current password (URL-encoded); required when changing
|
||||
a password user's password
|
||||
in: header
|
||||
name: X-Password
|
||||
type: string
|
||||
- description: User data to update
|
||||
in: body
|
||||
name: data
|
||||
@@ -4269,13 +4075,6 @@ paths:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"401":
|
||||
description: Unauthorized - invalid or missing actor password for password
|
||||
change
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"403":
|
||||
description: Forbidden
|
||||
schema:
|
||||
@@ -4304,33 +4103,6 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/http.HttpResponse'
|
||||
summary: Health Check
|
||||
/public/api/media/metadata:
|
||||
get:
|
||||
parameters:
|
||||
- description: Share hash
|
||||
in: query
|
||||
name: hash
|
||||
required: true
|
||||
type: string
|
||||
- description: Path within the share
|
||||
in: query
|
||||
name: path
|
||||
type: string
|
||||
- description: When true, include embedded album art bytes in audio metadata
|
||||
(heavier)
|
||||
in: query
|
||||
name: albumArt
|
||||
type: boolean
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/iteminfo.ExtendedFileInfo'
|
||||
summary: Directory with media metadata (public share)
|
||||
tags:
|
||||
- Shares
|
||||
/public/api/resources:
|
||||
get:
|
||||
consumes:
|
||||
@@ -4756,43 +4528,6 @@ paths:
|
||||
summary: Get directory items (public share)
|
||||
tags:
|
||||
- Shares
|
||||
/public/api/resources/pause:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Same as authenticated pause, for upload shares. Uses hash and path
|
||||
query parameters like other public resource APIs.
|
||||
parameters:
|
||||
- description: Share hash
|
||||
in: query
|
||||
name: hash
|
||||
required: true
|
||||
type: string
|
||||
- description: Path within the share (same as upload)
|
||||
in: query
|
||||
name: path
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Pause registered
|
||||
"403":
|
||||
description: Forbidden
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"404":
|
||||
description: Source not found
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
summary: Register graceful chunked upload pause (public share)
|
||||
tags:
|
||||
- Shares
|
||||
/public/api/resources/preview:
|
||||
get:
|
||||
consumes:
|
||||
|
||||
Generated
+233
-226
@@ -42,7 +42,6 @@
|
||||
"eslint-plugin-vue": "^9.24.0",
|
||||
"fs-extra": "^11.3.0",
|
||||
"jsdom": "^25.0.1",
|
||||
"typescript": "^6.0.0",
|
||||
"vite": "^6.2.0",
|
||||
"vite-plugin-checker": "^0.10.3",
|
||||
"vite-plugin-compression2": "^1.0.0",
|
||||
@@ -1127,13 +1126,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@playwright/test": {
|
||||
"version": "1.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.1.tgz",
|
||||
"integrity": "sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==",
|
||||
"version": "1.58.2",
|
||||
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.58.2.tgz",
|
||||
"integrity": "sha512-akea+6bHYBBfA9uQqSYmlJXn61cTa+jbO87xVLCWbTqbWadRVmhxlXATaOjOgcBaWU4ePo0wB41KMFv3o35IXA==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright": "1.59.1"
|
||||
"playwright": "1.58.2"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@@ -1166,9 +1165,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm-eabi": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.1.tgz",
|
||||
"integrity": "sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.1.tgz",
|
||||
"integrity": "sha512-xB0b51TB7IfDEzAojXahmr+gfA00uYVInJGgNNkeQG6RPnCPGr7udsylFLTubuIUSRE6FkcI1NElyRt83PP5oQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -1180,9 +1179,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.1.tgz",
|
||||
"integrity": "sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.1.tgz",
|
||||
"integrity": "sha512-XOjPId0qwSDKHaIsdzHJtKCxX0+nH8MhBwvrNsT7tVyKmdTx1jJ4XzN5RZXCdTzMpufLb+B8llTC0D8uCrLhcw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1194,9 +1193,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-arm64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.1.tgz",
|
||||
"integrity": "sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.1.tgz",
|
||||
"integrity": "sha512-vQuRd28p0gQpPrS6kppd8IrWmFo42U8Pz1XLRjSZXq5zCqyMDYFABT7/sywL11mO1EL10Qhh7MVPEwkG8GiBeg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1208,9 +1207,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-x64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.1.tgz",
|
||||
"integrity": "sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.1.tgz",
|
||||
"integrity": "sha512-x6VG6U29+Ivlnajrg1IHdzXeAwSoEHBFVO+CtC9Brugx6de712CUJobRUxsIA0KYrQvCmzNrMPFTT1A4CCqNTg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1222,9 +1221,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-arm64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.1.tgz",
|
||||
"integrity": "sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.1.tgz",
|
||||
"integrity": "sha512-Sgi0Uo6t1YCHJMNO3Y8+bm+SvOanUGkoZKn/VJPwYUe2kp31X5KnXmzKd/NjW8iA3gFcfNZ64zh14uOGrIllCQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1236,9 +1235,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-x64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.1.tgz",
|
||||
"integrity": "sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.1.tgz",
|
||||
"integrity": "sha512-AM4xnwEZwukdhk7laMWfzWu9JGSVnJd+Fowt6Fd7QW1nrf3h0Hp7Qx5881M4aqrUlKBCybOxz0jofvIIfl7C5g==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1250,9 +1249,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.1.tgz",
|
||||
"integrity": "sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.1.tgz",
|
||||
"integrity": "sha512-KUizqxpwaR2AZdAUsMWfL/C94pUu7TKpoPd88c8yFVixJ+l9hejkrwoK5Zj3wiNh65UeyryKnJyxL1b7yNqFQA==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -1264,9 +1263,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.1.tgz",
|
||||
"integrity": "sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.1.tgz",
|
||||
"integrity": "sha512-MZoQ/am77ckJtZGFAtPucgUuJWiop3m2R3lw7tC0QCcbfl4DRhQUBUkHWCkcrT3pqy5Mzv5QQgY6Dmlba6iTWg==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -1278,9 +1277,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-Sez95TP6xGjkWB1608EfhCX1gdGrO5wzyN99VqzRtC17x/1bhw5VU1V0GfKUwbW/Xr1J8mSasoFoJa6Y7aGGSA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1292,9 +1291,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.1.tgz",
|
||||
"integrity": "sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.1.tgz",
|
||||
"integrity": "sha512-9Cs2Seq98LWNOJzR89EGTZoiP8EkZ9UbQhBlDgfAkM6asVna1xJ04W2CLYWDN/RpUgOjtQvcv8wQVi1t5oQazA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1306,9 +1305,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loong64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-n9yqttftgFy7IrNEnHy1bOp6B4OSe8mJDiPkT7EqlM9FnKOwUMnCK62ixW0Kd9Clw0/wgvh8+SqaDXMFvw3KqQ==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
@@ -1320,9 +1319,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loong64-musl": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.1.tgz",
|
||||
"integrity": "sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.1.tgz",
|
||||
"integrity": "sha512-SfpNXDzVTqs/riak4xXcLpq5gIQWsqGWMhN1AGRQKB4qGSs4r0sEs3ervXPcE1O9RsQ5bm8Muz6zmQpQnPss1g==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
@@ -1334,9 +1333,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-LjaChED0wQnjKZU+tsmGbN+9nN1XhaWUkAlSbTdhpEseCS4a15f/Q8xC2BN4GDKRzhhLZpYtJBZr2NZhR0jvNw==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
@@ -1348,9 +1347,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-musl": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.1.tgz",
|
||||
"integrity": "sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.1.tgz",
|
||||
"integrity": "sha512-ojW7iTJSIs4pwB2xV6QXGwNyDctvXOivYllttuPbXguuKDX5vwpqYJsHc6D2LZzjDGHML414Tuj3LvVPe1CT1A==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
@@ -1362,9 +1361,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-FP+Q6WTcxxvsr0wQczhSE+tOZvFPV8A/mUE6mhZYFW9/eea/y/XqAgRoLLMuE9Cz0hfX5bi7p116IWoB+P237A==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
@@ -1376,9 +1375,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-musl": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.1.tgz",
|
||||
"integrity": "sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.1.tgz",
|
||||
"integrity": "sha512-L1uD9b/Ig8Z+rn1KttCJjwhN1FgjRMBKsPaBsDKkfUl7GfFq71pU4vWCnpOsGljycFEbkHWARZLf4lMYg3WOLw==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
@@ -1390,9 +1389,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-EZc9NGTk/oSUzzOD4nYY4gIjteo2M3CiozX6t1IXGCOdgxJTlVu/7EdPeiqeHPSIrxkLhavqpBAUCfvC6vBOug==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
@@ -1404,9 +1403,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-NQ9KyU1Anuy59L8+HHOKM++CoUxrQWrZWXRik4BJFm+7i5NP6q/SW43xIBr80zzt+PDBJ7LeNmloQGfa0JGk0w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1418,9 +1417,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.1.tgz",
|
||||
"integrity": "sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.1.tgz",
|
||||
"integrity": "sha512-GZkLk2t6naywsveSFBsEb0PLU+JC9ggVjbndsbG20VPhar6D1gkMfCx4NfP9owpovBXTN+eRdqGSkDGIxPHhmQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1432,9 +1431,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openbsd-x64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.1.tgz",
|
||||
"integrity": "sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.1.tgz",
|
||||
"integrity": "sha512-1hjG9Jpl2KDOetr64iQd8AZAEjkDUUK5RbDkYWsViYLC1op1oNzdjMJeFiofcGhqbNTaY2kfgqowE7DILifsrA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1446,9 +1445,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openharmony-arm64": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.1.tgz",
|
||||
"integrity": "sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.1.tgz",
|
||||
"integrity": "sha512-ARoKfflk0SiiYm3r1fmF73K/yB+PThmOwfWCk1sr7x/k9dc3uGLWuEE9if+Pw21el8MSpp3TMnG5vLNsJ/MMGQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1460,9 +1459,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.1.tgz",
|
||||
"integrity": "sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.1.tgz",
|
||||
"integrity": "sha512-oOST61G6VM45Mz2vdzWMr1s2slI7y9LqxEV5fCoWi2MDONmMvgsJVHSXxce/I2xOSZPTZ47nDPOl1tkwKWSHcw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1474,9 +1473,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.1.tgz",
|
||||
"integrity": "sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.1.tgz",
|
||||
"integrity": "sha512-x5WgLi5dWpRz7WclKBGEF15LcWTh0ewrHM6Cq4A+WUbkysUMZNeqt05bwPonOQ3ihPS/WMhAZV5zB1DfnI4Sxg==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
@@ -1488,9 +1487,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-gnu": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.1.tgz",
|
||||
"integrity": "sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.1.tgz",
|
||||
"integrity": "sha512-wS+zHAJRVP5zOL0e+a3V3E/NTEwM2HEvvNKoDy5Xcfs0o8lljxn+EAFPkUsxihBdmDq1JWzXmmB9cbssCPdxxw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1502,9 +1501,9 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.1.tgz",
|
||||
"integrity": "sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.1.tgz",
|
||||
"integrity": "sha512-rhHyrMeLpErT/C7BxcEsU4COHQUzHyrPYW5tOZUeUhziNtRuYxmDWvqQqzpuUt8xpOgmbKa1btGXfnA/ANVO+g==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1551,9 +1550,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "24.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz",
|
||||
"integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==",
|
||||
"version": "24.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
|
||||
"integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -1960,39 +1959,39 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-core": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.32.tgz",
|
||||
"integrity": "sha512-4x74Tbtqnda8s/NSD6e1Dr5p1c8HdMU5RWSjMSUzb8RTcUQqevDCxVAitcLBKT+ie3o0Dl9crc/S/opJM7qBGQ==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.30.tgz",
|
||||
"integrity": "sha512-s3DfdZkcu/qExZ+td75015ljzHc6vE+30cFMGRPROYjqkroYI5NV2X1yAMX9UeyBNWB9MxCfPcsjpLS11nzkkw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/parser": "^7.29.2",
|
||||
"@vue/shared": "3.5.32",
|
||||
"@babel/parser": "^7.29.0",
|
||||
"@vue/shared": "3.5.30",
|
||||
"entities": "^7.0.1",
|
||||
"estree-walker": "^2.0.2",
|
||||
"source-map-js": "^1.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-dom": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.32.tgz",
|
||||
"integrity": "sha512-ybHAu70NtiEI1fvAUz3oXZqkUYEe5J98GjMDpTGl5iHb0T15wQYLR4wE3h9xfuTNA+Cm2f4czfe8B4s+CCH57Q==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.30.tgz",
|
||||
"integrity": "sha512-eCFYESUEVYHhiMuK4SQTldO3RYxyMR/UQL4KdGD1Yrkfdx4m/HYuZ9jSfPdA+nWJY34VWndiYdW/wZXyiPEB9g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/compiler-core": "3.5.32",
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/compiler-core": "3.5.30",
|
||||
"@vue/shared": "3.5.30"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-sfc": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.32.tgz",
|
||||
"integrity": "sha512-8UYUYo71cP/0YHMO814TRZlPuUUw3oifHuMR7Wp9SNoRSrxRQnhMLNlCeaODNn6kNTJsjFoQ/kqIj4qGvya4Xg==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.30.tgz",
|
||||
"integrity": "sha512-LqmFPDn89dtU9vI3wHJnwaV6GfTRD87AjWpTWpyrdVOObVtjIuSeZr181z5C4PmVx/V3j2p+0f7edFKGRMpQ5A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/parser": "^7.29.2",
|
||||
"@vue/compiler-core": "3.5.32",
|
||||
"@vue/compiler-dom": "3.5.32",
|
||||
"@vue/compiler-ssr": "3.5.32",
|
||||
"@vue/shared": "3.5.32",
|
||||
"@babel/parser": "^7.29.0",
|
||||
"@vue/compiler-core": "3.5.30",
|
||||
"@vue/compiler-dom": "3.5.30",
|
||||
"@vue/compiler-ssr": "3.5.30",
|
||||
"@vue/shared": "3.5.30",
|
||||
"estree-walker": "^2.0.2",
|
||||
"magic-string": "^0.30.21",
|
||||
"postcss": "^8.5.8",
|
||||
@@ -2000,13 +1999,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-ssr": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.32.tgz",
|
||||
"integrity": "sha512-Gp4gTs22T3DgRotZ8aA/6m2jMR+GMztvBXUBEUOYOcST+giyGWJ4WvFd7QLHBkzTxkfOt8IELKNdpzITLbA2rw==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.30.tgz",
|
||||
"integrity": "sha512-NsYK6OMTnx109PSL2IAyf62JP6EUdk4Dmj6AkWcJGBvN0dQoMYtVekAmdqgTtWQgEJo+Okstbf/1p7qZr5H+bA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/compiler-dom": "3.5.32",
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/compiler-dom": "3.5.30",
|
||||
"@vue/shared": "3.5.30"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/compiler-vue2": {
|
||||
@@ -2077,59 +2076,60 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/reactivity": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.32.tgz",
|
||||
"integrity": "sha512-/ORasxSGvZ6MN5gc+uE364SxFdJ0+WqVG0CENXaGW58TOCdrAW76WWaplDtECeS1qphvtBZtR+3/o1g1zL4xPQ==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.30.tgz",
|
||||
"integrity": "sha512-179YNgKATuwj9gB+66snskRDOitDiuOZqkYia7mHKJaidOMo/WJxHKF8DuGc4V4XbYTJANlfEKb0yxTQotnx4Q==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/shared": "3.5.30"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/runtime-core": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.32.tgz",
|
||||
"integrity": "sha512-pDrXCejn4UpFDFmMd27AcJEbHaLemaE5o4pbb7sLk79SRIhc6/t34BQA7SGNgYtbMnvbF/HHOftYBgFJtUoJUQ==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.30.tgz",
|
||||
"integrity": "sha512-e0Z+8PQsUTdwV8TtEsLzUM7SzC7lQwYKePydb7K2ZnmS6jjND+WJXkmmfh/swYzRyfP1EY3fpdesyYoymCzYfg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/reactivity": "3.5.32",
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/reactivity": "3.5.30",
|
||||
"@vue/shared": "3.5.30"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/runtime-dom": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.32.tgz",
|
||||
"integrity": "sha512-1CDVv7tv/IV13V8Nip1k/aaObVbWqRlVCVezTwx3K07p7Vxossp5JU1dcPNhJk3w347gonIUT9jQOGutyJrSVQ==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.30.tgz",
|
||||
"integrity": "sha512-2UIGakjU4WSQ0T4iwDEW0W7vQj6n7AFn7taqZ9Cvm0Q/RA2FFOziLESrDL4GmtI1wV3jXg5nMoJSYO66egDUBw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/reactivity": "3.5.32",
|
||||
"@vue/runtime-core": "3.5.32",
|
||||
"@vue/shared": "3.5.32",
|
||||
"@vue/reactivity": "3.5.30",
|
||||
"@vue/runtime-core": "3.5.30",
|
||||
"@vue/shared": "3.5.30",
|
||||
"csstype": "^3.2.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/server-renderer": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.32.tgz",
|
||||
"integrity": "sha512-IOjm2+JQwRFS7W28HNuJeXQle9KdZbODFY7hFGVtnnghF51ta20EWAZJHX+zLGtsHhaU6uC9BGPV52KVpYryMQ==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.30.tgz",
|
||||
"integrity": "sha512-v+R34icapydRwbZRD0sXwtHqrQJv38JuMB4JxbOxd8NEpGLny7cncMp53W9UH/zo4j8eDHjQ1dEJXwzFQknjtQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/compiler-ssr": "3.5.32",
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/compiler-ssr": "3.5.30",
|
||||
"@vue/shared": "3.5.30"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "3.5.32"
|
||||
"vue": "3.5.30"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/shared": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.32.tgz",
|
||||
"integrity": "sha512-ksNyrmRQzWJJ8n3cRDuSF7zNNontuJg1YHnmWRJd2AMu8Ij2bqwiiri2lH5rHtYPZjj4STkNcgcmiQqlOjiYGg==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.30.tgz",
|
||||
"integrity": "sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@xmldom/xmldom": {
|
||||
"version": "0.8.12",
|
||||
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.12.tgz",
|
||||
"integrity": "sha512-9k/gHF6n/pAi/9tqr3m3aqkuiNosYTurLLUtc7xQ9sxB/wm7WPygCv8GYa6mS0fLJEHhqMC1ATYhz++U/lRHqg==",
|
||||
"version": "0.7.13",
|
||||
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.13.tgz",
|
||||
"integrity": "sha512-lm2GW5PkosIzccsaZIz7tp8cPADSIlIHWDFTR1N0SzfinhhYgeIQjFMz4rYzanCScr3DqQLeomUDArp6MWKm+g==",
|
||||
"deprecated": "this version is no longer supported, please update to at least 0.8.*",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
@@ -2165,9 +2165,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/adm-zip": {
|
||||
"version": "0.5.17",
|
||||
"resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.17.tgz",
|
||||
"integrity": "sha512-+Ut8d9LLqwEvHHJl1+PIHqoyDxFgVN847JTVM3Izi3xHDWPE4UtzzXysMZQs64DMcrJfBeS/uoEP4AD3HQHnQQ==",
|
||||
"version": "0.5.16",
|
||||
"resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz",
|
||||
"integrity": "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@@ -2268,14 +2268,14 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/axios": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",
|
||||
"integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",
|
||||
"version": "1.13.6",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.13.6.tgz",
|
||||
"integrity": "sha512-ChTCHMouEe2kn713WHbQGcuYrr6fXTBiu460OTwWrWob16g1bXn4vtz07Ope7ewMozJAnEquLk5lWQWtBig9DQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.15.11",
|
||||
"form-data": "^4.0.5",
|
||||
"proxy-from-env": "^2.1.0"
|
||||
"proxy-from-env": "^1.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/balanced-match": {
|
||||
@@ -2318,9 +2318,9 @@
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "5.0.5",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
|
||||
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
|
||||
"version": "5.0.4",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
|
||||
"integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"balanced-match": "^4.0.2"
|
||||
@@ -2659,16 +2659,16 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/deepl-node": {
|
||||
"version": "1.25.0",
|
||||
"resolved": "https://registry.npmjs.org/deepl-node/-/deepl-node-1.25.0.tgz",
|
||||
"integrity": "sha512-vOdPNZCegDS9F2GR8iwsEL+2w+Io9LBO0iECuZqWQMePZMNeNuODs6cRaiPUmVobPr6Dkt3HKiAAlZqFfl7vzw==",
|
||||
"version": "1.24.0",
|
||||
"resolved": "https://registry.npmjs.org/deepl-node/-/deepl-node-1.24.0.tgz",
|
||||
"integrity": "sha512-vZ9jUpzJRvFamgVOfm1LDy3YYJ7k8FhxtAX9whR92EFshLIP9JlYS0HFwXL5yYsfqzXdb/wssGRSWvR48t7nSg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": ">=12.0",
|
||||
"adm-zip": "^0.5.16",
|
||||
"axios": "^1.7.4",
|
||||
"form-data": "^3.0.4",
|
||||
"form-data": "^3.0.0",
|
||||
"loglevel": ">=1.6.2",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
@@ -4267,9 +4267,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/lodash": {
|
||||
"version": "4.18.1",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
|
||||
"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
|
||||
"version": "4.17.23",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
|
||||
"integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/lodash.merge": {
|
||||
@@ -4350,6 +4350,15 @@
|
||||
"node": ">=12.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mammoth/node_modules/@xmldom/xmldom": {
|
||||
"version": "0.8.11",
|
||||
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.11.tgz",
|
||||
"integrity": "sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/mammoth/node_modules/argparse": {
|
||||
"version": "1.0.10",
|
||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
||||
@@ -4411,9 +4420,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/micromatch/node_modules/picomatch": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
||||
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@@ -4445,12 +4454,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "10.2.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
||||
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
||||
"version": "10.2.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
|
||||
"integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^5.0.5"
|
||||
"brace-expansion": "^5.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18 || 20 || >=22"
|
||||
@@ -4808,9 +4817,9 @@
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
||||
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@@ -4840,13 +4849,13 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/playwright": {
|
||||
"version": "1.59.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.1.tgz",
|
||||
"integrity": "sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==",
|
||||
"version": "1.58.2",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.2.tgz",
|
||||
"integrity": "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "1.59.1"
|
||||
"playwright-core": "1.58.2"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@@ -4859,9 +4868,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.59.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.1.tgz",
|
||||
"integrity": "sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==",
|
||||
"version": "1.58.2",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.2.tgz",
|
||||
"integrity": "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
@@ -4885,9 +4894,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/postcss": {
|
||||
"version": "8.5.9",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.9.tgz",
|
||||
"integrity": "sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw==",
|
||||
"version": "8.5.8",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
|
||||
"integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -4943,13 +4952,10 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/proxy-from-env": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz",
|
||||
"integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
|
||||
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/punycode": {
|
||||
"version": "2.3.1",
|
||||
@@ -4962,9 +4968,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/qrcode.vue": {
|
||||
"version": "3.8.1",
|
||||
"resolved": "https://registry.npmjs.org/qrcode.vue/-/qrcode.vue-3.8.1.tgz",
|
||||
"integrity": "sha512-kJORXcI5Uml5GtzcfFkchpljFgaXKQB/3ZUt+Hwnw7Y1F7FiA01U2yyO5Vscwv3bVxPkm/KLKXUOXsHbTsYrTw==",
|
||||
"version": "3.8.0",
|
||||
"resolved": "https://registry.npmjs.org/qrcode.vue/-/qrcode.vue-3.8.0.tgz",
|
||||
"integrity": "sha512-+XKbSKvQu158zlHsJm+HObGUQM3Q+9Oq6yb2op/6lMM2gwOiiG9uIhujvrSV5UoTjrzR0BcNxCdW2kk7KE4NEg==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
@@ -5087,9 +5093,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/rollup": {
|
||||
"version": "4.60.1",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.1.tgz",
|
||||
"integrity": "sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w==",
|
||||
"version": "4.59.1",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.1.tgz",
|
||||
"integrity": "sha512-iZKH8BeoCwTCBTZBZWQQMreekd4mdomwdjIQ40GC1oZm6o+8PnNMIxFOiCsGMWeS8iDJ7KZcl7KwmKk/0HOQpA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -5103,31 +5109,31 @@
|
||||
"npm": ">=8.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-android-arm-eabi": "4.60.1",
|
||||
"@rollup/rollup-android-arm64": "4.60.1",
|
||||
"@rollup/rollup-darwin-arm64": "4.60.1",
|
||||
"@rollup/rollup-darwin-x64": "4.60.1",
|
||||
"@rollup/rollup-freebsd-arm64": "4.60.1",
|
||||
"@rollup/rollup-freebsd-x64": "4.60.1",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.60.1",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.60.1",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.60.1",
|
||||
"@rollup/rollup-linux-loong64-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-loong64-musl": "4.60.1",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-ppc64-musl": "4.60.1",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.60.1",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.60.1",
|
||||
"@rollup/rollup-linux-x64-musl": "4.60.1",
|
||||
"@rollup/rollup-openbsd-x64": "4.60.1",
|
||||
"@rollup/rollup-openharmony-arm64": "4.60.1",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.60.1",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.60.1",
|
||||
"@rollup/rollup-win32-x64-gnu": "4.60.1",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.60.1",
|
||||
"@rollup/rollup-android-arm-eabi": "4.59.1",
|
||||
"@rollup/rollup-android-arm64": "4.59.1",
|
||||
"@rollup/rollup-darwin-arm64": "4.59.1",
|
||||
"@rollup/rollup-darwin-x64": "4.59.1",
|
||||
"@rollup/rollup-freebsd-arm64": "4.59.1",
|
||||
"@rollup/rollup-freebsd-x64": "4.59.1",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.59.1",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.59.1",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.59.1",
|
||||
"@rollup/rollup-linux-loong64-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-loong64-musl": "4.59.1",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-ppc64-musl": "4.59.1",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.59.1",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.59.1",
|
||||
"@rollup/rollup-linux-x64-musl": "4.59.1",
|
||||
"@rollup/rollup-openbsd-x64": "4.59.1",
|
||||
"@rollup/rollup-openharmony-arm64": "4.59.1",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.59.1",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.59.1",
|
||||
"@rollup/rollup-win32-x64-gnu": "4.59.1",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.59.1",
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
@@ -5535,14 +5541,14 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/tinyglobby": {
|
||||
"version": "0.2.16",
|
||||
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
|
||||
"integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
|
||||
"version": "0.2.15",
|
||||
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
|
||||
"integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"fdir": "^6.5.0",
|
||||
"picomatch": "^4.0.4"
|
||||
"picomatch": "^4.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
@@ -5693,11 +5699,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "6.0.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz",
|
||||
"integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==",
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"devOptional": true,
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
@@ -5796,9 +5803,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "6.4.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz",
|
||||
"integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==",
|
||||
"version": "6.4.1",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
|
||||
"integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -6108,16 +6115,16 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/vue": {
|
||||
"version": "3.5.32",
|
||||
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.32.tgz",
|
||||
"integrity": "sha512-vM4z4Q9tTafVfMAK7IVzmxg34rSzTFMyIe0UUEijUCkn9+23lj0WRfA83dg7eQZIUlgOSGrkViIaCfqSAUXsMw==",
|
||||
"version": "3.5.30",
|
||||
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.30.tgz",
|
||||
"integrity": "sha512-hTHLc6VNZyzzEH/l7PFGjpcTvUgiaPK5mdLkbjrTeWSRcEfxFrv56g/XckIYlE9ckuobsdwqd5mk2g1sBkMewg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vue/compiler-dom": "3.5.32",
|
||||
"@vue/compiler-sfc": "3.5.32",
|
||||
"@vue/runtime-dom": "3.5.32",
|
||||
"@vue/server-renderer": "3.5.32",
|
||||
"@vue/shared": "3.5.32"
|
||||
"@vue/compiler-dom": "3.5.30",
|
||||
"@vue/compiler-sfc": "3.5.30",
|
||||
"@vue/runtime-dom": "3.5.30",
|
||||
"@vue/server-renderer": "3.5.30",
|
||||
"@vue/shared": "3.5.30"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "*"
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
"lint:fix": "eslint --fix --ext .js,.vue,.ts src/",
|
||||
"i18n:sync": "node ./scripts/sync-translations.js",
|
||||
"i18n:check": "node ./scripts/sync-translations.js --check",
|
||||
"i18n:enforce-order": "node scripts/sync-translations.js --enforce-order",
|
||||
"i18n:cleanup": "node scripts/sync-translations.js --cleanup",
|
||||
"format": "prettier --write .",
|
||||
"test": "vitest run "
|
||||
},
|
||||
@@ -44,8 +42,7 @@
|
||||
"vue-router": "^4.3.0"
|
||||
},
|
||||
"overrides": {
|
||||
"minimatch": "^10.2.1",
|
||||
"@xmldom/xmldom": "^0.8.12"
|
||||
"minimatch": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@intlify/eslint-plugin-vue-i18n": "^3.2.0",
|
||||
@@ -60,7 +57,6 @@
|
||||
"eslint-plugin-vue": "^9.24.0",
|
||||
"fs-extra": "^11.3.0",
|
||||
"jsdom": "^25.0.1",
|
||||
"typescript": "^6.0.0",
|
||||
"vite": "^6.2.0",
|
||||
"vite-plugin-checker": "^0.10.3",
|
||||
"vite-plugin-compression2": "^1.0.0",
|
||||
|
||||
@@ -43,6 +43,7 @@ server:
|
||||
ignoreSymlinks: false # Excludes symbolic links
|
||||
defaultUserScope: "/" # defaults to root of index "/" should match folders under path
|
||||
defaultEnabled: true # should be added as a default source for new users?
|
||||
createUserDir: false # create a user directory for each user under defaultUserScope + username
|
||||
useLogicalSize: false # calculate sizes based on logical size instead of disk utilization (du -sh), folders will be 0 bytes when empty.
|
||||
externalUrl: "" # used by share links if set (eg. http://mydomain.com)
|
||||
internalUrl: "" # used by integrations if set, this is the base domain that an integration service will use to communicate with filebrowser (eg. http://localhost:8080)
|
||||
@@ -57,7 +58,6 @@ server:
|
||||
cacheSizeMB: 32 # size of the SQLite cache in MB
|
||||
walMode: false # enable the more complex WAL journaling mode. Slower, more memory usage, but better for deployments with constant user activity.
|
||||
disableReuse: false # enable to always create a new indexing database on startup.
|
||||
startupIntegrityCheck: "quickCheck" # the method used to check the integrity of the index database on startup (default: quickCheck) validate:omitempty,oneof=quickCheck probe off
|
||||
disableWebDAV: false # disable webdav support (default: false)
|
||||
auth:
|
||||
tokenExpirationHours: 2 # time in hours each web UI session token is valid for. Default is 2 hours.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,7 +13,8 @@
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/roboto-normal-latin.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/roboto-medium-latin.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/roboto-bold-latin.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/material-symbols.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/material-icons.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ .htmlVars.staticURL }}/fonts/material-symbols-outlined.woff2" as="font" type="font/woff2" crossorigin>
|
||||
|
||||
<!-- Add to home screen for Android and modern mobile browsers -->
|
||||
<link rel="manifest" href="{{ .htmlVars.manifestURL }}" crossorigin="use-credentials">
|
||||
|
||||
@@ -8,8 +8,6 @@ import * as deepl from 'deepl-node';
|
||||
// Parse command line arguments
|
||||
const args = process.argv.slice(2);
|
||||
const checkOnly = args.includes('--check') || args.includes('-c');
|
||||
const enforceOrder = args.includes('--enforce-order'); // When using this will force the order of eng, will not perform new translations. If we move keys to a different block will count as new translations and will delete it from all the languages
|
||||
const cleanupOnly = args.includes('--cleanup'); // Will only delete keys that not longer exist in eng, no translation or reorder, just deletion.
|
||||
|
||||
// --- Configuration ---
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
@@ -21,14 +19,13 @@ const targetLocaleFiles = glob.sync(path.join(localesDir, '*.json'))
|
||||
.filter(file => path.basename(file) !== `${masterLanguageCode}.json`)
|
||||
.filter(file => path.basename(file) !== 'is.json'); // Exclude Icelandic - DeepL doesn't support it
|
||||
|
||||
const requireApiKey = !checkOnly && !enforceOrder && !cleanupOnly;
|
||||
const DEEPL_API_KEY = process.env.DEEPL_API_KEY;
|
||||
if (requireApiKey && !DEEPL_API_KEY) {
|
||||
if (!checkOnly && !DEEPL_API_KEY) {
|
||||
console.error("❌ Missing DEEPL_API_KEY in environment.");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const translator = requireApiKey ? new deepl.Translator(DEEPL_API_KEY) : null;
|
||||
const translator = checkOnly ? null : new deepl.Translator(DEEPL_API_KEY);
|
||||
|
||||
const deeplLangMap = {
|
||||
'zh-cn': 'ZH-HANS',
|
||||
@@ -98,23 +95,8 @@ async function translateText(text, targetLanguage, keyPath = '') {
|
||||
}
|
||||
}
|
||||
|
||||
// Reorder objects to match eng (master lang) key order
|
||||
function reorderObject(obj, masterObj) {
|
||||
// If obj is not an object, return as is
|
||||
if (typeof obj !== 'object' || obj === null || Array.isArray(obj)) return obj;
|
||||
const newObj = {};
|
||||
for (const key in masterObj) {
|
||||
if (Object.prototype.hasOwnProperty.call(masterObj, key)) {
|
||||
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
||||
newObj[key] = reorderObject(obj[key], masterObj[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
// --- Recursive key processor ---
|
||||
async function processKeys(masterObj, targetObj, targetLangCode, currentPathParts = [], doEnforceOrder, doCleanupOnly = false) {
|
||||
async function processKeys(masterObj, targetObj, targetLangCode, currentPathParts = []) {
|
||||
let changesMade = false;
|
||||
let meaningfulChanges = 0; // Only count meaningful changes
|
||||
|
||||
@@ -127,17 +109,19 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart
|
||||
const masterValue = masterObj[key];
|
||||
|
||||
// Special handling for "languages" key - always copy the entire object from master
|
||||
if (key === 'languages' && currentPathParts.length === 0 && !doCleanupOnly) {
|
||||
if (!checkOnly && !doEnforceOrder) {
|
||||
if (key === 'languages' && currentPathParts.length === 0) {
|
||||
if (checkOnly) {
|
||||
// Don't print or count languages object copying - it's routine
|
||||
} else {
|
||||
console.log(`Copying entire "languages" object from master to ${targetLangCode}.json`);
|
||||
targetObj[key] = JSON.parse(JSON.stringify(masterValue)); // Deep copy
|
||||
}
|
||||
targetObj[key] = JSON.parse(JSON.stringify(masterValue)); // Deep copy
|
||||
changesMade = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (typeof masterValue === 'object' && masterValue !== null && !Array.isArray(masterValue)) {
|
||||
if (!doCleanupOnly && (!targetObj[key] || typeof targetObj[key] !== 'object')) {
|
||||
if (!targetObj[key] || typeof targetObj[key] !== 'object') {
|
||||
if (checkOnly) {
|
||||
console.log(`Would create missing object structure for "${currentKeyPath}" in ${targetLangCode}.json`);
|
||||
meaningfulChanges++; // Creating new object structures is meaningful
|
||||
@@ -149,55 +133,41 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart
|
||||
}
|
||||
changesMade = true;
|
||||
}
|
||||
|
||||
if (targetObj[key] && typeof targetObj[key] === 'object') {
|
||||
const result = await processKeys( masterValue, targetObj[key], targetLangCode, currentPathPartsNext,
|
||||
doEnforceOrder, doCleanupOnly);
|
||||
if (result == "UNSUPPORTED") {
|
||||
const result = await processKeys(masterValue, targetObj[key], targetLangCode, currentPathPartsNext);
|
||||
if (result == "UNSUPPORTED") {
|
||||
console.log(`Skipping translation for "${targetLangCode}" due to unsupported structure.`);
|
||||
return "UNSUPPORTED";
|
||||
}
|
||||
if (typeof result === 'number') {
|
||||
meaningfulChanges += result;
|
||||
changesMade = true;
|
||||
} else if (result) {
|
||||
changesMade = true;
|
||||
}
|
||||
}
|
||||
} else if (!doCleanupOnly) {
|
||||
// Only handle non‑object values
|
||||
if (typeof masterValue === 'string') {
|
||||
const existingTargetValue = targetObj[key];
|
||||
const isMissing = !Object.prototype.hasOwnProperty.call(targetObj, key) || existingTargetValue === '' || existingTargetValue === null;
|
||||
|
||||
if (isMissing) {
|
||||
if (checkOnly) {
|
||||
console.log(`Would translate "${currentKeyPath}" for ${targetLangCode}.json`);
|
||||
meaningfulChanges++; // Translation is meaningful
|
||||
} else if (doEnforceOrder) {
|
||||
// Skip translations for new keys
|
||||
console.log(`Skipping new key "${currentKeyPath}" for ${targetLangCode}.json`);
|
||||
} else {
|
||||
// Sync translation
|
||||
const result = await translateText(masterValue, targetLangCode, currentKeyPath);
|
||||
if (result == "") {
|
||||
return "UNSUPPORTED";
|
||||
}
|
||||
targetObj[key] = result;
|
||||
changesMade = true;
|
||||
if (typeof result === 'number') {
|
||||
meaningfulChanges += result;
|
||||
changesMade = true;
|
||||
} else if (result) {
|
||||
changesMade = true;
|
||||
}
|
||||
} else if (typeof masterValue === 'string') {
|
||||
if (!targetObj.hasOwnProperty(key) || targetObj[key] === '' || targetObj[key] === null) {
|
||||
if (checkOnly) {
|
||||
console.log(`Would translate "${currentKeyPath}" for ${targetLangCode}.json`);
|
||||
meaningfulChanges++; // Translation is meaningful
|
||||
} else {
|
||||
const result = await translateText(masterValue, targetLangCode, currentKeyPath);
|
||||
if (result == "") {
|
||||
return "UNSUPPORTED";
|
||||
}
|
||||
targetObj[key] = result;
|
||||
}
|
||||
} else {
|
||||
if (!Object.prototype.hasOwnProperty.call(targetObj, key)) {
|
||||
if (checkOnly) {
|
||||
console.log(`Would copy key "${currentKeyPath}" (non-string) from English to ${targetLangCode}.json`);
|
||||
meaningfulChanges++; // Copying non-string values is meaningful
|
||||
} else {
|
||||
console.log(`Key "${currentKeyPath}" (non-string) missing in ${targetLangCode}.json. Copying from English.`);
|
||||
targetObj[key] = masterValue;
|
||||
}
|
||||
changesMade = true;
|
||||
changesMade = true;
|
||||
}
|
||||
} else {
|
||||
if (!targetObj.hasOwnProperty(key)) {
|
||||
if (checkOnly) {
|
||||
console.log(`Would copy key "${currentKeyPath}" (non-string) from English to ${targetLangCode}.json`);
|
||||
meaningfulChanges++; // Copying non-string values is meaningful
|
||||
} else {
|
||||
console.log(`Key "${currentKeyPath}" (non-string) missing in ${targetLangCode}.json. Copying from English.`);
|
||||
targetObj[key] = masterValue;
|
||||
}
|
||||
changesMade = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -207,7 +177,7 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart
|
||||
const keysToRemove = [];
|
||||
for (const key in targetObj) {
|
||||
if (Object.prototype.hasOwnProperty.call(targetObj, key)) {
|
||||
if (!Object.prototype.hasOwnProperty.call(masterObj, key)) {
|
||||
if (!masterObj.hasOwnProperty(key)) {
|
||||
keysToRemove.push(key);
|
||||
}
|
||||
}
|
||||
@@ -230,17 +200,9 @@ async function processKeys(masterObj, targetObj, targetLangCode, currentPathPart
|
||||
|
||||
// --- Main synchronization ---
|
||||
async function syncAllTranslations() {
|
||||
const isSync = !checkOnly && !enforceOrder && !cleanupOnly;
|
||||
const isEnforceOrder = enforceOrder && !cleanupOnly;
|
||||
const isCleanup = cleanupOnly;
|
||||
|
||||
if (checkOnly) {
|
||||
console.log("--- Checking for translation changes (no translations will be performed) ---");
|
||||
} else if (isCleanup) {
|
||||
console.warn("--- Only obsolete keys will be removed - No translations, or reordering will happen ---");
|
||||
} else if (isEnforceOrder) {
|
||||
console.warn("--- Enforcing order of all files to match master language (no translations will be performed) ---");
|
||||
} else if (isSync) {
|
||||
} else {
|
||||
console.warn("--- Using DeepL API for translation ---");
|
||||
}
|
||||
|
||||
@@ -258,61 +220,38 @@ async function syncAllTranslations() {
|
||||
for (const targetFile of targetLocaleFiles) {
|
||||
const targetLangCode = path.basename(targetFile, '.json');
|
||||
let targetContent = {};
|
||||
let originalTargetContent = null;
|
||||
let fileExisted = await fs.pathExists(targetFile);
|
||||
|
||||
if (fileExisted) {
|
||||
try {
|
||||
originalTargetContent = await fs.readJson(targetFile);
|
||||
targetContent = JSON.parse(JSON.stringify(originalTargetContent)); // start from original
|
||||
targetContent = await fs.readJson(targetFile);
|
||||
} catch (e) {
|
||||
console.warn(`Warning: Could not parse ${targetFile}. Starting fresh. Error: ${e.message}`);
|
||||
targetContent = {};
|
||||
originalTargetContent = null;
|
||||
}
|
||||
} else {
|
||||
if (isCleanup) continue;
|
||||
console.log(`\nTarget file ${targetFile} not found. Will create for language: ${targetLangCode}.`);
|
||||
}
|
||||
|
||||
const result = await processKeys(masterContent, targetContent, targetLangCode, [], isEnforceOrder, isCleanup);
|
||||
|
||||
let reorderedContent = targetContent;
|
||||
let orderChanged = false;
|
||||
if (isEnforceOrder && originalTargetContent && !checkOnly) {
|
||||
reorderedContent = reorderObject(targetContent, masterContent);
|
||||
// Compare the reordered content with the original to see if order changed
|
||||
const origStr = JSON.stringify(originalTargetContent);
|
||||
const reorderedStr = JSON.stringify(reorderedContent);
|
||||
if (origStr !== reorderedStr) {
|
||||
orderChanged = true;
|
||||
console.log(`- Reordered keys in ${targetLangCode}.json`);
|
||||
}
|
||||
}
|
||||
const result = await processKeys(masterContent, targetContent, targetLangCode);
|
||||
|
||||
if (checkOnly) {
|
||||
let wouldChange = false;
|
||||
if (typeof result === 'number' && result > 0) {
|
||||
meaningfulChanges += result;
|
||||
wouldChange = true;
|
||||
console.log(`Found ${result} meaningful changes needed for ${targetLangCode}.json`);
|
||||
}
|
||||
if (!fileExisted && !isCleanup) {
|
||||
wouldChange = true;
|
||||
console.log(`Would create new file for ${targetLangCode}.json`);
|
||||
}
|
||||
if (wouldChange) {
|
||||
hasMeaningfulChanges = true;
|
||||
console.log(`Found ${result} meaningful changes needed for ${targetLangCode}.json`);
|
||||
} else if (!fileExisted) {
|
||||
meaningfulChanges++;
|
||||
hasMeaningfulChanges = true;
|
||||
console.log(`Would create new file for ${targetLangCode}.json`);
|
||||
} else {
|
||||
// Only print if there are meaningful changes
|
||||
}
|
||||
} else {
|
||||
const needsWrite = result || orderChanged || (!isCleanup && !fileExisted);
|
||||
if (needsWrite) {
|
||||
const finalContent = (isEnforceOrder && orderChanged) ? reorderedContent : targetContent;
|
||||
if (result || !fileExisted) {
|
||||
try {
|
||||
await fs.writeJson(targetFile, finalContent, { spaces: 2 });
|
||||
if (!isCleanup && !isEnforceOrder) {
|
||||
console.log(`Successfully ${result ? 'updated' : 'created'} ${targetFile}`);
|
||||
}
|
||||
await fs.writeJson(targetFile, targetContent, { spaces: 2 });
|
||||
console.log(`Successfully ${result ? 'updated' : 'created'} ${targetFile}`);
|
||||
} catch (error) {
|
||||
console.error(`Error writing to ${targetFile}:`, error);
|
||||
}
|
||||
@@ -331,13 +270,7 @@ async function syncAllTranslations() {
|
||||
return 0; // Exit code 0 for no meaningful changes
|
||||
}
|
||||
} else {
|
||||
if (isCleanup) {
|
||||
console.log('\n✅ Cleanup complete (obsolete keys removed).');
|
||||
} else if (isEnforceOrder) {
|
||||
console.log('\n✅ Enforce order complete.');
|
||||
} else {
|
||||
console.log('\n✅ Translation synchronization complete (via DeepL).');
|
||||
}
|
||||
console.log('\n✅ Translation synchronization complete (via DeepL).');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { fetchURL, adjustedData } from "./utils";
|
||||
import { fetchURL } from "./utils";
|
||||
import { notify } from "@/notify";
|
||||
import { getApiPath, getPublicApiPath } from "@/utils/url.js";
|
||||
import { state } from "@/store";
|
||||
import { getApiPath } from "@/utils/url.js";
|
||||
|
||||
// GET /api/media/subtitles
|
||||
export async function getSubtitleContent(source, path, subtitleName, embedded = false) {
|
||||
@@ -19,50 +18,4 @@ export async function getSubtitleContent(source, path, subtitleName, embedded =
|
||||
notify.showError(err.message || `Error fetching subtitle ${subtitleName}`)
|
||||
throw err
|
||||
}
|
||||
}
|
||||
|
||||
// GET /api/media/metadata — directory or file with metadata; optional albumArt for embedded cover extraction.
|
||||
/** @param {boolean} albumArt when true, request embedded album art in audio metadata */
|
||||
/** @returns {Promise<object>} resource (adjustedData) */
|
||||
export async function fetchDirectoryMediaMetadata(source, path, albumArt = false) {
|
||||
const apiPath = getApiPath("media/metadata", {
|
||||
source,
|
||||
path,
|
||||
...(albumArt ? { albumArt: "true" } : {}),
|
||||
});
|
||||
const res = await fetchURL(apiPath);
|
||||
const data = await res.json();
|
||||
return adjustedData(data);
|
||||
}
|
||||
|
||||
// GET /public/api/media/metadata
|
||||
/** @param {boolean} albumArt when true, request embedded album art in audio metadata */
|
||||
/** @returns {Promise<object>} resource (adjustedData) */
|
||||
export async function fetchDirectoryMediaMetadataPublic(path, hash, password = "", albumArt = false) {
|
||||
const params = {
|
||||
path,
|
||||
hash,
|
||||
...(albumArt ? { albumArt: "true" } : {}),
|
||||
...(state.shareInfo.token && { token: state.shareInfo.token }),
|
||||
};
|
||||
const apiPath = getPublicApiPath("media/metadata", params);
|
||||
const response = await fetch(apiPath, {
|
||||
headers: { "X-SHARE-PASSWORD": password || "" },
|
||||
});
|
||||
if (!response.ok) {
|
||||
const error = new Error(response.statusText);
|
||||
let data = null;
|
||||
try {
|
||||
data = await response.json();
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
if (data?.message) {
|
||||
error.message = data.message;
|
||||
}
|
||||
/** @type {any} */ (error).status = response.status;
|
||||
throw error;
|
||||
}
|
||||
const data = await response.json();
|
||||
return adjustedData(data);
|
||||
}
|
||||
@@ -47,31 +47,6 @@ export async function getItems(source, path, only = "") {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a graceful pause for the active chunked upload at this path.
|
||||
* Call immediately before aborting the chunk XHR so the server keeps partial data.
|
||||
*/
|
||||
export async function signalUploadPause(source, path, shareHash = null) {
|
||||
if (shareHash) {
|
||||
const apiPath = getPublicApiPath('resources/pause', {
|
||||
hash: shareHash,
|
||||
path: path,
|
||||
})
|
||||
const headers = {}
|
||||
const sharePassword = localStorage.getItem('sharepass:' + shareHash)
|
||||
if (sharePassword) {
|
||||
headers['X-SHARE-PASSWORD'] = sharePassword
|
||||
}
|
||||
await fetchURL(apiPath, { method: 'POST', headers })
|
||||
return
|
||||
}
|
||||
if (!source || source === undefined || source === null) {
|
||||
throw new Error('no source provided')
|
||||
}
|
||||
const apiPath = getApiPath('resources/pause', { path, source })
|
||||
await fetchURL(apiPath, { method: 'POST' })
|
||||
}
|
||||
|
||||
async function resourceAction(source, path, method, content) {
|
||||
if (!source || source === undefined || source === null) {
|
||||
throw new Error('no source provided')
|
||||
@@ -219,19 +194,6 @@ export async function download(format, files, shareHash = "") {
|
||||
}, 100)
|
||||
}
|
||||
|
||||
/** Best-effort text from a failed download response (consumes body). */
|
||||
async function readDownloadErrorBody(response) {
|
||||
try {
|
||||
const text = await response.text()
|
||||
if (text && text.length > 0) {
|
||||
return text.length > 300 ? `${text.slice(0, 300)}…` : text
|
||||
}
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
async function downloadChunked(file, shareHash = "") {
|
||||
const chunkSizeMb = state.user?.fileLoading?.downloadChunkSizeMb || 0
|
||||
|
||||
@@ -297,18 +259,7 @@ async function downloadChunked(file, shareHash = "") {
|
||||
})
|
||||
|
||||
if (!response.ok && response.status !== 206) {
|
||||
const body = (await readDownloadErrorBody(response)).trim()
|
||||
const fromHttp =
|
||||
body ||
|
||||
[response.statusText, `HTTP ${response.status}`].filter(Boolean).join(" ").trim()
|
||||
throw new Error(fromHttp || "Request failed")
|
||||
}
|
||||
|
||||
if (!response.body) {
|
||||
throw new Error(
|
||||
[response.statusText, `HTTP ${response.status}`].filter(Boolean).join(" ").trim() ||
|
||||
"No response body"
|
||||
)
|
||||
throw new Error(`Failed to download chunk: ${response.statusText}`)
|
||||
}
|
||||
|
||||
// Track progress within the chunk using ReadableStream
|
||||
@@ -352,10 +303,6 @@ async function downloadChunked(file, shareHash = "") {
|
||||
throw readError; // Re-throw other errors
|
||||
}
|
||||
|
||||
if (chunkLoaded < expectedChunkSize) {
|
||||
throw new Error("Connection closed before the full chunk was received")
|
||||
}
|
||||
|
||||
// Combine chunk parts into single ArrayBuffer
|
||||
const chunk = new Uint8Array(chunkLoaded);
|
||||
let position = 0;
|
||||
@@ -408,9 +355,8 @@ async function downloadChunked(file, shareHash = "") {
|
||||
// Don't throw error or show notification for user-initiated cancellation
|
||||
return;
|
||||
}
|
||||
const message =
|
||||
error instanceof Error ? error.message || "Unknown error" : String(error)
|
||||
downloadManager.setError(downloadId, message)
|
||||
downloadManager.setError(downloadId, error.message || 'Download failed')
|
||||
notify.showError(`Chunked download failed: ${error.message}`)
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,8 +48,7 @@ export async function create(user) {
|
||||
}
|
||||
|
||||
// PUT /api/users (update user)
|
||||
// Optional `options.headers` (e.g. X-Password when changing a password user's password).
|
||||
export async function update(user, which = ['all'], options = {}) {
|
||||
export async function update(user, which = ['all']) {
|
||||
const excludeKeys = ['id', 'name']
|
||||
which = which.filter(item => !excludeKeys.includes(item))
|
||||
if (user.username === 'anonymous') {
|
||||
@@ -67,14 +66,12 @@ export async function update(user, which = ['all'], options = {}) {
|
||||
}
|
||||
|
||||
const apiPath = getApiPath('users', { id: user.id })
|
||||
const extraHeaders = options.headers || {}
|
||||
await fetchURL(apiPath, {
|
||||
method: 'PUT',
|
||||
body: JSON.stringify({
|
||||
which: which,
|
||||
data: userData
|
||||
}),
|
||||
headers: extraHeaders,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
:title="label"
|
||||
class="action no-select"
|
||||
>
|
||||
<i v-if="icon == 'table_rows_narrow' || icon == 'content_copy' || icon == 'file_copy' || icon == 'copy_all'" class="material-symbols-outlined">{{ icon }}</i>
|
||||
<i v-else class="material-symbols">{{ icon }}</i>
|
||||
<i v-if="icon == 'table_rows_narrow'" class="material-symbols-outlined">{{ icon }}</i>
|
||||
<i v-else class="material-icons">{{ icon }}</i>
|
||||
|
||||
<span>{{ label }}</span>
|
||||
<span v-if="counter > 0" class="counter">{{ counter }}</span>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
ref="contextMenu"
|
||||
v-if="showContext"
|
||||
:style="centered ? {} : { top: posY + 'px', left: posX + 'px' }"
|
||||
class="no-select floating-window"
|
||||
class="button no-select floating-window"
|
||||
:class="{ 'dark-mode': isDarkMode, 'centered': centered }"
|
||||
:key="showCreate ? 'create-mode' : 'normal-mode'"
|
||||
>
|
||||
@@ -20,15 +20,14 @@
|
||||
v-if="showCreateButton"
|
||||
@click="toggleShowCreate"
|
||||
>
|
||||
<i v-if="!showCreate" class="material-symbols">add</i>
|
||||
<i v-else class="material-symbols">arrow_back</i>
|
||||
<i v-if="!showCreate" class="material-icons">add</i>
|
||||
<i v-else class="material-icons">arrow_back</i>
|
||||
</div>
|
||||
<div
|
||||
v-if="selectedCount > 0"
|
||||
@mouseleave="hideTooltip"
|
||||
@mouseenter="showTooltip($event, $t('buttons.selectedCount'))"
|
||||
class="button selected-count-header"
|
||||
:class="{ 'selected-count-header--circle': selectedCount <= 99 }"
|
||||
>
|
||||
<span>{{ selectedCount }}</span>
|
||||
</div>
|
||||
@@ -85,22 +84,16 @@
|
||||
/>
|
||||
<action
|
||||
v-if="showRename"
|
||||
icon="edit"
|
||||
icon="mode_edit"
|
||||
:label="$t('general.rename')"
|
||||
@action="showRenamePrompt"
|
||||
/>
|
||||
<action
|
||||
v-if="showCopy"
|
||||
icon="file_copy"
|
||||
icon="content_copy"
|
||||
:label="$t('buttons.copyFile')"
|
||||
@action="showCopyPrompt"
|
||||
/>
|
||||
<action
|
||||
v-if="showCopyPath"
|
||||
icon="copy_all"
|
||||
:label="$t('buttons.copyPath')"
|
||||
@action="copyPathToClipboard"
|
||||
/>
|
||||
<action
|
||||
v-if="showOpenParentFolder"
|
||||
icon="folder"
|
||||
@@ -159,13 +152,13 @@
|
||||
top: '3em',
|
||||
right: '1em',
|
||||
}"
|
||||
class="no-select floating-window"
|
||||
class="button no-select floating-window"
|
||||
:class="{ 'dark-mode': isDarkMode }"
|
||||
>
|
||||
<action icon="info" :label="$t('general.info')" @action="showInfoPrompt"/>
|
||||
<action v-if="showGoToRaw" icon="open_in_new" :label="$t('general.openFile')" @action="goToRaw()" />
|
||||
<action v-if="shouldShowParentFolder()" icon="folder" :label="$t('buttons.openParentFolder')" @action="openParentFolder" />
|
||||
<action v-if="isPreview && permissions.modify" icon="edit" :label="$t('general.rename')" @action="showRenamePromptForPreview" />
|
||||
<action v-if="isPreview && permissions.modify" icon="mode_edit" :label="$t('general.rename')" @action="showRenamePromptForPreview" />
|
||||
<action v-if="showWatch" icon="visibility" :label="$t('buttons.watchFile')" @action="watchFile()" />
|
||||
<action v-if="hasDownload" icon="file_download" :label="$t('general.download')" @action="startDownload" />
|
||||
<action v-if="showUnarchiveInOverflow" icon="folder_open" :label="$t('prompts.unarchive')" @action="showUnarchivePromptFromPreview" />
|
||||
@@ -294,10 +287,6 @@ export default {
|
||||
if (this.showLimitedOptions) return false;
|
||||
return !this.showCreate && this.selectedCount > 0 && this.permissions.modify;
|
||||
},
|
||||
showCopyPath() {
|
||||
if (this.showLimitedOptions) return false;
|
||||
return !this.showCreate && this.selectedCount == 1 && !!state.user?.showCopyPath;
|
||||
},
|
||||
showOpenParentFolder() {
|
||||
return !this.showCreate && this.selectedCount == 1 && (this.isSearchActive || this.showLimitedOptions);
|
||||
},
|
||||
@@ -658,39 +647,6 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
async copyPathToClipboard() {
|
||||
const item = this.firstSelected;
|
||||
const path = item?.path || "";
|
||||
|
||||
if (!path) {
|
||||
notify.showErrorToast(this.$t("prompts.copyToClipboardFailed"));
|
||||
mutations.closeHovers();
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
await navigator.clipboard.writeText(path);
|
||||
notify.showSuccessToast(this.$t("buttons.copySuccess"));
|
||||
} catch (err) {
|
||||
const textArea = document.createElement("textarea");
|
||||
textArea.value = path;
|
||||
textArea.style.position = "fixed";
|
||||
textArea.style.opacity = "0";
|
||||
document.body.appendChild(textArea);
|
||||
textArea.select();
|
||||
|
||||
try {
|
||||
document.execCommand("copy");
|
||||
notify.showSuccessToast(this.$t("buttons.copySuccess"));
|
||||
} catch (e) {
|
||||
notify.showErrorToast(this.$t("prompts.copyToClipboardFailed"));
|
||||
}
|
||||
|
||||
document.body.removeChild(textArea);
|
||||
}
|
||||
|
||||
mutations.closeHovers();
|
||||
},
|
||||
showNewDirPrompt() {
|
||||
mutations.closeHovers();
|
||||
// If the context menu was triggered on a directory, pass its path as base
|
||||
@@ -836,14 +792,12 @@ export default {
|
||||
z-index: 1000;
|
||||
background-color: var(--background);
|
||||
max-width: 20em;
|
||||
min-width: 13em;
|
||||
min-width: 15em;
|
||||
min-height: 4em;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
border-radius: 1em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
#context-menu.centered {
|
||||
@@ -858,18 +812,6 @@ export default {
|
||||
cursor: unset;
|
||||
}
|
||||
|
||||
/* Circle for up to 3 digits; 1000+ keeps pill shape from .button */
|
||||
.selected-count-header--circle {
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
min-width: 2em;
|
||||
min-height: 2em;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.context-menu-header > .action i {
|
||||
padding: 0.25em;
|
||||
}
|
||||
@@ -913,7 +855,5 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
</style>
|
||||
@@ -19,10 +19,10 @@
|
||||
}"
|
||||
>
|
||||
<!-- Close button - always present on every notification, separate from optional buttons array -->
|
||||
<i class="material-symbols" @click="closeNotification(notification.id)">close</i>
|
||||
<i class="material-icons" @click="closeNotification(notification.id)">close</i>
|
||||
<div class="notification-content-wrapper">
|
||||
<div class="notification-header">
|
||||
<i v-if="notification.icon" class="material-symbols notification-icon">
|
||||
<i v-if="notification.icon" class="material-icons notification-icon">
|
||||
{{ notification.icon }}
|
||||
</i>
|
||||
<div class="notification-message">{{ notification.message }}</div>
|
||||
@@ -255,13 +255,13 @@ export default {
|
||||
border-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.notification-item > .material-symbols:first-child {
|
||||
.notification-item > .material-icons:first-child {
|
||||
cursor: pointer;
|
||||
font-size: 1.75em;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.notification-item > .material-symbols:first-child:hover {
|
||||
.notification-item > .material-icons:first-child:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ https://raw.githubusercontent.com/dzwillia/vue-simple-progress/master/src/compon
|
||||
{{ displayed_text }}
|
||||
<i
|
||||
v-if="helpText && status === 'error'"
|
||||
class="material-symbols-outlined tooltip-info-icon"
|
||||
class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip"
|
||||
@mouseleave="hideTooltip"
|
||||
>
|
||||
@@ -354,9 +354,7 @@ export default {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.tooltip-info-icon:hover,
|
||||
.tooltip-info-icon:hover .material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 1;
|
||||
.tooltip-info-icon:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
<!-- Close button visible when search is active -->
|
||||
<button v-if="active" class="action" @click="close" :aria-label="$t('general.close')"
|
||||
:title="$t('general.close')">
|
||||
<i class="material-symbols">close</i>
|
||||
<i class="material-icons">close</i>
|
||||
</button>
|
||||
<!-- Search icon when search is not active -->
|
||||
<i v-else class="material-symbols">search</i>
|
||||
<i v-else class="material-icons">search</i>
|
||||
<!-- Input field for search -->
|
||||
<input id="search-input" type="text"
|
||||
@keyup.exact="keyup" @input="submit" ref="input" :autofocus="active" v-model.trim="value"
|
||||
@@ -69,11 +69,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- Loading icon when search is ongoing -->
|
||||
<LoadingSpinner v-if="isRunning" size="medium" />
|
||||
<LoadingSpinner v-if="ongoing" size="medium" />
|
||||
<!-- Message when no results are found -->
|
||||
<div class="searchPrompt" v-show="isEmpty && !isRunning">
|
||||
<p>{{ noneMessage }}</p>
|
||||
<i class="material-symbols-outlined tooltip-info-icon" @mouseenter="showHelpTooltip"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon" @mouseenter="showHelpTooltip"
|
||||
@mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -145,14 +145,14 @@ export default {
|
||||
],
|
||||
typeSelect: [
|
||||
{ label: this.$t("general.photos"), value: "type:image" },
|
||||
{ label: this.$t("general.audio"), value: "type:audio" },
|
||||
{ label: this.$t("general.audios"), value: "type:audio" },
|
||||
{ label: this.$t("general.videos"), value: "type:video" },
|
||||
{ label: this.$t("general.documents"), value: "type:doc" },
|
||||
{ label: this.$t("general.archives"), value: "type:archive" },
|
||||
],
|
||||
toggleOptionButton: [{ label: this.$t("search.showOptions") }],
|
||||
value: "",
|
||||
ongoing: 0,
|
||||
ongoing: false,
|
||||
results: [],
|
||||
reload: false,
|
||||
scrollable: null,
|
||||
@@ -181,7 +181,7 @@ export default {
|
||||
},
|
||||
value() {
|
||||
if (this.results.length) {
|
||||
this.ongoing = 0;
|
||||
this.ongoing = false;
|
||||
this.results = [];
|
||||
}
|
||||
},
|
||||
@@ -267,16 +267,17 @@ export default {
|
||||
return this.results.length === 0;
|
||||
},
|
||||
text() {
|
||||
if (this.ongoing > 0) {
|
||||
if (this.ongoing) {
|
||||
return "";
|
||||
}
|
||||
return this.$t("search.typeToSearch", { minSearchLength: globalVars.minSearchLength })
|
||||
},
|
||||
isRunning() {
|
||||
return this.ongoing > 0;
|
||||
return this.ongoing;
|
||||
},
|
||||
activeStates() {
|
||||
const selectedItems = state.selected ? [].concat(state.selected) : [];
|
||||
|
||||
if (selectedItems.length === 0) {
|
||||
// Return an array of all false if nothing is selected
|
||||
return new Array(this.results.length).fill(false);
|
||||
@@ -380,6 +381,9 @@ export default {
|
||||
const fullPath = context + '/' + path;
|
||||
return url.buildItemUrl(source, fullPath, true);
|
||||
},
|
||||
getIcon(mimetype) {
|
||||
return getMaterialIconForType(mimetype);
|
||||
},
|
||||
enableOptions() {
|
||||
this.hiddenOptions = false;
|
||||
this.toggleOptionButton = [{ label: "Hide Options" }];
|
||||
@@ -463,11 +467,12 @@ export default {
|
||||
},
|
||||
async submit(event) {
|
||||
this.results = [];
|
||||
|
||||
if (event != undefined) {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (this.value === "" || this.value.length < globalVars.minSearchLength) {
|
||||
this.noneMessage = this.$t("search.notEnoughCharacters", { minSearchLength: globalVars.minSearchLength });
|
||||
this.ongoing = false; this.noneMessage = this.$t("search.notEnoughCharacters", { minSearchLength: globalVars.minSearchLength });
|
||||
return;
|
||||
}
|
||||
let searchTypesFull = this.searchTypes;
|
||||
@@ -486,7 +491,7 @@ export default {
|
||||
if (newerUnix !== null) {
|
||||
dateParams.newerThan = newerUnix;
|
||||
}
|
||||
this.ongoing++;
|
||||
this.ongoing = true;
|
||||
|
||||
// Determine which sources to search
|
||||
let sourcesToSearch = [];
|
||||
@@ -509,13 +514,13 @@ export default {
|
||||
dateParams
|
||||
);
|
||||
|
||||
this.ongoing--;
|
||||
if (this.results.length == 0 && this.ongoing == 0) {
|
||||
this.ongoing = false;
|
||||
if (this.results.length == 0) {
|
||||
this.noneMessage = this.$t("search.noResults");
|
||||
}
|
||||
},
|
||||
showHelpTooltip(event) {
|
||||
const helpText = `${this.$t("search.helpText1", { minSearchLength: globalVars.minSearchLength })}\n\n${this.$t("search.helpText2")}`;
|
||||
const helpText = `${this.$t("search.helpText1")}\n\n${this.$t("search.helpText2")}`;
|
||||
mutations.showTooltip({
|
||||
content: helpText,
|
||||
x: event.clientX,
|
||||
@@ -689,12 +694,12 @@ export default {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search-input-container .material-symbols {
|
||||
.search-input-container .material-icons {
|
||||
font-size: 1.25em;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
#search.active .search-input-container .material-symbols {
|
||||
#search.active .search-input-container .material-icons {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +1,15 @@
|
||||
<template>
|
||||
<div id="status-bar" :style="moveWithSidebar" :class="{ 'dark-mode-header': isDarkMode, 'active': showStatusBar }" @contextmenu.prevent.stop @touchstart.stop @touchend.stop>
|
||||
<div class="status-content" @contextmenu.prevent.stop @touchstart.stop @touchend.stop>
|
||||
<!-- Left side: selection/directory info and stats for the editor and markdown viewer -->
|
||||
<div class="status-info">
|
||||
<template v-if="isEditorOrMarkdownView">
|
||||
<span>{{ editorStatsText }}</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
<span v-if="selectedCount > 0" class="button">{{ selectedCount }}</span>
|
||||
<span v-if="selectedCount > 0">{{ selectedItemsText }}</span>
|
||||
<span v-else>{{ directoryInfoText }}</span>
|
||||
</template>
|
||||
<div v-if="selectedCount > 0" class="status-info">
|
||||
<span class="button">{{ selectedCount }}</span>
|
||||
<span>{{ selectedItemsText }}</span>
|
||||
</div>
|
||||
<div v-else class="status-info">
|
||||
<span class="directory-info">{{ directoryInfoText }}</span>
|
||||
</div>
|
||||
<!-- Right side: Slider to control the listing size or the font size in editor -->
|
||||
<div class="status-controls">
|
||||
<div v-if="currentView === 'listingView'" class="gallery-size-control">
|
||||
<div v-if="showGallerySize" class="gallery-size-control">
|
||||
<span class="size-label">{{ $t("general.size") }}</span>
|
||||
<input
|
||||
v-model="gallerySize"
|
||||
@@ -27,17 +22,6 @@
|
||||
@change="commitGallerySize"
|
||||
/>
|
||||
</div>
|
||||
<div v-if="currentView === 'editor'" class="gallery-size-control">
|
||||
<span class="size-label">{{ $t("general.size") }}</span>
|
||||
<input
|
||||
v-model="editorFontSize"
|
||||
type="range"
|
||||
min="10"
|
||||
max="24"
|
||||
step="1"
|
||||
/>
|
||||
<span class="size-label">{{ editorFontSize }}px</span> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -55,17 +39,11 @@ export default {
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
currentView() {
|
||||
return getters.currentView();
|
||||
},
|
||||
isEditorOrMarkdownView() {
|
||||
return this.currentView === 'editor' || this.currentView === 'markdownViewer';
|
||||
},
|
||||
showStatusBar() {
|
||||
if (getters.isShare() && state.shareInfo.shareType === "upload") {
|
||||
return false;
|
||||
}
|
||||
return this.currentView === "listingView" || this.isEditorOrMarkdownView;
|
||||
return getters.currentView() === "listingView";
|
||||
},
|
||||
isDarkMode() {
|
||||
return getters.isDarkMode();
|
||||
@@ -79,6 +57,9 @@ export default {
|
||||
numFiles() {
|
||||
return getters.reqNumFiles();
|
||||
},
|
||||
showGallerySize() {
|
||||
return getters.isCardView() && state.req?.items?.length > 0;
|
||||
},
|
||||
totalDirectorySize() {
|
||||
if (!Array.isArray(state.req?.items)) return 0;
|
||||
return state.req.items.reduce((total, item) => total + (item.size || 0), 0);
|
||||
@@ -136,30 +117,6 @@ export default {
|
||||
}
|
||||
return {};
|
||||
},
|
||||
editorStatsText() {
|
||||
const { lines, words, chars } = state.editorStats;
|
||||
return [
|
||||
[words, chars]
|
||||
.map((v, i) => v != null && this.$t(i === 0 ? 'editor.words' : 'editor.chars', { count: v }))
|
||||
.filter(Boolean)
|
||||
.join(', '),
|
||||
lines != null && this.$t('editor.lines', { count: lines })
|
||||
].filter(Boolean).join(' | ');
|
||||
},
|
||||
editorFontSize: {
|
||||
get() {
|
||||
return state.editorFontSize;
|
||||
},
|
||||
set(value) {
|
||||
mutations.setEditorFontSize(value);
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
window.addEventListener('wheel', this.handleWheel, { passive: false });
|
||||
},
|
||||
beforeUnmount() {
|
||||
window.removeEventListener('wheel', this.handleWheel);
|
||||
},
|
||||
methods: {
|
||||
updateGallerySize(event) {
|
||||
@@ -200,28 +157,6 @@ export default {
|
||||
mutations.updateCurrentUser({ viewMode: newMode });
|
||||
}
|
||||
},
|
||||
// Ctrl + Mouse Wheel to adjust the slider sizes
|
||||
handleWheel(event) {
|
||||
if (!(event.ctrlKey || event.metaKey)) return;
|
||||
|
||||
const delta = event.deltaY > 0 ? 1 : -1; // Scroll down increases, up decreases
|
||||
|
||||
if (this.currentView === 'listingView') {
|
||||
event.preventDefault();
|
||||
let newSize = Math.min(9, Math.max(1, this.gallerySize - delta));
|
||||
if (newSize !== this.gallerySize) {
|
||||
this.gallerySize = newSize;
|
||||
mutations.setGallerySize(newSize);
|
||||
this.adjustViewMode();
|
||||
}
|
||||
} else if (this.currentView === 'editor') {
|
||||
event.preventDefault();
|
||||
let newSize = Math.min(24, Math.max(10, this.editorFontSize - delta));
|
||||
if (newSize !== this.editorFontSize) {
|
||||
this.editorFontSize = newSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getIconClass } from "@/utils/material-symbols";
|
||||
import { getIconClass } from "@/utils/material-icons";
|
||||
|
||||
export default {
|
||||
name: "Toast",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@dragleave.prevent="dragLeave($event, homeLink)"
|
||||
@dragover.prevent="dragOver($event, homeLink)"
|
||||
@drop.prevent="drop($event, homeLink)">
|
||||
<i class="material-symbols">home</i>
|
||||
<i class="material-icons">home</i>
|
||||
</router-link>
|
||||
</li>
|
||||
<li class="item" v-for="(link, index) in items" :key="index">
|
||||
@@ -324,8 +324,6 @@ export default {
|
||||
<style scoped>
|
||||
#breadcrumbs {
|
||||
overflow-x: auto;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
||||
@@ -333,6 +331,12 @@ export default {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide scrollbar for IE, Edge and Firefox */
|
||||
#breadcrumbs {
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
}
|
||||
|
||||
#breadcrumbs * {
|
||||
box-sizing: unset;
|
||||
}
|
||||
@@ -346,16 +350,15 @@ export default {
|
||||
|
||||
#breadcrumbs ul li {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 8px 0 0;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a {
|
||||
display: flex;
|
||||
height: 0.85em;
|
||||
background: var(--surfacePrimary);
|
||||
background: color-mix(in srgb, var(--alt-background) 90%, transparent);
|
||||
text-align: center;
|
||||
padding: 0.85em;
|
||||
padding-right: 1.6em;
|
||||
padding-left: 1.7em;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
@@ -367,15 +370,6 @@ export default {
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
max-width: 90vw;
|
||||
clip-path: polygon(
|
||||
0% 0%,
|
||||
calc(100% - 1.275em) 0%,
|
||||
100% 50%,
|
||||
calc(100% - 1.275em) 100%,
|
||||
0% 100%,
|
||||
1.275em 50%);
|
||||
margin-right: -0.85em;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a .breadcrumb-text {
|
||||
@@ -385,29 +379,51 @@ export default {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a::after {
|
||||
content: "";
|
||||
border-top: 1.275em solid transparent;
|
||||
border-bottom: 1.275em solid transparent;
|
||||
border-left: 1.275em solid var(--alt-background);
|
||||
border-left-color: color-mix(in srgb, var(--alt-background) 90%, transparent);
|
||||
position: absolute;
|
||||
right: -1.25em;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a::before {
|
||||
content: "";
|
||||
border-top: 1.275em solid transparent;
|
||||
border-bottom: 1.275em solid transparent;
|
||||
border-left: 1.275em solid var(--background);
|
||||
border-left-color: color-mix(in srgb, var(--background) 85%, transparent);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li:first-child a {
|
||||
border-top-left-radius: 0.85em;
|
||||
border-bottom-left-radius: 0.85em;
|
||||
clip-path: polygon(
|
||||
0% 0%,
|
||||
calc(100% - 1.275em) 0%,
|
||||
100% 50%,
|
||||
calc(100% - 1.275em) 100%,
|
||||
0% 100%);
|
||||
padding-left: 1.1em;
|
||||
padding-left: 1.275em;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li:first-child a::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li:last-child a {
|
||||
padding-right: 1.275em;
|
||||
border-top-right-radius: 0.85em;
|
||||
border-bottom-right-radius: 0.85em;
|
||||
clip-path: polygon(
|
||||
0% 0%,
|
||||
100% 0%,
|
||||
100% 100%,
|
||||
0% 100%,
|
||||
1.275em 50%);
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li:last-child a::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a:hover {
|
||||
@@ -415,6 +431,10 @@ export default {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#breadcrumbs ul li a:hover::after {
|
||||
border-left-color: var(--primaryColor);
|
||||
}
|
||||
|
||||
#breadcrumbs ul li:last-child a.changeAvailable {
|
||||
filter: contrast(0.8) hue-rotate(200deg) saturate(1);
|
||||
}
|
||||
@@ -425,6 +445,10 @@ export default {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.drag-over::after {
|
||||
border-left-color: var(--primaryColor) !important;
|
||||
}
|
||||
|
||||
@keyframes breadcrumbPulse {
|
||||
0% { transform: scale(1); }
|
||||
50% { transform: scale(1.05); }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="image-ex-container" ref="container" @touchstart="touchStart" @touchmove.prevent="touchMove" @touchend="touchEnd" @dblclick="zoomAuto"
|
||||
<div class="image-ex-container" ref="container" @touchstart="touchStart" @touchmove="touchMove" @touchend="touchEnd" @dblclick="zoomAuto"
|
||||
@mousedown="mousedownStart" @mousemove="mouseMove" @mouseup="mouseUp" @wheel="wheelMove">
|
||||
<!-- Thumbnail placeholder (shown while full image loads, only if cached thumbnail exists) -->
|
||||
<img
|
||||
@@ -35,7 +35,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { state, mutations, getters } from '@/store';
|
||||
import { state, mutations, getters } from "@/store";
|
||||
import throttle from "@/utils/throttle";
|
||||
import { notify } from "@/notify";
|
||||
import LoadingSpinner from "@/components/LoadingSpinner.vue";
|
||||
@@ -76,25 +76,18 @@ export default {
|
||||
maxScale: 4,
|
||||
minScale: 1,
|
||||
isTiff: false,
|
||||
// Full-frame edge gestures (touch + mouse), zoom scale === 1 only
|
||||
edgeKind: null, // null | 'horizontal' | 'vertical-dismiss'
|
||||
edgeStartX: 0,
|
||||
edgeStartY: 0,
|
||||
edgeDx: 0,
|
||||
edgeDy: 0,
|
||||
dragOffsetX: 0,
|
||||
dragOffsetY: 0,
|
||||
// Swipe navigation properties
|
||||
swipeStartTime: null,
|
||||
swipeStartX: 0,
|
||||
swipeStartY: 0,
|
||||
swipeCurrentX: 0,
|
||||
swipeCurrentY: 0,
|
||||
isSwipeGesture: false,
|
||||
hasStartedSwipe: false,
|
||||
gestureDecided: false,
|
||||
gestureSnapBack: false,
|
||||
edgeMouseActive: false,
|
||||
showNavHint: false,
|
||||
navHintDir: 'next', // 'prev' | 'next' — chevrons match nextPrevious.vue
|
||||
showDismissHint: false,
|
||||
dismissFlashActive: false,
|
||||
edgeHintPx: 44,
|
||||
edgeCommitX: 130,
|
||||
edgeCommitY: 110,
|
||||
edgeRubberMax: 100,
|
||||
swipeMinDistance: 150,
|
||||
swipeMaxTime: 500,
|
||||
swipeMaxVerticalDistance: 50,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -126,38 +119,6 @@ export default {
|
||||
const source = getters.isShare() ? state.shareInfo?.hash : this.source;
|
||||
return getBestCachedImage(source, this.path, state.req?.modified);
|
||||
},
|
||||
navigationGestureAllowed() {
|
||||
return state.navigation.enabled && getters.currentPrompt() == null;
|
||||
},
|
||||
hasImagePrevious() {
|
||||
return this.navigationGestureAllowed && state.navigation.previousLink !== '';
|
||||
},
|
||||
hasImageNext() {
|
||||
return this.navigationGestureAllowed && state.navigation.nextLink !== '';
|
||||
},
|
||||
navPrevCommitReady() {
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
return (
|
||||
this.hasImagePrevious &&
|
||||
this.edgeDx >= this.edgeCommitX &&
|
||||
ax >= ay
|
||||
);
|
||||
},
|
||||
navNextCommitReady() {
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
return (
|
||||
this.hasImageNext &&
|
||||
this.edgeDx <= -this.edgeCommitX &&
|
||||
ax >= ay
|
||||
);
|
||||
},
|
||||
dismissCommitReady() {
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
return this.edgeDy >= this.edgeCommitY && ay >= ax;
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.isTiff = this.checkIfTiff(this.src);
|
||||
@@ -191,32 +152,10 @@ export default {
|
||||
clearTimeout(this.loadTimeout);
|
||||
this.loadTimeout = null;
|
||||
}
|
||||
this.teardownEdgeMouseListeners();
|
||||
mutations.setNavigationGestureHint({});
|
||||
window.removeEventListener("resize", this.onResize);
|
||||
document.removeEventListener("mouseup", this.onMouseUp);
|
||||
},
|
||||
methods: {
|
||||
syncNavigationGestureHintToStore() {
|
||||
let kind = null;
|
||||
let commitReady = false;
|
||||
let flashClose = false;
|
||||
if (this.dismissFlashActive) {
|
||||
kind = 'close';
|
||||
commitReady = this.dismissCommitReady;
|
||||
flashClose = true;
|
||||
} else if (this.showDismissHint) {
|
||||
kind = 'close';
|
||||
commitReady = this.dismissCommitReady;
|
||||
} else if (this.showNavHint && this.navHintDir === 'prev' && this.hasImagePrevious) {
|
||||
kind = 'previous';
|
||||
commitReady = this.navPrevCommitReady;
|
||||
} else if (this.showNavHint && this.navHintDir === 'next' && this.hasImageNext) {
|
||||
kind = 'next';
|
||||
commitReady = this.navNextCommitReady;
|
||||
}
|
||||
mutations.setNavigationGestureHint({ kind, commitReady, flashClose });
|
||||
},
|
||||
loadFullImage() {
|
||||
if (!this.src) return;
|
||||
mutations.setLoading("preview-img", true);
|
||||
@@ -240,11 +179,8 @@ export default {
|
||||
clearTimeout(this.loadTimeout);
|
||||
this.loadTimeout = null;
|
||||
}
|
||||
this.setCenter();
|
||||
mutations.setLoading("preview-img", false);
|
||||
// fullImageLoaded flips display from none → block via :style. Vue hasn't
|
||||
// updated the DOM yet, so setCenter() in the same tick sees clientWidth/Height 0.
|
||||
// Defer until after layout so centering / transform apply correctly.
|
||||
this.scheduleSetCenter();
|
||||
},
|
||||
onImageError(event) {
|
||||
const img = event.target;
|
||||
@@ -265,7 +201,6 @@ export default {
|
||||
if (img) {
|
||||
img.style.display = 'block';
|
||||
}
|
||||
this.scheduleSetCenter();
|
||||
},
|
||||
checkIfTiff(src) {
|
||||
const sufs = ["tif", "tiff", "dng", "cr2", "nef"];
|
||||
@@ -291,295 +226,44 @@ export default {
|
||||
onMouseUp() {
|
||||
this.inDrag = false;
|
||||
},
|
||||
scheduleSetCenter() {
|
||||
this.$nextTick(() => {
|
||||
requestAnimationFrame(() => {
|
||||
this.setCenter();
|
||||
const img = this.$refs.imgex;
|
||||
const container = this.$refs.container;
|
||||
if (
|
||||
img &&
|
||||
this.fullImageLoaded &&
|
||||
(!img.clientWidth || !img.clientHeight)
|
||||
) {
|
||||
requestAnimationFrame(() => this.setCenter());
|
||||
}
|
||||
// Force layout + compositor to pick up the decoded bitmap. Without this,
|
||||
// WebKit/Blink sometimes leave the promoted layer black until display/position
|
||||
// is toggled in DevTools or the window is resized.
|
||||
requestAnimationFrame(() => {
|
||||
if (!img || !this.fullImageLoaded) {
|
||||
return;
|
||||
}
|
||||
void container?.offsetHeight;
|
||||
void img.offsetHeight;
|
||||
const prevOp = img.style.opacity;
|
||||
img.style.opacity = '0.9999';
|
||||
requestAnimationFrame(() => {
|
||||
img.style.opacity = prevOp;
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
onResize: throttle(function () {
|
||||
if (this.imageLoaded) {
|
||||
this.setCenter();
|
||||
this.doMove(this.position.relative.x, this.position.relative.y);
|
||||
}
|
||||
}, 100),
|
||||
rubberband(value, max) {
|
||||
const sign = value < 0 ? -1 : 1;
|
||||
const a = Math.abs(value);
|
||||
if (a <= max) {
|
||||
return value;
|
||||
}
|
||||
return sign * (max + (a - max) * 0.32);
|
||||
},
|
||||
applyImgTransform() {
|
||||
const img = this.$refs.imgex;
|
||||
if (!img) {
|
||||
return;
|
||||
}
|
||||
const transition = this.gestureSnapBack
|
||||
? 'transform 0.22s cubic-bezier(0.32, 0.72, 0, 1)'
|
||||
: 'none';
|
||||
img.style.transition = transition;
|
||||
if (this.scale === 1) {
|
||||
img.style.transform = `translate3d(calc(-50% + ${this.dragOffsetX}px), calc(-50% + ${this.dragOffsetY}px), 0) scale(1)`;
|
||||
} else {
|
||||
const { x: rx, y: ry } = this.position.relative;
|
||||
img.style.transform = `translate3d(calc(-50% + ${rx}px), calc(-50% + ${ry}px), 0) scale(${this.scale})`;
|
||||
}
|
||||
},
|
||||
decideEdgeKind() {
|
||||
if (this.edgeKind) {
|
||||
return;
|
||||
}
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
if (ax < 12 && ay < 12) {
|
||||
return;
|
||||
}
|
||||
if (this.edgeDy > ax * 1.12 && this.edgeDy > 14) {
|
||||
this.edgeKind = 'vertical-dismiss';
|
||||
this.gestureDecided = true;
|
||||
} else if (ax > ay * 1.12 && ax > 14) {
|
||||
this.edgeKind = 'horizontal';
|
||||
this.gestureDecided = true;
|
||||
}
|
||||
},
|
||||
applyEdgeVisuals() {
|
||||
if (!this.edgeKind) {
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
if (ax <= 8 && ay <= 8) {
|
||||
this.dragOffsetX = 0;
|
||||
this.dragOffsetY = 0;
|
||||
this.showNavHint = false;
|
||||
this.showDismissHint = false;
|
||||
this.applyImgTransform();
|
||||
this.syncNavigationGestureHintToStore();
|
||||
return;
|
||||
}
|
||||
if (ax > ay) {
|
||||
this.dragOffsetX = this.rubberband(this.edgeDx, this.edgeRubberMax);
|
||||
this.dragOffsetY = 0;
|
||||
this.showNavHint = ax >= this.edgeHintPx;
|
||||
this.navHintDir = this.edgeDx > 0 ? 'prev' : 'next';
|
||||
if (this.navHintDir === 'prev' && !this.hasImagePrevious) {
|
||||
this.showNavHint = false;
|
||||
}
|
||||
if (this.navHintDir === 'next' && !this.hasImageNext) {
|
||||
this.showNavHint = false;
|
||||
}
|
||||
this.showDismissHint = false;
|
||||
} else {
|
||||
this.dragOffsetX = 0;
|
||||
const downward = this.edgeDy > 0 ? this.edgeDy : 0;
|
||||
this.dragOffsetY = this.rubberband(downward, this.edgeRubberMax);
|
||||
this.showDismissHint = this.edgeDy >= this.edgeHintPx;
|
||||
this.showNavHint = false;
|
||||
}
|
||||
this.applyImgTransform();
|
||||
this.syncNavigationGestureHintToStore();
|
||||
return;
|
||||
}
|
||||
if (this.edgeKind === 'horizontal') {
|
||||
this.dragOffsetX = this.rubberband(this.edgeDx, this.edgeRubberMax);
|
||||
this.dragOffsetY = 0;
|
||||
const adx = Math.abs(this.edgeDx);
|
||||
this.showNavHint = adx >= this.edgeHintPx;
|
||||
this.navHintDir = this.edgeDx > 0 ? 'prev' : 'next';
|
||||
if (this.navHintDir === 'prev' && !this.hasImagePrevious) {
|
||||
this.showNavHint = false;
|
||||
}
|
||||
if (this.navHintDir === 'next' && !this.hasImageNext) {
|
||||
this.showNavHint = false;
|
||||
}
|
||||
this.showDismissHint = false;
|
||||
} else {
|
||||
this.dragOffsetX = 0;
|
||||
const downward = this.edgeDy > 0 ? this.edgeDy : 0;
|
||||
this.dragOffsetY = this.rubberband(downward, this.edgeRubberMax);
|
||||
this.showDismissHint = this.edgeDy >= this.edgeHintPx;
|
||||
this.showNavHint = false;
|
||||
}
|
||||
this.applyImgTransform();
|
||||
this.syncNavigationGestureHintToStore();
|
||||
},
|
||||
snapBackEdgeGesture() {
|
||||
this.gestureSnapBack = true;
|
||||
this.dragOffsetX = 0;
|
||||
this.dragOffsetY = 0;
|
||||
this.showNavHint = false;
|
||||
this.showDismissHint = false;
|
||||
this.edgeKind = null;
|
||||
this.gestureDecided = false;
|
||||
this.edgeDx = 0;
|
||||
this.edgeDy = 0;
|
||||
this.applyImgTransform();
|
||||
mutations.setNavigationGestureHint({});
|
||||
setTimeout(() => {
|
||||
this.gestureSnapBack = false;
|
||||
this.applyImgTransform();
|
||||
}, 240);
|
||||
},
|
||||
resetEdgeGestureImmediate() {
|
||||
this.edgeKind = null;
|
||||
this.gestureDecided = false;
|
||||
this.edgeDx = 0;
|
||||
this.edgeDy = 0;
|
||||
this.dragOffsetX = 0;
|
||||
this.dragOffsetY = 0;
|
||||
this.showNavHint = false;
|
||||
this.showDismissHint = false;
|
||||
this.gestureSnapBack = false;
|
||||
this.dismissFlashActive = false;
|
||||
mutations.setNavigationGestureHint({});
|
||||
},
|
||||
finishEdgeGesture() {
|
||||
if (this.scale !== 1) {
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
return;
|
||||
}
|
||||
let kind = this.edgeKind;
|
||||
if (!kind) {
|
||||
const ax = Math.abs(this.edgeDx);
|
||||
const ay = Math.abs(this.edgeDy);
|
||||
if (ax < this.edgeHintPx && ay < this.edgeHintPx) {
|
||||
this.snapBackEdgeGesture();
|
||||
return;
|
||||
}
|
||||
kind = ax >= ay ? 'horizontal' : 'vertical-dismiss';
|
||||
}
|
||||
if (kind === 'horizontal') {
|
||||
if (this.edgeDx >= this.edgeCommitX && this.hasImagePrevious) {
|
||||
this.$emit('navigate-previous');
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
return;
|
||||
}
|
||||
if (this.edgeDx <= -this.edgeCommitX && this.hasImageNext) {
|
||||
this.$emit('navigate-next');
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
return;
|
||||
}
|
||||
} else if (kind === 'vertical-dismiss') {
|
||||
if (this.edgeDy >= this.edgeCommitY) {
|
||||
this.dismissFlashActive = true;
|
||||
this.showDismissHint = true;
|
||||
this.dragOffsetX = 0;
|
||||
this.dragOffsetY = 0;
|
||||
this.edgeKind = null;
|
||||
this.gestureDecided = false;
|
||||
this.applyImgTransform();
|
||||
this.syncNavigationGestureHintToStore();
|
||||
setTimeout(() => {
|
||||
this.$emit('close-preview');
|
||||
}, 120);
|
||||
setTimeout(() => {
|
||||
this.dismissFlashActive = false;
|
||||
this.showDismissHint = false;
|
||||
mutations.setNavigationGestureHint({});
|
||||
}, 420);
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.snapBackEdgeGesture();
|
||||
},
|
||||
teardownEdgeMouseListeners() {
|
||||
document.removeEventListener('mousemove', this.onEdgeMouseMove, true);
|
||||
document.removeEventListener('mouseup', this.onEdgeMouseUp, true);
|
||||
this.edgeMouseActive = false;
|
||||
},
|
||||
onEdgeMouseMove(event) {
|
||||
if (!this.edgeMouseActive || this.scale !== 1) {
|
||||
return;
|
||||
}
|
||||
this.edgeDx = event.clientX - this.edgeStartX;
|
||||
this.edgeDy = event.clientY - this.edgeStartY;
|
||||
this.decideEdgeKind();
|
||||
this.applyEdgeVisuals();
|
||||
event.preventDefault();
|
||||
},
|
||||
onEdgeMouseUp(event) {
|
||||
if (!this.edgeMouseActive) {
|
||||
return;
|
||||
}
|
||||
this.teardownEdgeMouseListeners();
|
||||
this.edgeDx = event.clientX - this.edgeStartX;
|
||||
this.edgeDy = event.clientY - this.edgeStartY;
|
||||
this.finishEdgeGesture();
|
||||
event.preventDefault();
|
||||
},
|
||||
setCenter() {
|
||||
const container = this.$refs.container;
|
||||
const img = this.$refs.imgex;
|
||||
if (!container || !img || !img.clientWidth || !img.clientHeight) {
|
||||
return;
|
||||
}
|
||||
// Images are centered using CSS (top: 50%, left: 50%, transform: translate(-50%, -50%))
|
||||
// Reset pan position when centering
|
||||
this.position.relative = { x: 0, y: 0 };
|
||||
this.position.center.x = Math.floor((container.clientWidth - img.clientWidth) / 2);
|
||||
this.position.center.y = Math.floor((container.clientHeight - img.clientHeight) / 2);
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
// Update transform to reflect centered state
|
||||
if (this.scale === 1) {
|
||||
img.style.transform = 'translate(-50%, -50%) scale(1)';
|
||||
} else {
|
||||
img.style.transform = `translate(calc(-50% + ${this.position.relative.x}px), calc(-50% + ${this.position.relative.y}px)) scale(${this.scale})`;
|
||||
}
|
||||
},
|
||||
mousedownStart(event) {
|
||||
if (event.button !== 0) return;
|
||||
if (this.scale === 1) {
|
||||
this.teardownEdgeMouseListeners();
|
||||
this.edgeMouseActive = true;
|
||||
this.edgeStartX = event.clientX;
|
||||
this.edgeStartY = event.clientY;
|
||||
this.edgeDx = 0;
|
||||
this.edgeDy = 0;
|
||||
this.edgeKind = null;
|
||||
this.gestureDecided = false;
|
||||
document.addEventListener('mousemove', this.onEdgeMouseMove, true);
|
||||
document.addEventListener('mouseup', this.onEdgeMouseUp, true);
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
this.lastX = null;
|
||||
this.lastY = null;
|
||||
this.inDrag = true;
|
||||
event.preventDefault();
|
||||
},
|
||||
mouseMove(event) {
|
||||
if (event.button !== 0) return;
|
||||
if (this.scale > 1 && this.inDrag) {
|
||||
this.doMove(event.movementX, event.movementY);
|
||||
event.preventDefault();
|
||||
}
|
||||
if (!this.inDrag) return;
|
||||
this.doMove(event.movementX, event.movementY);
|
||||
event.preventDefault();
|
||||
},
|
||||
mouseUp(event) {
|
||||
if (event.button !== 0) return;
|
||||
if (this.scale > 1) {
|
||||
this.inDrag = false;
|
||||
event.preventDefault();
|
||||
}
|
||||
this.inDrag = false;
|
||||
event.preventDefault();
|
||||
},
|
||||
touchStart(event) {
|
||||
this.lastX = null;
|
||||
@@ -587,15 +271,16 @@ export default {
|
||||
this.lastTouchDistance = null;
|
||||
if (event.targetTouches.length === 1 && this.scale === 1) {
|
||||
const touch = event.targetTouches[0];
|
||||
this.edgeStartX = touch.pageX;
|
||||
this.edgeStartY = touch.pageY;
|
||||
this.edgeDx = 0;
|
||||
this.edgeDy = 0;
|
||||
this.edgeKind = null;
|
||||
this.swipeStartTime = Date.now();
|
||||
this.swipeStartX = touch.pageX;
|
||||
this.swipeStartY = touch.pageY;
|
||||
this.swipeCurrentX = touch.pageX;
|
||||
this.swipeCurrentY = touch.pageY;
|
||||
this.isSwipeGesture = false;
|
||||
this.hasStartedSwipe = false;
|
||||
this.gestureDecided = false;
|
||||
} else {
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
this.resetSwipeTracking();
|
||||
}
|
||||
if (event.targetTouches.length < 2) {
|
||||
setTimeout(() => {
|
||||
@@ -629,15 +314,30 @@ export default {
|
||||
event.preventDefault();
|
||||
},
|
||||
touchMove(event) {
|
||||
// Default is prevented via @touchmove.prevent so the browser cannot steal
|
||||
// vertical drags (pull-to-refresh) before our edge-gesture thresholds.
|
||||
if (event.targetTouches.length === 1 && this.scale === 1) {
|
||||
const touch = event.targetTouches[0];
|
||||
this.edgeDx = touch.pageX - this.edgeStartX;
|
||||
this.edgeDy = touch.pageY - this.edgeStartY;
|
||||
this.decideEdgeKind();
|
||||
this.applyEdgeVisuals();
|
||||
return;
|
||||
this.swipeCurrentX = touch.pageX;
|
||||
this.swipeCurrentY = touch.pageY;
|
||||
if (!this.gestureDecided) {
|
||||
const deltaX = Math.abs(this.swipeCurrentX - this.swipeStartX);
|
||||
const deltaY = Math.abs(this.swipeCurrentY - this.swipeStartY);
|
||||
if (deltaX > 10 || deltaY > 10) {
|
||||
this.gestureDecided = true;
|
||||
if (deltaX > deltaY * 2) {
|
||||
this.isSwipeGesture = true;
|
||||
event.preventDefault();
|
||||
} else {
|
||||
this.isSwipeGesture = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.gestureDecided && this.isSwipeGesture) {
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.scale > 1 || event.targetTouches.length >= 2) {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (this.lastX === null) {
|
||||
this.lastX = event.targetTouches[0].pageX;
|
||||
@@ -677,7 +377,11 @@ export default {
|
||||
doMove(x, y) {
|
||||
this.position.relative.x += x;
|
||||
this.position.relative.y += y;
|
||||
this.applyImgTransform();
|
||||
const img = this.$refs.imgex;
|
||||
if (img) {
|
||||
// Combine centering (-50%) with pan offset and scale
|
||||
img.style.transform = `translate(calc(-50% + ${this.position.relative.x}px), calc(-50% + ${this.position.relative.y}px)) scale(${this.scale})`;
|
||||
}
|
||||
},
|
||||
wheelMove(event) {
|
||||
event.preventDefault()
|
||||
@@ -688,23 +392,52 @@ export default {
|
||||
this.scale = Math.max(this.minScale, Math.min(this.maxScale, this.scale));
|
||||
if (this.scale === 1) {
|
||||
this.position.relative = { x: 0, y: 0 };
|
||||
this.resetEdgeGestureImmediate();
|
||||
}
|
||||
this.applyImgTransform();
|
||||
const img = this.$refs.imgex;
|
||||
if (img) {
|
||||
// Combine centering (-50%) with pan offset and scale
|
||||
img.style.transform = `translate(calc(-50% + ${this.position.relative.x}px), calc(-50% + ${this.position.relative.y}px)) scale(${this.scale})`;
|
||||
}
|
||||
},
|
||||
pxStringToNumber(style) {
|
||||
return +style.replace("px", "");
|
||||
},
|
||||
touchEnd(event) {
|
||||
if (this.scale === 1 && event.changedTouches.length > 0) {
|
||||
const t = event.changedTouches[0];
|
||||
this.edgeDx = t.pageX - this.edgeStartX;
|
||||
this.edgeDy = t.pageY - this.edgeStartY;
|
||||
this.finishEdgeGesture();
|
||||
event.preventDefault();
|
||||
} else if (this.scale > 1) {
|
||||
let handledSwipe = false;
|
||||
if (this.isSwipeGesture && this.swipeStartTime && this.scale === 1) {
|
||||
const swipeEndTime = Date.now();
|
||||
const swipeDuration = swipeEndTime - this.swipeStartTime;
|
||||
const deltaX = this.swipeCurrentX - this.swipeStartX;
|
||||
const deltaY = Math.abs(this.swipeCurrentY - this.swipeStartY);
|
||||
const absDelataX = Math.abs(deltaX);
|
||||
if (
|
||||
swipeDuration <= this.swipeMaxTime &&
|
||||
absDelataX >= this.swipeMinDistance &&
|
||||
deltaY <= this.swipeMaxVerticalDistance
|
||||
) {
|
||||
if (deltaX > 0) {
|
||||
this.$emit('navigate-previous');
|
||||
} else {
|
||||
this.$emit('navigate-next');
|
||||
}
|
||||
handledSwipe = true;
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
if (!handledSwipe && this.scale > 1) {
|
||||
event.preventDefault();
|
||||
}
|
||||
this.resetSwipeTracking();
|
||||
},
|
||||
resetSwipeTracking() {
|
||||
this.swipeStartTime = null;
|
||||
this.swipeStartX = 0;
|
||||
this.swipeStartY = 0;
|
||||
this.swipeCurrentX = 0;
|
||||
this.swipeCurrentY = 0;
|
||||
this.isSwipeGesture = false;
|
||||
this.hasStartedSwipe = false;
|
||||
this.gestureDecided = false;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
@@ -738,9 +471,7 @@ export default {
|
||||
if (!this.fullImageLoaded && !this.imageLoaded) {
|
||||
// Show the image even if load event didn't fire (might be partially loaded)
|
||||
this.fullImageLoaded = true;
|
||||
this.imageLoaded = true;
|
||||
mutations.setLoading("preview-img", false);
|
||||
this.scheduleSetCenter();
|
||||
}
|
||||
}, 30000); // 30 second timeout
|
||||
});
|
||||
@@ -748,8 +479,7 @@ export default {
|
||||
|
||||
this.scale = 1;
|
||||
this.position.relative = { x: 0, y: 0 };
|
||||
this.resetEdgeGestureImmediate();
|
||||
this.applyImgTransform();
|
||||
this.resetSwipeTracking();
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -757,18 +487,12 @@ export default {
|
||||
|
||||
<style>
|
||||
.image-ex-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* Block browser pull-to-refresh / overscroll so vertical dismiss & edge gestures win */
|
||||
overscroll-behavior: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.image-ex-img {
|
||||
@@ -777,8 +501,7 @@ export default {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
/* translate3d tends to composite more reliably than translate with decoded <img> bitmaps */
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
transform: translate(-50%, -50%);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@@ -786,7 +509,7 @@ export default {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="card-content" aria-label="file-list-prompt">
|
||||
<!-- Source Selection Dropdown (hidden when browsing a fixed source, e.g. user scope row) -->
|
||||
<!-- Source Selection Dropdown -->
|
||||
<div v-if="showSourceSelector" class="source-selector" style="margin-bottom: 1rem;">
|
||||
<label for="destinationSource" style="display: block; margin-bottom: 0.5rem; font-weight: bold;">
|
||||
{{ $t("prompts.destinationSource") }}
|
||||
@@ -96,11 +96,6 @@ export default {
|
||||
type: String,
|
||||
default: null, // Optional initial path to start browsing from
|
||||
},
|
||||
/** When true, never show the destination source dropdown (source is fixed via browseSource). */
|
||||
hideDestinationSource: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
requireFileSelection: {
|
||||
type: Boolean,
|
||||
default: false, // If true, only files (not folders) can be selected
|
||||
@@ -143,9 +138,6 @@ export default {
|
||||
return state.sources && state.sources.info ? Object.keys(state.sources.info) : [state.req.source];
|
||||
},
|
||||
showSourceSelector() {
|
||||
if (this.hideDestinationSource) {
|
||||
return false;
|
||||
}
|
||||
return this.availableSources.length > 1 && !this.fileList && !getters.isShare() && !this.browseShare;
|
||||
},
|
||||
isValidSelection() {
|
||||
@@ -457,7 +449,6 @@ export default {
|
||||
let clickedItem = this.items.find(item => item.path === path);
|
||||
this.selectedSource = clickedItem ? clickedItem.source : this.source;
|
||||
this.selectedType = clickedItem ? clickedItem.type : null;
|
||||
const isFile = clickedItem && clickedItem.type !== "directory";
|
||||
this.$emit("update:selected", {
|
||||
path: this.selected,
|
||||
source: this.selectedSource,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<!-- Error state -->
|
||||
<div v-if="isRootInstance && error" class="tree-error">
|
||||
<i class="material-symbols">error</i>
|
||||
<i class="material-icons">error</i>
|
||||
<span>{{ $t("prompts.error") }}</span>
|
||||
</div>
|
||||
<ul v-if="effectiveNodes && effectiveNodes.length" class="tree-list">
|
||||
@@ -31,7 +31,7 @@
|
||||
class="expand-icon"
|
||||
@click.stop="toggleExpand(node, true)"
|
||||
>
|
||||
<i class="material-symbols">
|
||||
<i class="material-icons">
|
||||
{{ node.expanded ? 'expand_more' : 'chevron_right' }} <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</i>
|
||||
</span>
|
||||
@@ -55,7 +55,7 @@
|
||||
:currentPath="currentPath"
|
||||
/>
|
||||
<div v-else-if="node.expanded && node.children && node.children.length === 0" class="tree-empty-folder">
|
||||
<i class="material-symbols-outlined">sentiment_dissatisfied</i>
|
||||
<i class="material-icons">sentiment_dissatisfied</i>
|
||||
<span>{{ $t('files.lonely') }}</span>
|
||||
</div>
|
||||
<div v-else-if="node.expanded && node.loading" class="tree-loading">
|
||||
@@ -68,7 +68,7 @@
|
||||
</ul>
|
||||
<!-- Empty state -->
|
||||
<div v-if="isRootInstance && effectiveNodes && effectiveNodes.length === 0 && !loading && !error" class="tree-empty">
|
||||
<i class="material-symbols-outlined">sentiment_dissatisfied</i>
|
||||
<i class="material-icons">sentiment_dissatisfied</i>
|
||||
{{ $t('files.lonely') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<!-- Unified preview container for all types -->
|
||||
<span v-if="hasPreviewImage || shouldUse3DPreview" class="image-preview" @mouseenter="handleMouseEnter" @mouseleave="handleMouseLeave">
|
||||
<!-- Overlay icons (folder/animation) positioned top-left -->
|
||||
<i v-if="hasPreviewImage && hasMotion && isFile" class="material-symbols-outlined overlay-icon">animation</i>
|
||||
<i v-else-if="hasPreviewImage && !isFile" class="material-symbols overlay-icon">folder</i>
|
||||
<i v-if="isShared" class="material-symbols overlay-icon">group</i>
|
||||
<i v-if="hasPreviewImage && hasMotion && isFile" class="material-icons overlay-icon muted">animation</i>
|
||||
<i v-else-if="hasPreviewImage && !isFile" class="material-icons overlay-icon muted">folder</i>
|
||||
<i v-if="isShared" class="material-icons overlay-icon">group</i>
|
||||
<!-- Preview content: image, 3D, or fallback -->
|
||||
<img v-if="hasPreviewImage" :key="imageTargetSrc" :src="imageDisplaySrc" ref="thumbnail" />
|
||||
<ThreeJs v-else-if="shouldUse3DPreview && !threeJsError"
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
<!-- Regular material icon (no preview) -->
|
||||
<span v-else class="image-preview">
|
||||
<i :class="[classes, { active: active, clickable: clickable }]"> {{ materialSymbol }} </i>
|
||||
<i v-if="isShared" class="material-symbols overlay-icon">group</i>
|
||||
<i :class="[classes, { active: active, clickable: clickable }]"> {{ materialIcon }} </i>
|
||||
<i v-if="isShared" class="material-icons overlay-icon">group</i>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
materialSymbol: "",
|
||||
materialIcon: "",
|
||||
classes: "",
|
||||
svgPath: "",
|
||||
previewTimeouts: [],
|
||||
@@ -213,6 +213,9 @@ export default {
|
||||
this.hasPreview
|
||||
);
|
||||
},
|
||||
isMaterialIcon() {
|
||||
return this.materialIcon !== "";
|
||||
},
|
||||
shouldUse3DPreview() {
|
||||
// Check if we should use 3D preview instead of regular icon
|
||||
if (!this.isFile || !this.size || !this.path) return false;
|
||||
@@ -421,10 +424,10 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
const result = this.getIconForType();
|
||||
this.classes = result.classes || "material-symbols";
|
||||
this.classes = result.classes || "material-icons";
|
||||
// @ts-ignore
|
||||
this.color = result.color || "lightgray";
|
||||
this.materialSymbol = result.materialSymbol || "";
|
||||
this.materialIcon = result.materialIcon || "";
|
||||
// @ts-ignore
|
||||
this.svgPath = result.svgPath || "";
|
||||
this.updateImageTargetSrc();
|
||||
@@ -450,6 +453,9 @@ export default {
|
||||
text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
|
||||
z-index: 2;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.overlay-icon.muted {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
@@ -468,11 +474,13 @@ export default {
|
||||
|
||||
.icon {
|
||||
font-size: 1.5rem;
|
||||
/* Default size */
|
||||
fill: currentColor;
|
||||
/* Uses inherited color */
|
||||
border-radius: 0.2em;
|
||||
padding: 0.1em;
|
||||
background: var(--iconBackground);
|
||||
/* Performance optimization */
|
||||
will-change: auto;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
@@ -481,9 +489,16 @@ export default {
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
/* -----------
|
||||
Icon Colors
|
||||
----------- */
|
||||
.purple-icons {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
/* Icon Colors */
|
||||
.blue-icons {
|
||||
color: var(--icon-blue);
|
||||
}
|
||||
|
||||
/* Icon Colors */
|
||||
.primary-icons {
|
||||
color: var(--primaryColor);
|
||||
}
|
||||
@@ -492,55 +507,11 @@ export default {
|
||||
text-shadow: 0px 0px 1px #000;
|
||||
}
|
||||
|
||||
/* blue variations */
|
||||
.blue-icons {
|
||||
color: var(--icon-blue);
|
||||
}
|
||||
|
||||
.deep-blue-icons {
|
||||
color: rgb(29, 95, 191);
|
||||
}
|
||||
|
||||
.lightblue-icons {
|
||||
color: lightskyblue;
|
||||
}
|
||||
|
||||
.skyblue-icons {
|
||||
color: rgb(42, 170, 242);
|
||||
}
|
||||
|
||||
/* purple variations */
|
||||
.purple-icons {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
.plum-icons {
|
||||
color: plum;
|
||||
}
|
||||
|
||||
/* yellow */
|
||||
.yellow-icons {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
/* orange/red variations */
|
||||
.orange-icons {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.red-icons {
|
||||
color: rgb(211, 16, 16);
|
||||
}
|
||||
|
||||
.deep-orange-icons {
|
||||
color: rgb(255, 111, 0);
|
||||
}
|
||||
|
||||
.brown-icons {
|
||||
color: brown;
|
||||
}
|
||||
|
||||
.coral-icons {
|
||||
color: lightcoral;
|
||||
}
|
||||
|
||||
@@ -548,31 +519,53 @@ export default {
|
||||
color: tan;
|
||||
}
|
||||
|
||||
/* green variations */
|
||||
.plum-icons {
|
||||
color: plum;
|
||||
}
|
||||
|
||||
.red-icons {
|
||||
color: rgb(246, 70, 70);
|
||||
}
|
||||
|
||||
.white-icons {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.brown-icons {
|
||||
color: brown;
|
||||
}
|
||||
|
||||
#listingView.gallery .listing-item i.white-icons,
|
||||
.active.white-icons {
|
||||
color: var(--activeWhiteIcon);
|
||||
}
|
||||
|
||||
.deep-blue-icons {
|
||||
color: rgb(29, 95, 191);
|
||||
}
|
||||
|
||||
.green-icons {
|
||||
color: rgb(23, 128, 74);
|
||||
}
|
||||
|
||||
.light-green-icons {
|
||||
color: rgb(48, 207, 117);
|
||||
}
|
||||
|
||||
/* white variations */
|
||||
.white-icons {
|
||||
color: white;
|
||||
.red-orange-icons {
|
||||
color: rgb(255, 147, 111);
|
||||
}
|
||||
|
||||
.gray-icons {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.skyblue-icons {
|
||||
color: rgb(42, 170, 242);
|
||||
}
|
||||
|
||||
.lightgray-icons {
|
||||
color: rgb(176, 176, 176);
|
||||
}
|
||||
|
||||
#listingView.gallery .listing-item i.white-icons,
|
||||
.active.white-icons {
|
||||
color: var(--activeWhiteIcon);
|
||||
.yellow-icons {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
/* Unified .image-preview container - works universally, always square */
|
||||
@@ -601,9 +594,6 @@ export default {
|
||||
.image-preview img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 3D viewers - universal */
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
:aria-label="$t('files.sortByName')"
|
||||
>
|
||||
<span>{{ $t("general.name") }}</span>
|
||||
<i v-if="nameSorted" class="material-symbols">{{ nameIcon }}</i>
|
||||
<i v-if="nameSorted" class="material-icons">{{ nameIcon }}</i>
|
||||
</p>
|
||||
|
||||
<p
|
||||
@@ -22,8 +22,8 @@
|
||||
:title="$t('files.sortBySize')"
|
||||
:aria-label="$t('files.sortBySize')"
|
||||
>
|
||||
<i v-if="sizeSorted" class="material-symbols">{{ sizeIcon }}</i>
|
||||
<span>{{ $t("general.size") }}</span>
|
||||
<i v-if="sizeSorted" class="material-icons">{{ sizeIcon }}</i>
|
||||
</p>
|
||||
|
||||
<p
|
||||
@@ -35,8 +35,8 @@
|
||||
:title="$t('files.sortByLastModified')"
|
||||
:aria-label="$t('files.sortByLastModified')"
|
||||
>
|
||||
<i v-if="modifiedSorted" class="material-symbols">{{ modifiedIcon }}</i>
|
||||
<span>{{ $t("files.lastModified") }}</span>
|
||||
<i v-if="modifiedSorted" class="material-icons">{{ modifiedIcon }}</i>
|
||||
</p>
|
||||
|
||||
<p
|
||||
@@ -49,8 +49,8 @@
|
||||
:title="$t('files.sortByDuration')"
|
||||
:aria-label="$t('files.sortByDuration')"
|
||||
>
|
||||
<i v-if="durationSorted" class="material-symbols">{{ durationIcon }}</i>
|
||||
<span>{{ $t("files.duration") }}</span>
|
||||
<i v-if="durationSorted" class="material-icons">{{ durationIcon }}</i>
|
||||
</p>
|
||||
<span v-if="quickDownloadEnabled" class="placeholder"></span>
|
||||
</div>
|
||||
@@ -188,14 +188,10 @@ span {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.desktop-view .modified{
|
||||
min-width: 15%;
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
.desktop-view .size,
|
||||
.desktop-view .modified,
|
||||
.desktop-view .duration {
|
||||
min-width: 10%;
|
||||
min-width: 15%;
|
||||
flex: 0;
|
||||
}
|
||||
|
||||
@@ -203,8 +199,7 @@ span {
|
||||
.modified,
|
||||
.duration {
|
||||
flex: 1;
|
||||
justify-content: flex-end;
|
||||
text-align: end;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<hr />
|
||||
</div>
|
||||
<div v-else class="thumb-letters no-select">
|
||||
<i class="material-symbols" :class="{ 'primary-icons': isFolder }"> {{ isFolder ? "folder" : "description" }} </i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<i class="material-icons" :class="{ 'primary-icons': isFolder }"> {{ isFolder ? "folder" : "description" }} </i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
hidden: !showNav,
|
||||
disabled: !hasPrevious,
|
||||
dragging: dragState.type === 'previous',
|
||||
active: (dragState.atFullExtent && dragState.type === 'previous') || (gestureHint === 'previous' && gestureHintCommitReady),
|
||||
active: dragState.atFullExtent && dragState.type === 'previous',
|
||||
'dark-mode': isDarkMode,
|
||||
'media-mode': isMediaQueueMode,
|
||||
'sidebar-resizing': isSidebarResizing,
|
||||
@@ -40,7 +40,7 @@
|
||||
:aria-label="$t('general.previous')"
|
||||
:title="$t('general.previous')"
|
||||
>
|
||||
<i class="material-symbols">
|
||||
<i class="material-icons">
|
||||
{{ dragState.type === 'previous' && dragState.atFullExtent ? 'list_alt' : 'chevron_left' }} <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</i>
|
||||
</button>
|
||||
@@ -56,35 +56,16 @@
|
||||
@mouseover="setHoverNav(true)"
|
||||
@mouseleave="setHoverNav(false)"
|
||||
class="nav-button nav-next"
|
||||
:class="{ hidden: !showNav, dragging: dragState.type === 'next', active: (dragState.atFullExtent && dragState.type === 'next') || (gestureHint === 'next' && gestureHintCommitReady), 'dark-mode': isDarkMode, 'media-mode': isMediaQueueMode}"
|
||||
:class="{ hidden: !showNav, dragging: dragState.type === 'next', active: dragState.atFullExtent && dragState.type === 'next','dark-mode': isDarkMode, 'media-mode': isMediaQueueMode}"
|
||||
:style="nextButtonStyle"
|
||||
:aria-label="$t('general.next')"
|
||||
:title="$t('general.next')"
|
||||
>
|
||||
<i class="material-symbols">
|
||||
<i class="material-icons">
|
||||
{{ dragState.type === 'next' && dragState.atFullExtent ? 'list_alt' : 'chevron_right' }} <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</i>
|
||||
</button>
|
||||
|
||||
<!-- Close preview (same control as swipe-down / back) -->
|
||||
<button
|
||||
v-if="enabled && showPreviewCloseButton"
|
||||
type="button"
|
||||
@click.prevent="handleClosePreviewClick"
|
||||
class="nav-button nav-close"
|
||||
:class="{
|
||||
hidden: !showCloseNavChrome,
|
||||
active: gestureHint === 'close' && gestureHintCommitReady,
|
||||
'dark-mode': isDarkMode,
|
||||
'media-mode': isMediaQueueMode,
|
||||
'gesture-flash': gestureHintFlashClose,
|
||||
'sidebar-resizing': isSidebarResizing,
|
||||
}"
|
||||
:style="closeButtonStyle"
|
||||
>
|
||||
<i class="material-symbols">close</i>
|
||||
</button>
|
||||
|
||||
<!-- Prefetch links for better performance -->
|
||||
<link v-if="previousRaw" rel="prefetch" :href="previousRaw" />
|
||||
<link v-if="nextRaw" rel="prefetch" :href="nextRaw" />
|
||||
@@ -96,7 +77,6 @@ import throttle from "@/utils/throttle";
|
||||
import { previewViews } from "@/utils/constants";
|
||||
import { url } from "@/utils";
|
||||
import { resourcesApi } from "@/api";
|
||||
import { replaceRouteForPlaybackQueueStep } from "@/utils/previewPlaybackQueueNav.js";
|
||||
|
||||
export default {
|
||||
name: "NextPrevious",
|
||||
@@ -116,8 +96,6 @@ export default {
|
||||
},
|
||||
// State tracking
|
||||
navigationTimeout: null,
|
||||
/** Bumps on each setupNavigationForCurrentItem start; stale async completions skip applying. */
|
||||
navigationSetupGeneration: 0,
|
||||
isSwipe: false,
|
||||
touchStartX: 0,
|
||||
touchStartY: 0,
|
||||
@@ -145,56 +123,18 @@ export default {
|
||||
return state.navigation.enabled && getters.currentPrompt() == null;
|
||||
},
|
||||
showNav() {
|
||||
return state.navigation.show || this.hoverNav || !!state.navigation.gestureHint;
|
||||
},
|
||||
gestureHint() {
|
||||
return state.navigation.gestureHint;
|
||||
},
|
||||
gestureHintCommitReady() {
|
||||
return state.navigation.gestureHintCommitReady;
|
||||
},
|
||||
gestureHintFlashClose() {
|
||||
return state.navigation.gestureHintFlashClose;
|
||||
},
|
||||
showPreviewCloseButton() {
|
||||
return (
|
||||
previewViews.includes(this.currentView) &&
|
||||
state.req &&
|
||||
state.req.type !== 'directory'
|
||||
);
|
||||
},
|
||||
autoShowNavForMediaPreview() {
|
||||
const pt = getters.previewType();
|
||||
return pt === 'image' || pt === 'video';
|
||||
},
|
||||
/** Close mirrors swipe-down dismiss only (not with prev/next on load or edge hover). */
|
||||
showCloseNavChrome() {
|
||||
return (
|
||||
this.enabled &&
|
||||
this.showPreviewCloseButton &&
|
||||
this.gestureHint === 'close'
|
||||
);
|
||||
},
|
||||
/** Centers on the main column when #main has padding-left matching the sticky sidebar (same offset as StatusBar). */
|
||||
closeButtonStyle() {
|
||||
const styles = { right: 'auto' };
|
||||
if (this.moveWithSidebar) {
|
||||
const half = this.sidebarWidth / 2;
|
||||
styles.left = `calc(50% + ${half}em)`;
|
||||
} else {
|
||||
styles.left = '50%';
|
||||
}
|
||||
return styles;
|
||||
const shouldShow = state.navigation.show || this.hoverNav;
|
||||
return shouldShow;
|
||||
},
|
||||
hasPrevious() {
|
||||
if (this.isMediaQueueMode) {
|
||||
return getters.playbackQueueCanGoPrevious();
|
||||
return this.hasMediaPrevious();
|
||||
}
|
||||
return state.navigation.previousLink !== "";
|
||||
},
|
||||
hasNext() {
|
||||
if (this.isMediaQueueMode) {
|
||||
return getters.playbackQueueCanGoNext();
|
||||
return this.hasMediaNext();
|
||||
}
|
||||
return state.navigation.nextLink !== "";
|
||||
},
|
||||
@@ -213,7 +153,14 @@ export default {
|
||||
return previewType === 'audio' || previewType === 'video';
|
||||
},
|
||||
isMediaQueueMode() {
|
||||
return getters.isPreviewPlaybackQueueNavMode();
|
||||
const previewType = getters.previewType();
|
||||
const isMediaView = previewType === 'audio' || previewType === 'video';
|
||||
const mode = state.playbackQueue?.mode || 'single';
|
||||
const queueLength = state.playbackQueue?.queue?.length || 0;
|
||||
const hasQueue = queueLength > 1;
|
||||
|
||||
// Use media queue when in media view, NOT in single/loop-single mode, and have a queue
|
||||
return isMediaView && mode !== 'single' && mode !== 'loop-single' && hasQueue;
|
||||
},
|
||||
leftZoneStyle() {
|
||||
const styles = {
|
||||
@@ -315,9 +262,7 @@ export default {
|
||||
window.addEventListener("touchmove", this.handleDrag, { passive: false });
|
||||
window.addEventListener("touchend", this.endDrag);
|
||||
document.addEventListener("click", this.handleDocumentClick);
|
||||
// Capture phase: run before preview gesture handlers (document-level capture mousemove)
|
||||
// that may stopPropagation, which would skip bubble-phase window listeners.
|
||||
window.addEventListener("mousemove", this.handleGlobalMouseMove, true);
|
||||
window.addEventListener("mousemove", this.handleGlobalMouseMove);
|
||||
|
||||
// Calculate 10em threshold in pixels
|
||||
const emSize = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
||||
@@ -343,7 +288,7 @@ export default {
|
||||
window.removeEventListener("touchmove", this.handleDrag);
|
||||
window.removeEventListener("touchend", this.endDrag);
|
||||
document.removeEventListener("click", this.handleDocumentClick);
|
||||
window.removeEventListener("mousemove", this.handleGlobalMouseMove, true);
|
||||
window.removeEventListener("mousemove", this.handleGlobalMouseMove);
|
||||
|
||||
// Clear our local timeout
|
||||
if (this.navigationTimeout) {
|
||||
@@ -405,12 +350,8 @@ export default {
|
||||
});
|
||||
},
|
||||
async setupNavigationForCurrentItem() {
|
||||
const gen = ++this.navigationSetupGeneration;
|
||||
|
||||
if (!this.enabled || !state.req || state.req.type === 'directory') {
|
||||
if (gen !== this.navigationSetupGeneration) {
|
||||
return;
|
||||
}
|
||||
// Clear navigation when not applicable
|
||||
mutations.clearNavigation();
|
||||
return;
|
||||
}
|
||||
@@ -425,9 +366,7 @@ export default {
|
||||
// Special case: if we're viewing a shared single file (where the share itself is the file)
|
||||
// and directoryPath equals req.path, there's no directory to navigate within
|
||||
if (getters.isShare() && directoryPath === state.req.path) {
|
||||
if (gen !== this.navigationSetupGeneration) {
|
||||
return;
|
||||
}
|
||||
// This is a single file share with no siblings to navigate to
|
||||
mutations.clearNavigation();
|
||||
return;
|
||||
}
|
||||
@@ -451,23 +390,17 @@ export default {
|
||||
}
|
||||
listing = res.items;
|
||||
} catch (error) {
|
||||
if (gen !== this.navigationSetupGeneration) {
|
||||
return;
|
||||
}
|
||||
// If we can't fetch the directory listing, navigation isn't possible
|
||||
mutations.clearNavigation();
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (gen !== this.navigationSetupGeneration) {
|
||||
return;
|
||||
}
|
||||
// This is a file at root where directoryPath === req.path
|
||||
// This shouldn't normally happen for non-share cases, but handle gracefully
|
||||
mutations.clearNavigation();
|
||||
return;
|
||||
}
|
||||
|
||||
if (gen !== this.navigationSetupGeneration) {
|
||||
return;
|
||||
}
|
||||
mutations.setupNavigation({
|
||||
listing: listing,
|
||||
currentItem: state.req,
|
||||
@@ -476,10 +409,10 @@ export default {
|
||||
},
|
||||
showInitialNavigation() {
|
||||
// Show navigation initially for 3 seconds when navigation is set up
|
||||
if (this.enabled && (this.hasPrevious || this.hasNext || this.autoShowNavForMediaPreview)) {
|
||||
if (this.enabled && (this.hasPrevious || this.hasNext)) {
|
||||
mutations.setNavigationShow(true);
|
||||
|
||||
mutations.clearNavigationTimeout();
|
||||
// Clear any existing timeout
|
||||
if (this.navigationTimeout) {
|
||||
clearTimeout(this.navigationTimeout);
|
||||
this.navigationTimeout = null;
|
||||
@@ -491,27 +424,8 @@ export default {
|
||||
}
|
||||
this.navigationTimeout = null;
|
||||
}, 3000);
|
||||
mutations.setNavigationTimeout(this.navigationTimeout);
|
||||
}
|
||||
},
|
||||
async handleClosePreviewClick() {
|
||||
if (!(await this.checkForUnsavedChanges())) {
|
||||
return;
|
||||
}
|
||||
mutations.closeHovers();
|
||||
this.hoverNav = false;
|
||||
mutations.setNavigationGestureHint({});
|
||||
if (state.previousHistoryItem?.name) {
|
||||
url.goToItem(
|
||||
state.previousHistoryItem.source,
|
||||
state.previousHistoryItem.path,
|
||||
state.previousHistoryItem,
|
||||
);
|
||||
return;
|
||||
}
|
||||
const parentPath = url.removeLastDir(state.route.path);
|
||||
this.$router.push({ path: parentPath });
|
||||
},
|
||||
async prev() {
|
||||
if (this.hasPrevious) {
|
||||
this.hoverNav = false;
|
||||
@@ -525,7 +439,7 @@ export default {
|
||||
// Editor and other components check isTransitioning to prevent saves
|
||||
mutations.setNavigationTransitioning(true);
|
||||
if (this.isMediaQueueMode) {
|
||||
replaceRouteForPlaybackQueueStep(this.$router, -1);
|
||||
this.navigateMediaPrevious();
|
||||
} else {
|
||||
this.$router.replace({ path: state.navigation.previousLink });
|
||||
}
|
||||
@@ -545,12 +459,120 @@ export default {
|
||||
mutations.setNavigationTransitioning(true);
|
||||
|
||||
if (this.isMediaQueueMode) {
|
||||
replaceRouteForPlaybackQueueStep(this.$router, 1);
|
||||
this.navigateMediaNext();
|
||||
} else {
|
||||
this.$router.replace({ path: state.navigation.nextLink });
|
||||
}
|
||||
}
|
||||
},
|
||||
hasMediaPrevious() {
|
||||
const queue = state.playbackQueue?.queue || [];
|
||||
const currentIndex = state.playbackQueue?.currentIndex ?? -1;
|
||||
const mode = state.playbackQueue?.mode || 'single';
|
||||
|
||||
if (queue.length <= 1 || currentIndex < 0) return false;
|
||||
|
||||
// For sequential mode, no previous if at start
|
||||
if (mode === 'sequential' && currentIndex === 0) return false;
|
||||
|
||||
// For loop-all and shuffle, always have previous (wraps around)
|
||||
return true;
|
||||
},
|
||||
hasMediaNext() {
|
||||
const queue = state.playbackQueue?.queue || [];
|
||||
const currentIndex = state.playbackQueue?.currentIndex ?? -1;
|
||||
const mode = state.playbackQueue?.mode || 'single';
|
||||
|
||||
if (queue.length <= 1 || currentIndex < 0) return false;
|
||||
|
||||
// For sequential mode, no next if at end
|
||||
if (mode === 'sequential' && currentIndex >= queue.length - 1) return false;
|
||||
|
||||
// For loop-all and shuffle, always have next (wraps around)
|
||||
return true;
|
||||
},
|
||||
navigateMediaPrevious() {
|
||||
const queue = state.playbackQueue?.queue || [];
|
||||
const currentIndex = state.playbackQueue?.currentIndex ?? -1;
|
||||
const mode = state.playbackQueue?.mode || 'single';
|
||||
|
||||
if (queue.length === 0 || currentIndex < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
let prevIndex = currentIndex - 1;
|
||||
|
||||
// Handle wrapping
|
||||
if (prevIndex < 0) {
|
||||
if (mode === 'loop-all' || mode === 'shuffle') {
|
||||
prevIndex = queue.length - 1;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const prevItem = queue[prevIndex];
|
||||
if (!prevItem) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update queue index
|
||||
mutations.setPlaybackQueue({
|
||||
queue: queue,
|
||||
currentIndex: prevIndex,
|
||||
mode: mode
|
||||
});
|
||||
|
||||
// Navigate
|
||||
const prevItemUrl = url.buildItemUrl(prevItem.source || state.req.source, prevItem.path);
|
||||
mutations.replaceRequest(prevItem);
|
||||
this.$router.replace({ path: prevItemUrl }).catch(err => {
|
||||
if (err.name !== 'NavigationDuplicated') {
|
||||
// Silently ignore navigation errors
|
||||
}
|
||||
});
|
||||
},
|
||||
navigateMediaNext() {
|
||||
const queue = state.playbackQueue?.queue || [];
|
||||
const currentIndex = state.playbackQueue?.currentIndex ?? -1;
|
||||
const mode = state.playbackQueue?.mode || 'single';
|
||||
|
||||
if (queue.length === 0 || currentIndex < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
let nextIndex = currentIndex + 1;
|
||||
|
||||
// Handle wrapping
|
||||
if (nextIndex >= queue.length) {
|
||||
if (mode === 'loop-all' || mode === 'shuffle') {
|
||||
nextIndex = 0;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const nextItem = queue[nextIndex];
|
||||
if (!nextItem) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Update queue index
|
||||
mutations.setPlaybackQueue({
|
||||
queue: queue,
|
||||
currentIndex: nextIndex,
|
||||
mode: mode
|
||||
});
|
||||
|
||||
// Navigate
|
||||
const nextItemUrl = url.buildItemUrl(nextItem.source || state.req.source, nextItem.path);
|
||||
mutations.replaceRequest(nextItem);
|
||||
this.$router.replace({ path: nextItemUrl }).catch(err => {
|
||||
if (err.name !== 'NavigationDuplicated') {
|
||||
// Silently ignore navigation errors
|
||||
}
|
||||
});
|
||||
},
|
||||
keyEvent(event) {
|
||||
// Only handle navigation if enabled and no prompt is active
|
||||
if (!this.enabled || state.prompts.length > 0) {
|
||||
@@ -802,7 +824,6 @@ export default {
|
||||
},
|
||||
|
||||
cancelNavigationTimeout() {
|
||||
mutations.clearNavigationTimeout();
|
||||
if (this.navigationTimeout) {
|
||||
clearTimeout(this.navigationTimeout);
|
||||
this.navigationTimeout = null;
|
||||
@@ -1074,61 +1095,10 @@ export default {
|
||||
}
|
||||
|
||||
/* Smooth show animation for better UX */
|
||||
.nav-button:not(.hidden):not(.sidebar-resizing):not(.nav-close) {
|
||||
.nav-button:not(.hidden):not(.sidebar-resizing) {
|
||||
animation: nav-button-show 0.4s ease-out;
|
||||
}
|
||||
|
||||
.nav-button.nav-close {
|
||||
/* Below header; +4em vs previous placement; horizontal position from closeButtonStyle when sidebar offsets main */
|
||||
top: calc(1.25em + 4em);
|
||||
right: auto;
|
||||
margin-top: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.nav-button.nav-close.hidden {
|
||||
transform: translateX(-50%) scale(0.9);
|
||||
}
|
||||
|
||||
.nav-button.nav-close:not(.hidden):not(.sidebar-resizing) {
|
||||
animation: nav-button-show-close 0.4s ease-out;
|
||||
}
|
||||
|
||||
@keyframes nav-button-show-close {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) scale(0.8);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.nav-button.nav-close:hover:not(.hidden),
|
||||
.nav-button.nav-close.active:not(.hidden) {
|
||||
transform: translateX(-50%) scale(1.1);
|
||||
}
|
||||
|
||||
.nav-button.nav-close.gesture-flash:not(.hidden) {
|
||||
animation: nav-close-gesture-flash 0.38s ease-out;
|
||||
}
|
||||
|
||||
@keyframes nav-close-gesture-flash {
|
||||
0% {
|
||||
transform: translateX(-50%) scale(1);
|
||||
filter: brightness(1);
|
||||
}
|
||||
40% {
|
||||
transform: translateX(-50%) scale(1.12);
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-50%) scale(1);
|
||||
filter: brightness(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes nav-button-show {
|
||||
0% {
|
||||
opacity: 0;
|
||||
@@ -1146,14 +1116,14 @@ export default {
|
||||
transition: none !important; /* Disable transitions during drag */
|
||||
}
|
||||
|
||||
.nav-button i.material-symbols {
|
||||
.nav-button i.material-icons {
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.nav-button:hover i.material-symbols,
|
||||
.nav-button.active i.material-symbols {
|
||||
.nav-button:hover i.material-icons,
|
||||
.nav-button.active i.material-icons {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
@@ -1164,7 +1134,7 @@ export default {
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.nav-button i.material-symbols {
|
||||
.nav-button i.material-icons {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<template v-else>
|
||||
<!-- Warning banner for missing path -->
|
||||
<div v-if="!pathExists && !isEditingPath" class="warning-banner">
|
||||
<i class="material-symbols">warning</i>
|
||||
<i class="material-icons">warning</i>
|
||||
<span>{{ $t("messages.pathNotFoundMessage") }}</span>
|
||||
<button class="button button--flat button--blue" @click="startPathReassignment">
|
||||
{{ $t("messages.reassignPath") }}
|
||||
@@ -24,10 +24,10 @@
|
||||
<!-- Default behavior banner -->
|
||||
<div class="card item">
|
||||
<div class="card-content banner-content">
|
||||
<i class="material-symbols">{{ sourceDenyDefault ? 'do_not_disturb_on' : 'check_circle' }}</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<i class="material-icons">{{ sourceDenyDefault ? 'block' : 'check_circle' }}</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
{{ $t("access.defaultBehavior", { suffix: ":" }) }} {{ sourceDenyDefault ? $t("access.deny") : $t("access.allow")
|
||||
}}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('access.defaultBehaviorDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -51,7 +51,7 @@
|
||||
<option v-for="group in groups" :key="group" :value="group"></option>
|
||||
</datalist>
|
||||
<button class="button form-button flat-left form-compact" @click="submitAdd">
|
||||
<i class="material-symbols">add</i>
|
||||
<i class="material-icons">add</i>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Cascade Delete Toggle -->
|
||||
@@ -76,7 +76,7 @@
|
||||
<td>
|
||||
<button @click="deleteAccess(entry)" class="action" :aria-label="$t('general.delete')"
|
||||
:title="$t('general.delete')">
|
||||
<i class="material-symbols">delete</i>
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
:title="$t('buttons.copyToClipboard')"
|
||||
>
|
||||
<span class="api-key-name">{{ name }}</span>
|
||||
<i class="material-symbols">content_paste</i>
|
||||
<i class="material-icons">content_paste</i>
|
||||
</button>
|
||||
<button
|
||||
class="action copy-clipboard api-key-value-button"
|
||||
@@ -18,7 +18,7 @@
|
||||
:title="$t('api.clickToCopyKey')"
|
||||
>
|
||||
<span class="api-key-value">{{ $t('api.clickToCopyKey') }}</span>
|
||||
<i class="material-symbols">content_paste</i>
|
||||
<i class="material-icons">content_paste</i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -183,8 +183,8 @@ export default {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.api-key-button .material-symbols,
|
||||
.api-key-value-button .material-symbols {
|
||||
.api-key-button .material-icons,
|
||||
.api-key-value-button .material-icons {
|
||||
font-size: 1.2em;
|
||||
color: var(--textSecondary);
|
||||
flex-shrink: 0;
|
||||
|
||||
@@ -18,43 +18,34 @@
|
||||
</div>
|
||||
<div v-if="hasDownloads" class="card-content">
|
||||
<div class="download-list">
|
||||
<div
|
||||
v-for="download in downloads"
|
||||
:key="download.id"
|
||||
class="download-item-wrapper"
|
||||
:class="{ 'has-error': download.status === 'error' }"
|
||||
>
|
||||
<div class="download-item">
|
||||
<i class="material-symbols file-icon">insert_drive_file</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<div class="file-info">
|
||||
<p class="file-name">{{ download.name }}</p>
|
||||
<progress-bar
|
||||
:val="download.status === 'completed'
|
||||
? $t('prompts.completed')
|
||||
: download.status === 'error'
|
||||
? $t('prompts.error')
|
||||
: download.loaded
|
||||
"
|
||||
:unit="download.status === 'completed' || download.status === 'error' ? '' : 'bytes'"
|
||||
:max="download.size"
|
||||
:status="download.status"
|
||||
text-position="inside"
|
||||
size="20">
|
||||
</progress-bar>
|
||||
</div>
|
||||
<div class="file-actions">
|
||||
<button v-if="download.status === 'error'" @click="retryDownload(download.id)" class="action"
|
||||
:aria-label="$t('general.retry')" :title="$t('general.retry')">
|
||||
<i class="material-symbols">replay</i>
|
||||
</button>
|
||||
<button @click="cancelDownload(download.id)" class="action" :aria-label="$t('general.cancel')"
|
||||
:title="$t('general.cancel')">
|
||||
<i class="material-symbols">close</i>
|
||||
</button>
|
||||
</div>
|
||||
<div v-for="download in downloads" :key="download.id" class="download-item">
|
||||
<i class="material-icons file-icon">insert_drive_file</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<div class="file-info">
|
||||
<p class="file-name">{{ download.name }}</p>
|
||||
<progress-bar
|
||||
:val="download.status === 'completed'
|
||||
? $t('prompts.completed')
|
||||
: download.status === 'error'
|
||||
? $t('prompts.error')
|
||||
: download.loaded
|
||||
"
|
||||
:unit="download.status === 'completed' || download.status === 'error' ? '' : 'bytes'"
|
||||
:max="download.size"
|
||||
:status="download.status"
|
||||
text-position="inside"
|
||||
size="20"
|
||||
:help-text="download.errorDetails || ''">
|
||||
</progress-bar>
|
||||
</div>
|
||||
<div v-if="download.status === 'error'" class="error-banner" role="alert">
|
||||
{{ formatDownloadError(download) }}
|
||||
<div class="file-actions">
|
||||
<button v-if="download.status === 'error'" @click="retryDownload(download.id)" class="action"
|
||||
:aria-label="$t('general.retry')" :title="$t('general.retry')">
|
||||
<i class="material-icons">replay</i>
|
||||
</button>
|
||||
<button @click="cancelDownload(download.id)" class="action" :aria-label="$t('general.cancel')"
|
||||
:title="$t('general.cancel')">
|
||||
<i class="material-icons">close</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -107,13 +98,6 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
formatDownloadError(download) {
|
||||
if (download.status !== "error") {
|
||||
return "";
|
||||
}
|
||||
const detail = download.errorDetails ? String(download.errorDetails) : this.$t("prompts.error");
|
||||
return this.$t("prompts.downloadFailed", { message: detail });
|
||||
},
|
||||
handleFormatSelect(format) {
|
||||
if (this.currentPrompt && this.currentPrompt.confirm) {
|
||||
this.currentPrompt.confirm(format);
|
||||
@@ -167,29 +151,6 @@ export default {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.download-item-wrapper {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.download-item-wrapper:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.download-item-wrapper.has-error {
|
||||
border-left: 3px solid var(--errorColor, #f44336);
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
.error-banner {
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
background: var(--errorBackground, rgba(244, 67, 54, 0.1));
|
||||
color: var(--errorColor, #f44336);
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.download-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<!-- External Link -->
|
||||
<div class="external-link-banner">
|
||||
<i class="material-symbols">open_in_new</i>
|
||||
<i class="material-icons">open_in_new</i>
|
||||
<span>{{ $t('tools.materialIconPicker.browseFullLibrary') }}</span>
|
||||
<a href="https://fonts.google.com/icons" target="_blank" rel="noopener noreferrer">
|
||||
{{ $t('tools.materialIconPicker.iconLibraryUrl') }}
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<!-- Search Box -->
|
||||
<div class="search-box">
|
||||
<i class="material-symbols search-icon">search</i>
|
||||
<i class="material-icons search-icon">search</i>
|
||||
<input
|
||||
v-model="searchQuery"
|
||||
type="text"
|
||||
@@ -23,7 +23,7 @@
|
||||
style="padding-left: 2.5em;"
|
||||
/>
|
||||
<button v-if="searchQuery" @click="searchQuery = ''" class="button button--flat clear-button">
|
||||
<i class="material-symbols">close</i>
|
||||
<i class="material-icons">close</i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
<!-- Empty State -->
|
||||
<div v-if="!showCustomPreview && visibleIcons.length === 0" class="empty-state">
|
||||
<i class="material-symbols">search_off</i>
|
||||
<i class="material-icons">search_off</i>
|
||||
<p>{{ $t('tools.materialIconPicker.noResults') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -89,9 +89,9 @@
|
||||
|
||||
<script>
|
||||
import {
|
||||
materialSymbols,
|
||||
allMaterialIcons,
|
||||
getIconClass,
|
||||
} from "@/utils/material-symbols";
|
||||
} from "@/utils/material-icons";
|
||||
import { mutations } from "@/store";
|
||||
|
||||
export default {
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
searchQuery: "",
|
||||
materialSymbols,
|
||||
allMaterialIcons,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -113,11 +113,11 @@ export default {
|
||||
// Apply search filter
|
||||
if (this.searchQuery.trim()) {
|
||||
const query = this.searchQuery.toLowerCase();
|
||||
return this.materialSymbols.filter((icon) =>
|
||||
return this.allMaterialIcons.filter((icon) =>
|
||||
icon.toLowerCase().includes(query)
|
||||
);
|
||||
}
|
||||
return this.materialSymbols;
|
||||
return this.allMaterialIcons;
|
||||
},
|
||||
showCustomPreview() {
|
||||
// Show custom preview if:
|
||||
@@ -127,7 +127,7 @@ export default {
|
||||
if (!trimmed) return false;
|
||||
|
||||
// Check if it's an exact match
|
||||
const exactMatch = this.materialSymbols.some(
|
||||
const exactMatch = this.allMaterialIcons.some(
|
||||
(icon) => icon.toLowerCase() === trimmed.toLowerCase()
|
||||
);
|
||||
|
||||
@@ -177,7 +177,7 @@ export default {
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
|
||||
.external-link-banner .material-symbols {
|
||||
.external-link-banner .material-icons {
|
||||
font-size: 1.2em;
|
||||
color: var(--primaryColor);
|
||||
}
|
||||
@@ -218,7 +218,7 @@ export default {
|
||||
padding: 0.25em !important;
|
||||
}
|
||||
|
||||
.clear-button .material-symbols {
|
||||
.clear-button .material-icons {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ export default {
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
|
||||
.empty-state .material-symbols {
|
||||
.empty-state .material-icons {
|
||||
font-size: 3em;
|
||||
margin-bottom: 0.5em;
|
||||
opacity: 0.5;
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
:placeholder="$t('prompts.selectHashAlgorithm')" />
|
||||
<button class="button form-button flat-left" @click="copyToClipboard" :disabled="!hashResult"
|
||||
:title="$t('buttons.copyToClipboard')" :aria-label="$t('buttons.copyToClipboard')">
|
||||
<i class="material-symbols-outlined" style="font-size: 16px;">content_copy</i>
|
||||
<i class="material-icons" style="font-size: 16px;">content_copy</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
<div v-if="showWrongCredentials" class="form-invalid">
|
||||
{{ $t("login.wrongCredentials") }}
|
||||
</div>
|
||||
<div v-if="infoText">
|
||||
<p>{{ infoText }}</p>
|
||||
</div>
|
||||
<div class="form-flex-group">
|
||||
<input
|
||||
class="input share-password"
|
||||
@@ -13,7 +10,7 @@
|
||||
type="password"
|
||||
:placeholder="$t('general.password')"
|
||||
v-model="password"
|
||||
@keyup.enter="canSubmit && submit()"
|
||||
@keyup.enter="submit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -21,13 +18,11 @@
|
||||
<div class="card-actions">
|
||||
<button
|
||||
class="button button--flat"
|
||||
type="button"
|
||||
@click="submit"
|
||||
:disabled="!canSubmit"
|
||||
:aria-label="submitButtonTitle"
|
||||
:title="submitButtonTitle"
|
||||
:aria-label="$t('general.login')"
|
||||
:title="$t('general.login')"
|
||||
>
|
||||
{{ submitButtonTitle }}
|
||||
{{ $t("general.login") }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -50,22 +45,6 @@ export default {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
infoText: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
submitLabel: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
submitButtonTitle() {
|
||||
return this.submitLabel || this.$t("general.login");
|
||||
},
|
||||
canSubmit() {
|
||||
return String(this.password ?? "").trim().length > 0;
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -74,9 +53,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
if (!this.canSubmit) {
|
||||
return;
|
||||
}
|
||||
mutations.closeTopPrompt();
|
||||
this.submitCallback(this.password);
|
||||
},
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
<template>
|
||||
<div class="card-content">
|
||||
<file-list ref="fileList" @update:selected="updateSelection" :browseSource="currentSource"
|
||||
:browse-path="initialBrowsePath" :hide-destination-source="hideDestinationSource" :showFiles="showFiles"
|
||||
:showFolders="showFolders" :require-file-selection="requireFileSelection"
|
||||
:allowed-file-types="allowedFileTypes" :title="listTitle">
|
||||
<file-list ref="fileList" @update:selected="updateSelection" :browseSource="currentSource" :showFiles="showFiles" :showFolders="showFolders">
|
||||
</file-list>
|
||||
</div>
|
||||
|
||||
<div class="card-actions">
|
||||
<button class="button button--flat button--grey" type="button" @click="onCancel" :aria-label="$t('general.cancel')"
|
||||
<button class="button button--flat button--grey" @click="closeTopPrompt" :aria-label="$t('general.cancel')"
|
||||
:title="$t('general.cancel')">
|
||||
{{ $t("general.cancel") }}
|
||||
</button>
|
||||
<button type="button" class="button button--flat" @click="confirmSelection"
|
||||
:disabled="requireFileSelection && !selectionIsValid" :aria-label="$t('general.select')"
|
||||
<button class="button button--flat" @click="confirmSelection" :aria-label="$t('general.select')"
|
||||
:title="$t('general.select')">
|
||||
{{ $t("general.select") }}
|
||||
</button>
|
||||
@@ -45,102 +41,40 @@ export default {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
hideDestinationSource: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
/** When set, included on pathSelected so listeners can tell this pick apart from other pickers. */
|
||||
selectionContextId: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
requireFileSelection: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
allowedFileTypes: {
|
||||
type: Array,
|
||||
default: null,
|
||||
},
|
||||
/** Shown by FileList when set (e.g. share banner/favicon picker). */
|
||||
listTitle: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
selectedPath: "/",
|
||||
selectedSource: "",
|
||||
/** From FileList when requireFileSelection is true (valid file picked). */
|
||||
selectionIsValid: false,
|
||||
/** True after confirm or explicit cancel — used to avoid duplicate cancel events. */
|
||||
selectionFinished: false,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
initialBrowsePath() {
|
||||
const p = this.currentPath;
|
||||
if (p && typeof p === "string" && p.length > 0) {
|
||||
return p;
|
||||
}
|
||||
return "/";
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
// Initialize with current values
|
||||
this.selectedPath = this.currentPath || "/";
|
||||
this.selectedSource = this.currentSource || "";
|
||||
this.selectionIsValid = !this.requireFileSelection;
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (
|
||||
this.selectionContextId &&
|
||||
!this.selectionFinished
|
||||
) {
|
||||
eventBus.emit("pathPickerCancelled", {
|
||||
selectionContextId: this.selectionContextId,
|
||||
});
|
||||
}
|
||||
computed: {
|
||||
closeTopPrompt() {
|
||||
return mutations.closeTopPrompt();
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onCancel() {
|
||||
this.selectionFinished = true;
|
||||
if (this.selectionContextId) {
|
||||
eventBus.emit("pathPickerCancelled", {
|
||||
selectionContextId: this.selectionContextId,
|
||||
});
|
||||
}
|
||||
mutations.closeTopPrompt();
|
||||
},
|
||||
updateSelection(pathOrData) {
|
||||
// Handle both old format (just path) and new format (object with path and source)
|
||||
if (typeof pathOrData === 'string') {
|
||||
this.selectedPath = pathOrData;
|
||||
this.selectionIsValid = !this.requireFileSelection;
|
||||
} else if (pathOrData && pathOrData.path) {
|
||||
this.selectedPath = pathOrData.path;
|
||||
this.selectedSource = pathOrData.source;
|
||||
if (Object.prototype.hasOwnProperty.call(pathOrData, 'isValid')) {
|
||||
this.selectionIsValid = !!pathOrData.isValid;
|
||||
} else {
|
||||
this.selectionIsValid = !this.requireFileSelection;
|
||||
}
|
||||
}
|
||||
},
|
||||
confirmSelection() {
|
||||
if (this.requireFileSelection && !this.selectionIsValid) {
|
||||
return;
|
||||
}
|
||||
this.selectionFinished = true;
|
||||
const payload = {
|
||||
// Emit the selected path and source via eventBus
|
||||
eventBus.emit('pathSelected', {
|
||||
path: this.selectedPath,
|
||||
source: this.selectedSource,
|
||||
};
|
||||
if (this.selectionContextId) {
|
||||
payload.selectionContextId = this.selectionContextId;
|
||||
}
|
||||
eventBus.emit("pathSelected", payload);
|
||||
source: this.selectedSource
|
||||
});
|
||||
// Close the prompt
|
||||
mutations.closeTopPrompt();
|
||||
},
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- Playback mode display -->
|
||||
<div class="playback-mode">
|
||||
<div class="mode-info">
|
||||
<i class="material-symbols">{{ currentModeIcon }}</i>
|
||||
<i class="material-icons">{{ currentModeIcon }}</i>
|
||||
<span>{{ currentModeLabel }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -19,7 +19,7 @@
|
||||
@click="navigateToItem(index)"
|
||||
>
|
||||
<div class="item-icon">
|
||||
<i class="material-symbols">{{ getFileIcon(item) }}</i>
|
||||
<i class="material-icons">{{ getFileIcon(item) }}</i>
|
||||
</div>
|
||||
<div class="item-name">
|
||||
<span class="name">{{ item.name }}</span>
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class="item-indicator">
|
||||
<span v-if="index === currentQueueIndex" class="current-track">
|
||||
<!-- eslint-disable-next-line @intlify/vue-i18n/no-raw-text -->
|
||||
<i class="material-symbols">{{ isPlaying ? 'pause' : 'play_arrow' }}</i>
|
||||
<i class="material-icons">{{ isPlaying ? 'pause' : 'play_arrow' }}</i>
|
||||
</span>
|
||||
<span v-else class="track-number">{{ index + 1 }}</span>
|
||||
</div>
|
||||
@@ -37,14 +37,14 @@
|
||||
|
||||
<!-- Empty state -->
|
||||
<div v-else class="empty">
|
||||
<i class="material-symbols">queue_music</i>
|
||||
<i class="material-icons">queue_music</i>
|
||||
<p>{{ $t('player.emptyQueue') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-actions">
|
||||
<button class="button button--flat" @click.stop="cyclePlaybackModes" :title="$t('player.changePlaybackMode')">
|
||||
<i class="material-symbols">swap_vert</i> {{ $t('player.changePlaybackMode') }}
|
||||
<i class="material-icons">swap_vert</i> {{ $t('player.changePlaybackMode') }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -258,7 +258,7 @@ export default {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.mode-info i.material-symbols {
|
||||
.mode-info i.material-icons {
|
||||
color: var(--primaryColor);
|
||||
user-select: none;
|
||||
}
|
||||
@@ -309,7 +309,7 @@ export default {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.item-icon i.material-symbols {
|
||||
.item-icon i.material-icons {
|
||||
color: var(--textSecondary);
|
||||
user-select: none;
|
||||
}
|
||||
@@ -330,7 +330,7 @@ export default {
|
||||
color: var(--textSecondary);
|
||||
}
|
||||
|
||||
.empty i.material-symbols {
|
||||
.empty i.material-icons {
|
||||
font-size: 3rem;
|
||||
opacity: 0.5;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -2,7 +2,7 @@
|
||||
<div class="card-content">
|
||||
<!-- Warning banner for missing path when editing a share -->
|
||||
<div v-if="!pathExists && isEditMode && !isEditingPath" class="warning-banner">
|
||||
<i class="material-symbols">warning</i>
|
||||
<i class="material-icons">warning</i>
|
||||
<span>{{ $t("messages.pathNotFoundMessage") }}</span>
|
||||
<button class="button button--flat button--blue" @click="startPathReassignment">
|
||||
{{ $t("messages.reassignPath") }}
|
||||
@@ -23,7 +23,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
<div v-if="isPickingFile">
|
||||
<file-list @update:selected="updateTempFilePath" :browse-source="displaySource" :browse-path="displayPath"
|
||||
:show-files="true" :show-folders="true" :allowed-file-types="filePickerAllowedTypes"
|
||||
:require-file-selection="true" :title="filePickerTitle">
|
||||
</file-list>
|
||||
</div>
|
||||
|
||||
<div v-else-if="!isPickingFile">
|
||||
<div v-if="isFiles" aria-label="share-path" class="searchContext button"> {{ $t('general.path', { suffix: ':' }) }} {{
|
||||
displayPath }}</div>
|
||||
<div v-else>
|
||||
@@ -53,26 +60,26 @@
|
||||
<td class="small">
|
||||
<button class="action" @click="editLink(link)" :aria-label="$t('general.edit')"
|
||||
:title="$t('general.edit')">
|
||||
<i class="material-symbols">edit</i>
|
||||
<i class="material-icons">edit</i>
|
||||
</button>
|
||||
</td>
|
||||
<td class="small">
|
||||
<button class="action copy-clipboard" :data-clipboard-text="link.shareURL"
|
||||
:aria-label="$t('buttons.copyToClipboard')" :title="$t('buttons.copyToClipboard')">
|
||||
<i class="material-symbols">content_paste</i>
|
||||
<i class="material-icons">content_paste</i>
|
||||
</button>
|
||||
</td>
|
||||
<td class="small">
|
||||
<button :disabled="link.shareType == 'upload'" class="action copy-clipboard"
|
||||
:data-clipboard-text="link.downloadURL" :aria-label="$t('buttons.copyDownloadLinkToClipboard')"
|
||||
:title="$t('buttons.copyDownloadLinkToClipboard')">
|
||||
<i class="material-symbols">content_paste_go</i>
|
||||
<i class="material-icons">content_paste_go</i>
|
||||
</button>
|
||||
</td>
|
||||
<td class="small">
|
||||
<button class="action" @click="deleteLink($event, link)" :aria-label="$t('general.delete')"
|
||||
:title="$t('general.delete')">
|
||||
<i class="material-symbols">delete</i>
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -83,7 +90,7 @@
|
||||
<div v-if="!showMoreExpanded">
|
||||
<p>
|
||||
{{ $t("files.duration") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareDurationDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -99,21 +106,21 @@
|
||||
</div>
|
||||
<p>
|
||||
{{ $t("prompts.optionalPassword") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.passwordDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
</p>
|
||||
<div v-if="hasExistingPassword && !isChangingPassword" class="password-change-section">
|
||||
<button class="button button--flat button--blue" @click="isChangingPassword = true" style="width: 100%;">
|
||||
<i class="material-symbols">lock_reset</i>
|
||||
<i class="material-icons">lock_reset</i>
|
||||
{{ $t("general.change") }}
|
||||
</button>
|
||||
</div>
|
||||
<input v-else class="input" type="password" autocomplete="new-password" v-model.trim="password" />
|
||||
<p>
|
||||
{{ $t("share.shareType") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareTypeDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -123,7 +130,7 @@
|
||||
<option value="upload">{{ $t("share.uploadShare") }}</option>
|
||||
</select>
|
||||
<button @click="openSidebarLinksCustomization" class="button button--flat customize-sidebar-links-button">
|
||||
<i class="material-symbols">link</i>
|
||||
<i class="material-icons">link</i>
|
||||
{{ $t('share.customizeSidebarLinksButton') }}
|
||||
</button>
|
||||
<div class="settings-items" style="margin-top: 0.5em;">
|
||||
@@ -143,7 +150,7 @@
|
||||
<div class="settings-items">
|
||||
<p>
|
||||
{{ $t("prompts.shareTheme") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareThemeDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -160,7 +167,7 @@
|
||||
<div v-if="shareType === 'normal'">
|
||||
<p>
|
||||
{{ $t("share.defaultViewMode") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.defaultViewModeDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -194,7 +201,7 @@
|
||||
:name="$t('share.enableOnlyOffice')" :description="$t('share.enableOnlyOfficeDescription')" />
|
||||
<p>
|
||||
{{ $t("share.enforceDarkLightMode") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.enforceDarkLightModeDescription'))"
|
||||
@mouseleave="hideTooltip">
|
||||
help
|
||||
@@ -230,7 +237,7 @@
|
||||
<div v-if="shareType === 'normal'">
|
||||
<p>
|
||||
{{ $t("prompts.downloadsLimit") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.downloadsLimitDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -238,7 +245,7 @@
|
||||
<input class="input" type="number" min="0" v-model.number="downloadsLimit" />
|
||||
<p>
|
||||
{{ $t("prompts.maxBandwidth") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.maxBandwidthDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -249,7 +256,7 @@
|
||||
|
||||
<p>
|
||||
{{ $t("prompts.shareThemeColor") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareThemeColorDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -258,7 +265,7 @@
|
||||
|
||||
<p>
|
||||
{{ $t("prompts.shareTitle") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareTitleDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -267,7 +274,7 @@
|
||||
|
||||
<p>
|
||||
{{ $t("prompts.shareDescription") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareDescriptionHelp'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -276,7 +283,7 @@
|
||||
|
||||
<p>
|
||||
{{ $t("prompts.shareBanner") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareBannerDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -284,13 +291,13 @@
|
||||
<div class="file-picker-input-group">
|
||||
<input class="input file-picker-input" type="text" v-model.trim="banner" />
|
||||
<div class="file-picker-button clickable" @click="openBannerPicker" :title="$t('share.browseFiles')">
|
||||
<i class="material-symbols">folder_open</i>
|
||||
<i class="material-icons">folder_open</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{{ $t("prompts.shareFavicon") }}
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('share.shareFaviconDescription'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -298,7 +305,7 @@
|
||||
<div class="file-picker-input-group">
|
||||
<input class="input file-picker-input" type="text" v-model.trim="favicon" />
|
||||
<div class="file-picker-button clickable" @click="openFaviconPicker" :title="$t('share.browseFiles')">
|
||||
<i class="material-symbols">folder_open</i>
|
||||
<i class="material-icons">folder_open</i>
|
||||
</div>
|
||||
</div>
|
||||
</SettingsItem>
|
||||
@@ -306,7 +313,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="!isEditingPath" class="card-actions">
|
||||
<div v-if="!isEditingPath && !isPickingFile" class="card-actions">
|
||||
<button v-if="listing" class="button button--flat button--blue" @click="() => switchListing()"
|
||||
:aria-label="$t('general.new')" :title="$t('general.new')">
|
||||
{{ $t("general.new") }}
|
||||
@@ -316,6 +323,16 @@
|
||||
{{ $t("general.share") }}
|
||||
</button>
|
||||
</div>
|
||||
<div v-if="isPickingFile" class="card-actions">
|
||||
<button class="button button--flat" @click="cancelFilePicker" :aria-label="$t('general.cancel')"
|
||||
:title="$t('general.cancel')">
|
||||
{{ $t("general.cancel") }}
|
||||
</button>
|
||||
<button class="button button--flat button--blue" @click="confirmFilePicker" :disabled="!filePickerSelectionValid"
|
||||
:aria-label="$t('general.ok')" :title="$t('general.ok')">
|
||||
{{ $t("general.ok") }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { notify } from "@/notify";
|
||||
@@ -408,9 +425,11 @@ export default {
|
||||
tempSource: "",
|
||||
pathExists: true,
|
||||
isChangingPassword: false,
|
||||
/** Set while a pathPicker for banner/favicon is open; cleared on select/cancel. */
|
||||
pendingBannerFaviconContextId: null,
|
||||
isPickingFile: false,
|
||||
filePickerField: null, // 'banner' or 'favicon'
|
||||
filePickerSelectionValid: false, // Track if a valid file is selected
|
||||
tempFilePath: "",
|
||||
tempFileSource: "",
|
||||
showMoreExpanded: false,
|
||||
//viewMode: "normal",
|
||||
};
|
||||
@@ -471,6 +490,22 @@ export default {
|
||||
const currentLink = this.isEditMode ? this.link : this.editingLink;
|
||||
return currentLink && currentLink.hasPassword;
|
||||
},
|
||||
filePickerAllowedTypes() {
|
||||
if (this.filePickerField === 'banner') {
|
||||
return ['image/']; // Allow all image types
|
||||
} else if (this.filePickerField === 'favicon') {
|
||||
return ['image/']; // Allow all image types
|
||||
}
|
||||
return [];
|
||||
},
|
||||
filePickerTitle() {
|
||||
if (this.filePickerField === 'banner') {
|
||||
return this.$t('share.selectBannerImage');
|
||||
} else if (this.filePickerField === 'favicon') {
|
||||
return this.$t('share.selectFaviconImage');
|
||||
}
|
||||
return this.$t('share.selectImage');
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
listing(isListing) {
|
||||
@@ -564,15 +599,11 @@ export default {
|
||||
});
|
||||
// Listen for sidebar links updates from the SidebarLinks prompt
|
||||
eventBus.on('shareSidebarLinksUpdated', this.handleSidebarLinksUpdate);
|
||||
eventBus.on('pathSelected', this.onBannerFaviconPathSelected);
|
||||
eventBus.on('pathPickerCancelled', this.onBannerFaviconPathPickerCancelled);
|
||||
},
|
||||
beforeUnmount() {
|
||||
// Clean up event listeners
|
||||
eventBus.off('apiKeysChanged', this.reloadApiKeys);
|
||||
eventBus.off('shareSidebarLinksUpdated', this.handleSidebarLinksUpdate);
|
||||
eventBus.off('pathSelected', this.onBannerFaviconPathSelected);
|
||||
eventBus.off('pathPickerCancelled', this.onBannerFaviconPathPickerCancelled);
|
||||
// Clean up clipboard
|
||||
if (this.clip) {
|
||||
this.clip.destroy();
|
||||
@@ -902,70 +933,42 @@ export default {
|
||||
});
|
||||
},
|
||||
openBannerPicker() {
|
||||
const selectionContextId = `share-banner-favicon-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
||||
this.pendingBannerFaviconContextId = selectionContextId;
|
||||
this.filePickerField = 'banner';
|
||||
mutations.showPrompt({
|
||||
name: 'pathPicker',
|
||||
pinned: true,
|
||||
props: {
|
||||
currentPath: this.displayPath || '/',
|
||||
currentSource: this.displaySource,
|
||||
hideDestinationSource: true,
|
||||
showFiles: true,
|
||||
showFolders: true,
|
||||
requireFileSelection: true,
|
||||
allowedFileTypes: ['image/'],
|
||||
selectionContextId,
|
||||
listTitle: this.$t('share.selectBannerImage'),
|
||||
},
|
||||
});
|
||||
this.tempFilePath = this.displayPath;
|
||||
this.tempFileSource = this.displaySource;
|
||||
this.isPickingFile = true;
|
||||
},
|
||||
openFaviconPicker() {
|
||||
const selectionContextId = `share-banner-favicon-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
||||
this.pendingBannerFaviconContextId = selectionContextId;
|
||||
this.filePickerField = 'favicon';
|
||||
mutations.showPrompt({
|
||||
name: 'pathPicker',
|
||||
pinned: true,
|
||||
props: {
|
||||
currentPath: this.displayPath || '/',
|
||||
currentSource: this.displaySource,
|
||||
hideDestinationSource: true,
|
||||
showFiles: true,
|
||||
showFolders: true,
|
||||
requireFileSelection: true,
|
||||
allowedFileTypes: ['image/'],
|
||||
selectionContextId,
|
||||
listTitle: this.$t('share.selectFaviconImage'),
|
||||
},
|
||||
});
|
||||
this.tempFilePath = this.displayPath;
|
||||
this.tempFileSource = this.displaySource;
|
||||
this.isPickingFile = true;
|
||||
},
|
||||
/**
|
||||
* @param {{ path: string, source: string, selectionContextId?: string }} data
|
||||
*/
|
||||
onBannerFaviconPathSelected(data) {
|
||||
if (!this.pendingBannerFaviconContextId || !data || data.selectionContextId !== this.pendingBannerFaviconContextId) {
|
||||
return;
|
||||
updateTempFilePath(pathOrData) {
|
||||
if (pathOrData && pathOrData.path) {
|
||||
this.tempFilePath = pathOrData.path;
|
||||
this.tempFileSource = pathOrData.source;
|
||||
this.filePickerSelectionValid = pathOrData.isValid || false;
|
||||
}
|
||||
const queryParams = `source=${encodeURIComponent(data.source)}&path=${encodeURIComponent(data.path)}`;
|
||||
if (this.filePickerField === 'banner') {
|
||||
this.banner = queryParams;
|
||||
} else if (this.filePickerField === 'favicon') {
|
||||
this.favicon = queryParams;
|
||||
},
|
||||
confirmFilePicker() {
|
||||
if (this.tempFilePath && this.tempFileSource) {
|
||||
// Build query params format: source=sourcename&path=indexpath
|
||||
const queryParams = `source=${encodeURIComponent(this.tempFileSource)}&path=${encodeURIComponent(this.tempFilePath)}`;
|
||||
|
||||
if (this.filePickerField === 'banner') {
|
||||
this.banner = queryParams;
|
||||
} else if (this.filePickerField === 'favicon') {
|
||||
this.favicon = queryParams;
|
||||
}
|
||||
}
|
||||
this.pendingBannerFaviconContextId = null;
|
||||
this.isPickingFile = false;
|
||||
this.filePickerField = null;
|
||||
},
|
||||
/**
|
||||
* @param {{ selectionContextId?: string }} data
|
||||
*/
|
||||
onBannerFaviconPathPickerCancelled(data) {
|
||||
if (!this.pendingBannerFaviconContextId || !data || data.selectionContextId !== this.pendingBannerFaviconContextId) {
|
||||
return;
|
||||
}
|
||||
this.pendingBannerFaviconContextId = null;
|
||||
cancelFilePicker() {
|
||||
this.isPickingFile = false;
|
||||
this.filePickerField = null;
|
||||
this.filePickerSelectionValid = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -1040,7 +1043,7 @@ export default {
|
||||
background: var(--surfaceTertiary);
|
||||
}
|
||||
|
||||
.file-picker-button .material-symbols {
|
||||
.file-picker-button .material-icons {
|
||||
color: var(--primaryColor);
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
@dragover.prevent="handleDragOver($event, index)" @drop="handleDrop($event, index)">
|
||||
<div draggable="true" @dragstart="handleDragStart($event, index)" @dragend="handleDragEnd"
|
||||
class="link-drag-handle">
|
||||
<i class="material-symbols">drag_indicator</i>
|
||||
<i class="material-icons">drag_indicator</i>
|
||||
</div>
|
||||
<div v-if="link.category === 'divider'" class="link-icon">
|
||||
<i class="material-symbols">horizontal_rule</i>
|
||||
<i class="material-icons">horizontal_rule</i>
|
||||
</div>
|
||||
<div v-else class="link-icon">
|
||||
<i :class="getIconClass(link.icon)">{{ link.icon }}</i>
|
||||
@@ -27,10 +27,10 @@
|
||||
<span class="link-category">{{ getCategoryLabel(link.category) }}</span>
|
||||
</div>
|
||||
<button class="action" @click="editLink(index)" :aria-label="$t('general.edit')">
|
||||
<i class="material-symbols">edit</i>
|
||||
<i class="material-icons">edit</i>
|
||||
</button>
|
||||
<button class="action" @click="removeLink(index)" :aria-label="$t('general.delete')">
|
||||
<i class="material-symbols">delete</i>
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,7 +39,7 @@
|
||||
<!-- Add New Link Section -->
|
||||
<div v-if="!showAddForm" class="add-link-section">
|
||||
<button @click="showAddForm = true" class="button button--flat button--blue add-link-button">
|
||||
<i class="material-symbols">add</i>
|
||||
<i class="material-icons">add</i>
|
||||
{{ $t('sidebar.addNewLink') }}
|
||||
</button>
|
||||
</div>
|
||||
@@ -201,7 +201,7 @@
|
||||
:placeholder="$t('sidebar.linkIconPlaceholder')" />
|
||||
<div class="icon-preview clickable" @click="openIconPicker" :title="$t('sidebar.browseIcons')">
|
||||
<i v-if="newLink.icon" :class="getIconClass(newLink.icon)">{{ newLink.icon }}</i>
|
||||
<i v-else class="material-symbols icon-preview-placeholder">interests</i>
|
||||
<i v-else class="material-icons icon-preview-placeholder">interests</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -249,7 +249,7 @@ import { state, mutations } from "@/store";
|
||||
import { notify } from "@/notify";
|
||||
import { usersApi, shareApi } from "@/api";
|
||||
import { tools } from "@/utils/constants";
|
||||
import { getIconClass } from "@/utils/material-symbols";
|
||||
import { getIconClass } from "@/utils/material-icons";
|
||||
import FileList from "../files/FileList.vue";
|
||||
import ToggleSwitch from "@/components/settings/ToggleSwitch.vue";
|
||||
import { eventBus } from "@/store/eventBus";
|
||||
@@ -936,7 +936,7 @@ export default {
|
||||
color: var(--primaryColor);
|
||||
}
|
||||
|
||||
.icon-preview .material-symbols,
|
||||
.icon-preview .material-icons,
|
||||
.icon-preview .material-symbols-outlined {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<div class="settings-number-input item">
|
||||
<div class="no-padding">
|
||||
<label for="maxConcurrentUpload">{{ $t("fileLoading.maxConcurrentUpload") }}</label>
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('fileLoading.maxConcurrentUploadHelp'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="settings-number-input item">
|
||||
<div class="no-padding">
|
||||
<label for="uploadChunkSizeMb">{{ $t("fileLoading.uploadChunkSizeMb") }}</label>
|
||||
<i class="material-symbols-outlined tooltip-info-icon"
|
||||
<i class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip($event, $t('fileLoading.uploadChunkSizeMbHelp'))" @mouseleave="hideTooltip">
|
||||
help
|
||||
</i>
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="upload-prompt" :class="{ dropping: isDragging }" @dragenter.prevent="onDragEnter"
|
||||
@dragover.prevent="onDragOver" @dragleave.prevent="onDragLeave" @drop.prevent="onDrop">
|
||||
<div class="upload-prompt-container">
|
||||
<i v-if="files.length === 0" class="material-symbols">cloud_upload</i>
|
||||
<i v-if="files.length === 0" class="material-icons">cloud_upload</i>
|
||||
<p v-if="files.length === 0">{{ $t("prompts.dragAndDrop") }}</p>
|
||||
<div class="button-group">
|
||||
<button @click="triggerFilePicker" class="button button--flat">
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<div class="upload-list">
|
||||
<div v-for="file in files" :key="file.id" class="upload-item">
|
||||
<i class="material-symbols file-icon">{{ file.type === "directory" ? "folder" : "insert_drive_file" }}</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<i class="material-icons file-icon">{{ file.type === "directory" ? "folder" : "insert_drive_file" }}</i> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<div class="file-info">
|
||||
<p class="file-name">{{ file.name }}</p>
|
||||
<progress-bar v-if="file.type !== 'directory'" :val="file.status === 'completed'
|
||||
@@ -86,23 +86,23 @@
|
||||
<div class="file-actions">
|
||||
<button v-if="file.status === 'uploading'" @click="uploadManager.pause(file.id)" class="action"
|
||||
:aria-label="$t('general.pause')" :title="$t('general.pause')">
|
||||
<i class="material-symbols">pause</i>
|
||||
<i class="material-icons">pause</i>
|
||||
</button>
|
||||
<button v-if="file.status === 'paused'" @click="uploadManager.resume(file.id)" class="action"
|
||||
:aria-label="$t('general.resume')" :title="$t('general.resume')">
|
||||
<i class="material-symbols">play_arrow</i>
|
||||
<i class="material-icons">play_arrow</i>
|
||||
</button>
|
||||
<button v-if="file.status === 'error'" @click="uploadManager.retry(file.id)" class="action"
|
||||
:aria-label="$t('general.retry')" :title="$t('general.retry')">
|
||||
<i class="material-symbols">replay</i>
|
||||
<i class="material-icons">replay</i>
|
||||
</button>
|
||||
<button v-if="file.status === 'conflict'" @click="handleConflictAction(file)" class="action"
|
||||
:aria-label="$t('general.replace')" :title="$t('general.replace')">
|
||||
<i class="material-symbols">sync_problem</i>
|
||||
<i class="material-icons">sync_problem</i>
|
||||
</button>
|
||||
<button @click="cancelUpload(file.id)" class="action" :aria-label="$t('general.cancel')"
|
||||
:title="$t('general.cancel')">
|
||||
<i class="material-symbols">close</i>
|
||||
<i class="material-icons">close</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -171,10 +171,10 @@ export default {
|
||||
return state.shareInfo;
|
||||
},
|
||||
uploadSettingsDescription() {
|
||||
const maxConcurrentUpload = state.user.fileLoading?.maxConcurrentUpload;
|
||||
const uploadChunkSizeMb = state.user.fileLoading?.uploadChunkSizeMb;
|
||||
const maxConcurrentUpload = state.user.fileLoading?.maxConcurrentUpload || 3;
|
||||
let uploadChunkSizeMb = state.user.fileLoading?.uploadChunkSizeMb || 5;
|
||||
if (uploadChunkSizeMb === 0) {
|
||||
return this.$t("prompts.uploadSettingsNoChunk", { maxConcurrentUpload });
|
||||
uploadChunkSizeMb = 5;
|
||||
}
|
||||
return this.$t("prompts.uploadSettingsChunked", {
|
||||
maxConcurrentUpload,
|
||||
@@ -193,8 +193,11 @@ export default {
|
||||
let wakeLock = null;
|
||||
|
||||
// Upload settings
|
||||
const maxConcurrentUpload = ref(state.user.fileLoading?.maxConcurrentUpload);
|
||||
const uploadChunkSizeMb = ref(state.user.fileLoading?.uploadChunkSizeMb);
|
||||
const maxConcurrentUpload = ref(state.user.fileLoading?.maxConcurrentUpload || 3);
|
||||
const uploadChunkSizeMb = ref(state.user.fileLoading?.uploadChunkSizeMb || 5);
|
||||
if (uploadChunkSizeMb.value === 0) {
|
||||
uploadChunkSizeMb.value = 5;
|
||||
}
|
||||
const clearAll = ref(state.user.fileLoading?.clearAll || false);
|
||||
|
||||
const showTooltip = (event, text) => {
|
||||
@@ -383,19 +386,13 @@ export default {
|
||||
const destination = getDestinationPath();
|
||||
// When items are passed as a prop from ListingView, they can be either
|
||||
// an array of DataTransferItem (from drag and drop) or an array of File (from input).
|
||||
// or an array of objects (from clipboard paste of the OS).
|
||||
if (Array.isArray(items)) {
|
||||
if (items.length === 0) return;
|
||||
const first = items[0];
|
||||
if (first instanceof File) {
|
||||
if (items.length > 0 && items[0] instanceof File) {
|
||||
// This is an array of File objects from the input fallback in ListingView
|
||||
processFileList(items, destination);
|
||||
} else if (typeof first.getAsFile === 'function') {
|
||||
} else {
|
||||
// This is an array of DataTransferItem from drag and drop in ListingView
|
||||
await processDroppedItems(items, destination);
|
||||
} else if (first.file instanceof File && typeof first.relativePath === 'string') {
|
||||
// This is an array of objects {file, relativePath} for paste from clipboard OS.
|
||||
uploadManager.add(destination, items);
|
||||
}
|
||||
} else if (items) {
|
||||
// This case handles a FileList object from the upload prompt's own input fields.
|
||||
@@ -763,8 +760,4 @@ export default {
|
||||
.sizeInput {
|
||||
max-width: 100px;
|
||||
}
|
||||
.card-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
</style>
|
||||
@@ -2,10 +2,10 @@
|
||||
<div class="card-content">
|
||||
<errors v-if="error" :errorCode="error.status" />
|
||||
<h2 class="message" v-if="user.loginMethod != 'password' && !stateUser.permissions.admin">
|
||||
<i class="material-symbols-outlined">sentiment_dissatisfied</i>
|
||||
<i class="material-icons">sentiment_dissatisfied</i>
|
||||
<span>{{ $t("files.lonely") }}</span>
|
||||
</h2>
|
||||
<div v-if="showPasswordChangeSection">
|
||||
<div v-if="user.loginMethod == 'password' && globalVars.passwordAvailable && !isNew">
|
||||
<label for="password">{{ $t("general.password") }}</label>
|
||||
<div class="form-flex-group">
|
||||
<input class="input form-form" :class="{ 'form-invalid': invalidPassword }" aria-label="Password1"
|
||||
@@ -16,13 +16,7 @@
|
||||
<input class="input form-form" :class="{ 'flat-right': !isNew, 'form-invalid': invalidPassword }"
|
||||
aria-label="Password2" type="password" autocomplete="new-password"
|
||||
:placeholder="$t('settings.enterPasswordAgain')" v-model="user.password" id="password" />
|
||||
<button
|
||||
v-if="!isNew"
|
||||
type="button"
|
||||
class="button form-button flat-left"
|
||||
:disabled="!canUpdatePassword"
|
||||
@click="submitUpdatePassword"
|
||||
>
|
||||
<button v-if="!isNew" type="button" class="button form-button flat-left" @click="submitUpdatePassword">
|
||||
{{ $t("general.update") }}
|
||||
</button>
|
||||
</div>
|
||||
@@ -52,13 +46,7 @@
|
||||
<input class="input form-form" :class="{ 'flat-right': !isNew, 'form-invalid': invalidPassword }"
|
||||
type="password" :placeholder="$t('settings.enterPasswordAgain')" aria-label="Password2"
|
||||
v-model="user.password" autocomplete="new-password" id="password" />
|
||||
<button
|
||||
v-if="!isNew"
|
||||
type="button"
|
||||
class="button form-button flat-left"
|
||||
:disabled="!canUpdatePassword"
|
||||
@click="submitUpdatePassword"
|
||||
>
|
||||
<button v-if="!isNew" type="button" class="button form-button flat-left" @click="submitUpdatePassword">
|
||||
{{ $t("general.update") }}
|
||||
</button>
|
||||
</div>
|
||||
@@ -74,28 +62,24 @@
|
||||
<label for="scopes">{{ $t("settings.scopes") }}</label>
|
||||
<div class="scope-list" :class="{ 'form-invalid': duplicateSources.includes(source.name) }"
|
||||
v-for="(source, index) in selectedSources" :key="index">
|
||||
<select @change="handleSourceChange(source, $event, source.name)" class="input flat-right source-dropdown"
|
||||
<select @change="handleSourceChange(source, $event, source.name)" class="input flat-right"
|
||||
v-model="source.name">
|
||||
<option v-for="s in sourceList" :key="s.name" :value="s.name">
|
||||
{{ s.name }}
|
||||
</option>
|
||||
</select>
|
||||
|
||||
<div
|
||||
:aria-label="'user-edit-scope-path-' + index"
|
||||
class="clickable button flat-left scope-path-display"
|
||||
:class="{ 'flat-right': selectedSources.length > 1 }"
|
||||
@click="onScopePathRowClick(index, source)"
|
||||
>{{ scopePathDisplay(source) }}
|
||||
</div>
|
||||
<input class="input flat-left scope-input" :placeholder="$t('settings.newUserHintSubFolder')"
|
||||
@input="updateParent({ source: source, input: $event })" :value="source.scope"
|
||||
:class="{ 'flat-right': selectedSources.length > 1 }" />
|
||||
<button v-if="selectedSources.length > 1" class="button flat-left no-height" @click="removeScope(index)">
|
||||
<i class="material-symbols material-size">delete</i>
|
||||
<i class="material-icons material-size">delete</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button v-if="hasMoreSources" @click="addNewScopeSource" class="button no-height">
|
||||
<i class="material-symbols material-size">add</i>
|
||||
<i class="material-icons material-size">add</i>
|
||||
</button>
|
||||
|
||||
<div class="settings-items">
|
||||
@@ -110,11 +94,12 @@
|
||||
<div v-if="stateUser.permissions.admin">
|
||||
<label for="loginMethod">{{ $t("settings.loginMethodDescription") }}</label>
|
||||
<select v-model="user.loginMethod" class="input" id="loginMethod">
|
||||
<option v-if="globalVars.passwordAvailable" value="password">{{ $t("settings.loginMethods.password") }}</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.oidcAvailable" value="oidc">OIDC</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.proxyAvailable" value="proxy">Proxy</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.ldapAvailable" value="ldap">LDAP</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option value="jwt">JWT</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.passwordAvailable" value="password">{{ $t("settings.loginMethods.password") }}
|
||||
</option> <!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.oidcAvailable" value="oidc">{{ $t("settings.loginMethods.oidc") }}</option>
|
||||
<!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
<option v-if="globalVars.proxyAvailable" value="proxy">{{ $t("settings.loginMethods.proxy") }}</option>
|
||||
<!-- eslint-disable-line @intlify/vue-i18n/no-raw-text -->
|
||||
</select>
|
||||
</div>
|
||||
<permissions v-if="stateUser.permissions.admin" :permissions="user.permissions" />
|
||||
@@ -185,22 +170,12 @@ export default {
|
||||
availableSources: [],
|
||||
selectedSources: [],
|
||||
passwordRef: "",
|
||||
pendingScopeSelectionContextId: null,
|
||||
pendingScopeIndex: null,
|
||||
};
|
||||
},
|
||||
async created() {
|
||||
await this.fetchData();
|
||||
await this.initializeForm();
|
||||
},
|
||||
mounted() {
|
||||
eventBus.on("pathSelected", this.onPathSelectedFromPicker);
|
||||
eventBus.on("pathPickerCancelled", this.onPathPickerCancelled);
|
||||
},
|
||||
beforeUnmount() {
|
||||
eventBus.off("pathSelected", this.onPathSelectedFromPicker);
|
||||
eventBus.off("pathPickerCancelled", this.onPathPickerCancelled);
|
||||
},
|
||||
computed: {
|
||||
actor() {
|
||||
return state.user;
|
||||
@@ -219,15 +194,6 @@ export default {
|
||||
this.user.password != this.passwordRef && this.user.password.length > 0;
|
||||
return matching;
|
||||
},
|
||||
/** Update is allowed only when both password fields are non-empty (trimmed) and match. */
|
||||
canUpdatePassword() {
|
||||
const a = String(this.passwordRef ?? "").trim();
|
||||
const b = String(this.user.password ?? "").trim();
|
||||
if (a.length === 0 || b.length === 0) {
|
||||
return false;
|
||||
}
|
||||
return !this.invalidPassword;
|
||||
},
|
||||
passwordAvailable: () => globalVars.passwordAvailable,
|
||||
globalVars: () => globalVars,
|
||||
duplicateSources() {
|
||||
@@ -243,20 +209,10 @@ export default {
|
||||
displayHomeDirectoryCheckbox() {
|
||||
return this.isNew && this.createUserDir;
|
||||
},
|
||||
/** Password change (existing user): target and signed-in user must both use password login. */
|
||||
showPasswordChangeSection() {
|
||||
return (
|
||||
!this.isNew &&
|
||||
this.user.loginMethod === "password" &&
|
||||
this.stateUser.loginMethod === "password" &&
|
||||
this.globalVars.passwordAvailable
|
||||
);
|
||||
},
|
||||
firstAvailableLoginMethod() {
|
||||
if (this.globalVars.passwordAvailable) return "password";
|
||||
if (this.globalVars.oidcAvailable) return "oidc";
|
||||
if (this.globalVars.proxyAvailable) return "proxy";
|
||||
if (this.globalVars.ldapAvailable) return "ldap";
|
||||
return "password"; // fallback
|
||||
},
|
||||
},
|
||||
@@ -295,8 +251,6 @@ export default {
|
||||
if (this.globalVars.passwordAvailable) validMethods.push("password");
|
||||
if (this.globalVars.oidcAvailable) validMethods.push("oidc");
|
||||
if (this.globalVars.proxyAvailable) validMethods.push("proxy");
|
||||
if (this.globalVars.ldapAvailable) validMethods.push("ldap");
|
||||
if (this.globalVars.jwtAvailable) validMethods.push("jwt");
|
||||
|
||||
if (!this.user.loginMethod || !validMethods.includes(this.user.loginMethod)) {
|
||||
this.user.loginMethod = this.firstAvailableLoginMethod;
|
||||
@@ -328,8 +282,6 @@ export default {
|
||||
if (this.globalVars.passwordAvailable) validMethods.push("password");
|
||||
if (this.globalVars.oidcAvailable) validMethods.push("oidc");
|
||||
if (this.globalVars.proxyAvailable) validMethods.push("proxy");
|
||||
if (this.globalVars.ldapAvailable) validMethods.push("ldap");
|
||||
if (this.globalVars.jwtAvailable) validMethods.push("jwt");
|
||||
|
||||
if (!this.user.loginMethod || !validMethods.includes(this.user.loginMethod)) {
|
||||
this.user.loginMethod = this.firstAvailableLoginMethod;
|
||||
@@ -429,7 +381,7 @@ export default {
|
||||
mutations.closeTopPrompt();
|
||||
}
|
||||
} catch (e) {
|
||||
notify.showError(e);
|
||||
console.error(e);
|
||||
}
|
||||
},
|
||||
newOTP() {
|
||||
@@ -444,31 +396,20 @@ export default {
|
||||
},
|
||||
async submitUpdatePassword() {
|
||||
event.preventDefault();
|
||||
if (!this.canUpdatePassword) {
|
||||
if (this.invalidPassword) {
|
||||
notify.showError(this.$t("settings.passwordsDoNotMatch"));
|
||||
return;
|
||||
}
|
||||
mutations.showPrompt({
|
||||
name: "password",
|
||||
props: {
|
||||
infoText: this.$t("prompts.confirmPasswordToChangeUserPassword"),
|
||||
submitLabel: this.$t("general.confirm"),
|
||||
submitCallback: async (actorPassword) => {
|
||||
try {
|
||||
await usersApi.update(this.user, ["password"], {
|
||||
headers: {
|
||||
"X-Password": encodeURIComponent(actorPassword),
|
||||
},
|
||||
});
|
||||
if (state.user.permissions.admin && this.user.id !== state.user.id) {
|
||||
eventBus.emit("usersChanged");
|
||||
}
|
||||
notify.showSuccessToast(this.$t("settings.userUpdated"));
|
||||
} catch (e) {
|
||||
notify.showError(e);
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
try {
|
||||
await usersApi.update(this.user, ["password"]);
|
||||
// Only emit usersChanged for admin user management, not profile updates
|
||||
if (state.user.permissions.admin && this.user.id !== state.user.id) {
|
||||
eventBus.emit('usersChanged');
|
||||
}
|
||||
notify.showSuccessToast(this.$t("settings.userUpdated"));
|
||||
} catch (e) {
|
||||
notify.showError(e);
|
||||
}
|
||||
},
|
||||
emitUserUpdate() {
|
||||
// Update the user object with current scopes
|
||||
@@ -489,67 +430,13 @@ export default {
|
||||
setUpdatePassword() {
|
||||
// This method is kept for compatibility but not used in the new structure
|
||||
},
|
||||
onScopePathRowClick(index, source) {
|
||||
if (!source || !source.name) {
|
||||
return;
|
||||
}
|
||||
this.openScopePicker(index);
|
||||
},
|
||||
scopePathDisplay(source) {
|
||||
const s = source && source.scope;
|
||||
if (s !== undefined && s !== null && String(s).length > 0) {
|
||||
return s;
|
||||
}
|
||||
return "/";
|
||||
},
|
||||
openScopePicker(index) {
|
||||
const row = this.selectedSources[index];
|
||||
if (!row || !row.name) {
|
||||
return;
|
||||
}
|
||||
const selectionContextId = `user-scope-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
||||
this.pendingScopeSelectionContextId = selectionContextId;
|
||||
this.pendingScopeIndex = index;
|
||||
const initialPath =
|
||||
row.scope && typeof row.scope === "string" && row.scope.length > 0 ? row.scope : "/";
|
||||
mutations.showPrompt({
|
||||
name: "pathPicker",
|
||||
props: {
|
||||
currentPath: initialPath,
|
||||
currentSource: row.name,
|
||||
hideDestinationSource: true,
|
||||
selectionContextId,
|
||||
},
|
||||
});
|
||||
},
|
||||
onPathPickerCancelled(data) {
|
||||
if (!this.pendingScopeSelectionContextId || !data) {
|
||||
return;
|
||||
}
|
||||
if (data.selectionContextId !== this.pendingScopeSelectionContextId) {
|
||||
return;
|
||||
}
|
||||
this.pendingScopeSelectionContextId = null;
|
||||
this.pendingScopeIndex = null;
|
||||
},
|
||||
onPathSelectedFromPicker(data) {
|
||||
if (!this.pendingScopeSelectionContextId) {
|
||||
return;
|
||||
}
|
||||
if (!data || data.selectionContextId !== this.pendingScopeSelectionContextId) {
|
||||
return;
|
||||
}
|
||||
this.pendingScopeSelectionContextId = null;
|
||||
const idx = this.pendingScopeIndex;
|
||||
this.pendingScopeIndex = null;
|
||||
if (idx === null || idx === undefined || typeof data.path !== "string") {
|
||||
return;
|
||||
}
|
||||
const path = data.path;
|
||||
const next = this.selectedSources.map((s, i) =>
|
||||
i === idx ? { ...s, scope: path } : s
|
||||
updateParent(input) {
|
||||
const updatedScopes = this.selectedSources.map((source) =>
|
||||
source.name === input.source.name
|
||||
? { ...source, scope: input.input.target.value }
|
||||
: source
|
||||
);
|
||||
this.selectedSources = next;
|
||||
this.selectedSources = updatedScopes;
|
||||
this.emitUserUpdate();
|
||||
},
|
||||
addNewScopeSource(event) {
|
||||
@@ -583,8 +470,6 @@ export default {
|
||||
if (this.globalVars.passwordAvailable) validMethods.push("password");
|
||||
if (this.globalVars.oidcAvailable) validMethods.push("oidc");
|
||||
if (this.globalVars.proxyAvailable) validMethods.push("proxy");
|
||||
if (this.globalVars.ldapAvailable) validMethods.push("ldap");
|
||||
if (this.globalVars.jwtAvailable) validMethods.push("jwt");
|
||||
|
||||
const isValidMethod = validMethods.includes(this.user.loginMethod);
|
||||
|
||||
@@ -607,14 +492,9 @@ export default {
|
||||
<style scoped>
|
||||
.scope-list {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.source-dropdown {
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.scope-path-display {
|
||||
.scope-input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<span class="toggle-name">{{ name }}</span>
|
||||
<i
|
||||
v-if="description"
|
||||
class="material-symbols-outlined tooltip-info-icon"
|
||||
class="no-select material-symbols-outlined tooltip-info-icon"
|
||||
@mouseenter="showTooltip"
|
||||
@mouseleave="hideTooltip"
|
||||
>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="card headline-card">
|
||||
<div v-if="isDataLoaded && shouldShowLogin" class="card-wrapper user-card" :class="{ 'extra-padding': !disableQuickToggles }">
|
||||
<div v-if="isDataLoaded && shouldShowLogin" class="card-wrapper user-card">
|
||||
<div v-if="settingsAllowed" class="inner-card user-card__profile">
|
||||
<a href="/settings#profile-main" class="person-button action button"
|
||||
@click.prevent="navigateTo('/settings', '#profile-main')"
|
||||
@mouseenter="showTooltip($event, $t('index.settingsHover'))" @mouseleave="hideTooltip">
|
||||
<i class="material-symbols person-button__icon">person</i>
|
||||
<i class="material-icons person-button__icon">person</i>
|
||||
<span class="person-button__name">{{ user.username }}</span>
|
||||
<i aria-label="settings" class="material-symbols person-button__icon">settings</i>
|
||||
<i aria-label="settings" class="material-icons person-button__icon">settings</i>
|
||||
</a>
|
||||
</div>
|
||||
<div v-else-if="user.username === 'anonymous' && shouldShowLogin" @click="navigateToLogin"
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div v-else-if="user.username !== 'anonymous'" class="inner-card user-card__profile">
|
||||
<button class="person-button action button" type="button">
|
||||
<i class="material-symbols person-button__icon">person</i>
|
||||
<i class="material-icons person-button__icon">person</i>
|
||||
<span class="person-button__name">{{ user.username }}</span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -26,7 +26,7 @@
|
||||
<div class="inner-card" v-if="canLogout" @click="logout">
|
||||
<button aria-label="logout-button" class="logout-button action button"
|
||||
@mouseenter="showTooltip($event, $t('general.logout'))" @mouseleave="hideTooltip">
|
||||
<i class="material-symbols">exit_to_app</i>
|
||||
<i class="material-icons">exit_to_app</i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -35,16 +35,16 @@
|
||||
<div class="quick-toggles" :class="{ 'extra-padding': hasCreateOptions }">
|
||||
<div class="clickable" :class="{ active: user?.singleClick }" @click="toggleClick"
|
||||
@mouseenter="showTooltip($event, $t('index.toggleClick'))" @mouseleave="hideTooltip" v-if="!isInvalidShare">
|
||||
<i class="material-symbols">ads_click</i>
|
||||
<i class="material-icons">ads_click</i>
|
||||
</div>
|
||||
<div aria-label="Toggle Theme" v-if="darkModeTogglePossible" class="clickable"
|
||||
:class="{ active: user?.darkMode }" @click="toggleDarkMode"
|
||||
@mouseenter="showTooltip($event, $t('index.toggleDark'))" @mouseleave="hideTooltip">
|
||||
<i class="material-symbols">dark_mode</i>
|
||||
<i class="material-icons">dark_mode</i>
|
||||
</div>
|
||||
<div class="clickable" :class="{ active: isStickySidebar }" @click="toggleSticky"
|
||||
@mouseenter="showTooltip($event, $t('index.toggleSticky'))" @mouseleave="hideTooltip" v-if="!isMobile">
|
||||
<i class="material-symbols">push_pin</i>
|
||||
<i class="material-icons">push_pin</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -54,7 +54,7 @@
|
||||
@leave="leave">
|
||||
<div v-if="!hideSidebarFileActions && isListingView" class="card-wrapper">
|
||||
<button @click="openContextMenu" aria-label="File-Actions" data-testid="file-actions-button" class="action file-actions">
|
||||
<i class="material-symbols">add</i>
|
||||
<i class="material-icons">add</i>
|
||||
{{ $t("sidebar.fileActions") }}
|
||||
</button>
|
||||
</div>
|
||||
@@ -75,6 +75,7 @@
|
||||
import * as auth from "@/utils/auth";
|
||||
import { globalVars } from "@/utils/constants";
|
||||
import { state, getters, mutations } from "@/store";
|
||||
import { fromNow } from "@/utils/moment";
|
||||
import SidebarLinks from "./Links.vue";
|
||||
|
||||
export default {
|
||||
@@ -103,6 +104,7 @@ export default {
|
||||
},
|
||||
shareInfo: () => state.shareInfo,
|
||||
disableQuickToggles: () => state.user?.disableQuickToggles,
|
||||
hasSourceInfo: () => state.sources.hasSourceInfo,
|
||||
hideSidebarFileActions() {
|
||||
return state.user?.hideSidebarFileActions || getters.isInvalidShare() || !this.hasCreateOptions;
|
||||
},
|
||||
@@ -113,8 +115,13 @@ export default {
|
||||
isInvalidShare: () => getters.isInvalidShare(),
|
||||
isListingView: () => getters.currentView() == "listingView",
|
||||
user: () => (state.user || {username: 'anonymous'}),
|
||||
isDarkMode: () => getters.isDarkMode(),
|
||||
isShare: () => getters.isShare(),
|
||||
showSources: () => !getters.isShare(),
|
||||
currentPrompt: () => getters.currentPrompt(),
|
||||
active: () => getters.isSidebarVisible(),
|
||||
signup: () => globalVars.signup,
|
||||
disableExternal: () => globalVars.disableExternal,
|
||||
canLogout: () => !globalVars.noAuth && state.user?.username !== 'anonymous',
|
||||
route: () => state.route,
|
||||
realtimeActive: () => state.realtimeActive,
|
||||
@@ -153,6 +160,32 @@ export default {
|
||||
checkLogin() {
|
||||
return getters.isLoggedIn() && !getters.routePath().startsWith("/share");
|
||||
},
|
||||
getComplexityLabel(complexity) {
|
||||
// Translate complexity integer to i18n label
|
||||
// Frontend interprets: 0=unknown, 1=simple, 2-6=normal, 7-9=complex, 10=highlyComplex
|
||||
if (complexity === 0) return this.$t("index.unknown");
|
||||
if (complexity === 1) return this.$t("index.simple");
|
||||
if (complexity >= 2 && complexity <= 6) return this.$t("index.normal");
|
||||
if (complexity >= 7 && complexity <= 9) return this.$t("index.complex");
|
||||
if (complexity === 10) return this.$t("index.highlyComplex");
|
||||
return this.$t("index.unknown");
|
||||
},
|
||||
getStatusLabel(status) {
|
||||
// Translate status string to i18n label
|
||||
switch (status) {
|
||||
case "ready":
|
||||
return this.$t("index.ready");
|
||||
case "indexing":
|
||||
return this.$t("index.indexing");
|
||||
case "unavailable":
|
||||
return this.$t("index.unavailable");
|
||||
case "error":
|
||||
return this.$t("index.error");
|
||||
case "unknown":
|
||||
default:
|
||||
return this.$t("index.unknown");
|
||||
}
|
||||
},
|
||||
toggleClick() {
|
||||
mutations.updateCurrentUser({ singleClick: !state.user.singleClick });
|
||||
},
|
||||
@@ -216,18 +249,78 @@ export default {
|
||||
el.addEventListener('transitionend', onTransitionEnd);
|
||||
});
|
||||
},
|
||||
showTooltip(event, text) {
|
||||
if (text) {
|
||||
mutations.showTooltip({
|
||||
content: text,
|
||||
x: event.clientX,
|
||||
y: event.clientY,
|
||||
});
|
||||
}
|
||||
},
|
||||
hideTooltip() {
|
||||
mutations.hideTooltip();
|
||||
},
|
||||
showTooltip(event, text) {
|
||||
if (text) {
|
||||
mutations.showTooltip({
|
||||
content: text,
|
||||
x: event.clientX,
|
||||
y: event.clientY,
|
||||
});
|
||||
}
|
||||
},
|
||||
hideTooltip() {
|
||||
mutations.hideTooltip();
|
||||
},
|
||||
showSourceTooltip(event, info) {
|
||||
if (info) {
|
||||
const tooltipContent = this.buildSourceTooltipContent(info);
|
||||
mutations.showTooltip({
|
||||
content: tooltipContent,
|
||||
x: event.clientX,
|
||||
y: event.clientY,
|
||||
});
|
||||
}
|
||||
},
|
||||
buildSourceTooltipContent(info) {
|
||||
const getHumanReadable = (lastIndex) => {
|
||||
if (isNaN(Number(lastIndex))) return "";
|
||||
let val = Number(lastIndex);
|
||||
if (val === 0) {
|
||||
return "now";
|
||||
}
|
||||
return fromNow(val, state.user.locale);
|
||||
};
|
||||
|
||||
return `
|
||||
<table style="border-collapse: collapse; text-align: left;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2" style="text-align: center; font-weight: bold; font-size: 1.1em; padding-bottom: 0.3em; border-bottom: 1px solid #888;">${info.name || 'Source'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("general.status")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.getStatusLabel(info.status)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("index.assessment")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.getComplexityLabel(info.complexity || 0)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("general.files")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${info.files || 0}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("general.folders")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${info.folders || 0}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("index.lastScanned")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${getHumanReadable(info.lastIndex)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${this.$t("index.quickScan")}</td>
|
||||
<td style="padding: 0.2em 0.5em; border-bottom: 1px solid #ccc;">${isNaN(Number(info.quickScanDurationSeconds)) ? '' : Number(info.quickScanDurationSeconds)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.2em 0.5em;">${this.$t("index.fullScan")}</td>
|
||||
<td style="padding: 0.2em 0.5em;">${isNaN(Number(info.fullScanDurationSeconds)) ? '' : Number(info.fullScanDurationSeconds)}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
`;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -240,6 +333,7 @@ export default {
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
color: var(--textPrimary);
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.user-card > .user-card__profile {
|
||||
@@ -276,6 +370,12 @@ export default {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.usage-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.quick-toggles div {
|
||||
border-radius: 10em;
|
||||
background-color: var(--surfaceSecondary);
|
||||
@@ -306,6 +406,7 @@ button.action {
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
|
||||
.card-wrapper {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
@@ -324,10 +425,10 @@ button.action {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
padding-right: 0;
|
||||
padding-right: 1em !important;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 0.3em;
|
||||
gap: 0.35em;
|
||||
}
|
||||
|
||||
.person-button__icon {
|
||||
@@ -342,6 +443,11 @@ button.action {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
a.person-button {
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-actions {
|
||||
padding: 0.25em !important;
|
||||
margin-top: 0.5em !important;
|
||||
@@ -354,6 +460,19 @@ button.action {
|
||||
padding: 0em !important;
|
||||
}
|
||||
|
||||
.expand-enter-active,
|
||||
.expand-leave-active {
|
||||
transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
overflow: hidden;
|
||||
will-change: opacity, height;
|
||||
}
|
||||
|
||||
.expand-enter,
|
||||
.expand-leave-to {
|
||||
height: 0 !important;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.extra-padding {
|
||||
padding-bottom: 0.5em !important;
|
||||
}
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
<!-- Links section header -->
|
||||
<div class="sidebar-links-header"
|
||||
:class="{ 'with-top-spacing': isShare && !disableShareCard }">
|
||||
<i :class="{ 'disabled': !isLoggedIn }" @click="goHome()" class="material-symbols action">home</i>
|
||||
<i :class="{ 'disabled': !isLoggedIn }" @click="goHome()" class="material-icons action">home</i>
|
||||
<!-- Mode button (is the title) -->
|
||||
<button @click="cycleMode" class="mode-toggle" @mouseenter="showTooltip($event, $t('sidebar.switchMode'))" @mouseleave="hideTooltip">
|
||||
<button @click="cycleMode" class="mode-toggle" :title="$t('sidebar.switchMode')" @mouseenter="showTooltip($event, $t('sidebar.switchMode'))" @mouseleave="hideTooltip">
|
||||
{{ mode === 'links' ? $t('general.links') : $t('general.navigation') }}
|
||||
</button>
|
||||
<i v-if="isShare" aria-label="Edit Share" @mouseenter="showTooltip($event, editShareText())" @mouseleave="hideTooltip"
|
||||
:class="{ 'disabled': !canEdit }"
|
||||
@click="showEditShareHover" class="material-symbols action">edit</i>
|
||||
@click="showEditShareHover" class="material-icons action">edit</i>
|
||||
<i v-else @mouseenter="showTooltip($event, $t('sidebar.customizeLinks'))" @mouseleave="hideTooltip"
|
||||
@click="openSidebarLinksPrompt" class="material-symbols action">edit</i>
|
||||
@click="openSidebarLinksPrompt" class="material-icons action">edit</i>
|
||||
</div>
|
||||
<!-- Scrollable Content Area -->
|
||||
<div class="sidebar-links-content">
|
||||
@@ -34,7 +34,7 @@
|
||||
<a v-else-if="link.category === 'custom' && link.name === 'sourceLocation'" :href="link.target"
|
||||
:aria-label="link.name" class="action button sidebar-link-button" @click.prevent="handleLinkClick(link)">
|
||||
<div class="link-container">
|
||||
<i class="material-symbols link-icon">open_in_new</i>
|
||||
<i class="material-icons link-icon">open_in_new</i>
|
||||
<span>{{ $t('buttons.goToSource') }}</span>
|
||||
</div>
|
||||
</a>
|
||||
@@ -57,7 +57,7 @@
|
||||
<circle class="center" cx="50%" cy="50%" r="7px"></circle>
|
||||
<circle class="pulse" cx="50%" cy="50%" r="10px"></circle>
|
||||
</svg>
|
||||
<i v-else class="material-symbols warning-icon"
|
||||
<i v-else class="material-icons warning-icon"
|
||||
@mouseenter="showTooltip($event, $t('sidebar.sourceNotAccessible'))" @mouseleave="hideTooltip">
|
||||
warning
|
||||
</i>
|
||||
@@ -126,7 +126,7 @@
|
||||
<circle class="center" cx="50%" cy="50%" r="7px"></circle>
|
||||
<circle class="pulse" cx="50%" cy="50%" r="10px"></circle>
|
||||
</svg>
|
||||
<i v-else class="material-symbols warning-icon"
|
||||
<i v-else class="material-icons warning-icon"
|
||||
@mouseenter="showTooltip($event, $t('sidebar.sourceNotAccessible'))" @mouseleave="hideTooltip">
|
||||
warning
|
||||
</i>
|
||||
@@ -141,7 +141,7 @@
|
||||
</i>
|
||||
<!-- Dropdown arrow -->
|
||||
<button class="source-dropdown-button" @click.stop="toggleSourceDropdown" ref="dropdownTrigger">
|
||||
<i class="material-symbols">keyboard_arrow_down</i>
|
||||
<i class="material-icons">keyboard_arrow_down</i>
|
||||
</button>
|
||||
</div>
|
||||
<div v-if="hasUsageInfo(activeSourceLink)" class="usage-info">
|
||||
@@ -187,7 +187,7 @@
|
||||
import { state, getters, mutations } from "@/store";
|
||||
import ProgressBar from "@/components/ProgressBar.vue";
|
||||
import { goToItem } from "@/utils/url";
|
||||
import { getIconClass } from "@/utils/material-symbols";
|
||||
import { getIconClass } from "@/utils/material-icons";
|
||||
import { buildIndexInfoTooltipHTML } from "@/components/files/IndexInfo.vue";
|
||||
import { globalVars } from "@/utils/constants";
|
||||
import { resourcesApi } from "@/api";
|
||||
@@ -636,13 +636,13 @@ export default {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sidebar-links-header .material-symbols.action {
|
||||
.sidebar-links-header .material-icons.action {
|
||||
padding: 0.25em 0.25em;
|
||||
border-radius: 0.5em;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.sidebar-links-header .material-symbols.action:hover {
|
||||
.sidebar-links-header .material-icons.action:hover {
|
||||
background: var(--surfaceSecondary);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,11 +61,6 @@ export default {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.active-settings .settings-icon,
|
||||
.settings-card:hover .material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 1;
|
||||
}
|
||||
|
||||
.settings-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
>
|
||||
<div v-if="shouldShow" class="button release-banner">
|
||||
<a :href="releaseUrl">{{ $t("sidebar.updateIsAvailable") }}</a>
|
||||
<i @click="setSeenUpdate" aria-label="close-banner" class="material-symbols">close</i>
|
||||
<i @click="setSeenUpdate" aria-label="close-banner" class="material-icons">close</i>
|
||||
</div>
|
||||
<SidebarSettings v-if="isSettings"></SidebarSettings>
|
||||
<SidebarGeneral v-if="!isSettings"></SidebarGeneral>
|
||||
@@ -99,8 +99,10 @@ export default {
|
||||
computed: {
|
||||
externalLinks: () => globalVars.externalLinks,
|
||||
name: () => globalVars.name,
|
||||
isValidShare: () => getters.isValidShare(),
|
||||
releaseUrl: () => globalVars.updateAvailable,
|
||||
isDarkMode: () => getters.isDarkMode(),
|
||||
isLoggedIn: () => getters.isLoggedIn(),
|
||||
isSettings: () => getters.isSettings(),
|
||||
isMobile: () => getters.isMobile(),
|
||||
active: () => getters.isSidebarVisible(),
|
||||
@@ -173,6 +175,11 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.sidebar-scroll-list {
|
||||
overflow: auto;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -256,6 +263,11 @@ body.rtl .action {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.credits a,
|
||||
.credits a:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.buffer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div v-if="selectedCount > 0" class="duplicate-finder-actions">
|
||||
<button @click="handleDelete" class="button delete-button" :disabled="deleting">
|
||||
<i v-if="deleting" class="material-symbols spin">autorenew</i>
|
||||
<i v-else class="material-symbols">delete</i>
|
||||
<i v-if="deleting" class="material-icons spin">autorenew</i>
|
||||
<i v-else class="material-icons">delete</i>
|
||||
<span>{{ $t('general.delete') }} {{ selectedCount }}</span>
|
||||
</button>
|
||||
<button @click="handleClear" class="button">
|
||||
@@ -56,7 +56,7 @@ export default {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.button .material-symbols {
|
||||
.button .material-icons {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.warning-message .material-symbols {
|
||||
.warning-message .material-icons {
|
||||
font-size: 1.5rem;
|
||||
color: #f57c00;
|
||||
flex-shrink: 0;
|
||||
@@ -58,7 +58,7 @@
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.success-message .material-symbols {
|
||||
.success-message .material-icons {
|
||||
font-size: 1.5rem;
|
||||
color: #28a745;
|
||||
flex-shrink: 0;
|
||||
|
||||
+27
-15
@@ -113,16 +113,40 @@
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
|
||||
/* Material Icons - Optimized with preload */
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: block;
|
||||
src: url(/fonts/material-icons.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(/fonts/material-symbols.woff2) format('woff2');
|
||||
src: url(/fonts/material-symbols-outlined.woff2) format('woff2');
|
||||
}
|
||||
|
||||
.material-symbols-outlined,
|
||||
.material-symbols {
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.material-symbols-outlined {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
@@ -135,17 +159,5 @@
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
transition: 0.25s ease;
|
||||
}
|
||||
|
||||
/* Filled variant */
|
||||
.material-symbols {
|
||||
font-variation-settings: 'FILL' 1;
|
||||
}
|
||||
|
||||
/* Outlined variant */
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
.listing-items {
|
||||
--item-selected: white;
|
||||
animation-duration: 0.25s;
|
||||
transition: 0.25s ease;
|
||||
transition: box-shadow 0.2s ease-in-out, transform 0.1s ease-in-out;
|
||||
user-select: none;
|
||||
padding-bottom: 2.5em; /* Space for status bar - this prevents items from going behind */
|
||||
}
|
||||
@@ -32,7 +32,7 @@ body.rtl .listing-items {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
color: #6f6f6f;
|
||||
transition: 0.25s ease;
|
||||
transition: .1s ease background, .1s ease opacity;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
@@ -267,23 +267,14 @@ body.rtl .listing-items {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
||||
.listing-items.list .listing-item .size,
|
||||
.listing-items.compact .listing-item .size,
|
||||
.listing-items.list .listing-item .duration,
|
||||
.listing-items.compact .listing-item .duration,
|
||||
.listing-items.list .listing-item .modified,
|
||||
.listing-items.compact .listing-item .modified {
|
||||
min-width: 15%;
|
||||
flex: 0;
|
||||
text-align: end;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.listing-items.list .listing-item .size,
|
||||
.listing-items.compact .listing-item .size,
|
||||
.listing-items.list .listing-item .duration,
|
||||
.listing-items.compact .listing-item .duration {
|
||||
min-width: 10%;
|
||||
flex: 0;
|
||||
text-align: end;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.listing-items.list .listing-item .name,
|
||||
@@ -302,7 +293,7 @@ body.rtl .listing-items {
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.listing-items.icons .image-preview.download-icon .material-symbols {
|
||||
.listing-items.icons .image-preview.download-icon .material-icons {
|
||||
font-size: 2em;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
@@ -330,12 +321,10 @@ body.rtl .listing-items {
|
||||
.listing-item[aria-selected=true] {
|
||||
background-color: color-mix(in srgb, var(--primaryColor) 85%, transparent) !important;
|
||||
color: var(--item-selected) !important;
|
||||
scroll-margin-top: 9em;
|
||||
scroll-margin-bottom: 3em;
|
||||
}
|
||||
|
||||
.listing-items.gallery .listing-item[aria-selected=true] {
|
||||
border: 0.45em solid var(--primaryColor) !important;
|
||||
border: 0.2em solid var(--primaryColor) !important;
|
||||
}
|
||||
|
||||
.listing-items.gallery .listing-item .size,
|
||||
|
||||
@@ -13,12 +13,6 @@
|
||||
/* Loader / skeleton: single source in public/css/loadingSpinners.css (also inlined in index.html for first paint). */
|
||||
@import "../../public/css/loadingSpinners.css";
|
||||
|
||||
/* Selection color */
|
||||
::selection {
|
||||
background-color: color-mix(in srgb, var(--primaryColor), transparent 25%);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: var(--blue);
|
||||
}
|
||||
@@ -365,15 +359,6 @@ button:hover,
|
||||
/* Slightly enlarges the element */
|
||||
}
|
||||
|
||||
.listing-item[aria-selected="true"] .material-symbols-outlined,
|
||||
.listing-item:hover .material-symbols-outlined,
|
||||
.tree-node:hover .material-symbols-outlined,
|
||||
.tree-node.current-item .material-symbols-outlined,
|
||||
.tree-node.drag-over .material-symbols-outlined,
|
||||
.search-entry:hover .material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 1;
|
||||
}
|
||||
|
||||
.flat-right {
|
||||
border-top-right-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "إظهار الخيارات المتقدمة",
|
||||
"showLess": "إخفاء الخيارات المتقدمة",
|
||||
"goToSource": "الانتقال إلى موقع المصدر",
|
||||
"goToItem": "انتقل إلى العنصر",
|
||||
"copyPath": "مسار النسخ"
|
||||
"goToItem": "انتقل إلى العنصر"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Download File",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "أرشيف المقتطفات",
|
||||
"unarchiveMessage": "اختر مكان استخراج الأرشيف.",
|
||||
"unarchiveDestination": "مقتطف إلى:",
|
||||
"unarchiveSuccess": "تم استخراج الأرشيف بنجاح!",
|
||||
"downloadFailed": "فشل التحميل المقطوع - إذا تكرر ذلك، حاول تقليل حجم القطعة: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "أدخل كلمة المرور الحالية للسماح بتغيير كلمة المرور هذه."
|
||||
"unarchiveSuccess": "تم استخراج الأرشيف بنجاح!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "أصغر من:",
|
||||
"largerThan": "أكبر من:",
|
||||
"helpText1": "يحدث البحث على كل حرف تكتبه (3 أحرف كحد أدنى لمصطلحات البحث).",
|
||||
"helpText2": "الفهرس: يستخدم البحث الفهرس الذي يتم تحديثه تلقائيًا على الفاصل الزمني الذي تم تكوينه (افتراضيًا: 5 دقائق). قد يؤدي البحث عندما يكون البرنامج قد بدأ للتو إلى نتائج غير مكتملة.",
|
||||
"noResults": "لم يتم العثور على نتائج في البحث المفهرس.",
|
||||
"onlyFolders": "المجلدات فقط",
|
||||
"onlyFiles": "الملفات فقط",
|
||||
"showOptions": "عرض الخيارات",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "عرض صور المعاينة",
|
||||
"showPreviewImagesDescription": "عرض معاينات الصور المصغرة لنتائج البحث عند توفرها، وإظهار أيقونات أكبر لجميع النتائج.",
|
||||
"olderThanDate": "أقدم من:",
|
||||
"newerThanDate": "أحدث من:",
|
||||
"helpText2": "تعتمد نتائج البحث على الملفات المفهرسة، لذلك قد لا تظهر الملفات المضافة حديثاً حتى تتم فهرستها.",
|
||||
"noResults": "لم يتم العثور على نتائج.",
|
||||
"helpText1": "يحدث البحث على كل حرف تكتبه ({minSearchLength} حرف كحد أدنى)."
|
||||
"newerThanDate": "أحدث من:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "Administrator",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "يمكنك تخصيص شكل ومظهر مثيل متصفح الملفات الخاص بك عن طريق تغيير اسمه، واستبدال الشعار، وإضافة أنماط مخصصة، وحتى تعطيل الروابط الخارجية إلى GitHub.\nلمزيد من المعلومات حول العلامة التجارية المخصصة، يرجى الاطلاع على {0}.",
|
||||
"commandRunnerHelp": "هنا يمكنك تعيين الأوامر التي يتم تنفيذها في الأحداث المسماة. يجب عليك كتابة أمر واحد لكل سطر. سيكون متغيرا البيئة {0} و {1} متاحين، حيث {0} بالنسبة إلى {1}. لمزيد من المعلومات حول هذه الميزة ومتغيرات البيئة المتاحة، يرجى قراءة {2}.",
|
||||
"loginMethods": {
|
||||
"password": "كلمة المرور"
|
||||
"password": "كلمة المرور",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "الوكيل"
|
||||
},
|
||||
"newUserHintSubFolder": "على سبيل المثال '/مجلد فرعي' - فارغ للافتراضي",
|
||||
"permissionsHelp": "تتحكم أذونات المستخدم في الوصول إلى نوع الإجراءات التي يمكن للمستخدم تنفيذها. يمنح الوصول إلى المسؤول التحكم الكامل لتحديث وتغيير إعدادات أي مستخدم بالإضافة إلى العديد من إعدادات النظام.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "النتائج{suffix}",
|
||||
"users": "المستخدمون{suffix}",
|
||||
"photos": "الصور",
|
||||
"audios": "ملفات صوتية{suffix}",
|
||||
"videos": "مقاطع الفيديو{suffix}",
|
||||
"models": "نماذج ثلاثية الأبعاد",
|
||||
"documents": "المستندات{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "التنسيق{suffix}",
|
||||
"office": "المكتب{suffix}",
|
||||
"show": "عرض{suffix}",
|
||||
"divider": "مقسم{suffix}",
|
||||
"audio": "الصوت{suffix}"
|
||||
"divider": "مقسم{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "قواعد الوصول",
|
||||
@@ -711,11 +710,14 @@
|
||||
"deleteAfterArchiveDescription": "عند التمكين، سيتم حذف الملفات المصدر بعد إنشاء/استخراج الأرشيفات بنجاح",
|
||||
"hideFilesInTree": "إخفاء الملفات في شجرة التنقل",
|
||||
"hideFilesInTreeDescription": "عند التمكين، تظهر المجلدات فقط في التنقل الشجري للشريط الجانبي",
|
||||
"previewModelsDescription": "عرض صور مصغرة للنماذج ثلاثية الأبعاد، سيتم عرض أيقونة عامة إذا كانت معطلة",
|
||||
"setDateFormat": "تعيين تنسيق التاريخ الدقيق",
|
||||
"showHiddenFiles": "إظهار الملفات المخفية",
|
||||
"showHiddenFilesDescription": "إظهار الملفات المخفية في القائمة (مثل .thumbnails، ProgramData)، ولكن لا يزال يمكن الوصول إليها يدويًا إذا تم تكوينها للفهرسة.",
|
||||
"showQuickDownload": "إظهار أيقونة التنزيل للوصول السريع",
|
||||
"showQuickDownloadDescription": "إظهار أيقونة التنزيل للوصول السريع إلى كل عنصر ملف يمكن النقر عليها لتنزيله على الفور.",
|
||||
"previewImagesDescription": "إظهار معاينات الصور المصغرة للصور، ستظهر أيقونة عامة إذا تم تعطيلها.",
|
||||
"previewVideosDescription": "إظهار معاينات الصور المصغرة لمقاطع الفيديو، ستظهر أيقونة عامة إذا تم تعطيلها.",
|
||||
"editOffice": "عرض وتحرير الملفات المكتبية باستخدام OnlyOffice",
|
||||
"editOfficeDescription": "عند تمكين Office فقط، سيتم تعطيل عارض/محرر الملفات لجميع امتدادات الملفات المتعلقة بملفات Office.",
|
||||
"filePreviewOptions": "خيارات معاينة الملف",
|
||||
@@ -760,14 +762,12 @@
|
||||
"previewFolderDescription": "إظهار معاينات الصور المصغرة للمجلدات التي تحتوي على العنصر الفرعي الأول كغلاف - أو عناصر متعددة إذا تم تمكين معاينة الحركة.",
|
||||
"previewMotion": "معاينات الحركة",
|
||||
"previewMotionVideosDescription": "معاينة الحركة هي المعاينة المنبثقة المتحركة التي تتنقل عبر إطارات الفيديو أو الصور المتعددة لمجلد",
|
||||
"previewAudiosDescription": "عرض صور مصغرة للملفات الصوتية، سيتم عرض أيقونة عامة إذا كانت معطلة",
|
||||
"popupPreview": "العارض المنبثق",
|
||||
"popupPreviewDescription": "ستظهر نافذة منبثقة متراكبة فوق واجهة المستخدم عند التمرير فوق العناصر ذات الصور المصغرة",
|
||||
"thumbnailOptions": "خيارات الصور المصغرة",
|
||||
"showThumbnails": "إظهار الصور المصغرة للعناصر المدعومة",
|
||||
"showThumbnailsDescription": "عند التمكين، تظهر الصور المصغرة في القائمة للعناصر التي تدعمها. قم بإيقاف التشغيل لإخفاء جميع الصور المصغرة.",
|
||||
"showCopyPath": "إظهار مسار النسخ في قائمة السياق",
|
||||
"showCopyPathDescription": "إظهار إجراء نسخ المسار في قائمة سياق الملف والمجلد.",
|
||||
"previewDescription": "إظهار معاينات الصور المصغرة لـ {filetype} ، ستظهر أيقونة عامة إذا تم تعطيلها."
|
||||
"showThumbnailsDescription": "عند التمكين، تظهر الصور المصغرة في القائمة للعناصر التي تدعمها. قم بإيقاف التشغيل لإخفاء جميع الصور المصغرة."
|
||||
},
|
||||
"colors": {
|
||||
"red": "أحمر",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "تم إجهاض عملية الحفظ. الملف النشط للتطبيق ({activeFile}) لا يتطابق مع الملف الذي تحاول حفظه ({tryingToSave}).",
|
||||
"syncFailed": "فشل مزامنة الحالة مع مسار \"{filename}\" بعد 5 محاولات. إجهاض إعداد المحرر لمنع تلف البيانات.",
|
||||
"fileSaved": "تم حفظ الملف!",
|
||||
"errorSavingFile": "خطأ في حفظ الملف: {error}",
|
||||
"lines": "{count} سطور",
|
||||
"words": "{count} كلمات",
|
||||
"chars": "{count} أحرف"
|
||||
"errorSavingFile": "خطأ في حفظ الملف: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "تفعيل التكرار",
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "Zobrazit rozšířené možnosti",
|
||||
"showLess": "Skrytí pokročilých možností",
|
||||
"goToSource": "Přejít na zdrojové umístění",
|
||||
"goToItem": "Přejít na položku",
|
||||
"copyPath": "Kopírovat cestu"
|
||||
"goToItem": "Přejít na položku"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Stáhnout soubor",
|
||||
@@ -319,13 +318,14 @@
|
||||
"unarchive": "Výpis archivu",
|
||||
"unarchiveMessage": "Vyberte, kam se má archiv rozbalit.",
|
||||
"unarchiveDestination": "Výpis na:",
|
||||
"unarchiveSuccess": "Archiv úspěšně extrahován!",
|
||||
"downloadFailed": "Stahování po částech se nezdařilo - pokud se tato situace opakuje, zkuste zmenšit velikost části: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Zadejte své aktuální heslo a autorizujte tuto změnu hesla."
|
||||
"unarchiveSuccess": "Archiv úspěšně extrahován!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Menší než:",
|
||||
"largerThan": "Větší než:",
|
||||
"helpText1": "Vyhledávání probíhá po každém napsaném znaku (minimálně 3 znaky pro hledaný výraz).",
|
||||
"helpText2": "Index: Vyhledávání využívá index, který se automaticky aktualizuje v nastaveném intervalu (výchozí: 5 minut). Hledání ihned po spuštění programu může vracet neúplné výsledky.",
|
||||
"noResults": "V indexovaném vyhledávání nebyly nalezeny žádné výsledky.",
|
||||
"onlyFolders": "Pouze složky",
|
||||
"onlyFiles": "Pouze soubory",
|
||||
"showOptions": "Zobrazit možnosti",
|
||||
@@ -335,10 +335,7 @@
|
||||
"showPreviewImages": "Zobrazit náhledové obrázky",
|
||||
"showPreviewImagesDescription": "Zobrazení miniaturních náhledů výsledků vyhledávání, pokud jsou k dispozici, a zobrazení větších ikon u všech výsledků.",
|
||||
"olderThanDate": "Starší než:",
|
||||
"newerThanDate": "Novější než:",
|
||||
"helpText2": "Výsledky vyhledávání jsou založeny na indexovaných souborech, takže nově přidané soubory se mohou zobrazit až po jejich indexování.",
|
||||
"noResults": "Nebyly nalezeny žádné výsledky.",
|
||||
"helpText1": "Vyhledávání probíhá na základě každého zadaného znaku ({minSearchLength} minimálně znaků)."
|
||||
"newerThanDate": "Novější než:"
|
||||
},
|
||||
"profileSettings": {
|
||||
"preferEditorForMarkdown": "Upřednostnit editor pro Markdown soubory",
|
||||
@@ -347,6 +344,8 @@
|
||||
"deleteAfterArchiveDescription": "Pokud je povoleno, po úspěšném vytvoření/extrahování archivů dojde ke smazání zdrojových souborů",
|
||||
"hideFilesInTree": "Skrýt soubory ve stromové navigaci",
|
||||
"hideFilesInTreeDescription": "Pokud je povoleno, v postranním stromovém navigačním panelu se zobrazují pouze složky",
|
||||
"previewModelsDescription": "Zobrazit náhledy miniatur pro 3D modely, pokud je zakázáno, zobrazí se obecná ikona",
|
||||
"previewAudiosDescription": "Zobrazit náhledy miniatur pro zvuky, pokud je zakázáno, zobrazí se obecná ikona",
|
||||
"setDateFormat": "Nastavit formát data",
|
||||
"showHiddenFiles": "Zobrazit skryté soubory",
|
||||
"showQuickDownload": "Zobrazit ikonu rychlého stahování",
|
||||
@@ -364,6 +363,8 @@
|
||||
"editorQuickSave": "Zobrazení tlačítka rychlého uložení v editoru",
|
||||
"showHiddenFilesDescription": "Zobrazení skrytých souborů ve výpisu (např. .thumbnails, ProgramData), ale jsou stále ručně přístupné, pokud jsou nakonfigurovány k indexování.",
|
||||
"showQuickDownloadDescription": "Zobrazení ikony stahování pro rychlý přístup ke každé položce souboru, na kterou lze kliknout a okamžitě ji stáhnout.",
|
||||
"previewImagesDescription": "Zobrazení náhledů miniatur obrázků, pokud je zakázáno, zobrazí se obecná ikona.",
|
||||
"previewVideosDescription": "Zobrazení náhledů miniatur videí, pokud je vypnuto, zobrazí se obecná ikona.",
|
||||
"editOfficeDescription": "Pokud je povolena pouze funkce office, prohlížeč/editor souborů bude zakázán pro všechny přípony souborů související s kancelářskými soubory.",
|
||||
"disableUpdateNotificationsDescription": "Zakázat banner s upozorněním na aktualizaci, který se zobrazuje uživatelům správce na postranním panelu.",
|
||||
"disableHideSidebarDescription": "Je-li tato možnost povolena, postranní panel se při náhledu nebo úpravě souborů automaticky neskryje.",
|
||||
@@ -400,10 +401,7 @@
|
||||
"popupPreviewDescription": "Při najetí na položky s miniaturami se nad uživatelským rozhraním zobrazí překryvné vyskakovací okno.",
|
||||
"thumbnailOptions": "Možnosti miniatur",
|
||||
"showThumbnails": "Zobrazení miniatur podporovaných položek",
|
||||
"showThumbnailsDescription": "Pokud je tato možnost povolena, zobrazují se ve výpisu náhledy položek, které je podporují. Vypnutím se všechny miniatury skryjí.",
|
||||
"showCopyPath": "Zobrazit kopírování cesty v kontextové nabídce",
|
||||
"showCopyPathDescription": "Zobrazení akce Kopírovat cestu v kontextové nabídce souborů a složek.",
|
||||
"previewDescription": "Zobrazit náhledy miniatur pro {filetype}, pokud je zakázáno, zobrazí se obecná ikona."
|
||||
"showThumbnailsDescription": "Pokud je tato možnost povolena, zobrazují se ve výpisu náhledy položek, které je podporují. Vypnutím se všechny miniatury skryjí."
|
||||
},
|
||||
"settings": {
|
||||
"enterPassword": "Zadejte heslo",
|
||||
@@ -489,7 +487,9 @@
|
||||
"brandingHelp": "Vzhled instance Průzkumníka souborů si můžete přizpůsobit změnou názvu, nahrazením loga, přidáním vlastních stylů a dokonce i zakázáním externích odkazů na GitHub.\nDalší informace o vlastním brandingu naleznete na stránce {0}.",
|
||||
"commandRunnerHelp": "Zde můžete nastavit příkazy, které se provedou v pojmenovaných událostech. Na každý řádek musíte napsat jeden. K dispozici budou proměnné prostředí {0} a {1}, přičemž {0} bude relativní vůči {1}. Další informace o této funkci a dostupných proměnných prostředí naleznete na {2}.",
|
||||
"loginMethods": {
|
||||
"password": "Heslo"
|
||||
"password": "Heslo",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"newUserHintSubFolder": "např. '/subfolder' - prázdný pro výchozí nastavení",
|
||||
"permissionsHelp": "Oprávnění uživatele řídí přístup k typům akcí, které může uživatel provádět. Přístup administrátora poskytuje plnou kontrolu nad aktualizací a změnou nastavení libovolného uživatele i nad mnoha nastaveními systému.",
|
||||
@@ -666,6 +666,7 @@
|
||||
"results": "Výsledky{suffix}",
|
||||
"users": "Uživatelé{suffix}",
|
||||
"photos": "Fotografie",
|
||||
"audios": "Zvuky{suffix}",
|
||||
"videos": "Videa{suffix}",
|
||||
"models": "3D modely",
|
||||
"documents": "Dokumenty{suffix}",
|
||||
@@ -751,8 +752,7 @@
|
||||
"format": "Formát{suffix}",
|
||||
"office": "Kancelář{suffix}",
|
||||
"show": "Zobrazit{suffix}",
|
||||
"divider": "Rozdělovač{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Rozdělovač{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Pravidla přístupu",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "Operace ukládání byla přerušena. Aktivní soubor aplikace ({activeFile}) neodpovídá souboru, který se pokoušíte uložit ({tryingToSave}).",
|
||||
"syncFailed": "po 5 pokusech se nepodařilo synchronizovat stav s trasou pro \"{filename}\". Přerušení nastavení editoru, aby se zabránilo poškození dat.",
|
||||
"fileSaved": "Soubor uložen!",
|
||||
"errorSavingFile": "Chyba při ukládání souboru: {error}",
|
||||
"lines": "{count} řádků",
|
||||
"words": "{count} slov",
|
||||
"chars": "{count} znaků"
|
||||
"errorSavingFile": "Chyba při ukládání souboru: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Smyčka povolena",
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "Erweiterte Optionen anzeigen",
|
||||
"showLess": "Erweiterte Optionen ausblenden",
|
||||
"goToSource": "Zum Quellort gehen",
|
||||
"goToItem": "Weiter zum Artikel",
|
||||
"copyPath": "Pfad kopieren"
|
||||
"goToItem": "Weiter zum Artikel"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Datei herunterladen",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "Archiv extrahieren",
|
||||
"unarchiveMessage": "Wählen Sie, wohin das Archiv entpackt werden soll.",
|
||||
"unarchiveDestination": "Auszug zu:",
|
||||
"unarchiveSuccess": "Archiv erfolgreich entpackt!",
|
||||
"downloadFailed": "Chunked Download fehlgeschlagen - falls sich dies wiederholt, versuchen Sie, die Chunk-Größe zu verringern: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Geben Sie Ihr aktuelles Passwort ein, um diese Passwortänderung zu autorisieren."
|
||||
"unarchiveSuccess": "Archiv erfolgreich entpackt!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Kleiner als:",
|
||||
"largerThan": "Größer als:",
|
||||
"helpText1": "Die Suche erfolgt bei jedem Zeichen, das Sie eingeben (mindestens 3 Zeichen für Suchbegriffe).",
|
||||
"helpText2": "Der Index: Die Suche verwendet den Index, der automatisch in dem konfigurierten Intervall aktualisiert wird (Standard: 5 Minuten). Eine Suche direkt nach dem Start des Programms kann zu unvollständigen Ergebnissen führen.",
|
||||
"noResults": "Keine Ergebnisse in der indizierten Suche gefunden.",
|
||||
"onlyFolders": "Nur Ordner",
|
||||
"onlyFiles": "Nur Dateien",
|
||||
"showOptions": "Optionen anzeigen",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "Vorschaubilder anzeigen",
|
||||
"showPreviewImagesDescription": "Zeigen Sie eine Miniaturvorschau für Suchergebnisse an, wenn verfügbar, und zeigen Sie größere Symbole für alle Ergebnisse an.",
|
||||
"olderThanDate": "Älter als:",
|
||||
"newerThanDate": "Neuere als:",
|
||||
"helpText2": "Die Suchergebnisse basieren auf indizierten Dateien, so dass neu hinzugefügte Dateien möglicherweise nicht angezeigt werden, bis sie indiziert sind.",
|
||||
"noResults": "Keine Ergebnisse gefunden.",
|
||||
"helpText1": "Die Suche erfolgt bei jedem Zeichen, das Sie eingeben ({minSearchLength} Zeichen Minimum)."
|
||||
"newerThanDate": "Neuere als:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "Administrator",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "Sie können das Aussehen Ihrer Dateibrowser-Instanz anpassen, indem Sie den Namen ändern, das Logo ersetzen, eigene Stile hinzufügen und sogar externe Links zu GitHub deaktivieren.\nWeitere Informationen zum benutzerdefinierten Branding finden Sie unter {0}.",
|
||||
"commandRunnerHelp": "Hier können Sie Befehle eingeben, die bei den genannten Ereignissen ausgeführt werden. Sie müssen einen pro Zeile schreiben. Die Umgebungsvariablen {0} und {1} werden verfügbar sein, wobei {0} relativ zu {1} ist. Weitere Informationen über diese Funktion und die verfügbaren Umgebungsvariablen finden Sie unter {2}.",
|
||||
"loginMethods": {
|
||||
"password": "Passwort"
|
||||
"password": "Passwort",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"newUserHintSubFolder": "z.B. '/subfolder' - leer für Standard",
|
||||
"permissionsHelp": "Die Benutzerrechte steuern den Zugriff auf die Art der Aktionen, die der Benutzer durchführen kann. Der Administrator-Zugang gibt Ihnen die volle Kontrolle über die Aktualisierung und Änderung der Benutzereinstellungen sowie vieler Systemeinstellungen.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "Ergebnisse{suffix}",
|
||||
"users": "Benutzer{suffix}",
|
||||
"photos": "Fotos",
|
||||
"audios": "Audios{suffix}",
|
||||
"videos": "Videos{suffix}",
|
||||
"models": "3D-Modelle",
|
||||
"documents": "Dokumente{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "Format{suffix}",
|
||||
"office": "Büro{suffix}",
|
||||
"show": "anzeigen{suffix}",
|
||||
"divider": "Teiler{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Teiler{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Zugangsregeln",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "Wenn aktiviert, werden die Quelldateien nach erfolgreicher Erstellung/Extraktion von Archiven gelöscht",
|
||||
"hideFilesInTree": "Dateien in der Baumnavigation ausblenden",
|
||||
"hideFilesInTreeDescription": "Wenn aktiviert, werden in der Seitenleisten-Baumnavigation nur Ordner angezeigt",
|
||||
"previewModelsDescription": "Vorschaubilder für 3D-Modelle anzeigen, bei Deaktivierung wird ein generisches Symbol angezeigt",
|
||||
"previewAudiosDescription": "Vorschaubilder für Audiodateien anzeigen, bei Deaktivierung wird ein generisches Symbol angezeigt",
|
||||
"setDateFormat": "Genaues Datum statt relativer Zeitangaben verwenden",
|
||||
"showHiddenFiles": "Versteckte Dateien anzeigen",
|
||||
"showHiddenFilesDescription": "Versteckte Dateien in der Auflistung anzeigen (z.B. .thumbnails, ProgramData), aber sie sind immer noch manuell zugänglich, wenn sie für die Indizierung konfiguriert sind.",
|
||||
"showQuickDownload": "Download-Symbol für schnellen Zugriff anzeigen",
|
||||
"showQuickDownloadDescription": "Zeigen Sie ein Download-Symbol für den schnellen Zugriff auf jedes Dateielement an, das zum sofortigen Herunterladen angeklickt werden kann.",
|
||||
"previewImagesDescription": "Thumbnail-Vorschau für Bilder anzeigen, bei Deaktivierung wird ein allgemeines Symbol angezeigt.",
|
||||
"previewVideosDescription": "Thumbnail-Vorschau für Videos anzeigen, bei Deaktivierung wird ein allgemeines Symbol angezeigt.",
|
||||
"editOffice": "Anzeigen und Bearbeiten von Office-Dateien mit OnlyOffice",
|
||||
"editOfficeDescription": "Wenn nur Office aktiviert ist, wird der Dateibetrachter/-editor für alle Dateierweiterungen deaktiviert, die mit Office-Dateien zusammenhängen.",
|
||||
"filePreviewOptions": "Optionen für die Dateivorschau",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "Ein Overlay-Pop-up-Fenster wird über der Benutzeroberfläche angezeigt, wenn der Mauszeiger über Elemente mit Miniaturansichten bewegt wird",
|
||||
"thumbnailOptions": "Thumbnail-Optionen",
|
||||
"showThumbnails": "Miniaturansichten für unterstützte Artikel anzeigen",
|
||||
"showThumbnailsDescription": "Wenn diese Option aktiviert ist, werden Miniaturansichten in der Auflistung für Artikel angezeigt, die sie unterstützen. Schalten Sie die Option aus, um alle Miniaturansichten auszublenden.",
|
||||
"showCopyPath": "Pfad kopieren im Kontextmenü anzeigen",
|
||||
"showCopyPathDescription": "Zeigen Sie eine Aktion \"Pfad kopieren\" im Kontextmenü von Dateien und Ordnern an.",
|
||||
"previewDescription": "Vorschaubilder für {filetype} anzeigen, bei Deaktivierung wird ein allgemeines Symbol angezeigt."
|
||||
"showThumbnailsDescription": "Wenn diese Option aktiviert ist, werden Miniaturansichten in der Auflistung für Artikel angezeigt, die sie unterstützen. Schalten Sie die Option aus, um alle Miniaturansichten auszublenden."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "Der Editor konnte nicht initialisiert werden. Bitte neu laden.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "Der Speichervorgang wurde abgebrochen. Die aktive Datei der Anwendung ({activeFile}) stimmt nicht mit der Datei überein, die Sie zu speichern versuchen ({tryingToSave}).",
|
||||
"syncFailed": "Nach 5 Versuchen ist es nicht gelungen, den Status mit der Route für \"{filename}\" zu synchronisieren. Abbruch der Editor-Einrichtung, um Datenbeschädigung zu vermeiden.",
|
||||
"fileSaved": "Datei gespeichert!",
|
||||
"errorSavingFile": "Fehler beim Speichern der Datei: {error}",
|
||||
"lines": "{count} Zeilen",
|
||||
"words": "{count} Wörter",
|
||||
"chars": "{count} Zeichen"
|
||||
"errorSavingFile": "Fehler beim Speichern der Datei: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Wiederholung aktiviert",
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "Εμφάνιση προηγμένων επιλογών",
|
||||
"showLess": "Απόκρυψη προηγμένων επιλογών",
|
||||
"goToSource": "Πηγαίνετε στην τοποθεσία της πηγής",
|
||||
"goToItem": "Πηγαίνετε στο στοιχείο",
|
||||
"copyPath": "Αντιγραφή διαδρομής"
|
||||
"goToItem": "Πηγαίνετε στο στοιχείο"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Λήψη αρχείου",
|
||||
@@ -244,13 +243,14 @@
|
||||
"unarchive": "Απόσπασμα αρχείου",
|
||||
"unarchiveMessage": "Επιλέξτε πού θα εξαγάγετε το αρχείο.",
|
||||
"unarchiveDestination": "Απόσπασμα προς:",
|
||||
"unarchiveSuccess": "Το αρχείο εξήχθη με επιτυχία!",
|
||||
"downloadFailed": "Αποτυχημένη λήψη σε τεμάχια - αν αυτό επαναληφθεί, δοκιμάστε να μειώσετε το μέγεθος των τεμαχίων: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Εισάγετε τον τρέχοντα κωδικό πρόσβασής σας για να εγκρίνετε αυτή την αλλαγή κωδικού πρόσβασης."
|
||||
"unarchiveSuccess": "Το αρχείο εξήχθη με επιτυχία!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Μικρότερο από:",
|
||||
"largerThan": "Μεγαλύτερο από:",
|
||||
"helpText1": "Η αναζήτηση πραγματοποιείται σε κάθε χαρακτήρα που πληκτρολογείτε (ελάχιστο όριο 3 χαρακτήρων για τους όρους αναζήτησης).",
|
||||
"helpText2": "Ο δείκτης: Η αναζήτηση χρησιμοποιεί το ευρετήριο το οποίο ενημερώνεται αυτόματα στο ρυθμισμένο διάστημα (προεπιλογή: 5 λεπτά). Η αναζήτηση όταν το πρόγραμμα έχει μόλις ξεκινήσει μπορεί να οδηγήσει σε ελλιπή αποτελέσματα.",
|
||||
"noResults": "Δεν βρέθηκαν αποτελέσματα στην ευρετηριασμένη αναζήτηση.",
|
||||
"onlyFolders": "Μόνο φάκελοι",
|
||||
"onlyFiles": "Μόνο αρχεία",
|
||||
"showOptions": "Εμφάνιση επιλογών",
|
||||
@@ -260,10 +260,7 @@
|
||||
"showPreviewImages": "Εμφάνιση εικόνων προεπισκόπησης",
|
||||
"showPreviewImagesDescription": "Εμφάνιση προεπισκοπήσεων μικρογραφιών για τα αποτελέσματα αναζήτησης, όταν είναι διαθέσιμα, και εμφάνιση μεγαλύτερων εικονιδίων για όλα τα αποτελέσματα.",
|
||||
"olderThanDate": "Μεγαλύτερη από:",
|
||||
"newerThanDate": "Νεότερο από:",
|
||||
"helpText2": "Τα αποτελέσματα της αναζήτησης βασίζονται στα ευρετηριασμένα αρχεία, οπότε τα πρόσφατα προστιθέμενα αρχεία ενδέχεται να μην εμφανίζονται μέχρι να ευρετηριαστούν.",
|
||||
"noResults": "Δεν βρέθηκαν αποτελέσματα.",
|
||||
"helpText1": "Η αναζήτηση πραγματοποιείται σε κάθε χαρακτήρα που πληκτρολογείτε ({minSearchLength} ελάχιστος χαρακτήρας)."
|
||||
"newerThanDate": "Νεότερο από:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "Διαχειριστής",
|
||||
@@ -350,7 +347,9 @@
|
||||
"brandingHelp": "Μπορείτε να προσαρμόσετε την εμφάνιση και την αίσθηση του File Browser αλλάζοντας το όνομά του, αντικαθιστώντας το λογότυπο, προσθέτοντας προσαρμοσμένα στυλ και ακόμη και απενεργοποιώντας τους εξωτερικούς συνδέσμους προς το GitHub.\nΓια περισσότερες πληροφορίες σχετικά με την προσαρμοσμένη επωνυμία, ανατρέξτε στη διεύθυνση {0}.",
|
||||
"commandRunnerHelp": "Εδώ μπορείτε να ορίσετε τις εντολές που εκτελούνται στα συμβάντα που ονομάζονται. Πρέπει να γράψετε μία ανά γραμμή. Οι περιβαλλοντικές μεταβλητές {0} και {1} θα είναι διαθέσιμες, ενώ η {0} θα είναι σχετική με την {1}. Για περισσότερες πληροφορίες σχετικά με αυτή τη λειτουργία και τις διαθέσιμες μεταβλητές περιβάλλοντος, διαβάστε το {2}.",
|
||||
"loginMethods": {
|
||||
"password": "Κωδικός πρόσβασης"
|
||||
"password": "Κωδικός πρόσβασης",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Πληρεξούσιος"
|
||||
},
|
||||
"newUserHintSubFolder": "π.χ. '/subfolder' - κενό για προεπιλογή",
|
||||
"permissionsHelp": "Τα δικαιώματα χρήστη ελέγχουν την πρόσβαση σε είδος ενεργειών που μπορεί να εκτελέσει ο χρήστης. Η πρόσβαση διαχειριστή παρέχει πλήρη έλεγχο για την ενημέρωση και την αλλαγή των ρυθμίσεων οποιουδήποτε χρήστη, καθώς και πολλών ρυθμίσεων του συστήματος.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "Αποτελέσματα{suffix}",
|
||||
"users": "Χρήστες{suffix}",
|
||||
"photos": "Φωτογραφίες",
|
||||
"audios": "Ήχοι{suffix}",
|
||||
"videos": "Βίντεο{suffix}",
|
||||
"models": "Τρισδιάστατα μοντέλα",
|
||||
"documents": "Έγγραφα{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "Μορφή{suffix}",
|
||||
"office": "Γραφείο{suffix}",
|
||||
"show": "Εμφάνιση{suffix}",
|
||||
"divider": "Διαχωριστικό{suffix}",
|
||||
"audio": "Ήχος{suffix}"
|
||||
"divider": "Διαχωριστικό{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Κανόνες πρόσβασης",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "Όταν ενεργοποιηθεί, θα διαγραφούν τα αρχεία προέλευσης μετά την επιτυχή δημιουργία/εξαγωγή αρχείων",
|
||||
"hideFilesInTree": "Απόκρυψη αρχείων στην πλοήγηση δέντρου",
|
||||
"hideFilesInTreeDescription": "Όταν ενεργοποιηθεί, μόνο οι φάκελοι εμφανίζονται στην πλευρική δενδρική πλοήγηση",
|
||||
"previewModelsDescription": "Εμφάνιση μικρογραφιών για τρισδιάστατα μοντέλα, θα εμφανιστεί γενικό εικονίδιο εάν είναι απενεργοποιημένο",
|
||||
"previewAudiosDescription": "Εμφάνιση μικρογραφιών για ήχους, θα εμφανιστεί γενικό εικονίδιο εάν είναι απενεργοποιημένο",
|
||||
"setDateFormat": "Ορισμός ακριβούς μορφής ημερομηνίας",
|
||||
"showHiddenFiles": "Εμφάνιση κρυφών αρχείων",
|
||||
"showHiddenFilesDescription": "Εμφάνιση κρυμμένων αρχείων στην καταχώριση (π.χ. .thumbnails, ProgramData), αλλά εξακολουθούν να είναι προσβάσιμα χειροκίνητα, εάν έχουν ρυθμιστεί για ευρετηρίαση.",
|
||||
"showQuickDownload": "Εμφάνιση εικονιδίου λήψης για γρήγορη πρόσβαση",
|
||||
"showQuickDownloadDescription": "Εμφάνιση εικονιδίου λήψης για γρήγορη πρόσβαση σε κάθε στοιχείο αρχείου που μπορεί να πατηθεί για άμεση λήψη.",
|
||||
"previewImagesDescription": "Εμφάνιση προεπισκοπήσεων μικρογραφιών για εικόνες, θα εμφανίζει γενικό εικονίδιο αν είναι απενεργοποιημένο.",
|
||||
"previewVideosDescription": "Εμφάνιση προεπισκοπήσεων μικρογραφιών για βίντεο, θα εμφανίζει γενικό εικονίδιο αν είναι απενεργοποιημένο.",
|
||||
"editOffice": "Προβολή και επεξεργασία αρχείων γραφείου με το OnlyOffice",
|
||||
"editOfficeDescription": "Όταν είναι ενεργοποιημένο μόνο το office, η προβολή/επεξεργασία αρχείων θα είναι απενεργοποιημένη για όλες τις επεκτάσεις αρχείων που σχετίζονται με αρχεία office.",
|
||||
"filePreviewOptions": "Επιλογές προεπισκόπησης αρχείων",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "Ένα αναδυόμενο παράθυρο επικάλυψης θα εμφανίζεται πάνω από το UI όταν περνάτε το ποντίκι πάνω από αντικείμενα με μικρογραφίες.",
|
||||
"thumbnailOptions": "Επιλογές μικρογραφιών",
|
||||
"showThumbnails": "Εμφάνιση μικρογραφιών για υποστηριζόμενα στοιχεία",
|
||||
"showThumbnailsDescription": "Όταν είναι ενεργοποιημένη, οι μικρογραφίες εμφανίζονται στην καταχώριση για τα στοιχεία που τις υποστηρίζουν. Απενεργοποιήστε την επιλογή για να αποκρύψετε όλες τις μικρογραφίες.",
|
||||
"showCopyPath": "Εμφάνιση της διαδρομής αντιγραφής στο μενού περιβάλλοντος",
|
||||
"showCopyPathDescription": "Εμφάνιση της ενέργειας Αντιγραφή διαδρομής στο μενού περιβάλλοντος αρχείων και φακέλων.",
|
||||
"previewDescription": "Εμφάνιση προεπισκοπήσεων μικρογραφιών για το {filetype}, θα εμφανίζει γενικό εικονίδιο εάν είναι απενεργοποιημένο."
|
||||
"showThumbnailsDescription": "Όταν είναι ενεργοποιημένη, οι μικρογραφίες εμφανίζονται στην καταχώριση για τα στοιχεία που τις υποστηρίζουν. Απενεργοποιήστε την επιλογή για να αποκρύψετε όλες τις μικρογραφίες."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "Απέτυχε η αρχικοποίηση του συντάκτη. Παρακαλούμε επαναφορτώστε.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "Διακοπή της λειτουργίας αποθήκευσης. Το ενεργό αρχείο της εφαρμογής ({activeFile}) δεν ταιριάζει με το αρχείο που προσπαθείτε να αποθηκεύσετε ({tryingToSave}).",
|
||||
"syncFailed": "απέτυχε να συγχρονίσει την κατάσταση με τη διαδρομή για το \"{filename}\" μετά από 5 προσπάθειες. Διακοπή της ρύθμισης του συντάκτη για να αποφευχθεί η αλλοίωση των δεδομένων.",
|
||||
"fileSaved": "Το αρχείο αποθηκεύτηκε!",
|
||||
"errorSavingFile": "Σφάλμα αποθήκευσης αρχείου: {error}",
|
||||
"lines": "{count} γραμμές",
|
||||
"words": "{count} λέξεις",
|
||||
"chars": "{count} χαρακτήρες"
|
||||
"errorSavingFile": "Σφάλμα αποθήκευσης αρχείου: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Ενεργή επανάληψη",
|
||||
|
||||
+20
-23
@@ -57,7 +57,7 @@
|
||||
"scopes": "Scopes{suffix}",
|
||||
"commands": "Commands{suffix}",
|
||||
"photos": "Photos",
|
||||
"audio": "Audio{suffix}",
|
||||
"audios": "Audios{suffix}",
|
||||
"videos": "Videos{suffix}",
|
||||
"documents": "Documents{suffix}",
|
||||
"archives": "Archives{suffix}",
|
||||
@@ -134,7 +134,6 @@
|
||||
"copySuccess": "Copied to clipboard!",
|
||||
"generateNewOtp": "Reset and generate new two-factor code",
|
||||
"copyFile": "Copy file",
|
||||
"copyPath": "Copy Path",
|
||||
"copyToClipboard": "Copy to clipboard",
|
||||
"copyDownloadLinkToClipboard": "Copy download link to clipboard",
|
||||
"moveFile": "Move file",
|
||||
@@ -378,7 +377,6 @@
|
||||
"displayName": "Display Name:",
|
||||
"download": "Download files",
|
||||
"downloadMessage": "Choose the format you want to download.",
|
||||
"downloadFailed": "Chunked download failed - if this repeats, try reducing the chunk size: {message}",
|
||||
"archive": "Create archive",
|
||||
"archiveMessage": "Create an archive on the server from the selected items.",
|
||||
"archiveDestination": "Choose destination folder (then enter archive name below):",
|
||||
@@ -451,8 +449,7 @@
|
||||
"halloweenBody": "The Halloween theme has been applied. You can disable it if you don't like it, or permanently disable it in profile settings by selecting any other theme.",
|
||||
"moveFailed": "Move failed",
|
||||
"operationFailed": "Operation failed",
|
||||
"partialSuccess": "Some operations failed: {succeeded} succeeded, {failed} failed",
|
||||
"confirmPasswordToChangeUserPassword": "Enter your current password to authorize this password change."
|
||||
"partialSuccess": "Some operations failed: {succeeded} succeeded, {failed} failed"
|
||||
},
|
||||
"search": {
|
||||
"searchContext": "Search Context: {context}",
|
||||
@@ -461,15 +458,15 @@
|
||||
"showOptions": "Show Options",
|
||||
"notEnoughCharacters": "Not enough characters to search (min {minSearchLength})",
|
||||
"typeToSearch": "Start typing {minSearchLength} or more characters to begin searching.",
|
||||
"noResults": "No results found.",
|
||||
"noResults": "No results found in indexed search.",
|
||||
"smallerThan": "Smaller than:",
|
||||
"largerThan": "Larger than:",
|
||||
"olderThanDate": "Older than:",
|
||||
"newerThanDate": "Newer than:",
|
||||
"showPreviewImages": "Show preview images",
|
||||
"showPreviewImagesDescription": "Display thumbnail previews for search results when available, and show larger icons for all results.",
|
||||
"helpText1": "Search occurs on each character you type ({minSearchLength} character minimum).",
|
||||
"helpText2": "Search results are based on indexed files, so newly added files may not appear until they are indexed."
|
||||
"helpText1": "Search occurs on each character you type (3 character minimum for search terms).",
|
||||
"helpText2": "The index: Search utilizes the index which automatically gets updated on the configured interval (default: 5 minutes). Searching when the program has just started may result in incomplete results."
|
||||
},
|
||||
"profileSettings": {
|
||||
"preferEditorForMarkdown": "Prefer editor first for Markdown files",
|
||||
@@ -493,7 +490,10 @@
|
||||
"showHiddenFilesDescription": "Show hidden files in listing (e.g. .thumbnails, ProgramData), but they are still manually accessible if configured to be indexed.",
|
||||
"showQuickDownload": "Show download icon for quick access",
|
||||
"showQuickDownloadDescription": "Show download icon for quick access on each file item that can be clicked to download instantly.",
|
||||
"previewDescription": "Show thumbnail previews for {filetype}, will show generic icon if disabled.",
|
||||
"previewImagesDescription": "Show thumbnail previews for images, will show generic icon if disabled.",
|
||||
"previewVideosDescription": "Show thumbnail previews for videos, will show generic icon if disabled.",
|
||||
"previewAudiosDescription": "Show thumbnail previews for audios, will show generic icon if disabled.",
|
||||
"previewModelsDescription": "Show thumbnail previews for 3D Models, will show generic icon if disabled.",
|
||||
"previewMotion": "Motion previews",
|
||||
"previewMotionVideosDescription": "Motion preview is the animated popup preview that cycles through the frames of the video or multiple images for a folder",
|
||||
"editOffice": "View and edit office files with OnlyOffice",
|
||||
@@ -514,8 +514,6 @@
|
||||
"disableSearchOptions": "Disable search options",
|
||||
"disableSearchOptionsDescription": "Disable the search options that show up on the sidebar.",
|
||||
"hideSidebarFileActions": "Hide file actions button in sidebar",
|
||||
"showCopyPath": "Show Copy Path in context menu",
|
||||
"showCopyPathDescription": "Show a Copy Path action in the file and folder context menu.",
|
||||
"deleteWithoutConfirming": "Delete files without confirmation prompt",
|
||||
"deleteWithoutConfirmingDescription": "Delete files without confirmation prompt. This will only work if the file is a media file.",
|
||||
"editorViewerOptions": "Editor and viewer options",
|
||||
@@ -547,7 +545,9 @@
|
||||
"passwordsDoNotMatch": "Passwords do not match",
|
||||
"loginMethod": "Login method",
|
||||
"loginMethods": {
|
||||
"password": "Password"
|
||||
"password": "Password",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"loginMethodDescription": "allowed login method for the user.",
|
||||
"modifyOtherUser": "Modify user:",
|
||||
@@ -786,16 +786,13 @@
|
||||
"orange": "orange"
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "Failed to initialize the editor. Please reload.",
|
||||
"saveFailed": "Failed to save file. Please try again.",
|
||||
"saveAborted": "Save aborted. The file name does not match the active file.",
|
||||
"saveAbortedMessage": "Save operation aborted. The application's active file ({activeFile}) does not match the file you are trying to save ({tryingToSave}).",
|
||||
"syncFailed": "failed to sync state with the route for \"{filename}\" after 5 attempts. Aborting editor setup to prevent data corruption.",
|
||||
"fileSaved": "File saved!",
|
||||
"errorSavingFile": "Error saving file: {error}",
|
||||
"lines": "{count} lines",
|
||||
"words": "{count} words",
|
||||
"chars": "{count} characters"
|
||||
"uninitialized":"Failed to initialize the editor. Please reload.",
|
||||
"saveFailed":"Failed to save file. Please try again.",
|
||||
"saveAborted":"Save aborted. The file name does not match the active file.",
|
||||
"saveAbortedMessage":"Save operation aborted. The application's active file ({activeFile}) does not match the file you are trying to save ({tryingToSave}).",
|
||||
"syncFailed":"failed to sync state with the route for \"{filename}\" after 5 attempts. Aborting editor setup to prevent data corruption.",
|
||||
"fileSaved":"File saved!",
|
||||
"errorSavingFile":"Error saving file: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Loop Enabled",
|
||||
@@ -944,4 +941,4 @@
|
||||
"editorSuccess": "Editor Initialization - Success! All steps completed.",
|
||||
"setupError": "Setup Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
+128
-131
@@ -4,18 +4,18 @@
|
||||
"copyFile": "Copiar archivo",
|
||||
"copyToClipboard": "Copiar al portapapeles",
|
||||
"moveFile": "Mover archivo",
|
||||
"permalink": "Enlace sin expiración",
|
||||
"permalink": "Enlace permanente",
|
||||
"reportIssue": "Reportar problema",
|
||||
"selectMultiple": "Selección múltiple",
|
||||
"shell": "Presiona Enter para buscar...",
|
||||
"switchView": "Cambiar vista",
|
||||
"switchView": "Cambiar modo de visualización",
|
||||
"toggleSidebar": "Cambiar visibilidad del panel lateral",
|
||||
"copyDownloadLinkToClipboard": "Copiar enlace de descarga",
|
||||
"generateNewOtp": "Generar nuevo código de dos factores (2FA)",
|
||||
"pauseAll": "Pausar todo",
|
||||
"resumeAll": "Reanudar todo",
|
||||
"clearCompleted": "Limpiar completados",
|
||||
"openParentFolder": "Abrir carpeta contenedora",
|
||||
"openParentFolder": "Abrir carpeta principal",
|
||||
"selectedCount": "Número de elementos seleccionados para realizar una acción",
|
||||
"listView": "Lista",
|
||||
"compactView": "Compacto",
|
||||
@@ -25,16 +25,15 @@
|
||||
"uploadFolder": "Subir carpeta",
|
||||
"openUploadViewer": "Abrir gestor de subidas",
|
||||
"selectAll": "Seleccionar todo",
|
||||
"discardAndExit": "Salir sin guardar",
|
||||
"discardAndExit": "Descartar y salir",
|
||||
"saveAndExit": "Guardar y salir",
|
||||
"keepEditing": "Seguir editando",
|
||||
"closeAnyway": "Cerrar de todos modos",
|
||||
"watchFile": "Ver en tiempo real",
|
||||
"watchFile": "Ver archivo",
|
||||
"showMore": "Mostrar opciones avanzadas",
|
||||
"showLess": "Ocultar opciones avanzadas",
|
||||
"goToSource": "Ir al origen",
|
||||
"goToItem": "Abrir",
|
||||
"copyPath": "Copiar ruta"
|
||||
"goToSource": "Ir a la ubicación de origen",
|
||||
"goToItem": "Ir al artículo"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Descargar archivo",
|
||||
@@ -46,8 +45,8 @@
|
||||
"internal": "Error interno :(",
|
||||
"notFound": "No se encontró el directorio",
|
||||
"connection": "No se puede conectar al servidor.",
|
||||
"shareNotFound": "No pudimos encontrar lo que buscas, quizá enlace expiró",
|
||||
"failedToConnectToServer": "No se pudo conectar con el servidor"
|
||||
"shareNotFound": "No se encuentró lo que buscas, tal vez el enlace expiró.",
|
||||
"failedToConnectToServer": "No se ha podido conectar con el servidor, ¿Sigue funcionando?"
|
||||
},
|
||||
"files": {
|
||||
"closePreview": "Cerrar vista previa",
|
||||
@@ -57,7 +56,7 @@
|
||||
"sortByName": "Ordenar por nombre",
|
||||
"sortBySize": "Ordenar por tamaño",
|
||||
"noPreview": "Vista previa no disponible",
|
||||
"noDownloadAccess": "La descarga no está disponible",
|
||||
"noDownloadAccess": "La descarga no está disponible.",
|
||||
"itemSelected": "elemento seleccionado",
|
||||
"itemsSelected": "elementos seleccionados",
|
||||
"myFiles": "Mis archivos{suffix}",
|
||||
@@ -67,15 +66,15 @@
|
||||
"sortByDuration": "Ordenar por duración",
|
||||
"sameFolder": "No se puede mover a la misma carpeta",
|
||||
"cannotAccesDir": "No se puede acceder al directorio",
|
||||
"lonely": "No hay nada aquí..."
|
||||
"lonely": "Nada que mostrar aquí..."
|
||||
},
|
||||
"help": {
|
||||
"functionKeys": "Teclas de función",
|
||||
"mouseActions": "Acciones con el mouse",
|
||||
"mouseActions": "Acciones del mouse",
|
||||
"fileOperations": "Operaciones de Archivo",
|
||||
"click": "Selecciona un archivo o carpeta",
|
||||
"ctrl": {
|
||||
"click": "Selecciona varios archivos o carpetas (Selección multiple)",
|
||||
"click": "Selecciona varios elementos (Selección multiple)",
|
||||
"d": "Descargar elementos seleccionados",
|
||||
"b": "Mostrar/ocultar el panel lateral",
|
||||
"comma": "Ir a configuración",
|
||||
@@ -85,15 +84,15 @@
|
||||
"e": "Cambiar entre editor y Visor Markdown (en archivos .md)"
|
||||
},
|
||||
"del": "Eliminar elementos seleccionados",
|
||||
"esc": "Cancela la selección o cierra la vista actual",
|
||||
"esc": "Cancela la selección o cierra la ventana actual",
|
||||
"f2": "Cambiar nombre del archivo o carpeta",
|
||||
"f1": "Abrir ventana de ayuda",
|
||||
"description": "Aquí puedes ver todos los atajos de teclado básicos. Si quieres saber más, visita la",
|
||||
"wiki": "documentación oficial de FileBrowser Quantum.",
|
||||
"description": "Aquí puedes ver todos los atajos de teclado básicos. Para saber más, visita la",
|
||||
"slash": "Abrir panel de búsqueda",
|
||||
"marqueeSelect": "Selecciona varios archivos dando click y arrastrando el cursor del mouse",
|
||||
"wiki": "documentación oficial de FileBrowser Quantum",
|
||||
"marqueeSelect": "Selecciona archivos o carpetas con el mouse arrastrando en un espacio vacio",
|
||||
"media": {
|
||||
"title": "Reproductor Multimedia",
|
||||
"title": "Reproductor multimedia",
|
||||
"playPause": "Reproducir/Pausar",
|
||||
"seekPercentage": "Saltar del 10% al 90%",
|
||||
"seek": "Saltar 10s, atrás o adelante",
|
||||
@@ -138,7 +137,7 @@
|
||||
"loginInstead": "¿Ya tienes una cuenta?",
|
||||
"passwordConfirm": "Confirmar contraseña",
|
||||
"passwordsDontMatch": "Las contraseñas no coinciden",
|
||||
"usernameTaken": "El usuario ya existe, intenta con otro nombre",
|
||||
"usernameTaken": "Este usuario ya existe",
|
||||
"wrongCredentials": "Nombre de usuario y/o contraseña incorrectos",
|
||||
"or": "O",
|
||||
"inProgress": "Iniciando sesión...",
|
||||
@@ -147,7 +146,7 @@
|
||||
},
|
||||
"prompts": {
|
||||
"copyMessage": "Selecciona una ubicación para copiar",
|
||||
"deleteMessageSingle": "¿Estás seguro que quieres borrar este archivo?",
|
||||
"deleteMessageSingle": "¿Estás seguro que quieres eliminar este archivo?",
|
||||
"deleteTitle": "Borrar archivos",
|
||||
"displayName": "Nombre:",
|
||||
"download": "Descargar archivos",
|
||||
@@ -163,8 +162,8 @@
|
||||
"replaceMessage": "Un archivo con el mismo nombre ya existe. ¿Quieres cambiar el nombre?\n",
|
||||
"schedule": "Programar",
|
||||
"scheduleMessage": "Selecciona una fecha y hora para la publicacion:",
|
||||
"optionalPassword": "Contraseña (opcional):",
|
||||
"deleteUserMessage": "¿Estas seguro que quieres borrar este usuario?",
|
||||
"optionalPassword": "Contraseña: (opcional)",
|
||||
"deleteUserMessage": "¿Estas seguro que quieres eliminar este usuario?",
|
||||
"filesSelected": "Archivos seleccionados",
|
||||
"selected": "seleccionado",
|
||||
"deleted": "¡Borrado con éxito!",
|
||||
@@ -177,14 +176,14 @@
|
||||
"shareDescription": "Descripción de la página",
|
||||
"shareLogo": "Imagen/Logo de la página",
|
||||
"shareBanner": "Banner de la página",
|
||||
"shareFavicon": "Miniatura de la página (favicon)",
|
||||
"optionalPasswordHelp": "Si eliges una contraseña, los usuarios con los que compartas el link deberán usarla para poder ver el contenido.",
|
||||
"shareFavicon": "Mini-icono de la página (favicon)",
|
||||
"optionalPasswordHelp": "Si eliges una contraseña, los usuarios deberán introducir esa misma contraseña para ver el contenido.",
|
||||
"dragAndDrop": "Arrastra y suelta los archivos aquí",
|
||||
"completed": "Completado",
|
||||
"conflictsDetected": "Se detectaron conflictos",
|
||||
"viewMode": "Cambiar modo de vista",
|
||||
"renameMessage": "Escribe un nuevo nombre:",
|
||||
"renameMessageInvalid": "El nombre no puede tener \"/\" o \"\\\"",
|
||||
"renameMessage": "Introduce un nuevo nombre:",
|
||||
"renameMessageInvalid": "El archivo no puede tener \"/\" o \"\\\"",
|
||||
"deleteMessageMultiple": "¿Quieres borrar estos {count} archivos?",
|
||||
"deleteMessageShare": "¿Estás seguro que quieres borrar \"{path}\" de los recursos compartidos?",
|
||||
"numberDirs": "Número de carpetas {suffix}",
|
||||
@@ -195,34 +194,34 @@
|
||||
"quickJump": "Navegación rápida",
|
||||
"moveSuccess": "¡Archivos movidos con éxito!",
|
||||
"copySuccess": "¡Archivos copiados correctamente!",
|
||||
"operationInProgress": "Operación en curso, espera un momento...",
|
||||
"saveBeforeExit": "Cambios sin guardar",
|
||||
"operationInProgress": "Operación en curso, espere un momento...",
|
||||
"saveBeforeExit": "Cambios no guardados",
|
||||
"saveBeforeExitMessage": "Tienes cambios sin guardar. ¿Que quieres hacer?",
|
||||
"copyPasteConfirm": "Confirmar",
|
||||
"copyItemQuestion": "¿Quieres copiar este archivo a la nueva ubicación?",
|
||||
"moveItemQuestion": "¿Quieres mover este archivo a la nueva ubicación?",
|
||||
"destinationPath": "Nueva ubicación:",
|
||||
"closeWithActiveUploadsMessage": "Si cierras esta ventana, puede la subida de archivos sea interrumpida, también que algunos queden incompletos. ¿Que quieres hacer?",
|
||||
"closeWithActiveUploadsMessage": "Si cierras esta ventana, todos los archivos que estés subiendo se interrumpirán, y puede que algunos queden incompletos. ¿Que quieres hacer?",
|
||||
"closeWithActiveUploads": "Subida de archivos activa",
|
||||
"basicInfo": "Información básica",
|
||||
"directoryInfo": "Información del directorio",
|
||||
"additionalInfo": "Información adicional",
|
||||
"hidden": "Oculto",
|
||||
"hasPreview": "Tiene miniatura",
|
||||
"hasPreview": "Vista Previa",
|
||||
"checksums": "Sumas de control",
|
||||
"hashAlgorithm": "Algoritmo hash",
|
||||
"hashValue": "Valor Hash",
|
||||
"selectHashAlgorithm": "Selecciona un algoritmo",
|
||||
"selectHashAlgorithm": "Seleccione un algoritmo",
|
||||
"generate": "Generar",
|
||||
"errorGeneratingHash": "Hubo un error al obtener el hash",
|
||||
"errorGeneratingHash": "Hubo un error al generar el hash",
|
||||
"hashCopied": "¡Se copio el hash al portapapeles!",
|
||||
"errorCopyingHash": "Hubo un error al copiar el hash",
|
||||
"token": "Token",
|
||||
"onlyOfficeId": "OnlyOffice ID",
|
||||
"firstLoadTitle": "¡Bienvenido a FileBrowser Quantum!",
|
||||
"halloweenTitle": "¡Feliz Halloween!",
|
||||
"halloweenBody": "¡Se aplicó el tema de Halloween! Puedes desactivarlo si no te gusta (temporal o permanentemente) en los ajustes seleccionando cualquier otro tema.",
|
||||
"firstLoadBody": "Se creó una nueva base de datos al iniciar. Si esto no es lo que esperabas, aseguráte de que en tu configuración (config.yaml) tienes una ruta para la base de datos en `server.database`, y verifica si existe. Si usas Docker, la ubicación de la base de datos se encuentra en `./data/database.db`.",
|
||||
"halloweenBody": "Se ha aplicado el tema de Halloween. Puedes desactivarlo si no te gusta, o desactivarlo permanentemente en los ajustes del perfil seleccionando cualquier otro tema.",
|
||||
"firstLoadBody": "Se acabó de crear una nueva base de datos al iniciar. Si esto no es lo que esperabas, por favor, verifica si tu archivo de configuración tiene una entrada para la ruta de la base de datos: `server.database` y aseguráte de que existe. Si usas Docker, la ruta de la base de datos puede ser `./data/database.db` o `./database.db`.",
|
||||
"selectPath": "Seleccionar ruta",
|
||||
"renameSuccess": "El cambio de nombre se ha realizado correctamente",
|
||||
"newFileSuccess": "¡Archivo creado con éxito!",
|
||||
@@ -230,54 +229,52 @@
|
||||
"copyToClipboardFailed": "Hubo un error al copiar en el portapapeles",
|
||||
"moveFailed": "Error al mover",
|
||||
"operationFailed": "Operación fallida",
|
||||
"partialSuccess": "Algunas acciones fallaron: {succeeded} se completaron, y {failed} fallaron",
|
||||
"renameFailed": "Error al cambiar de nombre",
|
||||
"archive": "Comprimir",
|
||||
"archiveMessage": "Crea un archivo comprimido en el servidor con los elementos que hayas seleccionado",
|
||||
"archiveDestination": "Elije la carpeta de destino:",
|
||||
"archiveName": "Nombre del archivo comprimido (por defecto: 'archive'):",
|
||||
"partialSuccess": "Algunas operaciones fallaron: {succeeded} tuvo éxito, {failed} falló",
|
||||
"renameFailed": "Error al renombrar elemento",
|
||||
"archive": "Crear archivo",
|
||||
"archiveMessage": "Crea un archivo en el servidor a partir de los elementos seleccionados.",
|
||||
"archiveDestination": "Elija la carpeta de destino (a continuación, introduzca el nombre del archivo):",
|
||||
"archiveName": "Nombre del archivo (por defecto archive.zip):",
|
||||
"archiveCompression": "Nivel de compresión (0-9):",
|
||||
"archiveSuccess": "¡Se creó el archivo comprimido!",
|
||||
"unarchive": "Extraer",
|
||||
"unarchiveMessage": "Elije dónde quieres extraer el archivo:",
|
||||
"archiveSuccess": "¡Archivo creado con éxito!",
|
||||
"unarchive": "Extraer archivo",
|
||||
"unarchiveMessage": "Elija dónde extraer el archivo.",
|
||||
"unarchiveDestination": "Extraer a:",
|
||||
"unarchiveSuccess": "¡Archivo extraído con éxito!",
|
||||
"downloadFailed": "Fallo en la descarga por trozos. Si se repite, intente reducir el tamaño de los trozos: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Introduzca su contraseña actual para autorizar este cambio de contraseña."
|
||||
"unarchiveSuccess": "¡Archivo extraído con éxito!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Menor que:",
|
||||
"largerThan": "Mayor que:",
|
||||
"helpText1": "La busqueda se realiza por cada letra introducida (empezando de {minSearchLength})",
|
||||
"helpText2": "El índice se actualiza automáticamente cada 5 min por defecto. Si se interrumpe pueden haber errores",
|
||||
"onlyFolders": "Solo carpetas",
|
||||
"onlyFiles": "Solo archivos",
|
||||
"showOptions": "Mostrar opciones",
|
||||
"noResults": "No pudimos encontrar lo que buscas...",
|
||||
"searchContext": "Buscar en: {context}",
|
||||
"notEnoughCharacters": "Escribe al menos {minSearchLength} letras para empezar a buscar",
|
||||
"typeToSearch": "Escribe {minSearchLength} letras o más para iniciar la búsqueda",
|
||||
"showPreviewImages": "Mostrar miniaturas",
|
||||
"showPreviewImagesDescription": "Mostrar miniaturas para los resultados de búsqueda - También hará los iconos más grandes.",
|
||||
"olderThanDate": "Más viejo que:",
|
||||
"newerThanDate": "Más nuevo que:",
|
||||
"helpText2": "Los resultados de la búsqueda se basan en los archivos indexados, por lo que es posible que los archivos recién añadidos no aparezcan hasta que se indexen.",
|
||||
"noResults": "No se han encontrado resultados.",
|
||||
"helpText1": "La búsqueda se produce en cada carácter que escriba ({minSearchLength} carácter mínimo)."
|
||||
"showPreviewImages": "Mostrar imágenes de previsualización",
|
||||
"showPreviewImagesDescription": "Mostrar vistas previas en miniatura de los resultados de búsqueda cuando estén disponibles, y mostrar iconos más grandes para todos los resultados.",
|
||||
"olderThanDate": "Mayor que:",
|
||||
"newerThanDate": "Más nuevo que:"
|
||||
},
|
||||
"settings": {
|
||||
"scopes": "Fuentes a las que el usuario tendrá acceso:",
|
||||
"scopes": "Fuentes y carpetas que el usuario tendrá acceso",
|
||||
"administrator": "Administrador",
|
||||
"allowCommands": "Permitir comandos",
|
||||
"allowEdit": "Editar, borrar y cambiar nombres de archivos o carpetas",
|
||||
"allowNew": "Crear nuevos archivos y carpetas",
|
||||
"allowPublish": "Publicar posts/páginas",
|
||||
"allowSignup": "Permitir que nuevos usuarios se registren",
|
||||
"avoidChanges": "(dejalo en blanco para evitar cambios)",
|
||||
"allowSignup": "Permitir el registro de nuevos usuarios",
|
||||
"avoidChanges": "(dejar en blanco para evitar cambios)",
|
||||
"brandingDirectoryPath": "Ruta del directorio con los archivos que usarás para personalizar FileBrowser Quantum",
|
||||
"changePassword": "Cambiar contraseña",
|
||||
"commandRunner": "Ejecutor de comandos",
|
||||
"commandsUpdated": "¡Comandos actualizados!",
|
||||
"createUserDir": "Crea automaticamente una carpeta cuando se agrega un nuevo usuario",
|
||||
"userHomeBasePath": "Ruta base para la carpeta personal del usuario",
|
||||
"userScopeGenerationPlaceholder": "La carpeta se generará automáticamente",
|
||||
"userScopeGenerationPlaceholder": "El entorno se generará automáticamente",
|
||||
"createUserHomeDirectory": "Crea una carpeta personal para cada usuario",
|
||||
"customStylesheet": "Hoja de estilos personalizada",
|
||||
"defaultUserDescription": "Configuración por defecto nuevos usuarios",
|
||||
@@ -304,7 +301,7 @@
|
||||
"create": "Crear archivos",
|
||||
"delete": "Eliminar archivos",
|
||||
"download": "Descargar archivos",
|
||||
"api": "Crear y gestionar tokens API de larga duración"
|
||||
"api": "Crear y gestionar tokens de API de larga duración"
|
||||
},
|
||||
"permissions-name": "Permisos",
|
||||
"profileSettings": "Ajustes del perfil",
|
||||
@@ -321,24 +318,26 @@
|
||||
"userDeleted": "¡Usuario eliminado!",
|
||||
"userManagement": "Gestión de usuarios",
|
||||
"userUpdated": "¡Usuario actualizado!",
|
||||
"modifyOtherUser": "Modificando usuario:",
|
||||
"modifyOtherUser": "Modificar usuario:",
|
||||
"modifyCurrentUser": "Modificar usuario actual",
|
||||
"themeColor": "Color de acento",
|
||||
"themeColor": "Color del tema",
|
||||
"listingOptions": "Opciones de listado",
|
||||
"emptyGlobal": "Actualmente no hay configuracion global, edita el archivo YAML para establecer las configuraciones del sistema",
|
||||
"UserManagement": "Gestión de usuarios",
|
||||
"tusUploads": "Subida fragmentada",
|
||||
"tusUploadsHelp": "FileBrowser Quantum permite subir archivos en fragmentos, lo que permite que sean subidos de manera eficiente, fiable, y que sea reanudable incluso si tu internet es inestable",
|
||||
"tusUploadsChunkSize": "Tamaño máximo del fragmento del archivo a subir (en MB). Por ejemplo: 10 MB, 1 GB, etc",
|
||||
"tusUploadsRetryCount": "Número de reintentos por si falla la subida de algún archivo",
|
||||
"tusUploadsChunkSize": "Tamaño máximo del fragmento del archivo a subir. Puedes escribir un número en bytes o una cadena como 10 MB, 1 GB, etc",
|
||||
"tusUploadsRetryCount": "Número de reintentos. Por si falla la subida de algún archivo",
|
||||
"loginMethodDescription": "Método de inicio de sesión",
|
||||
"userNotAdmin": "El usuario no es administrador",
|
||||
"enterPassword": "Escribe una contraseña",
|
||||
"enterPasswordAgain": "Vuelva a escribir la contraseña",
|
||||
"enterPassword": "Ingrese una contraseña",
|
||||
"enterPasswordAgain": "Vuelva a ingresar la contraseña",
|
||||
"passwordsDoNotMatch": "Las contraseñas no coinciden",
|
||||
"loginMethod": "Método de inicio de sesión",
|
||||
"loginMethods": {
|
||||
"password": "Contraseña"
|
||||
"password": "Contraseña",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"shareSettings": "Recursos compartidos",
|
||||
"adminOptions": "Opciones de administrador",
|
||||
@@ -378,27 +377,27 @@
|
||||
"linksUpdateFailed": "Hubo un error al actualizar los accesos directos",
|
||||
"sourceNotAccessible": "No se pudo acceder a la fuente",
|
||||
"noLinksYet": "Aún no configuraste ningún acceso directo, ¡Añade uno!",
|
||||
"customizeShareLinksDescription": "Aquí puedes personalizar los accesos directos del panel lateral para este recurso compartido, necesitas crear el recurso primero.",
|
||||
"customizeShareLinksDescription": "Aquí puedes personalizar los accesos directos del panel lateral para este recurso compartido.",
|
||||
"editLink": "Editar acceso directo",
|
||||
"selectShare": "Seleccionar recurso compartido",
|
||||
"chooseShare": "Seleccionar recurso compartido",
|
||||
"selectSharePath": "Ruta que se usará dentro del recurso compartido (opcional)",
|
||||
"sharePathPlaceholder": "ej: '/subcarpeta' o en blanco para \"/\"",
|
||||
"sharePathPlaceholder": "ej: /subcarpeta o en blanco para \"/\"",
|
||||
"browseIcons": "Material Icons",
|
||||
"pickIcon": "Elije un icono",
|
||||
"pickIconDescription": "Aquí puedes explorar los iconos más populares de la biblioteca \"Material Icons\"",
|
||||
"pickIcon": "Elija un icono",
|
||||
"pickIconDescription": "Aquí puedes explorar los iconos más populates de la biblioteca \"Material Icons\"",
|
||||
"shareLinksUpdatedSuccess": "¡Se actualizaron los accesos directos del recurso compartido!",
|
||||
"shareHome": "Recurso compartido",
|
||||
"linkIconPlaceholder": "Opcionalmente, puedes elegir un Material Icon que más te guste",
|
||||
"onlyShowIndexedUsage": "Calcular el uso de los archivos indexados",
|
||||
"onlyShowIndexedUsageDescription": "Cuando está desactivado, muestra el uso total de la partición tal y como lo informa el sistema operativo en lugar de los totales de archivos indexados calculados para la fuente.",
|
||||
"switchMode": "Cambiar modo del panel lateral",
|
||||
"showIndexedUsageDescription": "Muestra la barra de uso a partir de los archivos indexados en la fuente.",
|
||||
"showIndexedUsageDescription": "Muestra la barra de uso calculada a partir de los archivos indexados en la fuente.",
|
||||
"showDiskUsageDescription": "Muestra la barra de uso a partir del tamaño del disco/partición indicado por el sistema operativo. Es probable que este tamaño sea mayor e incluya archivos no indexados.",
|
||||
"usageTextDisplay": "¿Qué texto de uso debe mostrarse?",
|
||||
"usageTextIndexed": "uso como indexado",
|
||||
"usageTextDisk": "uso por disco/partición",
|
||||
"dividerNamePlaceholder": "Separador visual (déjalo en blanco para mostrar una línea)"
|
||||
"dividerNamePlaceholder": "Texto divisor (déjelo en blanco para mostrar una línea)"
|
||||
},
|
||||
"success": {
|
||||
"linkCopied": "¡Enlace copiado!"
|
||||
@@ -416,8 +415,8 @@
|
||||
"share": {
|
||||
"notice": "Cuando se crea un recurso compartido, este quedará más expuesto al público y tendrá diferentes reglas de acceso. Si no está configurado de forma forma segura, cualquiera podrá acceder a él.",
|
||||
"disableAnonymousDescription": "Cuando está activado, solo los usuarios registrados podrán acceder al recurso compartido.",
|
||||
"disableThumbnailsDescription": "Las miniaturas de archivos, fotos, audios, videos, etc. No estarán activadas.",
|
||||
"enableAllowedUsernamesDescription": "Cuando está activado, sólo los usuarios que especifiques podrán acceder al recurso compartido. El usuario deberá tener acceso al origen del recurso compartido para poder entrar",
|
||||
"disableThumbnailsDescription": "Las miniaturas de archivos, fotos, audios y videos no estarán activadas.",
|
||||
"enableAllowedUsernamesDescription": "Cuando está activado, sólo usuarios especificados podrán acceder al recurso compartido. El usuario deberá tener acceso al origen del recurso compartido para poder entrar",
|
||||
"downloadsLimitDescription": "Número máximo de veces que se puede descargar un archivo/carpeta del recurso compartido - Dejar en blanco para ilimitado.",
|
||||
"maxBandwidthDescription": "Velocidad máxima de descarga en kilobytes por segundo (kb/s) - Dejar en blanco para ilimitado.",
|
||||
"shareThemeDescription": "El tema que se usará para los usuarios que accedan al recurso compartidos",
|
||||
@@ -431,7 +430,7 @@
|
||||
"shareDurationDescription": "Tiempo que durará el recurso compartido - puedes dejarlo en blanco para indefinido (o sea, sin expiración).",
|
||||
"passwordDescription": "Contraseña opcional necesaria para acceder al recurso compartido, incluyedo usuarios registrados",
|
||||
"allowedUsernamesListDescription": "Nombres de usuario separados por comas que pueden acceder al recurso compartido (si está activado).",
|
||||
"shareThemeColorDescription": "Valor de color CSS aplicado al tema de la acción (por ejemplo: red, #0ea5e9, rgb(14,165,233)).",
|
||||
"shareThemeColorDescription": "Valor de color CSS aplicado al tema de la acción (por ejemplo, rojo, #0ea5e9, rgb(14,165,233)).",
|
||||
"shareTitleDescription": "Título de la página que se mostrará en el navegador",
|
||||
"shareDescriptionHelp": "Breve descripción mostrada en la página (que suele aparecer cuando compartes el enlace)",
|
||||
"shareLogoDescription": "Enlace (URL), o ruta de la imagen del logo que se mostrará en el enlace -- por ejemplo, 'https://ejemplo.com/logo.png' o '/ruta/a/logo.png'.",
|
||||
@@ -440,7 +439,7 @@
|
||||
"hideNavButtons": "Ocultar botones de navegación",
|
||||
"hideNavButtonsDescription": "Oculta los botones de navegación en la parte superior, es útil si quieres crear un aspecto minimalista.",
|
||||
"viewModeDescription": "Diseño por defecto de la página compartida.",
|
||||
"descriptionDefault": "Han compartido esto contigo",
|
||||
"descriptionDefault": "Han compartido esto contigo.",
|
||||
"disableShareCard": "Desactivar tarjeta de compartir",
|
||||
"disableShareCardDescription": "Desactiva la tarjeta de compartir y el código QR en el panel lateral o en la parte superior de la página en móvil",
|
||||
"disableSidebar": "Desactivar el panel lateral",
|
||||
@@ -502,18 +501,18 @@
|
||||
"enabled": "Habilitado",
|
||||
"disabled": "Desactivado",
|
||||
"permissionNote": "Debes de elegir al menos un permiso - Tu usuario también debe tenerlo.",
|
||||
"tokenType": "Tipo de Token:",
|
||||
"tokenType": "Tipo de ficha:",
|
||||
"title": "Tokens API",
|
||||
"createKeyFailed": "Error al crear el Token.",
|
||||
"createKeySuccess": "¡Token API creado con éxito!",
|
||||
"createKeyFailed": "Error al crear el token de API.",
|
||||
"createKeySuccess": "Token de API creado con éxito.",
|
||||
"apiKeyDeleted": "¡Token API borrado!",
|
||||
"description": "Los Token API se basan en el usuario que los crea",
|
||||
"clickToCopyKey": "Haz clic para copiar el token",
|
||||
"customizeToken": "Token personalizado",
|
||||
"description": "Los tokens de la API se basan en el usuario que los crea.",
|
||||
"clickToCopyKey": "Haga clic para copiar el token (oculto)",
|
||||
"customizeToken": "Personalizar ficha",
|
||||
"minimalInfo": "Excluye las personalizaciones de token, los permisos coincidirán con el usuario asociado y no tendrán otros atributos.",
|
||||
"createTitle": "Crear Token",
|
||||
"keyNamePlaceholder": "Escribe un nombre único para el Token",
|
||||
"customizeTokenInfo": "Cuando activas esta opción podrás personalizar los permisos y atributos del Token, esto hará el Token más largo y puede que no funcione con algunos clientes WebDAV."
|
||||
"createTitle": "Crear token de API",
|
||||
"keyNamePlaceholder": "Introduzca un nombre único para el token de API",
|
||||
"customizeTokenInfo": "Personaliza los permisos y atributos del token. Esto creará un token más largo que puede no funcionar con algunos clientes WebDAV."
|
||||
},
|
||||
"index": {
|
||||
"assessment": "Tipo",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "Resultados{suffix}",
|
||||
"users": "Usuarios{suffix}",
|
||||
"photos": "Fotos",
|
||||
"audios": "Audios{suffix}",
|
||||
"videos": "Vídeos{suffix}",
|
||||
"models": "Modelos 3D",
|
||||
"documents": "Documentos{suffix}",
|
||||
@@ -664,10 +664,9 @@
|
||||
"reset": "Restablecer{suffix}",
|
||||
"space": "Espacio{suffix}",
|
||||
"format": "Formato{suffix}",
|
||||
"office": "Office{suffix}",
|
||||
"office": "Oficina{suffix}",
|
||||
"show": "Mostrar{suffix}",
|
||||
"divider": "Divisor{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Divisor{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Reglas de acceso",
|
||||
@@ -686,7 +685,7 @@
|
||||
"totalDenied": "Bloqueados",
|
||||
"totalAllowed": "Permitidos",
|
||||
"all": "Bloquear todo",
|
||||
"defaultBehaviorDescription": "La regla por defecto para todos es \"Permitir\": todos tienen acceso a todo a menos que especifiques una regla -- \"Denegar\" significa que los usuarios estarán bloqueados: No podrán acceder a esa carpeta(s) a menos que lo permitas especifcamente",
|
||||
"defaultBehaviorDescription": "La regla por defecto para todos los directorios es \"Permitir\": todos los usuarios tienen acceso a todo a menos que especifiques una regla -- \"Denegar\" significa que los usuarios estarán bloqueados: No podrán acceder a esa carpeta(s) a menos que lo permitas especifcamente",
|
||||
"defaultBehavior": "Regla por defecto {suffix}",
|
||||
"deletedCascade": "Reglas de acceso eliminadas",
|
||||
"cascadeDelete": "Eliminación en cascada",
|
||||
@@ -702,7 +701,7 @@
|
||||
"clearAllDescription": "Hará que el botón de \"Limpiar completados\" en la ventana de subir archivos borre todos los estados: Finalizado, error, pausa y conflicto.",
|
||||
"uploadSettings": "Opciones de subida",
|
||||
"downloadChunkSizeMb": "Tamaño del fragmento de descarga en MB",
|
||||
"downloadChunkSizeMbHelp": "Tamaño de fragmento para descargas. Los archivos mayores que este tamaño se descargarán en fragmentos, lo cual puede ayudar a evitar problemas de tiempo de espera (por ejemplo, errores Cloudflare 524). Si lo pones en 0, se desactivarán las descargas fragmentadas."
|
||||
"downloadChunkSizeMbHelp": "Tamaño de trozo para descargas por trozos. Los archivos mayores que este tamaño se descargarán en trozos para evitar problemas de tiempo de espera (por ejemplo, errores Cloudflare 524). Si se establece en 0, se desactivan las descargas en trozos."
|
||||
},
|
||||
"colors": {
|
||||
"red": "Rojo",
|
||||
@@ -713,12 +712,14 @@
|
||||
"orange": "Naranja"
|
||||
},
|
||||
"profileSettings": {
|
||||
"preferEditorForMarkdown": "Preferir editor para archivos Markdown",
|
||||
"preferEditorForMarkdown": "Preferir editor primero para archivos Markdown",
|
||||
"preferEditorForMarkdownDescription": "Cuando está activado, los archivos markdown abrirán el editor en lugar del visor de Markdown",
|
||||
"deleteAfterArchive": "Eliminar archivos originales después de la creación/extracción de archivos",
|
||||
"deleteAfterArchiveDescription": "Cuando está activado, eliminará los archivos originales después de la creación o extracción de archivos",
|
||||
"hideFilesInTree": "Ocultar archivos en la navegación de árbol",
|
||||
"hideFilesInTreeDescription": "Cuando está activado, solo se muestrarán carpetas en la navegación del panel lateral",
|
||||
"previewModelsDescription": "Mostrar vistas previas en miniatura para modelos 3D, se mostrará un icono genérico si está desactivado",
|
||||
"previewAudiosDescription": "Mostrar vistas previas en miniatura para audios, si está desactivado mostrará un icono generico",
|
||||
"autoplayMedia": "Reproducción automática de archivos multimedia",
|
||||
"autoplayMediaDescription": "Reproduce automaticamente los archivos multimedia al abrirlos",
|
||||
"sidebarOptions": "Opciones del panel lateral",
|
||||
@@ -742,6 +743,8 @@
|
||||
"showHiddenFilesDescription": "Muestra los archivos ocultos. (por ejemplo, .thumbnails, ProgramData), pero siguen siendo accesibles manualmente si están configurados para ser indexados.",
|
||||
"showQuickDownload": "Icono de descarga rápida",
|
||||
"showQuickDownloadDescription": "Mostrar icono de descarga rápida en cada archivo",
|
||||
"previewImagesDescription": "Mostrar vistas previas en las miniaturas de las imágenes, mostrará el icono genérico si está desactivado",
|
||||
"previewVideosDescription": "Mostrar vistas previas en las miniaturas de los vídeos, mostrará un icono genérico si está desactivado",
|
||||
"editOffice": "Ver y editar archivos de ofimática con OnlyOffice",
|
||||
"editOfficeDescription": "Cuando está activado, el visor/editor de archivos estará desactivado para todas las extensiones de archivo relacionadas con archivos office, en vez, las abrirá en OnlyOffice.",
|
||||
"filePreviewOptions": "Opciones de previsualización de archivos",
|
||||
@@ -765,29 +768,23 @@
|
||||
"themeAndLanguage": "Tema e Idioma",
|
||||
"disableOfficeEditorDescription": "Una lista separada por espacios de extensiones de archivo para las que desactivar el editor y visor de OnlyOffice, o '*' para desactivarlas todas. (por ejemplo, '.txt .html .pdf').",
|
||||
"previewFolder": "Mostrar miniaturas de las carpetas si están disponibles",
|
||||
"previewFolderDescription": "Mostrar miniatura para carpetas. Si tienes activada la opción de 'Miniaturas en movimiento' y 'Miniaturas emergentes' se mostrarán los 4 primeros elementos (en bucle)",
|
||||
"previewMotion": "Miniaturas en movimiento",
|
||||
"previewMotionVideosDescription": "Las 'miniaturas en movimiento' son la vista previa emergente la cual recorre los fotogramas del vídeo o varias imágenes de una carpeta",
|
||||
"popupPreview": "Miniaturas emergentes",
|
||||
"popupPreviewDescription": "Se mostrará una ventana emergente superpuesta al pasar el mouse por encima de los elementos con miniaturas.",
|
||||
"previewFolderDescription": "Mostrar vistas previas en miniatura de carpetas con el primer elemento hijo como portada -- o múltiples elementos si la vista previa en movimiento está activada.",
|
||||
"previewMotion": "Avance del movimiento",
|
||||
"previewMotionVideosDescription": "La vista previa en movimiento es la vista previa emergente animada que recorre los fotogramas del vídeo o varias imágenes de una carpeta",
|
||||
"popupPreview": "Visor emergente",
|
||||
"popupPreviewDescription": "Se mostrará una ventana emergente superpuesta a la interfaz de usuario al pasar el ratón por encima de los elementos con miniaturas.",
|
||||
"thumbnailOptions": "Opciones de miniaturas",
|
||||
"showThumbnails": "Mostrar miniaturas soportadas",
|
||||
"showThumbnailsDescription": "Cuando está activada, se mostrarán miniaturas para todos los archivos soportados. Puedes desactivarlo para desactivar todas las miniaturas.",
|
||||
"showCopyPath": "Mostrar ruta de copia en el menú contextual",
|
||||
"showCopyPathDescription": "Mostrar una acción Copiar ruta en el menú contextual de archivos y carpetas.",
|
||||
"previewDescription": "Mostrar vistas previas en miniatura para {filetype}, mostrará el icono genérico si está desactivado."
|
||||
"showThumbnails": "Mostrar miniaturas de los elementos compatibles",
|
||||
"showThumbnailsDescription": "Cuando está activada, las miniaturas se muestran en el listado de los artículos que las admiten. Desactívelo para ocultar todas las miniaturas."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "No se pudo iniciar el editor",
|
||||
"saveFailed": "No se ha podido guardar el archivo. Intentálo de nuevo",
|
||||
"saveAborted": "Se canceló el guardado del archivo",
|
||||
"uninitialized": "Hubo un error al iniciar el editor",
|
||||
"saveFailed": "No se ha podido guardar el archivo. Por favor, inténtelo de nuevo.",
|
||||
"saveAborted": "No se ha podido guardar el archivo.",
|
||||
"saveAbortedMessage": "No se ha podido guardar el archivo. El nombre del archivo \"{activeFile}\" no coincide con el que estas intentando guardar ({tryingToSave}).",
|
||||
"syncFailed": "No se ha podido encontrar la ruta para \"{filename}\" después de 5 intentos - Se cerrará el editor para evitar la corrupción de datos.",
|
||||
"fileSaved": "!Se guardo el archivo correctamente!",
|
||||
"errorSavingFile": "Error al guardar el archivo: {error}",
|
||||
"lines": "{count} líneas",
|
||||
"words": "{count} palabras",
|
||||
"chars": "{count} caracteres"
|
||||
"errorSavingFile": "Error al guardar el archivo: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Bucle activado",
|
||||
@@ -802,7 +799,7 @@
|
||||
"emptyQueue": "La cola de reproducción está vacia..."
|
||||
},
|
||||
"fileSizeAnalyzer": {
|
||||
"title": "Analizador de espacio",
|
||||
"title": "Analizador de archivos",
|
||||
"searchLocation": "Buscar ubicación",
|
||||
"selectPath": "Selecciona el lugar de búsqueda",
|
||||
"largerThan": "Mayor que (en MB)",
|
||||
@@ -855,13 +852,13 @@
|
||||
"toolNotFound": "No se encontró la herramienta",
|
||||
"backToTools": "Volver a Herramientas",
|
||||
"fileWatcher": {
|
||||
"name": "Visor en tiempo real",
|
||||
"description": "Visualiza el contenido de archivos en tiempo real",
|
||||
"name": "Vigilante de archivos",
|
||||
"description": "Vigilancia y cola de archivos en tiempo real con control de latencia",
|
||||
"file": "Archivo{suffix}",
|
||||
"interval": "Intervalo de actualización",
|
||||
"stopWatching": "Dejar de ver",
|
||||
"emptyState": "Elije un archivo y haz clic en el botón para empezar a ver los cambios en el archivo",
|
||||
"chooseFile": "Elije un archivo"
|
||||
"stopWatching": "Deja de mirar",
|
||||
"emptyState": "Elija un archivo y haga clic en reproducir para empezar a supervisar los cambios en el archivo",
|
||||
"chooseFile": "Elija un archivo"
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
@@ -869,8 +866,8 @@
|
||||
"pathNotFoundMessage": "La ruta ya no existe en el sistema de archivos. Quizá fue movida o borrada",
|
||||
"reassignPath": "Reasignar ruta",
|
||||
"pathReassigned": "¡La ruta se actualizó correctamente!",
|
||||
"pathReassignFailed": "No se pudo actualizar la ruta. Inténtalo de nuevo",
|
||||
"incompleteResultsDetails": "Mostrando resultados máximos ({max}). Intenta restringir la búsqueda para obtener más resultados en {max}."
|
||||
"pathReassignFailed": "No se ha podido actualizar la ruta. Inténtalo de nuevo",
|
||||
"incompleteResultsDetails": "Mostrando resultados máximos ({max}). Intente restringir la búsqueda para obtener más resultados en {max}."
|
||||
},
|
||||
"duplicateFinder": {
|
||||
"title": "Buscador de archivos duplicados",
|
||||
@@ -895,7 +892,7 @@
|
||||
"events": {
|
||||
"serverShutdown": "El servidor fúe apagado",
|
||||
"authenticationFailed": "Hubo un error de autenticación - Actualiza la página y vuelve a iniciar sesión",
|
||||
"reconnected": "!Se reconecto al servidor!",
|
||||
"reconnected": "!Se reconecto con el servidor!",
|
||||
"connectionLost": "Se perdió la conexión con el servidor. Intentando reconectar..."
|
||||
},
|
||||
"threejs": {
|
||||
@@ -908,7 +905,7 @@
|
||||
"changeBackground": "Cambiar el color de fondo"
|
||||
},
|
||||
"onlyoffice": {
|
||||
"debugTitle": "OnlyOffice debug",
|
||||
"debugTitle": "Rastreo de depuración de OnlyOffice",
|
||||
"debug": "Depuración de OnlyOffice",
|
||||
"basicConfiguration": "Configuración básica",
|
||||
"configurationDetails": "Detalles de configuración de OnlyOffice",
|
||||
@@ -917,31 +914,31 @@
|
||||
"fileType": "Tipo de archivo",
|
||||
"editMode": "Modo Edición",
|
||||
"downloadURL": "Descargar URL",
|
||||
"callbackURL": "Callback URL",
|
||||
"callbackURL": "URL de devolución de llamada",
|
||||
"networkFlow": "Flujo de red",
|
||||
"browser": "Navegador",
|
||||
"onlyOffice": "OnlyOffice",
|
||||
"fileBrowser": "FileBrowser",
|
||||
"onlyOffice": "SóloOficina",
|
||||
"fileBrowser": "Navegador de archivos",
|
||||
"processSteps": "Etapas del proceso",
|
||||
"entries": "entradas",
|
||||
"internalUrl": "URL interna",
|
||||
"shareHash": "Hash del recurso compartido",
|
||||
"userRequest": "Solicitud de usuario",
|
||||
"logsNotAvailable": "Los registros de backend no están disponibles -- tu usuario debe ser administrador para ver los registros de backend",
|
||||
"shareHash": "Compartir Hash",
|
||||
"userRequest": "Solicitud del usuario",
|
||||
"logsNotAvailable": "Los registros de backend no están disponibles -- el usuario debe ser admin para ver los registros de backend",
|
||||
"waitingForLogs": "Esperando los registros de backend...",
|
||||
"errorDetected": "Error detectado",
|
||||
"integrationFailed": "La integración de OnlyOffice ha fallado. Comprueba los pasos fallidos anteriores.",
|
||||
"integrationFailed": "La integración de OnlyOffice ha fallado. Compruebe los pasos fallidos anteriores.",
|
||||
"documentInitialized": "Documento inicializado",
|
||||
"integrationSuccess": "La integración de OnlyOffice se inició correctamente. Supervisa los registros de backend para detectar cualquier problema.",
|
||||
"integrationSuccess": "La integración de OnlyOffice se ha inicializado correctamente. Supervise los registros de backend para detectar cualquier problema.",
|
||||
"troubleshootingGuide": "Ver la guía de resolución de problemas",
|
||||
"startingInit": "Inicializando OnlyOffice...",
|
||||
"configCheck": "Comprobando configuración - URL construida",
|
||||
"startingInit": "Iniciando la inicialización de OnlyOffice...",
|
||||
"configCheck": "Comprobación de la configuración - URL construida",
|
||||
"apiRequest": "Solicitud API - Configuración recibida",
|
||||
"serverConnection": "OnlyOffice Server Connection - Configuración enviada",
|
||||
"testingConnectivity": "Probando la conectividad con OnlyOffice...",
|
||||
"serverReachable": "OnlyOffice parece accesible",
|
||||
"testingConnectivity": "Probando la conectividad del servidor OnlyOffice...",
|
||||
"serverReachable": "El servidor OnlyOffice parece accesible",
|
||||
"documentDownload": "Descarga de documentos - Completa",
|
||||
"editorSuccess": "Inicialización del editor - ¡Éxito! Todos los pasos se completaron.",
|
||||
"editorSuccess": "Inicialización del editor - ¡Éxito! Todos los pasos completados.",
|
||||
"setupError": "Error de configuración"
|
||||
}
|
||||
}
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "Afficher les options avancées",
|
||||
"showLess": "Masquer les options avancées",
|
||||
"goToSource": "Aller à l'emplacement de la source",
|
||||
"goToItem": "Aller à l'article",
|
||||
"copyPath": "Chemin de la copie"
|
||||
"goToItem": "Aller à l'article"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Télécharger le fichier",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "Extraire l'archive",
|
||||
"unarchiveMessage": "Choisissez l'endroit où extraire l'archive.",
|
||||
"unarchiveDestination": "Extrait à :",
|
||||
"unarchiveSuccess": "L'archive a été extraite avec succès !",
|
||||
"downloadFailed": "Échec du téléchargement groupé - si cela se répète, essayez de réduire la taille des morceaux : {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Saisissez votre mot de passe actuel pour autoriser ce changement de mot de passe."
|
||||
"unarchiveSuccess": "L'archive a été extraite avec succès !"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Plus petit que :",
|
||||
"largerThan": "Plus grand que :",
|
||||
"helpText1": "La recherche s'effectue sur chaque caractère saisi (3 caractères minimum pour les termes de recherche).",
|
||||
"helpText2": "Index : La recherche utilise l'index qui est automatiquement mis à jour à l'intervalle configuré (par défaut : 5 minutes). Une recherche effectuée alors que le programme vient de démarrer peut donner des résultats incomplets.",
|
||||
"noResults": "Aucun résultat n'a été trouvé dans la recherche indexée.",
|
||||
"onlyFolders": "Dossiers uniquement",
|
||||
"onlyFiles": "Uniquement les fichiers",
|
||||
"showOptions": "Afficher les options",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "Afficher les images de prévisualisation",
|
||||
"showPreviewImagesDescription": "Afficher les vignettes des résultats de la recherche lorsqu'elles sont disponibles, et afficher des icônes plus grandes pour tous les résultats.",
|
||||
"olderThanDate": "Plus vieux que :",
|
||||
"newerThanDate": "Plus récent que :",
|
||||
"helpText2": "Les résultats de la recherche sont basés sur les fichiers indexés, de sorte que les fichiers nouvellement ajoutés peuvent ne pas apparaître tant qu'ils n'ont pas été indexés.",
|
||||
"noResults": "Aucun résultat n'a été trouvé.",
|
||||
"helpText1": "La recherche s'effectue sur chaque caractère que vous tapez ({minSearchLength} caractère minimum)."
|
||||
"newerThanDate": "Plus récent que :"
|
||||
},
|
||||
"settings": {
|
||||
"scopes": "Définir les sources autorisées et la portée de l'utilisateur au sein de celles-ci",
|
||||
@@ -348,7 +345,9 @@
|
||||
"brandingHelp": "Vous pouvez personnaliser l'apparence de votre instance du navigateur de fichiers en changeant son nom, en remplaçant le logo, en ajoutant des styles personnalisés et même en désactivant les liens externes vers GitHub.\nPour plus d'informations sur la personnalisation de l'image de marque, consultez le site {0}.",
|
||||
"commandRunnerHelp": "Vous pouvez définir ici les commandes qui seront exécutées dans les événements nommés. Vous devez en écrire une par ligne. Les variables d'environnement {0} et {1} seront disponibles, {0} étant relatif à {1}. Pour plus d'informations sur cette fonctionnalité et les variables d'environnement disponibles, veuillez consulter le site {2}.",
|
||||
"loginMethods": {
|
||||
"password": "Mot de passe"
|
||||
"password": "Mot de passe",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"newUserHintSubFolder": "par exemple \"/sous-dossier\" - vide par défaut",
|
||||
"permissionsHelp": "Les autorisations de l'utilisateur contrôlent l'accès au type d'actions que l'utilisateur peut effectuer. L'accès administrateur permet de mettre à jour et de modifier les paramètres de tout utilisateur ainsi que de nombreux paramètres du système.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "Résultats{suffix}",
|
||||
"users": "Utilisateurs{suffix}",
|
||||
"photos": "Photos",
|
||||
"audios": "Audios{suffix}",
|
||||
"videos": "Vidéos{suffix}",
|
||||
"models": "Modèles 3D",
|
||||
"documents": "Documents{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "Format{suffix}",
|
||||
"office": "Bureau{suffix}",
|
||||
"show": "Afficher{suffix}",
|
||||
"divider": "Diviseur{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Diviseur{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Règles d'accès",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "Lorsque activé, supprimera les fichiers source après la création/extraction réussie d'archives",
|
||||
"hideFilesInTree": "Masquer les fichiers dans l'arborescence",
|
||||
"hideFilesInTreeDescription": "Lorsque activé, seuls les dossiers sont affichés dans l'arborescence de navigation de la barre latérale",
|
||||
"previewModelsDescription": "Afficher les aperçus miniatures pour les modèles 3D, une icône générique s'affichera si désactivé",
|
||||
"previewAudiosDescription": "Afficher les aperçus miniatures pour les fichiers audio, une icône générique s'affichera si désactivé",
|
||||
"setDateFormat": "Définir le format exact de la date",
|
||||
"showHiddenFiles": "Afficher les fichiers cachés",
|
||||
"showHiddenFilesDescription": "Affiche les fichiers cachés dans la liste (par exemple, .thumbnails, ProgramData), mais ils restent accessibles manuellement s'ils sont configurés pour être indexés.",
|
||||
"showQuickDownload": "Afficher l'icône de téléchargement pour un accès rapide",
|
||||
"showQuickDownloadDescription": "Afficher l'icône de téléchargement pour un accès rapide à chaque élément de fichier sur lequel on peut cliquer pour le télécharger instantanément.",
|
||||
"previewImagesDescription": "Affiche des aperçus de vignettes pour les images, affichera une icône générique si elle est désactivée.",
|
||||
"previewVideosDescription": "Affiche des aperçus de vignettes pour les vidéos, affichera une icône générique si elle est désactivée.",
|
||||
"editOffice": "Visualiser et éditer des fichiers bureautiques avec OnlyOffice",
|
||||
"editOfficeDescription": "Lorsque l'option \"Office\" est activée, le visualiseur/éditeur de fichiers est désactivé pour toutes les extensions de fichiers liées aux fichiers Office.",
|
||||
"filePreviewOptions": "Options de prévisualisation des fichiers",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "Une fenêtre contextuelle s'affiche au-dessus de l'interface utilisateur lorsque l'on survole des éléments avec des vignettes.",
|
||||
"thumbnailOptions": "Options de vignettes",
|
||||
"showThumbnails": "Afficher les vignettes des éléments pris en charge",
|
||||
"showThumbnailsDescription": "Lorsque cette option est activée, les vignettes sont affichées dans la liste pour les articles qui les prennent en charge. Désactivez cette option pour masquer toutes les vignettes.",
|
||||
"showCopyPath": "Afficher Copier le chemin dans le menu contextuel",
|
||||
"showCopyPathDescription": "Afficher une action Copier le chemin dans le menu contextuel des fichiers et des dossiers.",
|
||||
"previewDescription": "Affiche des aperçus de vignettes pour {filetype}, affichera l'icône générique si elle est désactivée."
|
||||
"showThumbnailsDescription": "Lorsque cette option est activée, les vignettes sont affichées dans la liste pour les articles qui les prennent en charge. Désactivez cette option pour masquer toutes les vignettes."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "Échec de l'initialisation de l'éditeur. Veuillez recharger.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "L'opération d'enregistrement a été interrompue. Le fichier actif de l'application ({activeFile}) ne correspond pas au fichier que vous essayez d'enregistrer ({tryingToSave}).",
|
||||
"syncFailed": "n'a pas réussi à synchroniser l'état avec l'itinéraire pour \"{filename}\" après 5 tentatives. Abandon de la configuration de l'éditeur pour éviter la corruption des données.",
|
||||
"fileSaved": "Fichier sauvegardé !",
|
||||
"errorSavingFile": "Erreur d'enregistrement du fichier : {error}",
|
||||
"lines": "{count} lignes",
|
||||
"words": "{count} mots",
|
||||
"chars": "{count} caractères"
|
||||
"errorSavingFile": "Erreur d'enregistrement du fichier : {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Boucle activée",
|
||||
|
||||
+28
-31
@@ -33,8 +33,7 @@
|
||||
"showMore": "הצג אפשרויות מתקדמות",
|
||||
"showLess": "הסתר אפשרויות מתקדמות",
|
||||
"goToSource": "עבור למיקום המקור",
|
||||
"goToItem": "עבור לפריט",
|
||||
"copyPath": "העתק נתיב"
|
||||
"goToItem": "עבור לפריט"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "הורד קובץ",
|
||||
@@ -93,17 +92,17 @@
|
||||
"wiki": "מסמכים רשמיים של FileBrowser Quantum",
|
||||
"marqueeSelect": "בחר מספר קבצים או ספריות על ידי גרירה על שטח ריק",
|
||||
"media": {
|
||||
"title": "נגן מדיה",
|
||||
"playPause": "הפעל/השהה נגינה",
|
||||
"seekPercentage": "דילוג מ-10% ל-90%",
|
||||
"seek": "דילוג 10 שניות, אחורה או קדימה",
|
||||
"volume": "הגבר או הנמך עוצמת קול",
|
||||
"mute": "השתק/בטל השתקת שמע",
|
||||
"loop": "החלף בין מצב לולאה למצב יחיד",
|
||||
"playbackModes": "החלף בין מצבי נגינה (למעט לולאה ויחיד)",
|
||||
"fullscreen": "החלף מצב מסך מלא בסרטונים",
|
||||
"captions": "הפעל/כבה כתוביות"
|
||||
}
|
||||
"title": "נגן מדיה",
|
||||
"playPause": "הפעל/השהה נגינה",
|
||||
"seekPercentage": "דילוג מ-10% ל-90%",
|
||||
"seek": "דילוג 10 שניות, אחורה או קדימה",
|
||||
"volume": "הגבר או הנמך עוצמת קול",
|
||||
"mute": "השתק/בטל השתקת שמע",
|
||||
"loop": "החלף בין מצב לולאה למצב יחיד",
|
||||
"playbackModes": "החלף בין מצבי נגינה (למעט לולאה ויחיד)",
|
||||
"fullscreen": "החלף מצב מסך מלא בסרטונים",
|
||||
"captions": "הפעל/כבה כתוביות"
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"he": "עברית",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "חלץ ארכיון",
|
||||
"unarchiveMessage": "בחר היכן לחלץ את הארכיון.",
|
||||
"unarchiveDestination": "חלץ אל:",
|
||||
"unarchiveSuccess": "הארכיון חולץ בהצלחה!",
|
||||
"downloadFailed": "ההורדה המקוטעת נכשלה - אם הבעיה חוזרת על עצמה, נסה להקטין את גודל החלקים: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "הזן את הסיסמה הנוכחית שלך כדי לאשר את שינוי הסיסמה."
|
||||
"unarchiveSuccess": "הארכיון חולץ בהצלחה!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "קטן מ:",
|
||||
"largerThan": "גדול מ:",
|
||||
"helpText1": "החיפוש מתבצע על כל תו שאתה מקליד (מינימום 3 תווים עבור מונחי חיפוש).",
|
||||
"helpText2": "האינדקס: החיפוש משתמש באינדקס שמתעדכן אוטומטית במרווח הזמן שהוגדר (ברירת מחדל: 5 דקות). חיפוש בעת הפעלת התוכנית עלול להניב תוצאות חלקיות.",
|
||||
"noResults": "לא נמצאו תוצאות בחיפוש באינדקס.",
|
||||
"onlyFolders": "רק תיקיות",
|
||||
"onlyFiles": "רק קבצים",
|
||||
"showOptions": "הצג אפשרויות",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "הצג תמונות מקדימות",
|
||||
"showPreviewImagesDescription": "הצג תצוגה מקדימה של תמונות ממוזערות עבור תוצאות החיפוש, כאשר הן זמינות, והצג סמלים גדולים יותר עבור כל התוצאות.",
|
||||
"olderThanDate": "גדול מ:",
|
||||
"newerThanDate": "מאוחר יותר מ:",
|
||||
"helpText2": "תוצאות החיפוש מבוססות על קבצים שעברו אינדוקס, ולכן קבצים שנוספו לאחרונה עשויים שלא להופיע עד שיעברו אינדוקס.",
|
||||
"noResults": "לא נמצאו תוצאות.",
|
||||
"helpText1": "החיפוש מתבצע על כל תו שאתה מקליד (מינימום{minSearchLength} )."
|
||||
"newerThanDate": "מאוחר יותר מ:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "מנהל ראשי",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "ניתן להתאים אישית את המראה והתחושה של דפדפן הקבצים על ידי שינוי שמו, החלפת הלוגו, הוספת סגנונות מותאמים אישית ואפילו השבתת קישורים חיצוניים ל-GitHub.\nלמידע נוסף על מיתוג מותאם אישית, בקרו ב- {0}.",
|
||||
"commandRunnerHelp": "כאן תוכל להגדיר פקודות שיבוצעו באירועים המוזכרים. עליך לכתוב פקודה אחת בכל שורה. המשתנים הסביבתיים {0} ו- {1} יהיו זמינים, והם יהיו {0} ביחס ל- {1}. למידע נוסף על תכונה זו ועל המשתנים הסביבתיים הזמינים, אנא קרא את {2}.",
|
||||
"loginMethods": {
|
||||
"password": "סיסמה"
|
||||
"password": "סיסמה",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "פרוקסי"
|
||||
},
|
||||
"newUserHintSubFolder": "לדוגמה, '/subfolder' - ריק עבור ברירת המחדל",
|
||||
"permissionsHelp": "הרשאות המשתמש שולטות בגישה לסוגי הפעולות שהמשתמש יכול לבצע. גישה לניהול מעניקה שליטה מלאה לעדכון ולשינוי הגדרות המשתמש, כמו גם הגדרות רבות של המערכת.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "תוצאות{suffix}",
|
||||
"users": "משתמשים{suffix}",
|
||||
"photos": "תמונות",
|
||||
"audios": "שמע{suffix}",
|
||||
"videos": "סרטונים{suffix}",
|
||||
"models": "דגמי תלת-ממד",
|
||||
"documents": "מסמכים{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "פורמט{suffix}",
|
||||
"office": "משרד{suffix}",
|
||||
"show": "הצג{suffix}",
|
||||
"divider": "מפריד{suffix}",
|
||||
"audio": "אודיו{suffix}"
|
||||
"divider": "מפריד{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "כללי גישה",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "כאשר מופעל, ימחק את קבצי המקור לאחר יצירה/חילוץ מוצלחים של ארכיונים",
|
||||
"hideFilesInTree": "הסתר קבצים בניווט עץ",
|
||||
"hideFilesInTreeDescription": "כאשר מופעל, רק תיקיות מוצגות בניווט העץ של סרגל הצד",
|
||||
"previewModelsDescription": "הצג תצוגות מקדימות ממוזערות לדגמי תלת-ממד, יוצג אייקון כללי אם מושבת",
|
||||
"previewAudiosDescription": "הצג תצוגות מקדימות ממוזערות לשמע, יוצג אייקון כללי אם מושבת",
|
||||
"setDateFormat": "הגדר פורמט תאריך מדויק",
|
||||
"showHiddenFiles": "הצג קבצים מוסתרים",
|
||||
"showHiddenFilesDescription": "הצג קבצים מוסתרים ברשימה (לדוגמה, .thumbnails, ProgramData), אך הם עדיין נגישים באופן ידני אם הוגדרו לאינדקס.",
|
||||
"showQuickDownload": "הצג סמל הורדה לגישה מהירה",
|
||||
"showQuickDownloadDescription": "הצג סמל הורדה לגישה מהירה על כל פריט קובץ שניתן ללחוץ עליו כדי להוריד באופן מיידי.",
|
||||
"previewImagesDescription": "הצג תצוגה מקדימה של תמונות, יציג סמל כללי אם האפשרות מושבתת.",
|
||||
"previewVideosDescription": "הצג תצוגה מקדימה של תמונות ממוזערות עבור סרטונים, יציג סמל כללי אם האפשרות מושבתת.",
|
||||
"editOffice": "הצג וערוך קבצי Office באמצעות OnlyOffice",
|
||||
"editOfficeDescription": "כאשר רק Office מופעל, תצוגת/עורך הקבצים יושבת עבור כל סיומות הקבצים הקשורות לקבצי Office.",
|
||||
"filePreviewOptions": "אפשרויות תצוגה מקדימה של קבצים",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "חלון קופץ יופיע מעל ממשק המשתמש כאשר תעבור עם העכבר על פריטים עם תמונות ממוזערות.",
|
||||
"thumbnailOptions": "אפשרויות תמונות ממוזערות",
|
||||
"showThumbnails": "הצג תמונות ממוזערות עבור פריטים נתמכים",
|
||||
"showThumbnailsDescription": "כאשר אפשרות זו מופעלת, תמונות ממוזערות מוצגות ברשימה עבור פריטים התומכים בהן. כבה את האפשרות כדי להסתיר את כל התמונות הממוזערות.",
|
||||
"showCopyPath": "הצג את האפשרות \"העתק נתיב\" בתפריט ההקשר",
|
||||
"showCopyPathDescription": "הצג את הפעולה \"העתק נתיב\" בתפריט ההקשר של קבצים ותיקיות.",
|
||||
"previewDescription": "הצג תצוגה מקדימה של תמונות ממוזערות עבור {filetype}; אם האפשרות מושבתת, יוצג סמל כללי."
|
||||
"showThumbnailsDescription": "כאשר אפשרות זו מופעלת, תמונות ממוזערות מוצגות ברשימה עבור פריטים התומכים בהן. כבה את האפשרות כדי להסתיר את כל התמונות הממוזערות."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "לא ניתן לאתחל את העורך. אנא טען מחדש.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "פעולת השמירה בוטלה. הקובץ הפעיל של היישום ({activeFile}) אינו תואם לקובץ שאתה מנסה לשמור ({tryingToSave}).",
|
||||
"syncFailed": "לא הצליח לסנכרן את המצב עם המסלול עבור \"{filename}\" לאחר 5 ניסיונות. מבטל את הגדרת העורך כדי למנוע פגיעה בנתונים.",
|
||||
"fileSaved": "הקובץ נשמר!",
|
||||
"errorSavingFile": "שגיאה בשמירת הקובץ: {error}",
|
||||
"lines": "{count} שורות",
|
||||
"words": "{count} מילים",
|
||||
"chars": "{count} תווים"
|
||||
"errorSavingFile": "שגיאה בשמירת הקובץ: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "לולאה מופעלת",
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "Speciális beállítások megjelenítése",
|
||||
"showLess": "Speciális beállítások elrejtése",
|
||||
"goToSource": "Menj a forráshelyre",
|
||||
"goToItem": "Tovább a tételhez",
|
||||
"copyPath": "Másolás útvonal"
|
||||
"goToItem": "Tovább a tételhez"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Fájl letöltése",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "Kivonat archívum",
|
||||
"unarchiveMessage": "Válassza ki, hová szeretné kinyomtatni az archívumot.",
|
||||
"unarchiveDestination": "Kivonat a következő címre:",
|
||||
"unarchiveSuccess": "Az archívum sikeresen kinyomtatva!",
|
||||
"downloadFailed": "A darabos letöltés sikertelen - ha ez ismétlődik, próbálja meg csökkenteni a darabos letöltés méretét: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "A jelszóváltoztatás engedélyezéséhez adja meg a jelenlegi jelszavát."
|
||||
"unarchiveSuccess": "Az archívum sikeresen kinyomtatva!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Kisebb, mint:",
|
||||
"largerThan": "Nagyobb, mint:",
|
||||
"helpText1": "A keresés minden egyes beírt karakterre történik (minimum 3 karakteres keresőkifejezés).",
|
||||
"helpText2": "Az index: A keresés az indexet használja, amely automatikusan frissül a beállított időközönként (alapértelmezett: 5 perc). A program indulásakor végzett keresés hiányos eredményeket eredményezhet.",
|
||||
"noResults": "Az indexelt keresésben nem találtak találatot.",
|
||||
"onlyFolders": "Csak mappák",
|
||||
"onlyFiles": "Csak fájlok",
|
||||
"showOptions": "Beállítások megjelenítése",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "Előnézeti képek megjelenítése",
|
||||
"showPreviewImagesDescription": "A keresési találatok miniatűr előnézeteinek megjelenítése, ha rendelkezésre állnak, és nagyobb ikonok megjelenítése az összes találathoz.",
|
||||
"olderThanDate": "Idősebb, mint:",
|
||||
"newerThanDate": "Újabb, mint:",
|
||||
"helpText2": "A keresési eredmények az indexelt fájlokon alapulnak, ezért előfordulhat, hogy az újonnan hozzáadott fájlok nem jelennek meg, amíg indexelésre nem kerülnek.",
|
||||
"noResults": "Nem találtak eredményt.",
|
||||
"helpText1": "A keresés minden egyes beírt karakterre történik ({minSearchLength} minimum karakter)."
|
||||
"newerThanDate": "Újabb, mint:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "Adminisztrátor",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "Testreszabhatja a Fájlböngésző példányának megjelenését és érzetét a név megváltoztatásával, a logó cseréjével, egyéni stílusok hozzáadásával és akár a GitHubra mutató külső hivatkozások letiltásával.\nAz egyéni márkaépítéssel kapcsolatos további információkat a {0} oldalon talál.",
|
||||
"commandRunnerHelp": "Itt állíthatja be azokat a parancsokat, amelyek a megnevezett események során végrehajtásra kerülnek. Soronként egyet kell írni. A {0} és a {1} környezeti változók lesznek elérhetőek, a {0} a {1}-hoz képest . A funkcióról és a rendelkezésre álló környezeti változókról bővebb információt a {2} oldalon talál.",
|
||||
"loginMethods": {
|
||||
"password": "Jelszó"
|
||||
"password": "Jelszó",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"newUserHintSubFolder": "pl. '/subfolder' - üres az alapértelmezéshez",
|
||||
"permissionsHelp": "A felhasználói engedélyek szabályozzák, hogy a felhasználó milyen típusú műveleteket hajthat végre. A rendszergazdai hozzáférés teljes körű ellenőrzést biztosít bármely felhasználó beállításainak, valamint számos rendszerbeállításnak a frissítéséhez és módosításához.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "Eredmények{suffix}",
|
||||
"users": "Felhasználók{suffix}",
|
||||
"photos": "Fotók",
|
||||
"audios": "Hangfájlok{suffix}",
|
||||
"videos": "Videók{suffix}",
|
||||
"models": "3D modellek",
|
||||
"documents": "Dokumentumok{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "Formátum{suffix}",
|
||||
"office": "Iroda{suffix}",
|
||||
"show": "Mutasd meg a{suffix}",
|
||||
"divider": "Választó{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Választó{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Hozzáférési szabályok",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "Ha engedélyezve van, törli a forrásfájlokat az archívumok sikeres létrehozása/kibontása után",
|
||||
"hideFilesInTree": "Fájlok elrejtése a fa navigációban",
|
||||
"hideFilesInTreeDescription": "Ha engedélyezve van, csak mappák jelennek meg az oldalsáv fa navigációjában",
|
||||
"previewModelsDescription": "Miniatűr előnézetek megjelenítése 3D modellekhez, általános ikon jelenik meg ha letiltott",
|
||||
"previewAudiosDescription": "Miniatűr előnézetek megjelenítése hangfájlokhoz, általános ikon jelenik meg ha letiltott",
|
||||
"setDateFormat": "Pontos dátumformátum beállítása",
|
||||
"showHiddenFiles": "Rejtett fájlok megjelenítése",
|
||||
"showHiddenFilesDescription": "Rejtett fájlok megjelenítése a listában (pl. .thumbnails, ProgramData), de kézzel továbbra is elérhetőek, ha indexelésre vannak beállítva.",
|
||||
"showQuickDownload": "Letöltés ikon megjelenítése a gyors hozzáférés érdekében",
|
||||
"showQuickDownloadDescription": "Letöltés ikon megjelenítése a gyors hozzáférés érdekében minden egyes fájlelemen, amelyre kattintva azonnal letölthető.",
|
||||
"previewImagesDescription": "Miniatűr előnézetek megjelenítése a képekhez, általános ikon megjelenítése, ha le van tiltva.",
|
||||
"previewVideosDescription": "Videók miniatűr előnézeteinek megjelenítése, általános ikon megjelenítése, ha le van tiltva.",
|
||||
"editOffice": "Irodai fájlok megtekintése és szerkesztése az OnlyOffice segítségével",
|
||||
"editOfficeDescription": "Ha csak az office van engedélyezve, a fájlnézegető/szerkesztő az összes office fájlhoz kapcsolódó fájlkiterjesztés esetében le lesz tiltva.",
|
||||
"filePreviewOptions": "Fájl előnézeti beállítások",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "Egy felugró ablak jelenik meg a felhasználói felület felett, amikor a miniatűrökkel rendelkező elemek fölé mozgatja a gépet.",
|
||||
"thumbnailOptions": "Miniatűr beállítások",
|
||||
"showThumbnails": "A támogatott elemek miniatűrjeinek megjelenítése",
|
||||
"showThumbnailsDescription": "Ha engedélyezve van, a miniatűrök megjelennek a listában az azokat támogató elemeknél. Ha kikapcsolja, az összes miniatűr elrejti.",
|
||||
"showCopyPath": "Az elérési útvonal másolása a kontextusmenüben",
|
||||
"showCopyPathDescription": "Az elérési útvonal másolása művelet megjelenítése a fájl és mappa kontextusmenüben.",
|
||||
"previewDescription": "Miniatűr előnézetek megjelenítése a {filetype}, általános ikon megjelenítése, ha le van tiltva."
|
||||
"showThumbnailsDescription": "Ha engedélyezve van, a miniatűrök megjelennek a listában az azokat támogató elemeknél. Ha kikapcsolja, az összes miniatűr elrejti."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "Nem sikerült inicializálni a szerkesztőt. Kérjük, töltse újra.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "A mentési művelet megszakadt. Az alkalmazás aktív fájlja ({activeFile}) nem egyezik meg a menteni kívánt fájllal ({tryingToSave}).",
|
||||
"syncFailed": "5 próbálkozás után nem sikerült szinkronizálni az állapotot a \"{filename}\" útvonallal. A szerkesztő beállításának megszakítása az adatok sérülésének elkerülése érdekében.",
|
||||
"fileSaved": "Fájl mentve!",
|
||||
"errorSavingFile": "Hiba a fájl mentésében: {error}",
|
||||
"lines": "{count} sor",
|
||||
"words": "{count} szó",
|
||||
"chars": "{count} karakter"
|
||||
"errorSavingFile": "Hiba a fájl mentésében: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Hurok engedélyezve",
|
||||
|
||||
@@ -305,7 +305,9 @@
|
||||
"types": "Tegundir",
|
||||
"video": "Myndband",
|
||||
"smallerThan": "Minna en:",
|
||||
"largerThan": "Stærra en:"
|
||||
"largerThan": "Stærra en:",
|
||||
"helpText1": "Leit fer fram við hvern staf sem þú slærð inn (3 stafa lágmark fyrir leitarorð).",
|
||||
"helpText2": "Vísirinn: Leit nýtir vísinn sem uppfærast sjálfkrafa á stilluðu millibili (sjálfgefið: 5 mínútur). Leit þegar forritið er nýrætt getur leitt til ófullnægjandi niðurstaðna."
|
||||
},
|
||||
"profileSettings": {
|
||||
"preferEditorForMarkdown": "Kjósa ritil fyrst fyrir Markdown skrár",
|
||||
@@ -624,10 +626,7 @@
|
||||
"saveAborted": "Vistun hætt við. Skráarheittið passar ekki við virka skrána.",
|
||||
"saveDisabled": "Vistun deildra skráa er ekki studd.",
|
||||
"saveAbortedMessage": "Vistunaraðgerð hætt við. Virka skrá forritsins ({activeFile}) passar ekki við skrána sem þú ert að reyna að vista ({tryingToSave}).",
|
||||
"syncFailed": "tókst ekki að samstilla stöðu við slóðina fyrir \"{filename}\" eftir 5 tilraunir. Hætti við ritstjóra uppsetningu til að koma í veg fyrir gagnaspa.",
|
||||
"lines": "{count} línur",
|
||||
"words": "{count} orð",
|
||||
"chars": "{count} stafir"
|
||||
"syncFailed": "tókst ekki að samstilla stöðu við slóðina fyrir \"{filename}\" eftir 5 tilraunir. Hætti við ritstjóra uppsetningu til að koma í veg fyrir gagnaspa."
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Endurtekning Virk",
|
||||
|
||||
+715
-718
File diff suppressed because it is too large.
Load diff
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "詳細オプションを表示",
|
||||
"showLess": "詳細オプションを隠す",
|
||||
"goToSource": "ソース・ロケーションへ",
|
||||
"goToItem": "アイテムへ",
|
||||
"copyPath": "コピーパス"
|
||||
"goToItem": "アイテムへ"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "ファイルをダウンロード",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "アーカイブの展開",
|
||||
"unarchiveMessage": "アーカイブを展開する場所を選択します。",
|
||||
"unarchiveDestination": "に抜粋する:",
|
||||
"unarchiveSuccess": "アーカイブは正常に抽出されました!",
|
||||
"downloadFailed": "チャンクダウンロードに失敗しました - これが繰り返される場合は、チャンクサイズを小さくしてみてください:{message}",
|
||||
"confirmPasswordToChangeUserPassword": "現在のパスワードを入力して、パスワードの変更を承認します。"
|
||||
"unarchiveSuccess": "アーカイブは正常に抽出されました!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "より小さい:",
|
||||
"largerThan": "より大きい:",
|
||||
"helpText1": "検索は入力した文字ごとに行われます(検索語は最低3文字必要)。",
|
||||
"helpText2": "インデックス:検索は、設定された間隔(デフォルト:5分)で自動的に更新されるインデックスを利用します。プログラムを開始したばかりの時に検索すると、不完全な結果になることがあります。",
|
||||
"noResults": "インデックス検索で結果が見つかりませんでした。",
|
||||
"onlyFolders": "フォルダのみ",
|
||||
"onlyFiles": "ファイルのみ",
|
||||
"showOptions": "オプションを表示",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "プレビュー画像を表示する",
|
||||
"showPreviewImagesDescription": "検索結果のサムネイルプレビューを表示し、すべての検索結果に対して大きなアイコンを表示します。",
|
||||
"olderThanDate": "より古い:",
|
||||
"newerThanDate": "より新しい:",
|
||||
"helpText2": "検索結果はインデックスされたファイルに基づいているため、新しく追加されたファイルはインデックスされるまで表示されないことがあります。",
|
||||
"noResults": "結果は見つからなかった。",
|
||||
"helpText1": "検索は入力した文字ごとに行われます({minSearchLength} 文字以上)。"
|
||||
"newerThanDate": "より新しい:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "管理者",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "File Browserインスタンスの見た目と操作感は、名前の変更、ロゴの置き換え、カスタムスタイルの追加、GitHubへの外部リンクの無効化などでカスタマイズできます。\nカスタムブランディングの詳細については、{0}をご覧ください。",
|
||||
"commandRunnerHelp": "ここでは、指定したイベントで実行されるコマンドを設定できます。1行に1つ記述する必要があります。環境変数{0}と{1}が使用可能になり、{0}は{1}の相対変数になります。この機能と使用可能な環境変数の詳細については、{2}をお読みください。",
|
||||
"loginMethods": {
|
||||
"password": "パスワード"
|
||||
"password": "パスワード",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "プロキシ"
|
||||
},
|
||||
"newUserHintSubFolder": "例 '/subfolder' - デフォルトは空白",
|
||||
"permissionsHelp": "ユーザー権限は、ユーザーが実行できるアクションの種類へのアクセスを制御します。管理者アクセスは、多くのシステム設定だけでなく、任意のユーザーの設定を更新および変更するための完全なコントロールを提供します。",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "結果{suffix}",
|
||||
"users": "ユーザー{suffix}",
|
||||
"photos": "写真",
|
||||
"audios": "オーディオ{suffix}",
|
||||
"videos": "ビデオ{suffix}",
|
||||
"models": "3Dモデル",
|
||||
"documents": "資料{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "フォーマット{suffix}",
|
||||
"office": "オフィス{suffix}",
|
||||
"show": "ショー{suffix}",
|
||||
"divider": "ディバイダー{suffix}",
|
||||
"audio": "オーディオ{suffix}"
|
||||
"divider": "ディバイダー{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "アクセスルール",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "有効にすると、アーカイブの作成/展開が成功した後にソースファイルを削除します",
|
||||
"hideFilesInTree": "ツリーナビゲーションでファイルを非表示",
|
||||
"hideFilesInTreeDescription": "有効にすると、サイドバーのツリーナビゲーションにフォルダーのみが表示されます",
|
||||
"previewModelsDescription": "3Dモデルのサムネイルプレビューを表示します。無効の場合は一般的なアイコンを表示します",
|
||||
"previewAudiosDescription": "オーディオのサムネイルプレビューを表示します。無効の場合は一般的なアイコンを表示します",
|
||||
"setDateFormat": "正確な日付書式を設定する",
|
||||
"showHiddenFiles": "隠しファイルを表示する",
|
||||
"showHiddenFilesDescription": "隠しファイル(.thumbnails、ProgramDataなど)をリストに表示します。インデックスが設定されている場合は手動でアクセスできます。",
|
||||
"showQuickDownload": "クイックアクセス用のダウンロードアイコンを表示する",
|
||||
"showQuickDownloadDescription": "各ファイルアイテムにクイックアクセス用のダウンロードアイコンを表示し、クリックすると即座にダウンロードできます。",
|
||||
"previewImagesDescription": "画像のサムネイルプレビューを表示します。無効の場合は一般的なアイコンを表示します。",
|
||||
"previewVideosDescription": "動画のサムネイルプレビューを表示します。無効の場合は一般的なアイコンを表示します。",
|
||||
"editOffice": "OnlyOfficeでオフィスファイルを閲覧・編集",
|
||||
"editOfficeDescription": "OnlyOfficeを有効にすると、オフィスファイルに関連するすべてのファイル拡張子でファイルビューア/エディタが無効になります。",
|
||||
"filePreviewOptions": "ファイルプレビューオプション",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "サムネイル付きのアイテムにカーソルを合わせると、UIの上にオーバーレイ・ポップアップ・ウィンドウが表示されます。",
|
||||
"thumbnailOptions": "サムネイルオプション",
|
||||
"showThumbnails": "対応アイテムのサムネイルを表示",
|
||||
"showThumbnailsDescription": "有効にすると、サムネイルをサポートしているアイテムのリストにサムネイルが表示されます。オフにするとすべてのサムネイルが非表示になります。",
|
||||
"showCopyPath": "コンテキストメニューにコピーパスを表示する",
|
||||
"showCopyPathDescription": "ファイルやフォルダのコンテキストメニューに「パスをコピー」アクションを表示します。",
|
||||
"previewDescription": "{filetype} のサムネイルプレビューを表示する。無効の場合は一般的なアイコンを表示する。"
|
||||
"showThumbnailsDescription": "有効にすると、サムネイルをサポートしているアイテムのリストにサムネイルが表示されます。オフにするとすべてのサムネイルが非表示になります。"
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "エディタの初期化に失敗しました。再読み込みしてください。",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "保存操作が中断されました。アプリケーションのアクティブファイル({activeFile})と保存しようとしているファイル({tryingToSave})が一致しません。",
|
||||
"syncFailed": "\"{filename}\"のルートとステートの同期に失敗しました。データの破損を防ぐためにエディタのセットアップを中止しています。",
|
||||
"fileSaved": "ファイルが保存された!",
|
||||
"errorSavingFile": "ファイルの保存でエラーが発生しました:{error}",
|
||||
"lines": "{count} 行",
|
||||
"words": "{count} 単語",
|
||||
"chars": "{count} 文字"
|
||||
"errorSavingFile": "ファイルの保存でエラーが発生しました:{error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "ループ有効",
|
||||
|
||||
+17
-20
@@ -33,8 +33,7 @@
|
||||
"showMore": "고급 옵션 표시",
|
||||
"showLess": "고급 옵션 숨기기",
|
||||
"goToSource": "소스 위치로 이동",
|
||||
"goToItem": "항목으로 이동",
|
||||
"copyPath": "경로 복사"
|
||||
"goToItem": "항목으로 이동"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "파일 다운로드",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "아카이브 추출",
|
||||
"unarchiveMessage": "아카이브를 추출할 위치를 선택합니다.",
|
||||
"unarchiveDestination": "추출 대상:",
|
||||
"unarchiveSuccess": "아카이브가 성공적으로 추출되었습니다!",
|
||||
"downloadFailed": "청크 다운로드에 실패했습니다 - 이 문제가 반복되면 청크 크기를 줄여 보세요: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "비밀번호 변경을 승인하려면 현재 비밀번호를 입력하세요."
|
||||
"unarchiveSuccess": "아카이브가 성공적으로 추출되었습니다!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "보다 작습니다:",
|
||||
"largerThan": "보다 큽니다:",
|
||||
"helpText1": "검색은 입력하는 각 문자(검색어의 경우 최소 3자)에 대해 이루어집니다.",
|
||||
"helpText2": "색인: 검색은 설정된 간격(기본값: 5분)에 따라 자동으로 업데이트되는 색인을 활용합니다. 프로그램이 막 시작되었을 때 검색하면 불완전한 결과가 나올 수 있습니다.",
|
||||
"noResults": "색인 검색에서 결과를 찾을 수 없습니다.",
|
||||
"onlyFolders": "폴더만",
|
||||
"onlyFiles": "파일만",
|
||||
"showOptions": "옵션 표시",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "미리 보기 이미지 표시",
|
||||
"showPreviewImagesDescription": "가능한 경우 검색 결과의 썸네일 미리 보기를 표시하고 모든 결과에 대해 더 큰 아이콘을 표시합니다.",
|
||||
"olderThanDate": "이전보다 오래되었습니다:",
|
||||
"newerThanDate": "보다 최신:",
|
||||
"helpText2": "검색 결과는 색인된 파일을 기반으로 하므로 새로 추가된 파일은 색인이 완료될 때까지 표시되지 않을 수 있습니다.",
|
||||
"noResults": "결과를 찾을 수 없습니다.",
|
||||
"helpText1": "검색은 입력하는 각 문자({minSearchLength} 최소 글자 수)에 대해 이루어집니다."
|
||||
"newerThanDate": "보다 최신:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "관리자",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "파일 브라우저 인스턴스의 이름을 변경하고, 로고를 바꾸고, 사용자 지정 스타일을 추가하고, GitHub에 대한 외부 링크를 비활성화하여 모양과 느낌을 사용자 지정할 수 있습니다.\n사용자 지정 브랜딩에 대한 자세한 내용은 {0} 을 참조하세요.",
|
||||
"commandRunnerHelp": "여기에서 명명된 이벤트에서 실행되는 명령을 설정할 수 있습니다. 한 줄에 하나씩 작성해야 합니다. 환경 변수 {0} 및 {1} 을 사용할 수 있으며, {0} 은 {1} 에 상대적입니다. 이 기능 및 사용 가능한 환경 변수에 대한 자세한 내용은 {2} 을 참조하세요.",
|
||||
"loginMethods": {
|
||||
"password": "비밀번호"
|
||||
"password": "비밀번호",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "프록시"
|
||||
},
|
||||
"newUserHintSubFolder": "예: '/subfolder' - 기본값은 비어 있습니다.",
|
||||
"permissionsHelp": "사용자 권한은 사용자가 수행할 수 있는 작업 유형에 대한 액세스를 제어합니다. 관리자 권한은 모든 사용자 설정은 물론 여러 시스템 설정을 업데이트하고 변경할 수 있는 모든 권한을 부여합니다.",
|
||||
@@ -581,6 +580,7 @@
|
||||
"results": "결과{suffix}",
|
||||
"users": "사용자{suffix}",
|
||||
"photos": "사진",
|
||||
"audios": "오디오{suffix}",
|
||||
"videos": "동영상{suffix}",
|
||||
"models": "3D 모델",
|
||||
"documents": "문서{suffix}",
|
||||
@@ -666,8 +666,7 @@
|
||||
"format": "형식{suffix}",
|
||||
"office": "Office{suffix}",
|
||||
"show": "표시{suffix}",
|
||||
"divider": "디바이더{suffix}",
|
||||
"audio": "오디오{suffix}"
|
||||
"divider": "디바이더{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "액세스 규칙",
|
||||
@@ -719,11 +718,15 @@
|
||||
"deleteAfterArchiveDescription": "활성화되면 아카이브 생성/추출 성공 후 소스 파일을 삭제합니다",
|
||||
"hideFilesInTree": "트리 탐색에서 파일 숨기기",
|
||||
"hideFilesInTreeDescription": "활성화되면 사이드바 트리 탐색에 폴더만 표시됩니다",
|
||||
"previewModelsDescription": "3D 모델의 썸네일 미리보기를 표시합니다. 비활성화된 경우 일반 아이콘이 표시됩니다",
|
||||
"previewAudiosDescription": "오디오의 썸네일 미리보기를 표시합니다. 비활성화된 경우 일반 아이콘이 표시됩니다",
|
||||
"setDateFormat": "정확한 날짜 형식 설정",
|
||||
"showHiddenFiles": "숨겨진 파일 표시",
|
||||
"showHiddenFilesDescription": "목록에 숨겨진 파일(예: .썸네일, 프로그램 데이터)을 표시하지만 색인화하도록 구성한 경우 여전히 수동으로 액세스할 수 있습니다.",
|
||||
"showQuickDownload": "빠른 액세스를 위한 다운로드 아이콘 표시",
|
||||
"showQuickDownloadDescription": "각 파일 항목에 빠르게 액세스할 수 있는 다운로드 아이콘을 표시하여 클릭하여 즉시 다운로드할 수 있습니다.",
|
||||
"previewImagesDescription": "이미지의 썸네일 미리보기 표시, 비활성화하면 일반 아이콘이 표시됩니다.",
|
||||
"previewVideosDescription": "동영상 썸네일 미리보기 표시, 비활성화하면 일반 아이콘이 표시됩니다.",
|
||||
"editOffice": "OnlyOffice로 오피스 파일 보기 및 편집",
|
||||
"editOfficeDescription": "오피스만 활성화하면 오피스 파일과 관련된 모든 파일 확장자에 대해 파일 뷰어/편집기가 비활성화됩니다.",
|
||||
"filePreviewOptions": "파일 미리 보기 옵션",
|
||||
@@ -772,10 +775,7 @@
|
||||
"popupPreviewDescription": "썸네일이 있는 항목 위로 마우스를 가져가면 UI 위에 오버레이 팝업 창이 표시됩니다.",
|
||||
"thumbnailOptions": "썸네일 옵션",
|
||||
"showThumbnails": "지원되는 항목의 썸네일 표시",
|
||||
"showThumbnailsDescription": "활성화하면 이를 지원하는 항목의 목록에 썸네일이 표시됩니다. 모든 섬네일을 숨기려면 끄면 됩니다.",
|
||||
"showCopyPath": "컨텍스트 메뉴에 경로 복사 표시",
|
||||
"showCopyPathDescription": "파일 및 폴더 컨텍스트 메뉴에 경로 복사 작업을 표시합니다.",
|
||||
"previewDescription": "{filetype} 에 대한 썸네일 미리보기 표시 , 비활성화하면 일반 아이콘이 표시됩니다."
|
||||
"showThumbnailsDescription": "활성화하면 이를 지원하는 항목의 목록에 썸네일이 표시됩니다. 모든 섬네일을 숨기려면 끄면 됩니다."
|
||||
},
|
||||
"editor": {
|
||||
"uninitialized": "편집기를 초기화하지 못했습니다. 다시 로드하세요.",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "저장 작업이 중단되었습니다. 애플리케이션의 활성 파일({activeFile})이 저장하려는 파일({tryingToSave})과 일치하지 않습니다.",
|
||||
"syncFailed": "5번 시도 후 \"{filename}\"의 경로와 상태를 동기화하지 못했습니다. 데이터 손상을 방지하기 위해 편집기 설정을 중단합니다.",
|
||||
"fileSaved": "파일이 저장되었습니다!",
|
||||
"errorSavingFile": "파일 저장 중 오류가 발생했습니다: {error}",
|
||||
"lines": "{count} 줄",
|
||||
"words": "{count} 단어",
|
||||
"chars": "{count} 문자"
|
||||
"errorSavingFile": "파일 저장 중 오류가 발생했습니다: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "반복 활성화",
|
||||
|
||||
@@ -33,8 +33,7 @@
|
||||
"showMore": "Geavanceerde opties weergeven",
|
||||
"showLess": "Geavanceerde opties verbergen",
|
||||
"goToSource": "Ga naar de bronlocatie",
|
||||
"goToItem": "Ga naar item",
|
||||
"copyPath": "Kopieer pad"
|
||||
"goToItem": "Ga naar item"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Bestand downloaden",
|
||||
@@ -241,13 +240,14 @@
|
||||
"unarchive": "Archief uitpakken",
|
||||
"unarchiveMessage": "Kies waar het archief moet worden uitgepakt.",
|
||||
"unarchiveDestination": "Uittreksel naar:",
|
||||
"unarchiveSuccess": "Archief met succes uitgepakt!",
|
||||
"downloadFailed": "Chunkedownload mislukt - als dit zich herhaalt, probeer dan de grootte van de chunk te verkleinen: {message}",
|
||||
"confirmPasswordToChangeUserPassword": "Voer uw huidige wachtwoord in om deze wachtwoordwijziging te autoriseren."
|
||||
"unarchiveSuccess": "Archief met succes uitgepakt!"
|
||||
},
|
||||
"search": {
|
||||
"smallerThan": "Kleiner dan:",
|
||||
"largerThan": "Groter dan:",
|
||||
"helpText1": "Er wordt gezocht op elk teken dat je typt (minimaal 3 tekens voor zoektermen).",
|
||||
"helpText2": "De index: Zoeken maakt gebruik van de index die automatisch wordt bijgewerkt op het ingestelde interval (standaard: 5 minuten). Zoeken als het programma net is gestart, kan onvolledige resultaten opleveren.",
|
||||
"noResults": "Geen resultaten gevonden in geïndexeerde zoekopdrachten.",
|
||||
"onlyFolders": "Alleen mappen",
|
||||
"onlyFiles": "Alleen bestanden",
|
||||
"showOptions": "Opties weergeven",
|
||||
@@ -257,10 +257,7 @@
|
||||
"showPreviewImages": "Voorbeeldafbeeldingen tonen",
|
||||
"showPreviewImagesDescription": "Toon miniatuurvoorbeelden voor zoekresultaten indien beschikbaar, en toon grotere pictogrammen voor alle resultaten.",
|
||||
"olderThanDate": "Ouder dan:",
|
||||
"newerThanDate": "Nieuwer dan:",
|
||||
"helpText2": "Zoekresultaten zijn gebaseerd op geïndexeerde bestanden, dus nieuw toegevoegde bestanden verschijnen mogelijk pas als ze geïndexeerd zijn.",
|
||||
"noResults": "Geen resultaten gevonden.",
|
||||
"helpText1": "Er wordt gezocht op elk teken dat je typt (minimaal{minSearchLength} tekens)."
|
||||
"newerThanDate": "Nieuwer dan:"
|
||||
},
|
||||
"settings": {
|
||||
"administrator": "Administrator",
|
||||
@@ -346,7 +343,9 @@
|
||||
"brandingHelp": "Je kunt aanpassen hoe je File Browser instance eruit ziet en aanvoelt door de naam te veranderen, het logo te vervangen, aangepaste stijlen toe te voegen en zelfs externe links naar GitHub uit te schakelen.\nVoor meer informatie over het aanpassen van je branding, kun je kijken op {0}.",
|
||||
"commandRunnerHelp": "Hier kun je commando's instellen die worden uitgevoerd in de genoemde gebeurtenissen. Je moet er één per regel schrijven. De omgevingsvariabelen {0} en {1} zullen beschikbaar zijn, waarbij {0} relatief is ten opzichte van {1}. Lees voor meer informatie over deze functie en de beschikbare omgevingsvariabelen de {2}.",
|
||||
"loginMethods": {
|
||||
"password": "Wachtwoord"
|
||||
"password": "Wachtwoord",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"newUserHintSubFolder": "bijv. '/submap' - leeg voor standaard",
|
||||
"permissionsHelp": "Gebruikersrechten bepalen welke acties de gebruiker kan uitvoeren. Administrar toegang geeft volledige controle om de instellingen van elke gebruiker bij te werken en te wijzigen, evenals vele systeeminstellingen.",
|
||||
@@ -573,11 +572,15 @@
|
||||
"deleteAfterArchiveDescription": "Indien ingeschakeld, worden de bronbestanden verwijderd na succesvol aanmaken/uitpakken van archieven",
|
||||
"hideFilesInTree": "Bestanden verbergen in boomnavigatie",
|
||||
"hideFilesInTreeDescription": "Indien ingeschakeld, worden alleen mappen weergegeven in de zijbalk Boomnavigatie",
|
||||
"previewModelsDescription": "Toon miniatuurweergaven voor 3D-modellen, er wordt een algemeen pictogram getoond indien uitgeschakeld",
|
||||
"previewAudiosDescription": "Toon miniatuurweergaven voor audiobestanden, er wordt een algemeen pictogram getoond indien uitgeschakeld",
|
||||
"setDateFormat": "Exact datumformaat instellen",
|
||||
"showHiddenFiles": "Verborgen bestanden weergeven",
|
||||
"showHiddenFilesDescription": "Toon verborgen bestanden in de lijst (bijv. .thumbnails, ProgramData), maar ze zijn nog steeds handmatig toegankelijk als ze zijn geconfigureerd om te worden geïndexeerd.",
|
||||
"showQuickDownload": "Downloadpictogram weergeven voor snelle toegang",
|
||||
"showQuickDownloadDescription": "Toon een downloadpictogram voor snelle toegang tot elk bestandsitem waarop kan worden geklikt om het meteen te downloaden.",
|
||||
"previewImagesDescription": "Toon miniatuurvoorbeelden voor afbeeldingen, toont generiek pictogram indien uitgeschakeld.",
|
||||
"previewVideosDescription": "Toon miniatuurvoorbeelden voor video's, toont generiek pictogram indien uitgeschakeld.",
|
||||
"editOffice": "Office-bestanden bekijken en bewerken met OnlyOffice",
|
||||
"editOfficeDescription": "Als alleen office is ingeschakeld, is de bestandsviewer/editor uitgeschakeld voor alle bestandsextensies die gerelateerd zijn aan Office-bestanden.",
|
||||
"filePreviewOptions": "Opties voor bestandsvoorbeeld",
|
||||
@@ -626,10 +629,7 @@
|
||||
"popupPreviewDescription": "Er verschijnt een overlay pop-upvenster over de UI wanneer u met de muis over items met miniaturen beweegt",
|
||||
"thumbnailOptions": "Miniatuuropties",
|
||||
"showThumbnails": "Toon miniaturen voor ondersteunde items",
|
||||
"showThumbnailsDescription": "Als deze optie is ingeschakeld, worden miniaturen weergegeven in de lijst met items die deze ondersteunen. Schakel deze optie uit om alle miniaturen te verbergen.",
|
||||
"showCopyPath": "Pad kopiëren tonen in contextmenu",
|
||||
"showCopyPathDescription": "Een actie Pad kopiëren weergeven in het contextmenu van bestanden en mappen.",
|
||||
"previewDescription": "Toon miniatuurvoorbeelden voor {filetype}, toont generiek pictogram indien uitgeschakeld."
|
||||
"showThumbnailsDescription": "Als deze optie is ingeschakeld, worden miniaturen weergegeven in de lijst met items die deze ondersteunen. Schakel deze optie uit om alle miniaturen te verbergen."
|
||||
},
|
||||
"general": {
|
||||
"name": "Naam",
|
||||
@@ -666,6 +666,7 @@
|
||||
"results": "Resultaten{suffix}",
|
||||
"users": "Gebruikers{suffix}",
|
||||
"photos": "Foto's",
|
||||
"audios": "Audio's{suffix}",
|
||||
"models": "3D-modellen",
|
||||
"videos": "Video's{suffix}",
|
||||
"documents": "Documenten{suffix}",
|
||||
@@ -751,8 +752,7 @@
|
||||
"format": "Formaat{suffix}",
|
||||
"office": "Kantoor{suffix}",
|
||||
"show": "Toon{suffix}",
|
||||
"divider": "Verdeler{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"divider": "Verdeler{suffix}"
|
||||
},
|
||||
"access": {
|
||||
"rules": "Toegangsregels",
|
||||
@@ -784,10 +784,7 @@
|
||||
"saveAbortedMessage": "Opslaan afgebroken. Het actieve bestand van de toepassing ({activeFile}) komt niet overeen met het bestand dat u probeert op te slaan ({tryingToSave}).",
|
||||
"syncFailed": "Na 5 pogingen is het niet gelukt om de status te synchroniseren met de route voor \"{filename}\". Installatie van editor afgebroken om gegevensbeschadiging te voorkomen.",
|
||||
"fileSaved": "Bestand opgeslagen!",
|
||||
"errorSavingFile": "Fout bij het opslaan van bestand: {error}",
|
||||
"lines": "{count} regels",
|
||||
"words": "{count} woorden",
|
||||
"chars": "{count} tekens"
|
||||
"errorSavingFile": "Fout bij het opslaan van bestand: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Herhaling ingeschakeld",
|
||||
|
||||
+24
-27
@@ -10,7 +10,7 @@
|
||||
"general": {
|
||||
"divider": "Scheiding{suffix}",
|
||||
"show": "Toon{suffix}",
|
||||
"office": "Office{suffix}",
|
||||
"office": "Kantoor{suffix}",
|
||||
"format": "Formaat{suffix}",
|
||||
"zoom": "Zoom{suffix}",
|
||||
"background": "Achtergrond{suffix}",
|
||||
@@ -57,6 +57,7 @@
|
||||
"scopes": "Bereiken{suffix}",
|
||||
"commands": "Opdrachten{suffix}",
|
||||
"photos": "Foto's",
|
||||
"audios": "Audio{suffix}",
|
||||
"videos": "Video{suffix}",
|
||||
"documents": "Documenten{suffix}",
|
||||
"archives": "Archieven{suffix}",
|
||||
@@ -127,8 +128,7 @@
|
||||
"watching": "Bekijken{suffix}",
|
||||
"lines": "Regels{suffix}",
|
||||
"lastUpdate": "Laatste update{suffix}",
|
||||
"latency": "Vertraging{suffix}",
|
||||
"audio": "Audio{suffix}"
|
||||
"latency": "Vertraging{suffix}"
|
||||
},
|
||||
"buttons": {
|
||||
"copySuccess": "Gekopieerd naar klembord!",
|
||||
@@ -164,8 +164,7 @@
|
||||
"keepEditing": "Blijven bewerken",
|
||||
"closeAnyway": "Sluiten",
|
||||
"goToItem": "Ga naar item",
|
||||
"goToSource": "Ga naar de bronlocatie",
|
||||
"copyPath": "Kopieer pad"
|
||||
"goToSource": "Ga naar de bronlocatie"
|
||||
},
|
||||
"download": {
|
||||
"downloadFile": "Bestand downloaden",
|
||||
@@ -378,7 +377,6 @@
|
||||
"displayName": "Weergavenaam: ",
|
||||
"download": "Bestanden downloaden",
|
||||
"downloadMessage": "Kies het formaat dat u wilt downloaden. ",
|
||||
"downloadFailed": "Download van brok is mislukt - als dit zich herhaalt, probeer dan de brokgrootte te verkleinen: {message}",
|
||||
"archive": "Archief maken",
|
||||
"archiveMessage": "Maak een archief op de server van de geselecteerde items.",
|
||||
"archiveDestination": "Kies een bestemmingsmap (voer hieronder de naam van het archief in):",
|
||||
@@ -451,7 +449,6 @@
|
||||
"halloweenBody": "Het Halloween-thema is toegepast. U kunt het uitschakelen als u dit niet prettig vindt, of permanent uitschakelen in de profielinstellingen door een ander thema te selecteren.",
|
||||
"moveFailed": "Verplaatsen mislukt",
|
||||
"operationFailed": "Bewerking is mislukt",
|
||||
"confirmPasswordToChangeUserPassword": "Voer uw huidige wachtwoord in om deze wachtwoordwijziging te autoriseren.",
|
||||
"partialSuccess": "Enkele bewerkingen zijn mislukt: {succeeded} gelukt, {failed} mislukt."
|
||||
},
|
||||
"search": {
|
||||
@@ -461,15 +458,15 @@
|
||||
"showOptions": "Opties weergeven",
|
||||
"notEnoughCharacters": "Niet genoeg tekens om te zoeken (min {minSearchLength})",
|
||||
"typeToSearch": "Begin met het typen van {minSearchLength} of meer tekens om te beginnen met zoeken.",
|
||||
"noResults": "Geen resultaten gevonden in geïndexeerde zoekopdrachten.",
|
||||
"smallerThan": "Kleiner dan:",
|
||||
"largerThan": "Groter dan:",
|
||||
"olderThanDate": "Ouder dan:",
|
||||
"newerThanDate": "Nieuwer dan:",
|
||||
"showPreviewImages": "Voorbeeldafbeeldingen tonen",
|
||||
"showPreviewImagesDescription": "Toon, indien beschikbaar, miniatuurvoorbeelden voor zoekresultaten en toon grotere pictogrammen voor alle resultaten.",
|
||||
"helpText2": "Zoekresultaten zijn gebaseerd op geïndexeerde bestanden, dus nieuw toegevoegde bestanden verschijnen mogelijk pas als ze geïndexeerd zijn.",
|
||||
"noResults": "Geen resultaten gevonden.",
|
||||
"helpText1": "Er wordt gezocht op elk teken dat je typt (minimaal{minSearchLength} tekens)."
|
||||
"helpText1": "Er wordt gezocht op elk teken dat u typt (minimaal 3 tekens voor zoektermen).",
|
||||
"helpText2": "De index: Zoeken maakt gebruik van de index die automatisch wordt bijgewerkt op het ingestelde interval (standaard: 5 minuten). Zoeken als het programma net is gestart, kan onvolledige resultaten opleveren.",
|
||||
"olderThanDate": "Ouder dan:",
|
||||
"newerThanDate": "Nieuwer dan:"
|
||||
},
|
||||
"profileSettings": {
|
||||
"preferEditorForMarkdown": "Geef de voorkeur aan editor voor Markdown-bestanden",
|
||||
@@ -493,10 +490,14 @@
|
||||
"showHiddenFilesDescription": "Toon verborgen bestanden in de lijst (bijv. .thumbnails, ProgramData), maar ze zijn nog steeds handmatig toegankelijk als ze zijn geconfigureerd om te worden geïndexeerd.",
|
||||
"showQuickDownload": "Downloadpictogram weergeven voor snelle toegang",
|
||||
"showQuickDownloadDescription": "Toon een downloadpictogram voor snelle toegang tot elk bestandsitem waarop kan worden geklikt om het meteen te downloaden.",
|
||||
"previewImagesDescription": "Toon miniatuurvoorbeelden voor afbeeldingen, toont generiek pictogram indien uitgeschakeld.",
|
||||
"previewVideosDescription": "Toon miniatuurvoorbeelden voor video, toont generiek pictogram indien uitgeschakeld.",
|
||||
"previewAudiosDescription": "Toon miniatuurvoorbeelden voor audio, toont generiek pictogram indien uitgeschakeld.",
|
||||
"previewModelsDescription": "Toon miniatuurvoorbeelden voor 3D-modellen, toont generiek pictogram indien uitgeschakeld.",
|
||||
"previewMotion": "Bewegingsvoorbeelden",
|
||||
"previewMotionVideosDescription": "Bewegingsvoorbeeld is het geanimeerde popup-voorbeeld dat door de frames van de video of meerdere afbeeldingen voor een map loopt",
|
||||
"editOffice": "Office-bestanden bekijken en bewerken met OnlyOffice",
|
||||
"editOfficeDescription": "Als alleen Office is ingeschakeld, is de bestandsviewer/editor uitgeschakeld voor alle bestandsextensies die gerelateerd zijn aan Office-bestanden.",
|
||||
"editOfficeDescription": "Als alleen office is ingeschakeld, is de bestandsviewer/editor uitgeschakeld voor alle bestandsextensies die gerelateerd zijn aan Office-bestanden.",
|
||||
"popupPreview": "Pop-up Voorbeeldweergave",
|
||||
"popupPreviewDescription": "Er verschijnt een overlay pop-upvenster over de UI wanneer u met de muis over items met miniaturen beweegt",
|
||||
"filePreviewOptions": "Opties voor bestandsvoorbeeld",
|
||||
@@ -518,7 +519,7 @@
|
||||
"editorViewerOptions": "Opties voor editor en viewer",
|
||||
"editorQuickSave": "Snel opslaan in editor",
|
||||
"editorQuickSaveDescription": "De teksteditor toont altijd het pictogram voor opslaan en verbergt alle andere acties",
|
||||
"previewOfficeDescription": "Toon miniaturen voor Office-bestandstypen in de listingweergave",
|
||||
"previewOfficeDescription": "Toon miniaturen voor kantoorbestandstypen in de listingweergave",
|
||||
"disableThumbnailPreviews": "Miniaturen uitschakelen voor bepaalde bestandsextensies",
|
||||
"disableThumbnailPreviewsDescription": "Een door spaties gescheiden lijst met bestandsextensies waarvoor miniatuurafbeeldingen uitgeschakeld moeten worden (bijv. '.txt .html').",
|
||||
"disableViewingFiles": "Bestandsviewer/editor uitschakelen voor bepaalde bestandsextensies",
|
||||
@@ -531,10 +532,7 @@
|
||||
"themeAndLanguage": "Thema & Taal",
|
||||
"thumbnailOptions": "Miniatuuropties",
|
||||
"showThumbnails": "Toon miniaturen voor ondersteunde items",
|
||||
"showThumbnailsDescription": "Als deze optie is ingeschakeld, worden miniaturen weergegeven in de lijst met items die deze ondersteunen. Schakel deze optie uit om alle miniaturen te verbergen.",
|
||||
"showCopyPath": "Pad kopiëren tonen in contextmenu",
|
||||
"showCopyPathDescription": "Een actie Pad kopiëren weergeven in het contextmenu van bestanden en mappen.",
|
||||
"previewDescription": "Toon miniatuurvoorbeelden voor {filetype}, toont generiek pictogram indien uitgeschakeld."
|
||||
"showThumbnailsDescription": "Als deze optie is ingeschakeld, worden miniaturen weergegeven in de lijst met items die deze ondersteunen. Schakel deze optie uit om alle miniaturen te verbergen."
|
||||
},
|
||||
"settings": {
|
||||
"systemAdmin": "Systeem & Beheer",
|
||||
@@ -547,7 +545,9 @@
|
||||
"passwordsDoNotMatch": "Wachtwoorden komen niet overeen",
|
||||
"loginMethod": "Aanmeldingsmethode",
|
||||
"loginMethods": {
|
||||
"password": "Wachtwoord"
|
||||
"password": "Wachtwoord",
|
||||
"oidc": "OIDC",
|
||||
"proxy": "Proxy"
|
||||
},
|
||||
"loginMethodDescription": "toegestane aanmeldingsmethode voor de gebruiker.",
|
||||
"modifyOtherUser": "Gebruiker wijzigen:",
|
||||
@@ -706,10 +706,10 @@
|
||||
"enabled": "Ingeschakeld",
|
||||
"disabled": "Uitgeschakeld",
|
||||
"tokenType": "Type token:",
|
||||
"clickToCopyKey": "Klik om sleutel te kopiëren (verborgen)",
|
||||
"minimalInfo": "Sluit tokenaanpassingen uit om een kleinere tokenlengte te creëren. Exacte overeenkomst met de rechten van de bijbehorende gebruiker.",
|
||||
"customizeToken": "Token aanpassen",
|
||||
"customizeTokenInfo": "Pas de tokenpermissies en -attributen aan. Dit zal een langer token aanmaken dat mogelijk niet werkt bij sommige WebDAV-clients.",
|
||||
"minimalInfo": "Sluit tokenaanpassingen uit om een kleinere tokenlengte te creëren. Exacte overeenkomst met de rechten van de bijbehorende gebruiker."
|
||||
"clickToCopyKey": "Klik om sleutel te kopiëren (verborgen)"
|
||||
},
|
||||
"index": {
|
||||
"unknown": "Onbekend",
|
||||
@@ -766,7 +766,7 @@
|
||||
"cascadeDeleteDescription": "Indien ingeschakeld, zal het verwijderen van een toegangsregel deze ook verwijderen uit alle submappen. Hierdoor kunt u een gebruiker of groep volledig verwijderen uit de hele mappenstructuur."
|
||||
},
|
||||
"fileLoading": {
|
||||
"title": "Uploads & Downloads",
|
||||
"title": "Uploaden & Downloads",
|
||||
"maxConcurrentUpload": "Max. gelijktijdige uploads",
|
||||
"maxConcurrentUploadHelp": "Het maximum aantal gelijktijdige uploads. Hogere waarden presteren meestal beter, maar dit hangt van veel factoren af.",
|
||||
"uploadChunkSizeMb": "Upload brokgrootte in MB",
|
||||
@@ -792,10 +792,7 @@
|
||||
"saveAbortedMessage": "Opslaan afgebroken. Het actieve bestand van de toepassing ({activeFile}) komt niet overeen met het bestand dat u probeert op te slaan ({tryingToSave}).",
|
||||
"syncFailed": "Na 5 pogingen is het niet gelukt om de status te synchroniseren met de route voor \"{filename}\". Installatie van editor afgebroken om gegevensbeschadiging te voorkomen.",
|
||||
"fileSaved": "Bestand opgeslagen!",
|
||||
"errorSavingFile": "Fout bij het opslaan van bestand: {error}",
|
||||
"lines": "{count} regels",
|
||||
"words": "{count} woorden",
|
||||
"chars": "{count} tekens"
|
||||
"errorSavingFile": "Fout bij het opslaan van bestand: {error}"
|
||||
},
|
||||
"player": {
|
||||
"LoopEnabled": "Herhaling ingeschakeld",
|
||||
@@ -939,7 +936,7 @@
|
||||
"apiRequest": "API verzoek - Ontvangen configuratie",
|
||||
"serverConnection": "Alleen Office-serververbinding - Verzonden configuratie",
|
||||
"testingConnectivity": "OnlyOffice serverconnectiviteit testen...",
|
||||
"serverReachable": "Alleen de OnlyOffice-server lijkt bereikbaar",
|
||||
"serverReachable": "Alleen de Office-server lijkt bereikbaar",
|
||||
"documentDownload": "Document downloaden - Compleet",
|
||||
"editorSuccess": "Initialisatie Editor - Succes! Alle stappen voltooid.",
|
||||
"setupError": "Setup-fout"
|
||||
|
||||
Loaded 100 of 149 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user