mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #1730] [MERGED] Add support for v2 attachment upload APIs #3373
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/dani-garcia/vaultwarden/pull/1730
Author: @jjlin
Created: 5/25/2021
Status: ✅ Merged
Merged: 5/30/2021
Merged by: @dani-garcia
Base:
main← Head:attachment-upload-v2📝 Commits (4)
29ed82aAdd support for v2 attachment upload APIs5fef798Clean up attachment error handlingc2ef331Rework file ID generation3f7e471Fix attachment size limit calculation for v2 uploads📊 Changes
4 files changed (+236 additions, -42 deletions)
View changed files
📝
src/api/core/ciphers.rs(+195 -26)📝
src/api/core/sends.rs(+1 -1)📝
src/crypto.rs(+15 -2)📝
src/db/models/attachment.rs(+25 -13)📄 Description
Upstream PR: https://github.com/bitwarden/server/pull/1229
The legacy upload flow can be tested with v2.19 of the web vault.
The v2 upload flow can be tested with v2.20 of the web vault.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.