1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-27 23:31:41 +02:00
bitwarden-browser/apps/browser
Matt Gibson 94b57687f5
[PM-7926] Handle complex user logout events (#9115)
* Update activity when switching users

* Clear data of designated user

* Do not switchMap to null, always to Promise or Observable

* handle uninitialized popup services

* Switch to new account immediately and log out as inactive.

Split up done logging out and navigation so we can always display expire warning.

* Do not navigate in account switcher, main.background takes care of it

* Ignore storage updates from reseed events

* Remove loading on cancelled logout

* Catch missed account switch errors

* Avoid usage of active user state in sync service

Send service does not currently support specified user data
manipulation, so we ensure that the notification was sent to the
active user prior to processing the notification.

* Clear sequentialize caches on account switch

These caches are used to ensure that rapid calls to an async method are not repeated. However, the cached promises are valid only within a given userId context and must be cleared when that context changes.

* Revert `void` promise for notification reconnect

* Update libs/angular/src/services/jslib-services.module.ts

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

* Handle switch account routing through messaging background -> app

* Use account switch status to handle unlocked navigation case.

* Revert "Handle switch account routing through messaging background -> app"

This reverts commit 8f35078ecb.

---------

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-05-14 16:27:43 -04:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
config [PM-7662] Suppress welcome window on install when extension is in dev mode (#8864) 2024-05-06 15:25:41 -04:00
spec Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
src [PM-7926] Handle complex user logout events (#9115) 2024-05-14 16:27:43 -04:00
store Autosync the updated translations (#9113) 2024-05-13 12:39:47 +00:00
.eslintrc.json [PM-5743] Implement eslint rule for usage of window object in background script (#7849) 2024-03-29 15:55:23 +00:00
.gitignore Ps/pm 2910/browser header component (#6641) 2023-10-25 18:27:32 +00:00
crowdin.yml Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
gulpfile.js Fix Beta Version (#8944) 2024-04-29 13:40:44 -04:00
jest.config.js Ps/pm 5533/migrate decrypted user key (#7970) 2024-02-22 15:07:26 -05:00
package.json make manifest v3 the default for build and build:watch commands (#9160) 2024-05-13 16:49:31 -04:00
postcss.config.js [PM-2237] Add tailwind to desktop & browser (#5326) 2023-07-14 15:03:42 -04:00
README.md [PM-5632] Update Bitwarden extension review URLs (#7470) 2024-01-08 21:08:18 +01:00
tailwind.config.js [PM-2237] Add tailwind to desktop & browser (#5326) 2023-07-14 15:03:42 -04:00
test.setup.ts [PM-5744] Adjust Fido2 Content Script Injection to Meet mv3 Requirements (#8222) 2024-04-18 16:05:16 +00:00
tsconfig.json [CL-219][CL-218][CL-217] Add new extension layout components (#8728) 2024-04-26 09:35:32 -04:00
tsconfig.spec.json [PM-3285] Autofill v2 Feature Branch (#5939) 2023-09-07 15:33:04 -05:00
webpack.config.js [PM-5744] Adjust Fido2 Content Script Injection to Meet mv3 Requirements (#8222) 2024-04-18 16:05:16 +00:00

Github Workflow build browser on master Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Browser Extension

The Bitwarden browser extension is written using the Web Extension API and Angular.

My Vault

Documentation

Please refer to the Browser section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.