Commit Graph

14866 Commits

Author SHA1 Message Date
Jared Snider 00cac8eb38
PM-7392 - Desktop AppComp - cleanup messaging 2024-05-07 18:25:39 -04:00
Jared Snider 2f414d6f72
PM-7392 - ToastService - we need to await the activeToast.onHidden observable so return the activeToast from the showToast. 2024-05-07 18:23:49 -04:00
Jared Snider 0ef0bd3f1d
PM-7392 - Rename file to be type from enum 2024-05-07 16:30:23 -04:00
Jared Snider 4d8d43bfb0
PM-7392 - Per PR feedback, adjust enc string changes and tests. 2024-05-07 16:21:10 -04:00
Jared Snider ed6f2e45d3
PM-7392 - ApiService - Stop using messaging to trigger toast to let user know about refresh access token errors; replace with client specific callback logic.
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2024-05-07 15:59:04 -04:00
Jared Snider 26eb13280f
PM-7392 - Swap logout reason from enum to type. 2024-05-07 14:35:52 -04:00
Jared Snider 28d2a8797c
PM-7392 - Per PR feedback, move error handling toast responsibility to client specific app component logic reached via messaging. 2024-05-07 13:57:51 -04:00
Jared Snider c5b807114f
PM-7392 - Fix copy for errorRefreshingAccessToken 2024-05-07 13:53:53 -04:00
Jared Snider 935c97fbb6
PM-7392 - ApiService - refreshIdentityToken - log error before swallowing it so we have a record of it. 2024-05-07 12:57:21 -04:00
Jared Snider 923c6cf36a
PM-7392 - Per PR feedback, adjust all test names to match naming convention. 2024-05-07 11:43:16 -04:00
Jared Snider 20bc6d7f71
PM-7392 - Per PR feedback, move tests to existing describe. 2024-05-07 10:52:06 -04:00
Jared Snider bee849d47c
PM-7392 - Per PR feedback, remove links. 2024-05-07 10:44:27 -04:00
Jared Snider b5508ec149
PM-7392 - Per PR feedback, update incorrect comment from 3 releases to 3 months. 2024-05-07 10:43:38 -04:00
Jared Snider 5e2cb4855a
PM-7392 - Per PR feedback, add missing tests (thank you Jake for writing these!)
Co-authored-by: Jake Fink <jfink@bitwarden.com>
2024-05-07 10:25:55 -04:00
Jared Snider c2bea80193
PM-7392 - Fix CLI build errors 2024-05-06 21:42:02 -04:00
Jared Snider 1acb5d0aa5
PM-7392 - If the access token cannot be refreshed due to a missing refresh token or API keys, then surface an error to the user and log it so it isn't a silent failure + we get a log. 2024-05-06 21:06:01 -04:00
Jared Snider 843e045b44
PM-7392 - Fix SetRefreshToken case where a null input would incorrectly trigger a fallback to disk. 2024-05-06 20:19:41 -04:00
Jared Snider 11f7024e8f
PM-7392 - API service - update doAuthRefresh error to clarify which token cannot be refreshed. 2024-05-06 16:46:34 -04:00
Jared Snider f7a08925f8
PM-7392 - Per PR feedback and discussion, do not log the user out if hte refresh token cannot be found. This will allow users to continue to use the app until their access token expires and we will error on trying to refresh it. The app will then still work on a fresh login for 55 min. 2024-05-06 16:45:38 -04:00
Jared Snider ec01624f81
Merge remote-tracking branch 'origin/main' into auth/pm-7392/token-service-add-secure-storage-fallback + app.component merge conflict resolution 2024-05-06 11:19:11 -04:00
github-actions[bot] b223e62c06
Autosync the updated translations (#9051)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-06 14:54:09 +00:00
github-actions[bot] adcb583fb0
Autosync the updated translations (#9052)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-06 14:52:02 +00:00
github-actions[bot] bca8e0d030
Autosync the updated translations (#9053)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-06 14:51:25 +00:00
Will Martin 76cc0f43aa
[CL-280] truncate overflow text in bit-item (#8992) 2024-05-06 10:29:23 -04:00
cyprain-okeke 4877f08ef7
Change cancel button to close and add period to end (#9047) 2024-05-06 00:41:15 +01:00
KiruthigaManivannan 77d854b5c1
PM-7843 Two Factor Verification is Empty on Organization duo 2fa (#9008)
* PM-7843 Two Factor Verification is Empty on Organization duo 2fa

* PM-7843 Addressed review comments
2024-05-05 14:54:22 -04:00
Justin Baur 869fa29da6
Encourage The Use of UserId in CryptoService (#9033) 2024-05-04 02:04:56 -04:00
Justin Baur e4ef7d362e
[PM-7838] [PM-7864] Ensure AuthStatus Changes Before Exiting (#9018)
* Ensure AuthStatus Changes Before Exiting

* Do Not Display Account Without Name Or Email

* Fix Environment Selectors

* Add AccountService.clean to Web
2024-05-03 16:43:42 -04:00
Jared Snider 1b372b4cf7
PM-7392 - TokenSvc - (1) Remove test code (2) Refactor decryptAccessToken method to accept access token key and error on failure to pass required decryption key to method. 2024-05-03 15:28:26 -04:00
Jared Snider 457e7a4819
Merge branch 'main' into auth/pm-7392/token-service-add-secure-storage-fallback 2024-05-03 14:56:26 -04:00
Justin Baur b46766affd
[PM-7907] No more optional `privateKey` (#9029)
* Update Emergency Access To Get Their Own Key

* Migrate Organization Keys To Get Their Own Key

* Remove Optional Parameters

* Update Abstraction Parameter Name to Match Implementation

* Add @throws Doc
2024-05-03 14:30:45 -04:00
Jared Snider c2295e25ab
PM-7392 - TokenSvc - update to use EncString instead of EncryptSvc + fix tests. 2024-05-03 14:26:59 -04:00
Matt Gibson a4d5717283
Use account service for account enumeration. (#9023) 2024-05-03 14:24:30 -04:00
Jared Snider 38856083ac
PM-7392 - Actually fix circ dep issues with Justin. Ty!
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-05-03 14:14:04 -04:00
Jared Snider ee6b1a35ec
PM-7392 - Remove encrypt service method
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-05-03 14:10:52 -04:00
Jared Snider 8c8c44430d
PM-7392 - Enc String - (1) Add handling for Nan in parseEncryptedString (2) Added null handling to isSerializedEncString. (3) Plan to remove encrypt service implementation
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-05-03 14:07:58 -04:00
Alex Morask 0b02d2ee1c
[AC-1970] Add billing navigation group to provider layout (#8941)
* Add billing navigation item to provider layout with empty subscription page behind FF.

* Fixing tests

* Missed build error

* Addison's feedback

* Remove unused function

* Missed one get$ conversion

* Fixed background failure
2024-05-03 12:36:10 -04:00
Jake Fink 4c860e12d7
fix init account validation (#9034) 2024-05-03 12:23:12 -04:00
Jake Fink 69ed6ce1f5
[PM-6727] Part 1: pass userId in login strategies (#9030)
* add validation to initAccount

* pass userId to setMasterKey

* fix key connector tests
2024-05-03 11:54:29 -04:00
Jared Snider e9d2f3fec9
PM-7392 - Don't re-invent the wheel and simply use existing isSerializedEncString static method. 2024-05-03 11:31:42 -04:00
Jared Snider 6456670c2f
PM-7392 - Main.ts - remove comment. 2024-05-03 11:25:10 -04:00
Jared Snider 7416fec332
Merge branch 'main' into auth/pm-7392/token-service-add-secure-storage-fallback 2024-05-03 11:19:49 -04:00
Jared Snider dbbf100187
PM-7392 - Main.ts - fix circ dep issue. 2024-05-03 11:17:35 -04:00
Jared Snider 1db1728bd2
PM-7392 - EncryptSvc - test new stringIsEncString method 2024-05-03 11:09:33 -04:00
renovate[bot] debfe914c2
[deps] Platform (CL): Update tailwindcss to v3.4.3 (#8736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 10:47:20 -04:00
Anas ed236df24b
fix(8560): refreshing reports pages displays empty pages (#8700) 2024-05-03 14:44:57 +01:00
github-actions[bot] 1f6eec4dd5
Autosync the updated translations (#9028)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-03 07:22:44 +00:00
github-actions[bot] f5012e39ef
Autosync the updated translations (#9026)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-03 07:14:45 +00:00
github-actions[bot] 7b96979c00
Autosync the updated translations (#9027)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-05-03 06:51:44 +00:00
Jared Snider 87c8520d09
PM-7392 - TokenSvc tests - getAccessToken - all new scenarios tested 2024-05-02 20:19:08 -04:00