clients/apps/browser/src/background
Max 721f253ef9
[PM-28536] Add phishing blocker setting to account security (#17527)
* added phishing blocker toggle

* design improvements

* Fix TypeScript strict mode errors in PhishingDetectionSettingsServiceAbstraction

* Camel case messages

* Update PhishingDetectionService.initialize parameter ordering

* Add comments to PhishingDetectionSettingsServiceAbstraction

* Change state from global to user settings

* Remove clear on logout phishing-detection-settings

* PM-28536 making a change from getActive to getUser because of method being deprecated

* Moved phishing detection services to own file

* Added new phishing detection availability service to expose complex enable logic

* Add test cases for PhishingDetectionAvailabilityService

* Remove phishing detection availability in favor of one settings service

* Extract phishing detection settings service abstraction to own file

* Update phishing detection-settings service to include availability logic. Updated dependencies

* Add test cases for phishing detection element. Added missing dependencies in testbed setup

* Update services in extension

* Switch checkbox to bit-switch component

* Remove comment

* Remove comment

* Fix prettier vs lint spacing

* Replace deprecated active user state. Updated test cases

* Fix account-security test failing

* Update comments

* Renamed variable

* Removed obsolete message

* Remove unused variable

* Removed unused import

---------

Co-authored-by: Leslie Tilton <23057410+Banrion@users.noreply.github.com>
Co-authored-by: Graham Walker <gwalker@bitwarden.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
2025-12-15 09:51:31 -06:00
..
commands.background.ts [PM-25206] Inject service instead of passing as param (#16801) 2025-11-05 17:11:34 +01:00
idle.background.ts [PM-25206] Inject service instead of passing as param (#16801) 2025-11-05 17:11:34 +01:00
main.background.spec.ts PM-19741 Adds a notification at login for at-risk passwords. (#14555) 2025-06-11 10:20:53 -04:00
main.background.ts [PM-28536] Add phishing blocker setting to account security (#17527) 2025-12-15 09:51:31 -06:00
nativeMessaging.background.ts [PM-17666] Move Encstring to KM ownership (#15457) 2025-07-16 11:15:24 -04:00
runtime.background.ts revert isValidVaultReferrer for vault messages - blocking self hosting users because their the web vault hostnames are unknown (#17828) 2025-12-05 14:14:10 -06:00