Skip to content

S3 Version and Metadata support - #91

Open
matthiasbaldi wants to merge 4 commits into
cloudlena:mainfrom
fidentity:main
Open

S3 Version and Metadata support#91
matthiasbaldi wants to merge 4 commits into
cloudlena:mainfrom
fidentity:main

Conversation

@matthiasbaldi

Copy link
Copy Markdown

This PR brings two new core features to the s3manager:

  • Versions support - view, download
  • Metadata support - action to show all metadata for an item in a dropdown, also for the versioned items

Therefore we have two new configuration parameters:

  • SHOW_VERSIONS (default false)
  • SHOW_METADATA (default true)

Currently tested with alternative S3 providers, not yet tested with AWS.

matthiasbaldi and others added 4 commits July 8, 2026 20:15
Review polish before contributing both features upstream:

- don't show the versions-unavailable warning for empty buckets
- keep all versions of an object together when sorting and paginating,
  and count objects (not versions) for pagination
- only offer version-aware actions (Download, Metadata) on old-version
  rows; key-level actions like Delete operate on the latest version
- ignore the versionId download parameter when SHOW_VERSIONS is disabled
- return lastModified as RFC3339 from the metadata endpoint and format
  it client-side
- document the metadata feature in the README and extend test coverage

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
SHOW_METADATA (default true) gates both the "Metadata" object action in
the bucket view and the /metadata endpoint registration, mirroring how
ALLOW_DELETE gates its UI action and routes. Setting it to false hides
the action and returns 404 for the metadata endpoint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudlena

Copy link
Copy Markdown
Owner

Nice. Thanks, @matthiasbaldi! There are conflicts because I merged another PR first. Sorry about that! Could you rebase, please? Then I'll merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants