Commit Graph

33 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 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01: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
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Thomas Rittson 82138a08ff
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +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
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02: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
Matt Gibson 91daa2729c
Update view di requirements (#1796)
* Update view di requirements

* Update jslib
2021-04-22 09:40:31 -05:00
Thomas Rittson ced6d57f93 Hide autofill buttons for certain cipher types 2021-03-19 11:07:22 +10:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Matt Gibson 0cd6efd67f
Move share from edit to view. Fix animations (#1497)
* Move share from edit to view. Fix animations

Editing and Sharing a cipher simultaneously results in lost edits. Move
share button to the view page to resolve this confusion.

Previous routing caused the share form to be animated again on
submition, resulting in a stuttering page load. This method correctly
animates all transitions with the concession that the share page
always takes you back to the view page. This is not necessarily the current
behavior, but it is the most likely behavior in the current scheme

* Update jslib reference
2020-12-17 11:06:31 -06:00
Chad Scharf 7f1cc0199b Ensure auto auto-fill ignores new-password 2020-09-21 15:41:06 -04:00
Chad Scharf dbbd07641a Remove old IE Edge hacks 2020-09-15 10:50:45 -04:00
Kyle Spearrin b7c2c76230
finish autofill from view, other misc cleanup (#1368)
* finish autofill from view, other misc cleanup

* compare hostnames for authResult
2020-08-24 10:17:15 -04:00
eliykat d4d5ccc4a4
“Autofill” and “Autofill and Save” buttons for the browser extension Vault (#1367)
* Add autofill button to View cipher screen in Vault

* Add Autofill and Save button to View screen in Vault

* disable Vault Autofill buttons in popout

* tidy up 'autofill from vault' features as per feedback in PR #1367

Includes:
- remove duplicate code
- better handling of error and success messages
2020-08-24 09:10:15 -04:00
Chad Scharf 4116302965 [Soft Delete] - Trash bin in browser extension 2020-04-13 10:26:11 -04:00
Vincent Salucci c57340c4f3
Implement personal item cloning capability (#1129)
* Initial pass of clone item

* Updated npm sub:pull script to include target branches

* Made requested changes

* Formatting changes

* Fixed lint warnings
2020-02-04 16:08:13 -05:00
Kyle Spearrin 1fece3079f event logging on view page 2019-07-09 13:56:17 -04:00
Kyle Spearrin 7653ce2234 null checks on query param sub 2019-01-16 23:30:39 -05:00
Kyle Spearrin fd5d47da7c unsub from queryParams observable 2018-12-20 10:20:57 -05:00
Kyle Spearrin adb3dc78ee remove analytics in favor of platform utils 2018-10-03 00:21:22 -04:00
Kyle Spearrin 89a448b12f platform utils for toasting 2018-10-02 23:33:56 -04:00
Kyle Spearrin 2bb3d27408 user canAccessPremium checks 2018-08-28 23:17:39 -04:00
Kyle Spearrin 50c94f587d implement notifications service 2018-08-20 17:40:39 -04:00
Kyle Spearrin 975913fee0 cant download attachments on edge 2018-07-24 23:23:44 -04:00
Kyle Spearrin cfcb8653f7 edge browser adjustments 2018-04-14 14:56:30 -04:00
Kyle Spearrin 67ab9b1d3e move new app into popup folder 2018-04-10 21:54:20 -04:00