1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00
Commit Graph

16966 Commits

Author SHA1 Message Date
--global
859f179501 Merge branch 'PM-12985-Reports' of github.com:bitwarden/clients into PM-12985-Reports 2024-12-20 21:47:19 -05:00
--global
c698779511 suggested changes 2024-12-20 21:46:41 -05:00
cd-bitwarden
03e6be2abc
Merge branch 'main' into PM-12985-Reports 2024-12-20 14:24:38 -05:00
--global
72cc46bf8a Adding back useful code and trying to fix inactive-two-factor-report.component.spec.ts issue 2024-12-20 14:23:16 -05:00
Victoria League
64166a9354
[PM-16102] Increase clickable area for bit-item actions (#12450) 2024-12-20 14:03:50 -05:00
Daniel James Smith
ce5ae478a8
[PM-15921] Remove v1 generator and generator history (#12345)
* Remove v1 generator, generator history page and extension refresh conditional routing

* Remove unused keys from en/messages.json

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 19:46:24 +01:00
rr-bw
d209da4c94
feat(auth): [PM-9674] Remove Deprecated LockComponents (#12453)
This PR deletes the legacy lock components from the Angular clients and also removes feature flag control from the routing. The lock component will now be based entirely on the new, recently refreshed LockComponent in libs/auth/angular.
2024-12-20 10:23:03 -08:00
Bernd Schoolmann
2e6031eee9
Increase heap size for builds (#12483)
* Increase heap size for builds

* Add cross-env to cli

* Add cross-env to desktop

* Update apps/web/package.json

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-12-20 17:36:04 +01:00
Daniel Riera
cc06e1eff3
enhancement: UI for multiple totp elements (#12404)
* enhancement: UI for multiple totp elements

* add tests

* update snapshots

* update obsolete snapshots

* Update apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>

---------

Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
2024-12-20 11:33:43 -05:00
Nick Krantz
6ad35e0871
Vault Refactor: Clean up some strict types (#12357)
* update cipher-view to account for strict type checking

* update view-identity-sections to account for strict type checking

* update read-only-cipher-card to account for strict type checking

* remove unused card import

* remove unused card import

* update additional-options to account for strict type checking
2024-12-20 10:16:34 -06:00
Nick Krantz
b27a1a5337
[PM-12998] View Cipher: Color Password (#12354)
* show color password for visible passwords in vault view

- The password input will be visually hidden
- Adds tests for the login credentials component

* formatting
2024-12-20 09:44:36 -06:00
Daniel James Smith
acd3ab05f6
[PM-7100] Remove conditional routing for extension refresh (#12485)
* Remove conditional routing for new vault page (header/footer)

Redirect tabs/current to tabs/vault (new home)

* Remove unused TabsComponent

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-12-20 16:39:37 +01:00
bw-ghapp[bot]
a728331ec1
Autosync the updated translations (#12504)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 14:56:42 +00:00
bw-ghapp[bot]
31387d9a2a
Autosync the updated translations (#12503)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-12-20 14:56:00 +00:00
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
--global
d730852c27 test fixes 2024-12-19 15:55:35 -05:00
--global
578c3d40fa Merge branch 'PM-12985-Reports' of github.com:bitwarden/clients into PM-12985-Reports 2024-12-19 15:39:45 -05:00
--global
e0ffcf6084 Test fixes 2024-12-19 15:25:48 -05:00
cd-bitwarden
208c5f6b39
Merge branch 'main' into PM-12985-Reports 2024-12-19 15:02:18 -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
--global
04c1e7613a updating the location of the DefaultCipherFormCOnfigService 2024-12-19 14:28:56 -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
cd-bitwarden
7e9ddc1af0
Merge branch 'main' into PM-12985-Reports 2024-12-18 15:25:58 -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