SmithThe4th
ae30cb2841
[PM-28950] Add enum normalizers to protect against corrupted user data in SDK mapping ( #17723 )
...
* Added normalizers to protect against corrpupted user data when mapping between client and SDK
* Added comments
* simplified secure note normalization
2026-02-17 09:24:35 -08:00
Brandon Treston
84c7cfd3e5
[PM-24011] Add handler for new policy sync push notification ( #17465 )
...
* add handler for new policy sync push notification
* fix story book build failure
* move logic into policy service, fix tests
* add account service
* add missing service to clie
2026-02-17 09:24:35 -08:00
jaasen-livefront
8ac7d17c99
add Address3 to identity export
2025-11-21 16:23:00 -08:00
jaasen-livefront
82a08d8ade
add spec. fix id export
2025-11-19 15:49:46 -08:00
jaasen-livefront
01348f40b7
fix types in specs
2025-11-10 13:58:30 -08:00
jaasen-livefront
ad23ee9e34
add specs
2025-11-10 13:33:38 -08:00
jaasen-livefront
4136218f98
don't fallback to empty string in login export
2025-11-10 11:44:12 -08:00
jaasen-livefront
be6bd0d4cd
do not fallback to empty string in login-uri export
2025-11-10 11:39:35 -08:00
jaasen-livefront
9c91f7e0a8
don't validate pw history contructor
2025-11-10 11:33:34 -08:00
jaasen-livefront
236e53205e
add validation in exports
2025-11-10 11:29:10 -08:00
jaasen-livefront
29fc1b113f
fix type error
2025-11-10 10:17:32 -08:00
jaasen-livefront
9af62258da
Merge branch 'PM-25685' into PM-25686
2025-11-10 10:16:57 -08:00
jaasen-livefront
e75e082344
make field name and value optional
2025-11-10 10:05:38 -08:00
Jordan Aasen
d09853ed9c
Merge branch 'main' into PM-25685
2025-11-10 10:02:13 -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
fe13082137
update exports
2025-11-07 14:43:42 -08:00
jaasen-livefront
2192d1ec61
type fixes. better defaults and string handling
2025-11-07 13:40:12 -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
SmithThe4th
c42a7b2ef5
[PM-27506] CLI allows creating SSH key items with null fields ( #17063 )
...
* Added checks to on the sshkey view to prevent null fields
* Give default values to the template
* Give default values to the template
* change function signature to match ts-strct styles
* Added unit tests for the ssh key to view and replaced deafults to empty strings
2025-11-04 15:51:17 -05: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
93cd787b06
initial migration of cipher export to strict types
2025-10-31 15:15:05 -07:00
jaasen-livefront
94ebb25327
enforce strict types on folders
2025-10-27 17:17:06 -07:00
Maciej Zieniuk
20ddf3b6fd
[PM-26649] Prevent log-out when changing KDF settings (except old clients) ( #16775 )
...
* Prevent log-out when changing KDF settings (except old clients)
* test coverage
* logout reason enum
2025-10-21 11:26:48 +02:00
Stephon Brown
c0ddb34a48
fix(billing): Remove unused verify bank request ( #16923 )
2025-10-20 16:19:57 -04:00
Bernd Schoolmann
cc8bd71775
[PM-21033/PM-22863] User Encryption v2 ( #14942 )
...
* Add new encrypt service functions
* Undo changes
* Cleanup
* Fix build
* Fix comments
* Switch encrypt service to use SDK functions
* Move remaining functions to PureCrypto
* Tests
* Increase test coverage
* Split up userkey rotation v2 and add tests
* Fix eslint
* Fix type errors
* Fix tests
* Implement signing keys
* Fix sdk init
* Remove key rotation v2 flag
* Fix parsing when user does not have signing keys
* Clear up trusted key naming
* Split up getNewAccountKeys
* Add trim and lowercase
* Replace user.email with masterKeySalt
* Add wasTrustDenied to verifyTrust in key rotation service
* Move testable userkey rotation service code to testable class
* Fix build
* Add comments
* Undo changes
* Fix incorrect behavior on aborting key rotation and fix import
* Fix tests
* Make members of userkey rotation service protected
* Fix type error
* Cleanup and add injectable annotation
* Fix tests
* Update apps/web/src/app/key-management/key-rotation/user-key-rotation.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Remove v1 rotation request
* Add upgrade to user encryption v2
* Fix types
* Update sdk method calls
* Update request models for new server api for rotation
* Fix build
* Update userkey rotation for new server API
* Update crypto client call for new sdk changes
* Fix rotation with signing keys
* Cargo lock
* Fix userkey rotation service
* Fix types
* Undo changes to feature flag service
* Fix linting
* [PM-22863] Account security state (#15309 )
* Add account security state
* Update key rotation
* Rename
* Fix build
* Cleanup
* Further cleanup
* Tests
* Increase test coverage
* Add test
* Increase test coverage
* Fix builds and update sdk
* Fix build
* Fix tests
* Reset changes to encrypt service
* Cleanup
* Add comment
* Cleanup
* Cleanup
* Rename model
* Cleanup
* Fix build
* Clean up
* Fix types
* Cleanup
* Cleanup
* Cleanup
* Add test
* Simplify request model
* Rename and add comments
* Fix tests
* Update responses to use less strict typing
* Fix response parsing for v1 users
* Update libs/common/src/key-management/keys/response/private-keys.response.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com >
* Update libs/common/src/key-management/keys/response/private-keys.response.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com >
* Fix build
* Fix build
* Fix build
* Undo change
* Fix attachments not encrypting for v2 users
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com >
2025-10-10 23:04:47 +02:00
cd-bitwarden
cb20889a94
[SM-1489] machine account event logs ( #15997 )
...
* Adding enums for additional event logs for secrets
* updating messages
* Updating messages to be consistent for logs
* Displaying project logs, and fixing search query param searching in projects list, having deleted log for secrets and projects not show as a link
* Viewing secret and project event logs in event modal, adding to the context menu for secrets and projects the ability to view the logs if user has permission. Restricting logs to SM projs and Secs if the logged in user has event log access but not SM access.
* lint
* Lint Fixes
* fix to messages file
* fixing lint
* Adding machine account event logs
* lint fix
* Update event.service.ts
* removing duplicate function issue from merge
* Update service-accounts-list.component.ts
* fixing message
* Fixes to QA bugs
* lint fix
* linter for messages is annoying
* lint
2025-10-03 09:52:00 +02:00
Bernd Schoolmann
4b73198ce5
[PM-23230] Implement KDF Change Service ( #15748 )
...
* Add new mp service api
* Fix tests
* Add test coverage
* Add newline
* Fix type
* Rename to "unwrapUserKeyFromMasterPasswordUnlockData"
* Fix build
* Fix build on cli
* Fix linting
* Re-sort spec
* Add tests
* Fix test and build issues
* Fix build
* Clean up
* Remove introduced function
* Clean up comments
* Fix abstract class types
* Fix comments
* Cleanup
* Cleanup
* Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/services/master-password.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Add comments
* Fix build
* Add arg null check
* Cleanup
* Fix build
* Fix build on browser
* Implement KDF change service
* Deprecate encryptUserKeyWithMasterKey
* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Add tests for null params
* Fix builds
* Cleanup and deprecate more functions
* Fix formatting
* Prettier
* Clean up
* Update libs/key-management/src/abstractions/key.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Make emailToSalt private and expose abstract saltForUser
* Add tests
* Add docs
* Fix build
* Fix tests
* Fix tests
* Address feedback and fix primitive obsession
* Consolidate active account checks in change kdf confirmation component
* Update libs/common/src/key-management/kdf/services/change-kdf-service.spec.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Add defensive parameter checks
* Add tests
* Add comment for follow-up epic
* Move change kdf service, remove abstraction and add api service
* Fix test
* Drop redundant null check
* Address feedback
* Add throw on empty password
* Fix tests
* Mark change kdf service as internal
* Add abstract classes
* Switch to abstraction
* use sdk EncString in MasterPasswordUnlockData
* fix remaining tests
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
Co-authored-by: Jake Fink <jfink@bitwarden.com >
2025-09-23 16:10:54 -04:00
Jason Ng
dbec02cf8d
[PM-24533] Initialize Archive Feature ( #16226 )
...
* [PM-19237] Add Archive Filter Type (#13852 )
* Browser can archive and unarchive items
* Create Archive Cipher Service
* Add flag and premium permissions to Archive
---------
Co-authored-by: SmithThe4th <gsmith@bitwarden.com >
Co-authored-by: Shane <smelton@bitwarden.com >
Co-authored-by: Patrick Pimentel <ppimentel@bitwarden.com >
2025-09-22 11:06:02 -04:00
Alex
8531109081
[PM-25417] DIRT API Service Refactor (ADR-0005) ( #16353 )
...
* encode username for uri and add spec
* verify response from getHibpBreach method
* test/validate for BreachAccountResponse type and length instead of mock response
* - extract dirt api method out of global api service
- create new directory structure
- change imports accordingly
- extract breach account response
- put extracted code into new dirt dir
* codeowners and dep injection for new hibp service
2025-09-22 09:06:58 -05:00
Alex Morask
4907820383
[PM-24964] Stripe-hosted bank account verification ( #16220 )
...
* Implement bank account hosted URL verification with webhook handling notification
* [PM-25491] Create org/provider bank account warning needs to be updated
2025-09-09 12:22:45 -05:00
Shane Melton
65230a9c3e
[PM-24229] Preserve existing cipher date fields when using CipherExport.toView ( #15993 )
...
* [PM-24229] Ensure existing dates are persisted when using CipherExport.toView
* [PM-24229] Test both null and undefined
* [PM-24229] Add test for copied date values
2025-08-22 12:21:23 -07:00
cd-bitwarden
ad145fc4ff
[SM-1274] Add Project Events to the Log List in Admin Console ( #15442 )
...
* Adding enums for additional event logs for secrets
* updating messages
* Updating messages to be consistent for logs
* Displaying project logs, and fixing search query param searching in projects list, having deleted log for secrets and projects not show as a link
* Viewing secret and project event logs in event modal, adding to the context menu for secrets and projects the ability to view the logs if user has permission. Restricting logs to SM projs and Secs if the logged in user has event log access but not SM access.
* lint
* Lint Fixes
* fix to messages file
* fixing lint
* Bug fix, make sure event logs related to service accounts are still links that take you to the object
* removing unused import
2025-08-20 10:45:58 -04:00
Brandon Treston
27089fbb57
[PM-24227] Enable TS-strict for Collection Domain models ( #15765 )
...
* wip ts-strict
* wip ts-strict
* wip
* cleanup
* cleanup
* fix story
* fix story
* fix story
* wip
* clean up CollectionAdminView construction
* fix deprecated function call
* fix cli
* clean up
* fix story
* wip
* fix cli
* requested changes
* clean up, fixing minor bugs, more type saftey
* assign props in static ctor, clean up
2025-08-14 13:08:24 -04:00
Thomas Rittson
61cd0c4f51
[PM-23920] Admin Console - adopt strongly typed guids ( #15814 )
...
Update organization, collection and policy to use strongly typed IDs
2025-08-06 15:27:52 +10:00
Shane Melton
2a07b952ef
[PM-24000] Convert string date values to Date objects for CipherExport types ( #15715 )
2025-07-22 09:32:00 -04:00
Bernd Schoolmann
60855c734f
[PM-17666] Move Encstring to KM ownership ( #15457 )
...
* Move Encstring to KM ownership
* Fix wrong import
* Fix build
* Fix remaining imports
* Fix tests
2025-07-16 11:15:24 -04:00
SmithThe4th
522acf5718
Fixed date conversion issue when importing ( #15434 )
2025-07-03 11:12:08 -04:00
SmithThe4th
ea5224da25
Properly converted date strings during imports and provided default values ( #15398 )
2025-06-30 13:04:01 -04:00
Thomas Avery
c52e6a3f2c
[PM-22408] Remove setMasterKeyEncryptedUserKey from KeyService ( #15087 )
...
* Swap consumers to masterPasswordService.setMasterKeyEncryptedUserKey
* Remove setMasterKeyEncryptedUserKey from keyService
* unit tests
2025-06-11 15:48:18 -05:00