1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-26 03:01:53 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Jonathan Prusik c65e92f769
[PM-5560] Implement Autofill Settings state provider ()
* Begin migration of autofill settings

Co-authored-by: Cesar Gonzalez <cagonzalezcs@users.noreply.github.com>
Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
Co-authored-by: Colton Hurst <coltonhurst@users.noreply.github.com>

* add browser dependency for AutofillSettingsService

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* update autofill settings service

* replace usages of stateService get/set autofillOnPageLoad with autofillSettingsService

* replace usages of stateService get/set autofillOnPageLoadDefault with autofillSettingsService

* replace usages of stateService get/set autoCopyTotp with autofillSettingsService

* replace usages of stateService get/set autoFillOnPageLoadCalloutIsDismissed with autofillSettingsService

* replace usages of stateService get/set activateAutoFillOnPageLoadFromPolicy with autofillSettingsService

* replace usages of get/set autoFillOverlayVisibility with autofillSettingsService

* inlineMenuVisibility should use global state

* add the AutofillSettingsService to background scripts

* fix typing

* replace additional usages of get/set autoFillOverlayVisibility and disableAutoTotpCopy with autofillSettingsService equivalents

* replace additional usages of get/set autofillOnPageLoadDefault with autofillSettingsService equivalent

* replace additional usages of get/set activateAutoFillOnPageLoadFromPolicy with autofillSettingsService equivalent

* remove additional deprecated and unused state service calls

* improve naming conventions and consistency

* fix missing mock for policy service test

* replace missing overlay background tests

* cleanup

* fix double inversion

* fix reference to wrong setter

* move handleActivateAutofillPolicy out of BrowserPolicyService

* create state migration script

* resolve linting issues

* remove migrated setting properties

* add AutofillSettingsSErvice to jslib-services

* handle conditional content script loading via autofillOnPageLoad check

* add deprecated note to getFromLocalStorage

* add jsdoc decorators to new autofill service methods

* handle undefined globalState

* move autofill settings out of BrowserPolicyService

* Move autofill settings code out of policyService

* fix tests

* fix typo in state definition

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Cesar Gonzalez <cagonzalezcs@users.noreply.github.com>
Co-authored-by: Thomas Avery <Thomas-Avery@users.noreply.github.com>
Co-authored-by: Colton Hurst <coltonhurst@users.noreply.github.com>
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2024-02-12 17:11:04 -05:00
.codescene disable code duplication check in unit tests () 2023-11-06 15:48:34 -05:00
.github Fix while loop () 2024-02-12 18:16:00 +00:00
.husky Update husky hooks () 2024-01-30 06:50:54 -08:00
.storybook [CL-133] add skip links to bit-layout () 2023-12-15 09:06:05 -05:00
.vscode [CL-120] add CL i18n entries to desktop and browser () 2023-08-21 09:01:13 -04:00
apps [PM-5560] Implement Autofill Settings state provider () 2024-02-12 17:11:04 -05:00
bitwarden_license PM-3231 Vault Onboarding Part 1 () 2024-02-12 11:43:43 -05:00
libs [PM-5560] Implement Autofill Settings state provider () 2024-02-12 17:11:04 -05:00
patches Make Argon2 WebAssembly module unload after use () 2023-07-03 07:12:42 -05:00
scripts [deps] Autofill: Update prettier to v3 () 2023-11-29 16:15:20 -05:00
.editorconfig Add support for migrated jslib () 2022-06-03 18:01:07 +02:00
.eslintignore [PM-5551] Removing Autofill v2 and AutofillOverlay Feature Flags () 2024-01-22 17:11:07 +00:00
.eslintrc.json Add eslint rule no-floating-promises () 2024-02-02 15:13:37 -05:00
.git-blame-ignore-revs add prettier formatting merge commit to .git-blame-ignore-revs () 2023-11-29 17:53:26 -05:00
.gitattributes Apply Prettier () 2021-12-21 15:43:35 +01:00
.gitignore Noop notifications for dev () 2023-10-24 15:18:23 +02:00
.nvmrc [PM-358] Bump electron to 24 and node to 18 () 2023-05-01 11:09:24 +02:00
.prettierignore [PM-5551] Removing Autofill v2 and AutofillOverlay Feature Flags () 2024-01-22 17:11:07 +00:00
.prettierrc.json Update CL documentation () 2023-05-08 14:46:59 +02:00
angular.json [PM-2276] Upgrade Storybook to v7 () 2023-05-26 15:58:06 +02:00
clients.code-workspace fix build lint failure for prettier formatting () 2024-01-29 12:45:51 -05:00
CONTRIBUTING.md Update README and CONTRIBUTING to point to contributing.bitwarden.com () 2022-06-13 17:34:07 +10:00
jest.config.js create team owned libs for billing, admin-console, platform () 2023-12-15 09:02:21 -05:00
LICENSE_BITWARDEN.txt Update LICENSE_BITWARDEN.txt () 2022-09-13 09:04:36 -04:00
LICENSE_GPL.txt Prepare bitwarden_license directory () 2022-05-09 17:50:15 +02:00
LICENSE.txt Prepare bitwarden_license directory () 2022-05-09 17:50:15 +02:00
package-lock.json [PM-5820] Upgrade angular to 16 () 2024-02-12 17:00:41 +01:00
package.json [PM-5820] Upgrade angular to 16 () 2024-02-12 17:00:41 +01:00
README.md Fix badge links () 2024-01-30 20:24:07 +00:00
SECURITY.md Revise language on SECURITY.md 2022-03-15 15:39:14 -04:00
tailwind.config.js create team owned libs for billing, admin-console, platform () 2023-12-15 09:02:21 -05:00
tsconfig.eslint.json create team owned libs for billing, admin-console, platform () 2023-12-15 09:02:21 -05:00
tsconfig.json Auth/PM-4596 - Extract PIN and Biometrics unlock method logic into re-useable services for user verification () 2024-01-16 14:52:06 -05:00

Bitwarden

GitHub Workflow browser build on main GitHub Workflow CLI build on main GitHub Workflow desktop build on main GitHub Workflow web build on main gitter chat


Bitwarden Client Applications

This repository houses all Bitwarden client applications except the Mobile application.

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

We're Hiring!

Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.

Contribute

Code contributions are welcome! Please commit any pull requests against the main branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.