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

239 Commits

Author SHA1 Message Date
✨ 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
✨ Audrey ✨
9b10175599 Merge branch 'main' into tools/pm-18793/port-credential-generator-service-to-providers 2025-04-07 12:13:23 -04:00
✨ Audrey ✨
51bbe61bc0 fix legacy test type errors 2025-04-07 12:12:51 -04:00
✨ Audrey ✨
af43ddc109 fix tsconfig 2025-04-07 12:12:20 -04:00
Leslie Tilton
660dd19bd0 Fix send list item icon sizing (#14020) 2025-04-02 15:26:32 -05:00
Will Martin
76cb3fd38d [CL-623] export CDK dialog deps from libs/components (#14074)
* add cdk dialog deps to CL dialog barrel file

* find and replace cdk dialog import

* run prettier
2025-04-02 15:08:38 -04:00
Daniel James Smith
f13bc2766b Set selected format to json, when the zip format option is removed (#14092)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-04-02 15:28:40 +02:00
✨ Audrey ✨
c4be687beb fix duplicate type definition 2025-04-02 08:56:43 -04:00
✨ Audrey ✨
2ed2dd46b7 Merge branch 'main' into tools/pm-18793/port-credential-generator-service-to-providers 2025-04-01 16:36:44 -04:00
✨ Audrey ✨
93ff55c433 fix unit tests 2025-03-31 18:21:39 -04:00
Daniel James Smith
7992e0247e Fix wrong file extension being set when exporting with attachments (#14067)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-31 15:06:27 +00:00
Daniel James Smith
0311681803 Fix filename not including "_encrypted_" when selecting encrypted vault exports (#14066)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-31 16:55:04 +02:00
Daniel James Smith
49924512b8 [PM-19656] Fix zip option not being set correctly after navigating to Admin Console (#14058)
* Simplify if to reduce nesting

* Start subscribing to changes of the vaultSelector as soon as possible during ngOnInit

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-31 15:55:20 +02:00
Daniel James Smith
7ed2145393 Set correct filename extensions on vault-export (#14018)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-28 16:20:36 +01:00
Vicki League
4734cab9a6 [CL-550] Fix popup layout padding and adjust views with extra bottom space (#13562)
* [CL-550] Fix popup layout padding and adjust views with extra bottom space

* simplify css

* fix add/edit item page

* cr changes

* fix failing test

---------

Co-authored-by: Will Martin <contact@willmartian.com>
2025-03-26 17:26:05 -04:00
✨ Audrey ✨
c5e9340964 replace credential generator & eliminate dead code; breaks tests 2025-03-26 17:16:55 -04:00
Addison Beck
2b9ef7fe19 fix: use newly-minted policy methods in metadata provider (#13993)
Recently the policy service was refactored and some method signatures were
changed. One of these changes involved renaming the `getAll` observable to
`policiesByType`.

This was not merged into the metadata provider work before it was merged, so
those changes were committed using removed method signatures.

This commit updates these references.
2025-03-25 23:11:26 +00:00
✨ Audrey ✨
15b2b46b85 [PM-18665] introduce metadata provider (#13744) 2025-03-25 16:08:30 -05:00
Brandon Treston
0fd01ed7ee [PM-18566] Wire up vNextPolicyService for Clients (#13678)
* wire up vNext impl

* wire up vNextPolicyService for browser

* wire up vNextPolicyService for desktop

* wire up vNextPolicyService for cli

* fix test

* fix missed caller

* cleanup

* fix missing property assignment

* fix QA bug for PM-19205

* fix QA bug for PM-19206

* fix QA bug for pm-19228

* cleanup
2025-03-25 11:30:47 -04:00
Bernd Schoolmann
27baa92fcf [PM-10749] [BEEEP] New export format: Zip with attachments (#10465)
* Add new export format: zip

* Restrict zip export to just individual vaults

* Add tests

* Remove unused import

* Fix build error

* Fix tests

* Fix test

* Fix retrieval of ciphers by passing in activeUserId

* Guard feature behind `export-attachments`-feature-flag

* Extend cipher filter to also filter out any ciphers that are assigned to an organization

* Added apiService to retrieve AttachmentData (metaData) and then download the attachment

- Added ApiService as a depdency within DI for VaultExportService/IndividualVaultExportService
- Added unit tests for filtering ciphers
- Added unit test for downloading attachment metadata and attachments

* Moved attachment decryption into a separate method and added unit tests

* Added null check for creating the base attachment folder

* Move format check for zip within Org export into an early return/throw

* Add feature flag guard on the CLI

* Extend ExportScopeCallout to display an individual export will contain attachment when zip-format is selected

* Fix adding/removing the zip-export option based on selected vault and state of `export-attachments` feature-flag

* Separate AAA visually using whitespace within tests

* Remove unused error var

* Write test that verifies different http request failures when retrieving attachment data

* Remove uneeded ignore lint rule

* Rewrite test to actually check that ciphers assigned to an org are filtered out

* Introduce ExportedVault return type (#13842)

* Define ExportedVault type unioned by 2 new types that describe a plain-text export vs a blob-based zip-export

* Extend static getFileName to handle formats and add unit-tests

* Introduce new export return type throughout the vault export module

- Update abstractions
- Update return types within implementations
- Update callers/consumers to handle the new return value
- Fix all unit tests

* Add support for new export return type and fix download of blobs via CLI

* Add documentation to public methods

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-25 13:30:54 +01:00
✨ Audrey ✨
87cd180b29 fix typecheck 2025-03-24 11:32:07 -04:00
✨ Audrey ✨
071aec2556 fix broken tests 2025-03-24 11:28:05 -04:00
✨ Audrey ✨
e56b54e0f7 factor metadata request types out of metadata provider 2025-03-24 11:13:44 -04:00
✨ Audrey ✨
ddfd163b92 fix incorrect documentation 2025-03-24 11:06:07 -04:00
✨ Audrey ✨
22f56da9c3 adjust constructor type argument 2025-03-24 10:53:16 -04:00