1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-26 13:13:29 +00:00
Commit Graph

1429 Commits

Author SHA1 Message Date
addison
9bde1839d1 [bug] Ensure HtmlStorageService paths are accounted for in StateService 2021-11-04 16:20:34 -04:00
addison
a45e752a01 [refactor] Remove an unecassary parameter from a StorageOptions instance 2021-11-04 16:19:55 -04:00
addison
f47aecf083 [bug] Move disableFavicon to global state 2021-11-03 21:21:03 -04:00
addison
ff0af125c4 [style] Fix lint complaints 2021-11-03 19:53:50 -04:00
addison
a32bfa15b7 [bug] Ensure vault locking logic can operate over non-active accounts 2021-11-03 19:47:30 -04:00
addison
90f8318592 [bug] Adjust state scope of several biometric data points 2021-11-03 19:47:30 -04:00
addison
67677b7abe [bug] Add missing await to auth guard 2021-11-03 19:47:30 -04:00
addison
fde15347a5 [bug] Allow the lock message handler to manipulate a specific acount 2021-11-03 19:47:30 -04:00
addison
b7b0c751e7 [refactor] Slim down the boilerplate needed to manage options on StateService calls 2021-11-03 19:47:30 -04:00
Robyn MacCallum
6e3def21ae Update unauth-guard.service.ts
Add back return true
2021-11-03 09:57:50 -04:00
addison
95f395acb7 [bug] Move TwoFactorToken to global state 2021-11-02 17:17:53 -04:00
addison
9ed4050157 [bug] Add state service handlers for AutoConfirmFingerprint 2021-11-02 09:31:34 -04:00
addison
d9655c4f82 [bug] Add several missing awaits 2021-11-02 09:26:35 -04:00
addison
11fae781ac [bug] Add awaits to newly async calls in TokenService 2021-11-01 16:28:27 -04:00
addison
1a560bb219 [bug] Add loginRedirect to the account model 2021-11-01 16:27:43 -04:00
addison
83cc88bf5e [chore] Remove unused services
Several services are no longer in use because of the expanded state service. These have simply been removed.
2021-11-01 14:23:54 -04:00
addison
54fa024eb4 [feature] Implement account switching capable services across components and processes
* Replace calls to StorageService and deprecated services with calls to a StateService
2021-11-01 14:23:54 -04:00
addison
52d251db6c [refactor] Implement StateService across service layer
* Remove service level variables used for in memory data storage and replaced with calls to StateService
* Remove direct calls to StorageService in favor of using StateService as a proxy
2021-11-01 14:23:54 -04:00
addison
0088dcc2f5 [refactor] Create helper services for managing organization and provider state data 2021-11-01 14:23:54 -04:00
addison
7e59fdc899 [refactor] Expand StateService into a full coverage storage proxy
* Expand StateService to allow it to manage all data points of the application state regardless of memory.
* Expand StateService to allow for storing and managing multiple accounts
2021-11-01 14:23:54 -04:00
addison
4f71c1832c [refactor] Extract, rename, and expand StorageServiceOptions
* Pulled StorageServiceOptions into its own file
* Renamed StorageServiceOptions to StorageOptions
* Pulled KeySuffixOpptions into its own file
* Converted KeySuffixOptions into an enum from a union type
2021-11-01 13:24:27 -04:00
Matt Gibson
1bd968a023 Pass in null for sso organziation for now. (#531)
This will bypass cryptoagent
2021-10-28 10:03:03 -05:00
Matt Gibson
e90cc40f68 Allow managers to create collections (#530) 2021-10-27 13:06:27 -05:00
Thomas Rittson
bf6e9848e7 Add PR template (#529) 2021-10-27 19:00:34 +10:00
Robyn MacCallum
031cbff556 Add role="alert" to callouts only when enforceAlert is passed (#528)
* Add role="alert" to callouts when enforceAlert is passed

* Remove ElementRef and do a different way

* Rename input variable
2021-10-26 11:41:46 -04:00
Matt Gibson
0f9c2205d5 Dynamically set electron user agent (#524)
* Dynamically set electron user agent

* PR review

* linter fixes

* Test agent static version does not change

* Fix formatting
2021-10-26 08:45:32 -05:00
pan93412
257de6517c feat: add an importer for Safari (CSV) (#512)
* feat(importers/safariCsvImporter): add the importer for Safari (CSV)

* Revert changes to package-lock.json

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-10-26 17:00:03 +10:00
Oscar Hinton
71f8ef601f Add support for crypto agent (#520) 2021-10-25 18:21:40 +02:00
Matt Gibson
bc55557052 Add node tests to pipeline (#525) 2021-10-22 14:02:31 -05:00
Thomas Rittson
24fe836032 Fixes for dynamic modal a11y (#518)
* Do not close modal if click finishes on background

* Trap tab focus in modals, use ESC to close modal

* Fix Angular change detection errors in modals

* Reset focus on next modal after closing modal

* Minor fixes and linting

* Attach focusTrap to modal-dialog element

* Change mousedown event back to click

* Make topModal private

* Add new div for dismissing modal by clicking bg

* Focus element in modal if no autoFocus directive

* Use backdrop for dismissal

* Fix typo
2021-10-21 08:13:37 +10:00
Matt Gibson
815b436f7c Fix Typo. Collection create has full view access (#523) 2021-10-20 10:31:25 -05:00
Oscar Hinton
f09fb69882 Remove empty catch blocks, and update tslint rule (#513) 2021-10-19 10:32:14 +02:00
Vince Grassia
62011628d0 Add notify constraint (#522) 2021-10-15 13:06:46 -04:00
Vince Grassia
2c1ae933a4 Add Slack alerts for Build workflow failures (#521) 2021-10-14 14:34:17 -04:00
Oscar Hinton
14a60773cc Add logic for fetching organization policies if the user has access through a provider (#519) 2021-10-14 09:33:46 +02:00
Thomas Rittson
a20e935268 Use rxjs first instead of unsubscribe (#516) 2021-10-14 10:27:52 +10:00
Vince Grassia
28936a113f Fix workflow with linter suggestions (#517) 2021-10-13 10:18:02 -04:00
Oscar Hinton
56233e4002 Move Avatar component to jslib (#496) 2021-10-13 09:55:19 +02:00
Oscar Hinton
e3ab324d59 Fix OrganizationSsoResponse not behaving correctly in production (#515) 2021-10-12 13:57:08 +02:00
Vincent Salucci
61ffb4f5d9 [Reset Password] Update CLI to use auth result for forced reset (#505)
* [Reset Password] Update CLI to use auth result for forced reset

* Fixed lint issues

* Requested Changes and fixed sync bug

* Only update password is not using an API key for auth
2021-10-11 14:55:59 -05:00
Oscar Hinton
764dc40b36 Change policyAppliesToUser to behave differently for MaximumVaultTimeout (#514) 2021-10-11 18:35:06 +02:00
Vincent Salucci
542852a3be [Reset Password] BUG - Update local policies for enforcement (#510) 2021-10-08 11:18:25 -05:00
Addison Beck
e69425cb41 [bug] Set a default value for custom send deletion times in the safari extension (#511)
* [bug] Set a default value for custom send deletion times in the safari extension

* [review] tomorrow -> nextWeek for default custom send deletion time values
2021-10-08 10:42:22 -04:00
Thomas Rittson
64bc115109 Set default ownership if Personal Ownership policy applies (#509) 2021-10-08 07:15:02 +10:00
Oscar Hinton
bfa9a1e1bc Remove Business Portal, add SSO configuration models (#506) 2021-10-06 19:36:20 +02:00
Oscar Hinton
91c5393ae7 Bump packages in root jslib (#507) 2021-10-01 17:24:49 +02:00
Matt Gibson
562e1fe459 Feature/split manage collections permission (#504)
* Split manage collections permissions

* Convert camel to pascal case for element id -> name
2021-10-01 07:50:30 -05:00
Thomas Rittson
ce71c0c0bd Add theme enums and platformUtilsService helper (#497)
* Use enum for themes, add getEffectiveTheme

* Update electron and cli to use theme refactor
2021-09-30 06:37:36 +10:00
Oscar Hinton
91b73fa777 Resolve biometric error dissapearing before being read (#501) 2021-09-28 16:23:25 +02:00
Oscar Hinton
206ef610d0 Bump signalr to 5.0.10 (#502) 2021-09-28 15:47:19 +02:00