mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-18 18:02:47 -05:00
[PR #7363] Add Sends email verification support #41365
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/7363
Author: @Timshel
Created: 6/22/2026
Status: 🔄 Open
Base:
main← Head:feature/sends📝 Commits (2)
9f7fcc0Sends email verification0036471Refactor Sends table📊 Changes
22 files changed (+494 additions, -97 deletions)
View changed files
📝
.env.template(+4 -0)➕
migrations/mysql/2026-06-18-120000_add_sends_emails/down.sql(+2 -0)➕
migrations/mysql/2026-06-18-120000_add_sends_emails/up.sql(+51 -0)➕
migrations/postgresql/2026-06-18-120000_add_sends_emails/down.sql(+2 -0)➕
migrations/postgresql/2026-06-18-120000_add_sends_emails/up.sql(+20 -0)➕
migrations/sqlite/2026-06-18-120000_add_sends_emails/down.sql(+0 -0)➕
migrations/sqlite/2026-06-18-120000_add_sends_emails/up.sql(+52 -0)📝
playwright/tests/send.spec.ts(+83 -6)📝
playwright/tests/setups/2fa.ts(+1 -1)📝
src/api/core/sends.rs(+25 -16)📝
src/api/identity.rs(+4 -0)📝
src/api/notifications.rs(+1 -2)📝
src/api/push.rs(+1 -3)📝
src/auth/send.rs(+44 -3)📝
src/config.rs(+4 -0)📝
src/db/models/mod.rs(+1 -1)📝
src/db/models/send.rs(+141 -61)📝
src/db/schema.rs(+16 -4)📝
src/mail.rs(+13 -0)📝
src/main.rs(+7 -0)...and 2 more files
📄 Description
Built on top of https://github.com/dani-garcia/vaultwarden/pull/7346
Remarks:
protected_actiontemplate but it could make senseInclude some refactoring on the
sendtable (split in a separate commit)organization_uuidcolumn since it's not used and I could not find mention of Sends for org.user_uuidasNOT NULLhide_emailasNOT NULL, will default tofalse.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.