[PR #6916] Add support for archiving items #20698

Open
opened 2026-04-25 22:40:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6916
Author: @matt-aaron
Created: 3/9/2026
Status: 🔄 Open

Base: mainHead: archiving


📝 Commits (4)

  • c2779fa Add archiving
  • b3b47eb Update Diesel macros and remove unnecessary SUPPORTED_FEATURE_FLAG
  • f879f12 Add IF EXISTS to down.sql migratinos
  • c949b84 Rename migration folders, separate logic based on PR threads

📊 Changes

12 files changed (+324 additions, -9 deletions)

View changed files

migrations/mysql/2026-03-09-005927_add_archives/down.sql (+1 -0)
migrations/mysql/2026-03-09-005927_add_archives/up.sql (+10 -0)
migrations/postgresql/2026-03-09-005927_add_archives/down.sql (+1 -0)
migrations/postgresql/2026-03-09-005927_add_archives/up.sql (+8 -0)
migrations/sqlite/2026-03-09-005927_add_archives/down.sql (+1 -0)
migrations/sqlite/2026-03-09-005927_add_archives/up.sql (+8 -0)
📝 src/api/core/ciphers.rs (+170 -5)
📝 src/api/core/mod.rs (+2 -2)
src/db/models/archive.rs (+91 -0)
📝 src/db/models/cipher.rs (+19 -2)
📝 src/db/models/mod.rs (+2 -0)
📝 src/db/schema.rs (+11 -0)

📄 Description

Adds support for archiving items: https://github.com/dani-garcia/vaultwarden/discussions/6372

I'm new to the codebase, so let me know if I have missed anything. Happy to apply any feedback you may have. Thank you!


🔄 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/dani-garcia/vaultwarden/pull/6916 **Author:** [@matt-aaron](https://github.com/matt-aaron) **Created:** 3/9/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `archiving` --- ### 📝 Commits (4) - [`c2779fa`](https://github.com/dani-garcia/vaultwarden/commit/c2779fa036249c8246d709d8893e469d96db614e) Add archiving - [`b3b47eb`](https://github.com/dani-garcia/vaultwarden/commit/b3b47eb352eb9f5650d50dcbec23cf82e92f1987) Update Diesel macros and remove unnecessary SUPPORTED_FEATURE_FLAG - [`f879f12`](https://github.com/dani-garcia/vaultwarden/commit/f879f126429ceb2c38f978de207d576dc380a03e) Add IF EXISTS to down.sql migratinos - [`c949b84`](https://github.com/dani-garcia/vaultwarden/commit/c949b8491fbf19f79784ac7f4c180bd2d5db269d) Rename migration folders, separate logic based on PR threads ### 📊 Changes **12 files changed** (+324 additions, -9 deletions) <details> <summary>View changed files</summary> ➕ `migrations/mysql/2026-03-09-005927_add_archives/down.sql` (+1 -0) ➕ `migrations/mysql/2026-03-09-005927_add_archives/up.sql` (+10 -0) ➕ `migrations/postgresql/2026-03-09-005927_add_archives/down.sql` (+1 -0) ➕ `migrations/postgresql/2026-03-09-005927_add_archives/up.sql` (+8 -0) ➕ `migrations/sqlite/2026-03-09-005927_add_archives/down.sql` (+1 -0) ➕ `migrations/sqlite/2026-03-09-005927_add_archives/up.sql` (+8 -0) 📝 `src/api/core/ciphers.rs` (+170 -5) 📝 `src/api/core/mod.rs` (+2 -2) ➕ `src/db/models/archive.rs` (+91 -0) 📝 `src/db/models/cipher.rs` (+19 -2) 📝 `src/db/models/mod.rs` (+2 -0) 📝 `src/db/schema.rs` (+11 -0) </details> ### 📄 Description Adds support for archiving items: https://github.com/dani-garcia/vaultwarden/discussions/6372 I'm new to the codebase, so let me know if I have missed anything. Happy to apply any feedback you may have. Thank you! --- <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-04-25 22:40:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#20698