Commit Graph

52 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
addison 2e793a31dd [style] Fix lint complaints 2021-12-17 14:53:21 -05:00
Robyn MacCallum a49f9fad06 extend state service 2021-12-16 09:39:46 -05:00
Robyn MacCallum f7d2e9c6a4 Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes
# Conflicts:
#	src/background/main.background.ts
#	src/background/notification.background.ts
#	src/popup/accounts/lock.component.ts
#	src/popup/accounts/login.component.ts
#	src/popup/services/services.module.ts
#	src/popup/settings/excluded-domains.component.ts
#	src/popup/settings/settings.component.ts
2021-12-13 14:15:23 -05:00
Oscar Hinton e4aaf81816
Replace toaster library (#2210) 2021-12-07 20:42:18 +01:00
Oscar Hinton 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05:00
addison 85e3436de6 [refactor] Replace references to deprecated services
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.

* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
2021-10-11 10:42:31 -04:00
Thomas Rittson 2449534e9e
Fix totp copy not working in Chrome (#2067)
* Fix totp copy not working in Chrome

* Only use fix for Chromium-based browsers
2021-09-22 07:36:28 +10:00
Oscar Hinton 4e1958f417
Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Oscar Hinton cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Oscar Hinton d252fd1740
Bump dependencies (#1792)
* Bump dependencies
2021-04-23 10:45:20 +02:00
Oscar Hinton 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Chad Scharf ed2837e826
Merge pull request #1617 from lionel-rowe/close-popup-on-esc
Close browser popup on Escape key press
2021-03-22 11:02:25 -04:00
lionel-rowe aee1968436 Close browser popup on Escape key press 2021-03-21 23:02:39 +00:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton 0f2c4b4a59 Remove more old safari app extension logic 2020-12-09 18:23:44 +01:00
Chad Scharf 7f1cc0199b Ensure auto auto-fill ignores new-password 2020-09-21 15:41:06 -04:00
Kyle Spearrin efbed1a9a3 remove safari copy totp clipboard hack 2019-08-19 12:05:13 -04:00
Kyle Spearrin e6d6275daa async fillCipher 2019-08-19 09:38:59 -04:00
Kyle Spearrin 4d261964e5 keep using on init 2019-08-19 09:31:08 -04:00
Kyle Spearrin 05684b3b03 allow reloading of current tab 2019-08-19 09:17:40 -04:00
Kyle Spearrin aa0bfd3b45 no async on params sub 2019-08-16 21:04:03 -04:00
Kyle Spearrin 3719095b18 async fixes 2019-08-16 21:01:08 -04:00
Kyle Spearrin a3f76cfd3a reload when on same page too 2019-08-16 20:59:54 -04:00
Kyle Spearrin 10bb317a67 search input type variable 2019-03-13 22:54:18 -04:00
Kyle Spearrin c903ad7e66 load even if sync didnt complete successfully 2018-11-27 09:28:36 -05:00
Kyle Spearrin f043010067 option to not show cards/identities on current tab list 2018-11-21 14:31:34 -05:00
Kyle Spearrin 1873df7f20 clear page details on load 2018-09-27 10:52:01 -04:00
Kyle Spearrin 4ab36bc8ee implement search service 2018-08-13 11:53:16 -04:00
Kyle Spearrin ada83aae8f use `navigator.clipboard` to copy text if available 2018-08-13 09:44:59 -04:00
Kyle Spearrin c67b63a452 refactor utils service to utils 2018-04-23 13:04:11 -04:00
Kyle Spearrin 97835f7627 detect chages on promise catch 2018-04-23 11:50:14 -04:00
Kyle Spearrin 613dfaafd0 from async for safari bug 2018-04-23 11:40:23 -04:00
Kyle Spearrin b40e51a7d1 safari totp copy workaround 2018-04-23 11:30:12 -04:00
Kyle Spearrin 06e56f0b57 copy totp from each implementation of autofill 2018-04-23 10:02:30 -04:00
Kyle Spearrin 0ddc4c2d41 remove whitespace 2018-04-18 16:38:01 -04:00
Kyle Spearrin 45ffa8fc1e condition show folders and collections 2018-04-18 16:28:25 -04:00
Kyle Spearrin 81200f3ecb only delay 100ms to focus search box 2018-04-18 15:50:26 -04:00
Kyle Spearrin 152fc981a1 manually focus search. only search on 2 characters 2018-04-18 15:49:17 -04:00
Kyle Spearrin e24e992e49 hostname as new login name, remove i18n string 2018-04-14 21:12:04 -04:00
Kyle Spearrin cfcb8653f7 edge browser adjustments 2018-04-14 14:56:30 -04:00
Kyle Spearrin 5958fa1fc4 only wait 5 seconds to load vault 2018-04-14 13:40:25 -04:00
Kyle Spearrin e871d4749b safari fixes 2018-04-14 12:52:46 -04:00
Kyle Spearrin 4a028376e4 init this.loginCiphers 2018-04-14 00:02:55 -04:00
Kyle Spearrin 31ddb97530 sort current tab logins by last used 2018-04-13 21:23:11 -04:00
Kyle Spearrin 1e3a82586a show popout conditionals 2018-04-11 10:48:48 -04:00
Kyle Spearrin 78058c3591 lint fixes 2018-04-10 23:49:46 -04:00