Commit Graph

93 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
Robyn MacCallum 40cbf61ab7 Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes 2021-12-21 14:44:09 -05:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01: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 75e47f2f62
Merge pull request #1858 from bitwarden/cdk-virtual-scroll
Use cdk-virtual-scroll for long cipher lists
2021-06-14 14:35:35 -07:00
Thomas Rittson ebba6aed7f Remove unnecessary constructors 2021-06-10 07:36:30 +10:00
Thomas Rittson 57e34dc6e8 Merge remote-tracking branch 'origin' into cdk-virtual-scroll 2021-06-09 10:07:35 +10:00
Thomas Rittson f4d792aa9d Merge branch 'master' into use-lock-guard 2021-06-09 07:39:45 +10:00
Thomas Rittson 44d6a99575 fix homepage routes 2021-06-08 15:49:03 +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 1a143ef7c7 Use route guards from jslib to reduce duplication 2021-06-07 09:50:03 +10:00
Thomas Rittson 1e998094df Use lockGuardService to prevent back navigation 2021-06-07 08:59:02 +10:00
Thomas Rittson 6b954df58c Refactor to use virtual-scroll more selectively 2021-05-21 12:42:56 +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
Thomas Rittson 4a815e001a Merge branch 'master' into bugfix-attachments-in-popup 2021-02-04 17:01:57 +10:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Thomas Rittson 3844fdb959 Pop out attachments page on Firefox and Safari 2021-01-14 14:03:59 +10:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton db59f2791a Merge branch 'master' of github.com:bitwarden/browser into feature/safari-webext
# Conflicts:
#	src/browser/safariApp.ts
#	src/safari/safari/SafariExtensionViewController.swift
#	src/services/browserPlatformUtils.service.ts
2021-01-13 14:21:45 +01:00