mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #3076] [MERGED] Update WebSocket Notifications #3213
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/3076
Author: @BlackDex
Created: 12/30/2022
Status: ✅ Merged
Merged: 1/9/2023
Merged by: @dani-garcia
Base:
main← Head:update-notifications📝 Commits (1)
996b60eUpdate WebSocket Notifications📊 Changes
8 files changed (+188 additions, -64 deletions)
View changed files
📝
src/api/admin.rs(+13 -5)📝
src/api/core/accounts.rs(+39 -8)📝
src/api/core/ciphers.rs(+56 -17)📝
src/api/core/folders.rs(+3 -3)📝
src/api/core/mod.rs(+18 -9)📝
src/api/core/organizations.rs(+24 -6)📝
src/api/core/sends.rs(+6 -0)📝
src/api/notifications.rs(+29 -16)📄 Description
Previously the websocket notifications were using the string
app_idas theContextId. This was incorrect and should have been the device_uuidfrom the client device executing the request. The clients will ignore
the websocket request if the uuid matches. This also fixes some issues
with the Desktop client which is able to modify attachments within the
same screen and causes an issue when saving the attachment afterwards.
Also changed the way to handle removed attachments, since that causes an
error saving the vault cipher afterwards, complaining about a missing
attachment. Bitwarden ignores this, and continues with the remaining
attachments (if any). This also fixes #2591 .
Further some more websocket notifications have been added to some other
functions which enhance the user experience.
Also renamed UpdateTypes to match Bitwarden naming.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.