1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 20:24:01 +00:00
Commit Graph

3113 Commits

Author SHA1 Message Date
Bernd Schoolmann
9073dfd808 QA override 2025-11-10 18:22:27 +01:00
Bernd Schoolmann
97c1110091 Merge branch 'km/low-kdf-testing' into km/auto-kdf-qa 2025-11-07 18:47:22 +01:00
Bernd Schoolmann
3d6eba7f49 Run sync only when a migration was run 2025-11-04 10:26:19 +01:00
Bernd Schoolmann
a456e7e330 Fix min and default values in kdf migration 2025-11-03 15:15:38 +01:00
Bernd Schoolmann
60be9a2e1f Prevent await race condition 2025-11-03 15:13:04 +01:00
Bernd Schoolmann
fa7b085a9c Fix tests 2025-11-03 15:00:35 +01:00
Bernd Schoolmann
00b2cdfb62 Run prettier 2025-11-03 13:04:52 +01:00
Bernd Schoolmann
54de5cd58e Fix tests 2025-11-03 12:59:32 +01:00
Bernd Schoolmann
28292efbb4 Merge branch 'main' into km/auto-kdf 2025-11-03 12:49:56 +01:00
Bernd Schoolmann
be5ed49891 Merge branch 'main' into km/auto-kdf 2025-11-03 12:48:04 +01:00
Bernd Schoolmann
0aaeafb951 Allow migration only on vault 2025-11-03 11:53:14 +01:00
Bernd Schoolmann
b6c0490c55 Fix tests 2025-11-03 11:25:04 +01:00
Bernd Schoolmann
e68a471655 [PM-26340] Enable linux biometrics v2 (#16661) 2025-10-31 22:47:17 +01:00
Ben Brooks
b5a7379ea9 feat(policies): PM-25570 Admin Console UI for URI Match Default Policy (#16752)
Admin Console UI for URI Match Default Policy

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
2025-10-31 13:50:45 -07:00
Jason Ng
4908d73804 [PM-27500] update cipher.service to align with sdk types (#17147) 2025-10-31 14:24:31 -04:00
Shane Melton
dbe70bd51c [PM-24467] Introduce cipher risk service (#17009)
* [PM-24467] Introduce CipherRiskService

* [PM-24467] Introduce computeCipherRiskForUser() method

* [PM-24467] Refactor buildPasswordReuseMap to use user SDK client

* [PM-24467] Use switchMap instead of map

* [PM-24467] Cleanup redundant tests

* [PM-24467] Update SDK models

* [PM-24467] Update @bitwarden/sdk-internal version

* [PM-24467] Update @bitwarden/commercial-sdk-internal version
2025-10-31 10:23:18 -07:00
Andreas Coroiu
48fb8b2bfe [PM-25250] Prevent configuration and access of self hosted urls over http (#17095)
* feat: ban urls not using https

* feat: add exception for dev env

* feat: block fetching of insecure URLs

* feat: add exception for dev env

* feat: block notifications from using insecure URL

* fix: bug where submission was possible regardless of error

* feat: add exception for dev env

* fix: missing constructor param
2025-10-31 08:12:44 +01:00
Daniel James Smith
2dd314e992 [PM-27083] Prevent collection nesting on import into a MyItems-collection (#16937)
* Prevent collection nesting on import into a my items collection

My Items collections do not support nested collections. The import source hierarchy needs to be flattened into the My Items collection

* Introduce new types for folder and collection relationship
Makes it easier to identify which position is for the cipherIndex and which is for the folder-/collection-index

* Fix assignment of ciphers to My items collection

* Remove unneeded type cast or assertions

* Add clarifying comment

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-10-30 21:10:01 +00:00
Bernd Schoolmann
4bcd8dfc0f Use isnullorwhitespace 2025-10-30 17:34:58 +01:00
Bernd Schoolmann
1806cc9402 Address component feedback 2025-10-30 16:48:23 +01:00
rr-bw
d8e5a524d4 style(sso-login): (Auth) [PM-26535] Make SSO Button Primary if ssoRequired (#16757)
When SSO is required:
- Make the SSO button primary
- Add a tooltip to the disabled buttons

When SSO is not required:
- SSO button remains secondary
- No tooltip on the buttons

Feature Flags enabled: pm-22110-disable-alternate-login-methods
2025-10-30 14:41:17 +00:00
Bernd Schoolmann
5db6ae5c25 Cleanup 2025-10-30 13:01:37 +01:00
Bernd Schoolmann
8a9fea56b4 Cleanup 2025-10-30 12:57:42 +01:00
Bernd Schoolmann
2d8cc204a0 Add comment 2025-10-30 11:29:39 +01:00
Bernd Schoolmann
01493e0499 Fix build 2025-10-30 11:21:53 +01:00
Bernd Schoolmann
169dccac17 Undo type check 2025-10-30 11:05:42 +01:00
Bernd Schoolmann
eaad30f98a Use default PBKDF2 iteratinos instead of custom threshold 2025-10-30 11:00:32 +01:00
Bernd Schoolmann
87570a8032 Update docs 2025-10-30 10:52:46 +01:00
Bernd Schoolmann
99f84539b7 Clean up 2025-10-30 10:48:47 +01:00
Bernd Schoolmann
ad39f51db2 Resolve inconsistent prefix 2025-10-30 10:46:33 +01:00
Bernd Schoolmann
70326599c6 Add tech debt comment 2025-10-30 10:44:17 +01:00
Bernd Schoolmann
6f01581feb Relative imports 2025-10-30 10:38:19 +01:00
Bernd Schoolmann
f4777cbdd6 Merge branch 'km/auto-kdf' of github.com:bitwarden/clients into km/auto-kdf 2025-10-30 10:33:07 +01:00
Bernd Schoolmann
09f1188384 Only sync when there is at least one migration 2025-10-30 10:32:31 +01:00
Bernd Schoolmann
2612f14259 Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
2025-10-30 10:23:24 +01:00
Bernd Schoolmann
15a7ab0589 Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
2025-10-30 10:15:43 +01:00
Bernd Schoolmann
af7ce59ddb Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
2025-10-30 10:14:51 +01:00
Jared Snider
a1570fc8b1 feat(AuthRouteConstants): [Auth/PM-27370] Convert auth routes to use constants (#16980)
* PM-22663 WIP on auth route constants

* PM-22663 - Convert desktop & extension to use constants - first pass

* PM-22663 - Further clean up

* PM-22663 - catch more missed routes

* PM-22663 - add barrel files

* PM-22663 - Per PR feedback, add missing as const

* PM-22663 - Per PR feedback and TS docs, use same name for const enum like and derived type. Adjusted filenames to be singular.

* PM-22663 - Per PR feedback update desktop app routing module since auto rename didn't update it for whatever reason.
2025-10-29 19:28:21 -04:00
Shane Melton
51a557514f [PM-20379] Fix At-risk password task permission bug (#17110)
* [PM-20379] Fix at risk password task permission checks

* [PM-20379] Fix at risk password component specs

* [PM-20379] Cleanup FIXMEs

* [PM-20379] Update to OnPush

* [PM-20379] Add tests for pendingTasks$

* [PM-20379] Reduce test boilerplate / redundancy

* [PM-20379] Cleanup as any

* [PM-20379] Remove redundant "should" language
2025-10-29 14:47:55 -07:00
Daniel James Smith
9fca0b0138 [PM-26731] Fix feature flag check for "pm-25855-chromium-importer-abe" (#17102)
* Fix feature flag check for "pm-25855-chromium-importer-abe"

The old lofgic actually removed all chromium support when the flag was disabled. It should only remove those browser if the flag is disabled and when on Windows.

* Extend tests

* Update comment

* Remove duplicate test

* Add test for when device cannot be detected and throws and error

* Add descriptive comment to feature flag test case assertions

* Better test assertion

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-10-29 21:56:55 +01:00
Vicki League
6b3c4f87c7 [CL-807] Improve aria a11y of nav group (#17078) 2025-10-29 16:52:28 -04:00
Jordan Aasen
c05ea23ce4 [PM-25083][26650][26651][26652] - Autofill confirmation dialog (#16835)
* add autofill confirmation dialog

* fix key

* better handle bad uris

* add specs

* adjustments to autofill confirmation to include exact match dialog. fix gradient

* update logic. add tests
2025-10-29 12:55:23 -07:00
John Harrington
e333c0a8bc Preserve export type across export source selections (#16922) 2025-10-29 12:49:31 -07:00
Oscar Hinton
d85b9986d0 [CL-901] [CL-903] Unowned - Prefer signal & change detection (#16949) 2025-10-29 13:42:19 -05:00
Bryan Cunningham
5b815c4ae4 [CL-879] use tooltip on icon button (#16576)
* Add tooltip to icon button to display label

* remove legacy cdr variable

* create overlay on focus or hover

* attach describdedby ids

* fix type errors

* remove aria-describedby when not necessary

* fix failing tests

* implement Claude feedback

* fixing broken specs

* remove host attr binding

* Simplify directive aria logic

* Move id to statis number

* do not render empty tooltip

* pass id to tooltip component

* remove pointer-events none to allow tooltip on normal buttons

* exclude some tooltip stories

* change describedby input name

* add story with tooltip on regular button

* enhanced tooltip docs

* set model directly

* change model to input
2025-10-29 09:49:16 -04:00
Alex Morask
460d66d624 Remove FF: pm-17772-admin-initiated-sponsorships (#16873)
* Remove FF

* Fix test
2025-10-29 07:41:35 -05:00
Dave
af1809222f fix(input-password-component) [PM-24266]: Update modal title. (#16932) 2025-10-28 15:14:48 -04:00
Mick Letofsky
11d3f5247c Refactor canClone method to use CipherAuthorizationService (#16849) 2025-10-28 19:00:56 +01:00
Brandon Treston
c1a988c2ab fix DI (#17076) 2025-10-28 12:25:56 -04:00
Stephon Brown
bf66b5ac19 -[PM-27123] Update Signals and Update Estimated Tax and Credit Logic (#17055)
* billing(fix): update signals and update estimated tax and credit logic

* fix(billing): update with claude feedback and expose total observable
2025-10-28 15:25:07 +00:00