Commit Graph

68 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
addison 6368b352ad [bug] Implemented browser state service calls 2021-12-17 14:45:23 -05:00
addison d6cf8c2957 [bug(Account Switching)] Add a secure storage provider to DI 2021-12-16 12:01:34 -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 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
Thomas Rittson f85a6958bc
Update jslib and service dependencies (#2179)
* Update service deps

* Fix linting

* Update jslib
2021-11-16 20:50:58 +10:00
Robyn MacCallum 3fd627a67b Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes 2021-11-15 15:03:56 -05:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05:00
Thomas Rittson cf28435ce3
[Key Connector] Add support for key connector and OTP (#2156)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 18:59:51 +01:00
Thomas Rittson bbbf152c62
Fix performance on MacOS, Chrome & external screen (#2104)
* Fix performance on MacOS, Chrome & external screen

* Undo dev logging, tidy up
2021-11-02 08:15:49 +10: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 cffd4b3515
Fix Copy Custom Field Name on pages with iframes (#2091)
* Improve error messages

* Send getClickedElement msg to specific frameId

* Add support for finding input element from label

* Use i18n for error messages

* Fix unrelated linting
2021-10-07 09:52:33 +10:00
Thomas Rittson 6dfb06c5b0
Use theme enum and platformUtilsService helpers (#2089)
* Use theme enum and platformUtilsService helpers

* Update jslib
2021-10-05 06:30:31 +10:00
Oscar Hinton a1f7e07f09
Add password show/hide to reprompt (#1902)
Co-authored-by: Addison Beck <abeck@bitwarden.com>
2021-08-27 15:27:22 +02:00
Oscar Hinton 7cf4cfe3d1
Add support for helpers in environment service (#1967) 2021-07-23 22:32:42 +02:00
Matt Gibson 55917b6cb0
Feature/use hcaptcha if bot (#1968)
* Add captcha to login page

* Include log service in DI providers for api-action directive

* Add captcha to register page

* update jslib
2021-07-23 13:22:53 -05:00
Thomas Rittson 9d720d6058 Fix loss of cipher data when using pass generator 2021-07-06 19:23:49 +10:00
Thomas Rittson 13f29ac8d6 Don't start i18n service if in private mode 2021-06-29 16:59:14 +10:00
Thomas Rittson f4d792aa9d Merge branch 'master' into use-lock-guard 2021-06-09 07:39:45 +10:00
Thomas Rittson 08e9dca7e4 Don't start popup services if in private mode 2021-06-08 15:31:54 +10:00
Thomas Rittson 6230302106 Finish refactoring route guards to use jslib 2021-06-08 10:04:59 +10:00
Thomas Rittson 2a810a1cca Merge branch 'master' into use-lock-guard 2021-06-08 08:58:30 +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
Thomas Rittson 1e998094df Use lockGuardService to prevent back navigation 2021-06-07 08:59:02 +10: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 44463e7bc0
Remove dead code (#1787)
* Remove dead analytics code
2021-04-14 23:43:09 +02:00
Oscar Hinton 97ac4a3267
Bump jslib (#1776) 2021-04-07 20:43:07 +02:00
Matt Gibson b69bbd3501
Use azure direct upload for send and attachments (#1744)
* Use azure direct upload for send and attachments

* Add required attachment changes

* update jslib
2021-03-29 10:16:31 -05:00
Thomas Rittson 626145e492 Revert "Merge pull request #1627 from emindeniz99/master"
This reverts commit 9063a98949, reversing
changes made to 540ca5d204.
2021-03-18 09:38:27 +10:00
Oscar Hinton e0f4386042
Add support for WebAuthn to browser extension (#1379) 2021-03-17 22:14:26 +01:00
Chad Scharf 23a56d5da2
Merge pull request #1630 from vrnvorona/add-disable-badge-counter
Option to disable badge text on icon
2021-03-12 15:23:56 -05:00
Chad Scharf 9063a98949
Merge pull request #1627 from emindeniz99/master
fix popup height
2021-03-12 15:16:41 -05:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Emin Deniz 1cb77f847e fix popup height 2021-02-22 03:01:31 +03:00
Vlad eb59c9e692 browser version of 287 issue
added condition when badge should set text based on setting
2021-02-22 01:35:14 +03:00
Chad Scharf e88b73c747
Merge pull request #1373 from sorin-davidoi/system-theme
feat: Use system theme if available
2020-12-16 10:33:33 -05:00
Matt Gibson e23d96a350
Add ConsoleLogService dependency from jslib (#1488)
* Pre-emptively add new jslib dependency

* Add ConsoleLogService dependency

* Update jslib

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-14 11:56:40 -06:00
Kyle Spearrin 63eb0959a7
support for sr lang. resolve sendService deps (#1466) 2020-11-18 16:54:29 -05:00
Kyle Spearrin b91b5b5be0 dont set setCryptoKeys to null 2020-09-15 16:27:28 -04:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Kyle Spearrin cc59905cc2
Update services.module.ts 2020-09-03 11:24:13 -04:00
Sorin Davidoi 260820711e feat: Use system theme if available
Depends on https://github.com/bitwarden/jslib/pull/161.

Closes https://github.com/bitwarden/browser/issues/1256.
2020-08-31 22:33:01 +02:00
Kyle Spearrin b795f0e587
Fix CryptoFunctionService and implement syncLoading (#1371)
* Fix things and implement syncLoading

* feedback
2020-08-31 14:21:59 -04:00
Matt Smith fad4f9ef5e Removed duplicate Crypto Function Service. 2020-08-28 13:40:21 -05:00
Matt Smith 91ce6527c0 Added set password flow to browser based SSO 2020-08-25 09:49:24 -05:00
Matt Smith 4b3cd22bce Merge branch 'master' into feature/sso 2020-08-19 15:08:09 -05:00
Kyle Spearrin b0868ea9c4 di resolution for CryptoFunctionServiceAbstraction 2020-08-19 10:03:19 -04:00
Matt Smith 1d0b549123 Modifications made to support SSO in Browser 2020-08-11 15:25:07 -05:00