SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Revert "directory can paginate"
chrislu62c29b2398fc
diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.htmlindex 149d57647e..fa5cdd4e89 100644--- a/weed/server/filer_ui/filer.html+++ b/weed/server/filer_ui/filer.html@@ -116,14 +116,13 @@{{ else }}<table width="100%" class="table table-hover">{{ $path := .Path }}- {{ $limit := .Limit }}{{ $showDirDel := .ShowDirectoryDelete }}{{ range $entry_index, $entry := .Entries }}<tr><td>{{ if $entry.IsDirectory }}<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> - <a href="{{ printpath $path "/" $entry.Name "/" "?" "limit" "=" }}{{ print $limit }}" >+ <a href="{{ printpath $path "/" $entry.Name "/"}}" >{{ $entry.Name }}</a>{{ else }}diff --git a/weed/server/filer_ui/templates.go b/weed/server/filer_ui/templates.goindex 4a1822d7e9..f9ef064bc3 100644--- a/weed/server/filer_ui/templates.go+++ b/weed/server/filer_ui/templates.go@@ -9,15 +9,9 @@ import ()func printpath(parts ...string) string {- var escapedParts []string- for _, p := range parts {- if len(p) == 1 {- escapedParts = append(escapedParts, p)- } else {- escapedParts = append(escapedParts, url.PathEscape(p))- }- }- return strings.Join(escapedParts, "")+ concat := strings.Join(parts, "")+ escaped := url.PathEscape(concat)+ return strings.ReplaceAll(escaped, "%2F", "/")}var funcMap = template.FuncMap{