Skip to content

Commit

Permalink
chore: extend presigned URL validity to one hour and update README fo…
Browse files Browse the repository at this point in the history
…r link generation
  • Loading branch information
pteich committed Feb 20, 2025
1 parent c6906c8 commit 329334e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ Universal S3 UI is a lightweight, cross-platform graphical user interface for ma
- **File Management**:
- Browse objects in your bucket with size information
- Upload local files to your bucket
- Download objects from your bucket
- Delete objects with confirmation dialog
- Download selected files from your bucket to your local machine
- Delete objects
- Select files and generate temporary download links valid for one hour
- Refresh bucket contents
- **Asynchronous Loading**: Load objects without blocking the UI
- **Search Functionality**: Easily find objects in your bucket
- **Search Functionality**: Easily find objects with simple fulltext search
- **Progress Tracking**: Visual progress bar for long-running operations
- **Pagination**: Load objects in batches for improved performance
- **Detailed Object Information**: View object name, size, and last modified date
Expand Down Expand Up @@ -56,10 +57,9 @@ The configuration values can also be preset using CLI flags or environment varia
4. Use the main interface to:
- View objects in your bucket with detailed information
- Use the search bar to find specific objects
- Click "Refresh" to update the object list asynchronously
- Select one or multiple objects and use "Download" or "Delete" buttons
- Use "Upload" to add new files to your bucket
- Monitor progress for long-running operations
- Select one or multiple objects to download or delete files
- Use upload to add new local files to your bucket
- Select files and generate temporary download links
- Click "Exit" to close the application

## Screenshots
Expand Down
Binary file modified screenshots/selectfiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion windows/mainwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (mw *MainWindow) handleLink(ctx context.Context) {

for idx := range mw.selectedIndex {
obj := mw.currentObjects[idx]
linkurl, err := mw.s3svc.GetPresignedURL(ctx, obj.Key, 5*time.Minute)
linkurl, err := mw.s3svc.GetPresignedURL(ctx, obj.Key, 1*time.Hour)
if err != nil {
dialog.ShowError(err, mw.window)
return
Expand Down

0 comments on commit 329334e

Please sign in to comment.