1
0
Fork 0
vaultwarden-test/src/api
BlackDex 996b60e43d
Update WebSocket Notifications
Previously the websocket notifications were using `app_id` as the
`ContextId`. This was incorrect and should have been the device_uuid
from 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.

- Logout users when deauthed, changed password, rotated keys
- Trigger OrgSyncKeys on user confirm and removal
- Added some extra to the send feature

Also renamed UpdateTypes to match Bitwarden naming.
2022-12-31 20:39:53 +01:00
..
core Update WebSocket Notifications 2022-12-31 20:39:53 +01:00
admin.rs Update WebSocket Notifications 2022-12-31 20:39:53 +01:00
icons.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:15:03 +01:00
identity.rs Fix recover-2fa not working. 2022-12-18 20:32:06 +01:00
mod.rs Add Organizational event logging feature 2022-12-01 22:38:59 +01:00
notifications.rs Update WebSocket Notifications 2022-12-31 20:39:53 +01:00
web.rs Disable groups by default and Some optimizations 2022-12-16 14:52:42 +01:00