1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 15:03:26 +00:00
Commit Graph

3100 Commits

Author SHA1 Message Date
jaasen-livefront
e75e082344 make field name and value optional 2025-11-10 10:05:38 -08:00
Jordan Aasen
7682f5dc37 Merge branch 'PM-25685' into PM-25686 2025-11-07 22:03:19 -08:00
jaasen-livefront
a89a8c60c0 more string handling fixes 2025-11-07 21:57:33 -08:00
jaasen-livefront
1411ae357a better EncString handling 2025-11-07 21:55:57 -08:00
jaasen-livefront
c2b7e7f29f more defensive typing 2025-11-07 21:45:16 -08:00
jaasen-livefront
6577b5f081 fix tests 2025-11-07 21:42:34 -08:00
jaasen-livefront
ac18055999 fix tests 2025-11-07 21:38:35 -08:00
jaasen-livefront
c878c77cd4 fix folder with id export 2025-11-07 14:53:21 -08:00
jaasen-livefront
4bd3edf0a6 fix folder with id export 2025-11-07 14:52:49 -08:00
jaasen-livefront
fe13082137 update exports 2025-11-07 14:43:42 -08:00
jaasen-livefront
705e2329f8 Update folder and folderview 2025-11-07 14:30:55 -08:00
jaasen-livefront
2192d1ec61 type fixes. better defaults and string handling 2025-11-07 13:40:12 -08:00
jaasen-livefront
093b99e579 fix tests 2025-11-07 13:21:48 -08:00
jaasen-livefront
939ec1b448 name name and id optional in folder model 2025-11-07 12:26:32 -08:00
jaasen-livefront
57925414c0 better date defaults for cipher export 2025-11-05 11:44:35 -08:00
jaasen-livefront
b69a55c604 set better default for toView and toDomain 2025-11-05 11:14:05 -08:00
jaasen-livefront
f5cfee4e6e address issues in string handling 2025-11-04 17:14:15 -08:00
jaasen-livefront
07d1d5ba05 fix type errors 2025-11-04 16:53:35 -08:00
jaasen-livefront
91d95dd6fe fix types 2025-11-04 16:42:31 -08:00
jaasen-livefront
3d2bcf8b80 clean up string values 2025-11-04 16:40:04 -08:00
jaasen-livefront
1e78820b8e migrate all exports to strict types 2025-11-04 15:53:15 -08:00
jaasen-livefront
e49c316317 Merge branch 'PM-25685' into PM-25686 2025-11-03 18:21:57 -08:00
jaasen-livefront
8dfee0595d migrate remaining exports 2025-11-03 18:10:52 -08:00
jaasen-livefront
ddb89e35e0 migrate more export submodules 2025-10-31 17:13:33 -07:00
jaasen-livefront
d9b522a341 remove unecessary check 2025-10-31 16:44:40 -07:00
jaasen-livefront
4b692f10b1 add extra checks for folders. add specs 2025-10-31 15:26:35 -07:00
jaasen-livefront
93cd787b06 initial migration of cipher export to strict types 2025-10-31 15:15:05 -07:00
Jordan Aasen
87ccdf3ebd Merge branch 'main' into PM-25685 2025-10-31 13:43:41 -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
jaasen-livefront
6dc2a777a7 fix type issue 2025-10-30 11:45:36 -07:00
jaasen-livefront
c3ca6c8e71 fix test 2025-10-30 10:36:29 -07:00
jaasen-livefront
7d947f5f01 fix tests 2025-10-30 09:58:24 -07: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
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
Brandon Treston
8162c06700 [PM-26372] Add auto confirm service (#17001)
* add state definition for auto confirm

* typo

* refactor organziation user service

* WIP create auto confirm service

* add POST method, finish implementation

* add missing userId param, jsdoc

* fix DI

* refactor organziation user service

* WIP create auto confirm service

* add POST method, finish implementation

* add missing userId param, jsdoc

* clean up, more DI fixes

* remove @Injectable from service, fix tests

* remove from libs/common, fix dir structure, add tests
2025-10-28 09:47:54 -04:00