[PR #1994] [MERGED] fix(files): upload should work with vhost style #3853

Closed
opened 2026-03-22 14:55:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1994
Author: @kolaente
Created: 12/16/2025
Status: Merged
Merged: 12/16/2025
Merged by: @kolaente

Base: mainHead: fix-s3-upload-content-len


📝 Commits (4)

📊 Changes

4 files changed (+299 additions, -4 deletions)

View changed files

📝 pkg/config/config.go (+2 -0)
📝 pkg/files/filehandling.go (+15 -2)
📝 pkg/files/files.go (+130 -2)
📝 pkg/files/s3_test.go (+152 -0)

📄 Description

resolves https://github.com/go-vikunja/vikunja/issues/1905

Summary by CodeRabbit

  • New Features

    • S3 file uploads now include explicit content-length handling for improved reliability.
    • Automatic buffering support for non-seekable readers during S3 uploads.
    • Enhanced error reporting for S3 upload failures.
  • Chores

    • Added configuration option to specify a custom S3 temporary directory.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1994 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/16/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix-s3-upload-content-len` --- ### 📝 Commits (4) - [`a223c7e`](https://github.com/go-vikunja/vikunja/commit/a223c7e7b5bb5e6d019aac0de6655388bca50c9b) fix(files): upload should work with vhost style - [`1b9cf6e`](https://github.com/go-vikunja/vikunja/commit/1b9cf6e045f57fece193e8dfc45de81b4c7179aa) fix lint - [`bcc807b`](https://github.com/go-vikunja/vikunja/commit/bcc807b99ed7b65b68cd78f1a74417390f1767e5) fix stuff - [`5f434ea`](https://github.com/go-vikunja/vikunja/commit/5f434eaad0a1f51c1d015467d5ce257271a2e8f7) cleanupx ### 📊 Changes **4 files changed** (+299 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pkg/config/config.go` (+2 -0) 📝 `pkg/files/filehandling.go` (+15 -2) 📝 `pkg/files/files.go` (+130 -2) 📝 `pkg/files/s3_test.go` (+152 -0) </details> ### 📄 Description resolves https://github.com/go-vikunja/vikunja/issues/1905 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * S3 file uploads now include explicit content-length handling for improved reliability. * Automatic buffering support for non-seekable readers during S3 uploads. * Enhanced error reporting for S3 upload failures. * **Chores** * Added configuration option to specify a custom S3 temporary directory. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 14:55:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#3853