1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00
Commit Graph

16945 Commits

Author SHA1 Message Date
Andreas Coroiu
1d335bb164
[PM-16262] Make getEnvironment observable and use it in SdkService (#12501)
* feat: re-implement getEnvironment as an observable

* feat: deprecate `getEnvironment`

* fix: use correct environment function in SdkService

* fix: test
2024-12-20 15:20:23 +01:00
Daniel James Smith
2041799174
Fix Crowdin push (#12500)
Related to https://github.com/bitwarden/clients/pull/11961

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 09:18:35 -05:00
Oscar Hinton
8caadacfbc
[PM-16217] Remove wasm timeout (#12476)
Remove the WASM timeout logic and supported$.
2024-12-20 13:54:52 +01:00
bw-ghapp[bot]
8c1f1a2e49
Autosync the updated translations (#12495)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 13:31:45 +01:00
bw-ghapp[bot]
40ac5132ba
Autosync the updated translations (#12493)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 13:01:35 +01:00
Shane Melton
69d42a73e3
[PM-16194] Do not sort Favorite ciphers by last used date (#12466)
* [PM-16194] Do not sort Favorite ciphers by last used date

* [PM-16194] Remove test
2024-12-19 14:47:58 -08:00
Daniel García
fff412665f
Run clippy and rustfmt on CI (#12388)
* Run clippy and rustfmt on CI

* Error on warnings and fix a couple of missed lints

* Move import inside function

* Fix unix lints

* Fix windows lints

* Missed some async tests

* Remove unneeded reference
2024-12-19 22:49:45 +01:00
Jonathan Prusik
40943b5929
[CL-510] Create slot for banners in popup-page component (#12279)
* add full-width-notice slot to popup page component

* update storybook popup layout docs with notice example

* remove unneeded container/classes
2024-12-19 16:47:55 -05:00
Colton Hurst
997d40f65a
PM-16234: Move DesktopFido2UserInterfaceService and DesktopFido2UserInterfaceSession to autofill ownership (#12482) 2024-12-19 14:54:59 -05:00
renovate[bot]
b856b89c7b
[deps] Autofill: Update tldts to v6.1.69 (#12424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 14:51:08 -05:00
Nick Krantz
0f9e18b828
add default value for the title in emergency dialog component (#12480) 2024-12-19 11:23:59 -06:00
Nick Krantz
e129e90faa
[PM-14347][PM-14348] New Device Verification Logic (#12451)
* add account created date to the account information

* set permanent dismissal flag when the user selects that they can access their email

* update the logic of device verification notice

* add service to cache the profile creation date to avoid calling the API multiple times

* update step one logic for new device verification + add tests

* update step two logic for new device verification + add tests
- remove remind me later link for permanent logic

* migrate 2FA check to use the profile property rather than hitting the API directly.

The API for 2FA providers is only available on web so it didn't work for browser & native.

* remove unneeded account related changes

- profile creation is used from other sources

* remove obsolete test

* store the profile id within the vault service

* remove unused map

* store the associated profile id so account for profile switching in the extension

* add comment for temporary service and ticket number to remove

* formatting

* move up logic for feature flags
2024-12-19 09:55:39 -06:00
Nick Krantz
0f3803ac91
[PM-11442] Emergency Cipher Viewing (#12054)
* force viewOnly to be true for emergency access

* add input to hide password history, applicable when the view is used from emergency view

* add extension refresh version of the emergency view dialog

* allow emergency access to view password history

- `ViewPasswordHistoryService` accepts a cipher id or CipherView. When a CipherView is included, the history component no longer has to fetch the cipher.

* remove unused comments

* Add fixme comment for removing non-extension refresh code

* refactor password history component to accept a full cipher view

- Remove the option to pass in only an id
2024-12-19 09:42:37 -06:00
Jason Ng
1d04a0a399
[PM-8214] New Device Verification Notice UI (#12360)
* starting

* setup first page for new device verification notice

* update designs for first page. rename components and files

* added second page for new device verification notice

* update notice page one with bit radio buttons. routing logic. user email

* updated routing for new device verification notice to show before vault based on flags, and can navigate back to vault after submission

* fix translations. added remind me later link and nav to page 2

* sync the design for mobile and web

* update routes in desktop

* updated styles for desktop

* moved new device verification notice guard

* update types for new device notice page one

* add null check to page one

* types

* types for page one, page two, service, and guard

* types

* update component and guard for null check

* add navigation to two step login btn and account email btn

* remove empty file

* update fill of icons to support light & dark modes

* add question mark to email access verification copy

* remove unused map

* use links for navigation elements
- an empty href is needed so the links are keyboard accessible

* remove clip path from exclamation svg

- No noticeable difference in the end result

* inline email message into markup

---------

Co-authored-by: Nick Krantz <nick@livefront.com>
2024-12-19 08:59:42 -06:00
Thomas Rittson
23212fb9ae
Fix: users can import in PM if they can create new collections (#12472) 2024-12-19 12:53:39 +01:00
Daniel García
51f6594d4b
[PM-9473] Add messaging for macOS passkey extension and desktop (#10768)
* Add messaging for macos passkey provider

* fix: credential id conversion

* Make build.sh executable

Co-authored-by: Colton Hurst <colton@coltonhurst.com>

* chore: add TODO

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2024-12-19 09:00:21 +01:00
Justin Baur
456046e095
Make Sync Optional on SW Start (#12467) 2024-12-18 15:28:13 -05:00
albertboyd5
ef8e8bfcbc
[PM-15571] Help link on import vault (#12448)
* [PM-15571] BW help Link on import vault page has wrong styling in dark mode

* Remove useless code
2024-12-18 14:17:50 -06:00
Victoria League
6eb30c98c4
Fix imports for standalone component stories (#12464) 2024-12-18 14:25:03 -05:00
albertboyd5
2bb807c5ce
Update Password history button label to Generator history (#12452) 2024-12-18 13:20:17 -06:00
Jared Snider
179c26434b
PM-16172 - Web - LockV2 - make page title consistent with other clients (#12462) 2024-12-18 13:45:27 -05:00
Jordan Aasen
da9e12dae6
[PM-15498] - add risk insight data service (#12361)
* Adding more test cases

* Removing unnecessary file

* Test cases update

* Adding the fixme for strict types

* moving the fixme

* add risk insight data service and wire up components to it

* hook up all applications to risk insights report service. add loading state

* link up remaining props to risk insight report

* wire up children to risk insight data service

* add missing copy. remove loading state from risk insights

* fix types

* fix DI issue

* remove @Injectable from RiskInsightsDataService

---------

Co-authored-by: Tom <ttalty@bitwarden.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
2024-12-18 13:03:15 -05:00
Github Actions
fc37d6df6b Bumped client version(s) 2024-12-18 16:41:40 +00:00
Daniel James Smith
12eb77fd45
[PM-13455] Wire up results from RiskInsightsReportService (#12206)
* Risk insights aggregation in a new service. Initial PR.

* Wire up results from RiskInsightsReportService

* Ignoring all non-login items and refactoring into a method

* Cleaning up the documentation a little

* logic for generating the report summary

* application summary to list at risk applications not passwords

* Adding more documentation and moving types to it's own file

* Awaiting the raw data report and adding the start of the test file

* Extend access-intelligence.module to provide needed services

* Register access-intelligence.module with bit-web AppModule

* Use provided RiskInsightsService instead of new'ing one in the component

* Removing the injectable attribute from RiskInsightsReportService

* Fix tests

* Adding more test cases

* Removing unnecessary file

* Test cases update

* Fixing memeber details test to have new member

* Fixing password health tests

* Moving to observables

* removing commented code

* commented code

* Switching from ternary to if/else

* nullable types

* one more nullable type

* Adding the fixme for strict types

* moving the fixme

* No need to access the password use map and switching to the observable

* PM-13455 fixes to unit tests

---------

Co-authored-by: Tom <ttalty@bitwarden.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
Co-authored-by: voommen-livefront <voommen@livefront.com>
2024-12-18 11:13:13 -05:00
cyprain-okeke
12b698b11d
organization status changed code changes (#12249)
* organization status changed code changes

* Remove the stop so a reconnect can be made
2024-12-18 16:31:16 +01:00
Bernd Schoolmann
903b5c8d93
[PM-16116] Add comment about mv2 routing loop (#12447)
* Add comment about mv2 routing loop

* Add more details to comment
2024-12-18 14:33:14 +01:00
Oscar Hinton
5a582dfc6f
[CL-135] Migrate component library to standalone components (#12389)
* Migrate component library to standalone components

* Fix tests
2024-12-17 17:29:48 -05:00
rr-bw
ac13cf7ce6
feat(auth): [PM-15945] Add logout option to TDE approval page (#12445)
This PR adds a logout option to the TDE approval screen. A TDE user on this page cannot use the "Back" button or click the Bitwarden logo to navigate back to `/` because the user is currently authenticated, which means that navigating to the `/` route would activate the `redirectGuard` and simply route the user back to `/login-initiated`. So we must log the user out first before routing.

Feature Flags: `UnauthenticatedExtensionUIRefresh` ON
2024-12-17 12:48:37 -08:00
Evan Bassler
c3f58b2e70
fix large icon (#11896)
Co-authored-by: Evan Bassler <evanbassler@EvanBasslersMBP.attlocal.net>
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-12-17 13:55:28 -06:00
Daniel James Smith
e2e9a7c345
[PM-15483] PasswordXP-CSV-Importer: Add support for German and Dutch headers (#12216)
* Add tests to verify importing German and Dutch headers work

* Add method to translate the headers from (German/Dutch into English) while the CSV data is being parsed

* Report "importFormatError" when header translation did not work, instead of a generic undefined error (startsWith)

* Move passwordxp-csv-importer into a dedicated folder

* Introduce files with the language header translations

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-17 20:51:58 +01:00
cyprain-okeke
d1fe72a4ab
Fix the maxlength org name bug (#12397) 2024-12-17 20:34:30 +01:00
Github Actions
1d874b447e Bumped Desktop client to 2024.12.2 2024-12-17 16:25:12 +00:00
Rui Tomé
c09f65afce
[PM-15903] Fix icon alignment for bulk remove, bulk delete, and individual delete buttons in the members component (#12437) 2024-12-17 16:00:36 +00:00
Daniel James Smith
00d2ea0c31
Remove v1 tools owned settings pages and extension refresh conditional routing (#12350)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-17 16:54:04 +01:00
Rui Tomé
97e9947d38
[PM-16054] Adjust helper text width in domain verification component for better readability (#12425) 2024-12-17 15:45:48 +00:00
renovate[bot]
e1447a90e3
[deps] Design System: Update ngx-toastr to v19 (#10594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Victoria League <vleague@bitwarden.com>
2024-12-17 10:08:19 -05:00
Github Actions
8718940437 Bumped client version(s) 2024-12-17 14:54:20 +00:00
Brandon Treston
6bd7950a58
[PM-15958] columns shift as names get bigger (#12399)
* fix width for organizationName column

* fix column widths
2024-12-17 09:45:54 -05:00
Github Actions
b7ec74df5a Bumped client version(s) 2024-12-17 02:55:32 +00:00
Kyle Spearrin
a4db5279b7
[PM-16097] Separate copy buttons appearance setting (#12428)
---------

Co-authored-by: William Martin <contact@willmartian.com>
2024-12-16 16:10:32 -05:00
Github Actions
05783249b2 Bumped client version(s) 2024-12-16 20:07:39 +00:00
Daniel James Smith
e7804856ab
[PM-15919] Remove v1 import page after Extension refresh (#12343)
* Remove v1 Import page and extension refresh conditional routing

* Remove unused RouterLink import

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-16 20:43:13 +01:00
Thomas Avery
971c157f56
[PM-12700] Add private key regeneration process (#11829)
* add user asymmetric key api service

* Add user asymmetric key regen service

* add feature flag

* Add LoginSuccessHandlerService

* add loginSuccessHandlerService to BaseLoginViaWebAuthnComponent

* Only run loginSuccessHandlerService if webAuthn is used for vault decryption.

* Updates for TS strict

* bump SDK version

* swap to combineLatest

* Update abstractions
2024-12-16 12:00:17 -06:00
Matt Bishop
c628f541d1
Sign main branch Unified container builds with cosign and perform security scanning (#12403) 2024-12-16 12:35:00 -05:00
Daniel James Smith
d317051d45
[PM-15920] Remove v1 export page (#12349)
* Remove v1 export page and extension refresh conditional routing

* Remove unused RouterLink import

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-16 18:32:06 +01:00
Matt Gibson
6132df395c
Add strict to missed components tsconfig (#12429) 2024-12-16 16:33:01 +00:00
Alec Rippberger
edf90e62e7
fix(auth): [PM-15987] handle browser back button on login screen
Intercepts browser back button press on the login screen to properly 
transition back to email entry portion instead of unexpected navigation.

Resolves PM-15987
2024-12-16 09:22:15 -06:00
Brandon Treston
878d82e16f
[PM-14551] revert copy in revoke member dialogs (#12392)
* include copy for single revoke warning and unmixed members

* clean up logic

* remove new copy for revoking members

* remove copy
2024-12-16 10:20:27 -05:00
bw-ghapp[bot]
f75a13e265
Autosync the updated translations (#12268)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-12-16 15:14:18 +00:00
Brandon Treston
32c2cba2e7
create pipe for replacing string in template (#12381) 2024-12-16 10:07:46 -05:00