0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-11 08:29:00 +02:00
bitwarden_rs/src
BlackDex f1c0aa4f83
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.
2023-01-09 18:25:36 +01:00
..
api Update WebSocket Notifications 2023-01-09 18:25:36 +01:00
db Disable groups by default and Some optimizations 2022-12-18 20:32:06 +01:00
static Removed unsafe-inline JS from CSP and other fixes 2023-01-09 18:25:35 +01:00
auth.rs Fix recover-2fa not working. 2022-12-18 20:32:06 +01:00
config.rs Log message to stderr if LOG_FILE is not writable 2023-01-09 18:25:36 +01:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:17:48 +01:00
mail.rs Percent-encode org_name in links 2023-01-03 12:51:44 +01:00
main.rs Remove ctrlc crate and some updates 2022-12-12 22:56:10 +01:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Removed unsafe-inline JS from CSP and other fixes 2023-01-09 18:25:35 +01:00