Skip to content

S3 Version and Metadata support - #91

Merged
cloudlena merged 4 commits into
cloudlena:mainfrom
fidentity:main
Aug 11, 2026
Merged

S3 Version and Metadata support#91
cloudlena merged 4 commits into
cloudlena:mainfrom
fidentity:main

Conversation

@matthiasbaldi

Copy link
Copy Markdown
Contributor

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.

@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.

matthiasbaldi and others added 4 commits August 10, 2026 16:45
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>
@matthiasbaldi

Copy link
Copy Markdown
Contributor Author

@cloudlena should be fixed. 👍

@cloudlena
cloudlena merged commit fdb97a0 into cloudlena:main Aug 11, 2026
1 check failed
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