mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #4242] [MERGED] Improve file limit handling #7034
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/4242
Author: @dani-garcia
Created: 1/12/2024
Status: ✅ Merged
Merged: 1/27/2024
Merged by: @dani-garcia
Base:
main← Head:improve_file_limits📝 Commits (4)
caca696Improve file limit handling9247481Oopse63db03Update PostgreSQL migrationcc9e1abReview comments📊 Changes
26 files changed (+281 additions, -98 deletions)
View changed files
📝
.env.template(+4 -0)📝
Cargo.lock(+26 -2)📝
Cargo.toml(+2 -1)➕
migrations/mysql/2024-01-12-210182_change_attachment_size/down.sql(+0 -0)➕
migrations/mysql/2024-01-12-210182_change_attachment_size/up.sql(+1 -0)➕
migrations/postgresql/2024-01-12-210182_change_attachment_size/down.sql(+0 -0)➕
migrations/postgresql/2024-01-12-210182_change_attachment_size/up.sql(+3 -0)➕
migrations/sqlite/2024-01-12-210182_change_attachment_size/down.sql(+0 -0)➕
migrations/sqlite/2024-01-12-210182_change_attachment_size/up.sql(+1 -0)📝
src/api/admin.rs(+4 -3)📝
src/api/core/accounts.rs(+4 -2)📝
src/api/core/ciphers.rs(+58 -20)📝
src/api/core/emergency_access.rs(+4 -2)📝
src/api/core/organizations.rs(+2 -3)📝
src/api/core/sends.rs(+43 -23)📝
src/api/core/two_factor/authenticator.rs(+2 -1)📝
src/api/core/two_factor/mod.rs(+4 -2)📝
src/api/core/two_factor/webauthn.rs(+2 -1)📝
src/api/mod.rs(+0 -27)📝
src/config.rs(+22 -0)...and 6 more files
📄 Description
Haven't tested MySQL or Postgres but I think the migrations are correct.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.