mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-08 23:03:29 -05:00
[PR #1688] feat: add S3 file storage support #1677
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-vikunja/vikunja/pull/1688
Author: @maggch97
Created: 10/20/2025
Status: 🔄 Open
Base:
main← Head:user/weijiezhao/s3📝 Commits (10+)
ee51371copy from https://github.com/go-vikunja/vikunja/pull/15095534468refactor: extract file handler initialization into separate functions897abccfix: improve S3 configuration validation error messagesa586ddffeat: make S3 path-style addressing configurable120fb25refactor: return errors instead of panicking in file handler initializationc294a8bfix: handle S3 file downloads without http.ServeContent9c4fb84refactor(files): move local config setup to local file handler onlyc8402d4fix: resolve lint issues in file handling and S3 integration tests44764c7test: add S3/MinIO integration tests for file storage649ef3dfix: resolve testifylint issues in S3 integration tests📊 Changes
10 files changed (+497 additions, -9 deletions)
View changed files
📝
.github/workflows/test.yml(+15 -0)📝
config-raw.json(+41 -0)📝
go.mod(+3 -0)📝
go.sum(+12 -0)📝
pkg/config/config.go(+17 -0)📝
pkg/files/filehandling.go(+66 -5)➕
pkg/files/s3_integration_test.go(+316 -0)📝
pkg/initialize/init.go(+5 -2)📝
pkg/modules/dump/restore.go(+4 -1)📝
pkg/routes/api/v1/task_attachment.go(+18 -1)📄 Description
Fixes https://github.com/go-vikunja/vikunja/issues/1469
This PR is based on https://github.com/go-vikunja/vikunja/pull/1509. The account of original author has been deleted, so I continue the work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.