Skip to content

Releases

v0.1.2

Choose a tag to compare

@cnrozkn cnrozkn released this 17 Nov 07:45

Fixes from a review of v0.1.1. Upgrade if you set any of the variables in the first fix: until now they had no effect.

Fixes

  • S3CLIENT_PAGE_SIZE, S3CLIENT_PREVIEW_MAX_SIZE, S3CLIENT_UPLOAD_MAX_SIZE, S3CLIENT_WRITE_TIMEOUT and S3CLIENT_LIST_CACHE_TTL were silently ignored, so the defaults applied. They now take effect. Keys under s3-client in a YAML file work as before.
  • Downloads now send ETag and Last-Modified and check If-Range, so browsers can resume an interrupted download. If the object changed in between, the whole new object is sent instead of a piece of it.
  • An upload or download that runs longer than the session timeout no longer ends the login. When the session has expired, the upload dialog says so instead of failing with Unexpected token '<'.
  • A HEAD request on a download no longer reads the whole object from S3.
  • Page links carry at most 20 earlier pages, so URLs stay short behind proxies. Previous from further back returns to the first page.

Changes

  • IAM roles for service accounts (IRSA) now work: the software.amazon.awssdk:sts module is bundled.
  • Audit lines include the client address: action=… user=… ip=… bucket=… key=….
  • CI also builds the container image, so base image updates are tested before a release.

Upgrade note

  • S3_CLIENT_… variable names, which happened to work in earlier versions, are no longer read. Use the S3CLIENT_… names from the README.

Docs

  • README: settings for running behind a reverse proxy (TLS, upload size and buffering, long links), the session timeout, which access points S3CLIENT_ENDPOINT applies to, and a screenshot.
  • CONTRIBUTING.md and a bug report form.

Container image

docker pull ghcr.io/cnrozkn/s3-outposts-client:0.1.2

Full changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@cnrozkn cnrozkn released this 16 Nov 19:21

Fixes from a code review of v0.1.0.

Breaking change

  • The app no longer starts when S3CLIENT_PASSWORD is shorter than 16 characters. One shared password guards every bucket, and login attempts are not throttled.

Fixes

  • A folder's own marker object (for example docs/, created by the S3 console or the "New folder" button) is no longer listed as an unnamed file inside that folder.
  • The default S3CLIENT_WRITE_TIMEOUT is now 2h instead of 30m, so a 5 GB upload over a slow link is not cut off.
  • Line breaks and control characters in object keys are replaced before they go into the audit log, so a key cannot add fake audit lines.

Docs and tests

  • Access point ARNs are now covered by the offline addressing test, with and without S3CLIENT_ENDPOINT.
  • README: run a single instance or turn on sticky sessions, because sessions and CSRF tokens are kept in memory.

Container image

docker pull ghcr.io/cnrozkn/s3-outposts-client:0.1.1

Full changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@cnrozkn cnrozkn released this 16 Nov 19:01
f6f5941

First release of S3 Outposts Client, a web UI for Amazon S3 on Outposts. It is read-only by default; upload, delete and rename can be turned on per bucket.

Highlights

  • Works with S3 on Outposts access point aliases (…--op-s3) and ARNs: requests go to the Outpost host and are signed for s3-outposts.
  • Lists large folders without the S3 delimiter and jumps over subfolders with StartAfter. Each page makes at most 10 S3 requests within 3 seconds.
  • Browse buckets and folders, search by prefix, and see object details, metadata, versions and delete markers. Downloads support byte ranges, and previews are sandboxed.
  • Optional per bucket: upload (streamed, up to 5 GB), replace, create folder, rename or move (server-side copy), and delete. Every write needs a CSRF token and goes to an audit log.
  • A 30-second listing cache, virtual threads with the Apache HttpClient 5 SDK client, and Prometheus metrics for every S3 call.

Container image

docker pull ghcr.io/cnrozkn/s3-outposts-client:0.1.0

The image is built for linux/amd64 and linux/arm64. The README covers configuration, IAM permissions and limits.

Known limits

  • Uploads and renames are limited to 5 GB per object; multipart is not supported yet.
  • There is one login for everyone. Run the app behind a VPN or SSO proxy.
  • Write operations were tested against a simulated S3 endpoint, not yet against a real Outpost. Please report problems as issues.