1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 05:00:10 +00:00
Commit Graph

263 Commits

Author SHA1 Message Date
adudek-bw
800b198b29 Merge main 2025-05-29 14:55:12 -04:00
adudek-bw
c47bef2f6d PR fixes 2025-05-29 14:41:56 -04:00
✨ Audrey ✨
d1aa8422e0 align sdk generator types (#14967) 2025-05-27 15:09:50 +00:00
✨ Audrey ✨
97a591e738 [PM-16793] port credential generator service to providers (#14071)
* introduce extension service
* deprecate legacy forwarder types
* eliminate repeat algorithm emissions
* extend logging to preference management
* align forwarder ids with vendor ids
* fix duplicate policy emissions; debugging required logger enhancements

-----

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-05-27 09:51:14 -04:00
Jason Ng
fd10a26df9 [PM-18804] generator nudges (#14705)
* added generator spotlight to credential generator component

* moved generator spotlight to browser component and add as slot in libs. update copy for send

* added an aria label for the generator nudge body content

* new copy and styles for browser send will be behind feature flag

* update featureflag call to observable in send-v2

* changed how nudge text is made in credential generator

* added new observable to vault nudges to return specific boolean. Update naming of vault types. update observable calls in credential-generator and send-v2

* update send-v2 and credential generator to use new renamed nudges

* update to create nudge generator spotlight component. using this inside the credential generator for nudge spotlight

* fix imports for Nudge related code

* add libs/angular to storybook

---------

Co-authored-by: Nick Krantz <nick@livefront.com>
2025-05-21 12:46:02 -05:00
adudek-bw
b2076e002e Create sdk generator engine (#14374)
* Add SDK generator engine
2025-05-20 10:25:40 -04:00
Oscar Hinton
c8629b92d3 [CL-694] Remove unused imports (#14795)
* Remove unused imports

* Remove more unused imports
2025-05-16 17:11:18 +02:00
Oscar Hinton
ac49e594c1 Add standalone false to all non migrated (#14797)
Adds standalone: false to all components since Angular is changing the default to true and we'd rather not have the angular PR change 300+ files.
2025-05-15 10:44:07 -04:00
SmithThe4th
ad3121f535 [PM-12423] Migrate Cipher Decryption to Use SDK (#14206)
* Created mappings for client domain object to SDK

* Add abstract decrypt observable

* Added todo for future consideration

* Added implementation to cipher service

* Added adapter and unit tests

* Created cipher encryption abstraction and service

* Register cipher encryption service

* Added tests for the cipher encryption service

* changed signature

* Updated feature flag name

* added new function to be used for decrypting ciphers

* Added new encryptedKey field

* added new function to be used for decrypting ciphers

* Manually set fields

* Added encrypted key in attachment view

* Fixed test

* Updated references to use decrypt with feature flag

* Added dependency

* updated package.json

* lint fix

* fixed tests

* Fixed small mapping issues

* Fixed test

* Added function to decrypt fido2 key value

* Added function to decrypt fido2 key value and updated test

* updated to use sdk function without prociding the key

* updated localdata sdk type change

* decrypt attachment content using sdk

* Fixed dependency issues

* updated package.json

* Refactored service to handle getting decrypted buffer using the legacy and sdk implementations

* updated services and component to use refactored version

* Updated decryptCiphersWithSdk to use decryptManyLegacy for batch decryption, ensuring the SDK is only called once per batch

* Fixed merge conflicts

* Fixed merge conflicts

* Fixed merge conflicts

* Fixed lint issues

* Moved getDecryptedAttachmentBuffer to cipher service

* Moved getDecryptedAttachmentBuffer to cipher service

* ensure CipherView properties are null instead of undefined

* Fixed test

* ensure AttachmentView properties are null instead of undefined

* Linked ticket in comment

* removed unused orgKey
2025-05-14 07:30:01 -07:00
Patrick-Pimentel-Bitwarden
0b0397c3f0 fix(enums-eslint): Enum Rule for ESLint (#14650)
* fix(enums-eslint): Enum Rule for ESLint - Added enums in the warnings for eslint.

* fix(enums-eslint): Enum Rule for ESLint - Updated to error in both places for enums.

* fix(enums-eslint): Enum Rule for ESLint - Added new eslint plugin for warning on enums.

* fix(enums-eslint): Enum Rule for ESLint - Changed based on suggestion.

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* refactor(browser-platform-utils): Remove Deprecation and Fix Code - Changed usages of firefox to private and moved the usages to the preferred public method and removed the deprecations.

* fix(enums-eslint): Enum Rule for ESLint - Updated to error and added disable rules for all other places.

* fix(enums-eslint): Enum Rule for ESLint - Undid other changes by accident
2025-05-13 10:07:38 -04:00
Vicki League
8ecb32f30f [CL-333] Icon Refresh Feature Branch (#14298)
* [CL-571] Update icons to new fileset and metaphors (#14163)

* [CL-518] Convert icons docs to stories (#14299)

* [CL-574] Update inline autofill icons (#14379)

---------

Co-authored-by: William Martin <contact@willmartian.com>
2025-05-07 17:07:14 -04:00
adudek-bw
0e3d7fb77b Add sdk hookup 2025-05-06 13:30:44 -04:00
adudek-bw
360de4640c Hook up sdk generator engines to metadata 2025-05-06 13:08:27 -04:00
✨ Audrey ✨
382528de63 fix missing mozilla entry in legacy code 2025-05-05 15:44:40 -04:00
✨ Audrey ✨
a1bb8cab6b enable passphrase autogeneration 2025-05-02 15:47:40 -04:00
✨ Audrey ✨
acd198bb32 provide initial forwarder value 2025-05-02 10:30:52 -04:00
✨ Audrey ✨
45d5ef923e align forwarder ids with vendor ids 2025-05-02 10:09:53 -04:00
✨ Audrey ✨
52eaf83f7b Merge branch 'main' into tools/pm-18793/port-credential-generator-service-to-providers 2025-05-01 13:50:14 -04:00
✨ Audrey ✨
f53f93cfbd fix algorithm display of username generator 2025-05-01 13:45:45 -04:00
Bryan Cunningham
e6530ade01 Use small buttons in extension header (#14433)
* use small button in extension vault header

* use small button in extension folder settings

* use small button in send header
2025-04-30 14:24:12 -04:00
✨ Audrey ✨
d8e82e2ca4 fix forwarder to random word navigation bug 2025-04-30 12:54:45 -04:00
✨ Audrey ✨
4e5c2934e6 fix sort order 2025-04-30 11:04:21 -04:00
Bernd Schoolmann
67b0a19319 [PM-21001] Move tools usage of encrypt service (#14540)
* Add new encrypt service functions

* Undo changes

* Cleanup

* Fix build

* Fix comments

* Move tools usage of encrypt service
2025-04-30 15:36:48 +02:00
Thomas Avery
d43e4757df [PM-7604] Require target UserID for KdfConfigService (#14380)
* Require userId for KdfConfigService

* Update auth team callers

* Update tools team callers
2025-04-29 17:25:27 -05:00
✨ Audrey ✨
5a199ef010 align username and credential generators 2025-04-29 09:13:17 -04:00
✨ Audrey ✨
4d7881f48f extend logging to preference management 2025-04-29 08:38:02 -04:00
✨ Audrey ✨
ba895bc347 eliminate repeat algorithm emissions 2025-04-28 16:14:15 -04:00
✨ Audrey ✨
09b63448bb ui cleanup 2025-04-28 13:54:27 -04:00
✨ Audrey ✨
016508d245 increase state consistency of generator code 2025-04-28 13:24:50 -04:00
✨ Audrey ✨
69857a057a code cleanup 2025-04-24 11:15:32 -04:00
✨ Audrey ✨
a990419502 revert generate -> generator rename 2025-04-23 15:03:54 -04:00
✨ Audrey ✨
e000fd77d4 fix engine-settings desync error 2025-04-23 15:02:32 -04:00
✨ Audrey ✨
ecbf2aa231 inline RestClient 2025-04-22 15:20:31 -04:00
✨ Audrey ✨
d6ac5f3b96 rename generate$ to generator$ 2025-04-22 15:14:16 -04:00
✨ Audrey ✨
fa6c59d7d8 add link to vNext abstraction 2025-04-21 15:33:48 -04:00
✨ Audrey ✨
af820d3a64 tweak initialization 2025-04-21 15:24:50 -04:00
✨ Audrey ✨
b39b4b84db documentation updates 2025-04-21 15:18:31 -04:00
✨ Audrey ✨
d7fba0964b extract hasRangeOfValues; more docs 2025-04-21 15:05:44 -04:00
✨ Audrey ✨
586c6dbfb7 fix another typo 2025-04-21 13:50:37 -04:00
✨ Audrey ✨
f07a3009f3 fix typos 2025-04-21 13:42:05 -04:00
✨ Audrey ✨
b0ed145a14 documentation improvements 2025-04-21 13:29:45 -04:00
✨ Audrey ✨
be5d4e5f9c deprecate legacy forwarder types 2025-04-21 13:17:17 -04:00
✨ Audrey ✨
74496d49ce annotate tech debt 2025-04-21 13:09:24 -04:00
✨ Audrey ✨
5749e4191d document derived exports 2025-04-21 13:05:12 -04:00
✨ Audrey ✨
3bb5614e16 Merge branch 'main' into tools/pm-18793/port-credential-generator-service-to-providers 2025-04-21 12:56:29 -04:00
Vijay Oommen
a829965262 [PM-20386] valuesChanges returns a string (#14338) 2025-04-18 13:05:58 -05:00
Daniel James Smith
170f97da8e [PM-20333] Remove "export-attachments" feature flag (#14310)
* Remove usage of export-attachments feature flag

* Remove export-attachments feature flag definition

* Update export.command documentation

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-04-17 08:58:16 -04:00
✨ Audrey ✨
1328f88bf0 Merge branch 'main' into tools/pm-18793/port-credential-generator-service-to-providers 2025-04-14 08:51:12 -04:00
Alexander Aronov
8885f5da24 [PM-19914][PM-19913] trim domains and long fields in forwarders (#14141)
* PM-19913: Added max length to the generated_for and description peroperties in the FirefoxRelay API payload
* [PM-19913] Added maxLength restriction to the website and generatedBy methods. Added maxLength limit of 200 to the description of addy.io
2025-04-14 08:42:41 -04:00
Bernd Schoolmann
5a1b0744f0 [PM-17665] Move cryptofunction service to km (#13285)
* Move cryptofunction service to km

* Fix formatting

* Fix import

* Fix build on desktop

* Fix build on browser and tests
2025-04-10 11:09:35 +02:00